diff --git a/assets/index-HNaPVho_.js b/assets/index-DqB1iE4r.js similarity index 60% rename from assets/index-HNaPVho_.js rename to assets/index-DqB1iE4r.js index bbcac58..77fae97 100644 --- a/assets/index-HNaPVho_.js +++ b/assets/index-DqB1iE4r.js @@ -1,4 +1,4 @@ -function R0(t,r){for(var o=0;ol[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const u of s)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&l(f)}).observe(document,{childList:!0,subtree:!0});function o(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function l(s){if(s.ep)return;s.ep=!0;const u=o(s);fetch(s.href,u)}})();function nm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Gu={exports:{}},Fi={},Qu={exports:{}},Oe={};/** +function C0(t,r){for(var o=0;ol[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const u of s)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&l(f)}).observe(document,{childList:!0,subtree:!0});function o(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function l(s){if(s.ep)return;s.ep=!0;const u=o(s);fetch(s.href,u)}})();function nm(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Vu={exports:{}},Ii={},Ku={exports:{}},Oe={};/** * @license React * react.production.min.js * @@ -6,7 +6,7 @@ function R0(t,r){for(var o=0;o>>1,H=W[M];if(0>>1;Ms(Pe,q))bes(_e,Pe)?(W[M]=_e,W[be]=q,M=be):(W[M]=Pe,W[Ee]=q,M=Ee);else if(bes(_e,q))W[M]=_e,W[be]=q,M=be;else break e}}return $}function s(W,$){var q=W.sortIndex-$.sortIndex;return q!==0?q:W.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,d=f.now();t.unstable_now=function(){return f.now()-d}}var h=[],m=[],g=1,v=null,x=3,C=!1,S=!1,E=!1,R=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(W){for(var $=o(m);$!==null;){if($.callback===null)l(m);else if($.startTime<=W)l(m),$.sortIndex=$.expirationTime,r(h,$);else break;$=o(m)}}function j(W){if(E=!1,O(W),!S)if(o(h)!==null)S=!0,pe(k);else{var $=o(m);$!==null&&ge(j,$.startTime-W)}}function k(W,$){S=!1,E&&(E=!1,A(G),G=-1),C=!0;var q=x;try{for(O($),v=o(h);v!==null&&(!(v.expirationTime>$)||W&&!ke());){var M=v.callback;if(typeof M=="function"){v.callback=null,x=v.priorityLevel;var H=M(v.expirationTime<=$);$=t.unstable_now(),typeof H=="function"?v.callback=H:v===o(h)&&l(h),O($)}else l(h);v=o(h)}if(v!==null)var he=!0;else{var Ee=o(m);Ee!==null&&ge(j,Ee.startTime-$),he=!1}return he}finally{v=null,x=q,C=!1}}var V=!1,K=null,G=-1,te=5,le=-1;function ke(){return!(t.unstable_now()-leW||125M?(W.sortIndex=q,r(m,W),o(h)===null&&W===o(m)&&(E?(A(G),G=-1):E=!0,ge(j,q-M))):(W.sortIndex=H,r(h,W),S||C||(S=!0,pe(k))),W},t.unstable_shouldYield=ke,t.unstable_wrapCallback=function(W){var $=x;return function(){var q=x;x=$;try{return W.apply(this,arguments)}finally{x=q}}}}(qu)),qu}var Hp;function M0(){return Hp||(Hp=1,Xu.exports=N0()),Xu.exports}/** + */var Wp;function b0(){return Wp||(Wp=1,function(t){function r(W,$){var q=W.length;W.push($);e:for(;0>>1,H=W[M];if(0>>1;Ms(Pe,q))bes(_e,Pe)?(W[M]=_e,W[be]=q,M=be):(W[M]=Pe,W[Ee]=q,M=Ee);else if(bes(_e,q))W[M]=_e,W[be]=q,M=be;else break e}}return $}function s(W,$){var q=W.sortIndex-$.sortIndex;return q!==0?q:W.id-$.id}if(typeof performance=="object"&&typeof performance.now=="function"){var u=performance;t.unstable_now=function(){return u.now()}}else{var f=Date,d=f.now();t.unstable_now=function(){return f.now()-d}}var h=[],m=[],g=1,v=null,x=3,C=!1,S=!1,E=!1,R=typeof setTimeout=="function"?setTimeout:null,A=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(W){for(var $=o(m);$!==null;){if($.callback===null)l(m);else if($.startTime<=W)l(m),$.sortIndex=$.expirationTime,r(h,$);else break;$=o(m)}}function j(W){if(E=!1,O(W),!S)if(o(h)!==null)S=!0,pe(k);else{var $=o(m);$!==null&&ge(j,$.startTime-W)}}function k(W,$){S=!1,E&&(E=!1,A(G),G=-1),C=!0;var q=x;try{for(O($),v=o(h);v!==null&&(!(v.expirationTime>$)||W&&!ke());){var M=v.callback;if(typeof M=="function"){v.callback=null,x=v.priorityLevel;var H=M(v.expirationTime<=$);$=t.unstable_now(),typeof H=="function"?v.callback=H:v===o(h)&&l(h),O($)}else l(h);v=o(h)}if(v!==null)var he=!0;else{var Ee=o(m);Ee!==null&&ge(j,Ee.startTime-$),he=!1}return he}finally{v=null,x=q,C=!1}}var V=!1,K=null,G=-1,te=5,le=-1;function ke(){return!(t.unstable_now()-leW||125M?(W.sortIndex=q,r(m,W),o(h)===null&&W===o(m)&&(E?(A(G),G=-1):E=!0,ge(j,q-M))):(W.sortIndex=H,r(h,W),S||C||(S=!0,pe(k))),W},t.unstable_shouldYield=ke,t.unstable_wrapCallback=function(W){var $=x;return function(){var q=x;x=$;try{return W.apply(this,arguments)}finally{x=q}}}}(Yu)),Yu}var Hp;function N0(){return Hp||(Hp=1,Qu.exports=b0()),Qu.exports}/** * @license React * react-dom.production.min.js * @@ -30,14 +30,14 @@ function R0(t,r){for(var o=0;o"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},v={};function x(e){return h.call(v,e)?!0:h.call(g,e)?!1:m.test(e)?v[e]=!0:(g[e]=!0,!1)}function C(e,n,i,a){if(i!==null&&i.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function S(e,n,i,a){if(n===null||typeof n>"u"||C(e,n,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function E(e,n,i,a,c,p,w){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=c,this.mustUseProperty=i,this.propertyName=e,this.type=n,this.sanitizeURL=p,this.removeEmptyString=w}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){R[e]=new E(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];R[n]=new E(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){R[e]=new E(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){R[e]=new E(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){R[e]=new E(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){R[e]=new E(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){R[e]=new E(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){R[e]=new E(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){R[e]=new E(e,5,!1,e.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function _(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 n=e.replace(A,_);R[n]=new E(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(A,_);R[n]=new E(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(A,_);R[n]=new E(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){R[e]=new E(e,1,!1,e.toLowerCase(),null,!1,!1)}),R.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){R[e]=new E(e,1,!1,e.toLowerCase(),null,!0,!0)});function O(e,n,i,a){var c=R.hasOwnProperty(n)?R[n]:null;(c!==null?c.type!==0:a||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},v={};function x(e){return h.call(v,e)?!0:h.call(g,e)?!1:m.test(e)?v[e]=!0:(g[e]=!0,!1)}function C(e,n,i,a){if(i!==null&&i.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function S(e,n,i,a){if(n===null||typeof n>"u"||C(e,n,i,a))return!0;if(a)return!1;if(i!==null)switch(i.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function E(e,n,i,a,c,p,y){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=c,this.mustUseProperty=i,this.propertyName=e,this.type=n,this.sanitizeURL=p,this.removeEmptyString=y}var R={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){R[e]=new E(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];R[n]=new E(n,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){R[e]=new E(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){R[e]=new E(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){R[e]=new E(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){R[e]=new E(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){R[e]=new E(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){R[e]=new E(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){R[e]=new E(e,5,!1,e.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function _(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 n=e.replace(A,_);R[n]=new E(n,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(A,_);R[n]=new E(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(A,_);R[n]=new E(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){R[e]=new E(e,1,!1,e.toLowerCase(),null,!1,!1)}),R.xlinkHref=new E("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){R[e]=new E(e,1,!1,e.toLowerCase(),null,!0,!0)});function O(e,n,i,a){var c=R.hasOwnProperty(n)?R[n]:null;(c!==null?c.type!==0:a||!(2P||c[w]!==p[P]){var b=` -`+c[w].replace(" at new "," at ");return e.displayName&&b.includes("")&&(b=b.replace("",e.displayName)),b}while(1<=w&&0<=P);break}}}finally{he=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?H(e):""}function Pe(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=Ee(e.type,!1),e;case 11:return e=Ee(e.type.render,!1),e;case 1:return e=Ee(e.type,!0),e;default:return""}}function be(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 K:return"Fragment";case V:return"Portal";case te:return"Profiler";case G:return"StrictMode";case we:return"Suspense";case xe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ke:return(e.displayName||"Context")+".Consumer";case le:return(e._context.displayName||"Context")+".Provider";case ae:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Se:return n=e.displayName||null,n!==null?n:be(e.type)||"Memo";case pe:n=e._payload,e=e._init;try{return be(e(n))}catch{}}return null}function _e(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return be(n);case 8:return n===G?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Le(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function me(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function We(e){var n=me(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var c=i.get,p=i.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(w){a=""+w,p.call(this,w)}}),Object.defineProperty(e,n,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(w){a=""+w},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function wn(e){e._valueTracker||(e._valueTracker=We(e))}function Tr(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),a="";return e&&(a=me(e)?e.checked?"true":"false":e.value),e=a,e!==i?(n.setValue(e),!0):!1}function ut(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 Gn(e,n){var i=n.checked;return q({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function uo(e,n){var i=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;i=Le(n.value!=null?n.value:i),e._wrapperState={initialChecked:a,initialValue:i,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function _r(e,n){n=n.checked,n!=null&&O(e,"checked",n,!1)}function Or(e,n){_r(e,n);var i=Le(n.value),a=n.type;if(i!=null)a==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?xn(e,n.type,i):n.hasOwnProperty("defaultValue")&&xn(e,n.type,Le(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function co(e,n,i){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,i||n===e.value||(e.value=n),e.defaultValue=n}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function xn(e,n,i){(n!=="number"||ut(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Lr=Array.isArray;function Rt(e,n,i,a){if(e=e.options,n){n={};for(var c=0;c"+n.valueOf().toString()+"",n=Qn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function At(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var Yn={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},cl=["Webkit","ms","Moz","O"];Object.keys(Yn).forEach(function(e){cl.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Yn[n]=Yn[e]})});function ni(e,n,i){return n==null||typeof n=="boolean"||n===""?"":i||typeof n!="number"||n===0||Yn.hasOwnProperty(e)&&Yn[e]?(""+n).trim():n+"px"}function fl(e,n){e=e.style;for(var i in n)if(n.hasOwnProperty(i)){var a=i.indexOf("--")===0,c=ni(i,n[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,c):e[i]=c}}var dl=q({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 Xn(e,n){if(n){if(dl[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function ho(e,n){if(e.indexOf("-")===-1)return typeof n.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 Dr=null;function ri(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mo=null,qn=null,On=null;function Ir(e){if(e=Ei(e)){if(typeof mo!="function")throw Error(o(280));var n=e.stateNode;n&&(n=Ol(n),mo(e.stateNode,e.type,n))}}function Fr(e){qn?On?On.push(e):On=[e]:qn=e}function pl(){if(qn){var e=qn,n=On;if(On=qn=null,Ir(e),n)for(e=0;e>>=0,e===0?32:31-(Uv(e)/Bv|0)|0}var ml=64,gl=4194304;function oi(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 vl(e,n){var i=e.pendingLanes;if(i===0)return 0;var a=0,c=e.suspendedLanes,p=e.pingedLanes,w=i&268435455;if(w!==0){var P=w&~c;P!==0?a=oi(P):(p&=w,p!==0&&(a=oi(p)))}else w=i&~c,w!==0?a=oi(w):p!==0&&(a=oi(p));if(a===0)return 0;if(n!==0&&n!==a&&!(n&c)&&(c=a&-a,p=n&-n,c>=p||c===16&&(p&4194240)!==0))return n;if(a&4&&(a|=i&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=a;0i;i++)n.push(e);return n}function ii(e,n,i){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-rn(n),e[n]=i}function Vv(e,n){var i=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0=pi),_f=" ",Of=!1;function Lf(e,n){switch(e){case"keyup":return wy.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Df(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xo=!1;function Sy(e,n){switch(e){case"compositionend":return Df(n);case"keypress":return n.which!==32?null:(Of=!0,_f);case"textInput":return e=n.data,e===_f&&Of?null:e;default:return null}}function Ey(e,n){if(xo)return e==="compositionend"||!Ps&&Lf(e,n)?(e=kf(),El=Ss=or=null,xo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:i,offset:n-e};e=a}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=$f(i)}}function Hf(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Hf(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Vf(){for(var e=window,n=ut();n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=ut(e.document)}return n}function Ms(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Ty(e){var n=Vf(),i=e.focusedElem,a=e.selectionRange;if(n!==i&&i&&i.ownerDocument&&Hf(i.ownerDocument.documentElement,i)){if(a!==null&&Ms(i)){if(n=a.start,e=a.end,e===void 0&&(e=n),"selectionStart"in i)i.selectionStart=n,i.selectionEnd=Math.min(e,i.value.length);else if(e=(n=i.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var c=i.textContent.length,p=Math.min(a.start,c);a=a.end===void 0?p:Math.min(a.end,c),!e.extend&&p>a&&(c=a,a=p,p=c),c=Wf(i,p);var w=Wf(i,a);c&&w&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==w.node||e.focusOffset!==w.offset)&&(n=n.createRange(),n.setStart(c.node,c.offset),e.removeAllRanges(),p>a?(e.addRange(n),e.extend(w.node,w.offset)):(n.setEnd(w.node,w.offset),e.addRange(n)))}}for(n=[],e=i;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,So=null,Ts=null,vi=null,_s=!1;function Kf(e,n,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;_s||So==null||So!==ut(a)||(a=So,"selectionStart"in a&&Ms(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),vi&&gi(vi,a)||(vi=a,a=Ml(Ts,"onSelect"),0ko||(e.current=Hs[ko],Hs[ko]=null,ko--)}function Ke(e,n){ko++,Hs[ko]=e.current,e.current=n}var sr={},mt=ar(sr),kt=ar(!1),Br=sr;function Po(e,n){var i=e.type.contextTypes;if(!i)return sr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var c={},p;for(p in i)c[p]=n[p];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=c),c}function Pt(e){return e=e.childContextTypes,e!=null}function Ll(){Qe(kt),Qe(mt)}function ad(e,n,i){if(mt.current!==sr)throw Error(o(168));Ke(mt,n),Ke(kt,i)}function sd(e,n,i){var a=e.stateNode;if(n=n.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var c in a)if(!(c in n))throw Error(o(108,_e(e)||"Unknown",c));return q({},i,a)}function Dl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sr,Br=mt.current,Ke(mt,e),Ke(kt,kt.current),!0}function ud(e,n,i){var a=e.stateNode;if(!a)throw Error(o(169));i?(e=sd(e,n,Br),a.__reactInternalMemoizedMergedChildContext=e,Qe(kt),Qe(mt),Ke(mt,e)):Qe(kt),Ke(kt,i)}var Fn=null,Il=!1,Vs=!1;function cd(e){Fn===null?Fn=[e]:Fn.push(e)}function Wy(e){Il=!0,cd(e)}function ur(){if(!Vs&&Fn!==null){Vs=!0;var e=0,n=Be;try{var i=Fn;for(Be=1;e>=w,c-=w,jn=1<<32-rn(n)+c|i<Ae?(dt=ye,ye=null):dt=ye.sibling;var je=Q(I,ye,F[Ae],Z);if(je===null){ye===null&&(ye=dt);break}e&&ye&&je.alternate===null&&n(I,ye),T=p(je,T,Ae),ve===null?de=je:ve.sibling=je,ve=je,ye=dt}if(Ae===F.length)return i(I,ye),Xe&&Wr(I,Ae),de;if(ye===null){for(;AeAe?(dt=ye,ye=null):dt=ye.sibling;var yr=Q(I,ye,je.value,Z);if(yr===null){ye===null&&(ye=dt);break}e&&ye&&yr.alternate===null&&n(I,ye),T=p(yr,T,Ae),ve===null?de=yr:ve.sibling=yr,ve=yr,ye=dt}if(je.done)return i(I,ye),Xe&&Wr(I,Ae),de;if(ye===null){for(;!je.done;Ae++,je=F.next())je=J(I,je.value,Z),je!==null&&(T=p(je,T,Ae),ve===null?de=je:ve.sibling=je,ve=je);return Xe&&Wr(I,Ae),de}for(ye=a(I,ye);!je.done;Ae++,je=F.next())je=ne(ye,I,Ae,je.value,Z),je!==null&&(e&&je.alternate!==null&&ye.delete(je.key===null?Ae:je.key),T=p(je,T,Ae),ve===null?de=je:ve.sibling=je,ve=je);return e&&ye.forEach(function(C0){return n(I,C0)}),Xe&&Wr(I,Ae),de}function nt(I,T,F,Z){if(typeof F=="object"&&F!==null&&F.type===K&&F.key===null&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case k:e:{for(var de=F.key,ve=T;ve!==null;){if(ve.key===de){if(de=F.type,de===K){if(ve.tag===7){i(I,ve.sibling),T=c(ve,F.props.children),T.return=I,I=T;break e}}else if(ve.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===pe&&gd(de)===ve.type){i(I,ve.sibling),T=c(ve,F.props),T.ref=Ci(I,ve,F),T.return=I,I=T;break e}i(I,ve);break}else n(I,ve);ve=ve.sibling}F.type===K?(T=qr(F.props.children,I.mode,Z,F.key),T.return=I,I=T):(Z=ca(F.type,F.key,F.props,null,I.mode,Z),Z.ref=Ci(I,T,F),Z.return=I,I=Z)}return w(I);case V:e:{for(ve=F.key;T!==null;){if(T.key===ve)if(T.tag===4&&T.stateNode.containerInfo===F.containerInfo&&T.stateNode.implementation===F.implementation){i(I,T.sibling),T=c(T,F.children||[]),T.return=I,I=T;break e}else{i(I,T);break}else n(I,T);T=T.sibling}T=$u(F,I.mode,Z),T.return=I,I=T}return w(I);case pe:return ve=F._init,nt(I,T,ve(F._payload),Z)}if(Lr(F))return se(I,T,F,Z);if($(F))return ce(I,T,F,Z);Ul(I,F)}return typeof F=="string"&&F!==""||typeof F=="number"?(F=""+F,T!==null&&T.tag===6?(i(I,T.sibling),T=c(T,F),T.return=I,I=T):(i(I,T),T=Bu(F,I.mode,Z),T.return=I,I=T),w(I)):i(I,T)}return nt}var To=vd(!0),yd=vd(!1),Bl=ar(null),$l=null,_o=null,qs=null;function Js(){qs=_o=$l=null}function Zs(e){var n=Bl.current;Qe(Bl),e._currentValue=n}function eu(e,n,i){for(;e!==null;){var a=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,a!==null&&(a.childLanes|=n)):a!==null&&(a.childLanes&n)!==n&&(a.childLanes|=n),e===i)break;e=e.return}}function Oo(e,n){$l=e,qs=_o=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(bt=!0),e.firstContext=null)}function Yt(e){var n=e._currentValue;if(qs!==e)if(e={context:e,memoizedValue:n,next:null},_o===null){if($l===null)throw Error(o(308));_o=e,$l.dependencies={lanes:0,firstContext:e}}else _o=_o.next=e;return n}var Hr=null;function tu(e){Hr===null?Hr=[e]:Hr.push(e)}function wd(e,n,i,a){var c=n.interleaved;return c===null?(i.next=i,tu(n)):(i.next=c.next,c.next=i),n.interleaved=i,Un(e,a)}function Un(e,n){e.lanes|=n;var i=e.alternate;for(i!==null&&(i.lanes|=n),i=e,e=e.return;e!==null;)e.childLanes|=n,i=e.alternate,i!==null&&(i.childLanes|=n),i=e,e=e.return;return i.tag===3?i.stateNode:null}var cr=!1;function nu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xd(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Bn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function fr(e,n,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Fe&2){var c=a.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n,Un(e,i)}return c=a.interleaved,c===null?(n.next=n,tu(a)):(n.next=c.next,c.next=n),a.interleaved=n,Un(e,i)}function Wl(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var a=n.lanes;a&=e.pendingLanes,i|=a,n.lanes=i,gs(e,i)}}function Sd(e,n){var i=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,i===a)){var c=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var w={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};p===null?c=p=w:p=p.next=w,i=i.next}while(i!==null);p===null?c=p=n:p=p.next=n}else c=p=n;i={baseState:a.baseState,firstBaseUpdate:c,lastBaseUpdate:p,shared:a.shared,effects:a.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}function Hl(e,n,i,a){var c=e.updateQueue;cr=!1;var p=c.firstBaseUpdate,w=c.lastBaseUpdate,P=c.shared.pending;if(P!==null){c.shared.pending=null;var b=P,z=b.next;b.next=null,w===null?p=z:w.next=z,w=b;var X=e.alternate;X!==null&&(X=X.updateQueue,P=X.lastBaseUpdate,P!==w&&(P===null?X.firstBaseUpdate=z:P.next=z,X.lastBaseUpdate=b))}if(p!==null){var J=c.baseState;w=0,X=z=b=null,P=p;do{var Q=P.lane,ne=P.eventTime;if((a&Q)===Q){X!==null&&(X=X.next={eventTime:ne,lane:0,tag:P.tag,payload:P.payload,callback:P.callback,next:null});e:{var se=e,ce=P;switch(Q=n,ne=i,ce.tag){case 1:if(se=ce.payload,typeof se=="function"){J=se.call(ne,J,Q);break e}J=se;break e;case 3:se.flags=se.flags&-65537|128;case 0:if(se=ce.payload,Q=typeof se=="function"?se.call(ne,J,Q):se,Q==null)break e;J=q({},J,Q);break e;case 2:cr=!0}}P.callback!==null&&P.lane!==0&&(e.flags|=64,Q=c.effects,Q===null?c.effects=[P]:Q.push(P))}else ne={eventTime:ne,lane:Q,tag:P.tag,payload:P.payload,callback:P.callback,next:null},X===null?(z=X=ne,b=J):X=X.next=ne,w|=Q;if(P=P.next,P===null){if(P=c.shared.pending,P===null)break;Q=P,P=Q.next,Q.next=null,c.lastBaseUpdate=Q,c.shared.pending=null}}while(!0);if(X===null&&(b=J),c.baseState=b,c.firstBaseUpdate=z,c.lastBaseUpdate=X,n=c.shared.interleaved,n!==null){c=n;do w|=c.lane,c=c.next;while(c!==n)}else p===null&&(c.shared.lanes=0);Gr|=w,e.lanes=w,e.memoizedState=J}}function Ed(e,n,i){if(e=n.effects,n.effects=null,e!==null)for(n=0;ni?i:4,e(!0);var a=au.transition;au.transition={};try{e(!1),n()}finally{Be=i,au.transition=a}}function Bd(){return Xt().memoizedState}function Gy(e,n,i){var a=mr(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},$d(e))Wd(n,i);else if(i=wd(e,n,i,a),i!==null){var c=St();cn(i,e,a,c),Hd(i,n,a)}}function Qy(e,n,i){var a=mr(e),c={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if($d(e))Wd(n,c);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=n.lastRenderedReducer,p!==null))try{var w=n.lastRenderedState,P=p(w,i);if(c.hasEagerState=!0,c.eagerState=P,on(P,w)){var b=n.interleaved;b===null?(c.next=c,tu(n)):(c.next=b.next,b.next=c),n.interleaved=c;return}}catch{}finally{}i=wd(e,n,c,a),i!==null&&(c=St(),cn(i,e,a,c),Hd(i,n,a))}}function $d(e){var n=e.alternate;return e===Ze||n!==null&&n===Ze}function Wd(e,n){Pi=Gl=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function Hd(e,n,i){if(i&4194240){var a=n.lanes;a&=e.pendingLanes,i|=a,n.lanes=i,gs(e,i)}}var Xl={readContext:Yt,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useInsertionEffect:gt,useLayoutEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useMutableSource:gt,useSyncExternalStore:gt,useId:gt,unstable_isNewReconciler:!1},Yy={readContext:Yt,useCallback:function(e,n){return Cn().memoizedState=[e,n===void 0?null:n],e},useContext:Yt,useEffect:Od,useImperativeHandle:function(e,n,i){return i=i!=null?i.concat([e]):null,Ql(4194308,4,Id.bind(null,n,e),i)},useLayoutEffect:function(e,n){return Ql(4194308,4,e,n)},useInsertionEffect:function(e,n){return Ql(4,2,e,n)},useMemo:function(e,n){var i=Cn();return n=n===void 0?null:n,e=e(),i.memoizedState=[e,n],e},useReducer:function(e,n,i){var a=Cn();return n=i!==void 0?i(n):n,a.memoizedState=a.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=Gy.bind(null,Ze,e),[a.memoizedState,e]},useRef:function(e){var n=Cn();return e={current:e},n.memoizedState=e},useState:Td,useDebugValue:hu,useDeferredValue:function(e){return Cn().memoizedState=e},useTransition:function(){var e=Td(!1),n=e[0];return e=Ky.bind(null,e[1]),Cn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,i){var a=Ze,c=Cn();if(Xe){if(i===void 0)throw Error(o(407));i=i()}else{if(i=n(),ft===null)throw Error(o(349));Kr&30||kd(a,n,i)}c.memoizedState=i;var p={value:i,getSnapshot:n};return c.queue=p,Od(bd.bind(null,a,p,e),[e]),a.flags|=2048,Mi(9,Pd.bind(null,a,p,i,n),void 0,null),i},useId:function(){var e=Cn(),n=ft.identifierPrefix;if(Xe){var i=zn,a=jn;i=(a&~(1<<32-rn(a)-1)).toString(32)+i,n=":"+n+"R"+i,i=bi++,0P||c[y]!==p[P]){var b=` +`+c[y].replace(" at new "," at ");return e.displayName&&b.includes("")&&(b=b.replace("",e.displayName)),b}while(1<=y&&0<=P);break}}}finally{he=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?H(e):""}function Pe(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=Ee(e.type,!1),e;case 11:return e=Ee(e.type.render,!1),e;case 1:return e=Ee(e.type,!0),e;default:return""}}function be(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 K:return"Fragment";case V:return"Portal";case te:return"Profiler";case G:return"StrictMode";case we:return"Suspense";case xe:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case ke:return(e.displayName||"Context")+".Consumer";case le:return(e._context.displayName||"Context")+".Provider";case ae:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Se:return n=e.displayName||null,n!==null?n:be(e.type)||"Memo";case pe:n=e._payload,e=e._init;try{return be(e(n))}catch{}}return null}function _e(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return be(n);case 8:return n===G?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function Le(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function me(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function We(e){var n=me(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var c=i.get,p=i.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return c.call(this)},set:function(y){a=""+y,p.call(this,y)}}),Object.defineProperty(e,n,{enumerable:i.enumerable}),{getValue:function(){return a},setValue:function(y){a=""+y},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function vn(e){e._valueTracker||(e._valueTracker=We(e))}function Mr(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var i=n.getValue(),a="";return e&&(a=me(e)?e.checked?"true":"false":e.value),e=a,e!==i?(n.setValue(e),!0):!1}function ut(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 Gn(e,n){var i=n.checked;return q({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function uo(e,n){var i=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;i=Le(n.value!=null?n.value:i),e._wrapperState={initialChecked:a,initialValue:i,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function Tr(e,n){n=n.checked,n!=null&&O(e,"checked",n,!1)}function _r(e,n){Tr(e,n);var i=Le(n.value),a=n.type;if(i!=null)a==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?yn(e,n.type,i):n.hasOwnProperty("defaultValue")&&yn(e,n.type,Le(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function co(e,n,i){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,i||n===e.value||(e.value=n),e.defaultValue=n}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function yn(e,n,i){(n!=="number"||ut(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var Or=Array.isArray;function Rt(e,n,i,a){if(e=e.options,n){n={};for(var c=0;c"+n.valueOf().toString()+"",n=Qn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function At(e,n){if(n){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=n;return}}e.textContent=n}var Yn={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},cl=["Webkit","ms","Moz","O"];Object.keys(Yn).forEach(function(e){cl.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Yn[n]=Yn[e]})});function ti(e,n,i){return n==null||typeof n=="boolean"||n===""?"":i||typeof n!="number"||n===0||Yn.hasOwnProperty(e)&&Yn[e]?(""+n).trim():n+"px"}function fl(e,n){e=e.style;for(var i in n)if(n.hasOwnProperty(i)){var a=i.indexOf("--")===0,c=ti(i,n[i],a);i==="float"&&(i="cssFloat"),a?e.setProperty(i,c):e[i]=c}}var dl=q({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 Xn(e,n){if(n){if(dl[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(o(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(o(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(o(61))}if(n.style!=null&&typeof n.style!="object")throw Error(o(62))}}function ho(e,n){if(e.indexOf("-")===-1)return typeof n.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 Lr=null;function ni(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mo=null,qn=null,On=null;function Dr(e){if(e=Si(e)){if(typeof mo!="function")throw Error(o(280));var n=e.stateNode;n&&(n=Ol(n),mo(e.stateNode,e.type,n))}}function Ir(e){qn?On?On.push(e):On=[e]:qn=e}function pl(){if(qn){var e=qn,n=On;if(On=qn=null,Dr(e),n)for(e=0;e>>=0,e===0?32:31-(zv(e)/Uv|0)|0}var ml=64,gl=4194304;function ri(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 vl(e,n){var i=e.pendingLanes;if(i===0)return 0;var a=0,c=e.suspendedLanes,p=e.pingedLanes,y=i&268435455;if(y!==0){var P=y&~c;P!==0?a=ri(P):(p&=y,p!==0&&(a=ri(p)))}else y=i&~c,y!==0?a=ri(y):p!==0&&(a=ri(p));if(a===0)return 0;if(n!==0&&n!==a&&!(n&c)&&(c=a&-a,p=n&-n,c>=p||c===16&&(p&4194240)!==0))return n;if(a&4&&(a|=i&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=a;0i;i++)n.push(e);return n}function oi(e,n,i){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-rn(n),e[n]=i}function Hv(e,n){var i=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0=di),_f=" ",Of=!1;function Lf(e,n){switch(e){case"keyup":return yy.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Df(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var xo=!1;function xy(e,n){switch(e){case"compositionend":return Df(n);case"keypress":return n.which!==32?null:(Of=!0,_f);case"textInput":return e=n.data,e===_f&&Of?null:e;default:return null}}function Sy(e,n){if(xo)return e==="compositionend"||!As&&Lf(e,n)?(e=kf(),El=ws=or=null,xo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:i,offset:n-e};e=a}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=$f(i)}}function Hf(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Hf(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Vf(){for(var e=window,n=ut();n instanceof e.HTMLIFrameElement;){try{var i=typeof n.contentWindow.location.href=="string"}catch{i=!1}if(i)e=n.contentWindow;else break;n=ut(e.document)}return n}function bs(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function My(e){var n=Vf(),i=e.focusedElem,a=e.selectionRange;if(n!==i&&i&&i.ownerDocument&&Hf(i.ownerDocument.documentElement,i)){if(a!==null&&bs(i)){if(n=a.start,e=a.end,e===void 0&&(e=n),"selectionStart"in i)i.selectionStart=n,i.selectionEnd=Math.min(e,i.value.length);else if(e=(n=i.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var c=i.textContent.length,p=Math.min(a.start,c);a=a.end===void 0?p:Math.min(a.end,c),!e.extend&&p>a&&(c=a,a=p,p=c),c=Wf(i,p);var y=Wf(i,a);c&&y&&(e.rangeCount!==1||e.anchorNode!==c.node||e.anchorOffset!==c.offset||e.focusNode!==y.node||e.focusOffset!==y.offset)&&(n=n.createRange(),n.setStart(c.node,c.offset),e.removeAllRanges(),p>a?(e.addRange(n),e.extend(y.node,y.offset)):(n.setEnd(y.node,y.offset),e.addRange(n)))}}for(n=[],e=i;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i=document.documentMode,So=null,Ns=null,gi=null,Ms=!1;function Kf(e,n,i){var a=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Ms||So==null||So!==ut(a)||(a=So,"selectionStart"in a&&bs(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),gi&&mi(gi,a)||(gi=a,a=Ml(Ns,"onSelect"),0ko||(e.current=$s[ko],$s[ko]=null,ko--)}function Ke(e,n){ko++,$s[ko]=e.current,e.current=n}var sr={},mt=ar(sr),kt=ar(!1),Ur=sr;function Po(e,n){var i=e.type.contextTypes;if(!i)return sr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var c={},p;for(p in i)c[p]=n[p];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=c),c}function Pt(e){return e=e.childContextTypes,e!=null}function Ll(){Qe(kt),Qe(mt)}function ad(e,n,i){if(mt.current!==sr)throw Error(o(168));Ke(mt,n),Ke(kt,i)}function sd(e,n,i){var a=e.stateNode;if(n=n.childContextTypes,typeof a.getChildContext!="function")return i;a=a.getChildContext();for(var c in a)if(!(c in n))throw Error(o(108,_e(e)||"Unknown",c));return q({},i,a)}function Dl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sr,Ur=mt.current,Ke(mt,e),Ke(kt,kt.current),!0}function ud(e,n,i){var a=e.stateNode;if(!a)throw Error(o(169));i?(e=sd(e,n,Ur),a.__reactInternalMemoizedMergedChildContext=e,Qe(kt),Qe(mt),Ke(mt,e)):Qe(kt),Ke(kt,i)}var Fn=null,Il=!1,Ws=!1;function cd(e){Fn===null?Fn=[e]:Fn.push(e)}function $y(e){Il=!0,cd(e)}function ur(){if(!Ws&&Fn!==null){Ws=!0;var e=0,n=Be;try{var i=Fn;for(Be=1;e>=y,c-=y,jn=1<<32-rn(n)+c|i<Ae?(dt=ye,ye=null):dt=ye.sibling;var je=Q(I,ye,F[Ae],Z);if(je===null){ye===null&&(ye=dt);break}e&&ye&&je.alternate===null&&n(I,ye),T=p(je,T,Ae),ve===null?de=je:ve.sibling=je,ve=je,ye=dt}if(Ae===F.length)return i(I,ye),Xe&&$r(I,Ae),de;if(ye===null){for(;AeAe?(dt=ye,ye=null):dt=ye.sibling;var yr=Q(I,ye,je.value,Z);if(yr===null){ye===null&&(ye=dt);break}e&&ye&&yr.alternate===null&&n(I,ye),T=p(yr,T,Ae),ve===null?de=yr:ve.sibling=yr,ve=yr,ye=dt}if(je.done)return i(I,ye),Xe&&$r(I,Ae),de;if(ye===null){for(;!je.done;Ae++,je=F.next())je=J(I,je.value,Z),je!==null&&(T=p(je,T,Ae),ve===null?de=je:ve.sibling=je,ve=je);return Xe&&$r(I,Ae),de}for(ye=a(I,ye);!je.done;Ae++,je=F.next())je=ne(ye,I,Ae,je.value,Z),je!==null&&(e&&je.alternate!==null&&ye.delete(je.key===null?Ae:je.key),T=p(je,T,Ae),ve===null?de=je:ve.sibling=je,ve=je);return e&&ye.forEach(function(E0){return n(I,E0)}),Xe&&$r(I,Ae),de}function nt(I,T,F,Z){if(typeof F=="object"&&F!==null&&F.type===K&&F.key===null&&(F=F.props.children),typeof F=="object"&&F!==null){switch(F.$$typeof){case k:e:{for(var de=F.key,ve=T;ve!==null;){if(ve.key===de){if(de=F.type,de===K){if(ve.tag===7){i(I,ve.sibling),T=c(ve,F.props.children),T.return=I,I=T;break e}}else if(ve.elementType===de||typeof de=="object"&&de!==null&&de.$$typeof===pe&&gd(de)===ve.type){i(I,ve.sibling),T=c(ve,F.props),T.ref=Ei(I,ve,F),T.return=I,I=T;break e}i(I,ve);break}else n(I,ve);ve=ve.sibling}F.type===K?(T=Xr(F.props.children,I.mode,Z,F.key),T.return=I,I=T):(Z=ca(F.type,F.key,F.props,null,I.mode,Z),Z.ref=Ei(I,T,F),Z.return=I,I=Z)}return y(I);case V:e:{for(ve=F.key;T!==null;){if(T.key===ve)if(T.tag===4&&T.stateNode.containerInfo===F.containerInfo&&T.stateNode.implementation===F.implementation){i(I,T.sibling),T=c(T,F.children||[]),T.return=I,I=T;break e}else{i(I,T);break}else n(I,T);T=T.sibling}T=Uu(F,I.mode,Z),T.return=I,I=T}return y(I);case pe:return ve=F._init,nt(I,T,ve(F._payload),Z)}if(Or(F))return se(I,T,F,Z);if($(F))return ce(I,T,F,Z);Ul(I,F)}return typeof F=="string"&&F!==""||typeof F=="number"?(F=""+F,T!==null&&T.tag===6?(i(I,T.sibling),T=c(T,F),T.return=I,I=T):(i(I,T),T=zu(F,I.mode,Z),T.return=I,I=T),y(I)):i(I,T)}return nt}var To=vd(!0),yd=vd(!1),Bl=ar(null),$l=null,_o=null,Ys=null;function Xs(){Ys=_o=$l=null}function qs(e){var n=Bl.current;Qe(Bl),e._currentValue=n}function Js(e,n,i){for(;e!==null;){var a=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,a!==null&&(a.childLanes|=n)):a!==null&&(a.childLanes&n)!==n&&(a.childLanes|=n),e===i)break;e=e.return}}function Oo(e,n){$l=e,Ys=_o=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(bt=!0),e.firstContext=null)}function Qt(e){var n=e._currentValue;if(Ys!==e)if(e={context:e,memoizedValue:n,next:null},_o===null){if($l===null)throw Error(o(308));_o=e,$l.dependencies={lanes:0,firstContext:e}}else _o=_o.next=e;return n}var Wr=null;function Zs(e){Wr===null?Wr=[e]:Wr.push(e)}function wd(e,n,i,a){var c=n.interleaved;return c===null?(i.next=i,Zs(n)):(i.next=c.next,c.next=i),n.interleaved=i,Un(e,a)}function Un(e,n){e.lanes|=n;var i=e.alternate;for(i!==null&&(i.lanes|=n),i=e,e=e.return;e!==null;)e.childLanes|=n,i=e.alternate,i!==null&&(i.childLanes|=n),i=e,e=e.return;return i.tag===3?i.stateNode:null}var cr=!1;function eu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xd(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Bn(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function fr(e,n,i){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,Fe&2){var c=a.pending;return c===null?n.next=n:(n.next=c.next,c.next=n),a.pending=n,Un(e,i)}return c=a.interleaved,c===null?(n.next=n,Zs(a)):(n.next=c.next,c.next=n),a.interleaved=n,Un(e,i)}function Wl(e,n,i){if(n=n.updateQueue,n!==null&&(n=n.shared,(i&4194240)!==0)){var a=n.lanes;a&=e.pendingLanes,i|=a,n.lanes=i,hs(e,i)}}function Sd(e,n){var i=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,i===a)){var c=null,p=null;if(i=i.firstBaseUpdate,i!==null){do{var y={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};p===null?c=p=y:p=p.next=y,i=i.next}while(i!==null);p===null?c=p=n:p=p.next=n}else c=p=n;i={baseState:a.baseState,firstBaseUpdate:c,lastBaseUpdate:p,shared:a.shared,effects:a.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=n:e.next=n,i.lastBaseUpdate=n}function Hl(e,n,i,a){var c=e.updateQueue;cr=!1;var p=c.firstBaseUpdate,y=c.lastBaseUpdate,P=c.shared.pending;if(P!==null){c.shared.pending=null;var b=P,z=b.next;b.next=null,y===null?p=z:y.next=z,y=b;var X=e.alternate;X!==null&&(X=X.updateQueue,P=X.lastBaseUpdate,P!==y&&(P===null?X.firstBaseUpdate=z:P.next=z,X.lastBaseUpdate=b))}if(p!==null){var J=c.baseState;y=0,X=z=b=null,P=p;do{var Q=P.lane,ne=P.eventTime;if((a&Q)===Q){X!==null&&(X=X.next={eventTime:ne,lane:0,tag:P.tag,payload:P.payload,callback:P.callback,next:null});e:{var se=e,ce=P;switch(Q=n,ne=i,ce.tag){case 1:if(se=ce.payload,typeof se=="function"){J=se.call(ne,J,Q);break e}J=se;break e;case 3:se.flags=se.flags&-65537|128;case 0:if(se=ce.payload,Q=typeof se=="function"?se.call(ne,J,Q):se,Q==null)break e;J=q({},J,Q);break e;case 2:cr=!0}}P.callback!==null&&P.lane!==0&&(e.flags|=64,Q=c.effects,Q===null?c.effects=[P]:Q.push(P))}else ne={eventTime:ne,lane:Q,tag:P.tag,payload:P.payload,callback:P.callback,next:null},X===null?(z=X=ne,b=J):X=X.next=ne,y|=Q;if(P=P.next,P===null){if(P=c.shared.pending,P===null)break;Q=P,P=Q.next,Q.next=null,c.lastBaseUpdate=Q,c.shared.pending=null}}while(!0);if(X===null&&(b=J),c.baseState=b,c.firstBaseUpdate=z,c.lastBaseUpdate=X,n=c.shared.interleaved,n!==null){c=n;do y|=c.lane,c=c.next;while(c!==n)}else p===null&&(c.shared.lanes=0);Kr|=y,e.lanes=y,e.memoizedState=J}}function Ed(e,n,i){if(e=n.effects,n.effects=null,e!==null)for(n=0;ni?i:4,e(!0);var a=iu.transition;iu.transition={};try{e(!1),n()}finally{Be=i,iu.transition=a}}function Bd(){return Yt().memoizedState}function Ky(e,n,i){var a=mr(e);if(i={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null},$d(e))Wd(n,i);else if(i=wd(e,n,i,a),i!==null){var c=St();cn(i,e,a,c),Hd(i,n,a)}}function Gy(e,n,i){var a=mr(e),c={lane:a,action:i,hasEagerState:!1,eagerState:null,next:null};if($d(e))Wd(n,c);else{var p=e.alternate;if(e.lanes===0&&(p===null||p.lanes===0)&&(p=n.lastRenderedReducer,p!==null))try{var y=n.lastRenderedState,P=p(y,i);if(c.hasEagerState=!0,c.eagerState=P,on(P,y)){var b=n.interleaved;b===null?(c.next=c,Zs(n)):(c.next=b.next,b.next=c),n.interleaved=c;return}}catch{}finally{}i=wd(e,n,c,a),i!==null&&(c=St(),cn(i,e,a,c),Hd(i,n,a))}}function $d(e){var n=e.alternate;return e===Ze||n!==null&&n===Ze}function Wd(e,n){ki=Gl=!0;var i=e.pending;i===null?n.next=n:(n.next=i.next,i.next=n),e.pending=n}function Hd(e,n,i){if(i&4194240){var a=n.lanes;a&=e.pendingLanes,i|=a,n.lanes=i,hs(e,i)}}var Xl={readContext:Qt,useCallback:gt,useContext:gt,useEffect:gt,useImperativeHandle:gt,useInsertionEffect:gt,useLayoutEffect:gt,useMemo:gt,useReducer:gt,useRef:gt,useState:gt,useDebugValue:gt,useDeferredValue:gt,useTransition:gt,useMutableSource:gt,useSyncExternalStore:gt,useId:gt,unstable_isNewReconciler:!1},Qy={readContext:Qt,useCallback:function(e,n){return Sn().memoizedState=[e,n===void 0?null:n],e},useContext:Qt,useEffect:Od,useImperativeHandle:function(e,n,i){return i=i!=null?i.concat([e]):null,Ql(4194308,4,Id.bind(null,n,e),i)},useLayoutEffect:function(e,n){return Ql(4194308,4,e,n)},useInsertionEffect:function(e,n){return Ql(4,2,e,n)},useMemo:function(e,n){var i=Sn();return n=n===void 0?null:n,e=e(),i.memoizedState=[e,n],e},useReducer:function(e,n,i){var a=Sn();return n=i!==void 0?i(n):n,a.memoizedState=a.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},a.queue=e,e=e.dispatch=Ky.bind(null,Ze,e),[a.memoizedState,e]},useRef:function(e){var n=Sn();return e={current:e},n.memoizedState=e},useState:Td,useDebugValue:du,useDeferredValue:function(e){return Sn().memoizedState=e},useTransition:function(){var e=Td(!1),n=e[0];return e=Vy.bind(null,e[1]),Sn().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,i){var a=Ze,c=Sn();if(Xe){if(i===void 0)throw Error(o(407));i=i()}else{if(i=n(),ft===null)throw Error(o(349));Vr&30||kd(a,n,i)}c.memoizedState=i;var p={value:i,getSnapshot:n};return c.queue=p,Od(bd.bind(null,a,p,e),[e]),a.flags|=2048,Ni(9,Pd.bind(null,a,p,i,n),void 0,null),i},useId:function(){var e=Sn(),n=ft.identifierPrefix;if(Xe){var i=zn,a=jn;i=(a&~(1<<32-rn(a)-1)).toString(32)+i,n=":"+n+"R"+i,i=Pi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=w.createElement(i,{is:a.is}):(e=w.createElement(i),i==="select"&&(w=e,a.multiple?w.multiple=!0:a.size&&(w.size=a.size))):e=w.createElementNS(e,i),e[Sn]=n,e[Si]=a,cp(e,n,!1,!1),n.stateNode=e;e:{switch(w=ho(i,a),i){case"dialog":Ge("cancel",e),Ge("close",e),c=a;break;case"iframe":case"object":case"embed":Ge("load",e),c=a;break;case"video":case"audio":for(c=0;cjo&&(n.flags|=128,a=!0,Ti(p,!1),n.lanes=4194304)}else{if(!a)if(e=Vl(w),e!==null){if(n.flags|=128,a=!0,i=e.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),Ti(p,!0),p.tail===null&&p.tailMode==="hidden"&&!w.alternate&&!Xe)return vt(n),null}else 2*Ve()-p.renderingStartTime>jo&&i!==1073741824&&(n.flags|=128,a=!0,Ti(p,!1),n.lanes=4194304);p.isBackwards?(w.sibling=n.child,n.child=w):(i=p.last,i!==null?i.sibling=w:n.child=w,p.last=w)}return p.tail!==null?(n=p.tail,p.rendering=n,p.tail=n.sibling,p.renderingStartTime=Ve(),n.sibling=null,i=Je.current,Ke(Je,a?i&1|2:i&1),n):(vt(n),null);case 22:case 23:return ju(),a=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(n.flags|=8192),a&&n.mode&1?zt&1073741824&&(vt(n),n.subtreeFlags&6&&(n.flags|=8192)):vt(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function r0(e,n){switch(Gs(n),n.tag){case 1:return Pt(n.type)&&Ll(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Lo(),Qe(kt),Qe(mt),lu(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return ou(n),null;case 13:if(Qe(Je),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(o(340));Mo()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Qe(Je),null;case 4:return Lo(),null;case 10:return Zs(n.type._context),null;case 22:case 23:return ju(),null;case 24:return null;default:return null}}var ea=!1,yt=!1,o0=typeof WeakSet=="function"?WeakSet:Set,ie=null;function Io(e,n){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){tt(e,n,a)}else i.current=null}function ku(e,n,i){try{i()}catch(a){tt(e,n,a)}}var pp=!1;function i0(e,n){if(js=xl,e=Vf(),Ms(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var c=a.anchorOffset,p=a.focusNode;a=a.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break e}var w=0,P=-1,b=-1,z=0,X=0,J=e,Q=null;t:for(;;){for(var ne;J!==i||c!==0&&J.nodeType!==3||(P=w+c),J!==p||a!==0&&J.nodeType!==3||(b=w+a),J.nodeType===3&&(w+=J.nodeValue.length),(ne=J.firstChild)!==null;)Q=J,J=ne;for(;;){if(J===e)break t;if(Q===i&&++z===c&&(P=w),Q===p&&++X===a&&(b=w),(ne=J.nextSibling)!==null)break;J=Q,Q=J.parentNode}J=ne}i=P===-1||b===-1?null:{start:P,end:b}}else i=null}i=i||{start:0,end:0}}else i=null;for(zs={focusedElem:e,selectionRange:i},xl=!1,ie=n;ie!==null;)if(n=ie,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ie=e;else for(;ie!==null;){n=ie;try{var se=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(se!==null){var ce=se.memoizedProps,nt=se.memoizedState,I=n.stateNode,T=I.getSnapshotBeforeUpdate(n.elementType===n.type?ce:an(n.type,ce),nt);I.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var F=n.stateNode.containerInfo;F.nodeType===1?F.textContent="":F.nodeType===9&&F.documentElement&&F.removeChild(F.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(Z){tt(n,n.return,Z)}if(e=n.sibling,e!==null){e.return=n.return,ie=e;break}ie=n.return}return se=pp,pp=!1,se}function _i(e,n,i){var a=n.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&e)===e){var p=c.destroy;c.destroy=void 0,p!==void 0&&ku(n,i,p)}c=c.next}while(c!==a)}}function ta(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.create;i.destroy=a()}i=i.next}while(i!==n)}}function Pu(e){var n=e.ref;if(n!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof n=="function"?n(e):n.current=e}}function hp(e){var n=e.alternate;n!==null&&(e.alternate=null,hp(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Sn],delete n[Si],delete n[Ws],delete n[By],delete n[$y])),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 mp(e){return e.tag===5||e.tag===3||e.tag===4}function gp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||mp(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 bu(e,n,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(e,n):i.insertBefore(e,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(e,i)):(n=i,n.appendChild(e)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=_l));else if(a!==4&&(e=e.child,e!==null))for(bu(e,n,i),e=e.sibling;e!==null;)bu(e,n,i),e=e.sibling}function Nu(e,n,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Nu(e,n,i),e=e.sibling;e!==null;)Nu(e,n,i),e=e.sibling}var pt=null,sn=!1;function dr(e,n,i){for(i=i.child;i!==null;)vp(e,n,i),i=i.sibling}function vp(e,n,i){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(nn,i)}catch{}switch(i.tag){case 5:yt||Io(i,n);case 6:var a=pt,c=sn;pt=null,dr(e,n,i),pt=a,sn=c,pt!==null&&(sn?(e=pt,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):pt.removeChild(i.stateNode));break;case 18:pt!==null&&(sn?(e=pt,i=i.stateNode,e.nodeType===8?$s(e.parentNode,i):e.nodeType===1&&$s(e,i),ci(e)):$s(pt,i.stateNode));break;case 4:a=pt,c=sn,pt=i.stateNode.containerInfo,sn=!0,dr(e,n,i),pt=a,sn=c;break;case 0:case 11:case 14:case 15:if(!yt&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){c=a=a.next;do{var p=c,w=p.destroy;p=p.tag,w!==void 0&&(p&2||p&4)&&ku(i,n,w),c=c.next}while(c!==a)}dr(e,n,i);break;case 1:if(!yt&&(Io(i,n),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(P){tt(i,n,P)}dr(e,n,i);break;case 21:dr(e,n,i);break;case 22:i.mode&1?(yt=(a=yt)||i.memoizedState!==null,dr(e,n,i),yt=a):dr(e,n,i);break;default:dr(e,n,i)}}function yp(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new o0),n.forEach(function(a){var c=h0.bind(null,e,a);i.has(a)||(i.add(a),a.then(c,c))})}}function un(e,n){var i=n.deletions;if(i!==null)for(var a=0;ac&&(c=w),a&=~p}if(a=c,a=Ve()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*a0(a/1960))-a,10e?16:e,hr===null)var a=!1;else{if(e=hr,hr=null,la=0,Fe&6)throw Error(o(331));var c=Fe;for(Fe|=4,ie=e.current;ie!==null;){var p=ie,w=p.child;if(ie.flags&16){var P=p.deletions;if(P!==null){for(var b=0;bVe()-_u?Yr(e,0):Tu|=i),Mt(e,n)}function Tp(e,n){n===0&&(e.mode&1?(n=gl,gl<<=1,!(gl&130023424)&&(gl=4194304)):n=1);var i=St();e=Un(e,n),e!==null&&(ii(e,n,i),Mt(e,i))}function p0(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),Tp(e,i)}function h0(e,n){var i=0;switch(e.tag){case 13:var a=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(o(314))}a!==null&&a.delete(n),Tp(e,i)}var _p;_p=function(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps||kt.current)bt=!0;else{if(!(e.lanes&i)&&!(n.flags&128))return bt=!1,t0(e,n,i);bt=!!(e.flags&131072)}else bt=!1,Xe&&n.flags&1048576&&fd(n,jl,n.index);switch(n.lanes=0,n.tag){case 2:var a=n.type;Zl(e,n),e=n.pendingProps;var c=Po(n,mt.current);Oo(n,i),c=uu(null,n,a,e,c,i);var p=cu();return n.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Pt(a)?(p=!0,Dl(n)):p=!1,n.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,nu(n),c.updater=ql,n.stateNode=c,c._reactInternals=n,gu(n,a,e,i),n=xu(null,n,a,!0,p,i)):(n.tag=0,Xe&&p&&Ks(n),xt(null,n,c,i),n=n.child),n;case 16:a=n.elementType;e:{switch(Zl(e,n),e=n.pendingProps,c=a._init,a=c(a._payload),n.type=a,c=n.tag=g0(a),e=an(a,e),c){case 0:n=wu(null,n,a,e,i);break e;case 1:n=op(null,n,a,e,i);break e;case 11:n=Zd(null,n,a,e,i);break e;case 14:n=ep(null,n,a,an(a.type,e),i);break e}throw Error(o(306,a,""))}return n;case 0:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:an(a,c),wu(e,n,a,c,i);case 1:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:an(a,c),op(e,n,a,c,i);case 3:e:{if(ip(n),e===null)throw Error(o(387));a=n.pendingProps,p=n.memoizedState,c=p.element,xd(e,n),Hl(n,a,null,i);var w=n.memoizedState;if(a=w.element,p.isDehydrated)if(p={element:a,isDehydrated:!1,cache:w.cache,pendingSuspenseBoundaries:w.pendingSuspenseBoundaries,transitions:w.transitions},n.updateQueue.baseState=p,n.memoizedState=p,n.flags&256){c=Do(Error(o(423)),n),n=lp(e,n,a,i,c);break e}else if(a!==c){c=Do(Error(o(424)),n),n=lp(e,n,a,i,c);break e}else for(jt=lr(n.stateNode.containerInfo.firstChild),Ft=n,Xe=!0,ln=null,i=yd(n,null,a,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Mo(),a===c){n=$n(e,n,i);break e}xt(e,n,a,i)}n=n.child}return n;case 5:return Cd(n),e===null&&Ys(n),a=n.type,c=n.pendingProps,p=e!==null?e.memoizedProps:null,w=c.children,Us(a,c)?w=null:p!==null&&Us(a,p)&&(n.flags|=32),rp(e,n),xt(e,n,w,i),n.child;case 6:return e===null&&Ys(n),null;case 13:return ap(e,n,i);case 4:return ru(n,n.stateNode.containerInfo),a=n.pendingProps,e===null?n.child=To(n,null,a,i):xt(e,n,a,i),n.child;case 11:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:an(a,c),Zd(e,n,a,c,i);case 7:return xt(e,n,n.pendingProps,i),n.child;case 8:return xt(e,n,n.pendingProps.children,i),n.child;case 12:return xt(e,n,n.pendingProps.children,i),n.child;case 10:e:{if(a=n.type._context,c=n.pendingProps,p=n.memoizedProps,w=c.value,Ke(Bl,a._currentValue),a._currentValue=w,p!==null)if(on(p.value,w)){if(p.children===c.children&&!kt.current){n=$n(e,n,i);break e}}else for(p=n.child,p!==null&&(p.return=n);p!==null;){var P=p.dependencies;if(P!==null){w=p.child;for(var b=P.firstContext;b!==null;){if(b.context===a){if(p.tag===1){b=Bn(-1,i&-i),b.tag=2;var z=p.updateQueue;if(z!==null){z=z.shared;var X=z.pending;X===null?b.next=b:(b.next=X.next,X.next=b),z.pending=b}}p.lanes|=i,b=p.alternate,b!==null&&(b.lanes|=i),eu(p.return,i,n),P.lanes|=i;break}b=b.next}}else if(p.tag===10)w=p.type===n.type?null:p.child;else if(p.tag===18){if(w=p.return,w===null)throw Error(o(341));w.lanes|=i,P=w.alternate,P!==null&&(P.lanes|=i),eu(w,i,n),w=p.sibling}else w=p.child;if(w!==null)w.return=p;else for(w=p;w!==null;){if(w===n){w=null;break}if(p=w.sibling,p!==null){p.return=w.return,w=p;break}w=w.return}p=w}xt(e,n,c.children,i),n=n.child}return n;case 9:return c=n.type,a=n.pendingProps.children,Oo(n,i),c=Yt(c),a=a(c),n.flags|=1,xt(e,n,a,i),n.child;case 14:return a=n.type,c=an(a,n.pendingProps),c=an(a.type,c),ep(e,n,a,c,i);case 15:return tp(e,n,n.type,n.pendingProps,i);case 17:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:an(a,c),Zl(e,n),n.tag=1,Pt(a)?(e=!0,Dl(n)):e=!1,Oo(n,i),Kd(n,a,c),gu(n,a,c,i),xu(null,n,a,!0,e,i);case 19:return up(e,n,i);case 22:return np(e,n,i)}throw Error(o(156,n.tag))};function Op(e,n){return Lt(e,n)}function m0(e,n,i,a){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Jt(e,n,i,a){return new m0(e,n,i,a)}function Uu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function g0(e){if(typeof e=="function")return Uu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ae)return 11;if(e===Se)return 14}return 2}function vr(e,n){var i=e.alternate;return i===null?(i=Jt(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function ca(e,n,i,a,c,p){var w=2;if(a=e,typeof e=="function")Uu(e)&&(w=1);else if(typeof e=="string")w=5;else e:switch(e){case K:return qr(i.children,c,p,n);case G:w=8,c|=8;break;case te:return e=Jt(12,i,n,c|2),e.elementType=te,e.lanes=p,e;case we:return e=Jt(13,i,n,c),e.elementType=we,e.lanes=p,e;case xe:return e=Jt(19,i,n,c),e.elementType=xe,e.lanes=p,e;case ge:return fa(i,c,p,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case le:w=10;break e;case ke:w=9;break e;case ae:w=11;break e;case Se:w=14;break e;case pe:w=16,a=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return n=Jt(w,i,n,c),n.elementType=e,n.type=a,n.lanes=p,n}function qr(e,n,i,a){return e=Jt(7,e,a,n),e.lanes=i,e}function fa(e,n,i,a){return e=Jt(22,e,a,n),e.elementType=ge,e.lanes=i,e.stateNode={isHidden:!1},e}function Bu(e,n,i){return e=Jt(6,e,null,n),e.lanes=i,e}function $u(e,n,i){return n=Jt(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function v0(e,n,i,a,c){this.tag=n,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=ms(0),this.expirationTimes=ms(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ms(0),this.identifierPrefix=a,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Wu(e,n,i,a,c,p,w,P,b){return e=new v0(e,n,i,P,b),n===1?(n=1,p===!0&&(n|=8)):n=0,p=Jt(3,null,null,n),e.current=p,p.stateNode=e,p.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},nu(p),e}function y0(e,n,i){var a=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Yu.exports=T0(),Yu.exports}var Gp;function _0(){if(Gp)return ya;Gp=1;var t=rm();return ya.createRoot=t.createRoot,ya.hydrateRoot=t.hydrateRoot,ya}var O0=_0(),ji={},Qp;function L0(){if(Qp)return ji;Qp=1,Object.defineProperty(ji,"__esModule",{value:!0}),ji.parse=f,ji.serialize=m;const t=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,r=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,l=/^[\u0020-\u003A\u003D-\u007E]*$/,s=Object.prototype.toString,u=(()=>{const x=function(){};return x.prototype=Object.create(null),x})();function f(x,C){const S=new u,E=x.length;if(E<2)return S;const R=(C==null?void 0:C.decode)||g;let A=0;do{const _=x.indexOf("=",A);if(_===-1)break;const O=x.indexOf(";",A),j=O===-1?E:O;if(_>j){A=x.lastIndexOf(";",_-1)+1;continue}const k=d(x,A,_),V=h(x,_,k),K=x.slice(k,V);if(S[K]===void 0){let G=d(x,_+1,j),te=h(x,j,G);const le=R(x.slice(G,te));S[K]=le}A=j+1}while(AS;){const E=x.charCodeAt(--C);if(E!==32&&E!==9)return C+1}return S}function m(x,C,S){const E=(S==null?void 0:S.encode)||encodeURIComponent;if(!t.test(x))throw new TypeError(`argument name is invalid: ${x}`);const R=E(C);if(!r.test(R))throw new TypeError(`argument val is invalid: ${C}`);let A=x+"="+R;if(!S)return A;if(S.maxAge!==void 0){if(!Number.isInteger(S.maxAge))throw new TypeError(`option maxAge is invalid: ${S.maxAge}`);A+="; Max-Age="+S.maxAge}if(S.domain){if(!o.test(S.domain))throw new TypeError(`option domain is invalid: ${S.domain}`);A+="; Domain="+S.domain}if(S.path){if(!l.test(S.path))throw new TypeError(`option path is invalid: ${S.path}`);A+="; Path="+S.path}if(S.expires){if(!v(S.expires)||!Number.isFinite(S.expires.valueOf()))throw new TypeError(`option expires is invalid: ${S.expires}`);A+="; Expires="+S.expires.toUTCString()}if(S.httpOnly&&(A+="; HttpOnly"),S.secure&&(A+="; Secure"),S.partitioned&&(A+="; Partitioned"),S.priority)switch(typeof S.priority=="string"?S.priority.toLowerCase():void 0){case"low":A+="; Priority=Low";break;case"medium":A+="; Priority=Medium";break;case"high":A+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${S.priority}`)}if(S.sameSite)switch(typeof S.sameSite=="string"?S.sameSite.toLowerCase():S.sameSite){case!0:case"strict":A+="; SameSite=Strict";break;case"lax":A+="; SameSite=Lax";break;case"none":A+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${S.sameSite}`)}return A}function g(x){if(x.indexOf("%")===-1)return x;try{return decodeURIComponent(x)}catch{return x}}function v(x){return s.call(x)==="[object Date]"}return ji}L0();/** +`+p.stack}return{value:e,source:n,stack:c,digest:null}}function mu(e,n,i){return{value:e,source:null,stack:i??null,digest:n??null}}function gu(e,n){try{console.error(n.value)}catch(i){setTimeout(function(){throw i})}}var qy=typeof WeakMap=="function"?WeakMap:Map;function Qd(e,n,i){i=Bn(-1,i),i.tag=3,i.payload={element:null};var a=n.value;return i.callback=function(){oa||(oa=!0,Tu=a),gu(e,n)},i}function Yd(e,n,i){i=Bn(-1,i),i.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var c=n.value;i.payload=function(){return a(c)},i.callback=function(){gu(e,n)}}var p=e.stateNode;return p!==null&&typeof p.componentDidCatch=="function"&&(i.callback=function(){gu(e,n),typeof a!="function"&&(pr===null?pr=new Set([this]):pr.add(this));var y=n.stack;this.componentDidCatch(n.value,{componentStack:y!==null?y:""})}),i}function Xd(e,n,i){var a=e.pingCache;if(a===null){a=e.pingCache=new qy;var c=new Set;a.set(n,c)}else c=a.get(n),c===void 0&&(c=new Set,a.set(n,c));c.has(i)||(c.add(i),e=f0.bind(null,e,n,i),n.then(e,e))}function qd(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Jd(e,n,i,a,c){return e.mode&1?(e.flags|=65536,e.lanes=c,e):(e===n?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(n=Bn(-1,1),n.tag=2,fr(i,n,1))),i.lanes|=1),e)}var Jy=j.ReactCurrentOwner,bt=!1;function xt(e,n,i,a){n.child=e===null?yd(n,null,i,a):To(n,e.child,i,a)}function Zd(e,n,i,a,c){i=i.render;var p=n.ref;return Oo(n,c),a=au(e,n,i,a,p,c),i=su(),e!==null&&!bt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,$n(e,n,c)):(Xe&&i&&Hs(n),n.flags|=1,xt(e,n,a,c),n.child)}function ep(e,n,i,a,c){if(e===null){var p=i.type;return typeof p=="function"&&!ju(p)&&p.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(n.tag=15,n.type=p,tp(e,n,p,a,c)):(e=ca(i.type,null,a,n,n.mode,c),e.ref=n.ref,e.return=n,n.child=e)}if(p=e.child,!(e.lanes&c)){var y=p.memoizedProps;if(i=i.compare,i=i!==null?i:mi,i(y,a)&&e.ref===n.ref)return $n(e,n,c)}return n.flags|=1,e=vr(p,a),e.ref=n.ref,e.return=n,n.child=e}function tp(e,n,i,a,c){if(e!==null){var p=e.memoizedProps;if(mi(p,a)&&e.ref===n.ref)if(bt=!1,n.pendingProps=a=p,(e.lanes&c)!==0)e.flags&131072&&(bt=!0);else return n.lanes=e.lanes,$n(e,n,c)}return vu(e,n,i,a,c)}function np(e,n,i){var a=n.pendingProps,c=a.children,p=e!==null?e.memoizedState:null;if(a.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ke(Fo,zt),zt|=i;else{if(!(i&1073741824))return e=p!==null?p.baseLanes|i:i,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,Ke(Fo,zt),zt|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},a=p!==null?p.baseLanes:i,Ke(Fo,zt),zt|=a}else p!==null?(a=p.baseLanes|i,n.memoizedState=null):a=i,Ke(Fo,zt),zt|=a;return xt(e,n,c,i),n.child}function rp(e,n){var i=n.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(n.flags|=512,n.flags|=2097152)}function vu(e,n,i,a,c){var p=Pt(i)?Ur:mt.current;return p=Po(n,p),Oo(n,c),i=au(e,n,i,a,p,c),a=su(),e!==null&&!bt?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~c,$n(e,n,c)):(Xe&&a&&Hs(n),n.flags|=1,xt(e,n,i,c),n.child)}function op(e,n,i,a,c){if(Pt(i)){var p=!0;Dl(n)}else p=!1;if(Oo(n,c),n.stateNode===null)Zl(e,n),Kd(n,i,a),hu(n,i,a,c),a=!0;else if(e===null){var y=n.stateNode,P=n.memoizedProps;y.props=P;var b=y.context,z=i.contextType;typeof z=="object"&&z!==null?z=Qt(z):(z=Pt(i)?Ur:mt.current,z=Po(n,z));var X=i.getDerivedStateFromProps,J=typeof X=="function"||typeof y.getSnapshotBeforeUpdate=="function";J||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(P!==a||b!==z)&&Gd(n,y,a,z),cr=!1;var Q=n.memoizedState;y.state=Q,Hl(n,a,y,c),b=n.memoizedState,P!==a||Q!==b||kt.current||cr?(typeof X=="function"&&(pu(n,i,X,a),b=n.memoizedState),(P=cr||Vd(n,i,P,a,Q,b,z))?(J||typeof y.UNSAFE_componentWillMount!="function"&&typeof y.componentWillMount!="function"||(typeof y.componentWillMount=="function"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount=="function"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount=="function"&&(n.flags|=4194308)):(typeof y.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=a,n.memoizedState=b),y.props=a,y.state=b,y.context=z,a=P):(typeof y.componentDidMount=="function"&&(n.flags|=4194308),a=!1)}else{y=n.stateNode,xd(e,n),P=n.memoizedProps,z=n.type===n.elementType?P:an(n.type,P),y.props=z,J=n.pendingProps,Q=y.context,b=i.contextType,typeof b=="object"&&b!==null?b=Qt(b):(b=Pt(i)?Ur:mt.current,b=Po(n,b));var ne=i.getDerivedStateFromProps;(X=typeof ne=="function"||typeof y.getSnapshotBeforeUpdate=="function")||typeof y.UNSAFE_componentWillReceiveProps!="function"&&typeof y.componentWillReceiveProps!="function"||(P!==J||Q!==b)&&Gd(n,y,a,b),cr=!1,Q=n.memoizedState,y.state=Q,Hl(n,a,y,c);var se=n.memoizedState;P!==J||Q!==se||kt.current||cr?(typeof ne=="function"&&(pu(n,i,ne,a),se=n.memoizedState),(z=cr||Vd(n,i,z,a,Q,se,b)||!1)?(X||typeof y.UNSAFE_componentWillUpdate!="function"&&typeof y.componentWillUpdate!="function"||(typeof y.componentWillUpdate=="function"&&y.componentWillUpdate(a,se,b),typeof y.UNSAFE_componentWillUpdate=="function"&&y.UNSAFE_componentWillUpdate(a,se,b)),typeof y.componentDidUpdate=="function"&&(n.flags|=4),typeof y.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof y.componentDidUpdate!="function"||P===e.memoizedProps&&Q===e.memoizedState||(n.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||P===e.memoizedProps&&Q===e.memoizedState||(n.flags|=1024),n.memoizedProps=a,n.memoizedState=se),y.props=a,y.state=se,y.context=b,a=z):(typeof y.componentDidUpdate!="function"||P===e.memoizedProps&&Q===e.memoizedState||(n.flags|=4),typeof y.getSnapshotBeforeUpdate!="function"||P===e.memoizedProps&&Q===e.memoizedState||(n.flags|=1024),a=!1)}return yu(e,n,i,a,p,c)}function yu(e,n,i,a,c,p){rp(e,n);var y=(n.flags&128)!==0;if(!a&&!y)return c&&ud(n,i,!1),$n(e,n,p);a=n.stateNode,Jy.current=n;var P=y&&typeof i.getDerivedStateFromError!="function"?null:a.render();return n.flags|=1,e!==null&&y?(n.child=To(n,e.child,null,p),n.child=To(n,null,P,p)):xt(e,n,P,p),n.memoizedState=a.state,c&&ud(n,i,!0),n.child}function ip(e){var n=e.stateNode;n.pendingContext?ad(e,n.pendingContext,n.pendingContext!==n.context):n.context&&ad(e,n.context,!1),tu(e,n.containerInfo)}function lp(e,n,i,a,c){return Mo(),Qs(c),n.flags|=256,xt(e,n,i,a),n.child}var wu={dehydrated:null,treeContext:null,retryLane:0};function xu(e){return{baseLanes:e,cachePool:null,transitions:null}}function ap(e,n,i){var a=n.pendingProps,c=Je.current,p=!1,y=(n.flags&128)!==0,P;if((P=y)||(P=e!==null&&e.memoizedState===null?!1:(c&2)!==0),P?(p=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(c|=1),Ke(Je,c&1),e===null)return Gs(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(y=a.children,e=a.fallback,p?(a=n.mode,p=n.child,y={mode:"hidden",children:y},!(a&1)&&p!==null?(p.childLanes=0,p.pendingProps=y):p=fa(y,a,0,null),e=Xr(e,a,i,null),p.return=n,e.return=n,p.sibling=e,n.child=p,n.child.memoizedState=xu(i),n.memoizedState=wu,e):Su(n,y));if(c=e.memoizedState,c!==null&&(P=c.dehydrated,P!==null))return Zy(e,n,y,a,P,c,i);if(p){p=a.fallback,y=n.mode,c=e.child,P=c.sibling;var b={mode:"hidden",children:a.children};return!(y&1)&&n.child!==c?(a=n.child,a.childLanes=0,a.pendingProps=b,n.deletions=null):(a=vr(c,b),a.subtreeFlags=c.subtreeFlags&14680064),P!==null?p=vr(P,p):(p=Xr(p,y,i,null),p.flags|=2),p.return=n,a.return=n,a.sibling=p,n.child=a,a=p,p=n.child,y=e.child.memoizedState,y=y===null?xu(i):{baseLanes:y.baseLanes|i,cachePool:null,transitions:y.transitions},p.memoizedState=y,p.childLanes=e.childLanes&~i,n.memoizedState=wu,a}return p=e.child,e=p.sibling,a=vr(p,{mode:"visible",children:a.children}),!(n.mode&1)&&(a.lanes=i),a.return=n,a.sibling=null,e!==null&&(i=n.deletions,i===null?(n.deletions=[e],n.flags|=16):i.push(e)),n.child=a,n.memoizedState=null,a}function Su(e,n){return n=fa({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function Jl(e,n,i,a){return a!==null&&Qs(a),To(n,e.child,null,i),e=Su(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function Zy(e,n,i,a,c,p,y){if(i)return n.flags&256?(n.flags&=-257,a=mu(Error(o(422))),Jl(e,n,y,a)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(p=a.fallback,c=n.mode,a=fa({mode:"visible",children:a.children},c,0,null),p=Xr(p,c,y,null),p.flags|=2,a.return=n,p.return=n,a.sibling=p,n.child=a,n.mode&1&&To(n,e.child,null,y),n.child.memoizedState=xu(y),n.memoizedState=wu,p);if(!(n.mode&1))return Jl(e,n,y,null);if(c.data==="$!"){if(a=c.nextSibling&&c.nextSibling.dataset,a)var P=a.dgst;return a=P,p=Error(o(419)),a=mu(p,a,void 0),Jl(e,n,y,a)}if(P=(y&e.childLanes)!==0,bt||P){if(a=ft,a!==null){switch(y&-y){case 4:c=2;break;case 16:c=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:c=32;break;case 536870912:c=268435456;break;default:c=0}c=c&(a.suspendedLanes|y)?0:c,c!==0&&c!==p.retryLane&&(p.retryLane=c,Un(e,c),cn(a,e,c,-1))}return Fu(),a=mu(Error(o(421))),Jl(e,n,y,a)}return c.data==="$?"?(n.flags|=128,n.child=e.child,n=d0.bind(null,e),c._reactRetry=n,null):(e=p.treeContext,jt=lr(c.nextSibling),Ft=n,Xe=!0,ln=null,e!==null&&(Kt[Gt++]=jn,Kt[Gt++]=zn,Kt[Gt++]=Br,jn=e.id,zn=e.overflow,Br=n),n=Su(n,a.children),n.flags|=4096,n)}function sp(e,n,i){e.lanes|=n;var a=e.alternate;a!==null&&(a.lanes|=n),Js(e.return,n,i)}function Eu(e,n,i,a,c){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:a,tail:i,tailMode:c}:(p.isBackwards=n,p.rendering=null,p.renderingStartTime=0,p.last=a,p.tail=i,p.tailMode=c)}function up(e,n,i){var a=n.pendingProps,c=a.revealOrder,p=a.tail;if(xt(e,n,a.children,i),a=Je.current,a&2)a=a&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sp(e,i,n);else if(e.tag===19)sp(e,i,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(Ke(Je,a),!(n.mode&1))n.memoizedState=null;else switch(c){case"forwards":for(i=n.child,c=null;i!==null;)e=i.alternate,e!==null&&Vl(e)===null&&(c=i),i=i.sibling;i=c,i===null?(c=n.child,n.child=null):(c=i.sibling,i.sibling=null),Eu(n,!1,c,i,p);break;case"backwards":for(i=null,c=n.child,n.child=null;c!==null;){if(e=c.alternate,e!==null&&Vl(e)===null){n.child=c;break}e=c.sibling,c.sibling=i,i=c,c=e}Eu(n,!0,i,null,p);break;case"together":Eu(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function Zl(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function $n(e,n,i){if(e!==null&&(n.dependencies=e.dependencies),Kr|=n.lanes,!(i&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(o(153));if(n.child!==null){for(e=n.child,i=vr(e,e.pendingProps),n.child=i,i.return=n;e.sibling!==null;)e=e.sibling,i=i.sibling=vr(e,e.pendingProps),i.return=n;i.sibling=null}return n.child}function e0(e,n,i){switch(n.tag){case 3:ip(n),Mo();break;case 5:Cd(n);break;case 1:Pt(n.type)&&Dl(n);break;case 4:tu(n,n.stateNode.containerInfo);break;case 10:var a=n.type._context,c=n.memoizedProps.value;Ke(Bl,a._currentValue),a._currentValue=c;break;case 13:if(a=n.memoizedState,a!==null)return a.dehydrated!==null?(Ke(Je,Je.current&1),n.flags|=128,null):i&n.child.childLanes?ap(e,n,i):(Ke(Je,Je.current&1),e=$n(e,n,i),e!==null?e.sibling:null);Ke(Je,Je.current&1);break;case 19:if(a=(i&n.childLanes)!==0,e.flags&128){if(a)return up(e,n,i);n.flags|=128}if(c=n.memoizedState,c!==null&&(c.rendering=null,c.tail=null,c.lastEffect=null),Ke(Je,Je.current),a)break;return null;case 22:case 23:return n.lanes=0,np(e,n,i)}return $n(e,n,i)}var cp,Cu,fp,dp;cp=function(e,n){for(var i=n.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===n)break;for(;i.sibling===null;){if(i.return===null||i.return===n)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Cu=function(){},fp=function(e,n,i,a){var c=e.memoizedProps;if(c!==a){e=n.stateNode,Hr(xn.current);var p=null;switch(i){case"input":c=Gn(e,c),a=Gn(e,a),p=[];break;case"select":c=q({},c,{value:void 0}),a=q({},a,{value:void 0}),p=[];break;case"textarea":c=_n(e,c),a=_n(e,a),p=[];break;default:typeof c.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=_l)}Xn(i,a);var y;i=null;for(z in c)if(!a.hasOwnProperty(z)&&c.hasOwnProperty(z)&&c[z]!=null)if(z==="style"){var P=c[z];for(y in P)P.hasOwnProperty(y)&&(i||(i={}),i[y]="")}else z!=="dangerouslySetInnerHTML"&&z!=="children"&&z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&z!=="autoFocus"&&(s.hasOwnProperty(z)?p||(p=[]):(p=p||[]).push(z,null));for(z in a){var b=a[z];if(P=c!=null?c[z]:void 0,a.hasOwnProperty(z)&&b!==P&&(b!=null||P!=null))if(z==="style")if(P){for(y in P)!P.hasOwnProperty(y)||b&&b.hasOwnProperty(y)||(i||(i={}),i[y]="");for(y in b)b.hasOwnProperty(y)&&P[y]!==b[y]&&(i||(i={}),i[y]=b[y])}else i||(p||(p=[]),p.push(z,i)),i=b;else z==="dangerouslySetInnerHTML"?(b=b?b.__html:void 0,P=P?P.__html:void 0,b!=null&&P!==b&&(p=p||[]).push(z,b)):z==="children"?typeof b!="string"&&typeof b!="number"||(p=p||[]).push(z,""+b):z!=="suppressContentEditableWarning"&&z!=="suppressHydrationWarning"&&(s.hasOwnProperty(z)?(b!=null&&z==="onScroll"&&Ge("scroll",e),p||P===b||(p=[])):(p=p||[]).push(z,b))}i&&(p=p||[]).push("style",i);var z=p;(n.updateQueue=z)&&(n.flags|=4)}},dp=function(e,n,i,a){i!==a&&(n.flags|=4)};function Mi(e,n){if(!Xe)switch(e.tailMode){case"hidden":n=e.tail;for(var i=null;n!==null;)n.alternate!==null&&(i=n),n=n.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var a=null;i!==null;)i.alternate!==null&&(a=i),i=i.sibling;a===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function vt(e){var n=e.alternate!==null&&e.alternate.child===e.child,i=0,a=0;if(n)for(var c=e.child;c!==null;)i|=c.lanes|c.childLanes,a|=c.subtreeFlags&14680064,a|=c.flags&14680064,c.return=e,c=c.sibling;else for(c=e.child;c!==null;)i|=c.lanes|c.childLanes,a|=c.subtreeFlags,a|=c.flags,c.return=e,c=c.sibling;return e.subtreeFlags|=a,e.childLanes=i,n}function t0(e,n,i){var a=n.pendingProps;switch(Vs(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return vt(n),null;case 1:return Pt(n.type)&&Ll(),vt(n),null;case 3:return a=n.stateNode,Lo(),Qe(kt),Qe(mt),ou(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(zl(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,ln!==null&&(Lu(ln),ln=null))),Cu(e,n),vt(n),null;case 5:nu(n);var c=Hr(Ai.current);if(i=n.type,e!==null&&n.stateNode!=null)fp(e,n,i,a,c),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!a){if(n.stateNode===null)throw Error(o(166));return vt(n),null}if(e=Hr(xn.current),zl(n)){a=n.stateNode,i=n.type;var p=n.memoizedProps;switch(a[wn]=n,a[xi]=p,e=(n.mode&1)!==0,i){case"dialog":Ge("cancel",a),Ge("close",a);break;case"iframe":case"object":case"embed":Ge("load",a);break;case"video":case"audio":for(c=0;c<\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=y.createElement(i,{is:a.is}):(e=y.createElement(i),i==="select"&&(y=e,a.multiple?y.multiple=!0:a.size&&(y.size=a.size))):e=y.createElementNS(e,i),e[wn]=n,e[xi]=a,cp(e,n,!1,!1),n.stateNode=e;e:{switch(y=ho(i,a),i){case"dialog":Ge("cancel",e),Ge("close",e),c=a;break;case"iframe":case"object":case"embed":Ge("load",e),c=a;break;case"video":case"audio":for(c=0;cjo&&(n.flags|=128,a=!0,Mi(p,!1),n.lanes=4194304)}else{if(!a)if(e=Vl(y),e!==null){if(n.flags|=128,a=!0,i=e.updateQueue,i!==null&&(n.updateQueue=i,n.flags|=4),Mi(p,!0),p.tail===null&&p.tailMode==="hidden"&&!y.alternate&&!Xe)return vt(n),null}else 2*Ve()-p.renderingStartTime>jo&&i!==1073741824&&(n.flags|=128,a=!0,Mi(p,!1),n.lanes=4194304);p.isBackwards?(y.sibling=n.child,n.child=y):(i=p.last,i!==null?i.sibling=y:n.child=y,p.last=y)}return p.tail!==null?(n=p.tail,p.rendering=n,p.tail=n.sibling,p.renderingStartTime=Ve(),n.sibling=null,i=Je.current,Ke(Je,a?i&1|2:i&1),n):(vt(n),null);case 22:case 23:return Iu(),a=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(n.flags|=8192),a&&n.mode&1?zt&1073741824&&(vt(n),n.subtreeFlags&6&&(n.flags|=8192)):vt(n),null;case 24:return null;case 25:return null}throw Error(o(156,n.tag))}function n0(e,n){switch(Vs(n),n.tag){case 1:return Pt(n.type)&&Ll(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return Lo(),Qe(kt),Qe(mt),ou(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return nu(n),null;case 13:if(Qe(Je),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(o(340));Mo()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return Qe(Je),null;case 4:return Lo(),null;case 10:return qs(n.type._context),null;case 22:case 23:return Iu(),null;case 24:return null;default:return null}}var ea=!1,yt=!1,r0=typeof WeakSet=="function"?WeakSet:Set,ie=null;function Io(e,n){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(a){tt(e,n,a)}else i.current=null}function Ru(e,n,i){try{i()}catch(a){tt(e,n,a)}}var pp=!1;function o0(e,n){if(Is=xl,e=Vf(),bs(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var a=i.getSelection&&i.getSelection();if(a&&a.rangeCount!==0){i=a.anchorNode;var c=a.anchorOffset,p=a.focusNode;a=a.focusOffset;try{i.nodeType,p.nodeType}catch{i=null;break e}var y=0,P=-1,b=-1,z=0,X=0,J=e,Q=null;t:for(;;){for(var ne;J!==i||c!==0&&J.nodeType!==3||(P=y+c),J!==p||a!==0&&J.nodeType!==3||(b=y+a),J.nodeType===3&&(y+=J.nodeValue.length),(ne=J.firstChild)!==null;)Q=J,J=ne;for(;;){if(J===e)break t;if(Q===i&&++z===c&&(P=y),Q===p&&++X===a&&(b=y),(ne=J.nextSibling)!==null)break;J=Q,Q=J.parentNode}J=ne}i=P===-1||b===-1?null:{start:P,end:b}}else i=null}i=i||{start:0,end:0}}else i=null;for(Fs={focusedElem:e,selectionRange:i},xl=!1,ie=n;ie!==null;)if(n=ie,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,ie=e;else for(;ie!==null;){n=ie;try{var se=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(se!==null){var ce=se.memoizedProps,nt=se.memoizedState,I=n.stateNode,T=I.getSnapshotBeforeUpdate(n.elementType===n.type?ce:an(n.type,ce),nt);I.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var F=n.stateNode.containerInfo;F.nodeType===1?F.textContent="":F.nodeType===9&&F.documentElement&&F.removeChild(F.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(o(163))}}catch(Z){tt(n,n.return,Z)}if(e=n.sibling,e!==null){e.return=n.return,ie=e;break}ie=n.return}return se=pp,pp=!1,se}function Ti(e,n,i){var a=n.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var c=a=a.next;do{if((c.tag&e)===e){var p=c.destroy;c.destroy=void 0,p!==void 0&&Ru(n,i,p)}c=c.next}while(c!==a)}}function ta(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var i=n=n.next;do{if((i.tag&e)===e){var a=i.create;i.destroy=a()}i=i.next}while(i!==n)}}function Au(e){var n=e.ref;if(n!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof n=="function"?n(e):n.current=e}}function hp(e){var n=e.alternate;n!==null&&(e.alternate=null,hp(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[wn],delete n[xi],delete n[Bs],delete n[Uy],delete n[By])),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 mp(e){return e.tag===5||e.tag===3||e.tag===4}function gp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||mp(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 ku(e,n,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?i.nodeType===8?i.parentNode.insertBefore(e,n):i.insertBefore(e,n):(i.nodeType===8?(n=i.parentNode,n.insertBefore(e,i)):(n=i,n.appendChild(e)),i=i._reactRootContainer,i!=null||n.onclick!==null||(n.onclick=_l));else if(a!==4&&(e=e.child,e!==null))for(ku(e,n,i),e=e.sibling;e!==null;)ku(e,n,i),e=e.sibling}function Pu(e,n,i){var a=e.tag;if(a===5||a===6)e=e.stateNode,n?i.insertBefore(e,n):i.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(Pu(e,n,i),e=e.sibling;e!==null;)Pu(e,n,i),e=e.sibling}var pt=null,sn=!1;function dr(e,n,i){for(i=i.child;i!==null;)vp(e,n,i),i=i.sibling}function vp(e,n,i){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(nn,i)}catch{}switch(i.tag){case 5:yt||Io(i,n);case 6:var a=pt,c=sn;pt=null,dr(e,n,i),pt=a,sn=c,pt!==null&&(sn?(e=pt,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):pt.removeChild(i.stateNode));break;case 18:pt!==null&&(sn?(e=pt,i=i.stateNode,e.nodeType===8?Us(e.parentNode,i):e.nodeType===1&&Us(e,i),ui(e)):Us(pt,i.stateNode));break;case 4:a=pt,c=sn,pt=i.stateNode.containerInfo,sn=!0,dr(e,n,i),pt=a,sn=c;break;case 0:case 11:case 14:case 15:if(!yt&&(a=i.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){c=a=a.next;do{var p=c,y=p.destroy;p=p.tag,y!==void 0&&(p&2||p&4)&&Ru(i,n,y),c=c.next}while(c!==a)}dr(e,n,i);break;case 1:if(!yt&&(Io(i,n),a=i.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=i.memoizedProps,a.state=i.memoizedState,a.componentWillUnmount()}catch(P){tt(i,n,P)}dr(e,n,i);break;case 21:dr(e,n,i);break;case 22:i.mode&1?(yt=(a=yt)||i.memoizedState!==null,dr(e,n,i),yt=a):dr(e,n,i);break;default:dr(e,n,i)}}function yp(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new r0),n.forEach(function(a){var c=p0.bind(null,e,a);i.has(a)||(i.add(a),a.then(c,c))})}}function un(e,n){var i=n.deletions;if(i!==null)for(var a=0;ac&&(c=y),a&=~p}if(a=c,a=Ve()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*l0(a/1960))-a,10e?16:e,hr===null)var a=!1;else{if(e=hr,hr=null,la=0,Fe&6)throw Error(o(331));var c=Fe;for(Fe|=4,ie=e.current;ie!==null;){var p=ie,y=p.child;if(ie.flags&16){var P=p.deletions;if(P!==null){for(var b=0;bVe()-Mu?Qr(e,0):Nu|=i),Mt(e,n)}function Tp(e,n){n===0&&(e.mode&1?(n=gl,gl<<=1,!(gl&130023424)&&(gl=4194304)):n=1);var i=St();e=Un(e,n),e!==null&&(oi(e,n,i),Mt(e,i))}function d0(e){var n=e.memoizedState,i=0;n!==null&&(i=n.retryLane),Tp(e,i)}function p0(e,n){var i=0;switch(e.tag){case 13:var a=e.stateNode,c=e.memoizedState;c!==null&&(i=c.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(o(314))}a!==null&&a.delete(n),Tp(e,i)}var _p;_p=function(e,n,i){if(e!==null)if(e.memoizedProps!==n.pendingProps||kt.current)bt=!0;else{if(!(e.lanes&i)&&!(n.flags&128))return bt=!1,e0(e,n,i);bt=!!(e.flags&131072)}else bt=!1,Xe&&n.flags&1048576&&fd(n,jl,n.index);switch(n.lanes=0,n.tag){case 2:var a=n.type;Zl(e,n),e=n.pendingProps;var c=Po(n,mt.current);Oo(n,i),c=au(null,n,a,e,c,i);var p=su();return n.flags|=1,typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,Pt(a)?(p=!0,Dl(n)):p=!1,n.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,eu(n),c.updater=ql,n.stateNode=c,c._reactInternals=n,hu(n,a,e,i),n=yu(null,n,a,!0,p,i)):(n.tag=0,Xe&&p&&Hs(n),xt(null,n,c,i),n=n.child),n;case 16:a=n.elementType;e:{switch(Zl(e,n),e=n.pendingProps,c=a._init,a=c(a._payload),n.type=a,c=n.tag=m0(a),e=an(a,e),c){case 0:n=vu(null,n,a,e,i);break e;case 1:n=op(null,n,a,e,i);break e;case 11:n=Zd(null,n,a,e,i);break e;case 14:n=ep(null,n,a,an(a.type,e),i);break e}throw Error(o(306,a,""))}return n;case 0:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:an(a,c),vu(e,n,a,c,i);case 1:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:an(a,c),op(e,n,a,c,i);case 3:e:{if(ip(n),e===null)throw Error(o(387));a=n.pendingProps,p=n.memoizedState,c=p.element,xd(e,n),Hl(n,a,null,i);var y=n.memoizedState;if(a=y.element,p.isDehydrated)if(p={element:a,isDehydrated:!1,cache:y.cache,pendingSuspenseBoundaries:y.pendingSuspenseBoundaries,transitions:y.transitions},n.updateQueue.baseState=p,n.memoizedState=p,n.flags&256){c=Do(Error(o(423)),n),n=lp(e,n,a,i,c);break e}else if(a!==c){c=Do(Error(o(424)),n),n=lp(e,n,a,i,c);break e}else for(jt=lr(n.stateNode.containerInfo.firstChild),Ft=n,Xe=!0,ln=null,i=yd(n,null,a,i),n.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Mo(),a===c){n=$n(e,n,i);break e}xt(e,n,a,i)}n=n.child}return n;case 5:return Cd(n),e===null&&Gs(n),a=n.type,c=n.pendingProps,p=e!==null?e.memoizedProps:null,y=c.children,js(a,c)?y=null:p!==null&&js(a,p)&&(n.flags|=32),rp(e,n),xt(e,n,y,i),n.child;case 6:return e===null&&Gs(n),null;case 13:return ap(e,n,i);case 4:return tu(n,n.stateNode.containerInfo),a=n.pendingProps,e===null?n.child=To(n,null,a,i):xt(e,n,a,i),n.child;case 11:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:an(a,c),Zd(e,n,a,c,i);case 7:return xt(e,n,n.pendingProps,i),n.child;case 8:return xt(e,n,n.pendingProps.children,i),n.child;case 12:return xt(e,n,n.pendingProps.children,i),n.child;case 10:e:{if(a=n.type._context,c=n.pendingProps,p=n.memoizedProps,y=c.value,Ke(Bl,a._currentValue),a._currentValue=y,p!==null)if(on(p.value,y)){if(p.children===c.children&&!kt.current){n=$n(e,n,i);break e}}else for(p=n.child,p!==null&&(p.return=n);p!==null;){var P=p.dependencies;if(P!==null){y=p.child;for(var b=P.firstContext;b!==null;){if(b.context===a){if(p.tag===1){b=Bn(-1,i&-i),b.tag=2;var z=p.updateQueue;if(z!==null){z=z.shared;var X=z.pending;X===null?b.next=b:(b.next=X.next,X.next=b),z.pending=b}}p.lanes|=i,b=p.alternate,b!==null&&(b.lanes|=i),Js(p.return,i,n),P.lanes|=i;break}b=b.next}}else if(p.tag===10)y=p.type===n.type?null:p.child;else if(p.tag===18){if(y=p.return,y===null)throw Error(o(341));y.lanes|=i,P=y.alternate,P!==null&&(P.lanes|=i),Js(y,i,n),y=p.sibling}else y=p.child;if(y!==null)y.return=p;else for(y=p;y!==null;){if(y===n){y=null;break}if(p=y.sibling,p!==null){p.return=y.return,y=p;break}y=y.return}p=y}xt(e,n,c.children,i),n=n.child}return n;case 9:return c=n.type,a=n.pendingProps.children,Oo(n,i),c=Qt(c),a=a(c),n.flags|=1,xt(e,n,a,i),n.child;case 14:return a=n.type,c=an(a,n.pendingProps),c=an(a.type,c),ep(e,n,a,c,i);case 15:return tp(e,n,n.type,n.pendingProps,i);case 17:return a=n.type,c=n.pendingProps,c=n.elementType===a?c:an(a,c),Zl(e,n),n.tag=1,Pt(a)?(e=!0,Dl(n)):e=!1,Oo(n,i),Kd(n,a,c),hu(n,a,c,i),yu(null,n,a,!0,e,i);case 19:return up(e,n,i);case 22:return np(e,n,i)}throw Error(o(156,n.tag))};function Op(e,n){return Lt(e,n)}function h0(e,n,i,a){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qt(e,n,i,a){return new h0(e,n,i,a)}function ju(e){return e=e.prototype,!(!e||!e.isReactComponent)}function m0(e){if(typeof e=="function")return ju(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ae)return 11;if(e===Se)return 14}return 2}function vr(e,n){var i=e.alternate;return i===null?(i=qt(e.tag,n,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=n,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,n=e.dependencies,i.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function ca(e,n,i,a,c,p){var y=2;if(a=e,typeof e=="function")ju(e)&&(y=1);else if(typeof e=="string")y=5;else e:switch(e){case K:return Xr(i.children,c,p,n);case G:y=8,c|=8;break;case te:return e=qt(12,i,n,c|2),e.elementType=te,e.lanes=p,e;case we:return e=qt(13,i,n,c),e.elementType=we,e.lanes=p,e;case xe:return e=qt(19,i,n,c),e.elementType=xe,e.lanes=p,e;case ge:return fa(i,c,p,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case le:y=10;break e;case ke:y=9;break e;case ae:y=11;break e;case Se:y=14;break e;case pe:y=16,a=null;break e}throw Error(o(130,e==null?e:typeof e,""))}return n=qt(y,i,n,c),n.elementType=e,n.type=a,n.lanes=p,n}function Xr(e,n,i,a){return e=qt(7,e,a,n),e.lanes=i,e}function fa(e,n,i,a){return e=qt(22,e,a,n),e.elementType=ge,e.lanes=i,e.stateNode={isHidden:!1},e}function zu(e,n,i){return e=qt(6,e,null,n),e.lanes=i,e}function Uu(e,n,i){return n=qt(4,e.children!==null?e.children:[],e.key,n),n.lanes=i,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function g0(e,n,i,a,c){this.tag=n,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=ps(0),this.expirationTimes=ps(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ps(0),this.identifierPrefix=a,this.onRecoverableError=c,this.mutableSourceEagerHydrationData=null}function Bu(e,n,i,a,c,p,y,P,b){return e=new g0(e,n,i,P,b),n===1?(n=1,p===!0&&(n|=8)):n=0,p=qt(3,null,null,n),e.current=p,p.stateNode=e,p.memoizedState={element:a,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},eu(p),e}function v0(e,n,i){var a=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(r){console.error(r)}}return t(),Gu.exports=M0(),Gu.exports}var Gp;function T0(){if(Gp)return ya;Gp=1;var t=rm();return ya.createRoot=t.createRoot,ya.hydrateRoot=t.hydrateRoot,ya}var _0=T0(),Fi={},Qp;function O0(){if(Qp)return Fi;Qp=1,Object.defineProperty(Fi,"__esModule",{value:!0}),Fi.parse=f,Fi.serialize=m;const t=/^[\u0021-\u003A\u003C\u003E-\u007E]+$/,r=/^[\u0021-\u003A\u003C-\u007E]*$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,l=/^[\u0020-\u003A\u003D-\u007E]*$/,s=Object.prototype.toString,u=(()=>{const x=function(){};return x.prototype=Object.create(null),x})();function f(x,C){const S=new u,E=x.length;if(E<2)return S;const R=(C==null?void 0:C.decode)||g;let A=0;do{const _=x.indexOf("=",A);if(_===-1)break;const O=x.indexOf(";",A),j=O===-1?E:O;if(_>j){A=x.lastIndexOf(";",_-1)+1;continue}const k=d(x,A,_),V=h(x,_,k),K=x.slice(k,V);if(S[K]===void 0){let G=d(x,_+1,j),te=h(x,j,G);const le=R(x.slice(G,te));S[K]=le}A=j+1}while(AS;){const E=x.charCodeAt(--C);if(E!==32&&E!==9)return C+1}return S}function m(x,C,S){const E=(S==null?void 0:S.encode)||encodeURIComponent;if(!t.test(x))throw new TypeError(`argument name is invalid: ${x}`);const R=E(C);if(!r.test(R))throw new TypeError(`argument val is invalid: ${C}`);let A=x+"="+R;if(!S)return A;if(S.maxAge!==void 0){if(!Number.isInteger(S.maxAge))throw new TypeError(`option maxAge is invalid: ${S.maxAge}`);A+="; Max-Age="+S.maxAge}if(S.domain){if(!o.test(S.domain))throw new TypeError(`option domain is invalid: ${S.domain}`);A+="; Domain="+S.domain}if(S.path){if(!l.test(S.path))throw new TypeError(`option path is invalid: ${S.path}`);A+="; Path="+S.path}if(S.expires){if(!v(S.expires)||!Number.isFinite(S.expires.valueOf()))throw new TypeError(`option expires is invalid: ${S.expires}`);A+="; Expires="+S.expires.toUTCString()}if(S.httpOnly&&(A+="; HttpOnly"),S.secure&&(A+="; Secure"),S.partitioned&&(A+="; Partitioned"),S.priority)switch(typeof S.priority=="string"?S.priority.toLowerCase():void 0){case"low":A+="; Priority=Low";break;case"medium":A+="; Priority=Medium";break;case"high":A+="; Priority=High";break;default:throw new TypeError(`option priority is invalid: ${S.priority}`)}if(S.sameSite)switch(typeof S.sameSite=="string"?S.sameSite.toLowerCase():S.sameSite){case!0:case"strict":A+="; SameSite=Strict";break;case"lax":A+="; SameSite=Lax";break;case"none":A+="; SameSite=None";break;default:throw new TypeError(`option sameSite is invalid: ${S.sameSite}`)}return A}function g(x){if(x.indexOf("%")===-1)return x;try{return decodeURIComponent(x)}catch{return x}}function v(x){return s.call(x)==="[object Date]"}return Fi}O0();/** * react-router v7.0.1 * * Copyright (c) Remix Software Inc. @@ -46,8 +46,8 @@ Error generating stack: `+p.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */var Yp="popstate";function D0(t={}){function r(l,s){let{pathname:u,search:f,hash:d}=l.location;return Yi("",{pathname:u,search:f,hash:d},s.state&&s.state.usr||null,s.state&&s.state.key||"default")}function o(l,s){return typeof s=="string"?s:Ar(s)}return F0(r,o,null,t)}function De(t,r){if(t===!1||t===null||typeof t>"u")throw new Error(r)}function Ht(t,r){if(!t){typeof console<"u"&&console.warn(r);try{throw new Error(r)}catch{}}}function I0(){return Math.random().toString(36).substring(2,10)}function Xp(t,r){return{usr:t.state,key:t.key,idx:r}}function Yi(t,r,o=null,l){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof r=="string"?Nr(r):r,state:o,key:r&&r.key||l||I0()}}function Ar({pathname:t="/",search:r="",hash:o=""}){return r&&r!=="?"&&(t+=r.charAt(0)==="?"?r:"?"+r),o&&o!=="#"&&(t+=o.charAt(0)==="#"?o:"#"+o),t}function Nr(t){let r={};if(t){let o=t.indexOf("#");o>=0&&(r.hash=t.substring(o),t=t.substring(0,o));let l=t.indexOf("?");l>=0&&(r.search=t.substring(l),t=t.substring(0,l)),t&&(r.pathname=t)}return r}function F0(t,r,o,l={}){let{window:s=document.defaultView,v5Compat:u=!1}=l,f=s.history,d="POP",h=null,m=g();m==null&&(m=0,f.replaceState({...f.state,idx:m},""));function g(){return(f.state||{idx:null}).idx}function v(){d="POP";let R=g(),A=R==null?null:R-m;m=R,h&&h({action:d,location:E.location,delta:A})}function x(R,A){d="PUSH";let _=Yi(E.location,R,A);m=g()+1;let O=Xp(_,m),j=E.createHref(_);try{f.pushState(O,"",j)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;s.location.assign(j)}u&&h&&h({action:d,location:E.location,delta:1})}function C(R,A){d="REPLACE";let _=Yi(E.location,R,A);m=g();let O=Xp(_,m),j=E.createHref(_);f.replaceState(O,"",j),u&&h&&h({action:d,location:E.location,delta:0})}function S(R){let A=s.location.origin!=="null"?s.location.origin:s.location.href,_=typeof R=="string"?R:Ar(R);return _=_.replace(/ $/,"%20"),De(A,`No window.location.(origin|href) available to create URL for href: ${_}`),new URL(_,A)}let E={get action(){return d},get location(){return t(s,f)},listen(R){if(h)throw new Error("A history only accepts one active listener");return s.addEventListener(Yp,v),h=R,()=>{s.removeEventListener(Yp,v),h=null}},createHref(R){return r(s,R)},createURL:S,encodeLocation(R){let A=S(R);return{pathname:A.pathname,search:A.search,hash:A.hash}},push:x,replace:C,go(R){return f.go(R)}};return E}var j0=new Set(["lazy","caseSensitive","path","id","index","children"]);function z0(t){return t.index===!0}function Ia(t,r,o=[],l={}){return t.map((s,u)=>{let f=[...o,String(u)],d=typeof s.id=="string"?s.id:f.join("-");if(De(s.index!==!0||!s.children,"Cannot specify children on an index route"),De(!l[d],`Found a route id collision on id "${d}". Route id's must be globally unique within Data Router usages`),z0(s)){let h={...s,...r(s),id:d};return l[d]=h,h}else{let h={...s,...r(s),id:d,children:void 0};return l[d]=h,s.children&&(h.children=Ia(s.children,r,f,l)),h}})}function Rr(t,r,o="/"){return Pa(t,r,o,!1)}function Pa(t,r,o,l){let s=typeof r=="string"?Nr(r):r,u=dn(s.pathname||"/",o);if(u==null)return null;let f=om(t);B0(f);let d=null;for(let h=0;d==null&&h{let h={relativePath:d===void 0?u.path||"":d,caseSensitive:u.caseSensitive===!0,childrenIndex:f,route:u};h.relativePath.startsWith("/")&&(De(h.relativePath.startsWith(l),`Absolute route path "${h.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),h.relativePath=h.relativePath.slice(l.length));let m=Pn([l,h.relativePath]),g=o.concat(h);u.children&&u.children.length>0&&(De(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${m}".`),om(u.children,r,g,m)),!(u.path==null&&!u.index)&&r.push({path:m,score:Q0(m,u.index),routesMeta:g})};return t.forEach((u,f)=>{var d;if(u.path===""||!((d=u.path)!=null&&d.includes("?")))s(u,f);else for(let h of im(u.path))s(u,f,h)}),r}function im(t){let r=t.split("/");if(r.length===0)return[];let[o,...l]=r,s=o.endsWith("?"),u=o.replace(/\?$/,"");if(l.length===0)return s?[u,""]:[u];let f=im(l.join("/")),d=[];return d.push(...f.map(h=>h===""?u:[u,h].join("/"))),s&&d.push(...f),d.map(h=>t.startsWith("/")&&h===""?"/":h)}function B0(t){t.sort((r,o)=>r.score!==o.score?o.score-r.score:Y0(r.routesMeta.map(l=>l.childrenIndex),o.routesMeta.map(l=>l.childrenIndex)))}var $0=/^:[\w-]+$/,W0=3,H0=2,V0=1,K0=10,G0=-2,qp=t=>t==="*";function Q0(t,r){let o=t.split("/"),l=o.length;return o.some(qp)&&(l+=G0),r&&(l+=H0),o.filter(s=>!qp(s)).reduce((s,u)=>s+($0.test(u)?W0:u===""?V0:K0),l)}function Y0(t,r){return t.length===r.length&&t.slice(0,-1).every((l,s)=>l===r[s])?t[t.length-1]-r[r.length-1]:0}function X0(t,r,o=!1){let{routesMeta:l}=t,s={},u="/",f=[];for(let d=0;d{if(g==="*"){let S=d[x]||"";f=u.slice(0,u.length-S.length).replace(/(.)\/+$/,"$1")}const C=d[x];return v&&!C?m[g]=void 0:m[g]=(C||"").replace(/%2F/g,"/"),m},{}),pathname:u,pathnameBase:f,pattern:t}}function q0(t,r=!1,o=!0){Ht(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let l=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(f,d,h)=>(l.push({paramName:d,isOptional:h!=null}),h?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(l.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):o?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,r?void 0:"i"),l]}function J0(t){try{return t.split("/").map(r=>decodeURIComponent(r).replace(/\//g,"%2F")).join("/")}catch(r){return Ht(!1,`The URL path "${t}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),t}}function dn(t,r){if(r==="/")return t;if(!t.toLowerCase().startsWith(r.toLowerCase()))return null;let o=r.endsWith("/")?r.length-1:r.length,l=t.charAt(o);return l&&l!=="/"?null:t.slice(o)||"/"}function Z0(t,r="/"){let{pathname:o,search:l="",hash:s=""}=typeof t=="string"?Nr(t):t;return{pathname:o?o.startsWith("/")?o:ew(o,r):r,search:nw(l),hash:rw(s)}}function ew(t,r){let o=r.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?o.length>1&&o.pop():s!=="."&&o.push(s)}),o.length>1?o.join("/"):"/"}function Ju(t,r,o,l){return`Cannot include a '${t}' character in a manually specified \`to.${r}\` field [${JSON.stringify(l)}]. Please separate it out to the \`to.${o}\` field. Alternatively you may provide the full path as a string in and the router will parse it for you.`}function lm(t){return t.filter((r,o)=>o===0||r.route.path&&r.route.path.length>0)}function Ga(t){let r=lm(t);return r.map((o,l)=>l===r.length-1?o.pathname:o.pathnameBase)}function Qa(t,r,o,l=!1){let s;typeof t=="string"?s=Nr(t):(s={...t},De(!s.pathname||!s.pathname.includes("?"),Ju("?","pathname","search",s)),De(!s.pathname||!s.pathname.includes("#"),Ju("#","pathname","hash",s)),De(!s.search||!s.search.includes("#"),Ju("#","search","hash",s)));let u=t===""||s.pathname==="",f=u?"/":s.pathname,d;if(f==null)d=o;else{let v=r.length-1;if(!l&&f.startsWith("..")){let x=f.split("/");for(;x[0]==="..";)x.shift(),v-=1;s.pathname=x.join("/")}d=v>=0?r[v]:"/"}let h=Z0(s,d),m=f&&f!=="/"&&f.endsWith("/"),g=(u||f===".")&&o.endsWith("/");return!h.pathname.endsWith("/")&&(m||g)&&(h.pathname+="/"),h}var Pn=t=>t.join("/").replace(/\/\/+/g,"/"),tw=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),nw=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,rw=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,ja=class{constructor(t,r,o,l=!1){this.status=t,this.statusText=r||"",this.internal=l,o instanceof Error?(this.data=o.toString(),this.error=o):this.data=o}};function Ya(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}var am=["POST","PUT","PATCH","DELETE"],ow=new Set(am),iw=["GET",...am],lw=new Set(iw),aw=new Set([301,302,303,307,308]),sw=new Set([307,308]),Zu={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},uw={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},zi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},jc=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,cw=t=>({hasErrorBoundary:!!t.hasErrorBoundary}),sm="remix-router-transitions",um=Symbol("ResetLoaderData");function fw(t){const r=t.window?t.window:typeof window<"u"?window:void 0,o=typeof r<"u"&&typeof r.document<"u"&&typeof r.document.createElement<"u";De(t.routes.length>0,"You must provide a non-empty routes array to createRouter");let l=t.mapRouteProperties||cw,s={},u=Ia(t.routes,l,void 0,s),f,d=t.basename||"/",h=t.dataStrategy||gw,m=t.patchRoutesOnNavigation,g={...t.future},v=null,x=new Set,C=null,S=null,E=null,R=t.hydrationData!=null,A=Rr(u,t.history.location,d),_=null;if(A==null&&!m){let N=Zt(404,{pathname:t.history.location.pathname}),{matches:L,route:U}=sh(u);A=L,_={[U.id]:N}}A&&!t.hydrationData&&Ir(A,u,t.history.location.pathname).active&&(A=null);let O;if(A)if(A.some(N=>N.route.lazy))O=!1;else if(!A.some(N=>N.route.loader))O=!0;else{let N=t.hydrationData?t.hydrationData.loaderData:null,L=t.hydrationData?t.hydrationData.errors:null;if(L){let U=A.findIndex(Y=>L[Y.route.id]!==void 0);O=A.slice(0,U+1).every(Y=>!yc(Y.route,N,L))}else O=A.every(U=>!yc(U.route,N,L))}else{O=!1,A=[];let N=Ir(null,u,t.history.location.pathname);N.active&&N.matches&&(A=N.matches)}let j,k={historyAction:t.history.action,location:t.history.location,matches:A,initialized:O,navigation:Zu,restoreScrollPosition:t.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:t.hydrationData&&t.hydrationData.loaderData||{},actionData:t.hydrationData&&t.hydrationData.actionData||null,errors:t.hydrationData&&t.hydrationData.errors||_,fetchers:new Map,blockers:new Map},V="POP",K=!1,G,te=!1,le=new Map,ke=null,ae=!1,we=!1,xe=new Set,Se=new Map,pe=0,ge=-1,W=new Map,$=new Set,q=new Map,M=new Map,H=new Set,he=new Map,Ee,Pe=null;function be(){if(v=t.history.listen(({action:N,location:L,delta:U})=>{if(Ee){Ee(),Ee=void 0;return}Ht(he.size===0||U!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let Y=ho({currentLocation:k.location,nextLocation:L,historyAction:N});if(Y&&U!=null){let oe=new Promise(fe=>{Ee=fe});t.history.go(U*-1),Xn(Y,{state:"blocked",location:L,proceed(){Xn(Y,{state:"proceeding",proceed:void 0,reset:void 0,location:L}),oe.then(()=>t.history.go(U))},reset(){let fe=new Map(k.blockers);fe.set(Y,zi),me({blockers:fe})}});return}return ut(N,L)}),o){Pw(r,le);let N=()=>bw(r,le);r.addEventListener("pagehide",N),ke=()=>r.removeEventListener("pagehide",N)}return k.initialized||ut("POP",k.location,{initialHydration:!0}),j}function _e(){v&&v(),ke&&ke(),x.clear(),G&&G.abort(),k.fetchers.forEach((N,L)=>Qn(L)),k.blockers.forEach((N,L)=>dl(L))}function Le(N){return x.add(N),()=>x.delete(N)}function me(N,L={}){k={...k,...N};let U=[],Y=[];k.fetchers.forEach((oe,fe)=>{oe.state==="idle"&&(H.has(fe)?U.push(fe):Y.push(fe))}),[...x].forEach(oe=>oe(k,{deletedFetchers:U,viewTransitionOpts:L.viewTransitionOpts,flushSync:L.flushSync===!0})),U.forEach(oe=>Qn(oe)),Y.forEach(oe=>k.fetchers.delete(oe))}function We(N,L,{flushSync:U}={}){var ee,Re;let Y=k.actionData!=null&&k.navigation.formMethod!=null&&fn(k.navigation.formMethod)&&k.navigation.state==="loading"&&((ee=N.state)==null?void 0:ee._isRedirect)!==!0,oe;L.actionData?Object.keys(L.actionData).length>0?oe=L.actionData:oe=null:Y?oe=k.actionData:oe=null;let fe=L.loaderData?lh(k.loaderData,L.loaderData,L.matches||[],L.errors):k.loaderData,Ce=k.blockers;Ce.size>0&&(Ce=new Map(Ce),Ce.forEach((Te,He)=>Ce.set(He,zi)));let re=K===!0||k.navigation.formMethod!=null&&fn(k.navigation.formMethod)&&((Re=N.state)==null?void 0:Re._isRedirect)!==!0;f&&(u=f,f=void 0),ae||V==="POP"||(V==="PUSH"?t.history.push(N,N.state):V==="REPLACE"&&t.history.replace(N,N.state));let ue;if(V==="POP"){let Te=le.get(k.location.pathname);Te&&Te.has(N.pathname)?ue={currentLocation:k.location,nextLocation:N}:le.has(N.pathname)&&(ue={currentLocation:N,nextLocation:k.location})}else if(te){let Te=le.get(k.location.pathname);Te?Te.add(N.pathname):(Te=new Set([N.pathname]),le.set(k.location.pathname,Te)),ue={currentLocation:k.location,nextLocation:N}}me({...L,actionData:oe,loaderData:fe,historyAction:V,location:N,initialized:!0,navigation:Zu,revalidation:"idle",restoreScrollPosition:On(N,L.matches||k.matches),preventScrollReset:re,blockers:Ce},{viewTransitionOpts:ue,flushSync:U===!0}),V="POP",K=!1,te=!1,ae=!1,we=!1,Pe==null||Pe.resolve(),Pe=null}async function wn(N,L){if(typeof N=="number"){t.history.go(N);return}let U=vc(k.location,k.matches,d,N,L==null?void 0:L.fromRouteId,L==null?void 0:L.relative),{path:Y,submission:oe,error:fe}=Jp(!1,U,L),Ce=k.location,re=Yi(k.location,Y,L&&L.state);re={...re,...t.history.encodeLocation(re)};let ue=L&&L.replace!=null?L.replace:void 0,ee="PUSH";ue===!0?ee="REPLACE":ue===!1||oe!=null&&fn(oe.formMethod)&&oe.formAction===k.location.pathname+k.location.search&&(ee="REPLACE");let Re=L&&"preventScrollReset"in L?L.preventScrollReset===!0:void 0,Te=(L&&L.flushSync)===!0,He=ho({currentLocation:Ce,nextLocation:re,historyAction:ee});if(He){Xn(He,{state:"blocked",location:re,proceed(){Xn(He,{state:"proceeding",proceed:void 0,reset:void 0,location:re}),wn(N,L)},reset(){let it=new Map(k.blockers);it.set(He,zi),me({blockers:it})}});return}await ut(ee,re,{submission:oe,pendingError:fe,preventScrollReset:Re,replace:L&&L.replace,enableViewTransition:L&&L.viewTransition,flushSync:Te})}function Tr(){Pe||(Pe=Nw()),fo(),me({revalidation:"loading"});let N=Pe.promise;return k.navigation.state==="submitting"?N:k.navigation.state==="idle"?(ut(k.historyAction,k.location,{startUninterruptedRevalidation:!0}),N):(ut(V||k.historyAction,k.navigation.location,{overrideNavigation:k.navigation,enableViewTransition:te===!0}),N)}async function ut(N,L,U){G&&G.abort(),G=null,V=N,ae=(U&&U.startUninterruptedRevalidation)===!0,qn(k.location,k.matches),K=(U&&U.preventScrollReset)===!0,te=(U&&U.enableViewTransition)===!0;let Y=f||u,oe=U&&U.overrideNavigation,fe=Rr(Y,L,d),Ce=(U&&U.flushSync)===!0,re=Ir(fe,Y,L.pathname);if(re.active&&re.matches&&(fe=re.matches),!fe){let{error:ze,notFoundMatches:$e,route:et}=Dr(L.pathname);We(L,{matches:$e,loaderData:{},errors:{[et.id]:ze}},{flushSync:Ce});return}if(k.initialized&&!we&&Ew(k.location,L)&&!(U&&U.submission&&fn(U.submission.formMethod))){We(L,{matches:fe},{flushSync:Ce});return}G=new AbortController;let ue=Uo(t.history,L,G.signal,U&&U.submission),ee;if(U&&U.pendingError)ee=[Jr(fe).route.id,{type:"error",error:U.pendingError}];else if(U&&U.submission&&fn(U.submission.formMethod)){let ze=await Gn(ue,L,U.submission,fe,re.active,{replace:U.replace,flushSync:Ce});if(ze.shortCircuited)return;if(ze.pendingActionResult){let[$e,et]=ze.pendingActionResult;if(Ut(et)&&Ya(et.error)&&et.error.status===404){G=null,We(L,{matches:ze.matches,loaderData:{},errors:{[$e]:et.error}});return}}fe=ze.matches||fe,ee=ze.pendingActionResult,oe=ec(L,U.submission),Ce=!1,re.active=!1,ue=Uo(t.history,ue.url,ue.signal)}let{shortCircuited:Re,matches:Te,loaderData:He,errors:it}=await uo(ue,L,fe,re.active,oe,U&&U.submission,U&&U.fetcherSubmission,U&&U.replace,U&&U.initialHydration===!0,Ce,ee);Re||(G=null,We(L,{matches:Te||fe,...ah(ee),loaderData:He,errors:it}))}async function Gn(N,L,U,Y,oe,fe={}){fo();let Ce=Aw(L,U);if(me({navigation:Ce},{flushSync:fe.flushSync===!0}),oe){let ee=await Fr(Y,L.pathname,N.signal);if(ee.type==="aborted")return{shortCircuited:!0};if(ee.type==="error"){let Re=Jr(ee.partialMatches).route.id;return{matches:ee.partialMatches,pendingActionResult:[Re,{type:"error",error:ee.error}]}}else if(ee.matches)Y=ee.matches;else{let{notFoundMatches:Re,error:Te,route:He}=Dr(L.pathname);return{matches:Re,pendingActionResult:[He.id,{type:"error",error:Te}]}}}let re,ue=Vi(Y,L);if(!ue.route.action&&!ue.route.lazy)re={type:"error",error:Zt(405,{method:N.method,pathname:L.pathname,routeId:ue.route.id})};else if(re=(await _n("action",k,N,[ue],Y,null))[ue.route.id],N.signal.aborted)return{shortCircuited:!0};if(Zr(re)){let ee;return fe&&fe.replace!=null?ee=fe.replace:ee=rh(re.response.headers.get("Location"),new URL(N.url),d)===k.location.pathname+k.location.search,await Rt(N,re,!0,{submission:U,replace:ee}),{shortCircuited:!0}}if(Ut(re)){let ee=Jr(Y,ue.route.id);return(fe&&fe.replace)!==!0&&(V="PUSH"),{matches:Y,pendingActionResult:[ee.route.id,re]}}return{matches:Y,pendingActionResult:[ue.route.id,re]}}async function uo(N,L,U,Y,oe,fe,Ce,re,ue,ee,Re){let Te=oe||ec(L,fe),He=fe||Ce||ch(Te),it=!ae&&!ue;if(Y){if(it){let lt=_r(Re);me({navigation:Te,...lt!==void 0?{actionData:lt}:{}},{flushSync:ee})}let Ue=await Fr(U,L.pathname,N.signal);if(Ue.type==="aborted")return{shortCircuited:!0};if(Ue.type==="error"){let lt=Jr(Ue.partialMatches).route.id;return{matches:Ue.partialMatches,loaderData:{},errors:{[lt]:Ue.error}}}else if(Ue.matches)U=Ue.matches;else{let{error:lt,notFoundMatches:Dn,route:zr}=Dr(L.pathname);return{matches:Dn,loaderData:{},errors:{[zr.id]:lt}}}}let ze=f||u,[$e,et]=eh(t.history,k,U,He,L,ue===!0,we,xe,H,q,$,ze,d,Re);if(ge=++pe,$e.length===0&&et.length===0){let Ue=cl();return We(L,{matches:U,loaderData:{},errors:Re&&Ut(Re[1])?{[Re[0]]:Re[1].error}:null,...ah(Re),...Ue?{fetchers:new Map(k.fetchers)}:{}},{flushSync:ee}),{shortCircuited:!0}}if(it){let Ue={};if(!Y){Ue.navigation=Te;let lt=_r(Re);lt!==void 0&&(Ue.actionData=lt)}et.length>0&&(Ue.fetchers=Or(et)),me(Ue,{flushSync:ee})}et.forEach(Ue=>{At(Ue.key),Ue.controller&&Se.set(Ue.key,Ue.controller)});let Jn=()=>et.forEach(Ue=>At(Ue.key));G&&G.signal.addEventListener("abort",Jn);let{loaderResults:Zn,fetcherResults:Kt}=await ti(k,U,$e,et,N);if(N.signal.aborted)return{shortCircuited:!0};G&&G.signal.removeEventListener("abort",Jn),et.forEach(Ue=>Se.delete(Ue.key));let Lt=wa(Zn);if(Lt)return await Rt(N,Lt.result,!0,{replace:re}),{shortCircuited:!0};if(Lt=wa(Kt),Lt)return $.add(Lt.key),await Rt(N,Lt.result,!0,{replace:re}),{shortCircuited:!0};let{loaderData:go,errors:jr}=ih(k,U,Zn,Re,et,Kt);ue&&k.errors&&(jr={...k.errors,...jr});let Ln=cl(),Ve=ni(ge),vo=Ln||Ve||et.length>0;return{matches:U,loaderData:go,errors:jr,...vo?{fetchers:new Map(k.fetchers)}:{}}}function _r(N){if(N&&!Ut(N[1]))return{[N[0]]:N[1].data};if(k.actionData)return Object.keys(k.actionData).length===0?null:k.actionData}function Or(N){return N.forEach(L=>{let U=k.fetchers.get(L.key),Y=Ui(void 0,U?U.data:void 0);k.fetchers.set(L.key,Y)}),new Map(k.fetchers)}async function co(N,L,U,Y){At(N);let oe=(Y&&Y.flushSync)===!0,fe=f||u,Ce=vc(k.location,k.matches,d,U,L,Y==null?void 0:Y.relative),re=Rr(fe,Ce,d),ue=Ir(re,fe,Ce);if(ue.active&&ue.matches&&(re=ue.matches),!re){Vt(N,L,Zt(404,{pathname:Ce}),{flushSync:oe});return}let{path:ee,submission:Re,error:Te}=Jp(!0,Ce,Y);if(Te){Vt(N,L,Te,{flushSync:oe});return}let He=Vi(re,ee),it=(Y&&Y.preventScrollReset)===!0;if(Re&&fn(Re.formMethod)){await xn(N,L,ee,He,re,ue.active,oe,it,Re);return}q.set(N,{routeId:L,path:ee}),await Lr(N,L,ee,He,re,ue.active,oe,it,Re)}async function xn(N,L,U,Y,oe,fe,Ce,re,ue){fo(),q.delete(N);function ee(qe){if(!qe.route.action&&!qe.route.lazy){let nn=Zt(405,{method:ue.formMethod,pathname:U,routeId:L});return Vt(N,L,nn,{flushSync:Ce}),!0}return!1}if(!fe&&ee(Y))return;let Re=k.fetchers.get(N);tn(N,kw(ue,Re),{flushSync:Ce});let Te=new AbortController,He=Uo(t.history,U,Te.signal,ue);if(fe){let qe=await Fr(oe,U,He.signal);if(qe.type==="aborted")return;if(qe.type==="error"){Vt(N,L,qe.error,{flushSync:Ce});return}else if(qe.matches){if(oe=qe.matches,Y=Vi(oe,U),ee(Y))return}else{Vt(N,L,Zt(404,{pathname:U}),{flushSync:Ce});return}}Se.set(N,Te);let it=pe,$e=(await _n("action",k,He,[Y],oe,N))[Y.route.id];if(He.signal.aborted){Se.get(N)===Te&&Se.delete(N);return}if(H.has(N)){if(Zr($e)||Ut($e)){tn(N,Er(void 0));return}}else{if(Zr($e))if(Se.delete(N),ge>it){tn(N,Er(void 0));return}else return $.add(N),tn(N,Ui(ue)),Rt(He,$e,!1,{fetcherSubmission:ue,preventScrollReset:re});if(Ut($e)){Vt(N,L,$e.error);return}}let et=k.navigation.location||k.location,Jn=Uo(t.history,et,Te.signal),Zn=f||u,Kt=k.navigation.state!=="idle"?Rr(Zn,k.navigation.location,d):k.matches;De(Kt,"Didn't find any matches after fetcher action");let Lt=++pe;W.set(N,Lt);let go=Ui(ue,$e.data);k.fetchers.set(N,go);let[jr,Ln]=eh(t.history,k,Kt,ue,et,!1,we,xe,H,q,$,Zn,d,[Y.route.id,$e]);Ln.filter(qe=>qe.key!==N).forEach(qe=>{let nn=qe.key,Dt=k.fetchers.get(nn),ps=Ui(void 0,Dt?Dt.data:void 0);k.fetchers.set(nn,ps),At(nn),qe.controller&&Se.set(nn,qe.controller)}),me({fetchers:new Map(k.fetchers)});let Ve=()=>Ln.forEach(qe=>At(qe.key));Te.signal.addEventListener("abort",Ve);let{loaderResults:vo,fetcherResults:Ue}=await ti(k,Kt,jr,Ln,Jn);if(Te.signal.aborted)return;Te.signal.removeEventListener("abort",Ve),W.delete(N),Se.delete(N),Ln.forEach(qe=>Se.delete(qe.key));let lt=wa(vo);if(lt)return Rt(Jn,lt.result,!1,{preventScrollReset:re});if(lt=wa(Ue),lt)return $.add(lt.key),Rt(Jn,lt.result,!1,{preventScrollReset:re});let{loaderData:Dn,errors:zr}=ih(k,Kt,vo,void 0,Ln,Ue);if(k.fetchers.has(N)){let qe=Er($e.data);k.fetchers.set(N,qe)}ni(Lt),k.navigation.state==="loading"&&Lt>ge?(De(V,"Expected pending action"),G&&G.abort(),We(k.navigation.location,{matches:Kt,loaderData:Dn,errors:zr,fetchers:new Map(k.fetchers)})):(me({errors:zr,loaderData:lh(k.loaderData,Dn,Kt,zr),fetchers:new Map(k.fetchers)}),we=!1)}async function Lr(N,L,U,Y,oe,fe,Ce,re,ue){let ee=k.fetchers.get(N);tn(N,Ui(ue,ee?ee.data:void 0),{flushSync:Ce});let Re=new AbortController,Te=Uo(t.history,U,Re.signal);if(fe){let $e=await Fr(oe,U,Te.signal);if($e.type==="aborted")return;if($e.type==="error"){Vt(N,L,$e.error,{flushSync:Ce});return}else if($e.matches)oe=$e.matches,Y=Vi(oe,U);else{Vt(N,L,Zt(404,{pathname:U}),{flushSync:Ce});return}}Se.set(N,Re);let He=pe,ze=(await _n("loader",k,Te,[Y],oe,N))[Y.route.id];if(Se.get(N)===Re&&Se.delete(N),!Te.signal.aborted){if(H.has(N)){tn(N,Er(void 0));return}if(Zr(ze))if(ge>He){tn(N,Er(void 0));return}else{$.add(N),await Rt(Te,ze,!1,{preventScrollReset:re});return}if(Ut(ze)){Vt(N,L,ze.error);return}tn(N,Er(ze.data))}}async function Rt(N,L,U,{submission:Y,fetcherSubmission:oe,preventScrollReset:fe,replace:Ce}={}){L.response.headers.has("X-Remix-Revalidate")&&(we=!0);let re=L.response.headers.get("Location");De(re,"Expected a Location header on the redirect Response"),re=rh(re,new URL(N.url),d);let ue=Yi(k.location,re,{_isRedirect:!0});if(o){let ze=!1;if(L.response.headers.has("X-Remix-Reload-Document"))ze=!0;else if(jc.test(re)){const $e=t.history.createURL(re);ze=$e.origin!==r.location.origin||dn($e.pathname,d)==null}if(ze){Ce?r.location.replace(re):r.location.assign(re);return}}G=null;let ee=Ce===!0||L.response.headers.has("X-Remix-Replace")?"REPLACE":"PUSH",{formMethod:Re,formAction:Te,formEncType:He}=k.navigation;!Y&&!oe&&Re&&Te&&He&&(Y=ch(k.navigation));let it=Y||oe;if(sw.has(L.response.status)&&it&&fn(it.formMethod))await ut(ee,ue,{submission:{...it,formAction:re},preventScrollReset:fe||K,enableViewTransition:U?te:void 0});else{let ze=ec(ue,Y);await ut(ee,ue,{overrideNavigation:ze,fetcherSubmission:oe,preventScrollReset:fe||K,enableViewTransition:U?te:void 0})}}async function _n(N,L,U,Y,oe,fe){let Ce,re={};try{Ce=await vw(h,N,L,U,Y,oe,fe,s,l)}catch(ue){return Y.forEach(ee=>{re[ee.route.id]={type:"error",error:ue}}),re}for(let[ue,ee]of Object.entries(Ce))if(Cw(ee)){let Re=ee.result;re[ue]={type:"redirect",response:xw(Re,U,ue,oe,d)}}else re[ue]=await ww(ee);return re}async function ti(N,L,U,Y,oe){let fe=_n("loader",N,oe,U,L,null),Ce=Promise.all(Y.map(async ee=>{if(ee.matches&&ee.match&&ee.controller){let Te=(await _n("loader",N,Uo(t.history,ee.path,ee.controller.signal),[ee.match],ee.matches,ee.key))[ee.match.route.id];return{[ee.key]:Te}}else return Promise.resolve({[ee.key]:{type:"error",error:Zt(404,{pathname:ee.path})}})})),re=await fe,ue=(await Ce).reduce((ee,Re)=>Object.assign(ee,Re),{});return{loaderResults:re,fetcherResults:ue}}function fo(){we=!0,q.forEach((N,L)=>{Se.has(L)&&xe.add(L),At(L)})}function tn(N,L,U={}){k.fetchers.set(N,L),me({fetchers:new Map(k.fetchers)},{flushSync:(U&&U.flushSync)===!0})}function Vt(N,L,U,Y={}){let oe=Jr(k.matches,L);Qn(N),me({errors:{[oe.route.id]:U},fetchers:new Map(k.fetchers)},{flushSync:(Y&&Y.flushSync)===!0})}function po(N){return M.set(N,(M.get(N)||0)+1),H.has(N)&&H.delete(N),k.fetchers.get(N)||uw}function Qn(N){let L=k.fetchers.get(N);Se.has(N)&&!(L&&L.state==="loading"&&W.has(N))&&At(N),q.delete(N),W.delete(N),$.delete(N),H.delete(N),xe.delete(N),k.fetchers.delete(N)}function ul(N){let L=(M.get(N)||0)-1;L<=0?(M.delete(N),H.add(N)):M.set(N,L),me({fetchers:new Map(k.fetchers)})}function At(N){let L=Se.get(N);L&&(L.abort(),Se.delete(N))}function Yn(N){for(let L of N){let U=po(L),Y=Er(U.data);k.fetchers.set(L,Y)}}function cl(){let N=[],L=!1;for(let U of $){let Y=k.fetchers.get(U);De(Y,`Expected fetcher: ${U}`),Y.state==="loading"&&($.delete(U),N.push(U),L=!0)}return Yn(N),L}function ni(N){let L=[];for(let[U,Y]of W)if(Y0}function fl(N,L){let U=k.blockers.get(N)||zi;return he.get(N)!==L&&he.set(N,L),U}function dl(N){k.blockers.delete(N),he.delete(N)}function Xn(N,L){let U=k.blockers.get(N)||zi;De(U.state==="unblocked"&&L.state==="blocked"||U.state==="blocked"&&L.state==="blocked"||U.state==="blocked"&&L.state==="proceeding"||U.state==="blocked"&&L.state==="unblocked"||U.state==="proceeding"&&L.state==="unblocked",`Invalid blocker state transition: ${U.state} -> ${L.state}`);let Y=new Map(k.blockers);Y.set(N,L),me({blockers:Y})}function ho({currentLocation:N,nextLocation:L,historyAction:U}){if(he.size===0)return;he.size>1&&Ht(!1,"A router only supports one blocker at a time");let Y=Array.from(he.entries()),[oe,fe]=Y[Y.length-1],Ce=k.blockers.get(oe);if(!(Ce&&Ce.state==="proceeding")&&fe({currentLocation:N,nextLocation:L,historyAction:U}))return oe}function Dr(N){let L=Zt(404,{pathname:N}),U=f||u,{matches:Y,route:oe}=sh(U);return{notFoundMatches:Y,route:oe,error:L}}function ri(N,L,U){if(C=N,E=L,S=U||null,!R&&k.navigation===Zu){R=!0;let Y=On(k.location,k.matches);Y!=null&&me({restoreScrollPosition:Y})}return()=>{C=null,E=null,S=null}}function mo(N,L){return S&&S(N,L.map(Y=>U0(Y,k.loaderData)))||N.key}function qn(N,L){if(C&&E){let U=mo(N,L);C[U]=E()}}function On(N,L){if(C){let U=mo(N,L),Y=C[U];if(typeof Y=="number")return Y}return null}function Ir(N,L,U){if(m)if(N){if(Object.keys(N[0].params).length>0)return{active:!0,matches:Pa(L,U,d,!0)}}else return{active:!0,matches:Pa(L,U,d,!0)||[]};return{active:!1,matches:null}}async function Fr(N,L,U){if(!m)return{type:"success",matches:N};let Y=N;for(;;){let oe=f==null,fe=f||u,Ce=s;try{await m({path:L,matches:Y,patch:(ee,Re)=>{U.aborted||nh(ee,Re,fe,Ce,l)}})}catch(ee){return{type:"error",error:ee,partialMatches:Y}}finally{oe&&!U.aborted&&(u=[...u])}if(U.aborted)return{type:"aborted"};let re=Rr(fe,L,d);if(re)return{type:"success",matches:re};let ue=Pa(fe,L,d,!0);if(!ue||Y.length===ue.length&&Y.every((ee,Re)=>ee.route.id===ue[Re].route.id))return{type:"success",matches:null};Y=ue}}function pl(N){s={},f=Ia(N,l,void 0,s)}function hl(N,L){let U=f==null;nh(N,L,f||u,s,l),U&&(u=[...u],me({}))}return j={get basename(){return d},get future(){return g},get state(){return k},get routes(){return u},get window(){return r},initialize:be,subscribe:Le,enableScrollRestoration:ri,navigate:wn,fetch:co,revalidate:Tr,createHref:N=>t.history.createHref(N),encodeLocation:N=>t.history.encodeLocation(N),getFetcher:po,deleteFetcher:ul,dispose:_e,getBlocker:fl,deleteBlocker:dl,patchRoutes:hl,_internalFetchControllers:Se,_internalSetRoutes:pl},j}function dw(t){return t!=null&&("formData"in t&&t.formData!=null||"body"in t&&t.body!==void 0)}function vc(t,r,o,l,s,u){let f,d;if(s){f=[];for(let m of r)if(f.push(m),m.route.id===s){d=m;break}}else f=r,d=r[r.length-1];let h=Qa(l||".",Ga(f),dn(t.pathname,o)||t.pathname,u==="path");if(l==null&&(h.search=t.search,h.hash=t.hash),(l==null||l===""||l===".")&&d){let m=zc(h.search);if(d.route.index&&!m)h.search=h.search?h.search.replace(/^\?/,"?index&"):"?index";else if(!d.route.index&&m){let g=new URLSearchParams(h.search),v=g.getAll("index");g.delete("index"),v.filter(C=>C).forEach(C=>g.append("index",C));let x=g.toString();h.search=x?`?${x}`:""}}return o!=="/"&&(h.pathname=h.pathname==="/"?o:Pn([o,h.pathname])),Ar(h)}function Jp(t,r,o){if(!o||!dw(o))return{path:r};if(o.formMethod&&!Rw(o.formMethod))return{path:r,error:Zt(405,{method:o.formMethod})};let l=()=>({path:r,error:Zt(400,{type:"invalid-body"})}),u=(o.formMethod||"get").toUpperCase(),f=fm(r);if(o.body!==void 0){if(o.formEncType==="text/plain"){if(!fn(u))return l();let v=typeof o.body=="string"?o.body:o.body instanceof FormData||o.body instanceof URLSearchParams?Array.from(o.body.entries()).reduce((x,[C,S])=>`${x}${C}=${S} -`,""):String(o.body);return{path:r,submission:{formMethod:u,formAction:f,formEncType:o.formEncType,formData:void 0,json:void 0,text:v}}}else if(o.formEncType==="application/json"){if(!fn(u))return l();try{let v=typeof o.body=="string"?JSON.parse(o.body):o.body;return{path:r,submission:{formMethod:u,formAction:f,formEncType:o.formEncType,formData:void 0,json:v,text:void 0}}}catch{return l()}}}De(typeof FormData=="function","FormData is not available in this environment");let d,h;if(o.formData)d=wc(o.formData),h=o.formData;else if(o.body instanceof FormData)d=wc(o.body),h=o.body;else if(o.body instanceof URLSearchParams)d=o.body,h=oh(d);else if(o.body==null)d=new URLSearchParams,h=new FormData;else try{d=new URLSearchParams(o.body),h=oh(d)}catch{return l()}let m={formMethod:u,formAction:f,formEncType:o&&o.formEncType||"application/x-www-form-urlencoded",formData:h,json:void 0,text:void 0};if(fn(m.formMethod))return{path:r,submission:m};let g=Nr(r);return t&&g.search&&zc(g.search)&&d.append("index",""),g.search=`?${d}`,{path:Ar(g),submission:m}}function Zp(t,r,o=!1){let l=t.findIndex(s=>s.route.id===r);return l>=0?t.slice(0,o?l+1:l):t}function eh(t,r,o,l,s,u,f,d,h,m,g,v,x,C){let S=C?Ut(C[1])?C[1].error:C[1].data:void 0,E=t.createURL(r.location),R=t.createURL(s),A=o;u&&r.errors?A=Zp(o,Object.keys(r.errors)[0],!0):C&&Ut(C[1])&&(A=Zp(o,C[0]));let _=C?C[1].statusCode:void 0,O=_&&_>=400,j=A.filter((V,K)=>{let{route:G}=V;if(G.lazy)return!0;if(G.loader==null)return!1;if(u)return yc(G,r.loaderData,r.errors);if(pw(r.loaderData,r.matches[K],V))return!0;let te=r.matches[K],le=V;return th(V,{currentUrl:E,currentParams:te.params,nextUrl:R,nextParams:le.params,...l,actionResult:S,actionStatus:_,defaultShouldRevalidate:O?!1:f||E.pathname+E.search===R.pathname+R.search||E.search!==R.search||hw(te,le)})}),k=[];return m.forEach((V,K)=>{if(u||!o.some(ae=>ae.route.id===V.routeId)||h.has(K))return;let G=Rr(v,V.path,x);if(!G){k.push({key:K,routeId:V.routeId,path:V.path,matches:null,match:null,controller:null});return}let te=r.fetchers.get(K),le=Vi(G,V.path),ke=!1;g.has(K)?ke=!1:d.has(K)?(d.delete(K),ke=!0):te&&te.state!=="idle"&&te.data===void 0?ke=f:ke=th(le,{currentUrl:E,currentParams:r.matches[r.matches.length-1].params,nextUrl:R,nextParams:o[o.length-1].params,...l,actionResult:S,actionStatus:_,defaultShouldRevalidate:O?!1:f}),ke&&k.push({key:K,routeId:V.routeId,path:V.path,matches:G,match:le,controller:new AbortController})}),[j,k]}function yc(t,r,o){if(t.lazy)return!0;if(!t.loader)return!1;let l=r!=null&&r[t.id]!==void 0,s=o!=null&&o[t.id]!==void 0;return!l&&s?!1:typeof t.loader=="function"&&t.loader.hydrate===!0?!0:!l&&!s}function pw(t,r,o){let l=!r||o.route.id!==r.route.id,s=!t.hasOwnProperty(o.route.id);return l||s}function hw(t,r){let o=t.route.path;return t.pathname!==r.pathname||o!=null&&o.endsWith("*")&&t.params["*"]!==r.params["*"]}function th(t,r){if(t.route.shouldRevalidate){let o=t.route.shouldRevalidate(r);if(typeof o=="boolean")return o}return r.defaultShouldRevalidate}function nh(t,r,o,l,s){let u;if(t){let h=l[t];De(h,`No route found to patch children into: routeId = ${t}`),h.children||(h.children=[]),u=h.children}else u=o;let f=r.filter(h=>!u.some(m=>cm(h,m))),d=Ia(f,s,[t||"_","patch",String((u==null?void 0:u.length)||"0")],l);u.push(...d)}function cm(t,r){return"id"in t&&"id"in r&&t.id===r.id?!0:t.index===r.index&&t.path===r.path&&t.caseSensitive===r.caseSensitive?(!t.children||t.children.length===0)&&(!r.children||r.children.length===0)?!0:t.children.every((o,l)=>{var s;return(s=r.children)==null?void 0:s.some(u=>cm(o,u))}):!1}async function mw(t,r,o){if(!t.lazy)return;let l=await t.lazy();if(!t.lazy)return;let s=o[t.id];De(s,"No route found in manifest");let u={};for(let f in l){let h=s[f]!==void 0&&f!=="hasErrorBoundary";Ht(!h,`Route "${s.id}" has a static property "${f}" defined but its lazy function is also returning a value for this property. The lazy route property "${f}" will be ignored.`),!h&&!j0.has(f)&&(u[f]=l[f])}Object.assign(s,u),Object.assign(s,{...r(s),lazy:void 0})}async function gw({matches:t}){let r=t.filter(l=>l.shouldLoad);return(await Promise.all(r.map(l=>l.resolve()))).reduce((l,s,u)=>Object.assign(l,{[r[u].route.id]:s}),{})}async function vw(t,r,o,l,s,u,f,d,h,m){let g=u.map(C=>C.route.lazy?mw(C.route,h,d):void 0),v=u.map((C,S)=>{let E=g[S],R=s.some(_=>_.route.id===C.route.id);return{...C,shouldLoad:R,resolve:async _=>(_&&l.method==="GET"&&(C.route.lazy||C.route.loader)&&(R=!0),R?yw(r,l,C,E,_,m):Promise.resolve({type:"data",result:void 0}))}}),x=await t({matches:v,request:l,params:u[0].params,fetcherKey:f,context:m});try{await Promise.all(g)}catch{}return x}async function yw(t,r,o,l,s,u){let f,d,h=m=>{let g,v=new Promise((S,E)=>g=E);d=()=>g(),r.signal.addEventListener("abort",d);let x=S=>typeof m!="function"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean "${t}" [routeId: ${o.route.id}]`)):m({request:r,params:o.params,context:u},...S!==void 0?[S]:[]),C=(async()=>{try{return{type:"data",result:await(s?s(E=>x(E)):x())}}catch(S){return{type:"error",result:S}}})();return Promise.race([C,v])};try{let m=o.route[t];if(l)if(m){let g,[v]=await Promise.all([h(m).catch(x=>{g=x}),l]);if(g!==void 0)throw g;f=v}else if(await l,m=o.route[t],m)f=await h(m);else if(t==="action"){let g=new URL(r.url),v=g.pathname+g.search;throw Zt(405,{method:r.method,pathname:v,routeId:o.route.id})}else return{type:"data",result:void 0};else if(m)f=await h(m);else{let g=new URL(r.url),v=g.pathname+g.search;throw Zt(404,{pathname:v})}}catch(m){return{type:"error",result:m}}finally{d&&r.signal.removeEventListener("abort",d)}return f}async function ww(t){var l,s,u,f;let{result:r,type:o}=t;if(dm(r)){let d;try{let h=r.headers.get("Content-Type");h&&/\bapplication\/json\b/.test(h)?r.body==null?d=null:d=await r.json():d=await r.text()}catch(h){return{type:"error",error:h}}return o==="error"?{type:"error",error:new ja(r.status,r.statusText,d),statusCode:r.status,headers:r.headers}:{type:"data",data:d,statusCode:r.status,headers:r.headers}}if(o==="error"){if(uh(r)){if(r.data instanceof Error)return{type:"error",error:r.data,statusCode:(l=r.init)==null?void 0:l.status};r=new ja(((s=r.init)==null?void 0:s.status)||500,void 0,r.data)}return{type:"error",error:r,statusCode:Ya(r)?r.status:void 0}}return uh(r)?{type:"data",data:r.data,statusCode:(u=r.init)==null?void 0:u.status,headers:(f=r.init)!=null&&f.headers?new Headers(r.init.headers):void 0}:{type:"data",data:r}}function xw(t,r,o,l,s){let u=t.headers.get("Location");if(De(u,"Redirects returned/thrown from loaders/actions must have a Location header"),!jc.test(u)){let f=l.slice(0,l.findIndex(d=>d.route.id===o)+1);u=vc(new URL(r.url),f,s,u),t.headers.set("Location",u)}return t}function rh(t,r,o){if(jc.test(t)){let l=t,s=l.startsWith("//")?new URL(r.protocol+l):new URL(l),u=dn(s.pathname,o)!=null;if(s.origin===r.origin&&u)return s.pathname+s.search+s.hash}return t}function Uo(t,r,o,l){let s=t.createURL(fm(r)).toString(),u={signal:o};if(l&&fn(l.formMethod)){let{formMethod:f,formEncType:d}=l;u.method=f.toUpperCase(),d==="application/json"?(u.headers=new Headers({"Content-Type":d}),u.body=JSON.stringify(l.json)):d==="text/plain"?u.body=l.text:d==="application/x-www-form-urlencoded"&&l.formData?u.body=wc(l.formData):u.body=l.formData}return new Request(s,u)}function wc(t){let r=new URLSearchParams;for(let[o,l]of t.entries())r.append(o,typeof l=="string"?l:l.name);return r}function oh(t){let r=new FormData;for(let[o,l]of t.entries())r.append(o,l);return r}function Sw(t,r,o,l=!1,s=!1){let u={},f=null,d,h=!1,m={},g=o&&Ut(o[1])?o[1].error:void 0;return t.forEach(v=>{if(!(v.route.id in r))return;let x=v.route.id,C=r[x];if(De(!Zr(C),"Cannot handle redirect results in processLoaderData"),Ut(C)){let S=C.error;if(g!==void 0&&(S=g,g=void 0),f=f||{},s)f[x]=S;else{let E=Jr(t,x);f[E.route.id]==null&&(f[E.route.id]=S)}l||(u[x]=um),h||(h=!0,d=Ya(C.error)?C.error.status:500),C.headers&&(m[x]=C.headers)}else u[x]=C.data,C.statusCode&&C.statusCode!==200&&!h&&(d=C.statusCode),C.headers&&(m[x]=C.headers)}),g!==void 0&&o&&(f={[o[0]]:g},u[o[0]]=void 0),{loaderData:u,errors:f,statusCode:d||200,loaderHeaders:m}}function ih(t,r,o,l,s,u){let{loaderData:f,errors:d}=Sw(r,o,l);return s.forEach(h=>{let{key:m,match:g,controller:v}=h,x=u[m];if(De(x,"Did not find corresponding fetcher result"),!(v&&v.signal.aborted))if(Ut(x)){let C=Jr(t.matches,g==null?void 0:g.route.id);d&&d[C.route.id]||(d={...d,[C.route.id]:x.error}),t.fetchers.delete(m)}else if(Zr(x))De(!1,"Unhandled fetcher revalidation redirect");else{let C=Er(x.data);t.fetchers.set(m,C)}}),{loaderData:f,errors:d}}function lh(t,r,o,l){let s=Object.entries(r).filter(([,u])=>u!==um).reduce((u,[f,d])=>(u[f]=d,u),{});for(let u of o){let f=u.route.id;if(!r.hasOwnProperty(f)&&t.hasOwnProperty(f)&&u.route.loader&&(s[f]=t[f]),l&&l.hasOwnProperty(f))break}return s}function ah(t){return t?Ut(t[1])?{actionData:{}}:{actionData:{[t[0]]:t[1].data}}:{}}function Jr(t,r){return(r?t.slice(0,t.findIndex(l=>l.route.id===r)+1):[...t]).reverse().find(l=>l.route.hasErrorBoundary===!0)||t[0]}function sh(t){let r=t.length===1?t[0]:t.find(o=>o.index||!o.path||o.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:r}],route:r}}function Zt(t,{pathname:r,routeId:o,method:l,type:s,message:u}={}){let f="Unknown Server Error",d="Unknown @remix-run/router error";return t===400?(f="Bad Request",l&&r&&o?d=`You made a ${l} request to "${r}" but did not provide a \`loader\` for route "${o}", so there is no way to handle the request.`:s==="invalid-body"&&(d="Unable to encode submission body")):t===403?(f="Forbidden",d=`Route "${o}" does not match URL "${r}"`):t===404?(f="Not Found",d=`No route matches URL "${r}"`):t===405&&(f="Method Not Allowed",l&&r&&o?d=`You made a ${l.toUpperCase()} request to "${r}" but did not provide an \`action\` for route "${o}", so there is no way to handle the request.`:l&&(d=`Invalid request method "${l.toUpperCase()}"`)),new ja(t||500,f,new Error(d),!0)}function wa(t){let r=Object.entries(t);for(let o=r.length-1;o>=0;o--){let[l,s]=r[o];if(Zr(s))return{key:l,result:s}}}function fm(t){let r=typeof t=="string"?Nr(t):t;return Ar({...r,hash:""})}function Ew(t,r){return t.pathname!==r.pathname||t.search!==r.search?!1:t.hash===""?r.hash!=="":t.hash===r.hash?!0:r.hash!==""}function Cw(t){return dm(t.result)&&aw.has(t.result.status)}function Ut(t){return t.type==="error"}function Zr(t){return(t&&t.type)==="redirect"}function uh(t){return typeof t=="object"&&t!=null&&"type"in t&&"data"in t&&"init"in t&&t.type==="DataWithResponseInit"}function dm(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.headers=="object"&&typeof t.body<"u"}function Rw(t){return lw.has(t.toUpperCase())}function fn(t){return ow.has(t.toUpperCase())}function zc(t){return new URLSearchParams(t).getAll("index").some(r=>r==="")}function Vi(t,r){let o=typeof r=="string"?Nr(r).search:r.search;if(t[t.length-1].route.index&&zc(o||""))return t[t.length-1];let l=lm(t);return l[l.length-1]}function ch(t){let{formMethod:r,formAction:o,formEncType:l,text:s,formData:u,json:f}=t;if(!(!r||!o||!l)){if(s!=null)return{formMethod:r,formAction:o,formEncType:l,formData:void 0,json:void 0,text:s};if(u!=null)return{formMethod:r,formAction:o,formEncType:l,formData:u,json:void 0,text:void 0};if(f!==void 0)return{formMethod:r,formAction:o,formEncType:l,formData:void 0,json:f,text:void 0}}}function ec(t,r){return r?{state:"loading",location:t,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}:{state:"loading",location:t,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Aw(t,r){return{state:"submitting",location:t,formMethod:r.formMethod,formAction:r.formAction,formEncType:r.formEncType,formData:r.formData,json:r.json,text:r.text}}function Ui(t,r){return t?{state:"loading",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:r}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:r}}function kw(t,r){return{state:"submitting",formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text,data:r?r.data:void 0}}function Er(t){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Pw(t,r){try{let o=t.sessionStorage.getItem(sm);if(o){let l=JSON.parse(o);for(let[s,u]of Object.entries(l||{}))u&&Array.isArray(u)&&r.set(s,new Set(u||[]))}}catch{}}function bw(t,r){if(r.size>0){let o={};for(let[l,s]of r)o[l]=[...s];try{t.sessionStorage.setItem(sm,JSON.stringify(o))}catch(l){Ht(!1,`Failed to save applied view transitions in sessionStorage (${l}).`)}}}function Nw(){let t,r,o=new Promise((l,s)=>{t=async u=>{l(u);try{await o}catch{}},r=async u=>{s(u);try{await o}catch{}}});return{promise:o,resolve:t,reject:r}}var lo=y.createContext(null);lo.displayName="DataRouter";var tl=y.createContext(null);tl.displayName="DataRouterState";var Uc=y.createContext({isTransitioning:!1});Uc.displayName="ViewTransition";var pm=y.createContext(new Map);pm.displayName="Fetchers";var Mw=y.createContext(null);Mw.displayName="Await";var gn=y.createContext(null);gn.displayName="Navigation";var Xa=y.createContext(null);Xa.displayName="Location";var vn=y.createContext({outlet:null,matches:[],isDataRoute:!1});vn.displayName="Route";var Bc=y.createContext(null);Bc.displayName="RouteError";function Tw(t,{relative:r}={}){De(Yo(),"useHref() may be used only in the context of a component.");let{basename:o,navigator:l}=y.useContext(gn),{hash:s,pathname:u,search:f}=nl(t,{relative:r}),d=u;return o!=="/"&&(d=u==="/"?o:Pn([o,u])),l.createHref({pathname:d,search:f,hash:s})}function Yo(){return y.useContext(Xa)!=null}function Mr(){return De(Yo(),"useLocation() may be used only in the context of a component."),y.useContext(Xa).location}var hm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function mm(t){y.useContext(gn).static||y.useLayoutEffect(t)}function gm(){let{isDataRoute:t}=y.useContext(vn);return t?Kw():_w()}function _w(){De(Yo(),"useNavigate() may be used only in the context of a component.");let t=y.useContext(lo),{basename:r,navigator:o}=y.useContext(gn),{matches:l}=y.useContext(vn),{pathname:s}=Mr(),u=JSON.stringify(Ga(l)),f=y.useRef(!1);return mm(()=>{f.current=!0}),y.useCallback((h,m={})=>{if(Ht(f.current,hm),!f.current)return;if(typeof h=="number"){o.go(h);return}let g=Qa(h,JSON.parse(u),s,m.relative==="path");t==null&&r!=="/"&&(g.pathname=g.pathname==="/"?r:Pn([r,g.pathname])),(m.replace?o.replace:o.push)(g,m.state,m)},[r,o,u,s,t])}var Ow=y.createContext(null);function Lw(t){let r=y.useContext(vn).outlet;return r&&y.createElement(Ow.Provider,{value:t},r)}function nl(t,{relative:r}={}){let{matches:o}=y.useContext(vn),{pathname:l}=Mr(),s=JSON.stringify(Ga(o));return y.useMemo(()=>Qa(t,JSON.parse(s),l,r==="path"),[t,s,l,r])}function Dw(t,r,o,l){De(Yo(),"useRoutes() may be used only in the context of a component.");let{navigator:s}=y.useContext(gn),{matches:u}=y.useContext(vn),f=u[u.length-1],d=f?f.params:{};f&&f.pathname;let h=f?f.pathnameBase:"/";f&&f.route;let m=Mr(),g;g=m;let v=g.pathname||"/",x=v;if(h!=="/"){let E=h.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(E.length).join("/")}let C=Rr(t,{pathname:x});return Uw(C&&C.map(E=>Object.assign({},E,{params:Object.assign({},d,E.params),pathname:Pn([h,s.encodeLocation?s.encodeLocation(E.pathname).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?h:Pn([h,s.encodeLocation?s.encodeLocation(E.pathnameBase).pathname:E.pathnameBase])})),u,o,l)}function Iw(){let t=Vw(),r=Ya(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),o=t instanceof Error?t.stack:null,s={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},r),o?y.createElement("pre",{style:s},o):null,null)}var Fw=y.createElement(Iw,null),jw=class extends y.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error!==void 0?y.createElement(vn.Provider,{value:this.props.routeContext},y.createElement(Bc.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function zw({routeContext:t,match:r,children:o}){let l=y.useContext(lo);return l&&l.static&&l.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=r.route.id),y.createElement(vn.Provider,{value:t},o)}function Uw(t,r=[],o=null,l=null){if(t==null){if(!o)return null;if(o.errors)t=o.matches;else if(r.length===0&&!o.initialized&&o.matches.length>0)t=o.matches;else return null}let s=t,u=o==null?void 0:o.errors;if(u!=null){let h=s.findIndex(m=>m.route.id&&(u==null?void 0:u[m.route.id])!==void 0);De(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(u).join(",")}`),s=s.slice(0,Math.min(s.length,h+1))}let f=!1,d=-1;if(o)for(let h=0;h=0?s=s.slice(0,d+1):s=[s[0]];break}}}return s.reduceRight((h,m,g)=>{let v,x=!1,C=null,S=null;o&&(v=u&&m.route.id?u[m.route.id]:void 0,C=m.route.errorElement||Fw,f&&(d<0&&g===0?(Gw("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),x=!0,S=null):d===g&&(x=!0,S=m.route.hydrateFallbackElement||null)));let E=r.concat(s.slice(0,g+1)),R=()=>{let A;return v?A=C:x?A=S:m.route.Component?A=y.createElement(m.route.Component,null):m.route.element?A=m.route.element:A=h,y.createElement(zw,{match:m,routeContext:{outlet:h,matches:E,isDataRoute:o!=null},children:A})};return o&&(m.route.ErrorBoundary||m.route.errorElement||g===0)?y.createElement(jw,{location:o.location,revalidation:o.revalidation,component:C,error:v,children:R(),routeContext:{outlet:null,matches:E,isDataRoute:!0}}):R()},null)}function $c(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Bw(t){let r=y.useContext(lo);return De(r,$c(t)),r}function $w(t){let r=y.useContext(tl);return De(r,$c(t)),r}function Ww(t){let r=y.useContext(vn);return De(r,$c(t)),r}function Wc(t){let r=Ww(t),o=r.matches[r.matches.length-1];return De(o.route.id,`${t} can only be used on routes that contain a unique "id"`),o.route.id}function Hw(){return Wc("useRouteId")}function Vw(){var l;let t=y.useContext(Bc),r=$w("useRouteError"),o=Wc("useRouteError");return t!==void 0?t:(l=r.errors)==null?void 0:l[o]}function Kw(){let{router:t}=Bw("useNavigate"),r=Wc("useNavigate"),o=y.useRef(!1);return mm(()=>{o.current=!0}),y.useCallback(async(s,u={})=>{Ht(o.current,hm),o.current&&(typeof s=="number"?t.navigate(s):await t.navigate(s,{fromRouteId:r,...u}))},[t,r])}var fh={};function Gw(t,r,o){fh[t]||(fh[t]=!0,Ht(!1,o))}var dh={};function ph(t,r){!t&&!dh[r]&&(dh[r]=!0,console.warn(r))}function Qw(t){let r={hasErrorBoundary:t.hasErrorBoundary||t.ErrorBoundary!=null||t.errorElement!=null};return t.Component&&Object.assign(r,{element:y.createElement(t.Component),Component:void 0}),t.HydrateFallback&&Object.assign(r,{hydrateFallbackElement:y.createElement(t.HydrateFallback),HydrateFallback:void 0}),t.ErrorBoundary&&Object.assign(r,{errorElement:y.createElement(t.ErrorBoundary),ErrorBoundary:void 0}),r}var Yw=class{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=o=>{this.status==="pending"&&(this.status="resolved",t(o))},this.reject=o=>{this.status==="pending"&&(this.status="rejected",r(o))}})}};function Xw({router:t,flushSync:r}){let[o,l]=y.useState(t.state),[s,u]=y.useState(),[f,d]=y.useState({isTransitioning:!1}),[h,m]=y.useState(),[g,v]=y.useState(),[x,C]=y.useState(),S=y.useRef(new Map),E=y.useCallback((O,{deletedFetchers:j,flushSync:k,viewTransitionOpts:V})=>{j.forEach(G=>S.current.delete(G)),O.fetchers.forEach((G,te)=>{G.data!==void 0&&S.current.set(te,G.data)}),ph(k===!1||r!=null,'You provided the `flushSync` option to a router update, but you are not using the `` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from "react-router/dom"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let K=t.window!=null&&t.window.document!=null&&typeof t.window.document.startViewTransition=="function";if(ph(V==null||K,"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available."),!V||!K){r&&k?r(()=>l(O)):y.startTransition(()=>l(O));return}if(r&&k){r(()=>{g&&(h&&h.resolve(),g.skipTransition()),d({isTransitioning:!0,flushSync:!0,currentLocation:V.currentLocation,nextLocation:V.nextLocation})});let G=t.window.document.startViewTransition(()=>{r(()=>l(O))});G.finished.finally(()=>{r(()=>{m(void 0),v(void 0),u(void 0),d({isTransitioning:!1})})}),r(()=>v(G));return}g?(h&&h.resolve(),g.skipTransition(),C({state:O,currentLocation:V.currentLocation,nextLocation:V.nextLocation})):(u(O),d({isTransitioning:!0,flushSync:!1,currentLocation:V.currentLocation,nextLocation:V.nextLocation}))},[t.window,r,g,h]);y.useLayoutEffect(()=>t.subscribe(E),[t,E]),y.useEffect(()=>{f.isTransitioning&&!f.flushSync&&m(new Yw)},[f]),y.useEffect(()=>{if(h&&s&&t.window){let O=s,j=h.promise,k=t.window.document.startViewTransition(async()=>{y.startTransition(()=>l(O)),await j});k.finished.finally(()=>{m(void 0),v(void 0),u(void 0),d({isTransitioning:!1})}),v(k)}},[s,h,t.window]),y.useEffect(()=>{h&&s&&o.location.key===s.location.key&&h.resolve()},[h,g,o.location,s]),y.useEffect(()=>{!f.isTransitioning&&x&&(u(x.state),d({isTransitioning:!0,flushSync:!1,currentLocation:x.currentLocation,nextLocation:x.nextLocation}),C(void 0))},[f.isTransitioning,x]);let R=y.useMemo(()=>({createHref:t.createHref,encodeLocation:t.encodeLocation,go:O=>t.navigate(O),push:(O,j,k)=>t.navigate(O,{state:j,preventScrollReset:k==null?void 0:k.preventScrollReset}),replace:(O,j,k)=>t.navigate(O,{replace:!0,state:j,preventScrollReset:k==null?void 0:k.preventScrollReset})}),[t]),A=t.basename||"/",_=y.useMemo(()=>({router:t,navigator:R,static:!1,basename:A}),[t,R,A]);return y.createElement(y.Fragment,null,y.createElement(lo.Provider,{value:_},y.createElement(tl.Provider,{value:o},y.createElement(pm.Provider,{value:S.current},y.createElement(Uc.Provider,{value:f},y.createElement(tx,{basename:A,location:o.location,navigationType:o.historyAction,navigator:R},y.createElement(qw,{routes:t.routes,future:t.future,state:o})))))),null)}var qw=y.memo(Jw);function Jw({routes:t,future:r,state:o}){return Dw(t,void 0,o,r)}function Zw({to:t,replace:r,state:o,relative:l}){De(Yo()," may be used only in the context of a component.");let{static:s}=y.useContext(gn);Ht(!s," must not be used on the initial render in a . This is a no-op, but you should modify your code so the is only ever rendered in response to some user interaction or state change.");let{matches:u}=y.useContext(vn),{pathname:f}=Mr(),d=gm(),h=Qa(t,Ga(u),f,l==="path"),m=JSON.stringify(h);return y.useEffect(()=>{d(JSON.parse(m),{replace:r,state:o,relative:l})},[d,m,l,r,o]),null}function ex(t){return Lw(t.context)}function tx({basename:t="/",children:r=null,location:o,navigationType:l="POP",navigator:s,static:u=!1}){De(!Yo(),"You cannot render a inside another . You should never have more than one in your app.");let f=t.replace(/^\/*/,"/"),d=y.useMemo(()=>({basename:f,navigator:s,static:u,future:{}}),[f,s,u]);typeof o=="string"&&(o=Nr(o));let{pathname:h="/",search:m="",hash:g="",state:v=null,key:x="default"}=o,C=y.useMemo(()=>{let S=dn(h,f);return S==null?null:{location:{pathname:S,search:m,hash:g,state:v,key:x},navigationType:l}},[f,h,m,g,v,x,l]);return Ht(C!=null,` is not able to match the URL "${h}${m}${g}" because it does not start with the basename, so the won't render anything.`),C==null?null:y.createElement(gn.Provider,{value:d},y.createElement(Xa.Provider,{children:r,value:C}))}var ba="get",Na="application/x-www-form-urlencoded";function qa(t){return t!=null&&typeof t.tagName=="string"}function nx(t){return qa(t)&&t.tagName.toLowerCase()==="button"}function rx(t){return qa(t)&&t.tagName.toLowerCase()==="form"}function ox(t){return qa(t)&&t.tagName.toLowerCase()==="input"}function ix(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function lx(t,r){return t.button===0&&(!r||r==="_self")&&!ix(t)}var xa=null;function ax(){if(xa===null)try{new FormData(document.createElement("form"),0),xa=!1}catch{xa=!0}return xa}var sx=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function tc(t){return t!=null&&!sx.has(t)?(Ht(!1,`"${t}" is not a valid \`encType\` for \`
\`/\`\` and will default to "${Na}"`),null):t}function ux(t,r){let o,l,s,u,f;if(rx(t)){let d=t.getAttribute("action");l=d?dn(d,r):null,o=t.getAttribute("method")||ba,s=tc(t.getAttribute("enctype"))||Na,u=new FormData(t)}else if(nx(t)||ox(t)&&(t.type==="submit"||t.type==="image")){let d=t.form;if(d==null)throw new Error('Cannot submit a