var jm=Object.defineProperty;var Bm=(e,t,n)=>t in e?jm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var fu=(e,t,n)=>(Bm(e,typeof t!="symbol"?t+"":t,n),n);function Mm(e,t){for(var n=0;nr[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();var xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Um(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ap={exports:{}},Ea={},up={exports:{}},ke={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Gi=Symbol.for("react.element"),Fm=Symbol.for("react.portal"),zm=Symbol.for("react.fragment"),$m=Symbol.for("react.strict_mode"),Km=Symbol.for("react.profiler"),Hm=Symbol.for("react.provider"),Wm=Symbol.for("react.context"),Gm=Symbol.for("react.forward_ref"),Vm=Symbol.for("react.suspense"),Qm=Symbol.for("react.memo"),Ym=Symbol.for("react.lazy"),yf=Symbol.iterator;function qm(e){return e===null||typeof e!="object"?null:(e=yf&&e[yf]||e["@@iterator"],typeof e=="function"?e:null)}var sp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},cp=Object.assign,fp={};function zo(e,t,n){this.props=e,this.context=t,this.refs=fp,this.updater=n||sp}zo.prototype.isReactComponent={};zo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};zo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function dp(){}dp.prototype=zo.prototype;function $s(e,t,n){this.props=e,this.context=t,this.refs=fp,this.updater=n||sp}var Ks=$s.prototype=new dp;Ks.constructor=$s;cp(Ks,zo.prototype);Ks.isPureReactComponent=!0;var mf=Array.isArray,pp=Object.prototype.hasOwnProperty,Hs={current:null},hp={key:!0,ref:!0,__self:!0,__source:!0};function yp(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)pp.call(t,r)&&!hp.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,q=$[Q];if(0>>1;Qo(N,P))Eeo(ct,N)?($[Q]=ct,$[Ee]=P,Q=Ee):($[Q]=N,$[Z]=P,Q=Z);else if(Eeo(ct,P))$[Q]=ct,$[Ee]=P,Q=Ee;else break e}}return M}function o($,M){var P=$.sortIndex-M.sortIndex;return P!==0?P:$.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],f=[],g=1,p=null,h=3,x=!1,S=!1,w=!1,L=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E($){for(var M=n(f);M!==null;){if(M.callback===null)r(f);else if(M.startTime<=$)r(f),M.sortIndex=M.expirationTime,t(a,M);else break;M=n(f)}}function m($){if(w=!1,E($),!S)if(n(a)!==null)S=!0,V(j);else{var M=n(f);M!==null&&re(m,M.startTime-$)}}function j($,M){S=!1,w&&(w=!1,v(z),z=-1),x=!0;var P=h;try{for(E(M),p=n(a);p!==null&&(!(p.expirationTime>M)||$&&!ue());){var Q=p.callback;if(typeof Q=="function"){p.callback=null,h=p.priorityLevel;var q=Q(p.expirationTime<=M);M=e.unstable_now(),typeof q=="function"?p.callback=q:p===n(a)&&r(a),E(M)}else r(a);p=n(a)}if(p!==null)var le=!0;else{var Z=n(f);Z!==null&&re(m,Z.startTime-M),le=!1}return le}finally{p=null,h=P,x=!1}}var A=!1,R=null,z=-1,H=5,W=-1;function ue(){return!(e.unstable_now()-W$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function($){switch(h){case 1:case 2:case 3:var M=3;break;default:M=h}var P=h;h=M;try{return $()}finally{h=P}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function($,M){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var P=h;h=$;try{return M()}finally{h=P}},e.unstable_scheduleCallback=function($,M,P){var Q=e.unstable_now();switch(typeof P=="object"&&P!==null?(P=P.delay,P=typeof P=="number"&&0Q?($.sortIndex=P,t(f,$),n(a)===null&&$===n(f)&&(w?(v(z),z=-1):w=!0,re(m,P-Q))):($.sortIndex=q,t(a,$),S||x||(S=!0,V(j))),$},e.unstable_shouldYield=ue,e.unstable_wrapCallback=function($){var M=h;return function(){var P=h;h=M;try{return $.apply(this,arguments)}finally{h=P}}}})(Sp);Ep.exports=Sp;var a0=Ep.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var wp=he,cn=a0;function ee(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ku=Object.prototype.hasOwnProperty,u0=/^[: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]*$/,vf={},Ef={};function s0(e){return Ku.call(Ef,e)?!0:Ku.call(vf,e)?!1:u0.test(e)?Ef[e]=!0:(vf[e]=!0,!1)}function c0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function f0(e,t,n,r){if(t===null||typeof t>"u"||c0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ht(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var bt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){bt[e]=new Ht(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];bt[t]=new Ht(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){bt[e]=new Ht(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){bt[e]=new Ht(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){bt[e]=new Ht(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){bt[e]=new Ht(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){bt[e]=new Ht(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){bt[e]=new Ht(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){bt[e]=new Ht(e,5,!1,e.toLowerCase(),null,!1,!1)});var Gs=/[\-:]([a-z])/g;function Vs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Gs,Vs);bt[t]=new Ht(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Gs,Vs);bt[t]=new Ht(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Gs,Vs);bt[t]=new Ht(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){bt[e]=new Ht(e,1,!1,e.toLowerCase(),null,!1,!1)});bt.xlinkHref=new Ht("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){bt[e]=new Ht(e,1,!1,e.toLowerCase(),null,!0,!0)});function Qs(e,t,n,r){var o=bt.hasOwnProperty(t)?bt[t]:null;(o!==null?o.type!==0:r||!(2s||o[l]!==i[s]){var a=` `+o[l].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{hu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?si(e):""}function d0(e){switch(e.tag){case 5:return si(e.type);case 16:return si("Lazy");case 13:return si("Suspense");case 19:return si("SuspenseList");case 0:case 2:case 15:return e=yu(e.type,!1),e;case 11:return e=yu(e.type.render,!1),e;case 1:return e=yu(e.type,!0),e;default:return""}}function Vu(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 ao:return"Fragment";case lo:return"Portal";case Hu:return"Profiler";case Ys:return"StrictMode";case Wu:return"Suspense";case Gu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kp:return(e.displayName||"Context")+".Consumer";case _p:return(e._context.displayName||"Context")+".Provider";case qs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Xs:return t=e.displayName||null,t!==null?t:Vu(e.type)||"Memo";case fr:t=e._payload,e=e._init;try{return Vu(e(t))}catch{}}return null}function p0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vu(t);case 8:return t===Ys?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function xp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function h0(e){var t=xp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pl(e){e._valueTracker||(e._valueTracker=h0(e))}function Lp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=xp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Wl(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 Qu(e,t){var n=t.checked;return nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function wf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xr(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Tp(e,t){t=t.checked,t!=null&&Qs(e,"checked",t,!1)}function Yu(e,t){Tp(e,t);var n=xr(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?qu(e,t.type,n):t.hasOwnProperty("defaultValue")&&qu(e,t.type,xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Of(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function qu(e,t,n){(t!=="number"||Wl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ci=Array.isArray;function wo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=hl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ci(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var pi={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},y0=["Webkit","ms","Moz","O"];Object.keys(pi).forEach(function(e){y0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pi[t]=pi[e]})});function Rp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||pi.hasOwnProperty(e)&&pi[e]?(""+t).trim():t+"px"}function Dp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Rp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var m0=nt({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 Zu(e,t){if(t){if(m0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ee(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(ee(62))}}function es(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ts=null;function Js(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ns=null,Oo=null,_o=null;function Cf(e){if(e=Yi(e)){if(typeof ns!="function")throw Error(ee(280));var t=e.stateNode;t&&(t=ka(t),ns(e.stateNode,e.type,t))}}function Np(e){Oo?_o?_o.push(e):_o=[e]:Oo=e}function Ip(){if(Oo){var e=Oo,t=_o;if(_o=Oo=null,Cf(e),t)for(e=0;e>>=0,e===0?32:31-(L0(e)/T0|0)|0}var yl=64,ml=4194304;function fi(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 Yl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~o;s!==0?r=fi(s):(i&=l,i!==0&&(r=fi(i)))}else l=n&~o,l!==0?r=fi(l):i!==0&&(r=fi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Vi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-An(t),e[t]=n}function R0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=yi),Nf=String.fromCharCode(32),If=!1;function th(e,t){switch(e){case"keyup":return lg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var uo=!1;function ug(e,t){switch(e){case"compositionend":return nh(t);case"keypress":return t.which!==32?null:(If=!0,Nf);case"textInput":return e=t.data,e===Nf&&If?null:e;default:return null}}function sg(e,t){if(uo)return e==="compositionend"||!lc&&th(e,t)?(e=Zp(),Rl=rc=yr=null,uo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Uf(n)}}function lh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?lh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ah(){for(var e=window,t=Wl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Wl(e.document)}return t}function ac(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function vg(e){var t=ah(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&lh(n.ownerDocument.documentElement,n)){if(r!==null&&ac(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Ff(n,i);var l=Ff(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,so=null,us=null,gi=null,ss=!1;function zf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ss||so==null||so!==Wl(r)||(r=so,"selectionStart"in r&&ac(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),gi&&Pi(gi,r)||(gi=r,r=Jl(us,"onSelect"),0po||(e.current=ys[po],ys[po]=null,po--)}function $e(e,t){po++,ys[po]=e.current,e.current=t}var Lr={},Bt=br(Lr),Xt=br(!1),Wr=Lr;function Po(e,t){var n=e.type.contextTypes;if(!n)return Lr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Jt(e){return e=e.childContextTypes,e!=null}function ea(){We(Xt),We(Bt)}function Qf(e,t,n){if(Bt.current!==Lr)throw Error(ee(168));$e(Bt,t),$e(Xt,n)}function mh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(ee(108,p0(e)||"Unknown",o));return nt({},n,r)}function ta(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Lr,Wr=Bt.current,$e(Bt,e),$e(Xt,Xt.current),!0}function Yf(e,t,n){var r=e.stateNode;if(!r)throw Error(ee(169));n?(e=mh(e,t,Wr),r.__reactInternalMemoizedMergedChildContext=e,We(Xt),We(Bt),$e(Bt,e)):We(Xt),$e(Xt,n)}var qn=null,Ca=!1,bu=!1;function gh(e){qn===null?qn=[e]:qn.push(e)}function Ag(e){Ca=!0,gh(e)}function Ar(){if(!bu&&qn!==null){bu=!0;var e=0,t=Me;try{var n=qn;for(Me=1;e>=l,o-=l,Xn=1<<32-An(t)+o|n<z?(H=R,R=null):H=R.sibling;var W=h(v,R,E[z],m);if(W===null){R===null&&(R=H);break}e&&R&&W.alternate===null&&t(v,R),y=i(W,y,z),A===null?j=W:A.sibling=W,A=W,R=H}if(z===E.length)return n(v,R),qe&&jr(v,z),j;if(R===null){for(;zz?(H=R,R=null):H=R.sibling;var ue=h(v,R,W.value,m);if(ue===null){R===null&&(R=H);break}e&&R&&ue.alternate===null&&t(v,R),y=i(ue,y,z),A===null?j=ue:A.sibling=ue,A=ue,R=H}if(W.done)return n(v,R),qe&&jr(v,z),j;if(R===null){for(;!W.done;z++,W=E.next())W=p(v,W.value,m),W!==null&&(y=i(W,y,z),A===null?j=W:A.sibling=W,A=W);return qe&&jr(v,z),j}for(R=r(v,R);!W.done;z++,W=E.next())W=x(R,v,z,W.value,m),W!==null&&(e&&W.alternate!==null&&R.delete(W.key===null?z:W.key),y=i(W,y,z),A===null?j=W:A.sibling=W,A=W);return e&&R.forEach(function(ie){return t(v,ie)}),qe&&jr(v,z),j}function L(v,y,E,m){if(typeof E=="object"&&E!==null&&E.type===ao&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case dl:e:{for(var j=E.key,A=y;A!==null;){if(A.key===j){if(j=E.type,j===ao){if(A.tag===7){n(v,A.sibling),y=o(A,E.props.children),y.return=v,v=y;break e}}else if(A.elementType===j||typeof j=="object"&&j!==null&&j.$$typeof===fr&&nd(j)===A.type){n(v,A.sibling),y=o(A,E.props),y.ref=ni(v,A,E),y.return=v,v=y;break e}n(v,A);break}else t(v,A);A=A.sibling}E.type===ao?(y=Kr(E.props.children,v.mode,m,E.key),y.return=v,v=y):(m=Fl(E.type,E.key,E.props,null,v.mode,m),m.ref=ni(v,y,E),m.return=v,v=m)}return l(v);case lo:e:{for(A=E.key;y!==null;){if(y.key===A)if(y.tag===4&&y.stateNode.containerInfo===E.containerInfo&&y.stateNode.implementation===E.implementation){n(v,y.sibling),y=o(y,E.children||[]),y.return=v,v=y;break e}else{n(v,y);break}else t(v,y);y=y.sibling}y=Bu(E,v.mode,m),y.return=v,v=y}return l(v);case fr:return A=E._init,L(v,y,A(E._payload),m)}if(ci(E))return S(v,y,E,m);if(Xo(E))return w(v,y,E,m);_l(v,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,y!==null&&y.tag===6?(n(v,y.sibling),y=o(y,E),y.return=v,v=y):(n(v,y),y=ju(E,v.mode,m),y.return=v,v=y),l(v)):n(v,y)}return L}var Do=Ch(!0),xh=Ch(!1),qi={},Kn=br(qi),Ii=br(qi),ji=br(qi);function Fr(e){if(e===qi)throw Error(ee(174));return e}function mc(e,t){switch($e(ji,t),$e(Ii,e),$e(Kn,qi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ju(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ju(t,e)}We(Kn),$e(Kn,t)}function No(){We(Kn),We(Ii),We(ji)}function Lh(e){Fr(ji.current);var t=Fr(Kn.current),n=Ju(t,e.type);t!==n&&($e(Ii,e),$e(Kn,n))}function gc(e){Ii.current===e&&(We(Kn),We(Ii))}var Ze=br(0);function aa(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Au=[];function vc(){for(var e=0;en?n:4,e(!0);var r=Pu.transition;Pu.transition={};try{e(!1),t()}finally{Me=n,Pu.transition=r}}function Kh(){return Sn().memoizedState}function Ng(e,t,n){var r=_r(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Hh(e))Wh(t,n);else if(n=wh(e,t,n,r),n!==null){var o=$t();Pn(n,e,r,o),Gh(n,t,r)}}function Ig(e,t,n){var r=_r(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Hh(e))Wh(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,s=i(l,n);if(o.hasEagerState=!0,o.eagerState=s,Rn(s,l)){var a=t.interleaved;a===null?(o.next=o,hc(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=wh(e,t,o,r),n!==null&&(o=$t(),Pn(n,e,r,o),Gh(n,t,r))}}function Hh(e){var t=e.alternate;return e===et||t!==null&&t===et}function Wh(e,t){vi=ua=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Gh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,ec(e,n)}}var sa={readContext:En,useCallback:Dt,useContext:Dt,useEffect:Dt,useImperativeHandle:Dt,useInsertionEffect:Dt,useLayoutEffect:Dt,useMemo:Dt,useReducer:Dt,useRef:Dt,useState:Dt,useDebugValue:Dt,useDeferredValue:Dt,useTransition:Dt,useMutableSource:Dt,useSyncExternalStore:Dt,useId:Dt,unstable_isNewReconciler:!1},jg={readContext:En,useCallback:function(e,t){return Bn().memoizedState=[e,t===void 0?null:t],e},useContext:En,useEffect:od,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,jl(4194308,4,Mh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return jl(4194308,4,e,t)},useInsertionEffect:function(e,t){return jl(4,2,e,t)},useMemo:function(e,t){var n=Bn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bn();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Ng.bind(null,et,e),[r.memoizedState,e]},useRef:function(e){var t=Bn();return e={current:e},t.memoizedState=e},useState:rd,useDebugValue:_c,useDeferredValue:function(e){return Bn().memoizedState=e},useTransition:function(){var e=rd(!1),t=e[0];return e=Dg.bind(null,e[1]),Bn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=et,o=Bn();if(qe){if(n===void 0)throw Error(ee(407));n=n()}else{if(n=t(),wt===null)throw Error(ee(349));Vr&30||Ah(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,od(Rh.bind(null,r,i,e),[e]),r.flags|=2048,Ui(9,Ph.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Bn(),t=wt.identifierPrefix;if(qe){var n=Jn,r=Xn;n=(r&~(1<<32-An(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Bi++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[Fn]=t,e[Ni]=r,ty(e,t,!1,!1),t.stateNode=e;e:{switch(l=es(n,r),n){case"dialog":He("cancel",e),He("close",e),o=r;break;case"iframe":case"object":case"embed":He("load",e),o=r;break;case"video":case"audio":for(o=0;ojo&&(t.flags|=128,r=!0,ri(i,!1),t.lanes=4194304)}else{if(!r)if(e=aa(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ri(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!qe)return Nt(t),null}else 2*st()-i.renderingStartTime>jo&&n!==1073741824&&(t.flags|=128,r=!0,ri(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=st(),t.sibling=null,n=Ze.current,$e(Ze,r?n&1|2:n&1),t):(Nt(t),null);case 22:case 23:return bc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?on&1073741824&&(Nt(t),t.subtreeFlags&6&&(t.flags|=8192)):Nt(t),null;case 24:return null;case 25:return null}throw Error(ee(156,t.tag))}function Hg(e,t){switch(sc(t),t.tag){case 1:return Jt(t.type)&&ea(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return No(),We(Xt),We(Bt),vc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return gc(t),null;case 13:if(We(Ze),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));Ro()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return We(Ze),null;case 4:return No(),null;case 10:return pc(t.type._context),null;case 22:case 23:return bc(),null;case 24:return null;default:return null}}var Cl=!1,jt=!1,Wg=typeof WeakSet=="function"?WeakSet:Set,ce=null;function go(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){lt(e,t,r)}else n.current=null}function Ls(e,t,n){try{n()}catch(r){lt(e,t,r)}}var pd=!1;function Gg(e,t){if(cs=ql,e=ah(),ac(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,f=0,g=0,p=e,h=null;t:for(;;){for(var x;p!==n||o!==0&&p.nodeType!==3||(s=l+o),p!==i||r!==0&&p.nodeType!==3||(a=l+r),p.nodeType===3&&(l+=p.nodeValue.length),(x=p.firstChild)!==null;)h=p,p=x;for(;;){if(p===e)break t;if(h===n&&++f===o&&(s=l),h===i&&++g===r&&(a=l),(x=p.nextSibling)!==null)break;p=h,h=p.parentNode}p=x}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(fs={focusedElem:e,selectionRange:n},ql=!1,ce=t;ce!==null;)if(t=ce,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ce=e;else for(;ce!==null;){t=ce;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var w=S.memoizedProps,L=S.memoizedState,v=t.stateNode,y=v.getSnapshotBeforeUpdate(t.elementType===t.type?w:xn(t.type,w),L);v.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ee(163))}}catch(m){lt(t,t.return,m)}if(e=t.sibling,e!==null){e.return=t.return,ce=e;break}ce=t.return}return S=pd,pd=!1,S}function Ei(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Ls(t,n,i)}o=o.next}while(o!==r)}}function Ta(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Ts(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function oy(e){var t=e.alternate;t!==null&&(e.alternate=null,oy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Fn],delete t[Ni],delete t[hs],delete t[Tg],delete t[bg])),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 iy(e){return e.tag===5||e.tag===3||e.tag===4}function hd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||iy(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 bs(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Zl));else if(r!==4&&(e=e.child,e!==null))for(bs(e,t,n),e=e.sibling;e!==null;)bs(e,t,n),e=e.sibling}function As(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(As(e,t,n),e=e.sibling;e!==null;)As(e,t,n),e=e.sibling}var Ct=null,Tn=!1;function cr(e,t,n){for(n=n.child;n!==null;)ly(e,t,n),n=n.sibling}function ly(e,t,n){if($n&&typeof $n.onCommitFiberUnmount=="function")try{$n.onCommitFiberUnmount(Sa,n)}catch{}switch(n.tag){case 5:jt||go(n,t);case 6:var r=Ct,o=Tn;Ct=null,cr(e,t,n),Ct=r,Tn=o,Ct!==null&&(Tn?(e=Ct,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ct.removeChild(n.stateNode));break;case 18:Ct!==null&&(Tn?(e=Ct,n=n.stateNode,e.nodeType===8?Tu(e.parentNode,n):e.nodeType===1&&Tu(e,n),bi(e)):Tu(Ct,n.stateNode));break;case 4:r=Ct,o=Tn,Ct=n.stateNode.containerInfo,Tn=!0,cr(e,t,n),Ct=r,Tn=o;break;case 0:case 11:case 14:case 15:if(!jt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&Ls(n,t,l),o=o.next}while(o!==r)}cr(e,t,n);break;case 1:if(!jt&&(go(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){lt(n,t,s)}cr(e,t,n);break;case 21:cr(e,t,n);break;case 22:n.mode&1?(jt=(r=jt)||n.memoizedState!==null,cr(e,t,n),jt=r):cr(e,t,n);break;default:cr(e,t,n)}}function yd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Wg),t.forEach(function(r){var o=tv.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Cn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=st()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Qg(r/1960))-r,10e?16:e,mr===null)var r=!1;else{if(e=mr,mr=null,da=0,be&6)throw Error(ee(331));var o=be;for(be|=4,ce=e.current;ce!==null;){var i=ce,l=i.child;if(ce.flags&16){var s=i.deletions;if(s!==null){for(var a=0;ast()-Lc?$r(e,0):xc|=n),Zt(e,t)}function hy(e,t){t===0&&(e.mode&1?(t=ml,ml<<=1,!(ml&130023424)&&(ml=4194304)):t=1);var n=$t();e=rr(e,t),e!==null&&(Vi(e,t,n),Zt(e,n))}function ev(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hy(e,n)}function tv(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(ee(314))}r!==null&&r.delete(t),hy(e,n)}var yy;yy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xt.current)qt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return qt=!1,$g(e,t,n);qt=!!(e.flags&131072)}else qt=!1,qe&&t.flags&1048576&&vh(t,ra,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Bl(e,t),e=t.pendingProps;var o=Po(t,Bt.current);Co(t,n),o=Sc(null,t,r,e,o,n);var i=wc();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Jt(r)?(i=!0,ta(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,yc(t),o.updater=xa,t.stateNode=o,o._reactInternals=t,Ss(t,r,e,n),t=_s(null,t,r,!0,i,n)):(t.tag=0,qe&&i&&uc(t),zt(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Bl(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=rv(r),e=xn(r,e),o){case 0:t=Os(null,t,r,e,n);break e;case 1:t=cd(null,t,r,e,n);break e;case 11:t=ud(null,t,r,e,n);break e;case 14:t=sd(null,t,r,xn(r.type,e),n);break e}throw Error(ee(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xn(r,o),Os(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xn(r,o),cd(e,t,r,o,n);case 3:e:{if(Jh(t),e===null)throw Error(ee(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Oh(e,t),la(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Io(Error(ee(423)),t),t=fd(e,t,r,n,o);break e}else if(r!==o){o=Io(Error(ee(424)),t),t=fd(e,t,r,n,o);break e}else for(an=Sr(t.stateNode.containerInfo.firstChild),un=t,qe=!0,bn=null,n=xh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ro(),r===o){t=or(e,t,n);break e}zt(e,t,r,n)}t=t.child}return t;case 5:return Lh(t),e===null&&gs(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,ds(r,o)?l=null:i!==null&&ds(r,i)&&(t.flags|=32),Xh(e,t),zt(e,t,l,n),t.child;case 6:return e===null&&gs(t),null;case 13:return Zh(e,t,n);case 4:return mc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Do(t,null,r,n):zt(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xn(r,o),ud(e,t,r,o,n);case 7:return zt(e,t,t.pendingProps,n),t.child;case 8:return zt(e,t,t.pendingProps.children,n),t.child;case 12:return zt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,$e(oa,r._currentValue),r._currentValue=l,i!==null)if(Rn(i.value,l)){if(i.children===o.children&&!Xt.current){t=or(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){l=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Zn(-1,n&-n),a.tag=2;var f=i.updateQueue;if(f!==null){f=f.shared;var g=f.pending;g===null?a.next=a:(a.next=g.next,g.next=a),f.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),vs(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(ee(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),vs(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}zt(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Co(t,n),o=En(o),r=r(o),t.flags|=1,zt(e,t,r,n),t.child;case 14:return r=t.type,o=xn(r,t.pendingProps),o=xn(r.type,o),sd(e,t,r,o,n);case 15:return Yh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:xn(r,o),Bl(e,t),t.tag=1,Jt(r)?(e=!0,ta(t)):e=!1,Co(t,n),kh(t,r,o),Ss(t,r,o,n),_s(null,t,r,!0,e,n);case 19:return ey(e,t,n);case 22:return qh(e,t,n)}throw Error(ee(156,t.tag))};function my(e,t){return $p(e,t)}function nv(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function gn(e,t,n,r){return new nv(e,t,n,r)}function Pc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function rv(e){if(typeof e=="function")return Pc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qs)return 11;if(e===Xs)return 14}return 2}function kr(e,t){var n=e.alternate;return n===null?(n=gn(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Fl(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Pc(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case ao:return Kr(n.children,o,i,t);case Ys:l=8,o|=8;break;case Hu:return e=gn(12,n,t,o|2),e.elementType=Hu,e.lanes=i,e;case Wu:return e=gn(13,n,t,o),e.elementType=Wu,e.lanes=i,e;case Gu:return e=gn(19,n,t,o),e.elementType=Gu,e.lanes=i,e;case Cp:return Aa(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _p:l=10;break e;case kp:l=9;break e;case qs:l=11;break e;case Xs:l=14;break e;case fr:l=16,r=null;break e}throw Error(ee(130,e==null?e:typeof e,""))}return t=gn(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Kr(e,t,n,r){return e=gn(7,e,r,t),e.lanes=n,e}function Aa(e,t,n,r){return e=gn(22,e,r,t),e.elementType=Cp,e.lanes=n,e.stateNode={isHidden:!1},e}function ju(e,t,n){return e=gn(6,e,null,t),e.lanes=n,e}function Bu(e,t,n){return t=gn(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function ov(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gu(0),this.expirationTimes=gu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Rc(e,t,n,r,o,i,l,s,a){return e=new ov(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=gn(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},yc(i),e}function iv(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Sy)}catch(e){console.error(e)}}Sy(),vp.exports=fn;var cv=vp.exports,_d=cv;$u.createRoot=_d.createRoot,$u.hydrateRoot=_d.hydrateRoot;const fv="_poster_qdteo_1",dv="_content_qdteo_6",kd={poster:fv,content:dv};var wy={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});function t(U){return U&&typeof U=="object"&&"default"in U?U.default:U}var n=he,r=t(n);/*! ***************************************************************************** Copyright (c) Microsoft Corporation. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ***************************************************************************** */var o=function(){return o=Object.assign||function(T){for(var V,re=1,$=arguments.length;re<$;re++){V=arguments[re];for(var M in V)Object.prototype.hasOwnProperty.call(V,M)&&(T[M]=V[M])}return T},o.apply(this,arguments)},i=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof xt<"u"?xt:typeof self<"u"?self:{};function l(U){return U&&U.__esModule&&Object.prototype.hasOwnProperty.call(U,"default")?U.default:U}function s(U,T){return T={exports:{}},U(T,T.exports),T.exports}var a=s(function(U,T){Object.defineProperty(T,"__esModule",{value:!0}),T.BLOCKS=void 0,function(V){V.DOCUMENT="document",V.PARAGRAPH="paragraph",V.HEADING_1="heading-1",V.HEADING_2="heading-2",V.HEADING_3="heading-3",V.HEADING_4="heading-4",V.HEADING_5="heading-5",V.HEADING_6="heading-6",V.OL_LIST="ordered-list",V.UL_LIST="unordered-list",V.LIST_ITEM="list-item",V.HR="hr",V.QUOTE="blockquote",V.EMBEDDED_ENTRY="embedded-entry-block",V.EMBEDDED_ASSET="embedded-asset-block",V.EMBEDDED_RESOURCE="embedded-resource-block",V.TABLE="table",V.TABLE_ROW="table-row",V.TABLE_CELL="table-cell",V.TABLE_HEADER_CELL="table-header-cell"}(T.BLOCKS||(T.BLOCKS={}))});l(a),a.BLOCKS;var f=s(function(U,T){Object.defineProperty(T,"__esModule",{value:!0}),T.INLINES=void 0,function(V){V.HYPERLINK="hyperlink",V.ENTRY_HYPERLINK="entry-hyperlink",V.ASSET_HYPERLINK="asset-hyperlink",V.EMBEDDED_ENTRY="embedded-entry-inline"}(T.INLINES||(T.INLINES={}))});l(f),f.INLINES;var g=s(function(U,T){Object.defineProperty(T,"__esModule",{value:!0});var V;(function(re){re.BOLD="bold",re.ITALIC="italic",re.UNDERLINE="underline",re.CODE="code",re.SUPERSCRIPT="superscript",re.SUBSCRIPT="subscript"})(V||(V={})),T.default=V});l(g);var p=s(function(U,T){var V=i&&i.__spreadArray||function(P,Q,q){if(q||arguments.length===2)for(var le=0,Z=Q.length,N;lePe.jsx(Pe.Fragment,{children:Pe.jsxs("div",{children:[Pe.jsx("h1",{children:e}),Pe.jsx("div",{className:kd.content,children:wy.documentToReactComponents(t,{renderText:n=>n.split(` `).reduce((r,o,i)=>[...r,i>0&&Pe.jsx("br",{},i),o],new Array),renderNode:{[Oy.BLOCKS.EMBEDDED_ASSET]:n=>Pe.jsx("img",{src:`https://${n.data.target.fields.file.url}`,alt:n.data.target.fields.description,className:kd.poster})}})})]})});var Ly={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(self,function(){return function(){var n={737:function(l,s,a){var f=a(750),g=a(573),p=g(f("String.prototype.indexOf"));l.exports=function(h,x){var S=f(h,!!x);return typeof S=="function"&&p(h,".prototype.")>-1?g(S):S}},573:function(l,s,a){var f=a(132),g=a(750),p=a(504),h=g("%TypeError%"),x=g("%Function.prototype.apply%"),S=g("%Function.prototype.call%"),w=g("%Reflect.apply%",!0)||f.call(S,x),L=g("%Object.defineProperty%",!0),v=g("%Math.max%");if(L)try{L({},"a",{value:1})}catch{L=null}l.exports=function(E){if(typeof E!="function")throw new h("a function is required");var m=w(f,S,arguments);return p(m,1+v(0,E.length-(arguments.length-1)),!0)};var y=function(){return w(f,x,arguments)};L?L(l.exports,"apply",{value:y}):l.exports.apply=y},137:function(l){var s=String.prototype.replace,a=/%20/g,f="RFC3986";l.exports={default:f,formatters:{RFC1738:function(g){return s.call(g,a,"+")},RFC3986:function(g){return String(g)}},RFC1738:"RFC1738",RFC3986:f}},122:function(l,s,a){var f=a(892),g=a(15),p=a(137);l.exports={formats:p,parse:g,stringify:f}},15:function(l,s,a){var f=a(634),g=Object.prototype.hasOwnProperty,p=Array.isArray,h={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:f.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},x=function(L){return L.replace(/&#(\d+);/g,function(v,y){return String.fromCharCode(parseInt(y,10))})},S=function(L,v){return L&&typeof L=="string"&&v.comma&&L.indexOf(",")>-1?L.split(","):L},w=function(L,v,y,E){if(L){var m=y.allowDots?L.replace(/\.([^.[]+)/g,"[$1]"):L,j=/(\[[^[\]]*])/g,A=y.depth>0&&/(\[[^[\]]*])/.exec(m),R=A?m.slice(0,A.index):m,z=[];if(R){if(!y.plainObjects&&g.call(Object.prototype,R)&&!y.allowPrototypes)return;z.push(R)}for(var H=0;y.depth>0&&(A=j.exec(m))!==null&&H=0;--T){var V,re=W[T];if(re==="[]"&&ie.parseArrays)V=[].concat(U);else{V=ie.plainObjects?Object.create(null):{};var $=re.charAt(0)==="["&&re.charAt(re.length-1)==="]"?re.slice(1,-1):re,M=parseInt($,10);ie.parseArrays||$!==""?!isNaN(M)&&re!==$&&String(M)===$&&M>=0&&ie.parseArrays&&M<=ie.arrayLimit?(V=[])[M]=U:$!=="__proto__"&&(V[$]=U):V={0:U}}U=V}return U}(z,v,y,E)}};l.exports=function(L,v){var y=function(H){if(!H)return h;if(H.decoder!==null&&H.decoder!==void 0&&typeof H.decoder!="function")throw new TypeError("Decoder has to be a function.");if(H.charset!==void 0&&H.charset!=="utf-8"&&H.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var W=H.charset===void 0?h.charset:H.charset;return{allowDots:H.allowDots===void 0?h.allowDots:!!H.allowDots,allowPrototypes:typeof H.allowPrototypes=="boolean"?H.allowPrototypes:h.allowPrototypes,allowSparse:typeof H.allowSparse=="boolean"?H.allowSparse:h.allowSparse,arrayLimit:typeof H.arrayLimit=="number"?H.arrayLimit:h.arrayLimit,charset:W,charsetSentinel:typeof H.charsetSentinel=="boolean"?H.charsetSentinel:h.charsetSentinel,comma:typeof H.comma=="boolean"?H.comma:h.comma,decoder:typeof H.decoder=="function"?H.decoder:h.decoder,delimiter:typeof H.delimiter=="string"||f.isRegExp(H.delimiter)?H.delimiter:h.delimiter,depth:typeof H.depth=="number"||H.depth===!1?+H.depth:h.depth,ignoreQueryPrefix:H.ignoreQueryPrefix===!0,interpretNumericEntities:typeof H.interpretNumericEntities=="boolean"?H.interpretNumericEntities:h.interpretNumericEntities,parameterLimit:typeof H.parameterLimit=="number"?H.parameterLimit:h.parameterLimit,parseArrays:H.parseArrays!==!1,plainObjects:typeof H.plainObjects=="boolean"?H.plainObjects:h.plainObjects,strictNullHandling:typeof H.strictNullHandling=="boolean"?H.strictNullHandling:h.strictNullHandling}}(v);if(L===""||L==null)return y.plainObjects?Object.create(null):{};for(var E=typeof L=="string"?function(H,W){var ue,ie={__proto__:null},se=W.ignoreQueryPrefix?H.replace(/^\?/,""):H,U=W.parameterLimit===1/0?void 0:W.parameterLimit,T=se.split(W.delimiter,U),V=-1,re=W.charset;if(W.charsetSentinel)for(ue=0;ue-1&&(M=p(M)?[M]:M),g.call(ie,$)?ie[$]=f.combine(ie[$],M):ie[$]=M}return ie}(L,y):L,m=y.plainObjects?Object.create(null):{},j=Object.keys(E),A=0;A0?Z.join(",")||null:void 0}];else if(S(U))Se=U;else{var at=Object.keys(Z);Se=T?at.sort(T):at}for(var At=W&&S(Z)&&Z.length===1?z+"[]":z,Wt=0;Wt0?M+$:""}},634:function(l,s,a){var f=a(137),g=Object.prototype.hasOwnProperty,p=Array.isArray,h=function(){for(var S=[],w=0;w<256;++w)S.push("%"+((w<16?"0":"")+w.toString(16)).toUpperCase());return S}(),x=function(S,w){for(var L=w&&w.plainObjects?Object.create(null):{},v=0;v1;){var H=z.pop(),W=H.obj[H.prop];if(p(W)){for(var ue=[],ie=0;ie=48&&A<=57||A>=65&&A<=90||A>=97&&A<=122||y===f.RFC1738&&(A===40||A===41)?m+=E.charAt(j):A<128?m+=h[A]:A<2048?m+=h[192|A>>6]+h[128|63&A]:A<55296||A>=57344?m+=h[224|A>>12]+h[128|A>>6&63]+h[128|63&A]:(j+=1,A=65536+((1023&A)<<10|1023&E.charCodeAt(j)),m+=h[240|A>>18]+h[128|A>>12&63]+h[128|A>>6&63]+h[128|63&A])}return m},isBuffer:function(S){return!(!S||typeof S!="object"||!(S.constructor&&S.constructor.isBuffer&&S.constructor.isBuffer(S)))},isRegExp:function(S){return Object.prototype.toString.call(S)==="[object RegExp]"},maybeMap:function(S,w){if(p(S)){for(var L=[],v=0;v3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new x("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new x("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new x("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new x("`loose`, if provided, must be a boolean");var y=arguments.length>3?arguments[3]:null,E=arguments.length>4?arguments[4]:null,m=arguments.length>5?arguments[5]:null,j=arguments.length>6&&arguments[6],A=!!S&&S(w,L);if(p)p(w,L,{configurable:m===null&&A?A.configurable:!m,enumerable:y===null&&A?A.enumerable:!y,value:v,writable:E===null&&A?A.writable:!E});else{if(!j&&(y||E||m))throw new h("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");w[L]=v}}},581:function(l,s,a){l.exports=function(){var f=Function.prototype.toString,g=Object.create,p=Object.defineProperty,h=Object.getOwnPropertyDescriptor,x=Object.getOwnPropertyNames,S=Object.getOwnPropertySymbols,w=Object.getPrototypeOf,L=Object.prototype,v=L.hasOwnProperty,y=L.propertyIsEnumerable,E=typeof S=="function",m=typeof WeakMap=="function",j=function(){if(m)return function(){return new WeakMap};var se=function(){function U(){this._keys=[],this._values=[]}return U.prototype.has=function(T){return!!~this._keys.indexOf(T)},U.prototype.get=function(T){return this._values[this._keys.indexOf(T)]},U.prototype.set=function(T,V){this._keys.push(T),this._values.push(V)},U}();return function(){return new se}}(),A=function(se,U){var T=se.__proto__||w(se);if(!T)return g(null);var V=T.constructor;if(V===U.Object)return T===U.Object.prototype?{}:g(T);if(~f.call(V).indexOf("[native code]"))try{return new V}catch{}return g(T)},R=function(se,U,T,V){var re=A(se,U);for(var $ in V.set(se,re),se)v.call(se,$)&&(re[$]=T(se[$],V));if(E)for(var M=S(se),P=0,Q=M.length,q=void 0;P"u"?f:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?f:ArrayBuffer,"%ArrayIteratorPrototype%":v&&E?E([][Symbol.iterator]()):f,"%AsyncFromSyncIteratorPrototype%":f,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?f:Atomics,"%BigInt%":typeof BigInt>"u"?f:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?f:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?f:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?f:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?f:Float32Array,"%Float64Array%":typeof Float64Array>"u"?f:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?f:FinalizationRegistry,"%Function%":p,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?f:Int8Array,"%Int16Array%":typeof Int16Array>"u"?f:Int16Array,"%Int32Array%":typeof Int32Array>"u"?f:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":v&&E?E(E([][Symbol.iterator]())):f,"%JSON%":typeof JSON=="object"?JSON:f,"%Map%":typeof Map>"u"?f:Map,"%MapIteratorPrototype%":typeof Map<"u"&&v&&E?E(new Map()[Symbol.iterator]()):f,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?f:Promise,"%Proxy%":typeof Proxy>"u"?f:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?f:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?f:Set,"%SetIteratorPrototype%":typeof Set<"u"&&v&&E?E(new Set()[Symbol.iterator]()):f,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?f:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":v&&E?E(""[Symbol.iterator]()):f,"%Symbol%":v?Symbol:f,"%SyntaxError%":g,"%ThrowTypeError%":L,"%TypedArray%":j,"%TypeError%":h,"%Uint8Array%":typeof Uint8Array>"u"?f:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?f:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?f:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?f:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?f:WeakMap,"%WeakRef%":typeof WeakRef>"u"?f:WeakRef,"%WeakSet%":typeof WeakSet>"u"?f:WeakSet};if(E)try{null.error}catch(P){var R=E(E(P));A["%Error.prototype%"]=R}var z=function P(Q){var q;if(Q==="%AsyncFunction%")q=x("async function () {}");else if(Q==="%GeneratorFunction%")q=x("function* () {}");else if(Q==="%AsyncGeneratorFunction%")q=x("async function* () {}");else if(Q==="%AsyncGenerator%"){var le=P("%AsyncGeneratorFunction%");le&&(q=le.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var Z=P("%AsyncGenerator%");Z&&E&&(q=E(Z.prototype))}return A[Q]=q,q},H={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},W=a(132),ue=a(712),ie=W.call(Function.call,Array.prototype.concat),se=W.call(Function.apply,Array.prototype.splice),U=W.call(Function.call,String.prototype.replace),T=W.call(Function.call,String.prototype.slice),V=W.call(Function.call,RegExp.prototype.exec),re=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,$=/\\(\\)?/g,M=function(P,Q){var q,le=P;if(ue(H,le)&&(le="%"+(q=H[le])[0]+"%"),ue(A,le)){var Z=A[le];if(Z===m&&(Z=z(le)),Z===void 0&&!Q)throw new h("intrinsic "+P+" exists, but is not available. Please file an issue!");return{alias:q,name:le,value:Z}}throw new g("intrinsic "+P+" does not exist!")};l.exports=function(P,Q){if(typeof P!="string"||P.length===0)throw new h("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new h('"allowMissing" argument must be a boolean');if(V(/^%?[^%]*%?$/,P)===null)throw new g("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var q=function(Ge){var tn=T(Ge,0,1),Mt=T(Ge,-1);if(tn==="%"&&Mt!=="%")throw new g("invalid intrinsic syntax, expected closing `%`");if(Mt==="%"&&tn!=="%")throw new g("invalid intrinsic syntax, expected opening `%`");var Pt=[];return U(Ge,re,function(nn,Ut,Dn,wn){Pt[Pt.length]=Dn?U(wn,$,"$1"):Ut||nn}),Pt}(P),le=q.length>0?q[0]:"",Z=M("%"+le+"%",Q),N=Z.name,Ee=Z.value,ct=!1,Ke=Z.alias;Ke&&(le=Ke[0],se(q,ie([0,1],Ke)));for(var Se=1,vt=!0;Se=q.length){var Fe=S(Ee,at);Ee=(vt=!!Fe)&&"get"in Fe&&!("originalValue"in Fe.get)?Fe.get:Ee[at]}else vt=ue(Ee,at),Ee=Ee[at];vt&&!ct&&(A[N]=Ee)}}return Ee}},502:function(l,s,a){var f=a(750)("%Object.getOwnPropertyDescriptor%",!0);if(f)try{f([],"length")}catch{f=null}l.exports=f},365:function(l,s,a){var f=a(750)("%Object.defineProperty%",!0),g=function(){if(f)try{return f({},"a",{value:1}),!0}catch{return!1}return!1};g.hasArrayLengthDefineBug=function(){if(!g())return null;try{return f([],"length",{value:1}).length!==1}catch{return!0}},l.exports=g},574:function(l){var s={foo:{}},a=Object;l.exports=function(){return{__proto__:s}.foo===s.foo&&!({__proto__:null}instanceof a)}},679:function(l,s,a){var f=typeof Symbol<"u"&&Symbol,g=a(186);l.exports=function(){return typeof f=="function"&&typeof Symbol=="function"&&typeof f("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&g()}},186:function(l){l.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var s={},a=Symbol("test"),f=Object(a);if(typeof a=="string"||Object.prototype.toString.call(a)!=="[object Symbol]"||Object.prototype.toString.call(f)!=="[object Symbol]")return!1;for(a in s[a]=42,s)return!1;if(typeof Object.keys=="function"&&Object.keys(s).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(s).length!==0)return!1;var g=Object.getOwnPropertySymbols(s);if(g.length!==1||g[0]!==a||!Object.prototype.propertyIsEnumerable.call(s,a))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var p=Object.getOwnPropertyDescriptor(s,a);if(p.value!==42||p.enumerable!==!0)return!1}return!0}},712:function(l,s,a){var f=Function.prototype.call,g=Object.prototype.hasOwnProperty,p=a(132);l.exports=p.call(f,g)},784:function(l,s){function a(f,g){var p=[],h=[];return g==null&&(g=function(x,S){return p[0]===S?"[Circular ~]":"[Circular ~."+h.slice(0,p.indexOf(S)).join(".")+"]"}),function(x,S){if(p.length>0){var w=p.indexOf(this);~w?p.splice(w+1):p.push(this),~w?h.splice(w,1/0,x):h.push(x),~p.indexOf(S)&&(S=g.call(this,x,S))}else p.push(S);return f==null?S:f.call(this,x,S)}}(l.exports=function(f,g,p,h){return JSON.stringify(f,a(g,h),p)}).getSerialize=a},261:function(l){var s,a,f=Function.prototype,g=Object.prototype,p=f.toString,h=g.hasOwnProperty,x=p.call(Object),S=g.toString,w=(s=Object.getPrototypeOf,a=Object,function(L){return s(a(L))});l.exports=function(L){if(!function(E){return!!E&&typeof E=="object"}(L)||S.call(L)!="[object Object]"||function(E){var m=!1;if(E!=null&&typeof E.toString!="function")try{m=!!(E+"")}catch{}return m}(L))return!1;var v=w(L);if(v===null)return!0;var y=h.call(v,"constructor")&&v.constructor;return typeof y=="function"&&y instanceof y&&p.call(y)==x}},451:function(l){var s=Object.prototype.toString,a=Array.isArray;l.exports=function(f){return typeof f=="string"||!a(f)&&function(g){return!!g&&typeof g=="object"}(f)&&s.call(f)=="[object String]"}},524:function(l,s,a){var f=typeof Map=="function"&&Map.prototype,g=Object.getOwnPropertyDescriptor&&f?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,p=f&&g&&typeof g.get=="function"?g.get:null,h=f&&Map.prototype.forEach,x=typeof Set=="function"&&Set.prototype,S=Object.getOwnPropertyDescriptor&&x?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,w=x&&S&&typeof S.get=="function"?S.get:null,L=x&&Set.prototype.forEach,v=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap.prototype.has:null,y=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet.prototype.has:null,E=typeof WeakRef=="function"&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,j=Object.prototype.toString,A=Function.prototype.toString,R=String.prototype.match,z=String.prototype.slice,H=String.prototype.replace,W=String.prototype.toUpperCase,ue=String.prototype.toLowerCase,ie=RegExp.prototype.test,se=Array.prototype.concat,U=Array.prototype.join,T=Array.prototype.slice,V=Math.floor,re=typeof BigInt=="function"?BigInt.prototype.valueOf:null,$=Object.getOwnPropertySymbols,M=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,P=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Q=typeof Symbol=="function"&&Symbol.toStringTag?Symbol.toStringTag:null,q=Object.prototype.propertyIsEnumerable,le=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(te){return te.__proto__}:null);function Z(te,G){if(te===1/0||te===-1/0||te!=te||te&&te>-1e3&&te<1e3||ie.call(/e/,G))return G;var xe=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof te=="number"){var Ae=te<0?-V(-te):V(te);if(Ae!==te){var Re=String(Ae),_e=z.call(G,Re.length+1);return H.call(Re,xe,"$&_")+"."+H.call(H.call(_e,/([0-9]{3})/g,"$&_"),/_$/,"")}}return H.call(G,xe,"$&_")}var N=a(553),Ee=N.custom,ct=At(Ee)?Ee:null;function Ke(te,G,xe){var Ae=(xe.quoteStyle||G)==="double"?'"':"'";return Ae+te+Ae}function Se(te){return H.call(String(te),/"/g,""")}function vt(te){return!(Ge(te)!=="[object Array]"||Q&&typeof te=="object"&&Q in te)}function at(te){return!(Ge(te)!=="[object RegExp]"||Q&&typeof te=="object"&&Q in te)}function At(te){if(P)return te&&typeof te=="object"&&te instanceof Symbol;if(typeof te=="symbol")return!0;if(!te||typeof te!="object"||!M)return!1;try{return M.call(te),!0}catch{}return!1}l.exports=function te(G,xe,Ae,Re){var _e=xe||{};if(Fe(_e,"quoteStyle")&&_e.quoteStyle!=="single"&&_e.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Fe(_e,"maxStringLength")&&(typeof _e.maxStringLength=="number"?_e.maxStringLength<0&&_e.maxStringLength!==1/0:_e.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var Et=!Fe(_e,"customInspect")||_e.customInspect;if(typeof Et!="boolean"&&Et!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Fe(_e,"indent")&&_e.indent!==null&&_e.indent!==" "&&!(parseInt(_e.indent,10)===_e.indent&&_e.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Fe(_e,"numericSeparator")&&typeof _e.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Gt=_e.numericSeparator;if(G===void 0)return"undefined";if(G===null)return"null";if(typeof G=="boolean")return G?"true":"false";if(typeof G=="string")return Mt(G,_e);if(typeof G=="number"){if(G===0)return 1/0/G>0?"0":"-0";var _t=String(G);return Gt?Z(G,_t):_t}if(typeof G=="bigint"){var F=String(G)+"n";return Gt?Z(G,F):F}var K=_e.depth===void 0?5:_e.depth;if(Ae===void 0&&(Ae=0),Ae>=K&&K>0&&typeof G=="object")return vt(G)?"[Array]":"[Object]";var Y,ne=function(oe,Le){var Vt;if(oe.indent===" ")Vt=" ";else{if(!(typeof oe.indent=="number"&&oe.indent>0))return null;Vt=U.call(Array(oe.indent+1)," ")}return{base:Vt,prev:U.call(Array(Le+1),Vt)}}(_e,Ae);if(Re===void 0)Re=[];else if(tn(Re,G)>=0)return"[Circular]";function fe(oe,Le,Vt){if(Le&&(Re=T.call(Re)).push(Le),Vt){var Nn={depth:_e.depth};return Fe(_e,"quoteStyle")&&(Nn.quoteStyle=_e.quoteStyle),te(oe,Nn,Ae+1,Re)}return te(oe,_e,Ae+1,Re)}if(typeof G=="function"&&!at(G)){var me=function(oe){if(oe.name)return oe.name;var Le=R.call(A.call(oe),/^function\s*([\w$]+)/);return Le?Le[1]:null}(G),ge=Wn(G,fe);return"[Function"+(me?": "+me:" (anonymous)")+"]"+(ge.length>0?" { "+U.call(ge,", ")+" }":"")}if(At(G)){var ve=P?H.call(String(G),/^(Symbol\(.*\))_[^)]*$/,"$1"):M.call(G);return typeof G!="object"||P?ve:nn(ve)}if((Y=G)&&typeof Y=="object"&&(typeof HTMLElement<"u"&&Y instanceof HTMLElement||typeof Y.nodeName=="string"&&typeof Y.getAttribute=="function")){for(var de="<"+ue.call(String(G.nodeName)),Oe=G.attributes||[],Ce=0;Ce"}if(vt(G)){if(G.length===0)return"[]";var Xe=Wn(G,fe);return ne&&!function(oe){for(var Le=0;Le=0)return!1;return!0}(Xe)?"["+wn(Xe,ne)+"]":"[ "+U.call(Xe,", ")+" ]"}if(function(oe){return!(Ge(oe)!=="[object Error]"||Q&&typeof oe=="object"&&Q in oe)}(G)){var Ve=Wn(G,fe);return"cause"in Error.prototype||!("cause"in G)||q.call(G,"cause")?Ve.length===0?"["+String(G)+"]":"{ ["+String(G)+"] "+U.call(Ve,", ")+" }":"{ ["+String(G)+"] "+U.call(se.call("[cause]: "+fe(G.cause),Ve),", ")+" }"}if(typeof G=="object"&&Et){if(ct&&typeof G[ct]=="function"&&N)return N(G,{depth:K-Ae});if(Et!=="symbol"&&typeof G.inspect=="function")return G.inspect()}if(function(oe){if(!p||!oe||typeof oe!="object")return!1;try{p.call(oe);try{w.call(oe)}catch{return!0}return oe instanceof Map}catch{}return!1}(G)){var Je=[];return h&&h.call(G,function(oe,Le){Je.push(fe(Le,G,!0)+" => "+fe(oe,G))}),Dn("Map",p.call(G),Je,ne)}if(function(oe){if(!w||!oe||typeof oe!="object")return!1;try{w.call(oe);try{p.call(oe)}catch{return!0}return oe instanceof Set}catch{}return!1}(G)){var kt=[];return L&&L.call(G,function(oe){kt.push(fe(oe,G))}),Dn("Set",w.call(G),kt,ne)}if(function(oe){if(!v||!oe||typeof oe!="object")return!1;try{v.call(oe,v);try{y.call(oe,y)}catch{return!0}return oe instanceof WeakMap}catch{}return!1}(G))return Ut("WeakMap");if(function(oe){if(!y||!oe||typeof oe!="object")return!1;try{y.call(oe,y);try{v.call(oe,v)}catch{return!0}return oe instanceof WeakSet}catch{}return!1}(G))return Ut("WeakSet");if(function(oe){if(!E||!oe||typeof oe!="object")return!1;try{return E.call(oe),!0}catch{}return!1}(G))return Ut("WeakRef");if(function(oe){return!(Ge(oe)!=="[object Number]"||Q&&typeof oe=="object"&&Q in oe)}(G))return nn(fe(Number(G)));if(function(oe){if(!oe||typeof oe!="object"||!re)return!1;try{return re.call(oe),!0}catch{}return!1}(G))return nn(fe(re.call(G)));if(function(oe){return!(Ge(oe)!=="[object Boolean]"||Q&&typeof oe=="object"&&Q in oe)}(G))return nn(m.call(G));if(function(oe){return!(Ge(oe)!=="[object String]"||Q&&typeof oe=="object"&&Q in oe)}(G))return nn(fe(String(G)));if(typeof window<"u"&&G===window)return"{ [object Window] }";if(G===a.g)return"{ [object globalThis] }";if(!function(oe){return!(Ge(oe)!=="[object Date]"||Q&&typeof oe=="object"&&Q in oe)}(G)&&!at(G)){var hn=Wn(G,fe),ur=le?le(G)===Object.prototype:G instanceof Object||G.constructor===Object,On=G instanceof Object?"":"null prototype",Rt=!ur&&Q&&Object(G)===G&&Q in G?z.call(Ge(G),8,-1):On?"Object":"",_n=(ur||typeof G.constructor!="function"?"":G.constructor.name?G.constructor.name+" ":"")+(Rt||On?"["+U.call(se.call([],Rt||[],On||[]),": ")+"] ":"");return hn.length===0?_n+"{}":ne?_n+"{"+wn(hn,ne)+"}":_n+"{ "+U.call(hn,", ")+" }"}return String(G)};var Wt=Object.prototype.hasOwnProperty||function(te){return te in this};function Fe(te,G){return Wt.call(te,G)}function Ge(te){return j.call(te)}function tn(te,G){if(te.indexOf)return te.indexOf(G);for(var xe=0,Ae=te.length;xeG.maxStringLength){var xe=te.length-G.maxStringLength,Ae="... "+xe+" more character"+(xe>1?"s":"");return Mt(z.call(te,0,G.maxStringLength),G)+Ae}return Ke(H.call(H.call(te,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Pt),"single",G)}function Pt(te){var G=te.charCodeAt(0),xe={8:"b",9:"t",10:"n",12:"f",13:"r"}[G];return xe?"\\"+xe:"\\x"+(G<16?"0":"")+W.call(G.toString(16))}function nn(te){return"Object("+te+")"}function Ut(te){return te+" { ? }"}function Dn(te,G,xe,Ae){return te+" ("+G+") {"+(Ae?wn(xe,Ae):U.call(xe,", "))+"}"}function wn(te,G){if(te.length===0)return"";var xe=` `+G.prev+G.base;return xe+U.call(te,","+xe)+` `+G.prev}function Wn(te,G){var xe=vt(te),Ae=[];if(xe){Ae.length=te.length;for(var Re=0;Re{if(!Number.isFinite(a))throw new TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(f))throw new TypeError("Expected `interval` to be a finite number");const p=new Map;let h=0,x=0;const S=[],w=g?function(){const L=Date.now();if(S.length=v?(S.push(L),0):(S.push(v),v-L)}:function(){const L=Date.now();return L-h>f?(x=1,h=L,0):(x{const v=function(...y){if(!v.isEnabled)return(async()=>L.apply(this,y))();let E;return new Promise((m,j)=>{E=setTimeout(()=>{m(L.apply(this,y)),p.delete(E)},w()),p.set(E,j)})};return v.abort=()=>{for(const y of p.keys())clearTimeout(y),p.get(y)(new s);p.clear(),S.splice(0,S.length)},v.isEnabled=!0,v}},l.exports.AbortError=s},504:function(l,s,a){var f=a(750),g=a(300),p=a(365)(),h=a(502),x=f("%TypeError%"),S=f("%Math.floor%");l.exports=function(w,L){if(typeof w!="function")throw new x("`fn` is not a function");if(typeof L!="number"||L<0||L>4294967295||S(L)!==L)throw new x("`length` must be a positive 32-bit integer");var v=arguments.length>2&&!!arguments[2],y=!0,E=!0;if("length"in w&&h){var m=h(w,"length");m&&!m.configurable&&(y=!1),m&&!m.writable&&(E=!1)}return(y||E||!v)&&(p?g(w,"length",L,!0,!0):g(w,"length",L)),w}},337:function(l,s,a){var f=a(750),g=a(737),p=a(524),h=f("%TypeError%"),x=f("%WeakMap%",!0),S=f("%Map%",!0),w=g("WeakMap.prototype.get",!0),L=g("WeakMap.prototype.set",!0),v=g("WeakMap.prototype.has",!0),y=g("Map.prototype.get",!0),E=g("Map.prototype.set",!0),m=g("Map.prototype.has",!0),j=function(A,R){for(var z,H=A;(z=H.next)!==null;H=z)if(z.key===R)return H.next=z.next,z.next=A.next,A.next=z,z};l.exports=function(){var A,R,z,H={assert:function(W){if(!H.has(W))throw new h("Side channel does not contain "+p(W))},get:function(W){if(x&&W&&(typeof W=="object"||typeof W=="function")){if(A)return w(A,W)}else if(S){if(R)return y(R,W)}else if(z)return function(ue,ie){var se=j(ue,ie);return se&&se.value}(z,W)},has:function(W){if(x&&W&&(typeof W=="object"||typeof W=="function")){if(A)return v(A,W)}else if(S){if(R)return m(R,W)}else if(z)return function(ue,ie){return!!j(ue,ie)}(z,W);return!1},set:function(W,ue){x&&W&&(typeof W=="object"||typeof W=="function")?(A||(A=new x),L(A,W,ue)):S?(R||(R=new S),E(R,W,ue)):(z||(z={key:{},next:null}),function(ie,se,U){var T=j(ie,se);T?T.value=U:ie.next={key:se,next:ie.next,value:U}}(z,W,ue))}};return H}},553:function(){}},r={};function o(l){var s=r[l];if(s!==void 0)return s.exports;var a=r[l]={exports:{}};return n[l].call(a.exports,a,a.exports,o),a.exports}o.n=function(l){var s=l&&l.__esModule?function(){return l.default}:function(){return l};return o.d(s,{a:s}),s},o.d=function(l,s){for(var a in s)o.o(s,a)&&!o.o(l,a)&&Object.defineProperty(l,a,{enumerable:!0,get:s[a]})},o.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),o.o=function(l,s){return Object.prototype.hasOwnProperty.call(l,s)},o.r=function(l){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})};var i={};return function(){o.r(i),o.d(i,{createClient:function(){return Im},createGlobalOptions:function(){return uf}});var l={};function s(u,c){return function(){return u.apply(c,arguments)}}o.r(l),o.d(l,{hasBrowserEnv:function(){return te},hasStandardBrowserEnv:function(){return G},hasStandardBrowserWebWorkerEnv:function(){return Ae}});const{toString:a}=Object.prototype,{getPrototypeOf:f}=Object,g=(p=Object.create(null),u=>{const c=a.call(u);return p[c]||(p[c]=c.slice(8,-1).toLowerCase())});var p;const h=u=>(u=u.toLowerCase(),c=>g(c)===u),x=u=>c=>typeof c===u,{isArray:S}=Array,w=x("undefined"),L=h("ArrayBuffer"),v=x("string"),y=x("function"),E=x("number"),m=u=>u!==null&&typeof u=="object",j=u=>{if(g(u)!=="object")return!1;const c=f(u);return!(c!==null&&c!==Object.prototype&&Object.getPrototypeOf(c)!==null||Symbol.toStringTag in u||Symbol.iterator in u)},A=h("Date"),R=h("File"),z=h("Blob"),H=h("FileList"),W=h("URLSearchParams");function ue(u,c,{allOwnKeys:d=!1}={}){if(u==null)return;let O,_;if(typeof u!="object"&&(u=[u]),S(u))for(O=0,_=u.length;O<_;O++)c.call(null,u[O],O,u);else{const C=d?Object.getOwnPropertyNames(u):Object.keys(u),k=C.length;let B;for(O=0;O0;)if(O=d[_],c===O.toLowerCase())return O;return null}const se=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:xt,U=u=>!w(u)&&u!==se,T=(V=typeof Uint8Array<"u"&&f(Uint8Array),u=>V&&u instanceof V);var V;const re=h("HTMLFormElement"),$=(({hasOwnProperty:u})=>(c,d)=>u.call(c,d))(Object.prototype),M=h("RegExp"),P=(u,c)=>{const d=Object.getOwnPropertyDescriptors(u),O={};ue(d,(_,C)=>{let k;(k=c(_,C,u))!==!1&&(O[C]=k||_)}),Object.defineProperties(u,O)},Q="abcdefghijklmnopqrstuvwxyz",q="0123456789",le={DIGIT:q,ALPHA:Q,ALPHA_DIGIT:Q+Q.toUpperCase()+q},Z=h("AsyncFunction");var N={isArray:S,isArrayBuffer:L,isBuffer:function(u){return u!==null&&!w(u)&&u.constructor!==null&&!w(u.constructor)&&y(u.constructor.isBuffer)&&u.constructor.isBuffer(u)},isFormData:u=>{let c;return u&&(typeof FormData=="function"&&u instanceof FormData||y(u.append)&&((c=g(u))==="formdata"||c==="object"&&y(u.toString)&&u.toString()==="[object FormData]"))},isArrayBufferView:function(u){let c;return c=typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(u):u&&u.buffer&&L(u.buffer),c},isString:v,isNumber:E,isBoolean:u=>u===!0||u===!1,isObject:m,isPlainObject:j,isUndefined:w,isDate:A,isFile:R,isBlob:z,isRegExp:M,isFunction:y,isStream:u=>m(u)&&y(u.pipe),isURLSearchParams:W,isTypedArray:T,isFileList:H,forEach:ue,merge:function u(){const{caseless:c}=U(this)&&this||{},d={},O=(_,C)=>{const k=c&&ie(d,C)||C;j(d[k])&&j(_)?d[k]=u(d[k],_):j(_)?d[k]=u({},_):S(_)?d[k]=_.slice():d[k]=_};for(let _=0,C=arguments.length;_(ue(c,(_,C)=>{d&&y(_)?u[C]=s(_,d):u[C]=_},{allOwnKeys:O}),u),trim:u=>u.trim?u.trim():u.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:u=>(u.charCodeAt(0)===65279&&(u=u.slice(1)),u),inherits:(u,c,d,O)=>{u.prototype=Object.create(c.prototype,O),u.prototype.constructor=u,Object.defineProperty(u,"super",{value:c.prototype}),d&&Object.assign(u.prototype,d)},toFlatObject:(u,c,d,O)=>{let _,C,k;const B={};if(c=c||{},u==null)return c;do{for(_=Object.getOwnPropertyNames(u),C=_.length;C-- >0;)k=_[C],O&&!O(k,u,c)||B[k]||(c[k]=u[k],B[k]=!0);u=d!==!1&&f(u)}while(u&&(!d||d(u,c))&&u!==Object.prototype);return c},kindOf:g,kindOfTest:h,endsWith:(u,c,d)=>{u=String(u),(d===void 0||d>u.length)&&(d=u.length),d-=c.length;const O=u.indexOf(c,d);return O!==-1&&O===d},toArray:u=>{if(!u)return null;if(S(u))return u;let c=u.length;if(!E(c))return null;const d=new Array(c);for(;c-- >0;)d[c]=u[c];return d},forEachEntry:(u,c)=>{const d=(u&&u[Symbol.iterator]).call(u);let O;for(;(O=d.next())&&!O.done;){const _=O.value;c.call(u,_[0],_[1])}},matchAll:(u,c)=>{let d;const O=[];for(;(d=u.exec(c))!==null;)O.push(d);return O},isHTMLForm:re,hasOwnProperty:$,hasOwnProp:$,reduceDescriptors:P,freezeMethods:u=>{P(u,(c,d)=>{if(y(u)&&["arguments","caller","callee"].indexOf(d)!==-1)return!1;const O=u[d];y(O)&&(c.enumerable=!1,"writable"in c?c.writable=!1:c.set||(c.set=()=>{throw Error("Can not rewrite read-only method '"+d+"'")}))})},toObjectSet:(u,c)=>{const d={},O=_=>{_.forEach(C=>{d[C]=!0})};return S(u)?O(u):O(String(u).split(c)),d},toCamelCase:u=>u.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(c,d,O){return d.toUpperCase()+O}),noop:()=>{},toFiniteNumber:(u,c)=>(u=+u,Number.isFinite(u)?u:c),findKey:ie,global:se,isContextDefined:U,ALPHABET:le,generateString:(u=16,c=le.ALPHA_DIGIT)=>{let d="";const{length:O}=c;for(;u--;)d+=c[Math.random()*O|0];return d},isSpecCompliantForm:function(u){return!!(u&&y(u.append)&&u[Symbol.toStringTag]==="FormData"&&u[Symbol.iterator])},toJSONObject:u=>{const c=new Array(10),d=(O,_)=>{if(m(O)){if(c.indexOf(O)>=0)return;if(!("toJSON"in O)){c[_]=O;const C=S(O)?[]:{};return ue(O,(k,B)=>{const D=d(k,_+1);!w(D)&&(C[B]=D)}),c[_]=void 0,C}}return O};return d(u,0)},isAsyncFn:Z,isThenable:u=>u&&(m(u)||y(u))&&y(u.then)&&y(u.catch)};function Ee(u,c,d,O,_){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=u,this.name="AxiosError",c&&(this.code=c),d&&(this.config=d),O&&(this.request=O),_&&(this.response=_)}N.inherits(Ee,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ct=Ee.prototype,Ke={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(u=>{Ke[u]={value:u}}),Object.defineProperties(Ee,Ke),Object.defineProperty(ct,"isAxiosError",{value:!0}),Ee.from=(u,c,d,O,_,C)=>{const k=Object.create(ct);return N.toFlatObject(u,k,function(B){return B!==Error.prototype},B=>B!=="isAxiosError"),Ee.call(k,u.message,c,d,O,_),k.cause=u,k.name=u.name,C&&Object.assign(k,C),k};var Se=Ee;function vt(u){return N.isPlainObject(u)||N.isArray(u)}function at(u){return N.endsWith(u,"[]")?u.slice(0,-2):u}function At(u,c,d){return u?u.concat(c).map(function(O,_){return O=at(O),!d&&_?"["+O+"]":O}).join(d?".":""):c}const Wt=N.toFlatObject(N,{},null,function(u){return/^is[A-Z]/.test(u)});var Fe=function(u,c,d){if(!N.isObject(u))throw new TypeError("target must be an object");c=c||new FormData;const O=(d=N.toFlatObject(d,{metaTokens:!0,dots:!1,indexes:!1},!1,function(J,ye){return!N.isUndefined(ye[J])})).metaTokens,_=d.visitor||I,C=d.dots,k=d.indexes,B=(d.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(c);if(!N.isFunction(_))throw new TypeError("visitor must be a function");function D(J){if(J===null)return"";if(N.isDate(J))return J.toISOString();if(!B&&N.isBlob(J))throw new Se("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(J)||N.isTypedArray(J)?B&&typeof Blob=="function"?new Blob([J]):Buffer.from(J):J}function I(J,ye,ae){let pe=J;if(J&&!ae&&typeof J=="object"){if(N.endsWith(ye,"{}"))ye=O?ye:ye.slice(0,-2),J=JSON.stringify(J);else if(N.isArray(J)&&function(we){return N.isArray(we)&&!we.some(vt)}(J)||(N.isFileList(J)||N.endsWith(ye,"[]"))&&(pe=N.toArray(J)))return ye=at(ye),pe.forEach(function(we,je){!N.isUndefined(we)&&we!==null&&c.append(k===!0?At([ye],je,C):k===null?ye:ye+"[]",D(we))}),!1}return!!vt(J)||(c.append(At(ae,ye,C),D(J)),!1)}const b=[],X=Object.assign(Wt,{defaultVisitor:I,convertValue:D,isVisitable:vt});if(!N.isObject(u))throw new TypeError("data must be an object");return function J(ye,ae){if(!N.isUndefined(ye)){if(b.indexOf(ye)!==-1)throw Error("Circular reference detected in "+ae.join("."));b.push(ye),N.forEach(ye,function(pe,we){(!(N.isUndefined(pe)||pe===null)&&_.call(c,pe,N.isString(we)?we.trim():we,ae,X))===!0&&J(pe,ae?ae.concat(we):[we])}),b.pop()}}(u),c};function Ge(u){const c={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(u).replace(/[!'()~]|%20|%00/g,function(d){return c[d]})}function tn(u,c){this._pairs=[],u&&Fe(u,this,c)}const Mt=tn.prototype;Mt.append=function(u,c){this._pairs.push([u,c])},Mt.toString=function(u){const c=u?function(d){return u.call(this,d,Ge)}:Ge;return this._pairs.map(function(d){return c(d[0])+"="+c(d[1])},"").join("&")};var Pt=tn;function nn(u){return encodeURIComponent(u).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ut(u,c,d){if(!c)return u;const O=d&&d.encode||nn,_=d&&d.serialize;let C;if(C=_?_(c,d):N.isURLSearchParams(c)?c.toString():new Pt(c,d).toString(O),C){const k=u.indexOf("#");k!==-1&&(u=u.slice(0,k)),u+=(u.indexOf("?")===-1?"?":"&")+C}return u}var Dn=class{constructor(){this.handlers=[]}use(u,c,d){return this.handlers.push({fulfilled:u,rejected:c,synchronous:!!d&&d.synchronous,runWhen:d?d.runWhen:null}),this.handlers.length-1}eject(u){this.handlers[u]&&(this.handlers[u]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(u){N.forEach(this.handlers,function(c){c!==null&&u(c)})}},wn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Wn={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Pt,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]};const te=typeof window<"u"&&typeof document<"u",G=(xe=typeof navigator<"u"&&navigator.product,te&&["ReactNative","NativeScript","NS"].indexOf(xe)<0);var xe;const Ae=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function";var Re={...l,...Wn},_e=function(u){function c(d,O,_,C){let k=d[C++];if(k==="__proto__")return!0;const B=Number.isFinite(+k),D=C>=d.length;return k=!k&&N.isArray(_)?_.length:k,D?(N.hasOwnProp(_,k)?_[k]=[_[k],O]:_[k]=O,!B):(_[k]&&N.isObject(_[k])||(_[k]=[]),c(d,O,_[k],C)&&N.isArray(_[k])&&(_[k]=function(I){const b={},X=Object.keys(I);let J;const ye=X.length;let ae;for(J=0;J{c(function(C){return N.matchAll(/\w+|\[(\w*)]/g,C).map(k=>k[0]==="[]"?"":k[1]||k[0])}(O),_,d,0)}),d}return null};const Et={transitional:wn,adapter:["xhr","http"],transformRequest:[function(u,c){const d=c.getContentType()||"",O=d.indexOf("application/json")>-1,_=N.isObject(u);if(_&&N.isHTMLForm(u)&&(u=new FormData(u)),N.isFormData(u))return O&&O?JSON.stringify(_e(u)):u;if(N.isArrayBuffer(u)||N.isBuffer(u)||N.isStream(u)||N.isFile(u)||N.isBlob(u))return u;if(N.isArrayBufferView(u))return u.buffer;if(N.isURLSearchParams(u))return c.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),u.toString();let C;if(_){if(d.indexOf("application/x-www-form-urlencoded")>-1)return function(k,B){return Fe(k,new Re.classes.URLSearchParams,Object.assign({visitor:function(D,I,b,X){return Re.isNode&&N.isBuffer(D)?(this.append(I,D.toString("base64")),!1):X.defaultVisitor.apply(this,arguments)}},B))}(u,this.formSerializer).toString();if((C=N.isFileList(u))||d.indexOf("multipart/form-data")>-1){const k=this.env&&this.env.FormData;return Fe(C?{"files[]":u}:u,k&&new k,this.formSerializer)}}return _||O?(c.setContentType("application/json",!1),function(k,B,D){if(N.isString(k))try{return(0,JSON.parse)(k),N.trim(k)}catch(I){if(I.name!=="SyntaxError")throw I}return(0,JSON.stringify)(k)}(u)):u}],transformResponse:[function(u){const c=this.transitional||Et.transitional,d=c&&c.forcedJSONParsing,O=this.responseType==="json";if(u&&N.isString(u)&&(d&&!this.responseType||O)){const _=!(c&&c.silentJSONParsing)&&O;try{return JSON.parse(u)}catch(C){if(_)throw C.name==="SyntaxError"?Se.from(C,Se.ERR_BAD_RESPONSE,this,null,this.response):C}}return u}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Re.classes.FormData,Blob:Re.classes.Blob},validateStatus:function(u){return u>=200&&u<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],u=>{Et.headers[u]={}});var Gt=Et;const _t=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),F=Symbol("internals");function K(u){return u&&String(u).trim().toLowerCase()}function Y(u){return u===!1||u==null?u:N.isArray(u)?u.map(Y):String(u)}function ne(u,c,d,O,_){return N.isFunction(O)?O.call(this,c,d):(_&&(c=d),N.isString(c)?N.isString(O)?c.indexOf(O)!==-1:N.isRegExp(O)?O.test(c):void 0:void 0)}class fe{constructor(c){c&&this.set(c)}set(c,d,O){const _=this;function C(B,D,I){const b=K(D);if(!b)throw new Error("header name must be a non-empty string");const X=N.findKey(_,b);(!X||_[X]===void 0||I===!0||I===void 0&&_[X]!==!1)&&(_[X||D]=Y(B))}const k=(B,D)=>N.forEach(B,(I,b)=>C(I,b,D));return N.isPlainObject(c)||c instanceof this.constructor?k(c,d):N.isString(c)&&(c=c.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(c.trim())?k((B=>{const D={};let I,b,X;return B&&B.split(` `).forEach(function(J){X=J.indexOf(":"),I=J.substring(0,X).trim().toLowerCase(),b=J.substring(X+1).trim(),!I||D[I]&&_t[I]||(I==="set-cookie"?D[I]?D[I].push(b):D[I]=[b]:D[I]=D[I]?D[I]+", "+b:b)}),D})(c),d):c!=null&&C(d,c,O),this}get(c,d){if(c=K(c)){const O=N.findKey(this,c);if(O){const _=this[O];if(!d)return _;if(d===!0)return function(C){const k=Object.create(null),B=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let D;for(;D=B.exec(C);)k[D[1]]=D[2];return k}(_);if(N.isFunction(d))return d.call(this,_,O);if(N.isRegExp(d))return d.exec(_);throw new TypeError("parser must be boolean|regexp|function")}}}has(c,d){if(c=K(c)){const O=N.findKey(this,c);return!(!O||this[O]===void 0||d&&!ne(0,this[O],O,d))}return!1}delete(c,d){const O=this;let _=!1;function C(k){if(k=K(k)){const B=N.findKey(O,k);!B||d&&!ne(0,O[B],B,d)||(delete O[B],_=!0)}}return N.isArray(c)?c.forEach(C):C(c),_}clear(c){const d=Object.keys(this);let O=d.length,_=!1;for(;O--;){const C=d[O];c&&!ne(0,this[C],C,c,!0)||(delete this[C],_=!0)}return _}normalize(c){const d=this,O={};return N.forEach(this,(_,C)=>{const k=N.findKey(O,C);if(k)return d[k]=Y(_),void delete d[C];const B=c?function(D){return D.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(I,b,X)=>b.toUpperCase()+X)}(C):String(C).trim();B!==C&&delete d[C],d[B]=Y(_),O[B]=!0}),this}concat(...c){return this.constructor.concat(this,...c)}toJSON(c){const d=Object.create(null);return N.forEach(this,(O,_)=>{O!=null&&O!==!1&&(d[_]=c&&N.isArray(O)?O.join(", "):O)}),d}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([c,d])=>c+": "+d).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(c){return c instanceof this?c:new this(c)}static concat(c,...d){const O=new this(c);return d.forEach(_=>O.set(_)),O}static accessor(c){const d=(this[F]=this[F]={accessors:{}}).accessors,O=this.prototype;function _(C){const k=K(C);d[k]||(function(B,D){const I=N.toCamelCase(" "+D);["get","set","has"].forEach(b=>{Object.defineProperty(B,b+I,{value:function(X,J,ye){return this[b].call(this,D,X,J,ye)},configurable:!0})})}(O,C),d[k]=!0)}return N.isArray(c)?c.forEach(_):_(c),this}}fe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.reduceDescriptors(fe.prototype,({value:u},c)=>{let d=c[0].toUpperCase()+c.slice(1);return{get:()=>u,set(O){this[d]=O}}}),N.freezeMethods(fe);var me=fe;function ge(u,c){const d=this||Gt,O=c||d,_=me.from(O.headers);let C=O.data;return N.forEach(u,function(k){C=k.call(d,C,_.normalize(),c?c.status:void 0)}),_.normalize(),C}function ve(u){return!(!u||!u.__CANCEL__)}function de(u,c,d){Se.call(this,u??"canceled",Se.ERR_CANCELED,c,d),this.name="CanceledError"}N.inherits(de,Se,{__CANCEL__:!0});var Oe=de,Ce=Re.hasStandardBrowserEnv?{write(u,c,d,O,_,C){const k=[u+"="+encodeURIComponent(c)];N.isNumber(d)&&k.push("expires="+new Date(d).toGMTString()),N.isString(O)&&k.push("path="+O),N.isString(_)&&k.push("domain="+_),C===!0&&k.push("secure"),document.cookie=k.join("; ")},read(u){const c=document.cookie.match(new RegExp("(^|;\\s*)("+u+")=([^;]*)"));return c?decodeURIComponent(c[3]):null},remove(u){this.write(u,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Xe(u,c){return u&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(c)?function(d,O){return O?d.replace(/\/?\/$/,"")+"/"+O.replace(/^\/+/,""):d}(u,c):c}var Ve=Re.hasStandardBrowserEnv?function(){const u=/(msie|trident)/i.test(navigator.userAgent),c=document.createElement("a");let d;function O(_){let C=_;return u&&(c.setAttribute("href",C),C=c.href),c.setAttribute("href",C),{href:c.href,protocol:c.protocol?c.protocol.replace(/:$/,""):"",host:c.host,search:c.search?c.search.replace(/^\?/,""):"",hash:c.hash?c.hash.replace(/^#/,""):"",hostname:c.hostname,port:c.port,pathname:c.pathname.charAt(0)==="/"?c.pathname:"/"+c.pathname}}return d=O(window.location.href),function(_){const C=N.isString(_)?O(_):_;return C.protocol===d.protocol&&C.host===d.host}}():function(){return!0};function Je(u,c){let d=0;const O=function(_,C){_=_||10;const k=new Array(_),B=new Array(_);let D,I=0,b=0;return C=C!==void 0?C:1e3,function(X){const J=Date.now(),ye=B[b];D||(D=J),k[I]=X,B[I]=J;let ae=b,pe=0;for(;ae!==I;)pe+=k[ae++],ae%=_;if(I=(I+1)%_,I===b&&(b=(b+1)%_),J-D{const C=_.loaded,k=_.lengthComputable?_.total:void 0,B=C-d,D=O(B);d=C;const I={loaded:C,total:k,progress:k?C/k:void 0,bytes:B,rate:D||void 0,estimated:D&&k&&C<=k?(k-C)/D:void 0,event:_};I[c?"download":"upload"]=!0,u(I)}}const kt={http:null,xhr:typeof XMLHttpRequest<"u"&&function(u){return new Promise(function(c,d){let O=u.data;const _=me.from(u.headers).normalize();let C,k,{responseType:B,withXSRFToken:D}=u;function I(){u.cancelToken&&u.cancelToken.unsubscribe(C),u.signal&&u.signal.removeEventListener("abort",C)}if(N.isFormData(O)){if(Re.hasStandardBrowserEnv||Re.hasStandardBrowserWebWorkerEnv)_.setContentType(!1);else if((k=_.getContentType())!==!1){const[ae,...pe]=k?k.split(";").map(we=>we.trim()).filter(Boolean):[];_.setContentType([ae||"multipart/form-data",...pe].join("; "))}}let b=new XMLHttpRequest;if(u.auth){const ae=u.auth.username||"",pe=u.auth.password?unescape(encodeURIComponent(u.auth.password)):"";_.set("Authorization","Basic "+btoa(ae+":"+pe))}const X=Xe(u.baseURL,u.url);function J(){if(!b)return;const ae=me.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());(function(pe,we,je){const Qt=je.config.validateStatus;je.status&&Qt&&!Qt(je.status)?we(new Se("Request failed with status code "+je.status,[Se.ERR_BAD_REQUEST,Se.ERR_BAD_RESPONSE][Math.floor(je.status/100)-4],je.config,je.request,je)):pe(je)})(function(pe){c(pe),I()},function(pe){d(pe),I()},{data:B&&B!=="text"&&B!=="json"?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:ae,config:u,request:b}),b=null}if(b.open(u.method.toUpperCase(),Ut(X,u.params,u.paramsSerializer),!0),b.timeout=u.timeout,"onloadend"in b?b.onloadend=J:b.onreadystatechange=function(){b&&b.readyState===4&&(b.status!==0||b.responseURL&&b.responseURL.indexOf("file:")===0)&&setTimeout(J)},b.onabort=function(){b&&(d(new Se("Request aborted",Se.ECONNABORTED,u,b)),b=null)},b.onerror=function(){d(new Se("Network Error",Se.ERR_NETWORK,u,b)),b=null},b.ontimeout=function(){let ae=u.timeout?"timeout of "+u.timeout+"ms exceeded":"timeout exceeded";const pe=u.transitional||wn;u.timeoutErrorMessage&&(ae=u.timeoutErrorMessage),d(new Se(ae,pe.clarifyTimeoutError?Se.ETIMEDOUT:Se.ECONNABORTED,u,b)),b=null},Re.hasStandardBrowserEnv&&(D&&N.isFunction(D)&&(D=D(u)),D||D!==!1&&Ve(X))){const ae=u.xsrfHeaderName&&u.xsrfCookieName&&Ce.read(u.xsrfCookieName);ae&&_.set(u.xsrfHeaderName,ae)}O===void 0&&_.setContentType(null),"setRequestHeader"in b&&N.forEach(_.toJSON(),function(ae,pe){b.setRequestHeader(pe,ae)}),N.isUndefined(u.withCredentials)||(b.withCredentials=!!u.withCredentials),B&&B!=="json"&&(b.responseType=u.responseType),typeof u.onDownloadProgress=="function"&&b.addEventListener("progress",Je(u.onDownloadProgress,!0)),typeof u.onUploadProgress=="function"&&b.upload&&b.upload.addEventListener("progress",Je(u.onUploadProgress)),(u.cancelToken||u.signal)&&(C=ae=>{b&&(d(!ae||ae.type?new Oe(null,u,b):ae),b.abort(),b=null)},u.cancelToken&&u.cancelToken.subscribe(C),u.signal&&(u.signal.aborted?C():u.signal.addEventListener("abort",C)));const ye=function(ae){const pe=/^([-+\w]{1,25})(:?\/\/|:)/.exec(ae);return pe&&pe[1]||""}(X);ye&&Re.protocols.indexOf(ye)===-1?d(new Se("Unsupported protocol "+ye+":",Se.ERR_BAD_REQUEST,u)):b.send(O||null)})}};N.forEach(kt,(u,c)=>{if(u){try{Object.defineProperty(u,"name",{value:c})}catch{}Object.defineProperty(u,"adapterName",{value:c})}});const hn=u=>`- ${u}`,ur=u=>N.isFunction(u)||u===null||u===!1;var On={getAdapter:u=>{u=N.isArray(u)?u:[u];const{length:c}=u;let d,O;const _={};for(let C=0;C`adapter ${B} `+(D===!1?"is not supported by the environment":"is not available in the build"));let k=c?C.length>1?`since : `+C.map(hn).join(` `):" "+hn(C[0]):"as no adapter specified";throw new Se("There is no suitable adapter to dispatch the request "+k,"ERR_NOT_SUPPORT")}return O},adapters:kt};function Rt(u){if(u.cancelToken&&u.cancelToken.throwIfRequested(),u.signal&&u.signal.aborted)throw new Oe(null,u)}function _n(u){return Rt(u),u.headers=me.from(u.headers),u.data=ge.call(u,u.transformRequest),["post","put","patch"].indexOf(u.method)!==-1&&u.headers.setContentType("application/x-www-form-urlencoded",!1),On.getAdapter(u.adapter||Gt.adapter)(u).then(function(c){return Rt(u),c.data=ge.call(u,u.transformResponse,c),c.headers=me.from(c.headers),c},function(c){return ve(c)||(Rt(u),c&&c.response&&(c.response.data=ge.call(u,u.transformResponse,c.response),c.response.headers=me.from(c.response.headers))),Promise.reject(c)})}const oe=u=>u instanceof me?u.toJSON():u;function Le(u,c){c=c||{};const d={};function O(I,b,X){return N.isPlainObject(I)&&N.isPlainObject(b)?N.merge.call({caseless:X},I,b):N.isPlainObject(b)?N.merge({},b):N.isArray(b)?b.slice():b}function _(I,b,X){return N.isUndefined(b)?N.isUndefined(I)?void 0:O(void 0,I,X):O(I,b,X)}function C(I,b){if(!N.isUndefined(b))return O(void 0,b)}function k(I,b){return N.isUndefined(b)?N.isUndefined(I)?void 0:O(void 0,I):O(void 0,b)}function B(I,b,X){return X in c?O(I,b):X in u?O(void 0,I):void 0}const D={url:C,method:C,data:C,baseURL:k,transformRequest:k,transformResponse:k,paramsSerializer:k,timeout:k,timeoutMessage:k,withCredentials:k,withXSRFToken:k,adapter:k,responseType:k,xsrfCookieName:k,xsrfHeaderName:k,onUploadProgress:k,onDownloadProgress:k,decompress:k,maxContentLength:k,maxBodyLength:k,beforeRedirect:k,transport:k,httpAgent:k,httpsAgent:k,cancelToken:k,socketPath:k,responseEncoding:k,validateStatus:B,headers:(I,b)=>_(oe(I),oe(b),!0)};return N.forEach(Object.keys(Object.assign({},u,c)),function(I){const b=D[I]||_,X=b(u[I],c[I],I);N.isUndefined(X)&&b!==B||(d[I]=X)}),d}const Vt={};["object","boolean","number","function","string","symbol"].forEach((u,c)=>{Vt[u]=function(d){return typeof d===u||"a"+(c<1?"n ":" ")+u}});const Nn={};Vt.transitional=function(u,c,d){function O(_,C){return"[Axios v1.6.4] Transitional option '"+_+"'"+C+(d?". "+d:"")}return(_,C,k)=>{if(u===!1)throw new Se(O(C," has been removed"+(c?" in "+c:"")),Se.ERR_DEPRECATED);return c&&!Nn[C]&&(Nn[C]=!0,console.warn(O(C," has been deprecated since v"+c+" and will be removed in the near future"))),!u||u(_,C,k)}};var ze={assertOptions:function(u,c,d){if(typeof u!="object")throw new Se("options must be an object",Se.ERR_BAD_OPTION_VALUE);const O=Object.keys(u);let _=O.length;for(;_-- >0;){const C=O[_],k=c[C];if(k){const B=u[C],D=B===void 0||k(B,C,u);if(D!==!0)throw new Se("option "+C+" must be "+D,Se.ERR_BAD_OPTION_VALUE)}else if(d!==!0)throw new Se("Unknown option "+C,Se.ERR_BAD_OPTION)}},validators:Vt};const ut=ze.validators;class kn{constructor(c){this.defaults=c,this.interceptors={request:new Dn,response:new Dn}}request(c,d){typeof c=="string"?(d=d||{}).url=c:d=c||{},d=Le(this.defaults,d);const{transitional:O,paramsSerializer:_,headers:C}=d;O!==void 0&&ze.assertOptions(O,{silentJSONParsing:ut.transitional(ut.boolean),forcedJSONParsing:ut.transitional(ut.boolean),clarifyTimeoutError:ut.transitional(ut.boolean)},!1),_!=null&&(N.isFunction(_)?d.paramsSerializer={serialize:_}:ze.assertOptions(_,{encode:ut.function,serialize:ut.function},!0)),d.method=(d.method||this.defaults.method||"get").toLowerCase();let k=C&&N.merge(C.common,C[d.method]);C&&N.forEach(["delete","get","head","post","put","patch","common"],ae=>{delete C[ae]}),d.headers=me.concat(k,C);const B=[];let D=!0;this.interceptors.request.forEach(function(ae){typeof ae.runWhen=="function"&&ae.runWhen(d)===!1||(D=D&&ae.synchronous,B.unshift(ae.fulfilled,ae.rejected))});const I=[];let b;this.interceptors.response.forEach(function(ae){I.push(ae.fulfilled,ae.rejected)});let X,J=0;if(!D){const ae=[_n.bind(this),void 0];for(ae.unshift.apply(ae,B),ae.push.apply(ae,I),X=ae.length,b=Promise.resolve(d);J{if(!O._listeners)return;let C=O._listeners.length;for(;C-- >0;)O._listeners[C](_);O._listeners=null}),this.promise.then=_=>{let C;const k=new Promise(B=>{O.subscribe(B),C=B}).then(_);return k.cancel=function(){O.unsubscribe(C)},k},c(function(_,C,k){O.reason||(O.reason=new Oe(_,C,k),d(O.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(c){this.reason?c(this.reason):this._listeners?this._listeners.push(c):this._listeners=[c]}unsubscribe(c){if(!this._listeners)return;const d=this._listeners.indexOf(c);d!==-1&&this._listeners.splice(d,1)}static source(){let c;return{token:new Pr(function(d){c=d}),cancel:c}}}var rl=Pr;const Go={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Go).forEach(([u,c])=>{Go[c]=u});var hm=Go;const ft=function u(c){const d=new rt(c),O=s(rt.prototype.request,d);return N.extend(O,rt.prototype,d,{allOwnKeys:!0}),N.extend(O,d,null,{allOwnKeys:!0}),O.create=function(_){return u(Le(c,_))},O}(Gt);ft.Axios=rt,ft.CanceledError=Oe,ft.CancelToken=rl,ft.isCancel=ve,ft.VERSION="1.6.4",ft.toFormData=Fe,ft.AxiosError=Se,ft.Cancel=ft.CanceledError,ft.all=function(u){return Promise.all(u)},ft.spread=function(u){return function(c){return u.apply(null,c)}},ft.isAxiosError=function(u){return N.isObject(u)&&u.isAxiosError===!0},ft.mergeConfig=Le,ft.AxiosHeaders=me,ft.formToJSON=u=>_e(N.isHTMLForm(u)?new FormData(u):u),ft.getAdapter=On.getAdapter,ft.HttpStatusCode=hm,ft.default=ft;var ym=ft,mm=o(581),ol=o.n(mm),gm=o(122),vm=o.n(gm),Em=o(451),Jc=o.n(Em),Sm=o(930),wm=o.n(Sm),Om=o(261),ou=o.n(Om);function Zc(u,c){var d=Object.keys(u);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(u);c&&(O=O.filter(function(_){return Object.getOwnPropertyDescriptor(u,_).enumerable})),d.push.apply(d,O)}return d}function il(u){for(var c=1;c]+)>/g,function(D,I){var b=k[I];return"$"+(Array.isArray(b)?b.join("$"):b)}))}if(typeof C=="function"){var B=this;return u[Symbol.replace].call(this,_,function(){var D=arguments;return typeof D[D.length-1]!="object"&&(D=[].slice.call(D)).push(O(D,B)),C.apply(this,D)})}return u[Symbol.replace].call(this,_,C)},iu.apply(this,arguments)}function al(u,c){return al=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(d,O){return d.__proto__=O,d},al(u,c)}function ef(u,c){if(u){if(typeof u=="string")return tf(u,c);var d=Object.prototype.toString.call(u).slice(8,-1);return d==="Object"&&u.constructor&&(d=u.constructor.name),d==="Map"||d==="Set"?Array.from(u):d==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(d)?tf(u,c):void 0}}function tf(u,c){(c==null||c>u.length)&&(c=u.length);for(var d=0,O=new Array(c);d1&&arguments[1]!==void 0?arguments[1]:7,d=c;if(au.test(u)){var O,_=(O=u.match(au))===null||O===void 0?void 0:O.groups;if(_&&_.value){var C=parseInt(_.value)/100;d=Math.round(c*C)}}return Math.min(30,Math.max(1,d))}function nf(u,c){return c("info","Throttle request to ".concat(u,"/s")),wm()({limit:u,interval:1e3,strict:!1})}var Cm=function(u){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"auto",d=u.defaults.logHandler,O=d===void 0?lu:d,_=Jc()(c)?uu(c):uu("auto",c),C=nf(_,O),k=!1,B=u.interceptors.request.use(function(I){return C(function(){return I})()},function(I){return Promise.reject(I)}),D=u.interceptors.response.use(function(I){if(!k&&Jc()(c)&&(c==="auto"||au.test(c))&&I.headers&&I.headers["x-contentful-ratelimit-second-limit"]){var b=parseInt(I.headers["x-contentful-ratelimit-second-limit"]),X=uu(c,b);X!==_&&(B&&u.interceptors.request.eject(B),_=X,C=nf(X,O),B=u.interceptors.request.use(function(J){return C(function(){return J})()},function(J){return Promise.reject(J)})),k=!0}return I},function(I){return Promise.reject(I)});return function(){u.interceptors.request.eject(B),u.interceptors.response.eject(D)}},xm=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function rf(u,c){var d=il(il({},{insecure:!1,retryOnError:!0,logHandler:function(pe,we){if(pe==="error"&&we){var je=[we.name,we.message].filter(function(Qt){return Qt}).join(" - ");return console.error("[error] ".concat(je)),void console.error(we)}console.log("[".concat(pe,"] ").concat(we))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824}),c);if(!d.accessToken){var O=new TypeError("Expected parameter accessToken");throw d.logHandler("error",O),O}var _,C,k=d.insecure?"http":"https",B=d.space?"".concat(d.space,"/"):"",D=d.defaultHostname,I=d.insecure?80:443;if(d.host&&xm.test(d.host)){var b=d.host.split(":");if(b.length===2){var X=(C=2,function(pe){if(Array.isArray(pe))return pe}(_=b)||function(pe,we){var je=pe==null?null:typeof Symbol<"u"&&pe[Symbol.iterator]||pe["@@iterator"];if(je!=null){var Qt,sr,Gn,In,Qe=[],Ft=!0,rn=!1;try{if(Gn=(je=je.call(pe)).next,we===0){if(Object(je)!==je)return;Ft=!1}else for(;!(Ft=(Qt=Gn.call(je)).done)&&(Qe.push(Qt.value),Qe.length!==we);Ft=!0);}catch(Vn){rn=!0,sr=Vn}finally{try{if(!Ft&&je.return!=null&&(In=je.return(),Object(In)!==In))return}finally{if(rn)throw sr}}return Qe}}(_,C)||ef(_,C)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}());D=X[0],I=X[1]}else D=b[0]}d.basePath&&(d.basePath="/".concat(d.basePath.split("/").filter(Boolean).join("/")));var J=c.baseURL||"".concat(k,"://").concat(D,":").concat(I).concat(d.basePath,"/spaces/").concat(B);d.headers.Authorization||typeof d.accessToken=="function"||(d.headers.Authorization="Bearer "+d.accessToken);var ye={baseURL:J,headers:d.headers,httpAgent:d.httpAgent,httpsAgent:d.httpsAgent,proxy:d.proxy,timeout:d.timeout,adapter:d.adapter,maxContentLength:d.maxContentLength,maxBodyLength:d.maxBodyLength,paramsSerializer:{serialize:function(pe){return vm().stringify(pe)}},logHandler:d.logHandler,responseLogger:d.responseLogger,requestLogger:d.requestLogger,retryOnError:d.retryOnError},ae=u.create(ye);return ae.httpClientParams=c,ae.cloneWithNewParams=function(pe){return rf(u,il(il({},ol()(c)),pe))},d.onBeforeRequest&&ae.interceptors.request.use(d.onBeforeRequest),typeof d.accessToken=="function"&&function(pe,we){pe.interceptors.request.use(function(je){return we().then(function(Qt){return je.headers.set("Authorization","Bearer ".concat(Qt)),je})})}(ae,d.accessToken),d.throttle&&Cm(ae,d.throttle),function(pe){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:5,je=pe.defaults,Qt=je.responseLogger,sr=Qt===void 0?lu:Qt,Gn=je.requestLogger,In=Gn===void 0?lu:Gn;pe.interceptors.request.use(function(Qe){return In(Qe),Qe},function(Qe){return In(Qe),Promise.reject(Qe)}),pe.interceptors.response.use(function(Qe){return sr(Qe),Qe},function(Qe){var Ft=Qe.response,rn=Qe.config;if(sr(Qe),!rn||!pe.defaults.retryOnError)return Promise.reject(Qe);var Vn=rn.attempts||1;if(Vn>we)return Qe.attempts=rn.attempts,Promise.reject(Qe);var Ir=null,qo=km(Vn);return Ft?Ft.status>=500&&Ft.status<600?Ir="Server ".concat(Ft.status):Ft.status===429&&(Ir="Rate limit",Ft.headers&&Qe.response.headers["x-contentful-ratelimit-reset"]&&(qo=Ft.headers["x-contentful-ratelimit-reset"])):Ir="Connection",Ir?(qo=Math.floor(1e3*qo+200*Math.random()+500),pe.defaults.logHandler("warning","".concat(Ir," error occurred. Waiting for ").concat(qo," ms before retrying...")),rn.attempts=Vn+1,delete rn.httpAgent,delete rn.httpsAgent,_m(qo).then(function(){return pe(rn)})):Promise.reject(Qe)})}(ae,d.retryLimit),d.onError&&ae.interceptors.response.use(function(pe){return pe},d.onError),ae}function Rr(u){var c=u.query,d={};return delete c.resolveLinks,d.params=ol()(c),d}function of(u){var c,d=function(_,C){var k=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!k){if(Array.isArray(_)||(k=ef(_))){k&&(_=k);var B=0,D=function(){};return{s:D,n:function(){return B>=_.length?{done:!0}:{done:!1,value:_[B++]}},e:function(J){throw J},f:D}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I,b=!0,X=!1;return{s:function(){k=k.call(_)},n:function(){var J=k.next();return b=J.done,J},e:function(J){X=!0,I=J},f:function(){try{b||k.return==null||k.return()}finally{if(X)throw I}}}}(Object.getOwnPropertyNames(u));try{for(d.s();!(c=d.n()).done;){var O=u[c.value];O&&ll(O)==="object"&&of(O)}}catch(_){d.e(_)}finally{d.f()}return Object.freeze(u)}function lf(){var u=window;if(!u)return null;var c=u.navigator.userAgent,d=u.navigator.platform;return["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(d)!==-1?"macOS":["iPhone","iPad","iPod"].indexOf(d)!==-1?"iOS":["Win32","Win64","Windows","WinCE"].indexOf(d)!==-1?"Windows":/Android/.test(c)?"Android":/Linux/.test(d)?"Linux":null}function af(u){return Object.defineProperty(u,"toPlainObject",{enumerable:!1,configurable:!1,writable:!1,value:function(){return ol()(this)}})}function Dr(u){var c,d=u.config,O=u.response;if(d&&d.headers&&d.headers.Authorization){var _="...".concat(d.headers.Authorization.toString().substr(-5));d.headers.Authorization="Bearer ".concat(_)}if(!ou()(O)||!ou()(d))throw u;var C,k=O==null?void 0:O.data,B={status:O==null?void 0:O.status,statusText:O==null?void 0:O.statusText,message:"",details:{}};d&&ou()(d)&&(B.request={url:d.url,headers:d.headers,method:d.method,payloadData:d.data}),k&&ll(k)==="object"&&("requestId"in k&&(B.requestId=k.requestId||"UNKNOWN"),"message"in k&&(B.message=k.message||""),"details"in k&&(B.details=k.details||{}),c=(C=k.sys)===null||C===void 0?void 0:C.id);var D=new Error;D.name=c&&c!=="Unknown"?c:"".concat(O==null?void 0:O.status," ").concat(O==null?void 0:O.statusText);try{D.message=JSON.stringify(B,null," ")}catch{var I;D.message=(I=B==null?void 0:B.message)!==null&&I!==void 0?I:""}throw D}function uf(u){return function(c){return Object.assign({},u,c)}}var Lm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(u){return typeof u}:function(u){return u&&typeof Symbol=="function"&&u.constructor===Symbol&&u!==Symbol.prototype?"symbol":typeof u};function Vo(u){if(Array.isArray(u)){for(var c=0,d=Array(u.length);c({sys:{type:"Link",linkType:"Entry",id:_.sys.id,circular:!0}}))}})}async function Rm(u,c,d){if(!c||!c.initial&&!c.nextSyncToken&&!c.nextPageToken)throw new Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(c.content_type&&!c.type)c.type="Entry";else if(c.content_type&&c.type&&c.type!=="Entry")throw new Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");const{withoutLinkResolution:O,withoutUnresolvableLinks:_,paginate:C}={withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0,...d},k=await df(u,[],c,{paginate:C});O||(k.items=cf(k,{removeUnresolved:_,itemEntryPoints:["fields"]}));const B=function(I){const b=X=>(J,ye)=>(ye.sys.type===X&&J.push(af(ye)),J);return{entries:I.reduce(b("Entry"),[]),assets:I.reduce(b("Asset"),[]),deletedEntries:I.reduce(b("DeletedEntry"),[]),deletedAssets:I.reduce(b("DeletedAsset"),[])}}(k.items);return k.nextSyncToken&&(B.nextSyncToken=k.nextSyncToken),k.nextPageToken&&(B.nextPageToken=k.nextPageToken),of((D=ff(af(B))).sys||{}),D;var D}async function df(u,c,d,{paginate:O}){const _=(C=d).nextPageToken?{sync_token:C.nextPageToken}:C.nextSyncToken?{sync_token:C.nextSyncToken}:C.sync_token?{sync_token:C.sync_token}:C;var C;const k=(await u.get("sync",Rr({query:_}))).data||{};return c=c.concat(k.items||[]),k.nextPageUrl?O?(delete _.initial,_.sync_token=su(k.nextPageUrl),df(u,c,_,{paginate:O})):{items:c,nextPageToken:su(k.nextPageUrl)}:k.nextSyncUrl?{items:c,nextSyncToken:su(k.nextSyncUrl)}:{items:[]}}function su(u){const c=u.split("?");return c.length>0?c[1].replace("sync_token=",""):""}function cu(u){const c={};let d=!1;for(const O in u)Array.isArray(u[O])&&(c[O]=u[O].join(","),d=!0);return d?{...u,...c}:u}function Yo(u){if(!u.select)return u;const c=Array.isArray(u.select)?u.select:u.select.split(",").map(O=>O.trim()),d=new Set(c);return d.has("sys")?u:(d.add("sys.id"),d.add("sys.type"),{...u,select:[...d].join(",")})}function pf(u,{resolveLinks:c,removeUnresolved:d}){const O=ff(u);return c&&(O.items=cf(O,{removeUnresolved:d,itemEntryPoints:["fields"]})),O}class Nr extends Error{constructor(c,d){super(`Invalid "${c}" provided, `+d),this.name="ValidationError"}}function ul(u,c){c?function(d){if(d.locale)throw new Nr("locale","The `locale` parameter is not allowed")}(u):function(d){if(d.locale==="*")throw new Nr("locale",`The use of locale='*' is no longer supported.To fetch an entry in all existing locales, use client.withAllLocales instead of the locale='*' parameter.`)}(u)}function sl(u){if("resolveLinks"in u)throw new Nr("resolveLinks",`The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved. If you do not want to resolve links, use client.withoutLinkResolution.`)}function cl(u){if("removeUnresolved"in u)throw new Nr("removeUnresolved",`The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects. If you do not want to include unresolved links, use client.withoutUnresolvableLinks.`)}function Jr(u){for(const c in u){const d=u[c];if(typeof d=="object"&&d!==null&&!Array.isArray(d))throw new Error(`Objects are not supported as value for the "${c}" query parameter.`)}}class Dm extends Error{constructor(d,O,_){super("The resource could not be found.");fu(this,"sys");fu(this,"details");this.sys={type:"Error",id:"NotFound"},this.details={type:"Entry",id:d,environment:O,space:_}}}function hf({http:u,getGlobalOptions:c},d){const O=(B="unknown")=>new Dm(B,c().environment,c().space),_=B=>{let D=B==="space"?c().spaceBaseUrl:c().environmentBaseUrl;if(!D)throw new Error("Please define baseUrl for "+B);return D.endsWith("/")||(D+="/"),D};async function C({context:B,path:D,config:I}){const b=_(B);try{return(await u.get(b+D,I)).data}catch(X){Dr(X)}}async function k(B,D){const{withoutLinkResolution:I,withoutUnresolvableLinks:b}=D;try{return pf(await C({context:"environment",path:"entries",config:Rr({query:cu(Yo(B))})}),{resolveLinks:!I,removeUnresolved:b??!1})}catch(X){Dr(X)}}return{version:"10.6.16",getSpace:async function(){return C({context:"space",path:""})},getContentType:async function(B){return C({context:"environment",path:`content_types/${B}`})},getContentTypes:async function(B={}){return C({context:"environment",path:"content_types",config:Rr({query:B})})},getAsset:async function(B,D={}){return async function(I,b,X={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){const{withAllLocales:J}=X;return ul(b,J),Jr(b),async function(ye,ae){try{return C({context:"environment",path:`assets/${ye}`,config:Rr({query:Yo(ae)})})}catch(pe){Dr(pe)}}(I,J?{...b,locale:"*"}:b)}(B,D,d)},getAssets:async function(B={}){return async function(D,I={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){const{withAllLocales:b}=I;return ul(D,b),Jr(D),async function(X){try{return C({context:"environment",path:"assets",config:Rr({query:cu(Yo(X))})})}catch(J){Dr(J)}}(b?{...D,locale:"*"}:D)}(B,d)},getTag:async function(B){return C({context:"environment",path:`tags/${B}`})},getTags:async function(B={}){return Jr(B),C({context:"environment",path:"tags",config:Rr({query:cu(Yo(B))})})},getLocales:async function(B={}){return Jr(B),C({context:"environment",path:"locales",config:Rr({query:Yo(B)})})},parseEntries:function(B){return function(D,I={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){return function(b,X){const{withoutLinkResolution:J,withoutUnresolvableLinks:ye}=X;return pf(b,{resolveLinks:!J,removeUnresolved:ye??!1})}(D,I)}(B,d)},sync:async function(B,D={paginate:!0}){return async function(I,b,X={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){sl(I),cl(I);const J={...b,...X};return function(ye){ye.defaults.baseURL=c().environmentBaseUrl}(u),Rm(u,I,J)}(B,D,d)},getEntry:async function(B,D={}){return async function(I,b,X={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){const{withAllLocales:J}=X;return ul(b,J),sl(b),cl(b),Jr(b),async function(ye,ae,pe){if(!ye)throw O(ye);try{const we=await k({"sys.id":ye,...ae},pe);if(we.items.length>0)return we.items[0];throw O(ye)}catch(we){Dr(we)}}(I,J?{...b,locale:"*"}:b,X)}(B,D,d)},getEntries:async function(B={}){return async function(D,I={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){const{withAllLocales:b}=I;return ul(D,b),sl(D),cl(D),Jr(D),k(b?{...D,locale:"*"}:D,I)}(B,d)},createAssetKey:async function(B){try{const D=Math.floor(Date.now()/1e3);(function(I,b,X){if(X=X||{},typeof b!="number")throw new Nr(I,`only numeric values are allowed for timestamps, provided type was "${typeof b}"`);if(X.maximum&&b>X.maximum)throw new Nr(I,`value (${b}) cannot be further in the future than expected maximum (${X.maximum})`);if(X.now&&b{function d(O){return function({http:_,getGlobalOptions:C},k,B){const D=hf({http:_,getGlobalOptions:C},k);return Object.defineProperty(D,"withAllLocales",{get:()=>B({...k,withAllLocales:!0})}),Object.defineProperty(D,"withoutLinkResolution",{get:()=>B({...k,withoutLinkResolution:!0})}),Object.defineProperty(D,"withoutUnresolvableLinks",{get:()=>B({...k,withoutUnresolvableLinks:!0})}),Object.create(D)}({http:u,getGlobalOptions:c},O,d)}return{...hf({http:u,getGlobalOptions:c},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1}),get withAllLocales(){return d({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})},get withoutLinkResolution(){return d({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1})},get withoutUnresolvableLinks(){return d({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0})}}};function Im(u){if(!u.accessToken)throw new TypeError("Expected parameter accessToken");if(!u.space)throw new TypeError("Expected parameter space");sl(u),cl(u);const c={resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master",...u},d=function(C,k,B,D){var I=[];k&&I.push("app ".concat(k)),B&&I.push("integration ".concat(B)),D&&I.push("feature "+D),I.push("sdk ".concat(C));var b=null;try{typeof window<"u"&&"navigator"in window&&"product"in window.navigator&&window.navigator.product==="ReactNative"?(b=lf(),I.push("platform ReactNative")):typeof process>"u"||process.browser?(b=lf(),I.push("platform browser")):(b=function(){var X=process.platform||"linux",J=process.version||"0.0.0",ye={android:"Android",aix:"Linux",darwin:"macOS",freebsd:"Linux",linux:"Linux",openbsd:"Linux",sunos:"Linux",win32:"Windows"};return X in ye?"".concat(ye[X]||"Linux","/").concat(J):null}(),I.push("platform node.js/".concat(process.versions&&process.versions.node?"v".concat(process.versions.node):process.version)))}catch{b=null}return b&&I.push("os ".concat(b)),"".concat(I.filter(function(X){return X!==""}).join("; "),";")}("contentful.js/10.6.16",c.application,c.integration);c.headers={...c.headers,"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":d};const O=rf(ym,c);if(!O.defaults.baseURL)throw new Error("Please define a baseURL");const _=uf({space:c.space,environment:c.environment,spaceBaseUrl:O.defaults.baseURL,environmentBaseUrl:`${O.defaults.baseURL}environments/${c.environment}`});return O.defaults.baseURL=_({}).environmentBaseUrl,Nm({http:O,getGlobalOptions:_})}}(),i}()})})(Ly);var Ev=Ly.exports;const Sv="_title_hqa37_1",wv={title:Sv},Ov=()=>Pe.jsxs(Pe.Fragment,{children:[Pe.jsx("div",{className:wv.title,children:"Dětský stanový tábor ve Střílkách"}),Pe.jsx("nav",{})]});/** * @remix-run/router v1.6.3 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Ie(){return Ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Bo(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function kv(){return Math.random().toString(36).substr(2,8)}function Td(e,t){return{usr:e.state,key:e.key,idx:t}}function zi(e,t,n,r){return n===void 0&&(n=null),Ie({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?ar(t):t,{state:n,key:t&&t.key||r||kv()})}function Ji(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function ar(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Cv(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,l=o.history,s=dt.Pop,a=null,f=g();f==null&&(f=0,l.replaceState(Ie({},l.state,{idx:f}),""));function g(){return(l.state||{idx:null}).idx}function p(){s=dt.Pop;let L=g(),v=L==null?null:L-f;f=L,a&&a({action:s,location:w.location,delta:v})}function h(L,v){s=dt.Push;let y=zi(w.location,L,v);n&&n(y,L),f=g()+1;let E=Td(y,f),m=w.createHref(y);try{l.pushState(E,"",m)}catch(j){if(j instanceof DOMException&&j.name==="DataCloneError")throw j;o.location.assign(m)}i&&a&&a({action:s,location:w.location,delta:1})}function x(L,v){s=dt.Replace;let y=zi(w.location,L,v);n&&n(y,L),f=g();let E=Td(y,f),m=w.createHref(y);l.replaceState(E,"",m),i&&a&&a({action:s,location:w.location,delta:0})}function S(L){let v=o.location.origin!=="null"?o.location.origin:o.location.href,y=typeof L=="string"?L:Ji(L);return Te(v,"No window.location.(origin|href) available to create URL for href: "+y),new URL(y,v)}let w={get action(){return s},get location(){return e(o,l)},listen(L){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Ld,p),a=L,()=>{o.removeEventListener(Ld,p),a=null}},createHref(L){return t(o,L)},createURL:S,encodeLocation(L){let v=S(L);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:h,replace:x,go(L){return l.go(L)}};return w}var yt;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(yt||(yt={}));const xv=new Set(["lazy","caseSensitive","path","id","index","children"]);function Lv(e){return e.index===!0}function js(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,i)=>{let l=[...n,i],s=typeof o.id=="string"?o.id:l.join("-");if(Te(o.index!==!0||!o.children,"Cannot specify children on an index route"),Te(!r[s],'Found a route id collision on id "'+s+`". Route id's must be globally unique within Data Router usages`),Lv(o)){let a=Ie({},o,t(o),{id:s});return r[s]=a,a}else{let a=Ie({},o,t(o),{id:s,children:void 0});return r[s]=a,o.children&&(a.children=js(o.children,t,l,r)),a}})}function Eo(e,t,n){n===void 0&&(n="/");let r=typeof t=="string"?ar(t):t,o=Zi(r.pathname||"/",n);if(o==null)return null;let i=Ty(e);Tv(i);let l=null;for(let s=0;l==null&&s{let a={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:l,route:i};a.relativePath.startsWith("/")&&(Te(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let f=Hr([r,a.relativePath]),g=n.concat(a);i.children&&i.children.length>0&&(Te(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+f+'".')),Ty(i.children,t,g,f)),!(i.path==null&&!i.index)&&t.push({path:f,score:Iv(f,i.index),routesMeta:g})};return e.forEach((i,l)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,l);else for(let a of by(i.path))o(i,l,a)}),t}function by(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=by(r.join("/")),s=[];return s.push(...l.map(a=>a===""?i:[i,a].join("/"))),o&&s.push(...l),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function Tv(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:jv(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const bv=/^:\w+$/,Av=3,Pv=2,Rv=1,Dv=10,Nv=-2,bd=e=>e==="*";function Iv(e,t){let n=e.split("/"),r=n.length;return n.some(bd)&&(r+=Nv),t&&(r+=Pv),n.filter(o=>!bd(o)).reduce((o,i)=>o+(bv.test(i)?Av:i===""?Rv:Dv),r)}function jv(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function Bv(e,t){let{routesMeta:n}=e,r={},o="/",i=[];for(let l=0;l{if(g==="*"){let h=s[p]||"";l=i.slice(0,i.length-h.length).replace(/(.)\/+$/,"$1")}return f[g]=zv(s[p]||"",g),f},{}),pathname:i,pathnameBase:l,pattern:e}}function Uv(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Bo(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/\/:(\w+)/g,(l,s)=>(r.push(s),"/([^\\/]+)"));return e.endsWith("*")?(r.push("*"),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function Fv(e){try{return decodeURI(e)}catch(t){return Bo(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function zv(e,t){try{return decodeURIComponent(e)}catch(n){return Bo(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+n+").")),e}}function Zi(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function $v(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?ar(e):e;return{pathname:n?n.startsWith("/")?n:Kv(n,t):t,search:Gv(r),hash:Vv(o)}}function Kv(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Mu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Ay(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Hv(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=ar(e):(o=Ie({},e),Te(!o.pathname||!o.pathname.includes("?"),Mu("?","pathname","search",o)),Te(!o.pathname||!o.pathname.includes("#"),Mu("#","pathname","hash",o)),Te(!o.search||!o.search.includes("#"),Mu("#","search","hash",o)));let i=e===""||o.pathname==="",l=i?"/":o.pathname,s;if(r||l==null)s=n;else{let p=t.length-1;if(l.startsWith("..")){let h=l.split("/");for(;h[0]==="..";)h.shift(),p-=1;o.pathname=h.join("/")}s=p>=0?t[p]:"/"}let a=$v(o,s),f=l&&l!=="/"&&l.endsWith("/"),g=(i||l===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(f||g)&&(a.pathname+="/"),a}const Hr=e=>e.join("/").replace(/\/\/+/g,"/"),Wv=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Gv=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Vv=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Bc{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function Py(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ry=["post","put","patch","delete"],Qv=new Set(Ry),Yv=["get",...Ry],qv=new Set(Yv),Xv=new Set([301,302,303,307,308]),Jv=new Set([307,308]),Uu={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Zv={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Ad={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Dy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,e1=e=>({hasErrorBoundary:!!e.hasErrorBoundary});function t1(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;Te(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let F=e.detectErrorBoundary;o=K=>({hasErrorBoundary:F(K)})}else o=e1;let i={},l=js(e.routes,o,void 0,i),s,a=e.basename||"/",f=Ie({v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),g=null,p=new Set,h=null,x=null,S=null,w=e.hydrationData!=null,L=Eo(l,e.history.location,a),v=null;if(L==null){let F=Ln(404,{pathname:e.history.location.pathname}),{matches:K,route:Y}=Bd(l);L=K,v={[Y.id]:F}}let y=!L.some(F=>F.route.lazy)&&(!L.some(F=>F.route.loader)||e.hydrationData!=null),E,m={historyAction:e.history.action,location:e.history.location,matches:L,initialized:y,navigation:Uu,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},j=dt.Pop,A=!1,R,z=!1,H=!1,W=[],ue=[],ie=new Map,se=0,U=-1,T=new Map,V=new Set,re=new Map,$=new Map,M=new Map,P=!1;function Q(){return g=e.history.listen(F=>{let{action:K,location:Y,delta:ne}=F;if(P){P=!1;return}Bo(M.size===0||ne!=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 fe=Ae({currentLocation:m.location,nextLocation:Y,historyAction:K});if(fe&&ne!=null){P=!0,e.history.go(ne*-1),xe(fe,{state:"blocked",location:Y,proceed(){xe(fe,{state:"proceeding",proceed:void 0,reset:void 0,location:Y}),e.history.go(ne)},reset(){G(fe),Z({blockers:new Map(E.state.blockers)})}});return}return Ke(K,Y)}),m.initialized||Ke(dt.Pop,m.location),E}function q(){g&&g(),p.clear(),R&&R.abort(),m.fetchers.forEach((F,K)=>nn(K)),m.blockers.forEach((F,K)=>G(K))}function le(F){return p.add(F),()=>p.delete(F)}function Z(F){m=Ie({},m,F),p.forEach(K=>K(m))}function N(F,K){var Y,ne;let fe=m.actionData!=null&&m.navigation.formMethod!=null&&Yn(m.navigation.formMethod)&&m.navigation.state==="loading"&&((Y=F.state)==null?void 0:Y._isRedirect)!==!0,me;K.actionData?Object.keys(K.actionData).length>0?me=K.actionData:me=null:fe?me=m.actionData:me=null;let ge=K.loaderData?jd(m.loaderData,K.loaderData,K.matches||[],K.errors):m.loaderData;for(let[de]of M)G(de);let ve=A===!0||m.navigation.formMethod!=null&&Yn(m.navigation.formMethod)&&((ne=F.state)==null?void 0:ne._isRedirect)!==!0;s&&(l=s,s=void 0),Z(Ie({},K,{actionData:me,loaderData:ge,historyAction:j,location:F,initialized:!0,navigation:Uu,revalidation:"idle",restoreScrollPosition:Gt(F,K.matches||m.matches),preventScrollReset:ve,blockers:new Map(m.blockers)})),z||j===dt.Pop||(j===dt.Push?e.history.push(F,F.state):j===dt.Replace&&e.history.replace(F,F.state)),j=dt.Pop,A=!1,z=!1,H=!1,W=[],ue=[]}async function Ee(F,K){if(typeof F=="number"){e.history.go(F);return}let Y=Bs(m.location,m.matches,a,f.v7_prependBasename,F,K==null?void 0:K.fromRouteId,K==null?void 0:K.relative),{path:ne,submission:fe,error:me}=Pd(f.v7_normalizeFormMethod,!1,Y,K),ge=m.location,ve=zi(m.location,ne,K&&K.state);ve=Ie({},ve,e.history.encodeLocation(ve));let de=K&&K.replace!=null?K.replace:void 0,Oe=dt.Push;de===!0?Oe=dt.Replace:de===!1||fe!=null&&Yn(fe.formMethod)&&fe.formAction===m.location.pathname+m.location.search&&(Oe=dt.Replace);let Ce=K&&"preventScrollReset"in K?K.preventScrollReset===!0:void 0,Xe=Ae({currentLocation:ge,nextLocation:ve,historyAction:Oe});if(Xe){xe(Xe,{state:"blocked",location:ve,proceed(){xe(Xe,{state:"proceeding",proceed:void 0,reset:void 0,location:ve}),Ee(F,K)},reset(){G(Xe),Z({blockers:new Map(m.blockers)})}});return}return await Ke(Oe,ve,{submission:fe,pendingError:me,preventScrollReset:Ce,replace:K&&K.replace})}function ct(){if(Mt(),Z({revalidation:"loading"}),m.navigation.state!=="submitting"){if(m.navigation.state==="idle"){Ke(m.historyAction,m.location,{startUninterruptedRevalidation:!0});return}Ke(j||m.historyAction,m.navigation.location,{overrideNavigation:m.navigation})}}async function Ke(F,K,Y){R&&R.abort(),R=null,j=F,z=(Y&&Y.startUninterruptedRevalidation)===!0,Et(m.location,m.matches),A=(Y&&Y.preventScrollReset)===!0;let ne=s||l,fe=Y&&Y.overrideNavigation,me=Eo(ne,K,a);if(!me){let Ve=Ln(404,{pathname:K.pathname}),{matches:Je,route:kt}=Bd(ne);Re(),N(K,{matches:Je,loaderData:{},errors:{[kt.id]:Ve}});return}if(m.initialized&&!H&&l1(m.location,K)&&!(Y&&Y.submission&&Yn(Y.submission.formMethod))){N(K,{matches:me});return}R=new AbortController;let ge=li(e.history,K,R.signal,Y&&Y.submission),ve,de;if(Y&&Y.pendingError)de={[So(me).route.id]:Y.pendingError};else if(Y&&Y.submission&&Yn(Y.submission.formMethod)){let Ve=await Se(ge,K,Y.submission,me,{replace:Y.replace});if(Ve.shortCircuited)return;ve=Ve.pendingActionData,de=Ve.pendingActionError,fe=Ie({state:"loading",location:K},Y.submission),ge=new Request(ge.url,{signal:ge.signal})}let{shortCircuited:Oe,loaderData:Ce,errors:Xe}=await vt(ge,K,me,fe,Y&&Y.submission,Y&&Y.fetcherSubmission,Y&&Y.replace,ve,de);Oe||(R=null,N(K,Ie({matches:me},ve?{actionData:ve}:{},{loaderData:Ce,errors:Xe})))}async function Se(F,K,Y,ne,fe){Mt();let me=Ie({state:"submitting",location:K},Y);Z({navigation:me});let ge,ve=Ms(ne,K);if(!ve.route.action&&!ve.route.lazy)ge={type:yt.error,error:Ln(405,{method:F.method,pathname:K.pathname,routeId:ve.route.id})};else if(ge=await ii("action",F,ve,ne,i,o,a),F.signal.aborted)return{shortCircuited:!0};if(Lo(ge)){let de;return fe&&fe.replace!=null?de=fe.replace:de=ge.location===m.location.pathname+m.location.search,await Ge(m,ge,{submission:Y,replace:de}),{shortCircuited:!0}}if(Oi(ge)){let de=So(ne,ve.route.id);return(fe&&fe.replace)!==!0&&(j=dt.Push),{pendingActionData:{},pendingActionError:{[de.route.id]:ge.error}}}if(zr(ge))throw Ln(400,{type:"defer-action"});return{pendingActionData:{[ve.route.id]:ge.data}}}async function vt(F,K,Y,ne,fe,me,ge,ve,de){let Oe=ne;Oe||(Oe=Ie({state:"loading",location:K,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},fe));let Ce=fe||me?fe||me:Oe.formMethod&&Oe.formAction&&Oe.formData&&Oe.formEncType?{formMethod:Oe.formMethod,formAction:Oe.formAction,formData:Oe.formData,formEncType:Oe.formEncType}:void 0,Xe=s||l,[Ve,Je]=Rd(e.history,m,Y,Ce,K,H,W,ue,re,Xe,a,ve,de);if(Re(ze=>!(Y&&Y.some(ut=>ut.route.id===ze))||Ve&&Ve.some(ut=>ut.route.id===ze)),Ve.length===0&&Je.length===0){let ze=wn();return N(K,Ie({matches:Y,loaderData:{},errors:de||null},ve?{actionData:ve}:{},ze?{fetchers:new Map(m.fetchers)}:{})),{shortCircuited:!0}}if(!z){Je.forEach(ut=>{let kn=m.fetchers.get(ut.key),rt={state:"loading",data:kn&&kn.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};m.fetchers.set(ut.key,rt)});let ze=ve||m.actionData;Z(Ie({navigation:Oe},ze?Object.keys(ze).length===0?{actionData:null}:{actionData:ze}:{},Je.length>0?{fetchers:new Map(m.fetchers)}:{}))}U=++se,Je.forEach(ze=>{ze.controller&&ie.set(ze.key,ze.controller)});let kt=()=>Je.forEach(ze=>Ut(ze.key));R&&R.signal.addEventListener("abort",kt);let{results:hn,loaderResults:ur,fetcherResults:On}=await tn(m.matches,Y,Ve,Je,F);if(F.signal.aborted)return{shortCircuited:!0};R&&R.signal.removeEventListener("abort",kt),Je.forEach(ze=>ie.delete(ze.key));let Rt=Md(hn);if(Rt)return await Ge(m,Rt,{replace:ge}),{shortCircuited:!0};let{loaderData:_n,errors:oe}=Id(m,Y,Ve,ur,de,Je,On,$);$.forEach((ze,ut)=>{ze.subscribe(kn=>{(kn||ze.done)&&$.delete(ut)})});let Le=wn(),Vt=Wn(U),Nn=Le||Vt||Je.length>0;return Ie({loaderData:_n,errors:oe},Nn?{fetchers:new Map(m.fetchers)}:{})}function at(F){return m.fetchers.get(F)||Zv}function At(F,K,Y,ne){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");ie.has(F)&&Ut(F);let fe=s||l,me=Bs(m.location,m.matches,a,f.v7_prependBasename,Y,K,ne==null?void 0:ne.relative),ge=Eo(fe,me,a);if(!ge){Pt(F,K,Ln(404,{pathname:me}));return}let{path:ve,submission:de}=Pd(f.v7_normalizeFormMethod,!0,me,ne),Oe=Ms(ge,ve);if(A=(ne&&ne.preventScrollReset)===!0,de&&Yn(de.formMethod)){Wt(F,K,ve,Oe,ge,de);return}re.set(F,{routeId:K,path:ve}),Fe(F,K,ve,Oe,ge,de)}async function Wt(F,K,Y,ne,fe,me){if(Mt(),re.delete(F),!ne.route.action&&!ne.route.lazy){let rt=Ln(405,{method:me.formMethod,pathname:Y,routeId:K});Pt(F,K,rt);return}let ge=m.fetchers.get(F),ve=Ie({state:"submitting"},me,{data:ge&&ge.data," _hasFetcherDoneAnything ":!0});m.fetchers.set(F,ve),Z({fetchers:new Map(m.fetchers)});let de=new AbortController,Oe=li(e.history,Y,de.signal,me);ie.set(F,de);let Ce=await ii("action",Oe,ne,fe,i,o,a);if(Oe.signal.aborted){ie.get(F)===de&&ie.delete(F);return}if(Lo(Ce)){ie.delete(F),V.add(F);let rt=Ie({state:"loading"},me,{data:void 0," _hasFetcherDoneAnything ":!0});return m.fetchers.set(F,rt),Z({fetchers:new Map(m.fetchers)}),Ge(m,Ce,{submission:me,isFetchActionRedirect:!0})}if(Oi(Ce)){Pt(F,K,Ce.error);return}if(zr(Ce))throw Ln(400,{type:"defer-action"});let Xe=m.navigation.location||m.location,Ve=li(e.history,Xe,de.signal),Je=s||l,kt=m.navigation.state!=="idle"?Eo(Je,m.navigation.location,a):m.matches;Te(kt,"Didn't find any matches after fetcher action");let hn=++se;T.set(F,hn);let ur=Ie({state:"loading",data:Ce.data},me,{" _hasFetcherDoneAnything ":!0});m.fetchers.set(F,ur);let[On,Rt]=Rd(e.history,m,kt,me,Xe,H,W,ue,re,Je,a,{[ne.route.id]:Ce.data},void 0);Rt.filter(rt=>rt.key!==F).forEach(rt=>{let Pr=rt.key,rl=m.fetchers.get(Pr),Go={state:"loading",data:rl&&rl.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};m.fetchers.set(Pr,Go),rt.controller&&ie.set(Pr,rt.controller)}),Z({fetchers:new Map(m.fetchers)});let _n=()=>Rt.forEach(rt=>Ut(rt.key));de.signal.addEventListener("abort",_n);let{results:oe,loaderResults:Le,fetcherResults:Vt}=await tn(m.matches,kt,On,Rt,Ve);if(de.signal.aborted)return;de.signal.removeEventListener("abort",_n),T.delete(F),ie.delete(F),Rt.forEach(rt=>ie.delete(rt.key));let Nn=Md(oe);if(Nn)return Ge(m,Nn);let{loaderData:ze,errors:ut}=Id(m,m.matches,On,Le,void 0,Rt,Vt,$);if(m.fetchers.has(F)){let rt={state:"idle",data:Ce.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};m.fetchers.set(F,rt)}let kn=Wn(hn);m.navigation.state==="loading"&&hn>U?(Te(j,"Expected pending action"),R&&R.abort(),N(m.navigation.location,{matches:kt,loaderData:ze,errors:ut,fetchers:new Map(m.fetchers)})):(Z(Ie({errors:ut,loaderData:jd(m.loaderData,ze,kt,ut)},kn||Rt.length>0?{fetchers:new Map(m.fetchers)}:{})),H=!1)}async function Fe(F,K,Y,ne,fe,me){let ge=m.fetchers.get(F),ve=Ie({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},me,{data:ge&&ge.data," _hasFetcherDoneAnything ":!0});m.fetchers.set(F,ve),Z({fetchers:new Map(m.fetchers)});let de=new AbortController,Oe=li(e.history,Y,de.signal);ie.set(F,de);let Ce=await ii("loader",Oe,ne,fe,i,o,a);if(zr(Ce)&&(Ce=await By(Ce,Oe.signal,!0)||Ce),ie.get(F)===de&&ie.delete(F),Oe.signal.aborted)return;if(Lo(Ce)){V.add(F),await Ge(m,Ce);return}if(Oi(Ce)){let Ve=So(m.matches,K);m.fetchers.delete(F),Z({fetchers:new Map(m.fetchers),errors:{[Ve.route.id]:Ce.error}});return}Te(!zr(Ce),"Unhandled fetcher deferred data");let Xe={state:"idle",data:Ce.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};m.fetchers.set(F,Xe),Z({fetchers:new Map(m.fetchers)})}async function Ge(F,K,Y){let{submission:ne,replace:fe,isFetchActionRedirect:me}=Y===void 0?{}:Y;K.revalidate&&(H=!0);let ge=zi(F.location,K.location,Ie({_isRedirect:!0},me?{_isFetchActionRedirect:!0}:{}));if(Te(ge,"Expected a location on the redirect navigation"),Dy.test(K.location)&&n){let Ve=e.history.createURL(K.location),Je=Zi(Ve.pathname,a)==null;if(t.location.origin!==Ve.origin||Je){fe?t.location.replace(K.location):t.location.assign(K.location);return}}R=null;let ve=fe===!0?dt.Replace:dt.Push,{formMethod:de,formAction:Oe,formEncType:Ce,formData:Xe}=F.navigation;!ne&&de&&Oe&&Xe&&Ce&&(ne={formMethod:de,formAction:Oe,formEncType:Ce,formData:Xe}),Jv.has(K.status)&&ne&&Yn(ne.formMethod)?await Ke(ve,ge,{submission:Ie({},ne,{formAction:K.location}),preventScrollReset:A}):me?await Ke(ve,ge,{overrideNavigation:{state:"loading",location:ge,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},fetcherSubmission:ne,preventScrollReset:A}):await Ke(ve,ge,{overrideNavigation:{state:"loading",location:ge,formMethod:ne?ne.formMethod:void 0,formAction:ne?ne.formAction:void 0,formEncType:ne?ne.formEncType:void 0,formData:ne?ne.formData:void 0},preventScrollReset:A})}async function tn(F,K,Y,ne,fe){let me=await Promise.all([...Y.map(de=>ii("loader",fe,de,K,i,o,a)),...ne.map(de=>de.matches&&de.match&&de.controller?ii("loader",li(e.history,de.path,de.controller.signal),de.match,de.matches,i,o,a):{type:yt.error,error:Ln(404,{pathname:de.path})})]),ge=me.slice(0,Y.length),ve=me.slice(Y.length);return await Promise.all([Ud(F,Y,ge,ge.map(()=>fe.signal),!1,m.loaderData),Ud(F,ne.map(de=>de.match),ve,ne.map(de=>de.controller?de.controller.signal:null),!0)]),{results:me,loaderResults:ge,fetcherResults:ve}}function Mt(){H=!0,W.push(...Re()),re.forEach((F,K)=>{ie.has(K)&&(ue.push(K),Ut(K))})}function Pt(F,K,Y){let ne=So(m.matches,K);nn(F),Z({errors:{[ne.route.id]:Y},fetchers:new Map(m.fetchers)})}function nn(F){let K=m.fetchers.get(F);ie.has(F)&&!(K&&K.state==="loading"&&T.has(F))&&Ut(F),re.delete(F),T.delete(F),V.delete(F),m.fetchers.delete(F)}function Ut(F){let K=ie.get(F);Te(K,"Expected fetch controller: "+F),K.abort(),ie.delete(F)}function Dn(F){for(let K of F){let ne={state:"idle",data:at(K).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};m.fetchers.set(K,ne)}}function wn(){let F=[],K=!1;for(let Y of V){let ne=m.fetchers.get(Y);Te(ne,"Expected fetcher: "+Y),ne.state==="loading"&&(V.delete(Y),F.push(Y),K=!0)}return Dn(F),K}function Wn(F){let K=[];for(let[Y,ne]of T)if(ne0}function te(F,K){let Y=m.blockers.get(F)||Ad;return M.get(F)!==K&&M.set(F,K),Y}function G(F){m.blockers.delete(F),M.delete(F)}function xe(F,K){let Y=m.blockers.get(F)||Ad;Te(Y.state==="unblocked"&&K.state==="blocked"||Y.state==="blocked"&&K.state==="blocked"||Y.state==="blocked"&&K.state==="proceeding"||Y.state==="blocked"&&K.state==="unblocked"||Y.state==="proceeding"&&K.state==="unblocked","Invalid blocker state transition: "+Y.state+" -> "+K.state),m.blockers.set(F,K),Z({blockers:new Map(m.blockers)})}function Ae(F){let{currentLocation:K,nextLocation:Y,historyAction:ne}=F;if(M.size===0)return;M.size>1&&Bo(!1,"A router only supports one blocker at a time");let fe=Array.from(M.entries()),[me,ge]=fe[fe.length-1],ve=m.blockers.get(me);if(!(ve&&ve.state==="proceeding")&&ge({currentLocation:K,nextLocation:Y,historyAction:ne}))return me}function Re(F){let K=[];return $.forEach((Y,ne)=>{(!F||F(ne))&&(Y.cancel(),K.push(ne),$.delete(ne))}),K}function _e(F,K,Y){if(h=F,S=K,x=Y||(ne=>ne.key),!w&&m.navigation===Uu){w=!0;let ne=Gt(m.location,m.matches);ne!=null&&Z({restoreScrollPosition:ne})}return()=>{h=null,S=null,x=null}}function Et(F,K){if(h&&x&&S){let Y=K.map(fe=>Fd(fe,m.loaderData)),ne=x(F,Y)||F.key;h[ne]=S()}}function Gt(F,K){if(h&&x&&S){let Y=K.map(me=>Fd(me,m.loaderData)),ne=x(F,Y)||F.key,fe=h[ne];if(typeof fe=="number")return fe}return null}function _t(F){i={},s=js(F,o,void 0,i)}return E={get basename(){return a},get state(){return m},get routes(){return l},initialize:Q,subscribe:le,enableScrollRestoration:_e,navigate:Ee,fetch:At,revalidate:ct,createHref:F=>e.history.createHref(F),encodeLocation:F=>e.history.encodeLocation(F),getFetcher:at,deleteFetcher:nn,dispose:q,getBlocker:te,deleteBlocker:G,_internalFetchControllers:ie,_internalActiveDeferreds:$,_internalSetRoutes:_t},E}function n1(e){return e!=null&&"formData"in e}function Bs(e,t,n,r,o,i,l){let s,a;if(i!=null&&l!=="path"){s=[];for(let g of t)if(s.push(g),g.route.id===i){a=g;break}}else s=t,a=t[t.length-1];let f=Hv(o||".",Ay(s).map(g=>g.pathnameBase),Zi(e.pathname,n)||e.pathname,l==="path");return o==null&&(f.search=e.search,f.hash=e.hash),(o==null||o===""||o===".")&&a&&a.route.index&&!Mc(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),r&&n!=="/"&&(f.pathname=f.pathname==="/"?n:Hr([n,f.pathname])),Ji(f)}function Pd(e,t,n,r){if(!r||!n1(r))return{path:n};if(r.formMethod&&!s1(r.formMethod))return{path:n,error:Ln(405,{method:r.formMethod})};let o;if(r.formData){let s=r.formMethod||"get";if(o={formMethod:e?s.toUpperCase():s.toLowerCase(),formAction:jy(n),formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:r.formData},Yn(o.formMethod))return{path:n,submission:o}}let i=ar(n),l=Iy(r.formData);return t&&i.search&&Mc(i.search)&&l.append("index",""),i.search="?"+l,{path:Ji(i),submission:o}}function r1(e,t){let n=e;if(t){let r=e.findIndex(o=>o.route.id===t);r>=0&&(n=e.slice(0,r))}return n}function Rd(e,t,n,r,o,i,l,s,a,f,g,p,h){let x=h?Object.values(h)[0]:p?Object.values(p)[0]:void 0,S=e.createURL(t.location),w=e.createURL(o),L=h?Object.keys(h)[0]:void 0,y=r1(n,L).filter((m,j)=>{if(m.route.lazy)return!0;if(m.route.loader==null)return!1;if(o1(t.loaderData,t.matches[j],m)||l.some(z=>z===m.route.id))return!0;let A=t.matches[j],R=m;return Dd(m,Ie({currentUrl:S,currentParams:A.params,nextUrl:w,nextParams:R.params},r,{actionResult:x,defaultShouldRevalidate:i||S.pathname+S.search===w.pathname+w.search||S.search!==w.search||Ny(A,R)}))}),E=[];return a.forEach((m,j)=>{if(!n.some(H=>H.route.id===m.routeId))return;let A=Eo(f,m.path,g);if(!A){E.push({key:j,routeId:m.routeId,path:m.path,matches:null,match:null,controller:null});return}let R=Ms(A,m.path);if(s.includes(j)){E.push({key:j,routeId:m.routeId,path:m.path,matches:A,match:R,controller:new AbortController});return}Dd(R,Ie({currentUrl:S,currentParams:t.matches[t.matches.length-1].params,nextUrl:w,nextParams:n[n.length-1].params},r,{actionResult:x,defaultShouldRevalidate:i}))&&E.push({key:j,routeId:m.routeId,path:m.path,matches:A,match:R,controller:new AbortController})}),[y,E]}function o1(e,t,n){let r=!t||n.route.id!==t.route.id,o=e[n.route.id]===void 0;return r||o}function Ny(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function Dd(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}async function Nd(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];Te(o,"No route found in manifest");let i={};for(let l in r){let a=o[l]!==void 0&&l!=="hasErrorBoundary";Bo(!a,'Route "'+o.id+'" has a static property "'+l+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+l+'" will be ignored.')),!a&&!xv.has(l)&&(i[l]=r[l])}Object.assign(o,i),Object.assign(o,Ie({},t(o),{lazy:void 0}))}async function ii(e,t,n,r,o,i,l,s,a,f){s===void 0&&(s=!1),a===void 0&&(a=!1);let g,p,h,x=L=>{let v,y=new Promise((E,m)=>v=m);return h=()=>v(),t.signal.addEventListener("abort",h),Promise.race([L({request:t,params:n.params,context:f}),y])};try{let L=n.route[e];if(n.route.lazy)if(L)p=(await Promise.all([x(L),Nd(n.route,i,o)]))[0];else if(await Nd(n.route,i,o),L=n.route[e],L)p=await x(L);else if(e==="action"){let v=new URL(t.url),y=v.pathname+v.search;throw Ln(405,{method:t.method,pathname:y,routeId:n.route.id})}else return{type:yt.data,data:void 0};else if(L)p=await x(L);else{let v=new URL(t.url),y=v.pathname+v.search;throw Ln(404,{pathname:y})}Te(p!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(L){g=yt.error,p=L}finally{h&&t.signal.removeEventListener("abort",h)}if(u1(p)){let L=p.status;if(Xv.has(L)){let E=p.headers.get("Location");if(Te(E,"Redirects returned/thrown from loaders/actions must have a Location header"),!Dy.test(E))E=Bs(new URL(t.url),r.slice(0,r.indexOf(n)+1),l,!0,E);else if(!s){let m=new URL(t.url),j=E.startsWith("//")?new URL(m.protocol+E):new URL(E),A=Zi(j.pathname,l)!=null;j.origin===m.origin&&A&&(E=j.pathname+j.search+j.hash)}if(s)throw p.headers.set("Location",E),p;return{type:yt.redirect,status:L,location:E,revalidate:p.headers.get("X-Remix-Revalidate")!==null}}if(a)throw{type:g||yt.data,response:p};let v,y=p.headers.get("Content-Type");return y&&/\bapplication\/json\b/.test(y)?v=await p.json():v=await p.text(),g===yt.error?{type:g,error:new Bc(L,p.statusText,v),headers:p.headers}:{type:yt.data,data:v,statusCode:p.status,headers:p.headers}}if(g===yt.error)return{type:g,error:p};if(a1(p)){var S,w;return{type:yt.deferred,deferredData:p,statusCode:(S=p.init)==null?void 0:S.status,headers:((w=p.init)==null?void 0:w.headers)&&new Headers(p.init.headers)}}return{type:yt.data,data:p}}function li(e,t,n,r){let o=e.createURL(jy(t)).toString(),i={signal:n};if(r&&Yn(r.formMethod)){let{formMethod:l,formEncType:s,formData:a}=r;i.method=l.toUpperCase(),i.body=s==="application/x-www-form-urlencoded"?Iy(a):a}return new Request(o,i)}function Iy(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,r instanceof File?r.name:r);return t}function i1(e,t,n,r,o){let i={},l=null,s,a=!1,f={};return n.forEach((g,p)=>{let h=t[p].route.id;if(Te(!Lo(g),"Cannot handle redirect results in processLoaderData"),Oi(g)){let x=So(e,h),S=g.error;r&&(S=Object.values(r)[0],r=void 0),l=l||{},l[x.route.id]==null&&(l[x.route.id]=S),i[h]=void 0,a||(a=!0,s=Py(g.error)?g.error.status:500),g.headers&&(f[h]=g.headers)}else zr(g)?(o.set(h,g.deferredData),i[h]=g.deferredData.data):i[h]=g.data,g.statusCode!=null&&g.statusCode!==200&&!a&&(s=g.statusCode),g.headers&&(f[h]=g.headers)}),r&&(l=r,i[Object.keys(r)[0]]=void 0),{loaderData:i,errors:l,statusCode:s||200,loaderHeaders:f}}function Id(e,t,n,r,o,i,l,s){let{loaderData:a,errors:f}=i1(t,n,r,o,s);for(let g=0;gr.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Bd(e){let t=e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Ln(e,t){let{pathname:n,routeId:r,method:o,type:i}=t===void 0?{}:t,l="Unknown Server Error",s="Unknown @remix-run/router error";return e===400?(l="Bad Request",o&&n&&r?s="You made a "+o+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"&&(s="defer() is not supported in actions")):e===403?(l="Forbidden",s='Route "'+r+'" does not match URL "'+n+'"'):e===404?(l="Not Found",s='No route matches URL "'+n+'"'):e===405&&(l="Method Not Allowed",o&&n&&r?s="You made a "+o.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":o&&(s='Invalid request method "'+o.toUpperCase()+'"')),new Bc(e||500,l,new Error(s),!0)}function Md(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(Lo(n))return n}}function jy(e){let t=typeof e=="string"?ar(e):e;return Ji(Ie({},t,{hash:""}))}function l1(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function zr(e){return e.type===yt.deferred}function Oi(e){return e.type===yt.error}function Lo(e){return(e&&e.type)===yt.redirect}function a1(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function u1(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function s1(e){return qv.has(e.toLowerCase())}function Yn(e){return Qv.has(e.toLowerCase())}async function Ud(e,t,n,r,o,i){for(let l=0;lp.route.id===a.route.id),g=f!=null&&!Ny(f,a)&&(i&&i[a.route.id])!==void 0;if(zr(s)&&(o||g)){let p=r[l];Te(p,"Expected an AbortSignal for revalidating fetcher deferred result"),await By(s,p,o).then(h=>{h&&(n[l]=h||n[l])})}}}async function By(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:yt.data,data:e.deferredData.unwrappedData}}catch(o){return{type:yt.error,error:o}}return{type:yt.data,data:e.deferredData.data}}}function Mc(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Fd(e,t){let{route:n,pathname:r,params:o}=e;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}function Ms(e,t){let n=typeof t=="string"?ar(t).search:t.search;if(e[e.length-1].route.index&&Mc(n||""))return e[e.length-1];let r=Ay(e);return r[r.length-1]}/** * React Router v6.12.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function Us(){return Us=Object.assign?Object.assign.bind():function(e){for(var t=1;tObject.assign({},w,{params:Object.assign({},l,w.params),pathname:Hr([s,r.encodeLocation?r.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?s:Hr([s,r.encodeLocation?r.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),o,n);return t&&S?he.createElement(Ba.Provider,{value:{location:Us({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:dt.Pop}},S):S}function d1(){let e=S1(),t=Py(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"},i=null;return he.createElement(he.Fragment,null,he.createElement("h2",null,"Unexpected Application Error!"),he.createElement("h3",{style:{fontStyle:"italic"}},t),n?he.createElement("pre",{style:o},n):null,i)}const p1=he.createElement(d1,null);class h1 extends he.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,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error?he.createElement(Ma.Provider,{value:this.props.routeContext},he.createElement(zy.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function y1(e){let{routeContext:t,match:n,children:r}=e,o=he.useContext(My);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),he.createElement(Ma.Provider,{value:t},r)}function m1(e,t,n){var r;if(t===void 0&&(t=[]),n===void 0&&(n=null),e==null){var o;if((o=n)!=null&&o.errors)e=n.matches;else return null}let i=e,l=(r=n)==null?void 0:r.errors;if(l!=null){let s=i.findIndex(a=>a.route.id&&(l==null?void 0:l[a.route.id]));s>=0||Te(!1),i=i.slice(0,Math.min(i.length,s+1))}return i.reduceRight((s,a,f)=>{let g=a.route.id?l==null?void 0:l[a.route.id]:null,p=null;n&&(p=a.route.errorElement||p1);let h=t.concat(i.slice(0,f+1)),x=()=>{let S;return g?S=p:a.route.Component?S=he.createElement(a.route.Component,null):a.route.element?S=a.route.element:S=s,he.createElement(y1,{match:a,routeContext:{outlet:s,matches:h,isDataRoute:n!=null},children:S})};return n&&(a.route.ErrorBoundary||a.route.errorElement||f===0)?he.createElement(h1,{location:n.location,revalidation:n.revalidation,component:p,error:g,children:x(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):x()},null)}var zd;(function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate"})(zd||(zd={}));var ya;(function(e){e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId"})(ya||(ya={}));function g1(e){let t=he.useContext(Uy);return t||Te(!1),t}function v1(e){let t=he.useContext(Ma);return t||Te(!1),t}function E1(e){let t=v1(),n=t.matches[t.matches.length-1];return n.route.id||Te(!1),n.route.id}function S1(){var e;let t=he.useContext(zy),n=g1(ya.UseRouteError),r=E1(ya.UseRouteError);return t||((e=n.errors)==null?void 0:e[r])}const $d="startTransition";function w1(e){let{fallbackElement:t,router:n}=e,[r,o]=he.useState(n.state),i=he.useCallback(f=>{$d in Hl?Hl[$d](()=>o(f)):o(f)},[o]);he.useLayoutEffect(()=>n.subscribe(i),[n,i]);let l=he.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:f=>n.navigate(f),push:(f,g,p)=>n.navigate(f,{state:g,preventScrollReset:p==null?void 0:p.preventScrollReset}),replace:(f,g,p)=>n.navigate(f,{replace:!0,state:g,preventScrollReset:p==null?void 0:p.preventScrollReset})}),[n]),s=n.basename||"/",a=he.useMemo(()=>({router:n,navigator:l,static:!1,basename:s}),[n,l,s]);return he.createElement(he.Fragment,null,he.createElement(My.Provider,{value:a},he.createElement(Uy.Provider,{value:r},he.createElement(_1,{basename:s,location:r.location,navigationType:r.historyAction,navigator:l},r.initialized?he.createElement(O1,{routes:n.routes,state:r}):t))),null)}function O1(e){let{routes:t,state:n}=e;return f1(t,void 0,n)}function _1(e){let{basename:t="/",children:n=null,location:r,navigationType:o=dt.Pop,navigator:i,static:l=!1}=e;Uc()&&Te(!1);let s=t.replace(/^\/*/,"/"),a=he.useMemo(()=>({basename:s,navigator:i,static:l}),[s,i,l]);typeof r=="string"&&(r=ar(r));let{pathname:f="/",search:g="",hash:p="",state:h=null,key:x="default"}=r,S=he.useMemo(()=>{let w=Zi(f,s);return w==null?null:{location:{pathname:w,search:g,hash:p,state:h,key:x},navigationType:o}},[s,f,g,p,h,x,o]);return S==null?null:he.createElement(Fy.Provider,{value:a},he.createElement(Ba.Provider,{children:n,value:S}))}var Kd;(function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"})(Kd||(Kd={}));new Promise(()=>{});function k1(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:he.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:he.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.12.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function ma(){return ma=Object.assign?Object.assign.bind():function(e){for(var t=1;t{(async()=>{const s=await n.getEntries({content_type:"landing-page"});return console.log(s.items),t(s.items)})()},[]),e==null)return Pe.jsx(Pe.Fragment,{});const r=e.filter(l=>l.sys.id!=="7IShhDv8NE55WfsQf4RKuW")[0],o=e.filter(l=>l.sys.id==="7IShhDv8NE55WfsQf4RKuW")[0],i=C1([{path:"/",element:Pe.jsx(xd,{title:r.fields.title,content:r.fields.content})},{path:"/prihlaska",element:Pe.jsx(xd,{title:o.fields.title,content:o.fields.content})},{element:Pe.jsx("h1",{children:"Stránka nenalezena."}),path:"*"}],{basename:{}.VITE_BASENAME});return Pe.jsxs(Pe.Fragment,{children:[Pe.jsx(Ov,{}),Pe.jsxs("div",{style:{backgroundColor:"#ffe6b8",padding:"1rem",marginBlockStart:"2rem"},children:["Naše webové stránky jsou v rekonstrukci, děkujeme za trpělivost. V případě dotazů prosím kontaktuje hlavního vedoucího ",Pe.jsx("b",{children:"Karla Košnara"})," ","na emailové adrese ",Pe.jsx("b",{children:"karel.kosnar (zavináč) gmail.com"})," nebo na telefonu ",Pe.jsx("b",{children:"608 906 987"}),"."]}),Pe.jsx(w1,{router:i})]})}function tt(){return tt=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=$y(e[n])}),t}function er(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return io(e)&&io(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(io(t[o])&&o in e&&io(e[o])?r[o]=er(e[o],t[o],n):n.clone?r[o]=io(t[o])?$y(t[o]):t[o]:r[o]=t[o])}),r}function Mo(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{if(r.toString().match(/^(components|slots)$/))n[r]={...e[r],...n[r]};else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]={...i},Object.keys(o).forEach(l=>{n[r][l]=Hy(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function b1(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}function A1(e){if(e.sheet)return e.sheet;for(var t=0;t0?Lt(Ho,--en):0,Uo--,pt===10&&(Uo=1,Fa--),pt}function sn(){return pt=en2||Ki(pt)>3?"":" "}function K1(e,t){for(;--t&&sn()&&!(pt<48||pt>102||pt>57&&pt<65||pt>70&&pt<97););return el(e,zl()+(t<6&&Hn()==32&&sn()==32))}function zs(e){for(;sn();)switch(pt){case e:return en;case 34:case 39:e!==34&&e!==39&&zs(pt);break;case 40:e===41&&zs(e);break;case 92:sn();break}return en}function H1(e,t){for(;sn()&&e+pt!==47+10;)if(e+pt===42+42&&Hn()===47)break;return"/*"+el(t,en-1)+"*"+Ua(e===47?e:sn())}function W1(e){for(;!Ki(Hn());)sn();return el(e,en)}function G1(e){return qy(Kl("",null,null,null,[""],e=Yy(e),0,[0],e))}function Kl(e,t,n,r,o,i,l,s,a){for(var f=0,g=0,p=l,h=0,x=0,S=0,w=1,L=1,v=1,y=0,E="",m=o,j=i,A=r,R=E;L;)switch(S=y,y=sn()){case 40:if(S!=108&&Lt(R,p-1)==58){Fs(R+=Ne($l(y),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:R+=$l(y);break;case 9:case 10:case 13:case 32:R+=$1(S);break;case 92:R+=K1(zl()-1,7);continue;case 47:switch(Hn()){case 42:case 47:Tl(V1(H1(sn(),zl()),t,n),a);break;default:R+="/"}break;case 123*w:s[f++]=Mn(R)*v;case 125*w:case 59:case 0:switch(y){case 0:case 125:L=0;case 59+g:v==-1&&(R=Ne(R,/\f/g,"")),x>0&&Mn(R)-p&&Tl(x>32?Vd(R+";",r,n,p-1):Vd(Ne(R," ","")+";",r,n,p-2),a);break;case 59:R+=";";default:if(Tl(A=Gd(R,t,n,f,g,o,s,E,m=[],j=[],p),i),y===123)if(g===0)Kl(R,t,A,A,m,i,p,s,j);else switch(h===99&&Lt(R,3)===110?100:h){case 100:case 108:case 109:case 115:Kl(e,A,A,r&&Tl(Gd(e,A,A,0,0,o,s,E,o,m=[],p),j),o,j,p,s,r?m:j);break;default:Kl(R,A,A,A,[""],j,0,s,j)}}f=g=x=0,w=v=1,E=R="",p=l;break;case 58:p=1+Mn(R),x=S;default:if(w<1){if(y==123)--w;else if(y==125&&w++==0&&z1()==125)continue}switch(R+=Ua(y),y*w){case 38:v=g>0?1:(R+="\f",-1);break;case 44:s[f++]=(Mn(R)-1)*v,v=1;break;case 64:Hn()===45&&(R+=$l(sn())),h=Hn(),g=p=Mn(E=R+=W1(zl())),y++;break;case 45:S===45&&Mn(R)==2&&(w=0)}}return i}function Gd(e,t,n,r,o,i,l,s,a,f,g){for(var p=o-1,h=o===0?i:[""],x=$c(h),S=0,w=0,L=0;S0?h[v]+" "+y:Ne(y,/&\f/g,h[v])))&&(a[L++]=E);return za(e,t,n,o===0?Fc:s,a,f,g)}function V1(e,t,n){return za(e,t,n,Wy,Ua(F1()),$i(e,2,-2),0)}function Vd(e,t,n,r){return za(e,t,n,zc,$i(e,0,r),$i(e,r+1,-1),r)}function To(e,t){for(var n="",r=$c(e),o=0;o6)switch(Lt(e,t+1)){case 109:if(Lt(e,t+4)!==45)break;case 102:return Ne(e,/(.+:)(.+)-([^]+)/,"$1"+De+"$2-$3$1"+ga+(Lt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Fs(e,"stretch")?Xy(Ne(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Lt(e,t+1)!==115)break;case 6444:switch(Lt(e,Mn(e)-3-(~Fs(e,"!important")&&10))){case 107:return Ne(e,":",":"+De)+e;case 101:return Ne(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+De+(Lt(e,14)===45?"inline-":"")+"box$3$1"+De+"$2$3$1"+It+"$2box$3")+e}break;case 5936:switch(Lt(e,t+11)){case 114:return De+e+It+Ne(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return De+e+It+Ne(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return De+e+It+Ne(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return De+e+It+e+e}return e}var nE=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case zc:t.return=Xy(t.value,t.length);break;case Gy:return To([ai(t,{value:Ne(t.value,"@","@"+De)})],o);case Fc:if(t.length)return U1(t.props,function(i){switch(M1(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return To([ai(t,{props:[Ne(i,/:(read-\w+)/,":"+ga+"$1")]})],o);case"::placeholder":return To([ai(t,{props:[Ne(i,/:(plac\w+)/,":"+De+"input-$1")]}),ai(t,{props:[Ne(i,/:(plac\w+)/,":"+ga+"$1")]}),ai(t,{props:[Ne(i,/:(plac\w+)/,It+"input-$1")]})],o)}return""})}},rE=[nE],oE=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(w){var L=w.getAttribute("data-emotion");L.indexOf(" ")!==-1&&(document.head.appendChild(w),w.setAttribute("data-s",""))})}var o=t.stylisPlugins||rE,i={},l,s=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(w){for(var L=w.getAttribute("data-emotion").split(" "),v=1;v=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var gE={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},vE=/[A-Z]|^ms/g,EE=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nm=function(t){return t.charCodeAt(1)===45},Yd=function(t){return t!=null&&typeof t!="boolean"},Fu=b1(function(e){return nm(e)?e:e.replace(vE,"-$&").toLowerCase()}),qd=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(EE,function(r,o,i){return Un={name:o,styles:i,next:Un},o})}return gE[t]!==1&&!nm(t)&&typeof n=="number"&&n!==0?n+"px":n};function Hi(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Un={name:n.name,styles:n.styles,next:Un},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Un={name:r.name,styles:r.styles,next:Un},r=r.next;var o=n.styles+";";return o}return SE(e,t,n)}case"function":{if(e!==void 0){var i=Un,l=n(e);return Un=i,Hi(e,t,l)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function SE(e,t,n){var r="";if(Array.isArray(n))for(var o=0;ot(CE(o)?n:o):t;return Pe.jsx(kE,{styles:r})}function Wo(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}const LE=["values","unit","step"],TE=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>tt({},n,{[r.key]:r.val}),{})};function bE(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Wo(e,LE),i=TE(t),l=Object.keys(i);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function a(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function f(h,x){const S=l.indexOf(x);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(S!==-1&&typeof t[l[S]]=="number"?t[l[S]]:x)-r/100}${n})`}function g(h){return l.indexOf(h)+1`@media (min-width:${Gc[e]}px)`};function ir(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Zd;return t.reduce((l,s,a)=>(l[i.up(i.keys[a])]=n(t[a]),l),{})}if(typeof t=="object"){const i=r.breakpoints||Zd;return Object.keys(t).reduce((l,s)=>{if(Object.keys(i.values||Gc).indexOf(s)!==-1){const a=i.up(s);l[a]=n(t[s],s)}else{const a=s;l[a]=t[a]}return l},{})}return n(t)}function RE(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function DE(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ja(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function va(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Ja(e,n)||r,t&&(o=t(o,r,e)),o}function Be(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=l=>{if(l[t]==null)return null;const s=l[t],a=l.theme,f=Ja(a,r)||{};return ir(l,s,p=>{let h=va(f,o,p);return p===h&&typeof p=="string"&&(h=va(f,o,`${t}${p==="default"?"":Ky(p)}`,p)),n===!1?h:{[n]:h}})};return i.propTypes={},i.filterProps=[t],i}function NE(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const IE={m:"margin",p:"padding"},jE={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ep={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},BE=NE(e=>{if(e.length>2)if(ep[e])e=ep[e];else return[e];const[t,n]=e.split(""),r=IE[t],o=jE[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Vc=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Qc=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Vc,...Qc];function tl(e,t,n,r){var o;const i=(o=Ja(e,t,!1))!=null?o:n;return typeof i=="number"?l=>typeof l=="string"?l:i*l:Array.isArray(i)?l=>typeof l=="string"?l:i[l]:typeof i=="function"?i:()=>{}}function im(e){return tl(e,"spacing",8)}function nl(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function ME(e,t){return n=>e.reduce((r,o)=>(r[o]=nl(t,n),r),{})}function UE(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=BE(n),i=ME(o,r),l=e[n];return ir(e,l,i)}function lm(e,t){const n=im(e.theme);return Object.keys(e).map(r=>UE(e,t,r,n)).reduce(_i,{})}function ot(e){return lm(e,Vc)}ot.propTypes={};ot.filterProps=Vc;function it(e){return lm(e,Qc)}it.propTypes={};it.filterProps=Qc;function FE(e=8){if(e.mui)return e;const t=im({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const l=t(i);return typeof l=="number"?`${l}px`:l}).join(" ");return n.mui=!0,n}function Za(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(i=>{r[i]=o}),r),{}),n=r=>Object.keys(r).reduce((o,i)=>t[i]?_i(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function zn(e){return typeof e!="number"?e:`${e}px solid`}const zE=Be({prop:"border",themeKey:"borders",transform:zn}),$E=Be({prop:"borderTop",themeKey:"borders",transform:zn}),KE=Be({prop:"borderRight",themeKey:"borders",transform:zn}),HE=Be({prop:"borderBottom",themeKey:"borders",transform:zn}),WE=Be({prop:"borderLeft",themeKey:"borders",transform:zn}),GE=Be({prop:"borderColor",themeKey:"palette"}),VE=Be({prop:"borderTopColor",themeKey:"palette"}),QE=Be({prop:"borderRightColor",themeKey:"palette"}),YE=Be({prop:"borderBottomColor",themeKey:"palette"}),qE=Be({prop:"borderLeftColor",themeKey:"palette"}),eu=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=tl(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:nl(t,r)});return ir(e,e.borderRadius,n)}return null};eu.propTypes={};eu.filterProps=["borderRadius"];Za(zE,$E,KE,HE,WE,GE,VE,QE,YE,qE,eu);const tu=e=>{if(e.gap!==void 0&&e.gap!==null){const t=tl(e.theme,"spacing",8),n=r=>({gap:nl(t,r)});return ir(e,e.gap,n)}return null};tu.propTypes={};tu.filterProps=["gap"];const nu=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=tl(e.theme,"spacing",8),n=r=>({columnGap:nl(t,r)});return ir(e,e.columnGap,n)}return null};nu.propTypes={};nu.filterProps=["columnGap"];const ru=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=tl(e.theme,"spacing",8),n=r=>({rowGap:nl(t,r)});return ir(e,e.rowGap,n)}return null};ru.propTypes={};ru.filterProps=["rowGap"];const XE=Be({prop:"gridColumn"}),JE=Be({prop:"gridRow"}),ZE=Be({prop:"gridAutoFlow"}),eS=Be({prop:"gridAutoColumns"}),tS=Be({prop:"gridAutoRows"}),nS=Be({prop:"gridTemplateColumns"}),rS=Be({prop:"gridTemplateRows"}),oS=Be({prop:"gridTemplateAreas"}),iS=Be({prop:"gridArea"});Za(tu,nu,ru,XE,JE,ZE,eS,tS,nS,rS,oS,iS);function bo(e,t){return t==="grey"?t:e}const lS=Be({prop:"color",themeKey:"palette",transform:bo}),aS=Be({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:bo}),uS=Be({prop:"backgroundColor",themeKey:"palette",transform:bo});Za(lS,aS,uS);function ln(e){return e<=1&&e!==0?`${e*100}%`:e}const sS=Be({prop:"width",transform:ln}),Yc=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o,i;return{maxWidth:((r=e.theme)==null||(o=r.breakpoints)==null||(i=o.values)==null?void 0:i[n])||Gc[n]||ln(n)}};return ir(e,e.maxWidth,t)}return null};Yc.filterProps=["maxWidth"];const cS=Be({prop:"minWidth",transform:ln}),fS=Be({prop:"height",transform:ln}),dS=Be({prop:"maxHeight",transform:ln}),pS=Be({prop:"minHeight",transform:ln});Be({prop:"size",cssProperty:"width",transform:ln});Be({prop:"size",cssProperty:"height",transform:ln});const hS=Be({prop:"boxSizing"});Za(sS,Yc,cS,fS,dS,pS,hS);const yS={border:{themeKey:"borders",transform:zn},borderTop:{themeKey:"borders",transform:zn},borderRight:{themeKey:"borders",transform:zn},borderBottom:{themeKey:"borders",transform:zn},borderLeft:{themeKey:"borders",transform:zn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:eu},color:{themeKey:"palette",transform:bo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:bo},backgroundColor:{themeKey:"palette",transform:bo},p:{style:it},pt:{style:it},pr:{style:it},pb:{style:it},pl:{style:it},px:{style:it},py:{style:it},padding:{style:it},paddingTop:{style:it},paddingRight:{style:it},paddingBottom:{style:it},paddingLeft:{style:it},paddingX:{style:it},paddingY:{style:it},paddingInline:{style:it},paddingInlineStart:{style:it},paddingInlineEnd:{style:it},paddingBlock:{style:it},paddingBlockStart:{style:it},paddingBlockEnd:{style:it},m:{style:ot},mt:{style:ot},mr:{style:ot},mb:{style:ot},ml:{style:ot},mx:{style:ot},my:{style:ot},margin:{style:ot},marginTop:{style:ot},marginRight:{style:ot},marginBottom:{style:ot},marginLeft:{style:ot},marginX:{style:ot},marginY:{style:ot},marginInline:{style:ot},marginInlineStart:{style:ot},marginInlineEnd:{style:ot},marginBlock:{style:ot},marginBlockStart:{style:ot},marginBlockEnd:{style:ot},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:tu},rowGap:{style:ru},columnGap:{style:nu},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ln},maxWidth:{style:Yc},minWidth:{transform:ln},height:{transform:ln},maxHeight:{transform:ln},minHeight:{transform:ln},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},qc=yS;function mS(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function gS(e,t){return typeof e=="function"?e(t):e}function vS(){function e(n,r,o,i){const l={[n]:r,theme:o},s=i[n];if(!s)return{[n]:r};const{cssProperty:a=n,themeKey:f,transform:g,style:p}=s;if(r==null)return null;if(f==="typography"&&r==="inherit")return{[n]:r};const h=Ja(o,f)||{};return p?p(l):ir(l,r,S=>{let w=va(h,g,S);return S===w&&typeof S=="string"&&(w=va(h,g,`${n}${S==="default"?"":Ky(S)}`,S)),a===!1?w:{[a]:w}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:qc;function s(a){let f=a;if(typeof a=="function")f=a(i);else if(typeof a!="object")return a;if(!f)return null;const g=RE(i.breakpoints),p=Object.keys(g);let h=g;return Object.keys(f).forEach(x=>{const S=gS(f[x],i);if(S!=null)if(typeof S=="object")if(l[x])h=_i(h,e(x,S,i,l));else{const w=ir({theme:i},S,L=>({[x]:L}));mS(w,S)?h[x]=t({sx:S,theme:i}):h=_i(h,w)}else h=_i(h,e(x,S,i,l))}),DE(p,h)}return Array.isArray(o)?o.map(s):s(o)}return t}const am=vS();am.filterProps=["sx"];const um=am,ES=["breakpoints","palette","spacing","shape"];function sm(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=Wo(e,ES),s=bE(n),a=FE(o);let f=er({breakpoints:s,direction:"ltr",components:{},palette:tt({mode:"light"},r),spacing:a,shape:tt({},PE,i)},l);return f=t.reduce((g,p)=>er(g,p),f),f.unstable_sxConfig=tt({},qc,l==null?void 0:l.unstable_sxConfig),f.unstable_sx=function(p){return um({sx:p,theme:this})},f}function SS(e){return Object.keys(e).length===0}function wS(e=null){const t=he.useContext(om);return!t||SS(t)?e:t}const OS=sm();function cm(e=OS){return wS(e)}function _S({styles:e,themeId:t,defaultTheme:n={}}){const r=cm(n),o=typeof e=="function"?e(t&&r[t]||r):e;return Pe.jsx(xE,{styles:o})}function kS(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Hy(t.components[n].defaultProps,r)}function CS({props:e,name:t,defaultTheme:n,themeId:r}){let o=cm(n);return r&&(o=o[r]||o),kS({theme:o,name:t,props:e})}function fm(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function xS(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Fo(e){if(e.type)return e;if(e.charAt(0)==="#")return Fo(xS(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Mo(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(Mo(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function Xc(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function LS(e){e=Fo(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(f,g=(f+n/30)%12)=>o-i*Math.max(Math.min(g-3,9-g,1),-1);let s="rgb";const a=[Math.round(l(0)*255),Math.round(l(8)*255),Math.round(l(4)*255)];return e.type==="hsla"&&(s+="a",a.push(t[3])),Xc({type:s,values:a})}function tp(e){e=Fo(e);let t=e.type==="hsl"||e.type==="hsla"?Fo(LS(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function TS(e,t){const n=tp(e),r=tp(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function bS(e,t){if(e=Fo(e),t=fm(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Xc(e)}function AS(e,t){if(e=Fo(e),t=fm(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Xc(e)}function PS(e,t){return tt({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const RS={black:"#000",white:"#fff"},Wi=RS,DS={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},NS=DS,IS={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},eo=IS,jS={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},to=jS,BS={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ui=BS,MS={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},no=MS,US={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ro=US,FS={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},oo=FS,zS=["mode","contrastThreshold","tonalOffset"],np={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Wi.white,default:Wi.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},zu={text:{primary:Wi.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Wi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function rp(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=AS(e.main,o):t==="dark"&&(e.dark=bS(e.main,i)))}function $S(e="light"){return e==="dark"?{main:no[200],light:no[50],dark:no[400]}:{main:no[700],light:no[400],dark:no[800]}}function KS(e="light"){return e==="dark"?{main:eo[200],light:eo[50],dark:eo[400]}:{main:eo[500],light:eo[300],dark:eo[700]}}function HS(e="light"){return e==="dark"?{main:to[500],light:to[300],dark:to[700]}:{main:to[700],light:to[400],dark:to[800]}}function WS(e="light"){return e==="dark"?{main:ro[400],light:ro[300],dark:ro[700]}:{main:ro[700],light:ro[500],dark:ro[900]}}function GS(e="light"){return e==="dark"?{main:oo[400],light:oo[300],dark:oo[700]}:{main:oo[800],light:oo[500],dark:oo[900]}}function VS(e="light"){return e==="dark"?{main:ui[400],light:ui[300],dark:ui[700]}:{main:"#ed6c02",light:ui[500],dark:ui[900]}}function QS(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Wo(e,zS),i=e.primary||$S(t),l=e.secondary||KS(t),s=e.error||HS(t),a=e.info||WS(t),f=e.success||GS(t),g=e.warning||VS(t);function p(w){return TS(w,zu.text.primary)>=n?zu.text.primary:np.text.primary}const h=({color:w,name:L,mainShade:v=500,lightShade:y=300,darkShade:E=700})=>{if(w=tt({},w),!w.main&&w[v]&&(w.main=w[v]),!w.hasOwnProperty("main"))throw new Error(Mo(11,L?` (${L})`:"",v));if(typeof w.main!="string")throw new Error(Mo(12,L?` (${L})`:"",JSON.stringify(w.main)));return rp(w,"light",y,r),rp(w,"dark",E,r),w.contrastText||(w.contrastText=p(w.main)),w},x={dark:zu,light:np};return er(tt({common:tt({},Wi),mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:g,name:"warning"}),info:h({color:a,name:"info"}),success:h({color:f,name:"success"}),grey:NS,contrastThreshold:n,getContrastText:p,augmentColor:h,tonalOffset:r},x[t]),o)}const YS=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function qS(e){return Math.round(e*1e5)/1e5}const op={textTransform:"uppercase"},ip='"Roboto", "Helvetica", "Arial", sans-serif';function XS(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=ip,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:f=16,allVariants:g,pxToRem:p}=n,h=Wo(n,YS),x=o/14,S=p||(v=>`${v/f*x}rem`),w=(v,y,E,m,j)=>tt({fontFamily:r,fontWeight:v,fontSize:S(y),lineHeight:E},r===ip?{letterSpacing:`${qS(m/y)}em`}:{},j,g),L={h1:w(i,96,1.167,-1.5),h2:w(i,60,1.2,-.5),h3:w(l,48,1.167,0),h4:w(l,34,1.235,.25),h5:w(l,24,1.334,0),h6:w(s,20,1.6,.15),subtitle1:w(l,16,1.75,.15),subtitle2:w(s,14,1.57,.1),body1:w(l,16,1.5,.15),body2:w(l,14,1.43,.15),button:w(s,14,1.75,.4,op),caption:w(l,12,1.66,.4),overline:w(l,12,2.66,1,op),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return er(tt({htmlFontSize:f,pxToRem:S,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:s,fontWeightBold:a},L),h,{clone:!1})}const JS=.2,ZS=.14,ew=.12;function Ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${JS})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ZS})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${ew})`].join(",")}const tw=["none",Ye(0,2,1,-1,0,1,1,0,0,1,3,0),Ye(0,3,1,-2,0,2,2,0,0,1,5,0),Ye(0,3,3,-2,0,3,4,0,0,1,8,0),Ye(0,2,4,-1,0,4,5,0,0,1,10,0),Ye(0,3,5,-1,0,5,8,0,0,1,14,0),Ye(0,3,5,-1,0,6,10,0,0,1,18,0),Ye(0,4,5,-2,0,7,10,1,0,2,16,1),Ye(0,5,5,-3,0,8,10,1,0,3,14,2),Ye(0,5,6,-3,0,9,12,1,0,3,16,2),Ye(0,6,6,-3,0,10,14,1,0,4,18,3),Ye(0,6,7,-4,0,11,15,1,0,4,20,3),Ye(0,7,8,-4,0,12,17,2,0,5,22,4),Ye(0,7,8,-4,0,13,19,2,0,5,24,4),Ye(0,7,9,-4,0,14,21,2,0,5,26,4),Ye(0,8,9,-5,0,15,22,2,0,6,28,5),Ye(0,8,10,-5,0,16,24,2,0,6,30,5),Ye(0,8,11,-5,0,17,26,2,0,6,32,5),Ye(0,9,11,-5,0,18,28,2,0,7,34,6),Ye(0,9,12,-6,0,19,29,2,0,7,36,6),Ye(0,10,13,-6,0,20,31,3,0,8,38,7),Ye(0,10,13,-6,0,21,33,3,0,8,40,7),Ye(0,10,14,-6,0,22,35,3,0,8,42,7),Ye(0,11,14,-7,0,23,36,3,0,9,44,8),Ye(0,11,15,-7,0,24,38,3,0,9,46,8)],nw=tw,rw=["duration","easing","delay"],ow={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},iw={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function lp(e){return`${Math.round(e)}ms`}function lw(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function aw(e){const t=tt({},ow,e.easing),n=tt({},iw,e.duration);return tt({getAutoHeightDuration:lw,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:s=t.easeInOut,delay:a=0}=i;return Wo(i,rw),(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof l=="string"?l:lp(l)} ${s} ${typeof a=="string"?a:lp(a)}`).join(",")}},e,{easing:t,duration:n})}const uw={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},sw=uw,cw=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function fw(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=Wo(e,cw);if(e.vars)throw new Error(Mo(18));const s=QS(r),a=sm(e);let f=er(a,{mixins:PS(a.breakpoints,n),palette:s,shadows:nw.slice(),typography:XS(s,i),transitions:aw(o),zIndex:tt({},sw)});return f=er(f,l),f=t.reduce((g,p)=>er(g,p),f),f.unstable_sxConfig=tt({},qc,l==null?void 0:l.unstable_sxConfig),f.unstable_sx=function(p){return um({sx:p,theme:this})},f}const dw=fw(),dm=dw,pm="$$material";function pw({props:e,name:t}){return CS({props:e,name:t,defaultTheme:dm,themeId:pm})}function hw(e){return Pe.jsx(_S,tt({},e,{defaultTheme:dm,themeId:pm}))}const yw=(e,t)=>tt({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),mw=e=>tt({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),gw=(e,t=!1)=>{var n,r;const o={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([s,a])=>{var f;o[e.getColorSchemeSelector(s).replace(/\s*&/,"")]={colorScheme:(f=a.palette)==null?void 0:f.mode}});let i=tt({html:yw(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:tt({margin:0},mw(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},o);const l=(n=e.components)==null||(r=n.MuiCssBaseline)==null?void 0:r.styleOverrides;return l&&(i=[i,l]),i};function vw(e){const t=pw({props:e,name:"MuiCssBaseline"}),{children:n,enableColorScheme:r=!1}=t;return Pe.jsxs(he.Fragment,{children:[Pe.jsx(hw,{styles:o=>gw(o,r)}),n]})}$u.createRoot(document.getElementById("root")).render(Pe.jsxs(mp.StrictMode,{children:[Pe.jsx(vw,{}),Pe.jsx(T1,{})]}));