From c52060b4deb618f24e6b931f3adac4195ac1b3af Mon Sep 17 00:00:00 2001 From: JoelHKV Date: Thu, 28 Sep 2023 03:25:36 +0200 Subject: [PATCH] Updates --- assets/index.099ff3c6.js | 209 --------------------------------------- assets/index.29070d84.js | 209 +++++++++++++++++++++++++++++++++++++++ index.html | 2 +- 3 files changed, 210 insertions(+), 210 deletions(-) delete mode 100644 assets/index.099ff3c6.js create mode 100644 assets/index.29070d84.js diff --git a/assets/index.099ff3c6.js b/assets/index.099ff3c6.js deleted file mode 100644 index 8b334cb..0000000 --- a/assets/index.099ff3c6.js +++ /dev/null @@ -1,209 +0,0 @@ -function Zy(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)}})();function eg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var b={exports:{}},V={};/** - * @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 ai=Symbol.for("react.element"),tg=Symbol.for("react.portal"),ng=Symbol.for("react.fragment"),rg=Symbol.for("react.strict_mode"),og=Symbol.for("react.profiler"),ig=Symbol.for("react.provider"),lg=Symbol.for("react.context"),sg=Symbol.for("react.forward_ref"),ag=Symbol.for("react.suspense"),ug=Symbol.for("react.memo"),cg=Symbol.for("react.lazy"),Of=Symbol.iterator;function fg(e){return e===null||typeof e!="object"?null:(e=Of&&e[Of]||e["@@iterator"],typeof e=="function"?e:null)}var Zp={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},eh=Object.assign,th={};function Yr(e,t,n){this.props=e,this.context=t,this.refs=th,this.updater=n||Zp}Yr.prototype.isReactComponent={};Yr.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")};Yr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function nh(){}nh.prototype=Yr.prototype;function Yu(e,t,n){this.props=e,this.context=t,this.refs=th,this.updater=n||Zp}var Xu=Yu.prototype=new nh;Xu.constructor=Yu;eh(Xu,Yr.prototype);Xu.isPureReactComponent=!0;var Rf=Array.isArray,rh=Object.prototype.hasOwnProperty,Ju={current:null},oh={key:!0,ref:!0,__self:!0,__source:!0};function ih(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)rh.call(t,r)&&!oh.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,X=P[F];if(0>>1;Fo(dt,L))Beo(lr,dt)?(P[F]=lr,P[Be]=L,F=Be):(P[F]=dt,P[ge]=L,F=ge);else if(Beo(lr,L))P[F]=lr,P[Be]=L,F=Be;else break e}}return _}function o(P,_){var L=P.sortIndex-_.sortIndex;return L!==0?L:P.id-_.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=[],u=[],c=1,d=null,f=3,g=!1,p=!1,h=!1,w=typeof setTimeout=="function"?setTimeout:null,m=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 v(P){for(var _=n(u);_!==null;){if(_.callback===null)r(u);else if(_.startTime<=P)r(u),_.sortIndex=_.expirationTime,t(a,_);else break;_=n(u)}}function S(P){if(h=!1,v(P),!p)if(n(a)!==null)p=!0,B(x);else{var _=n(u);_!==null&&G(S,_.startTime-P)}}function x(P,_){p=!1,h&&(h=!1,m(R),R=-1),g=!0;var L=f;try{for(v(_),d=n(a);d!==null&&(!(d.expirationTime>_)||P&&!A());){var F=d.callback;if(typeof F=="function"){d.callback=null,f=d.priorityLevel;var X=F(d.expirationTime<=_);_=e.unstable_now(),typeof X=="function"?d.callback=X:d===n(a)&&r(a),v(_)}else r(a);d=n(a)}if(d!==null)var Ke=!0;else{var ge=n(u);ge!==null&&G(S,ge.startTime-_),Ke=!1}return Ke}finally{d=null,f=L,g=!1}}var T=!1,E=null,R=-1,I=5,k=-1;function A(){return!(e.unstable_now()-kP||125F?(P.sortIndex=L,t(u,P),n(a)===null&&P===n(u)&&(h?(m(R),R=-1):h=!0,G(S,L-F))):(P.sortIndex=X,t(a,P),p||g||(p=!0,B(x))),P},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(P){var _=f;return function(){var L=f;f=_;try{return P.apply(this,arguments)}finally{f=L}}}})(sh);(function(e){e.exports=sh})(lh);/** - * @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 ah=b.exports,st=lh.exports;function O(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"),za=Object.prototype.hasOwnProperty,yg=/^[: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]*$/,$f={},Nf={};function gg(e){return za.call(Nf,e)?!0:za.call($f,e)?!1:yg.test(e)?Nf[e]=!0:($f[e]=!0,!1)}function vg(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 wg(e,t,n,r){if(t===null||typeof t>"u"||vg(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 We(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 Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[e]=new We(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Me[t]=new We(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new We(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[e]=new We(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){Me[e]=new We(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new We(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new We(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new We(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new We(e,5,!1,e.toLowerCase(),null,!1,!1)});var tc=/[\-:]([a-z])/g;function nc(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(tc,nc);Me[t]=new We(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(tc,nc);Me[t]=new We(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(tc,nc);Me[t]=new We(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Me[e]=new We(e,1,!1,e.toLowerCase(),null,!1,!1)});Me.xlinkHref=new We("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Me[e]=new We(e,1,!1,e.toLowerCase(),null,!0,!0)});function rc(e,t,n,r){var o=Me.hasOwnProperty(t)?Me[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{Qs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?So(e):""}function Sg(e){switch(e.tag){case 5:return So(e.type);case 16:return So("Lazy");case 13:return So("Suspense");case 19:return So("SuspenseList");case 0:case 2:case 15:return e=Ys(e.type,!1),e;case 11:return e=Ys(e.type.render,!1),e;case 1:return e=Ys(e.type,!0),e;default:return""}}function Ba(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 mr:return"Fragment";case hr:return"Portal";case ja:return"Profiler";case oc:return"StrictMode";case Fa:return"Suspense";case Da:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case fh:return(e.displayName||"Context")+".Consumer";case ch:return(e._context.displayName||"Context")+".Provider";case ic:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case lc:return t=e.displayName||null,t!==null?t:Ba(e.type)||"Memo";case an:t=e._payload,e=e._init;try{return Ba(e(t))}catch{}}return null}function xg(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 Ba(t);case 8:return t===oc?"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 Tn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ph(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function kg(e){var t=ph(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 xi(e){e._valueTracker||(e._valueTracker=kg(e))}function hh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ph(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function il(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 Ua(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Lf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Tn(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 mh(e,t){t=t.checked,t!=null&&rc(e,"checked",t,!1)}function Ha(e,t){mh(e,t);var n=Tn(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")?Va(e,t.type,n):t.hasOwnProperty("defaultValue")&&Va(e,t.type,Tn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function If(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 Va(e,t,n){(t!=="number"||il(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var xo=Array.isArray;function Tr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=ki.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var To={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},Eg=["Webkit","ms","Moz","O"];Object.keys(To).forEach(function(e){Eg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),To[t]=To[e]})});function wh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||To.hasOwnProperty(e)&&To[e]?(""+t).trim():t+"px"}function Sh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=wh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Cg=pe({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 Ga(e,t){if(t){if(Cg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function qa(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 Qa=null;function sc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ya=null,Pr=null,Or=null;function Ff(e){if(e=fi(e)){if(typeof Ya!="function")throw Error(O(280));var t=e.stateNode;t&&(t=Ul(t),Ya(e.stateNode,e.type,t))}}function xh(e){Pr?Or?Or.push(e):Or=[e]:Pr=e}function kh(){if(Pr){var e=Pr,t=Or;if(Or=Pr=null,Ff(e),t)for(e=0;e>>=0,e===0?32:31-(Lg(e)/Ig|0)|0}var Ei=64,Ci=4194304;function ko(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 ul(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=ko(s):(i&=l,i!==0&&(r=ko(i)))}else l=n&~o,l!==0?r=ko(l):i!==0&&(r=ko(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ui(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ot(t),e[t]=n}function Dg(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=Oo),qf=String.fromCharCode(32),Qf=!1;function Uh(e,t){switch(e){case"keyup":return hv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yr=!1;function yv(e,t){switch(e){case"compositionend":return Hh(t);case"keypress":return t.which!==32?null:(Qf=!0,qf);case"textInput":return e=t.data,e===qf&&Qf?null:e;default:return null}}function gv(e,t){if(yr)return e==="compositionend"||!mc&&Uh(e,t)?(e=Dh(),Bi=dc=pn=null,yr=!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=Zf(n)}}function Gh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Gh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qh(){for(var e=window,t=il();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=il(e.document)}return t}function yc(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 Tv(e){var t=qh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Gh(n.ownerDocument.documentElement,n)){if(r!==null&&yc(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=ed(n,i);var l=ed(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,gr=null,nu=null,_o=null,ru=!1;function td(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ru||gr==null||gr!==il(r)||(r=gr,"selectionStart"in r&&yc(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}),_o&&Ho(_o,r)||(_o=r,r=dl(nu,"onSelect"),0Sr||(e.current=uu[Sr],uu[Sr]=null,Sr--)}function ne(e,t){Sr++,uu[Sr]=e.current,e.current=t}var Pn={},De=An(Pn),Ye=An(!1),qn=Pn;function Fr(e,t){var n=e.type.contextTypes;if(!n)return Pn;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 Xe(e){return e=e.childContextTypes,e!=null}function hl(){le(Ye),le(De)}function ad(e,t,n){if(De.current!==Pn)throw Error(O(168));ne(De,t),ne(Ye,n)}function rm(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(O(108,xg(e)||"Unknown",o));return pe({},n,r)}function ml(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pn,qn=De.current,ne(De,e),ne(Ye,Ye.current),!0}function ud(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=rm(e,t,qn),r.__reactInternalMemoizedMergedChildContext=e,le(Ye),le(De),ne(De,e)):le(Ye),ne(Ye,n)}var Kt=null,Hl=!1,ca=!1;function om(e){Kt===null?Kt=[e]:Kt.push(e)}function jv(e){Hl=!0,om(e)}function $n(){if(!ca&&Kt!==null){ca=!0;var e=0,t=J;try{var n=Kt;for(J=1;e>=l,o-=l,Gt=1<<32-Ot(t)+o|n<R?(I=E,E=null):I=E.sibling;var k=f(m,E,v[R],S);if(k===null){E===null&&(E=I);break}e&&E&&k.alternate===null&&t(m,E),y=i(k,y,R),T===null?x=k:T.sibling=k,T=k,E=I}if(R===v.length)return n(m,E),ce&&Ln(m,R),x;if(E===null){for(;RR?(I=E,E=null):I=E.sibling;var A=f(m,E,k.value,S);if(A===null){E===null&&(E=I);break}e&&E&&A.alternate===null&&t(m,E),y=i(A,y,R),T===null?x=A:T.sibling=A,T=A,E=I}if(k.done)return n(m,E),ce&&Ln(m,R),x;if(E===null){for(;!k.done;R++,k=v.next())k=d(m,k.value,S),k!==null&&(y=i(k,y,R),T===null?x=k:T.sibling=k,T=k);return ce&&Ln(m,R),x}for(E=r(m,E);!k.done;R++,k=v.next())k=g(E,m,R,k.value,S),k!==null&&(e&&k.alternate!==null&&E.delete(k.key===null?R:k.key),y=i(k,y,R),T===null?x=k:T.sibling=k,T=k);return e&&E.forEach(function(H){return t(m,H)}),ce&&Ln(m,R),x}function w(m,y,v,S){if(typeof v=="object"&&v!==null&&v.type===mr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Si:e:{for(var x=v.key,T=y;T!==null;){if(T.key===x){if(x=v.type,x===mr){if(T.tag===7){n(m,T.sibling),y=o(T,v.props.children),y.return=m,m=y;break e}}else if(T.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===an&&yd(x)===T.type){n(m,T.sibling),y=o(T,v.props),y.ref=co(m,T,v),y.return=m,m=y;break e}n(m,T);break}else t(m,T);T=T.sibling}v.type===mr?(y=Vn(v.props.children,m.mode,S,v.key),y.return=m,m=y):(S=Qi(v.type,v.key,v.props,null,m.mode,S),S.ref=co(m,y,v),S.return=m,m=S)}return l(m);case hr:e:{for(T=v.key;y!==null;){if(y.key===T)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(m,y.sibling),y=o(y,v.children||[]),y.return=m,m=y;break e}else{n(m,y);break}else t(m,y);y=y.sibling}y=va(v,m.mode,S),y.return=m,m=y}return l(m);case an:return T=v._init,w(m,y,T(v._payload),S)}if(xo(v))return p(m,y,v,S);if(io(v))return h(m,y,v,S);Ai(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(m,y.sibling),y=o(y,v),y.return=m,m=y):(n(m,y),y=ga(v,m.mode,S),y.return=m,m=y),l(m)):n(m,y)}return w}var Br=dm(!0),pm=dm(!1),di={},Ft=An(di),Go=An(di),qo=An(di);function Bn(e){if(e===di)throw Error(O(174));return e}function bc(e,t){switch(ne(qo,t),ne(Go,e),ne(Ft,di),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ka(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Ka(t,e)}le(Ft),ne(Ft,t)}function Ur(){le(Ft),le(Go),le(qo)}function hm(e){Bn(qo.current);var t=Bn(Ft.current),n=Ka(t,e.type);t!==n&&(ne(Go,e),ne(Ft,n))}function Tc(e){Go.current===e&&(le(Ft),le(Go))}var fe=An(0);function xl(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)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var fa=[];function Pc(){for(var e=0;en?n:4,e(!0);var r=da.transition;da.transition={};try{e(!1),t()}finally{J=n,da.transition=r}}function _m(){return St().memoizedState}function Uv(e,t,n){var r=xn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Am(e))$m(t,n);else if(n=am(e,t,n,r),n!==null){var o=He();Rt(n,e,r,o),Nm(n,t,r)}}function Hv(e,t,n){var r=xn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Am(e))$m(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,_t(s,l)){var a=t.interleaved;a===null?(o.next=o,Ec(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=am(e,t,o,r),n!==null&&(o=He(),Rt(n,e,r,o),Nm(n,t,r))}}function Am(e){var t=e.alternate;return e===de||t!==null&&t===de}function $m(e,t){Ao=kl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Nm(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,uc(e,n)}}var El={readContext:wt,useCallback:Le,useContext:Le,useEffect:Le,useImperativeHandle:Le,useInsertionEffect:Le,useLayoutEffect:Le,useMemo:Le,useReducer:Le,useRef:Le,useState:Le,useDebugValue:Le,useDeferredValue:Le,useTransition:Le,useMutableSource:Le,useSyncExternalStore:Le,useId:Le,unstable_isNewReconciler:!1},Vv={readContext:wt,useCallback:function(e,t){return $t().memoizedState=[e,t===void 0?null:t],e},useContext:wt,useEffect:vd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Wi(4194308,4,bm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Wi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Wi(4,2,e,t)},useMemo:function(e,t){var n=$t();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=$t();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=Uv.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=$t();return e={current:e},t.memoizedState=e},useState:gd,useDebugValue:$c,useDeferredValue:function(e){return $t().memoizedState=e},useTransition:function(){var e=gd(!1),t=e[0];return e=Bv.bind(null,e[1]),$t().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,o=$t();if(ce){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Oe===null)throw Error(O(349));(Yn&30)!==0||gm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,vd(wm.bind(null,r,i,e),[e]),r.flags|=2048,Xo(9,vm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=$t(),t=Oe.identifierPrefix;if(ce){var n=qt,r=Gt;n=(r&~(1<<32-Ot(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Qo++,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[Lt]=t,e[Ko]=r,Um(e,t,!1,!1),t.stateNode=e;e:{switch(l=qa(n,r),n){case"dialog":re("cancel",e),re("close",e),o=r;break;case"iframe":case"object":case"embed":re("load",e),o=r;break;case"video":case"audio":for(o=0;oVr&&(t.flags|=128,r=!0,fo(i,!1),t.lanes=4194304)}else{if(!r)if(e=xl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),fo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ce)return Ie(t),null}else 2*ve()-i.renderingStartTime>Vr&&n!==1073741824&&(t.flags|=128,r=!0,fo(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=ve(),t.sibling=null,n=fe.current,ne(fe,r?n&1|2:n&1),t):(Ie(t),null);case 22:case 23:return jc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(tt&1073741824)!==0&&(Ie(t),t.subtreeFlags&6&&(t.flags|=8192)):Ie(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function Jv(e,t){switch(vc(t),t.tag){case 1:return Xe(t.type)&&hl(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ur(),le(Ye),le(De),Pc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Tc(t),null;case 13:if(le(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Dr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(fe),null;case 4:return Ur(),null;case 10:return kc(t.type._context),null;case 22:case 23:return jc(),null;case 24:return null;default:return null}}var Ni=!1,Fe=!1,Zv=typeof WeakSet=="function"?WeakSet:Set,N=null;function Cr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function xu(e,t,n){try{n()}catch(r){ye(e,t,r)}}var Pd=!1;function e1(e,t){if(ou=cl,e=qh(),yc(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,u=0,c=0,d=e,f=null;t:for(;;){for(var g;d!==n||o!==0&&d.nodeType!==3||(s=l+o),d!==i||r!==0&&d.nodeType!==3||(a=l+r),d.nodeType===3&&(l+=d.nodeValue.length),(g=d.firstChild)!==null;)f=d,d=g;for(;;){if(d===e)break t;if(f===n&&++u===o&&(s=l),f===i&&++c===r&&(a=l),(g=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(iu={focusedElem:e,selectionRange:n},cl=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var p=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(p!==null){var h=p.memoizedProps,w=p.memoizedState,m=t.stateNode,y=m.getSnapshotBeforeUpdate(t.elementType===t.type?h:Et(t.type,h),w);m.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(S){ye(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return p=Pd,Pd=!1,p}function $o(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&&xu(t,n,i)}o=o.next}while(o!==r)}}function Kl(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 ku(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 Wm(e){var t=e.alternate;t!==null&&(e.alternate=null,Wm(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Lt],delete t[Ko],delete t[au],delete t[Iv],delete t[zv])),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 Km(e){return e.tag===5||e.tag===3||e.tag===4}function Od(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Km(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 Eu(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=pl));else if(r!==4&&(e=e.child,e!==null))for(Eu(e,t,n),e=e.sibling;e!==null;)Eu(e,t,n),e=e.sibling}function Cu(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(Cu(e,t,n),e=e.sibling;e!==null;)Cu(e,t,n),e=e.sibling}var _e=null,Ct=!1;function ln(e,t,n){for(n=n.child;n!==null;)Gm(e,t,n),n=n.sibling}function Gm(e,t,n){if(jt&&typeof jt.onCommitFiberUnmount=="function")try{jt.onCommitFiberUnmount(jl,n)}catch{}switch(n.tag){case 5:Fe||Cr(n,t);case 6:var r=_e,o=Ct;_e=null,ln(e,t,n),_e=r,Ct=o,_e!==null&&(Ct?(e=_e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):_e.removeChild(n.stateNode));break;case 18:_e!==null&&(Ct?(e=_e,n=n.stateNode,e.nodeType===8?ua(e.parentNode,n):e.nodeType===1&&ua(e,n),Bo(e)):ua(_e,n.stateNode));break;case 4:r=_e,o=Ct,_e=n.stateNode.containerInfo,Ct=!0,ln(e,t,n),_e=r,Ct=o;break;case 0:case 11:case 14:case 15:if(!Fe&&(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)!==0||(i&4)!==0)&&xu(n,t,l),o=o.next}while(o!==r)}ln(e,t,n);break;case 1:if(!Fe&&(Cr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ye(n,t,s)}ln(e,t,n);break;case 21:ln(e,t,n);break;case 22:n.mode&1?(Fe=(r=Fe)||n.memoizedState!==null,ln(e,t,n),Fe=r):ln(e,t,n);break;default:ln(e,t,n)}}function Rd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Zv),t.forEach(function(r){var o=u1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function kt(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*n1(r/1960))-r,10e?16:e,hn===null)var r=!1;else{if(e=hn,hn=null,Tl=0,(K&6)!==0)throw Error(O(331));var o=K;for(K|=4,N=e.current;N!==null;){var i=N,l=i.child;if((N.flags&16)!==0){var s=i.deletions;if(s!==null){for(var a=0;ave()-Ic?Hn(e,0):Lc|=n),Je(e,t)}function t0(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ci,Ci<<=1,(Ci&130023424)===0&&(Ci=4194304)));var n=He();e=en(e,t),e!==null&&(ui(e,t,n),Je(e,n))}function a1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),t0(e,n)}function u1(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(O(314))}r!==null&&r.delete(t),t0(e,n)}var n0;n0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ye.current)Qe=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Qe=!1,Yv(e,t,n);Qe=(e.flags&131072)!==0}else Qe=!1,ce&&(t.flags&1048576)!==0&&im(t,gl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ki(e,t),e=t.pendingProps;var o=Fr(t,De.current);_r(t,n),o=Rc(null,t,r,e,o,n);var i=_c();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,Xe(r)?(i=!0,ml(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Cc(t),o.updater=Vl,t.stateNode=o,o._reactInternals=t,hu(t,r,e,n),t=gu(null,t,r,!0,i,n)):(t.tag=0,ce&&i&&gc(t),Ue(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ki(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=f1(r),e=Et(r,e),o){case 0:t=yu(null,t,r,e,n);break e;case 1:t=Cd(null,t,r,e,n);break e;case 11:t=kd(null,t,r,e,n);break e;case 14:t=Ed(null,t,r,Et(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),yu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),Cd(e,t,r,o,n);case 3:e:{if(Fm(t),e===null)throw Error(O(387));r=t.pendingProps,i=t.memoizedState,o=i.element,um(e,t),Sl(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=Hr(Error(O(423)),t),t=bd(e,t,r,n,o);break e}else if(r!==o){o=Hr(Error(O(424)),t),t=bd(e,t,r,n,o);break e}else for(rt=vn(t.stateNode.containerInfo.firstChild),it=t,ce=!0,bt=null,n=pm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Dr(),r===o){t=tn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return hm(t),e===null&&fu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,lu(r,o)?l=null:i!==null&&lu(r,i)&&(t.flags|=32),jm(e,t),Ue(e,t,l,n),t.child;case 6:return e===null&&fu(t),null;case 13:return Dm(e,t,n);case 4:return bc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Br(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),kd(e,t,r,o,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,ne(vl,r._currentValue),r._currentValue=l,i!==null)if(_t(i.value,l)){if(i.children===o.children&&!Ye.current){t=tn(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=Qt(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),du(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(O(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),du(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}Ue(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,_r(t,n),o=wt(o),r=r(o),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,o=Et(r,t.pendingProps),o=Et(r.type,o),Ed(e,t,r,o,n);case 15:return Im(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Et(r,o),Ki(e,t),t.tag=1,Xe(r)?(e=!0,ml(t)):e=!1,_r(t,n),fm(t,r,o),hu(t,r,o,n),gu(null,t,r,!0,e,n);case 19:return Bm(e,t,n);case 22:return zm(e,t,n)}throw Error(O(156,t.tag))};function r0(e,t){return Rh(e,t)}function c1(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 yt(e,t,n,r){return new c1(e,t,n,r)}function Dc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function f1(e){if(typeof e=="function")return Dc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ic)return 11;if(e===lc)return 14}return 2}function kn(e,t){var n=e.alternate;return n===null?(n=yt(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 Qi(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Dc(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case mr:return Vn(n.children,o,i,t);case oc:l=8,o|=8;break;case ja:return e=yt(12,n,t,o|2),e.elementType=ja,e.lanes=i,e;case Fa:return e=yt(13,n,t,o),e.elementType=Fa,e.lanes=i,e;case Da:return e=yt(19,n,t,o),e.elementType=Da,e.lanes=i,e;case dh:return ql(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case ch:l=10;break e;case fh:l=9;break e;case ic:l=11;break e;case lc:l=14;break e;case an:l=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=yt(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Vn(e,t,n,r){return e=yt(7,e,r,t),e.lanes=n,e}function ql(e,t,n,r){return e=yt(22,e,r,t),e.elementType=dh,e.lanes=n,e.stateNode={isHidden:!1},e}function ga(e,t,n){return e=yt(6,e,null,t),e.lanes=n,e}function va(e,t,n){return t=yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function d1(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=Js(0),this.expirationTimes=Js(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Js(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Bc(e,t,n,r,o,i,l,s,a){return e=new d1(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=yt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Cc(i),e}function p1(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=ut})(ec);var zd=ec.exports;Ia.createRoot=zd.createRoot,Ia.hydrateRoot=zd.hydrateRoot;var s0={exports:{}},a0={};/** - * @license React - * use-sync-external-store-shim.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 Wr=b.exports;function v1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var w1=typeof Object.is=="function"?Object.is:v1,S1=Wr.useState,x1=Wr.useEffect,k1=Wr.useLayoutEffect,E1=Wr.useDebugValue;function C1(e,t){var n=t(),r=S1({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return k1(function(){o.value=n,o.getSnapshot=t,wa(o)&&i({inst:o})},[e,n,t]),x1(function(){return wa(o)&&i({inst:o}),e(function(){wa(o)&&i({inst:o})})},[e]),E1(n),n}function wa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!w1(e,n)}catch{return!0}}function b1(e,t){return t()}var T1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?b1:C1;a0.useSyncExternalStore=Wr.useSyncExternalStore!==void 0?Wr.useSyncExternalStore:T1;(function(e){e.exports=a0})(s0);var u0={exports:{}},c0={};/** - * @license React - * use-sync-external-store-shim/with-selector.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 Zl=b.exports,P1=s0.exports;function O1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var R1=typeof Object.is=="function"?Object.is:O1,_1=P1.useSyncExternalStore,A1=Zl.useRef,$1=Zl.useEffect,N1=Zl.useMemo,M1=Zl.useDebugValue;c0.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=A1(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=N1(function(){function a(g){if(!u){if(u=!0,c=g,g=r(g),o!==void 0&&l.hasValue){var p=l.value;if(o(p,g))return d=p}return d=g}if(p=d,R1(c,g))return p;var h=r(g);return o!==void 0&&o(p,h)?p:(c=g,d=h)}var u=!1,c,d,f=n===void 0?null:n;return[function(){return a(t())},f===null?void 0:function(){return a(f())}]},[t,n,r,o]);var s=_1(e,i[0],i[1]);return $1(function(){l.hasValue=!0,l.value=s},[s]),M1(s),s};(function(e){e.exports=c0})(u0);function L1(e){e()}let f0=L1;const I1=e=>f0=e,z1=()=>f0,jd=Symbol.for(`react-redux-context-${b.exports.version}`),Fd=globalThis;function j1(){let e=Fd[jd];return e||(e=b.exports.createContext(null),Fd[jd]=e),e}const On=new Proxy({},new Proxy({},{get(e,t){const n=j1();return(r,...o)=>Reflect[t](n,...o)}}));function Wc(e=On){return function(){return b.exports.useContext(e)}}const d0=Wc(),F1=()=>{throw new Error("uSES not initialized!")};let p0=F1;const D1=e=>{p0=e},B1=(e,t)=>e===t;function U1(e=On){const t=e===On?d0:Wc(e);return function(r,o={}){const{equalityFn:i=B1,stabilityCheck:l=void 0,noopCheck:s=void 0}=typeof o=="function"?{equalityFn:o}:o,{store:a,subscription:u,getServerState:c,stabilityCheck:d,noopCheck:f}=t();b.exports.useRef(!0);const g=b.exports.useCallback({[r.name](h){return r(h)}}[r.name],[r,d,l]),p=p0(u.addNestedSub,a.getState,c||a.getState,g,i);return b.exports.useDebugValue(p),p}}const Te=U1();function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var h0={exports:{}},Z={};/** @license React v16.13.1 - * react-is.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 Re=typeof Symbol=="function"&&Symbol.for,Kc=Re?Symbol.for("react.element"):60103,Gc=Re?Symbol.for("react.portal"):60106,es=Re?Symbol.for("react.fragment"):60107,ts=Re?Symbol.for("react.strict_mode"):60108,ns=Re?Symbol.for("react.profiler"):60114,rs=Re?Symbol.for("react.provider"):60109,os=Re?Symbol.for("react.context"):60110,qc=Re?Symbol.for("react.async_mode"):60111,is=Re?Symbol.for("react.concurrent_mode"):60111,ls=Re?Symbol.for("react.forward_ref"):60112,ss=Re?Symbol.for("react.suspense"):60113,H1=Re?Symbol.for("react.suspense_list"):60120,as=Re?Symbol.for("react.memo"):60115,us=Re?Symbol.for("react.lazy"):60116,V1=Re?Symbol.for("react.block"):60121,W1=Re?Symbol.for("react.fundamental"):60117,K1=Re?Symbol.for("react.responder"):60118,G1=Re?Symbol.for("react.scope"):60119;function ft(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Kc:switch(e=e.type,e){case qc:case is:case es:case ns:case ts:case ss:return e;default:switch(e=e&&e.$$typeof,e){case os:case ls:case us:case as:case rs:return e;default:return t}}case Gc:return t}}}function m0(e){return ft(e)===is}Z.AsyncMode=qc;Z.ConcurrentMode=is;Z.ContextConsumer=os;Z.ContextProvider=rs;Z.Element=Kc;Z.ForwardRef=ls;Z.Fragment=es;Z.Lazy=us;Z.Memo=as;Z.Portal=Gc;Z.Profiler=ns;Z.StrictMode=ts;Z.Suspense=ss;Z.isAsyncMode=function(e){return m0(e)||ft(e)===qc};Z.isConcurrentMode=m0;Z.isContextConsumer=function(e){return ft(e)===os};Z.isContextProvider=function(e){return ft(e)===rs};Z.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Kc};Z.isForwardRef=function(e){return ft(e)===ls};Z.isFragment=function(e){return ft(e)===es};Z.isLazy=function(e){return ft(e)===us};Z.isMemo=function(e){return ft(e)===as};Z.isPortal=function(e){return ft(e)===Gc};Z.isProfiler=function(e){return ft(e)===ns};Z.isStrictMode=function(e){return ft(e)===ts};Z.isSuspense=function(e){return ft(e)===ss};Z.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===es||e===is||e===ns||e===ts||e===ss||e===H1||typeof e=="object"&&e!==null&&(e.$$typeof===us||e.$$typeof===as||e.$$typeof===rs||e.$$typeof===os||e.$$typeof===ls||e.$$typeof===W1||e.$$typeof===K1||e.$$typeof===G1||e.$$typeof===V1)};Z.typeOf=ft;(function(e){e.exports=Z})(h0);var y0=h0.exports,q1={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Q1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},g0={};g0[y0.ForwardRef]=q1;g0[y0.Memo]=Q1;var Y1={exports:{}},ee={};/** - * @license React - * react-is.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 Qc=Symbol.for("react.element"),Yc=Symbol.for("react.portal"),cs=Symbol.for("react.fragment"),fs=Symbol.for("react.strict_mode"),ds=Symbol.for("react.profiler"),ps=Symbol.for("react.provider"),hs=Symbol.for("react.context"),X1=Symbol.for("react.server_context"),ms=Symbol.for("react.forward_ref"),ys=Symbol.for("react.suspense"),gs=Symbol.for("react.suspense_list"),vs=Symbol.for("react.memo"),ws=Symbol.for("react.lazy"),J1=Symbol.for("react.offscreen"),v0;v0=Symbol.for("react.module.reference");function xt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Qc:switch(e=e.type,e){case cs:case ds:case fs:case ys:case gs:return e;default:switch(e=e&&e.$$typeof,e){case X1:case hs:case ms:case ws:case vs:case ps:return e;default:return t}}case Yc:return t}}}ee.ContextConsumer=hs;ee.ContextProvider=ps;ee.Element=Qc;ee.ForwardRef=ms;ee.Fragment=cs;ee.Lazy=ws;ee.Memo=vs;ee.Portal=Yc;ee.Profiler=ds;ee.StrictMode=fs;ee.Suspense=ys;ee.SuspenseList=gs;ee.isAsyncMode=function(){return!1};ee.isConcurrentMode=function(){return!1};ee.isContextConsumer=function(e){return xt(e)===hs};ee.isContextProvider=function(e){return xt(e)===ps};ee.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Qc};ee.isForwardRef=function(e){return xt(e)===ms};ee.isFragment=function(e){return xt(e)===cs};ee.isLazy=function(e){return xt(e)===ws};ee.isMemo=function(e){return xt(e)===vs};ee.isPortal=function(e){return xt(e)===Yc};ee.isProfiler=function(e){return xt(e)===ds};ee.isStrictMode=function(e){return xt(e)===fs};ee.isSuspense=function(e){return xt(e)===ys};ee.isSuspenseList=function(e){return xt(e)===gs};ee.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===cs||e===ds||e===fs||e===ys||e===gs||e===J1||typeof e=="object"&&e!==null&&(e.$$typeof===ws||e.$$typeof===vs||e.$$typeof===ps||e.$$typeof===hs||e.$$typeof===ms||e.$$typeof===v0||e.getModuleId!==void 0)};ee.typeOf=xt;(function(e){e.exports=ee})(Y1);function Z1(){const e=z1();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],o=t;for(;o;)r.push(o),o=o.next;return r},subscribe(r){let o=!0,i=n={callback:r,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){!o||t===null||(o=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}const Dd={notify(){},get:()=>[]};function ew(e,t){let n,r=Dd;function o(d){return a(),r.subscribe(d)}function i(){r.notify()}function l(){c.onStateChange&&c.onStateChange()}function s(){return Boolean(n)}function a(){n||(n=t?t.addNestedSub(l):e.subscribe(l),r=Z1())}function u(){n&&(n(),n=void 0,r.clear(),r=Dd)}const c={addNestedSub:o,notifyNestedSubs:i,handleChangeWrapper:l,isSubscribed:s,trySubscribe:a,tryUnsubscribe:u,getListeners:()=>r};return c}const tw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nw=tw?b.exports.useLayoutEffect:b.exports.useEffect;var Ss={exports:{}},xs={};/** - * @license React - * react-jsx-runtime.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 rw=b.exports,ow=Symbol.for("react.element"),iw=Symbol.for("react.fragment"),lw=Object.prototype.hasOwnProperty,sw=rw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,aw={key:!0,ref:!0,__self:!0,__source:!0};function w0(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)lw.call(t,r)&&!aw.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:ow,type:e,key:i,ref:l,props:o,_owner:sw.current}}xs.Fragment=iw;xs.jsx=w0;xs.jsxs=w0;(function(e){e.exports=xs})(Ss);const ks=Ss.exports.Fragment,M=Ss.exports.jsx,$e=Ss.exports.jsxs;function uw({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",noopCheck:i="once"}){const l=b.exports.useMemo(()=>{const u=ew(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:o,noopCheck:i}},[e,r,o,i]),s=b.exports.useMemo(()=>e.getState(),[e]);return nw(()=>{const{subscription:u}=l;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[l,s]),M((t||On).Provider,{value:l,children:n})}function S0(e=On){const t=e===On?d0:Wc(e);return function(){const{store:r}=t();return r}}const cw=S0();function fw(e=On){const t=e===On?cw:S0(e);return function(){return t().dispatch}}const rr=fw();D1(u0.exports.useSyncExternalStoreWithSelector);I1(ec.exports.unstable_batchedUpdates);function Tt(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:Xc(e)?2:Jc(e)?3:0}function $r(e,t){return Zr(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function dw(e,t){return Zr(e)===2?e.get(t):e[t]}function x0(e,t,n){var r=Zr(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function k0(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Xc(e){return vw&&e instanceof Map}function Jc(e){return ww&&e instanceof Set}function zn(e){return e.o||e.t}function Zc(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=C0(e);delete t[ue];for(var n=Nr(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=pw),Object.freeze(e),t&&Zn(e,function(n,r){return ef(r,!0)},!0)),e}function pw(){Tt(2)}function tf(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Dt(e){var t=$u[e];return t||Tt(18,e),t}function hw(e,t){$u[e]||($u[e]=t)}function Ru(){return Zo}function Sa(e,t){t&&(Dt("Patches"),e.u=[],e.s=[],e.v=t)}function Rl(e){_u(e),e.p.forEach(mw),e.p=null}function _u(e){e===Zo&&(Zo=e.l)}function Bd(e){return Zo={p:[],l:Zo,h:e,m:!0,_:0}}function mw(e){var t=e[ue];t.i===0||t.i===1?t.j():t.g=!0}function xa(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Dt("ES5").S(t,e,r),r?(n[ue].P&&(Rl(t),Tt(4)),nn(e)&&(e=_l(t,e),t.l||Al(t,e)),t.u&&Dt("Patches").M(n[ue].t,e,t.u,t.s)):e=_l(t,n,[]),Rl(t),t.u&&t.v(t.u,t.s),e!==E0?e:void 0}function _l(e,t,n){if(tf(t))return t;var r=t[ue];if(!r)return Zn(t,function(s,a){return Ud(e,r,t,s,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Al(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=Zc(r.k):r.o,i=o,l=!1;r.i===3&&(i=new Set(o),o.clear(),l=!0),Zn(i,function(s,a){return Ud(e,r,o,s,a,n,l)}),Al(e,o,!1),n&&e.u&&Dt("Patches").N(r,n,e.u,e.s)}return r.o}function Ud(e,t,n,r,o,i,l){if(Rn(o)){var s=_l(e,o,i&&t&&t.i!==3&&!$r(t.R,r)?i.concat(r):void 0);if(x0(n,r,s),!Rn(s))return;e.m=!1}else l&&n.add(o);if(nn(o)&&!tf(o)){if(!e.h.D&&e._<1)return;_l(e,o),t&&t.A.l||Al(e,o)}}function Al(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&ef(t,n)}function ka(e,t){var n=e[ue];return(n?zn(n):e)[t]}function Hd(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function dn(e){e.P||(e.P=!0,e.l&&dn(e.l))}function Ea(e){e.o||(e.o=Zc(e.t))}function Au(e,t,n){var r=Xc(t)?Dt("MapSet").F(t,n):Jc(t)?Dt("MapSet").T(t,n):e.O?function(o,i){var l=Array.isArray(o),s={i:l?1:0,A:i?i.A:Ru(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},a=s,u=ei;l&&(a=[s],u=Co);var c=Proxy.revocable(a,u),d=c.revoke,f=c.proxy;return s.k=f,s.j=d,f}(t,n):Dt("ES5").J(t,n);return(n?n.A:Ru()).p.push(r),r}function yw(e){return Rn(e)||Tt(22,e),function t(n){if(!nn(n))return n;var r,o=n[ue],i=Zr(n);if(o){if(!o.P&&(o.i<4||!Dt("ES5").K(o)))return o.t;o.I=!0,r=Vd(n,i),o.I=!1}else r=Vd(n,i);return Zn(r,function(l,s){o&&dw(o.t,l)===s||x0(r,l,t(s))}),i===3?new Set(r):r}(e)}function Vd(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Zc(e)}function gw(){function e(i,l){var s=o[i];return s?s.enumerable=l:o[i]=s={configurable:!0,enumerable:l,get:function(){var a=this[ue];return ei.get(a,i)},set:function(a){var u=this[ue];ei.set(u,i,a)}},s}function t(i){for(var l=i.length-1;l>=0;l--){var s=i[l][ue];if(!s.P)switch(s.i){case 5:r(s)&&dn(s);break;case 4:n(s)&&dn(s)}}}function n(i){for(var l=i.t,s=i.k,a=Nr(s),u=a.length-1;u>=0;u--){var c=a[u];if(c!==ue){var d=l[c];if(d===void 0&&!$r(l,c))return!0;var f=s[c],g=f&&f[ue];if(g?g.t!==d:!k0(f,d))return!0}}var p=!!l[ue];return a.length!==Nr(l).length+(p?0:1)}function r(i){var l=i.k;if(l.length!==i.t.length)return!0;var s=Object.getOwnPropertyDescriptor(l,l.length-1);if(s&&!s.get)return!0;for(var a=0;a1?m-1:0),v=1;v1?c-1:0),f=1;f=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var l=Dt("Patches").$;return Rn(n)?l(n,r):this.produce(n,function(s){return l(s,r)})},e}(),at=new xw,b0=at.produce;at.produceWithPatches.bind(at);at.setAutoFreeze.bind(at);at.setUseProxies.bind(at);at.applyPatches.bind(at);at.createDraft.bind(at);at.finishDraft.bind(at);function ti(e){return ti=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ti(e)}function kw(e,t){if(ti(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ti(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ew(e){var t=kw(e,"string");return ti(t)==="symbol"?t:String(t)}function Cw(e,t,n){return t=Ew(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Qd(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(je(1));return n(T0)(e,t)}if(typeof e!="function")throw new Error(je(2));var o=e,i=t,l=[],s=l,a=!1;function u(){s===l&&(s=l.slice())}function c(){if(a)throw new Error(je(3));return i}function d(h){if(typeof h!="function")throw new Error(je(4));if(a)throw new Error(je(5));var w=!0;return u(),s.push(h),function(){if(!!w){if(a)throw new Error(je(6));w=!1,u();var y=s.indexOf(h);s.splice(y,1),l=null}}}function f(h){if(!bw(h))throw new Error(je(7));if(typeof h.type>"u")throw new Error(je(8));if(a)throw new Error(je(9));try{a=!0,i=o(i,h)}finally{a=!1}for(var w=l=s,m=0;m"u")throw new Error(je(12));if(typeof n(void 0,{type:$l.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(je(13))})}function Pw(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(je(14));d[g]=w,c=c||w!==h}return c=c||i.length!==Object.keys(a).length,c?d:a}}function Nl(){for(var e=arguments.length,t=new Array(e),n=0;n0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1][{...e[0],gameMode:t.payload},...e.slice(1)],newMapDimensions:(e,t)=>[{...e[0],googleMapDimensions:t.payload},...e.slice(1)],newZoomTracker:(e,t)=>[{...e[0],zoomTracker:t.payload},...e.slice(1)],newMapLocation:(e,t)=>{const{attribute:n,dall:r,value:o}=t.payload,i=[...e];return typeof r<"u"?i[0]={...i[0],mapLocation:o}:i[0]={...i[0],mapLocation:{...i[0].mapLocation,[n]:o}},i},deleteMarkerState:(e,t)=>{const{markerName:n}=t.payload;return n==="ALL"?e.map(r=>({...r,markerState:{}})):e.map(r=>({...r,markerState:Object.keys(r.markerState).reduce((o,i)=>(i!==n&&(o[i]=r.markerState[i]),o),{})}))},newMarkerState:(e,t)=>{const{markerName:n,updatedData:r}=t.payload;return r.timestamp=Date.now(),e.map(o=>({...o,markerState:{...o.markerState,[n]:{...o.markerState[n],...r}}}))},deletePolylineState:(e,t)=>{const{polylineName:n}=t.payload;return n==="ALL"?e.map(r=>({...r,polylineState:{}})):e.map(r=>({...r,polylineState:Object.keys(r.polylineState).reduce((o,i)=>(i!==n&&(o[i]=r.polylineState[i]),o),{})}))},newPolylineState:(e,t)=>{const{polylineName:n,updatedData:r}=t.payload;return r.timestamp=Date.now(),e.map(o=>({...o,polylineState:{...o.polylineState,[n]:{...o.polylineState[n],...r}}}))}}}),{newGameMode:Wn,newMapDimensions:rS,newMapLocation:Mr,newZoomTracker:oS,newMarkerState:Mu,deleteMarkerState:$0,newPolylineState:iS,deletePolylineState:lS}=A0.actions,sS=A0.reducer,aS={black:"#000",white:"#fff"},ni=aS,uS={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"},ar=uS,cS={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"},ur=cS,fS={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"},cr=fS,dS={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"},fr=dS,pS={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"},dr=pS,hS={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"},ho=hS,mS={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"},yS=mS;function jn(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function N0(e){if(!jn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=N0(e[n])}),t}function Yt(e,t,n={clone:!0}){const r=n.clone?$({},e):e;return jn(e)&&jn(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(jn(t[o])&&o in e&&jn(e[o])?r[o]=Yt(e[o],t[o],n):n.clone?r[o]=jn(t[o])?N0(t[o]):t[o]:r[o]=t[o])}),r}var oe={exports:{}},gS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",vS=gS,wS=vS;function M0(){}function L0(){}L0.resetWarningCache=M0;var SS=function(){function e(r,o,i,l,s,a){if(a!==wS){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:L0,resetWarningCache:M0};return n.PropTypes=n,n};oe.exports=SS();function Gr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{o||l(u)},[]);return[s,a]}function Ii(e){const t=b.exports.useRef(e);return ES(()=>{t.current=e}),b.exports.useCallback((...n)=>(0,t.current)(...n),[])}function np(...e){return b.exports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{xS(n,t)})},e)}let Es=!0,Lu=!1,rp;const bS={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function TS(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&bS[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function PS(e){e.metaKey||e.altKey||e.ctrlKey||(Es=!0)}function Pa(){Es=!1}function OS(){this.visibilityState==="hidden"&&Lu&&(Es=!0)}function RS(e){e.addEventListener("keydown",PS,!0),e.addEventListener("mousedown",Pa,!0),e.addEventListener("pointerdown",Pa,!0),e.addEventListener("touchstart",Pa,!0),e.addEventListener("visibilitychange",OS,!0)}function _S(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Es||TS(t)}function AS(){const e=b.exports.useCallback(o=>{o!=null&&RS(o.ownerDocument)},[]),t=b.exports.useRef(!1);function n(){return t.current?(Lu=!0,window.clearTimeout(rp),rp=window.setTimeout(()=>{Lu=!1},100),t.current=!1,!0):!1}function r(o){return _S(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function I0(e,t){const n=$({},t);return Object.keys(e).forEach(r=>{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]=I0(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function or(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const s=t(l);s!==""&&i.push(s),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}const op=e=>e,$S=()=>{let e=op;return{configure(t){e=t},generate(t){return e(t)},reset(){e=op}}},NS=$S(),z0=NS,MS={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Nn(e,t,n="Mui"){const r=MS[t];return r?`${n}-${r}`:`${z0.generate(e)}-${t}`}function Mn(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Nn(e,o,n)}),r}const Cs="$$material";function j0(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var LS=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,IS=j0(function(e){return LS.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function zS(e){if(e.sheet)return e.sheet;for(var t=0;t0?Ae(eo,--Ze):0,qr--,we===10&&(qr=1,Ts--),we}function lt(){return we=Ze2||oi(we)>3?"":" "}function YS(e,t){for(;--t&<()&&!(we<48||we>102||we>57&&we<65||we>70&&we<97););return pi(e,Yi()+(t<6&&Bt()==32&<()==32))}function zu(e){for(;lt();)switch(we){case e:return Ze;case 34:case 39:e!==34&&e!==39&&zu(we);break;case 40:e===41&&zu(e);break;case 92:lt();break}return Ze}function XS(e,t){for(;lt()&&e+we!==47+10;)if(e+we===42+42&&Bt()===47)break;return"/*"+pi(t,Ze-1)+"*"+bs(e===47?e:lt())}function JS(e){for(;!oi(Bt());)lt();return pi(e,Ze)}function ZS(e){return V0(Ji("",null,null,null,[""],e=H0(e),0,[0],e))}function Ji(e,t,n,r,o,i,l,s,a){for(var u=0,c=0,d=l,f=0,g=0,p=0,h=1,w=1,m=1,y=0,v="",S=o,x=i,T=r,E=v;w;)switch(p=y,y=lt()){case 40:if(p!=108&&Ae(E,d-1)==58){Iu(E+=Q(Xi(y),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:E+=Xi(y);break;case 9:case 10:case 13:case 32:E+=QS(p);break;case 92:E+=YS(Yi()-1,7);continue;case 47:switch(Bt()){case 42:case 47:zi(ex(XS(lt(),Yi()),t,n),a);break;default:E+="/"}break;case 123*h:s[u++]=Nt(E)*m;case 125*h:case 59:case 0:switch(y){case 0:case 125:w=0;case 59+c:m==-1&&(E=Q(E,/\f/g,"")),g>0&&Nt(E)-d&&zi(g>32?lp(E+";",r,n,d-1):lp(Q(E," ","")+";",r,n,d-2),a);break;case 59:E+=";";default:if(zi(T=ip(E,t,n,u,c,o,s,v,S=[],x=[],d),i),y===123)if(c===0)Ji(E,t,T,T,S,i,d,s,x);else switch(f===99&&Ae(E,3)===110?100:f){case 100:case 108:case 109:case 115:Ji(e,T,T,r&&zi(ip(e,T,T,0,0,o,s,v,o,S=[],d),x),o,x,d,s,r?S:x);break;default:Ji(E,T,T,T,[""],x,0,s,x)}}u=c=g=0,h=m=1,v=E="",d=l;break;case 58:d=1+Nt(E),g=p;default:if(h<1){if(y==123)--h;else if(y==125&&h++==0&&qS()==125)continue}switch(E+=bs(y),y*h){case 38:m=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(Nt(E)-1)*m,m=1;break;case 64:Bt()===45&&(E+=Xi(lt())),f=Bt(),c=d=Nt(v=E+=JS(Yi())),y++;break;case 45:p===45&&Nt(E)==2&&(h=0)}}return i}function ip(e,t,n,r,o,i,l,s,a,u,c){for(var d=o-1,f=o===0?i:[""],g=sf(f),p=0,h=0,w=0;p0?f[m]+" "+y:Q(y,/&\f/g,f[m])))&&(a[w++]=v);return Ps(e,t,n,o===0?of:s,a,u,c)}function ex(e,t,n){return Ps(e,t,n,F0,bs(GS()),ri(e,2,-2),0)}function lp(e,t,n,r){return Ps(e,t,n,lf,ri(e,0,r),ri(e,r+1,-1),r)}function Lr(e,t){for(var n="",r=sf(e),o=0;o6)switch(Ae(e,t+1)){case 109:if(Ae(e,t+4)!==45)break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+Ml+(Ae(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Iu(e,"stretch")?W0(Q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ae(e,t+1)!==115)break;case 6444:switch(Ae(e,Nt(e)-3-(~Iu(e,"!important")&&10))){case 107:return Q(e,":",":"+q)+e;case 101:return Q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(Ae(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+ze+"$2box$3")+e}break;case 5936:switch(Ae(e,t+11)){case 114:return q+e+ze+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+ze+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+ze+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+ze+e+e}return e}var ux=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case lf:t.return=W0(t.value,t.length);break;case D0:return Lr([mo(t,{value:Q(t.value,"@","@"+q)})],o);case of:if(t.length)return KS(t.props,function(i){switch(WS(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Lr([mo(t,{props:[Q(i,/:(read-\w+)/,":"+Ml+"$1")]})],o);case"::placeholder":return Lr([mo(t,{props:[Q(i,/:(plac\w+)/,":"+q+"input-$1")]}),mo(t,{props:[Q(i,/:(plac\w+)/,":"+Ml+"$1")]}),mo(t,{props:[Q(i,/:(plac\w+)/,ze+"input-$1")]})],o)}return""})}},cx=[ux],fx=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(h){var w=h.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var o=t.stylisPlugins||cx,i={},l,s=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(h){for(var w=h.getAttribute("data-emotion").split(" "),m=1;m=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 yx={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},gx=/[A-Z]|^ms/g,vx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,G0=function(t){return t.charCodeAt(1)===45},ap=function(t){return t!=null&&typeof t!="boolean"},Oa=j0(function(e){return G0(e)?e:e.replace(gx,"-$&").toLowerCase()}),up=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(vx,function(r,o,i){return Mt={name:o,styles:i,next:Mt},o})}return yx[t]!==1&&!G0(t)&&typeof n=="number"&&n!==0?n+"px":n};function ii(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 Mt={name:n.name,styles:n.styles,next:Mt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)Mt={name:r.name,styles:r.styles,next:Mt},r=r.next;var o=n.styles+";";return o}return wx(e,t,n)}case"function":{if(e!==void 0){var i=Mt,l=n(e);return Mt=i,ii(e,t,l)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function wx(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Cx:bx},dp=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Tx=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return K0(n,r,o),kx(function(){return hx(n,r,o)}),null},Px=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var s=dp(t,n,r),a=s||fp(o),u=!a("as");return function(){var c=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&d.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var f=c.length,g=1;g{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},_x=["values","unit","step"],Ax=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)=>$({},n,{[r.key]:r.val}),{})};function $x(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=Ce(e,_x),i=Ax(t),l=Object.keys(i);function s(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n})`}function a(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-r/100}${n})`}function u(f,g){const p=l.indexOf(g);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${n}) and (max-width:${(p!==-1&&typeof t[l[p]]=="number"?t[l[p]]:g)-r/100}${n})`}function c(f){return l.indexOf(f)+1`@media (min-width:${af[e]}px)`};function rn(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||pp;return t.reduce((l,s,a)=>(l[i.up(i.keys[a])]=n(t[a]),l),{})}if(typeof t=="object"){const i=r.breakpoints||pp;return Object.keys(t).reduce((l,s)=>{if(Object.keys(i.values||af).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 Lx(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Ix(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Rs(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 Ll(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Rs(e,n)||r,t&&(o=t(o,r,e)),o}function Y(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,u=Rs(a,r)||{};return rn(l,s,d=>{let f=Ll(u,o,d);return d===f&&typeof d=="string"&&(f=Ll(u,o,`${t}${d==="default"?"":ie(d)}`,d)),n===!1?f:{[n]:f}})};return i.propTypes={},i.filterProps=[t],i}function zx(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const jx={m:"margin",p:"padding"},Fx={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},hp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dx=zx(e=>{if(e.length>2)if(hp[e])e=hp[e];else return[e];const[t,n]=e.split(""),r=jx[t],o=Fx[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),uf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],cf=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...uf,...cf];function hi(e,t,n,r){var o;const i=(o=Rs(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 J0(e){return hi(e,"spacing",8)}function mi(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 Bx(e,t){return n=>e.reduce((r,o)=>(r[o]=mi(t,n),r),{})}function Ux(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Dx(n),i=Bx(o,r),l=e[n];return rn(e,l,i)}function Z0(e,t){const n=J0(e.theme);return Object.keys(e).map(r=>Ux(e,t,r,n)).reduce(Lo,{})}function he(e){return Z0(e,uf)}he.propTypes={};he.filterProps=uf;function me(e){return Z0(e,cf)}me.propTypes={};me.filterProps=cf;function Hx(e=8){if(e.mui)return e;const t=J0({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 _s(...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]?Lo(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function It(e){return typeof e!="number"?e:`${e}px solid`}const Vx=Y({prop:"border",themeKey:"borders",transform:It}),Wx=Y({prop:"borderTop",themeKey:"borders",transform:It}),Kx=Y({prop:"borderRight",themeKey:"borders",transform:It}),Gx=Y({prop:"borderBottom",themeKey:"borders",transform:It}),qx=Y({prop:"borderLeft",themeKey:"borders",transform:It}),Qx=Y({prop:"borderColor",themeKey:"palette"}),Yx=Y({prop:"borderTopColor",themeKey:"palette"}),Xx=Y({prop:"borderRightColor",themeKey:"palette"}),Jx=Y({prop:"borderBottomColor",themeKey:"palette"}),Zx=Y({prop:"borderLeftColor",themeKey:"palette"}),As=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=hi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:mi(t,r)});return rn(e,e.borderRadius,n)}return null};As.propTypes={};As.filterProps=["borderRadius"];_s(Vx,Wx,Kx,Gx,qx,Qx,Yx,Xx,Jx,Zx,As);const $s=e=>{if(e.gap!==void 0&&e.gap!==null){const t=hi(e.theme,"spacing",8),n=r=>({gap:mi(t,r)});return rn(e,e.gap,n)}return null};$s.propTypes={};$s.filterProps=["gap"];const Ns=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=hi(e.theme,"spacing",8),n=r=>({columnGap:mi(t,r)});return rn(e,e.columnGap,n)}return null};Ns.propTypes={};Ns.filterProps=["columnGap"];const Ms=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=hi(e.theme,"spacing",8),n=r=>({rowGap:mi(t,r)});return rn(e,e.rowGap,n)}return null};Ms.propTypes={};Ms.filterProps=["rowGap"];const ek=Y({prop:"gridColumn"}),tk=Y({prop:"gridRow"}),nk=Y({prop:"gridAutoFlow"}),rk=Y({prop:"gridAutoColumns"}),ok=Y({prop:"gridAutoRows"}),ik=Y({prop:"gridTemplateColumns"}),lk=Y({prop:"gridTemplateRows"}),sk=Y({prop:"gridTemplateAreas"}),ak=Y({prop:"gridArea"});_s($s,Ns,Ms,ek,tk,nk,rk,ok,ik,lk,sk,ak);function Ir(e,t){return t==="grey"?t:e}const uk=Y({prop:"color",themeKey:"palette",transform:Ir}),ck=Y({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ir}),fk=Y({prop:"backgroundColor",themeKey:"palette",transform:Ir});_s(uk,ck,fk);function nt(e){return e<=1&&e!==0?`${e*100}%`:e}const dk=Y({prop:"width",transform:nt}),ff=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])||af[n]||nt(n)}};return rn(e,e.maxWidth,t)}return null};ff.filterProps=["maxWidth"];const pk=Y({prop:"minWidth",transform:nt}),hk=Y({prop:"height",transform:nt}),mk=Y({prop:"maxHeight",transform:nt}),yk=Y({prop:"minHeight",transform:nt});Y({prop:"size",cssProperty:"width",transform:nt});Y({prop:"size",cssProperty:"height",transform:nt});const gk=Y({prop:"boxSizing"});_s(dk,ff,pk,hk,mk,yk,gk);const vk={border:{themeKey:"borders",transform:It},borderTop:{themeKey:"borders",transform:It},borderRight:{themeKey:"borders",transform:It},borderBottom:{themeKey:"borders",transform:It},borderLeft:{themeKey:"borders",transform:It},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:As},color:{themeKey:"palette",transform:Ir},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ir},backgroundColor:{themeKey:"palette",transform:Ir},p:{style:me},pt:{style:me},pr:{style:me},pb:{style:me},pl:{style:me},px:{style:me},py:{style:me},padding:{style:me},paddingTop:{style:me},paddingRight:{style:me},paddingBottom:{style:me},paddingLeft:{style:me},paddingX:{style:me},paddingY:{style:me},paddingInline:{style:me},paddingInlineStart:{style:me},paddingInlineEnd:{style:me},paddingBlock:{style:me},paddingBlockStart:{style:me},paddingBlockEnd:{style:me},m:{style:he},mt:{style:he},mr:{style:he},mb:{style:he},ml:{style:he},mx:{style:he},my:{style:he},margin:{style:he},marginTop:{style:he},marginRight:{style:he},marginBottom:{style:he},marginLeft:{style:he},marginX:{style:he},marginY:{style:he},marginInline:{style:he},marginInlineStart:{style:he},marginInlineEnd:{style:he},marginBlock:{style:he},marginBlockStart:{style:he},marginBlockEnd:{style:he},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:$s},rowGap:{style:Ms},columnGap:{style:Ns},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:nt},maxWidth:{style:ff},minWidth:{transform:nt},height:{transform:nt},maxHeight:{transform:nt},minHeight:{transform:nt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Ls=vk;function wk(...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 Sk(e,t){return typeof e=="function"?e(t):e}function xk(){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:u,transform:c,style:d}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const f=Rs(o,u)||{};return d?d(l):rn(l,r,p=>{let h=Ll(f,c,p);return p===h&&typeof p=="string"&&(h=Ll(f,c,`${n}${p==="default"?"":ie(p)}`,p)),a===!1?h:{[a]:h}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:Ls;function s(a){let u=a;if(typeof a=="function")u=a(i);else if(typeof a!="object")return a;if(!u)return null;const c=Lx(i.breakpoints),d=Object.keys(c);let f=c;return Object.keys(u).forEach(g=>{const p=Sk(u[g],i);if(p!=null)if(typeof p=="object")if(l[g])f=Lo(f,e(g,p,i,l));else{const h=rn({theme:i},p,w=>({[g]:w}));wk(h,p)?f[g]=t({sx:p,theme:i}):f=Lo(f,h)}else f=Lo(f,e(g,p,i,l))}),Ix(d,f)}return Array.isArray(o)?o.map(s):s(o)}return t}const ey=xk();ey.filterProps=["sx"];const Is=ey,kk=["breakpoints","palette","spacing","shape"];function df(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=Ce(e,kk),s=$x(n),a=Hx(o);let u=Yt({breakpoints:s,direction:"ltr",components:{},palette:$({mode:"light"},r),spacing:a,shape:$({},Mx,i)},l);return u=t.reduce((c,d)=>Yt(c,d),u),u.unstable_sxConfig=$({},Ls,l==null?void 0:l.unstable_sxConfig),u.unstable_sx=function(d){return Is({sx:d,theme:this})},u}function Ek(e){return Object.keys(e).length===0}function Ck(e=null){const t=b.exports.useContext(Y0);return!t||Ek(t)?e:t}const bk=df();function pf(e=bk){return Ck(e)}const Tk=["sx"],Pk=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Ls;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function ty(e){const{sx:t}=e,n=Ce(e,Tk),{systemProps:r,otherProps:o}=Pk(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const s=t(...l);return jn(s)?$({},r,s):r}:i=$({},r,t),$({},o,{sx:i})}function ny(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(Is);return b.exports.forwardRef(function(a,u){const c=pf(n),d=ty(a),{className:f,component:g="div"}=d,p=Ce(d,Ok);return M(i,$({as:g,ref:u,className:Pe(f,o?o(r):r),theme:t&&c[t]||c},p))})}const _k=["variant"];function mp(e){return e.length===0}function ry(e){const{variant:t}=e,n=Ce(e,_k);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=mp(r)?e[o]:ie(e[o]):r+=`${mp(r)?o:ie(o)}${ie(e[o].toString())}`}),r}const Ak=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function $k(e){return Object.keys(e).length===0}function Nk(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Mk=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,Lk=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const i=ry(o.props);r[i]=o.style}),r},Ik=(e,t,n,r)=>{var o,i;const{ownerState:l={}}=e,s=[],a=n==null||(o=n.components)==null||(i=o[r])==null?void 0:i.variants;return a&&a.forEach(u=>{let c=!0;Object.keys(u.props).forEach(d=>{l[d]!==u.props[d]&&e[d]!==u.props[d]&&(c=!1)}),c&&s.push(t[ry(u.props)])}),s};function Zi(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zk=df();function yo({defaultTheme:e,theme:t,themeId:n}){return $k(t)?e:t[n]||t}function jk(e={}){const{themeId:t,defaultTheme:n=zk,rootShouldForwardProp:r=Zi,slotShouldForwardProp:o=Zi}=e,i=l=>Is($({},l,{theme:yo($({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,s={})=>{Rx(l,S=>S.filter(x=>!(x!=null&&x.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:c,skipSx:d,overridesResolver:f}=s,g=Ce(s,Ak),p=c!==void 0?c:u&&u!=="Root"||!1,h=d||!1;let w,m=Zi;u==="Root"?m=r:u?m=o:Nk(l)&&(m=void 0);const y=X0(l,$({shouldForwardProp:m,label:w},g)),v=(S,...x)=>{const T=x?x.map(k=>typeof k=="function"&&k.__emotion_real!==k?A=>k($({},A,{theme:yo($({},A,{defaultTheme:n,themeId:t}))})):k):[];let E=S;a&&f&&T.push(k=>{const A=yo($({},k,{defaultTheme:n,themeId:t})),H=Mk(a,A);if(H){const te={};return Object.entries(H).forEach(([z,j])=>{te[z]=typeof j=="function"?j($({},k,{theme:A})):j}),f(k,te)}return null}),a&&!p&&T.push(k=>{const A=yo($({},k,{defaultTheme:n,themeId:t}));return Ik(k,Lk(a,A),A,a)}),h||T.push(i);const R=T.length-x.length;if(Array.isArray(S)&&R>0){const k=new Array(R).fill("");E=[...S,...k],E.raw=[...S.raw,...k]}else typeof S=="function"&&S.__emotion_real!==S&&(E=k=>S($({},k,{theme:yo($({},k,{defaultTheme:n,themeId:t}))})));const I=y(E,...T);return l.muiName&&(I.muiName=l.muiName),I};return y.withConfig&&(v.withConfig=y.withConfig),v}}function Fk(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:I0(t.components[n].defaultProps,r)}function Dk({props:e,name:t,defaultTheme:n,themeId:r}){let o=pf(n);return r&&(o=o[r]||o),Fk({theme:o,name:t,props:e})}function hf(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function Bk(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 er(e){if(e.type)return e;if(e.charAt(0)==="#")return er(Bk(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Gr(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(Gr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function zs(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 Uk(e){e=er(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,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])),zs({type:s,values:a})}function yp(e){e=er(e);let t=e.type==="hsl"||e.type==="hsla"?er(Uk(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 Hk(e,t){const n=yp(e),r=yp(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Vk(e,t){return e=er(e),t=hf(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,zs(e)}function oy(e,t){if(e=er(e),t=hf(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 zs(e)}function iy(e,t){if(e=er(e),t=hf(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 zs(e)}function Wk(e,t){return $({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Kk=["mode","contrastThreshold","tonalOffset"],gp={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:ni.white,default:ni.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}},Ra={text:{primary:ni.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:ni.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 vp(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=iy(e.main,o):t==="dark"&&(e.dark=oy(e.main,i)))}function Gk(e="light"){return e==="dark"?{main:cr[200],light:cr[50],dark:cr[400]}:{main:cr[700],light:cr[400],dark:cr[800]}}function qk(e="light"){return e==="dark"?{main:ur[200],light:ur[50],dark:ur[400]}:{main:ur[500],light:ur[300],dark:ur[700]}}function Qk(e="light"){return e==="dark"?{main:ar[500],light:ar[300],dark:ar[700]}:{main:ar[700],light:ar[400],dark:ar[800]}}function Yk(e="light"){return e==="dark"?{main:fr[400],light:fr[300],dark:fr[700]}:{main:fr[700],light:fr[500],dark:fr[900]}}function Xk(e="light"){return e==="dark"?{main:dr[400],light:dr[300],dark:dr[700]}:{main:dr[800],light:dr[500],dark:dr[900]}}function Jk(e="light"){return e==="dark"?{main:ho[400],light:ho[300],dark:ho[700]}:{main:"#ed6c02",light:ho[500],dark:ho[900]}}function Zk(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=Ce(e,Kk),i=e.primary||Gk(t),l=e.secondary||qk(t),s=e.error||Qk(t),a=e.info||Yk(t),u=e.success||Xk(t),c=e.warning||Jk(t);function d(h){return Hk(h,Ra.text.primary)>=n?Ra.text.primary:gp.text.primary}const f=({color:h,name:w,mainShade:m=500,lightShade:y=300,darkShade:v=700})=>{if(h=$({},h),!h.main&&h[m]&&(h.main=h[m]),!h.hasOwnProperty("main"))throw new Error(Gr(11,w?` (${w})`:"",m));if(typeof h.main!="string")throw new Error(Gr(12,w?` (${w})`:"",JSON.stringify(h.main)));return vp(h,"light",y,r),vp(h,"dark",v,r),h.contrastText||(h.contrastText=d(h.main)),h},g={dark:Ra,light:gp};return Yt($({common:$({},ni),mode:t,primary:f({color:i,name:"primary"}),secondary:f({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:f({color:s,name:"error"}),warning:f({color:c,name:"warning"}),info:f({color:a,name:"info"}),success:f({color:u,name:"success"}),grey:yS,contrastThreshold:n,getContrastText:d,augmentColor:f,tonalOffset:r},g[t]),o)}const eE=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function tE(e){return Math.round(e*1e5)/1e5}const wp={textTransform:"uppercase"},Sp='"Roboto", "Helvetica", "Arial", sans-serif';function nE(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Sp,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:c,pxToRem:d}=n,f=Ce(n,eE),g=o/14,p=d||(m=>`${m/u*g}rem`),h=(m,y,v,S,x)=>$({fontFamily:r,fontWeight:m,fontSize:p(y),lineHeight:v},r===Sp?{letterSpacing:`${tE(S/y)}em`}:{},x,c),w={h1:h(i,96,1.167,-1.5),h2:h(i,60,1.2,-.5),h3:h(l,48,1.167,0),h4:h(l,34,1.235,.25),h5:h(l,24,1.334,0),h6:h(s,20,1.6,.15),subtitle1:h(l,16,1.75,.15),subtitle2:h(s,14,1.57,.1),body1:h(l,16,1.5,.15),body2:h(l,14,1.43,.15),button:h(s,14,1.75,.4,wp),caption:h(l,12,1.66,.4),overline:h(l,12,2.66,1,wp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Yt($({htmlFontSize:u,pxToRem:p,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:s,fontWeightBold:a},w),f,{clone:!1})}const rE=.2,oE=.14,iE=.12;function se(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rE})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${oE})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${iE})`].join(",")}const lE=["none",se(0,2,1,-1,0,1,1,0,0,1,3,0),se(0,3,1,-2,0,2,2,0,0,1,5,0),se(0,3,3,-2,0,3,4,0,0,1,8,0),se(0,2,4,-1,0,4,5,0,0,1,10,0),se(0,3,5,-1,0,5,8,0,0,1,14,0),se(0,3,5,-1,0,6,10,0,0,1,18,0),se(0,4,5,-2,0,7,10,1,0,2,16,1),se(0,5,5,-3,0,8,10,1,0,3,14,2),se(0,5,6,-3,0,9,12,1,0,3,16,2),se(0,6,6,-3,0,10,14,1,0,4,18,3),se(0,6,7,-4,0,11,15,1,0,4,20,3),se(0,7,8,-4,0,12,17,2,0,5,22,4),se(0,7,8,-4,0,13,19,2,0,5,24,4),se(0,7,9,-4,0,14,21,2,0,5,26,4),se(0,8,9,-5,0,15,22,2,0,6,28,5),se(0,8,10,-5,0,16,24,2,0,6,30,5),se(0,8,11,-5,0,17,26,2,0,6,32,5),se(0,9,11,-5,0,18,28,2,0,7,34,6),se(0,9,12,-6,0,19,29,2,0,7,36,6),se(0,10,13,-6,0,20,31,3,0,8,38,7),se(0,10,13,-6,0,21,33,3,0,8,40,7),se(0,10,14,-6,0,22,35,3,0,8,42,7),se(0,11,14,-7,0,23,36,3,0,9,44,8),se(0,11,15,-7,0,24,38,3,0,9,46,8)],sE=lE,aE=["duration","easing","delay"],uE={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)"},cE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function xp(e){return`${Math.round(e)}ms`}function fE(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function dE(e){const t=$({},uE,e.easing),n=$({},cE,e.duration);return $({getAutoHeightDuration:fE,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:s=t.easeInOut,delay:a=0}=i;return Ce(i,aE),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof l=="string"?l:xp(l)} ${s} ${typeof a=="string"?a:xp(a)}`).join(",")}},e,{easing:t,duration:n})}const pE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},hE=pE,mE=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ly(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=Ce(e,mE);if(e.vars)throw new Error(Gr(18));const s=Zk(r),a=df(e);let u=Yt(a,{mixins:Wk(a.breakpoints,n),palette:s,shadows:sE.slice(),typography:nE(s,i),transitions:dE(o),zIndex:$({},hE)});return u=Yt(u,l),u=t.reduce((c,d)=>Yt(c,d),u),u.unstable_sxConfig=$({},Ls,l==null?void 0:l.unstable_sxConfig),u.unstable_sx=function(d){return Is({sx:d,theme:this})},u}const yE=ly(),mf=yE;function gE(){const e=pf(mf);return e[Cs]||e}function ir({props:e,name:t}){return Dk({props:e,name:t,defaultTheme:mf,themeId:Cs})}const sy=e=>Zi(e)&&e!=="classes",vE=jk({themeId:Cs,defaultTheme:mf,rootShouldForwardProp:sy}),et=vE;function wE(e){return Nn("MuiSvgIcon",e)}Mn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const SE=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],xE=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ie(t)}`,`fontSize${ie(n)}`]};return or(o,wE,r)},kE=et("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ie(n.color)}`],t[`fontSize${ie(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,l,s,a,u,c,d,f,g,p,h,w,m,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(i=o.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(s=l.pxToRem)==null?void 0:s.call(l,20))||"1.25rem",medium:((a=e.typography)==null||(u=a.pxToRem)==null?void 0:u.call(a,24))||"1.5rem",large:((c=e.typography)==null||(d=c.pxToRem)==null?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:(f=(g=(e.vars||e).palette)==null||(p=g[t.color])==null?void 0:p.main)!=null?f:{action:(h=(e.vars||e).palette)==null||(w=h.action)==null?void 0:w.active,disabled:(m=(e.vars||e).palette)==null||(y=m.action)==null?void 0:y.disabled,inherit:void 0}[t.color]}}),ay=b.exports.forwardRef(function(t,n){const r=ir({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:l="inherit",component:s="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:d,viewBox:f="0 0 24 24"}=r,g=Ce(r,SE),p=b.exports.isValidElement(o)&&o.type==="svg",h=$({},r,{color:l,component:s,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:f,hasSvgAsChild:p}),w={};c||(w.viewBox=f);const m=xE(h);return $e(kE,$({as:s,className:Pe(m.root,i),focusable:"false",color:u,"aria-hidden":d?void 0:!0,role:d?"img":void 0,ref:n},w,g,p&&o.props,{ownerState:h,children:[p?o.props.children:o,d?M("title",{children:d}):null]}))});ay.muiName="SvgIcon";const kp=ay;function yf(e,t){function n(r,o){return M(kp,$({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=kp.muiName,b.exports.memo(b.exports.forwardRef(n))}function Fu(e,t){return Fu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Fu(e,t)}function EE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fu(e,t)}const Ep=Gn.createContext(null);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gf(e,t){var n=function(i){return t&&b.exports.isValidElement(i)?t(i):i},r=Object.create(null);return e&&b.exports.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function bE(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,s={};for(var a in t){if(r[a])for(l=0;l{if(!s&&a!=null){const h=setTimeout(a,u);return()=>{clearTimeout(h)}}},[a,s,u]),M("span",{className:f,style:g,children:M("span",{className:p})})}const $E=Mn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),pt=$E,NE=["center","classes","className"];let js=e=>e,Cp,bp,Tp,Pp;const Du=550,ME=80,LE=to(Cp||(Cp=js` - 0% { - transform: scale(0); - opacity: 0.1; - } - - 100% { - transform: scale(1); - opacity: 0.3; - } -`)),IE=to(bp||(bp=js` - 0% { - opacity: 1; - } - - 100% { - opacity: 0; - } -`)),zE=to(Tp||(Tp=js` - 0% { - transform: scale(1); - } - - 50% { - transform: scale(0.92); - } - - 100% { - transform: scale(1); - } -`)),jE=et("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),FE=et(AE,{name:"MuiTouchRipple",slot:"Ripple"})(Pp||(Pp=js` - opacity: 0; - position: absolute; - - &.${0} { - opacity: 0.3; - transform: scale(1); - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - &.${0} { - animation-duration: ${0}ms; - } - - & .${0} { - opacity: 1; - display: block; - width: 100%; - height: 100%; - border-radius: 50%; - background-color: currentColor; - } - - & .${0} { - opacity: 0; - animation-name: ${0}; - animation-duration: ${0}ms; - animation-timing-function: ${0}; - } - - & .${0} { - position: absolute; - /* @noflip */ - left: 0px; - top: 0; - animation-name: ${0}; - animation-duration: 2500ms; - animation-timing-function: ${0}; - animation-iteration-count: infinite; - animation-delay: 200ms; - } -`),pt.rippleVisible,LE,Du,({theme:e})=>e.transitions.easing.easeInOut,pt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,pt.child,pt.childLeaving,IE,Du,({theme:e})=>e.transitions.easing.easeInOut,pt.childPulsate,zE,({theme:e})=>e.transitions.easing.easeInOut),DE=b.exports.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,s=Ce(r,NE),[a,u]=b.exports.useState([]),c=b.exports.useRef(0),d=b.exports.useRef(null);b.exports.useEffect(()=>{d.current&&(d.current(),d.current=null)},[a]);const f=b.exports.useRef(!1),g=b.exports.useRef(0),p=b.exports.useRef(null),h=b.exports.useRef(null);b.exports.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]);const w=b.exports.useCallback(S=>{const{pulsate:x,rippleX:T,rippleY:E,rippleSize:R,cb:I}=S;u(k=>[...k,M(FE,{classes:{ripple:Pe(i.ripple,pt.ripple),rippleVisible:Pe(i.rippleVisible,pt.rippleVisible),ripplePulsate:Pe(i.ripplePulsate,pt.ripplePulsate),child:Pe(i.child,pt.child),childLeaving:Pe(i.childLeaving,pt.childLeaving),childPulsate:Pe(i.childPulsate,pt.childPulsate)},timeout:Du,pulsate:x,rippleX:T,rippleY:E,rippleSize:R},c.current)]),c.current+=1,d.current=I},[i]),m=b.exports.useCallback((S={},x={},T=()=>{})=>{const{pulsate:E=!1,center:R=o||x.pulsate,fakeElement:I=!1}=x;if((S==null?void 0:S.type)==="mousedown"&&f.current){f.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(f.current=!0);const k=I?null:h.current,A=k?k.getBoundingClientRect():{width:0,height:0,left:0,top:0};let H,te,z;if(R||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)H=Math.round(A.width/2),te=Math.round(A.height/2);else{const{clientX:j,clientY:B}=S.touches&&S.touches.length>0?S.touches[0]:S;H=Math.round(j-A.left),te=Math.round(B-A.top)}if(R)z=Math.sqrt((2*A.width**2+A.height**2)/3),z%2===0&&(z+=1);else{const j=Math.max(Math.abs((k?k.clientWidth:0)-H),H)*2+2,B=Math.max(Math.abs((k?k.clientHeight:0)-te),te)*2+2;z=Math.sqrt(j**2+B**2)}S!=null&&S.touches?p.current===null&&(p.current=()=>{w({pulsate:E,rippleX:H,rippleY:te,rippleSize:z,cb:T})},g.current=setTimeout(()=>{p.current&&(p.current(),p.current=null)},ME)):w({pulsate:E,rippleX:H,rippleY:te,rippleSize:z,cb:T})},[o,w]),y=b.exports.useCallback(()=>{m({},{pulsate:!0})},[m]),v=b.exports.useCallback((S,x)=>{if(clearTimeout(g.current),(S==null?void 0:S.type)==="touchend"&&p.current){p.current(),p.current=null,g.current=setTimeout(()=>{v(S,x)});return}p.current=null,u(T=>T.length>0?T.slice(1):T),d.current=x},[]);return b.exports.useImperativeHandle(n,()=>({pulsate:y,start:m,stop:v}),[y,m,v]),M(jE,$({className:Pe(pt.root,i.root,l),ref:h},s,{children:M(_E,{component:null,exit:!0,children:a})}))}),BE=DE;function UE(e){return Nn("MuiButtonBase",e)}const HE=Mn("MuiButtonBase",["root","disabled","focusVisible"]),VE=HE,WE=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],KE=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=or({root:["root",t&&"disabled",n&&"focusVisible"]},UE,o);return n&&r&&(l.root+=` ${r}`),l},GE=et("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${VE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qE=b.exports.forwardRef(function(t,n){const r=ir({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:s,component:a="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:f=!1,LinkComponent:g="a",onBlur:p,onClick:h,onContextMenu:w,onDragLeave:m,onFocus:y,onFocusVisible:v,onKeyDown:S,onKeyUp:x,onMouseDown:T,onMouseLeave:E,onMouseUp:R,onTouchEnd:I,onTouchMove:k,onTouchStart:A,tabIndex:H=0,TouchRippleProps:te,touchRippleRef:z,type:j}=r,B=Ce(r,WE),G=b.exports.useRef(null),P=b.exports.useRef(null),_=np(P,z),{isFocusVisibleRef:L,onFocus:F,onBlur:X,ref:Ke}=AS(),[ge,dt]=b.exports.useState(!1);u&&ge&&dt(!1),b.exports.useImperativeHandle(o,()=>({focusVisible:()=>{dt(!0),G.current.focus()}}),[]);const[Be,lr]=b.exports.useState(!1);b.exports.useEffect(()=>{lr(!0)},[]);const zy=Be&&!c&&!u;b.exports.useEffect(()=>{ge&&f&&!c&&Be&&P.current.pulsate()},[c,f,ge,Be]);function Ht(U,Tf,Jy=d){return Ii(Pf=>(Tf&&Tf(Pf),!Jy&&P.current&&P.current[U](Pf),!0))}const jy=Ht("start",T),Fy=Ht("stop",w),Dy=Ht("stop",m),By=Ht("stop",R),Uy=Ht("stop",U=>{ge&&U.preventDefault(),E&&E(U)}),Hy=Ht("start",A),Vy=Ht("stop",I),Wy=Ht("stop",k),Ky=Ht("stop",U=>{X(U),L.current===!1&&dt(!1),p&&p(U)},!1),Gy=Ii(U=>{G.current||(G.current=U.currentTarget),F(U),L.current===!0&&(dt(!0),v&&v(U)),y&&y(U)}),Ws=()=>{const U=G.current;return a&&a!=="button"&&!(U.tagName==="A"&&U.href)},Ks=b.exports.useRef(!1),qy=Ii(U=>{f&&!Ks.current&&ge&&P.current&&U.key===" "&&(Ks.current=!0,P.current.stop(U,()=>{P.current.start(U)})),U.target===U.currentTarget&&Ws()&&U.key===" "&&U.preventDefault(),S&&S(U),U.target===U.currentTarget&&Ws()&&U.key==="Enter"&&!u&&(U.preventDefault(),h&&h(U))}),Qy=Ii(U=>{f&&U.key===" "&&P.current&&ge&&!U.defaultPrevented&&(Ks.current=!1,P.current.stop(U,()=>{P.current.pulsate(U)})),x&&x(U),h&&U.target===U.currentTarget&&Ws()&&U.key===" "&&!U.defaultPrevented&&h(U)});let vi=a;vi==="button"&&(B.href||B.to)&&(vi=g);const oo={};vi==="button"?(oo.type=j===void 0?"button":j,oo.disabled=u):(!B.href&&!B.to&&(oo.role="button"),u&&(oo["aria-disabled"]=u));const Yy=np(n,Ke,G),bf=$({},r,{centerRipple:i,component:a,disabled:u,disableRipple:c,disableTouchRipple:d,focusRipple:f,tabIndex:H,focusVisible:ge}),Xy=KE(bf);return $e(GE,$({as:vi,className:Pe(Xy.root,s),ownerState:bf,onBlur:Ky,onClick:h,onContextMenu:Fy,onFocus:Gy,onKeyDown:qy,onKeyUp:Qy,onMouseDown:jy,onMouseLeave:Uy,onMouseUp:By,onDragLeave:Dy,onTouchEnd:Vy,onTouchMove:Wy,onTouchStart:Hy,ref:Yy,tabIndex:u?-1:H,type:j},oo,B,{children:[l,zy?M(BE,$({ref:_,center:i},te)):null]}))}),QE=qE;function YE(e){return Nn("MuiTypography",e)}Mn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const XE=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],JE=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:l}=e,s={root:["root",i,e.align!=="inherit"&&`align${ie(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return or(s,YE,l)},ZE=et("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ie(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>$({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Op={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},e2={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},t2=e=>e2[e]||e,n2=b.exports.forwardRef(function(t,n){const r=ir({props:t,name:"MuiTypography"}),o=t2(r.color),i=ty($({},r,{color:o})),{align:l="inherit",className:s,component:a,gutterBottom:u=!1,noWrap:c=!1,paragraph:d=!1,variant:f="body1",variantMapping:g=Op}=i,p=Ce(i,XE),h=$({},i,{align:l,color:o,className:s,component:a,gutterBottom:u,noWrap:c,paragraph:d,variant:f,variantMapping:g}),w=a||(d?"p":g[f]||Op[f])||"span",m=JE(h);return M(ZE,$({as:w,ref:n,ownerState:h,className:Pe(m.root,s)},p))}),ot=n2;function r2({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const o2=b.exports.createContext(void 0),i2=o2;function uy(){return b.exports.useContext(i2)}const l2=ly(),s2=Rk({themeId:Cs,defaultTheme:l2,defaultClassName:"MuiBox-root",generateClassName:z0.generate}),a2=s2;function u2(e){return Nn("PrivateSwitchBase",e)}Mn("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const c2=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],f2=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${ie(o)}`],input:["input"]};return or(i,u2,t)},d2=et(QE)(({ownerState:e})=>$({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),p2=et("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),h2=b.exports.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:l,defaultChecked:s,disabled:a,disableFocusRipple:u=!1,edge:c=!1,icon:d,id:f,inputProps:g,inputRef:p,name:h,onBlur:w,onChange:m,onFocus:y,readOnly:v,required:S=!1,tabIndex:x,type:T,value:E}=t,R=Ce(t,c2),[I,k]=CS({controlled:o,default:Boolean(s),name:"SwitchBase",state:"checked"}),A=uy(),H=_=>{y&&y(_),A&&A.onFocus&&A.onFocus(_)},te=_=>{w&&w(_),A&&A.onBlur&&A.onBlur(_)},z=_=>{if(_.nativeEvent.defaultPrevented)return;const L=_.target.checked;k(L),m&&m(_,L)};let j=a;A&&typeof j>"u"&&(j=A.disabled);const B=T==="checkbox"||T==="radio",G=$({},t,{checked:I,disabled:j,disableFocusRipple:u,edge:c}),P=f2(G);return $e(d2,$({component:"span",className:Pe(P.root,l),centerRipple:!0,focusRipple:!u,disabled:j,tabIndex:null,role:void 0,onFocus:H,onBlur:te,ownerState:G,ref:n},R,{children:[M(p2,$({autoFocus:r,checked:o,defaultChecked:s,className:P.input,disabled:j,id:B?f:void 0,name:h,onChange:z,readOnly:v,ref:p,required:S,ownerState:G,tabIndex:x,type:T},T==="checkbox"&&E===void 0?{}:{value:E},g)),I?i:d]}))}),m2=h2,y2=yf(M("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),g2=yf(M("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),v2=yf(M("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function w2(e){return Nn("MuiCheckbox",e)}const S2=Mn("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),_a=S2,x2=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],k2=e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${ie(r)}`]},i=or(o,w2,t);return $({},t,i)},E2=et(m2,{shouldForwardProp:e=>sy(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${ie(n.color)}`]]}})(({theme:e,ownerState:t})=>$({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Vk(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${_a.checked}, &.${_a.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${_a.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),C2=M(g2,{}),b2=M(y2,{}),T2=M(v2,{}),P2=b.exports.forwardRef(function(t,n){var r,o;const i=ir({props:t,name:"MuiCheckbox"}),{checkedIcon:l=C2,color:s="primary",icon:a=b2,indeterminate:u=!1,indeterminateIcon:c=T2,inputProps:d,size:f="medium",className:g}=i,p=Ce(i,x2),h=u?c:a,w=u?c:l,m=$({},i,{color:s,indeterminate:u,size:f}),y=k2(m);return M(E2,$({type:"checkbox",inputProps:$({"data-indeterminate":u},d),icon:b.exports.cloneElement(h,{fontSize:(r=h.props.fontSize)!=null?r:f}),checkedIcon:b.exports.cloneElement(w,{fontSize:(o=w.props.fontSize)!=null?o:f}),ownerState:m,ref:n,className:Pe(y.root,g)},p,{classes:y}))}),O2=P2;function R2(e){return Nn("MuiFormControlLabel",e)}const _2=Mn("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),bo=_2,A2=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],$2=e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,l={root:["root",n&&"disabled",`labelPlacement${ie(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return or(l,R2,t)},N2=et("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bo.label}`]:t.label},t.root,t[`labelPlacement${ie(n.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>$({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${bo.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${bo.label}`]:{[`&.${bo.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),M2=et("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${bo.error}`]:{color:(e.vars||e).palette.error.main}})),L2=b.exports.forwardRef(function(t,n){var r,o;const i=ir({props:t,name:"MuiFormControlLabel"}),{className:l,componentsProps:s={},control:a,disabled:u,disableTypography:c,label:d,labelPlacement:f="end",required:g,slotProps:p={}}=i,h=Ce(i,A2),w=uy(),m=(r=u!=null?u:a.props.disabled)!=null?r:w==null?void 0:w.disabled,y=g!=null?g:a.props.required,v={disabled:m,required:y};["checked","name","onChange","value","inputRef"].forEach(I=>{typeof a.props[I]>"u"&&typeof i[I]<"u"&&(v[I]=i[I])});const S=r2({props:i,muiFormControl:w,states:["error"]}),x=$({},i,{disabled:m,labelPlacement:f,required:y,error:S.error}),T=$2(x),E=(o=p.typography)!=null?o:s.typography;let R=d;return R!=null&&R.type!==ot&&!c&&(R=M(ot,$({component:"span"},E,{className:Pe(T.label,E==null?void 0:E.className),children:R}))),$e(N2,$({className:Pe(T.root,l),ownerState:x,ref:n},h,{children:[b.exports.cloneElement(a,v),R,y&&$e(M2,{ownerState:x,"aria-hidden":!0,className:T.asterisk,children:["\u2009","*"]})]}))}),I2=L2;function z2(e){return Nn("MuiLinearProgress",e)}Mn("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const j2=["className","color","value","valueBuffer","variant"];let no=e=>e,Rp,_p,Ap,$p,Np,Mp;const Bu=4,F2=to(Rp||(Rp=no` - 0% { - left: -35%; - right: 100%; - } - - 60% { - left: 100%; - right: -90%; - } - - 100% { - left: 100%; - right: -90%; - } -`)),D2=to(_p||(_p=no` - 0% { - left: -200%; - right: 100%; - } - - 60% { - left: 107%; - right: -8%; - } - - 100% { - left: 107%; - right: -8%; - } -`)),B2=to(Ap||(Ap=no` - 0% { - opacity: 1; - background-position: 0 -23px; - } - - 60% { - opacity: 0; - background-position: 0 -23px; - } - - 100% { - opacity: 1; - background-position: -200px -23px; - } -`)),U2=e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${ie(r)}`,n],dashed:["dashed",`dashedColor${ie(r)}`],bar1:["bar",`barColor${ie(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${ie(r)}`,n==="buffer"&&`color${ie(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return or(o,z2,t)},wf=(e,t)=>t==="inherit"?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?iy(e.palette[t].main,.62):oy(e.palette[t].main,.5),H2=et("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ie(n.color)}`],t[n.variant]]}})(({ownerState:e,theme:t})=>$({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:wf(t,e.color)},e.color==="inherit"&&e.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},e.variant==="buffer"&&{backgroundColor:"transparent"},e.variant==="query"&&{transform:"rotate(180deg)"})),V2=et("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${ie(n.color)}`]]}})(({ownerState:e,theme:t})=>{const n=wf(t,e.color);return $({position:"absolute",marginTop:0,height:"100%",width:"100%"},e.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},Os($p||($p=no` - animation: ${0} 3s infinite linear; - `),B2)),W2=et("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${ie(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar1Indeterminate,n.variant==="determinate"&&t.bar1Determinate,n.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>$({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.variant==="determinate"&&{transition:`transform .${Bu}s linear`},e.variant==="buffer"&&{zIndex:1,transition:`transform .${Bu}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&Os(Np||(Np=no` - width: auto; - animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; - `),F2)),K2=et("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${ie(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>$({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:wf(t,e.color),transition:`transform .${Bu}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&Os(Mp||(Mp=no` - width: auto; - animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; - `),D2)),G2=b.exports.forwardRef(function(t,n){const r=ir({props:t,name:"MuiLinearProgress"}),{className:o,color:i="primary",value:l,valueBuffer:s,variant:a="indeterminate"}=r,u=Ce(r,j2),c=$({},r,{color:i,variant:a}),d=U2(c),f=gE(),g={},p={bar1:{},bar2:{}};if((a==="determinate"||a==="buffer")&&l!==void 0){g["aria-valuenow"]=Math.round(l),g["aria-valuemin"]=0,g["aria-valuemax"]=100;let h=l-100;f.direction==="rtl"&&(h=-h),p.bar1.transform=`translateX(${h}%)`}if(a==="buffer"&&s!==void 0){let h=(s||0)-100;f.direction==="rtl"&&(h=-h),p.bar2.transform=`translateX(${h}%)`}return $e(H2,$({className:Pe(d.root,o),ownerState:c,role:"progressbar"},g,{ref:n},u,{children:[a==="buffer"?M(V2,{className:d.dashed,ownerState:c}):null,M(W2,{className:d.bar1,ownerState:c,style:p.bar1}),a==="determinate"?null:M(K2,{className:d.bar2,ownerState:c,style:p.bar2})]}))}),q2=G2;function cy(e,t){return function(){return e.apply(t,arguments)}}const{toString:Q2}=Object.prototype,{getPrototypeOf:Sf}=Object,Fs=(e=>t=>{const n=Q2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ut=e=>(e=e.toLowerCase(),t=>Fs(t)===e),Ds=e=>t=>typeof t===e,{isArray:ro}=Array,li=Ds("undefined");function Y2(e){return e!==null&&!li(e)&&e.constructor!==null&&!li(e.constructor)&&vt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const fy=Ut("ArrayBuffer");function X2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&fy(e.buffer),t}const J2=Ds("string"),vt=Ds("function"),dy=Ds("number"),Bs=e=>e!==null&&typeof e=="object",Z2=e=>e===!0||e===!1,el=e=>{if(Fs(e)!=="object")return!1;const t=Sf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},eC=Ut("Date"),tC=Ut("File"),nC=Ut("Blob"),rC=Ut("FileList"),oC=e=>Bs(e)&&vt(e.pipe),iC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||vt(e.append)&&((t=Fs(e))==="formdata"||t==="object"&&vt(e.toString)&&e.toString()==="[object FormData]"))},lC=Ut("URLSearchParams"),sC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ro(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const hy=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),my=e=>!li(e)&&e!==hy;function Uu(){const{caseless:e}=my(this)&&this||{},t={},n=(r,o)=>{const i=e&&py(t,o)||o;el(t[i])&&el(r)?t[i]=Uu(t[i],r):el(r)?t[i]=Uu({},r):ro(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(yi(t,(o,i)=>{n&&vt(o)?e[i]=cy(o,n):e[i]=o},{allOwnKeys:r}),e),uC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),cC=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},fC=(e,t,n,r)=>{let o,i,l;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],(!r||r(l,e,t))&&!s[l]&&(t[l]=e[l],s[l]=!0);e=n!==!1&&Sf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},dC=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},pC=e=>{if(!e)return null;if(ro(e))return e;let t=e.length;if(!dy(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},hC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Sf(Uint8Array)),mC=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},yC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},gC=Ut("HTMLFormElement"),vC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Lp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wC=Ut("RegExp"),yy=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};yi(n,(o,i)=>{t(o,i,e)!==!1&&(r[i]=o)}),Object.defineProperties(e,r)},SC=e=>{yy(e,(t,n)=>{if(vt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(!!vt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xC=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return ro(e)?r(e):r(String(e).split(t)),n},kC=()=>{},EC=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Aa="abcdefghijklmnopqrstuvwxyz",Ip="0123456789",gy={DIGIT:Ip,ALPHA:Aa,ALPHA_DIGIT:Aa+Aa.toUpperCase()+Ip},CC=(e=16,t=gy.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function bC(e){return!!(e&&vt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const TC=e=>{const t=new Array(10),n=(r,o)=>{if(Bs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=ro(r)?[]:{};return yi(r,(l,s)=>{const a=n(l,o+1);!li(a)&&(i[s]=a)}),t[o]=void 0,i}}return r};return n(e,0)},PC=Ut("AsyncFunction"),OC=e=>e&&(Bs(e)||vt(e))&&vt(e.then)&&vt(e.catch),C={isArray:ro,isArrayBuffer:fy,isBuffer:Y2,isFormData:iC,isArrayBufferView:X2,isString:J2,isNumber:dy,isBoolean:Z2,isObject:Bs,isPlainObject:el,isUndefined:li,isDate:eC,isFile:tC,isBlob:nC,isRegExp:wC,isFunction:vt,isStream:oC,isURLSearchParams:lC,isTypedArray:hC,isFileList:rC,forEach:yi,merge:Uu,extend:aC,trim:sC,stripBOM:uC,inherits:cC,toFlatObject:fC,kindOf:Fs,kindOfTest:Ut,endsWith:dC,toArray:pC,forEachEntry:mC,matchAll:yC,isHTMLForm:gC,hasOwnProperty:Lp,hasOwnProp:Lp,reduceDescriptors:yy,freezeMethods:SC,toObjectSet:xC,toCamelCase:vC,noop:kC,toFiniteNumber:EC,findKey:py,global:hy,isContextDefined:my,ALPHABET:gy,generateString:CC,isSpecCompliantForm:bC,toJSONObject:TC,isAsyncFn:PC,isThenable:OC};function W(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}C.inherits(W,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:C.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const vy=W.prototype,wy={};["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(e=>{wy[e]={value:e}});Object.defineProperties(W,wy);Object.defineProperty(vy,"isAxiosError",{value:!0});W.from=(e,t,n,r,o,i)=>{const l=Object.create(vy);return C.toFlatObject(e,l,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),W.call(l,e.message,t,n,r,o),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const RC=null;function Hu(e){return C.isPlainObject(e)||C.isArray(e)}function Sy(e){return C.endsWith(e,"[]")?e.slice(0,-2):e}function zp(e,t,n){return e?e.concat(t).map(function(o,i){return o=Sy(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function _C(e){return C.isArray(e)&&!e.some(Hu)}const AC=C.toFlatObject(C,{},null,function(t){return/^is[A-Z]/.test(t)});function Us(e,t,n){if(!C.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=C.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,w){return!C.isUndefined(w[h])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,l=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&C.isSpecCompliantForm(t);if(!C.isFunction(o))throw new TypeError("visitor must be a function");function u(p){if(p===null)return"";if(C.isDate(p))return p.toISOString();if(!a&&C.isBlob(p))throw new W("Blob is not supported. Use a Buffer instead.");return C.isArrayBuffer(p)||C.isTypedArray(p)?a&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function c(p,h,w){let m=p;if(p&&!w&&typeof p=="object"){if(C.endsWith(h,"{}"))h=r?h:h.slice(0,-2),p=JSON.stringify(p);else if(C.isArray(p)&&_C(p)||(C.isFileList(p)||C.endsWith(h,"[]"))&&(m=C.toArray(p)))return h=Sy(h),m.forEach(function(v,S){!(C.isUndefined(v)||v===null)&&t.append(l===!0?zp([h],S,i):l===null?h:h+"[]",u(v))}),!1}return Hu(p)?!0:(t.append(zp(w,h,i),u(p)),!1)}const d=[],f=Object.assign(AC,{defaultVisitor:c,convertValue:u,isVisitable:Hu});function g(p,h){if(!C.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+h.join("."));d.push(p),C.forEach(p,function(m,y){(!(C.isUndefined(m)||m===null)&&o.call(t,m,C.isString(y)?y.trim():y,h,f))===!0&&g(m,h?h.concat(y):[y])}),d.pop()}}if(!C.isObject(e))throw new TypeError("data must be an object");return g(e),t}function jp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function xf(e,t){this._pairs=[],e&&Us(e,this,t)}const xy=xf.prototype;xy.append=function(t,n){this._pairs.push([t,n])};xy.toString=function(t){const n=t?function(r){return t.call(this,r,jp)}:jp;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function $C(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ky(e,t,n){if(!t)return e;const r=n&&n.encode||$C,o=n&&n.serialize;let i;if(o?i=o(t,n):i=C.isURLSearchParams(t)?t.toString():new xf(t,n).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class NC{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){C.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Fp=NC,Ey={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},MC=typeof URLSearchParams<"u"?URLSearchParams:xf,LC=typeof FormData<"u"?FormData:null,IC=typeof Blob<"u"?Blob:null,zC=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),jC=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),zt={isBrowser:!0,classes:{URLSearchParams:MC,FormData:LC,Blob:IC},isStandardBrowserEnv:zC,isStandardBrowserWebWorkerEnv:jC,protocols:["http","https","file","blob","url","data"]};function FC(e,t){return Us(e,new zt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return zt.isNode&&C.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function DC(e){return C.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function BC(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return l=!l&&C.isArray(o)?o.length:l,a?(C.hasOwnProp(o,l)?o[l]=[o[l],r]:o[l]=r,!s):((!o[l]||!C.isObject(o[l]))&&(o[l]=[]),t(n,r,o[l],i)&&C.isArray(o[l])&&(o[l]=BC(o[l])),!s)}if(C.isFormData(e)&&C.isFunction(e.entries)){const n={};return C.forEachEntry(e,(r,o)=>{t(DC(r),o,n,0)}),n}return null}const UC={"Content-Type":void 0};function HC(e,t,n){if(C.isString(e))try{return(t||JSON.parse)(e),C.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Hs={transitional:Ey,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=C.isObject(t);if(i&&C.isHTMLForm(t)&&(t=new FormData(t)),C.isFormData(t))return o&&o?JSON.stringify(Cy(t)):t;if(C.isArrayBuffer(t)||C.isBuffer(t)||C.isStream(t)||C.isFile(t)||C.isBlob(t))return t;if(C.isArrayBufferView(t))return t.buffer;if(C.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return FC(t,this.formSerializer).toString();if((s=C.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Us(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),HC(t)):t}],transformResponse:[function(t){const n=this.transitional||Hs.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&C.isString(t)&&(r&&!this.responseType||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(l)throw s.name==="SyntaxError"?W.from(s,W.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zt.classes.FormData,Blob:zt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};C.forEach(["delete","get","head"],function(t){Hs.headers[t]={}});C.forEach(["post","put","patch"],function(t){Hs.headers[t]=C.merge(UC)});const kf=Hs,VC=C.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"]),WC=e=>{const t={};let n,r,o;return e&&e.split(` -`).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),r=l.substring(o+1).trim(),!(!n||t[n]&&VC[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Dp=Symbol("internals");function go(e){return e&&String(e).trim().toLowerCase()}function tl(e){return e===!1||e==null?e:C.isArray(e)?e.map(tl):String(e)}function KC(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const GC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function $a(e,t,n,r,o){if(C.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!C.isString(t)){if(C.isString(r))return t.indexOf(r)!==-1;if(C.isRegExp(r))return r.test(t)}}function qC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function QC(e,t){const n=C.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,l){return this[r].call(this,t,o,i,l)},configurable:!0})})}class Vs{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,a,u){const c=go(a);if(!c)throw new Error("header name must be a non-empty string");const d=C.findKey(o,c);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||a]=tl(s))}const l=(s,a)=>C.forEach(s,(u,c)=>i(u,c,a));return C.isPlainObject(t)||t instanceof this.constructor?l(t,n):C.isString(t)&&(t=t.trim())&&!GC(t)?l(WC(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=go(t),t){const r=C.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return KC(o);if(C.isFunction(n))return n.call(this,o,r);if(C.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=go(t),t){const r=C.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||$a(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(l){if(l=go(l),l){const s=C.findKey(r,l);s&&(!n||$a(r,r[s],s,n))&&(delete r[s],o=!0)}}return C.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||$a(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return C.forEach(this,(o,i)=>{const l=C.findKey(r,i);if(l){n[l]=tl(o),delete n[i];return}const s=t?qC(i):String(i).trim();s!==i&&delete n[i],n[s]=tl(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return C.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&C.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Dp]=this[Dp]={accessors:{}}).accessors,o=this.prototype;function i(l){const s=go(l);r[s]||(QC(o,l),r[s]=!0)}return C.isArray(t)?t.forEach(i):i(t),this}}Vs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);C.freezeMethods(Vs.prototype);C.freezeMethods(Vs);const Xt=Vs;function Na(e,t){const n=this||kf,r=t||n,o=Xt.from(r.headers);let i=r.data;return C.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function by(e){return!!(e&&e.__CANCEL__)}function gi(e,t,n){W.call(this,e==null?"canceled":e,W.ERR_CANCELED,t,n),this.name="CanceledError"}C.inherits(gi,W,{__CANCEL__:!0});function YC(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const XC=zt.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,l,s){const a=[];a.push(n+"="+encodeURIComponent(r)),C.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),C.isString(i)&&a.push("path="+i),C.isString(l)&&a.push("domain="+l),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function JC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ZC(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Ty(e,t){return e&&!JC(t)?ZC(e,t):t}const eb=zt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let l=i;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(l){const s=C.isString(l)?o(l):l;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function tb(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nb(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,l;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),c=r[i];l||(l=u),n[o]=a,r[o]=u;let d=i,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-l{const i=o.loaded,l=o.lengthComputable?o.total:void 0,s=i-n,a=r(s),u=i<=l;n=i;const c={loaded:i,total:l,progress:l?i/l:void 0,bytes:s,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const rb=typeof XMLHttpRequest<"u",ob=rb&&function(e){return new Promise(function(n,r){let o=e.data;const i=Xt.from(e.headers).normalize(),l=e.responseType;let s;function a(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}C.isFormData(o)&&(zt.isStandardBrowserEnv||zt.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+p))}const c=Ty(e.baseURL,e.url);u.open(e.method.toUpperCase(),ky(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function d(){if(!u)return;const g=Xt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),h={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:g,config:e,request:u};YC(function(m){n(m),a()},function(m){r(m),a()},h),u=null}if("onloadend"in u?u.onloadend=d:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(d)},u.onabort=function(){!u||(r(new W("Request aborted",W.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new W("Network Error",W.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const h=e.transitional||Ey;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new W(p,h.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,u)),u=null},zt.isStandardBrowserEnv){const g=(e.withCredentials||eb(c))&&e.xsrfCookieName&&XC.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}o===void 0&&i.setContentType(null),"setRequestHeader"in u&&C.forEach(i.toJSON(),function(p,h){u.setRequestHeader(h,p)}),C.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),l&&l!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",Bp(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Bp(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=g=>{!u||(r(!g||g.type?new gi(null,e,u):g),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const f=tb(c);if(f&&zt.protocols.indexOf(f)===-1){r(new W("Unsupported protocol "+f+":",W.ERR_BAD_REQUEST,e));return}u.send(o||null)})},nl={http:RC,xhr:ob};C.forEach(nl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ib={getAdapter:e=>{e=C.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;oe instanceof Xt?e.toJSON():e;function Qr(e,t){t=t||{};const n={};function r(u,c,d){return C.isPlainObject(u)&&C.isPlainObject(c)?C.merge.call({caseless:d},u,c):C.isPlainObject(c)?C.merge({},c):C.isArray(c)?c.slice():c}function o(u,c,d){if(C.isUndefined(c)){if(!C.isUndefined(u))return r(void 0,u,d)}else return r(u,c,d)}function i(u,c){if(!C.isUndefined(c))return r(void 0,c)}function l(u,c){if(C.isUndefined(c)){if(!C.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function s(u,c,d){if(d in t)return r(u,c);if(d in e)return r(void 0,u)}const a={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(u,c)=>o(Hp(u),Hp(c),!0)};return C.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=a[c]||o,f=d(e[c],t[c],c);C.isUndefined(f)&&d!==s||(n[c]=f)}),n}const Py="1.4.0",Ef={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ef[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Vp={};Ef.transitional=function(t,n,r){function o(i,l){return"[Axios v"+Py+"] Transitional option '"+i+"'"+l+(r?". "+r:"")}return(i,l,s)=>{if(t===!1)throw new W(o(l," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!Vp[l]&&(Vp[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,l,s):!0}};function lb(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],l=t[i];if(l){const s=e[i],a=s===void 0||l(s,i,e);if(a!==!0)throw new W("option "+i+" must be "+a,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+i,W.ERR_BAD_OPTION)}}const Vu={assertOptions:lb,validators:Ef},sn=Vu.validators;class Il{constructor(t){this.defaults=t,this.interceptors={request:new Fp,response:new Fp}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Vu.assertOptions(r,{silentJSONParsing:sn.transitional(sn.boolean),forcedJSONParsing:sn.transitional(sn.boolean),clarifyTimeoutError:sn.transitional(sn.boolean)},!1),o!=null&&(C.isFunction(o)?n.paramsSerializer={serialize:o}:Vu.assertOptions(o,{encode:sn.function,serialize:sn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l;l=i&&C.merge(i.common,i[n.method]),l&&C.forEach(["delete","get","head","post","put","patch","common"],p=>{delete i[p]}),n.headers=Xt.concat(l,i);const s=[];let a=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(a=a&&h.synchronous,s.unshift(h.fulfilled,h.rejected))});const u=[];this.interceptors.response.forEach(function(h){u.push(h.fulfilled,h.rejected)});let c,d=0,f;if(!a){const p=[Up.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,u),f=p.length,c=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const l=new Promise(s=>{r.subscribe(s),i=s}).then(o);return l.cancel=function(){r.unsubscribe(i)},l},t(function(i,l,s){r.reason||(r.reason=new gi(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Cf(function(o){t=o}),cancel:t}}}const sb=Cf;function ab(e){return function(n){return e.apply(null,n)}}function ub(e){return C.isObject(e)&&e.isAxiosError===!0}const Wu={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(Wu).forEach(([e,t])=>{Wu[t]=e});const cb=Wu;function Oy(e){const t=new rl(e),n=cy(rl.prototype.request,t);return C.extend(n,rl.prototype,t,{allOwnKeys:!0}),C.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Oy(Qr(e,o))},n}const Ee=Oy(kf);Ee.Axios=rl;Ee.CanceledError=gi;Ee.CancelToken=sb;Ee.isCancel=by;Ee.VERSION=Py;Ee.toFormData=Us;Ee.AxiosError=W;Ee.Cancel=Ee.CanceledError;Ee.all=function(t){return Promise.all(t)};Ee.spread=ab;Ee.isAxiosError=ub;Ee.mergeConfig=Qr;Ee.AxiosHeaders=Xt;Ee.formToJSON=e=>Cy(C.isHTMLForm(e)?new FormData(e):e);Ee.HttpStatusCode=cb;Ee.default=Ee;const Ry=Ee,fb=e=>{const[t,n]=b.exports.useState([]),[r,o]=b.exports.useState([]),[i,l]=b.exports.useState(!1),[s,a]=b.exports.useState(null),u=()=>{Ry.get(e).then(f=>{n(f.data),c(f.data),l(!0)}).catch(f=>{a("1st error: "+f)}).finally(()=>{})};b.exports.useEffect(()=>{u()},[]);const c=f=>{const g=new Set;Object.keys(f).forEach(v=>{g.add(f[v].branch)});const h=[...g],w=[],m=[];for(let v=0;v{const n={text:" ",color:"black",fontSize:"18px",fontWeight:"bold"};let r=null;if(t.diameter){const i=t.diameter;r=new google.maps.MarkerImage(t.dataURL,new google.maps.Size(i,i),new google.maps.Point(0,0),new google.maps.Point(i/2,i/2))}return new window.google.maps.Marker({position:{lat:t.lat,lng:t.lng},map:e,icon:r,title:t.title,label:n,opacity:t.opacity||1})},pb=(e,t)=>{const n=t.symbol||"FORWARD_CLOSED_ARROW";return new window.google.maps.Polyline({path:[{lat:t.lat[0],lng:t.lng[0]},{lat:t.lat[1],lng:t.lng[1]}],geodesic:!0,strokeColor:t.color||"red",strokeOpacity:t.opacity||1,strokeWeight:t.weight||5,icons:[{icon:{path:google.maps.SymbolPath[n]},offset:t.arrowOffset||"100%"}],map:e})},hb=()=>{const e=b.exports.useRef(null),t=rr();return b.exports.useEffect(()=>{const n=()=>{if(e.current){const r=e.current.offsetWidth,o=e.current.offsetHeight;t(rS({width:r,height:o}))}};return n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[]),{elementRef:e}};const mb=({processMarkerClick:e,map:t})=>{const n=b.exports.useRef({}),r=b.exports.useRef({}),o=rr(),[i,l]=b.exports.useState(!1),s=Te(p=>p.counter[0].gameMode),a=Te(p=>p.counter[0].mapLocation),u=Te(p=>p.counter[0].markerState),c=Te(p=>p.counter[0].polylineState),d=Te(p=>p.counter[0].zoomTracker),{elementRef:f}=hb();return b.exports.useEffect(()=>{if(t&&(a.pan?t.panTo({lat:a.lat,lng:a.lng}):t.setCenter({lat:a.lat,lng:a.lng}),a.zoom&&t.setZoom(a.zoom),a.delta)){const p=new window.google.maps.LatLngBounds;p.extend({lat:a.lat+a.delta,lng:a.lng+a.delta}),p.extend({lat:a.lat-a.delta,lng:a.lng-a.delta}),t.fitBounds(p)}},[t,a]),b.exports.useEffect(()=>{if(t){let p=Object.keys(u),h=Object.keys(n);if(p.length===0){h.forEach(m=>{m!=="current"&&n[m].handle.setMap(null)}),n.current={};return}let w=h.filter(m=>m!=="current"&&!p.includes(m));if(n[w]){n[w].handle.setMap(null),delete n.current[w];return}p.forEach((m,y)=>{const v=u[m];if(!n[m]||n[m].timestamp!==v.timestamp){n[m]&&n[m].handle.setMap(null);const S=db(t,v);S.addListener("click",()=>{v.param!==null&&e(v.param?v.param:v.title,y,v.lat,v.lng,!0)}),n[m]={},n[m].handle=S,n[m].timestamp=v.timestamp}})}},[t,u]),b.exports.useEffect(()=>{if(t){let p=Object.keys(c),h=Object.keys(r);if(p.length===0){h.forEach(m=>{m!=="current"&&r[m].handle.setMap(null)}),r.current={};return}let w=h.filter(m=>m!=="current"&&!p.includes(m));if(r[w]){r[w].handle.setMap(null),delete r.current[w];return}p.forEach((m,y)=>{const v=c[m];if(!r[m]||r[m].timestamp!==v.timestamp){r[m]&&r[m].handle.setMap(null);const S=pb(t,v);r[m]={},r[m].handle=S,r[m].timestamp=v.timestamp}})}},[t,c]),b.exports.useEffect(()=>{const p=t==null?void 0:t.addListener("zoom_changed",()=>{const w=t.getZoom();o(oS([d[1],w]))}),h=Gn.createRef();return h.current=p,()=>{h.current&&google.maps.event.removeListener(h.current)}},[t,s,d]),b.exports.useEffect(()=>{t==null||t.addListener("idle",()=>{}),t==null||t.addListener("center_changed",()=>{})},[t]),$e("div",{className:"GoogleMapsApp",children:[M("div",{id:"map",ref:f}),M(I2,{className:"move-or-not-box",control:M(O2,{checked:i,onChange:p=>{l(p.target.checked);const h=i?"auto":"none";t.setOptions({gestureHandling:h})}}),label:"Map Lock"})]})};function bn(e,t,n,r,o){const i=document.createElement("canvas"),l=i.getContext("2d");i.width=e,i.height=e,l.clearRect(0,0,i.width,i.height);const s=i.width/2,a=i.height/2,u=Math.min(s,a),c=(h,w,m,y,v)=>{h.beginPath(),h.arc(w,m,y,0,Math.PI*2),h.fillStyle=v,h.fill(),h.closePath()};c(l,s,a,u,"black"),c(l,s,a,r[0]*u,"white"),c(l,s,a,r[1]*u,"black"),c(l,s,a,r[2]*u,"#bbbbbb");const d=.65*u-0;l.font="bold "+o+"px Arial",l.fillStyle="black",l.textAlign="center",l.textBaseline="middle";for(let h=0;h{const t=[],n=[],r=[];for(let d=0;d{const l=Ay(n);let s,a,u=!1;return l.zoom>i&&o.zoom>i&&(s=[Gp,Gp],a=3400,u=!0),l.zoomi&&(s=[Wp,Kp],a=1400),o.zoom<=i&&(s=[Kp,Wp],a=1400),r(!0),gb(e,t,l,o,a,s[0],s[1],u,r),a},Ay=e=>{const t=e.getCenter(),n=e.getZoom();return{lat:t.lat(),lng:t.lng(),zoom:n}},gb=(e,t,n,r,o,i,l,s,a)=>{const u=Date.now(),c=()=>{const f=(Date.now()-u)/o;if(f<1){const g=i(f),p=l(f),h=n.lat+g*(r.lat-n.lat),w=n.lng+g*(r.lng-n.lng),m=Math.round(n.zoom+p*(r.zoom-n.zoom));let y;s?y=Math.pow(f<.5?2*(.5-f):2*(f-.5),2):y=1;const v=m*y+2*(1-y);e(t({dall:"dall",value:{lat:h,lng:w,zoom:v}})),setTimeout(function(){requestAnimationFrame(c)},50)}else e(t({dall:"dall",value:{lat:r.lat,lng:r.lng,zoom:r.zoom}})),a(!1)};c()},Wp=e=>e<2/3?1.5*e:1,Kp=e=>e<1/3?0:1.5*(e-1/3),Gp=e=>e,vb=({map:e,getMarkerDiameter:t,isFlying:n,setIsFlying:r,processMarkerClick:o,loaded:i,globalData:l,roundCounter:s,clickHistory:a,processMarkers:u,updateMarkers:c,setRoundCounter:d})=>{const f=rr(),g=Te(k=>k.counter[0].markerState),p=Te(k=>k.counter[0].gameMode),h=Te(k=>k.counter[0].globalView),w=Te(k=>k.counter[0].viewThreshold),m=Te(k=>k.counter[0].zoomTracker),y=[.9,.7,.6],v=.16;b.exports.useEffect(()=>{i&&(f(Mr({dall:"dall",value:h})),x())},[i]),b.exports.useEffect(()=>{if(!(!i||n||p==="route")&&(m[1]===w&&m[0]===w+1&&x(),m[1]===w+1&&m[0]==w)){const k=t("large");T(k)}},[m]);const S=k=>{if(k==="home"){d(0),E();const A=a[0];u(A.conceptName,0,A.centerLat,A.centerLng,!1,!1)}if(k==="back"){const A=a[s-1],H=A.clickDirection,te=H!==0?H+4>8?H+4-8:H+4:0;u(A.conceptName,te,A.centerLat,A.centerLng,!0,!0)}if(k==="route"){f(Wn("route")),E();const{thisMapLocation:A,thisRoute:H}=yb(a);f(Mr({dall:"dall",value:A})),setTimeout(()=>{const te=t("medium");c(H.concept,H.concept,H.lat,H.lng,1,te)},100)}k==="random"&&(f(Wn("globe")),p!=="globe"&&x(),setTimeout(()=>{const A=Math.floor(Math.random()*l.branch.length);o(l.branch[A],A,l.lat[A],l.lng[A],!1)},100)),k==="globe"&&((p!=="globe"||Ay(e).zoom>=w)&&x(),_y(f,Mr,e,r,h,w))},x=()=>{E(),f(Wn("globe")),setTimeout(()=>{const k=t("small");c(l.branch,l.branch,l.lat,l.lng,1,k)},30)},T=k=>{let A=0;for(;g["Marker"+A];){const H={...g["Marker"+A]};H.diameter=k,H.dataURL=bn(k,H.title,"",[.9,.45,.35],k/5),f(Mu({markerName:"Marker"+A,updatedData:H})),A++}},E=()=>{f($0({markerName:"ALL"})),f(lS({polylineName:"ALL"}))},R=[{name:"home",label:"HOME",enabled:s>0&&p!=="details"&&p!=="globe"},{name:"back",label:"BACK",enabled:s>0&&p!=="route"&&p!=="details"&&p!=="globe"},{name:"route",label:"ROUTE",enabled:s>0&&p!=="details"&&p!=="globe"},{name:"random",label:"RAND",enabled:p!=="details"&&!n},{name:"globe",label:"GLOBE",enabled:p!=="details"&&!n}],I={};for(const k of R)I[k.name]=bn(80,"",k.label,y,80*v);return M("div",{className:"BottomButtons",children:R.map(k=>M("img",{className:`${k.name}-button ${k.enabled?"":"mode-button-disabled"}`,src:I[k.name],onClick:()=>k.enabled?S(k.name):"",alt:k.label},k.name))})};const wb=({value:e})=>{const n=e>=50?"bar-value bar-value-high":"bar-value bar-value-low";return M("div",{className:"BarGraphBlock",children:$e("div",{className:"bar-graph-container",children:[M(q2,{variant:"determinate",value:e,className:"progress-bar"}),M(ot,{variant:"body2",className:"bar-graph-label concrete-label",children:"Concrete"}),M(ot,{variant:"body2",className:"bar-graph-label abstract-label",children:"Abstract"}),M(ot,{variant:"body2",className:n,style:{left:`${e}%`},children:e})]})})},Sb=(e,t)=>{const[n,r]=b.exports.useState([]),[o,i]=b.exports.useState(!1),[l,s]=b.exports.useState(null),a=()=>{Ry.get(e+"?concept_name="+t).then(u=>{r(u.data),i(!0)}).catch(u=>{s("1st error: "+u)}).finally(()=>{})};return b.exports.useEffect(()=>{a()},[]),{conceptDetails:n,loaded:o,error:l}},xb=({cloudFunctionURL:e,abstractValue:t})=>{const[n,r]=b.exports.useState(!1),[o,i]=b.exports.useState(!1),l=rr(),s=Te(S=>S.counter[0].markerState),a=s.Marker0.param,u=s.Marker0.lat,c=s.Marker0.lng,{conceptDetails:d,loaded:f,error:g}=Sb(e,a),p=u>=0?"N":"S",h=c>=0?"E":"W",w=`${Math.abs(u).toFixed(2)} ${p}, ${Math.abs(c).toFixed(2)} ${h}`;b.exports.useEffect(()=>{r(!0),setTimeout(()=>{i(!0)},500)},[]);const m=S=>{S.target.closest(".wikilogo")||(i(!1),r(!1),setTimeout(()=>{l(Wn("browse"))},400))},y=bn(80,"","X",[.9,.7,.6],30),v=()=>{window.open("https://en.wikipedia.org/wiki/"+a,"_blank")};return $e("div",{className:`OverlayBlock ${n?"expanded":""}`,onClick:m,children:[M(ot,{className:"OverlayBlockTitle",variant:"h4",children:a}),o&&f&&$e(ks,{children:[M(ot,{className:"OverlayBlockSubTitle",variant:"h6",children:w}),M(wb,{value:t}),M(ot,{className:"OverlayBlockText",variant:"h6",children:d.definition}),M(ot,{className:"OverlayBlockFoot",variant:"h6",children:d.model+" on "+d.date.slice(5,-12)})]}),M("img",{className:"xbutton",src:y,alt:"Close"}),M("a",{href:"https://en.wikipedia.org/wiki/Main_Page",target:"_blank",rel:"noopener noreferrer",children:M("img",{className:"wikilogo",src:"https://ms.wikipedia.org/static/images/icons/wikipedia.png",alt:"Wikipedia",onClick:v})})]})};const kb=()=>{const[e,t]=b.exports.useState(!1),[n,r]=b.exports.useState(!1),[o,i]=b.exports.useState(0);rr();const l=["Concept Explorer is an educational app for understanding concepts, which are fundamental building blocks in thinking. With Concept Explorer, you can learn not only the definitions but also how concepts relate to one another. For instance, Mind and Consciousness are closely related in the conceptual space, much like how Belgium and the Netherlands are closely located in the physical space.","Concept Explorer starts with Globe View, displaying a Google Map with custom markers representing concepts. You can navigate and zoom the map just like a regular Google Map. Once you find an interesting concept, you can start exploring it by clicking on it. Alternatively, you can click RAND to explore a random concept. If you're not satisfied with the concept you are exploring, simply click GLOBE to return to Globe View.","Concept Explorer switches to Browse View once a starting concept has been selected. In Browse View, the map zooms in and shows the selected concept in the center of the screen, surrounded by eight closely related concepts. You can click on any of these surrounding concepts to make it the new center concept. Alternatively, you can click on the center concept to switch to Details View that contains more information about the concept.","Details View is a popup window that provides a summary of the concept, a link to the corresponding Wikipedia article for further exploration, and a score ranging from 0 to 100, indicating how concrete versus abstract the concept is. This score is also displayed in the middle of the marker in Browse View.","In addition to GLOBE and RAND buttons explained earlier, the bottom panel includes HOME, BACK, and ROUTE buttons.These buttons are active only in Browse View, allowing you to return to the starting concept, take one step back on your browsing path, or view the entire route you have been browsing since the starting concept. Happy Exploring!"],s=w=>{w.target.closest(".prevbutton")||w.target.closest(".nextbutton")||w.target.closest(".xbutton")||g()},u=bn(80,"",e?"X":"?",[.9,.7,.6],30),c=bn(80,"","PREV",[.9,.7,.6],80/6),d=bn(80,"","NEXT",[.9,.7,.6],80/6),f=w=>{i(m=>m+w)},g=()=>{if(e){r(!1),t(!1),i(0);return}t(!0),setTimeout(()=>{r(!0)},500)},p=o>0?"":"navbuttondis",h=og(),alt:"Close"})]}),M("div",{className:`InstructionBlockText ${e?"expanded":""}`,onClick:s,children:n&&$e(ks,{children:[M(ot,{className:"InstructionBlockHeader",variant:"h4",children:"Instructions"}),M(ot,{className:"InstructionBlock_Text",variant:"h6",style:{whiteSpace:"pre-line"},children:M("div",{dangerouslySetInnerHTML:{__html:l[o]}})}),$e(ot,{className:"InstructionCounter",variant:"h4",children:[o+1," / ",l.length]}),M("img",{className:`prevbutton ${p}`,src:c,onClick:()=>p===""?f(-1):"",alt:"Previous"}),M("img",{className:`nextbutton ${h}`,src:d,onClick:()=>h===""?f(1):"",alt:"Next"})]})})]})};function Eb(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var $y=b.exports,Cb=Eb($y);function qp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Tb=!!(typeof window<"u"&&window.document&&window.document.createElement);function Pb(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var l=[],s;function a(){s=e(l.map(function(c){return c.props})),u.canUseDOM?t(s):n&&(s=n(s))}var u=function(c){bb(d,c);function d(){return c.apply(this,arguments)||this}d.peek=function(){return s},d.rewind=function(){if(d.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var p=s;return s=void 0,l=[],p};var f=d.prototype;return f.UNSAFE_componentWillMount=function(){l.push(this),a()},f.componentDidUpdate=function(){a()},f.componentWillUnmount=function(){var p=l.indexOf(this);l.splice(p,1),a()},f.render=function(){return Cb.createElement(i,this.props)},d}($y.PureComponent);return qp(u,"displayName","SideEffect("+r(i)+")"),qp(u,"canUseDOM",Tb),u}}var Ob=Pb,Rb=typeof Element<"u",_b=typeof Map=="function",Ab=typeof Set=="function",$b=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function ol(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!ol(e[r],t[r]))return!1;return!0}var i;if(_b&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!ol(r.value[1],t.get(r.value[0])))return!1;return!0}if(Ab&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if($b&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(Rb&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!ol(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var Nb=function(t,n){try{return ol(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};/* -object-assign -(c) Sindre Sorhus -@license MIT -*/var Qp=Object.getOwnPropertySymbols,Mb=Object.prototype.hasOwnProperty,Lb=Object.prototype.propertyIsEnumerable;function Ib(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function zb(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var jb=zb()?Object.assign:function(e,t){for(var n,r=Ib(e),o,i=1;i=0||!Object.prototype.hasOwnProperty.call(e,r)||(n[r]=e[r]);return n},Wb=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Ku=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},Kb=function(t){var n=zr(t,D.TITLE),r=zr(t,si.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=zr(t,si.DEFAULT_TITLE);return n||o||void 0},Gb=function(t){return zr(t,si.ON_CHANGE_CLIENT_STATE)||function(){}},La=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return Ge({},r,o)},{})},qb=function(t,n){return n.filter(function(r){return typeof r[D.BASE]<"u"}).map(function(r){return r[D.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),l=0;l=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},Qb=function(t){return{baseTag:qb([ae.HREF,ae.TARGET],t),bodyAttributes:La(Kn.BODY,t),defer:zr(t,si.DEFER),encode:zr(t,si.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:La(Kn.HTML,t),linkTags:vo(D.LINK,[ae.REL,ae.HREF],t),metaTags:vo(D.META,[ae.NAME,ae.CHARSET,ae.HTTPEQUIV,ae.PROPERTY,ae.ITEM_PROP],t),noscriptTags:vo(D.NOSCRIPT,[ae.INNER_HTML],t),onChangeClientState:Gb(t),scriptTags:vo(D.SCRIPT,[ae.SRC,ae.INNER_HTML],t),styleTags:vo(D.STYLE,[ae.CSS_TEXT],t),title:Kb(t),titleAttributes:La(Kn.TITLE,t)}},Gu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){Gu(t)},0)}}(),Xp=function(t){return clearTimeout(t)},Yb=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||Gu:global.requestAnimationFrame||Gu,Xb=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Xp:global.cancelAnimationFrame||Xp,Jb=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},wo=null,Zb=function(t){wo&&Xb(wo),t.defer?wo=Yb(function(){Jp(t,function(){wo=null})}):(Jp(t),wo=null)},Jp=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,l=t.linkTags,s=t.metaTags,a=t.noscriptTags,u=t.onChangeClientState,c=t.scriptTags,d=t.styleTags,f=t.title,g=t.titleAttributes;qu(D.BODY,o),qu(D.HTML,i),eT(f,g);var p={baseTag:pr(D.BASE,r),linkTags:pr(D.LINK,l),metaTags:pr(D.META,s),noscriptTags:pr(D.NOSCRIPT,a),scriptTags:pr(D.SCRIPT,c),styleTags:pr(D.STYLE,d)},h={},w={};Object.keys(p).forEach(function(m){var y=p[m],v=y.newTags,S=y.oldTags;v.length&&(h[m]=v),S.length&&(w[m]=p[m].oldTags)}),n&&n(),u(t,h,w)},Ny=function(t){return Array.isArray(t)?t.join(""):t},eT=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Ny(t)),qu(D.TITLE,n)},qu=function(t,n){var r=document.getElementsByTagName(t)[0];if(!!r){for(var o=r.getAttribute(Pt),i=o?o.split(","):[],l=[].concat(i),s=Object.keys(n),a=0;a=0;f--)r.removeAttribute(l[f]);i.length===l.length?r.removeAttribute(Pt):r.getAttribute(Pt)!==s.join(",")&&r.setAttribute(Pt,s.join(","))}},pr=function(t,n){var r=document.head||document.querySelector(D.HEAD),o=r.querySelectorAll(t+"["+Pt+"]"),i=Array.prototype.slice.call(o),l=[],s=void 0;return n&&n.length&&n.forEach(function(a){var u=document.createElement(t);for(var c in a)if(a.hasOwnProperty(c))if(c===ae.INNER_HTML)u.innerHTML=a.innerHTML;else if(c===ae.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=a.cssText:u.appendChild(document.createTextNode(a.cssText));else{var d=typeof a[c]>"u"?"":a[c];u.setAttribute(c,d)}u.setAttribute(Pt,"true"),i.some(function(f,g){return s=g,u.isEqualNode(f)})?i.splice(s,1):l.push(u)}),i.forEach(function(a){return a.parentNode.removeChild(a)}),l.forEach(function(a){return r.appendChild(a)}),{oldTags:i,newTags:l}},My=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},tT=function(t,n,r,o){var i=My(r),l=Ny(n);return i?"<"+t+" "+Pt+'="true" '+i+">"+Ku(l,o)+"":"<"+t+" "+Pt+'="true">'+Ku(l,o)+""},nT=function(t,n,r){return n.reduce(function(o,i){var l=Object.keys(i).filter(function(u){return!(u===ae.INNER_HTML||u===ae.CSS_TEXT)}).reduce(function(u,c){var d=typeof i[c]>"u"?c:c+'="'+Ku(i[c],r)+'"';return u?u+" "+d:d},""),s=i.innerHTML||i.cssText||"",a=Db.indexOf(t)===-1;return o+"<"+t+" "+Pt+'="true" '+l+(a?"/>":">"+s+"")},"")},Ly=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[zl[o]||o]=t[o],r},n)},rT=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[Fb[o]||o]=t[o],r},n)},oT=function(t,n,r){var o,i=(o={key:n},o[Pt]=!0,o),l=Ly(r,i);return[M(D.TITLE,{...l,children:n})]},iT=function(t,n){return n.map(function(r,o){var i,l=(i={key:o},i[Pt]=!0,i);return Object.keys(r).forEach(function(s){var a=zl[s]||s;if(a===ae.INNER_HTML||a===ae.CSS_TEXT){var u=r.innerHTML||r.cssText;l.dangerouslySetInnerHTML={__html:u}}else l[a]=r[s]}),Gn.createElement(t,l)})},Vt=function(t,n,r){switch(t){case D.TITLE:return{toComponent:function(){return oT(t,n.title,n.titleAttributes)},toString:function(){return tT(t,n.title,n.titleAttributes,r)}};case Kn.BODY:case Kn.HTML:return{toComponent:function(){return Ly(n)},toString:function(){return My(n)}};default:return{toComponent:function(){return iT(t,n)},toString:function(){return nT(t,n,r)}}}},Iy=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,l=t.linkTags,s=t.metaTags,a=t.noscriptTags,u=t.scriptTags,c=t.styleTags,d=t.title,f=d===void 0?"":d,g=t.titleAttributes;return{base:Vt(D.BASE,n,o),bodyAttributes:Vt(Kn.BODY,r,o),htmlAttributes:Vt(Kn.HTML,i,o),link:Vt(D.LINK,l,o),meta:Vt(D.META,s,o),noscript:Vt(D.NOSCRIPT,a,o),script:Vt(D.SCRIPT,u,o),style:Vt(D.STYLE,c,o),title:Vt(D.TITLE,{title:f,titleAttributes:g},o)}},lT=function(t){var n,r;return r=n=function(o){Vb(i,o);function i(){return Ub(this,i),Wb(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(s){return!Nb(this.props,s)},i.prototype.mapNestedChildrenToProps=function(s,a){if(!a)return null;switch(s.type){case D.SCRIPT:case D.NOSCRIPT:return{innerHTML:a};case D.STYLE:return{cssText:a}}throw new Error("<"+s.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(s){var a,u=s.child,c=s.arrayTypeChildren,d=s.newChildProps,f=s.nestedChildren;return Ge({},c,(a={},a[u.type]=[].concat(c[u.type]||[],[Ge({},d,this.mapNestedChildrenToProps(u,f))]),a))},i.prototype.mapObjectTypeChildren=function(s){var a,u,c=s.child,d=s.newProps,f=s.newChildProps,g=s.nestedChildren;switch(c.type){case D.TITLE:return Ge({},d,(a={},a[c.type]=g,a.titleAttributes=Ge({},f),a));case D.BODY:return Ge({},d,{bodyAttributes:Ge({},f)});case D.HTML:return Ge({},d,{htmlAttributes:Ge({},f)})}return Ge({},d,(u={},u[c.type]=Ge({},f),u))},i.prototype.mapArrayTypeChildrenToProps=function(s,a){var u=Ge({},a);return Object.keys(s).forEach(function(c){var d;u=Ge({},u,(d={},d[c]=s[c],d))}),u},i.prototype.warnOnInvalidChildren=function(s,a){return!0},i.prototype.mapChildrenToProps=function(s,a){var u=this,c={};return Gn.Children.forEach(s,function(d){if(!(!d||!d.props)){var f=d.props,g=f.children,p=Yp(f,["children"]),h=rT(p);switch(u.warnOnInvalidChildren(d,g),d.type){case D.LINK:case D.META:case D.NOSCRIPT:case D.SCRIPT:case D.STYLE:c=u.flattenArrayTypeChildren({child:d,arrayTypeChildren:c,newChildProps:h,nestedChildren:g});break;default:a=u.mapObjectTypeChildren({child:d,newProps:a,newChildProps:h,nestedChildren:g});break}}}),a=this.mapArrayTypeChildrenToProps(c,a),a},i.prototype.render=function(){var s=this.props,a=s.children,u=Yp(s,["children"]),c=Ge({},u);return a&&(c=this.mapChildrenToProps(a,c)),M(t,{...c})},Hb(i,null,[{key:"canUseDOM",set:function(s){t.canUseDOM=s}}]),i}(Gn.Component),n.propTypes={base:oe.exports.object,bodyAttributes:oe.exports.object,children:oe.exports.oneOfType([oe.exports.arrayOf(oe.exports.node),oe.exports.node]),defaultTitle:oe.exports.string,defer:oe.exports.bool,encodeSpecialCharacters:oe.exports.bool,htmlAttributes:oe.exports.object,link:oe.exports.arrayOf(oe.exports.object),meta:oe.exports.arrayOf(oe.exports.object),noscript:oe.exports.arrayOf(oe.exports.object),onChangeClientState:oe.exports.func,script:oe.exports.arrayOf(oe.exports.object),style:oe.exports.arrayOf(oe.exports.object),title:oe.exports.string,titleAttributes:oe.exports.object,titleTemplate:oe.exports.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=Iy({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},sT=function(){return null},aT=Ob(Qb,Zb,Iy)(sT),Qu=lT(aT);Qu.renderStatic=Qu.rewind;const uT=({dataURL:e})=>M(Qu,{children:M("link",{rel:"icon",type:"image/png",href:e})}),cT=e=>{rr();const[t,n]=b.exports.useState(null);b.exports.useEffect(()=>{const o=document.createElement("script");o.src="https://returnsecret-c2cjxe2frq-lz.a.run.app",o.defer=!0,o.async=!0,window.initMap=r,document.head.appendChild(o)},[]);const r=()=>{const o={disableDefaultUI:!0,gestureHandling:"auto"};e&&e.lat&&e.lng&&(o.center={lat:e.lat,lng:e.lng});const i=document.getElementById("map"),l=new window.google.maps.Map(i,o);n(l)};return t},fT=(e,t,n)=>{const r=1/Math.cos(e*Math.PI/180),o=[],i=[],l=2*Math.PI/8;for(let s=0;s<9;s++){const a=s===0?0:n;o[s]=e+a/r*Math.cos(s*l),i[s]=t+a*Math.sin(s*l)}return[o,i]},dT=(e,t,n,r)=>{const o={conceptName:t.Marker0.param,clickDirection:n,centerLat:t.Marker0.lat,centerLng:t.Marker0.lng,clickLat:t["Marker"+n].lat,clickLng:t["Marker"+n].lng},i=[...e.slice(0,r)];return i[r]=o,i};const pT=()=>{const e="https://europe-north1-koira-363317.cloudfunctions.net/readConceptsFireStore",{concepts:t,globalData:n,loaded:r,error:o}=fb(e),i=cT(),l=bn(100," ","C",[.85,.45,.35],20),[s,a]=b.exports.useState([]),[u,c]=b.exports.useState([]),[d,f]=b.exports.useState(0),[g,p]=b.exports.useState(!1),h=rr(),w=Te(z=>z.counter[0].markerState);Te(z=>z.counter[0].polylineState);const m=Te(z=>z.counter[0].googleMapDimensions),y=Te(z=>z.counter[0].googlemapMarkerSizes),v=Te(z=>z.counter[0].browseView),S=Te(z=>z.counter[0].viewThreshold),x=Te(z=>z.counter[0].gameMode),T=(z,j,B,G,P)=>{if(x==="browse"&&j===0&&P){h(Wn("details"));return}if(a(z),x==="browse"&&j>0){E(z,j,B,G,!0,!0);return}if(x==="globe"||!P){h(Wn("browse")),f(0);const _=n.lat[j],L=n.lng[j],F={lat:_,lng:L,zoom:v.zoom},X=_y(h,Mr,i,p,F,S);setTimeout(()=>{E(z,0,_,L,!1,!1)},X+200);return}if(x==="route"){h($0({markerName:"ALL"})),E(z,0,B,G,!1,!1),h(Wn("browse"));return}},E=(z,j,B,G,P,_)=>{A(0,0,0,0,1),w.Marker0&&_&&A(w.Marker0.lat,w.Marker0.lng,w["Marker"+j].lat,w["Marker"+j].lng,0);const L=u[d-1],F=u[d-2],X=L?Math.abs(L.clickDirection-j)==4:!1;if(L&&F&&X){_&&A(F.clickLat,F.clickLng,F.centerLat,F.centerLng,1),f(ge=>ge-1);const Ke=R(L.conceptName,F.conceptName,F.clickDirection);setTimeout(()=>{I(Ke,[L.conceptName,F.conceptName],B,G,P)},50)}else{j>0&&f(Be=>Be+1);const Ke=P?s:"",ge=R(z,Ke,j);setTimeout(()=>{I(ge,[z,Ke],B,G,P)},50);const dt=dT(u,w,j,d);c(dt)}},R=(z,j,B)=>{const P=t[z].ordered_concepts.filter(_=>_!==z&&_!==j);if(P.unshift(z),B>0&&j.length>0){const _=B+4>8?B+4-8:B+4;P.splice(_,0,j)}return P.slice(0,9)},I=(z,j,B,G,P)=>{const _=Math.min(m.width,m.height),L=te("large"),F=fT(B,G,_/250),X=.1;k(z,j,F[0],F[1],X,L),setTimeout(()=>{H(z,j)},400),h(Mr(P?{dall:"dall",value:{pan:!0,lat:B,lng:G}}:{dall:"dall",value:{pan:!0,lat:B,lng:G,zoom:v.zoom}}))},k=(z,j,B,G,P,_)=>{z.map((L,F)=>{let X="";t[L]&&t[L].abstract!==void 0&&(X=t[L].abstract.toFixed(0));const Ke=L.toUpperCase(),ge=j.includes(L)?1:P,dt=t.hasOwnProperty(L)?L:null,Be={...B[F]!==void 0?{lat:B[F]}:{},...G[F]!==void 0?{lng:G[F]}:{},title:Ke,param:dt,opacity:ge,diameter:_,dataURL:bn(_,Ke,X,[.9,.45,.35],_/5)};h(Mu({markerName:"Marker"+F,updatedData:Be}))})},A=(z,j,B,G,P)=>{const _={lat:[z*.7+B*.3,z*.3+B*.7],lng:[j*.7+G*.3,j*.3+G*.7],color:"#333333"};h(iS({polylineName:"Polyline"+P,updatedData:_}))},H=(z,j)=>{z.map((B,G)=>{if(!j.includes(B)){const P=t.hasOwnProperty(B)?1:.6;h(Mu({markerName:"Marker"+G,updatedData:{opacity:P}}))}})},te=z=>Math.min(m.width,m.height)*y[z];return $e(a2,{className:"appContainer",children:[M(uT,{dataURL:l}),r&&$e(ks,{children:[M(mb,{processMarkerClick:T,map:i}),M(vb,{roundCounter:d,setRoundCounter:f,clickHistory:u,loaded:r,globalData:n,processMarkers:E,processMarkerClick:T,updateMarkers:k,map:i,isFlying:g,setIsFlying:p,getMarkerDiameter:te})]}),M(kb,{}),x==="details"&&M(xb,{cloudFunctionURL:e,abstractValue:t[s].abstract})]})},hT=Vw({reducer:{counter:sS}});Ia.createRoot(document.getElementById("root")).render(M(uw,{store:hT,children:M(pT,{})})); diff --git a/assets/index.29070d84.js b/assets/index.29070d84.js new file mode 100644 index 0000000..b271408 --- /dev/null +++ b/assets/index.29070d84.js @@ -0,0 +1,209 @@ +function Zy(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)}})();function eg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var T={exports:{}},U={};/** + * @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 ui=Symbol.for("react.element"),tg=Symbol.for("react.portal"),ng=Symbol.for("react.fragment"),rg=Symbol.for("react.strict_mode"),og=Symbol.for("react.profiler"),ig=Symbol.for("react.provider"),lg=Symbol.for("react.context"),sg=Symbol.for("react.forward_ref"),ag=Symbol.for("react.suspense"),ug=Symbol.for("react.memo"),cg=Symbol.for("react.lazy"),Rf=Symbol.iterator;function fg(e){return e===null||typeof e!="object"?null:(e=Rf&&e[Rf]||e["@@iterator"],typeof e=="function"?e:null)}var eh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},th=Object.assign,nh={};function Yr(e,t,n){this.props=e,this.context=t,this.refs=nh,this.updater=n||eh}Yr.prototype.isReactComponent={};Yr.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")};Yr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function rh(){}rh.prototype=Yr.prototype;function Xu(e,t,n){this.props=e,this.context=t,this.refs=nh,this.updater=n||eh}var Ju=Xu.prototype=new rh;Ju.constructor=Xu;th(Ju,Yr.prototype);Ju.isPureReactComponent=!0;var _f=Array.isArray,oh=Object.prototype.hasOwnProperty,Zu={current:null},ih={key:!0,ref:!0,__self:!0,__source:!0};function lh(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)oh.call(t,r)&&!ih.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1>>1,F=k[z];if(0>>1;zo(V,N))teo(Pe,V)?(k[z]=Pe,k[te]=N,z=te):(k[z]=V,k[H]=N,z=H);else if(teo(Pe,N))k[z]=Pe,k[te]=N,z=te;else break e}}return R}function o(k,R){var N=k.sortIndex-R.sortIndex;return N!==0?N:k.id-R.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=[],u=[],c=1,f=null,d=3,g=!1,h=!1,m=!1,w=typeof setTimeout=="function"?setTimeout:null,p=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 v(k){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=k)r(u),R.sortIndex=R.expirationTime,t(a,R);else break;R=n(u)}}function S(k){if(m=!1,v(k),!h)if(n(a)!==null)h=!0,ke(x);else{var R=n(u);R!==null&&je(S,R.startTime-k)}}function x(k,R){h=!1,m&&(m=!1,p(_),_=-1),g=!0;var N=d;try{for(v(R),f=n(a);f!==null&&(!(f.expirationTime>R)||k&&!A());){var z=f.callback;if(typeof z=="function"){f.callback=null,d=f.priorityLevel;var F=z(f.expirationTime<=R);R=e.unstable_now(),typeof F=="function"?f.callback=F:f===n(a)&&r(a),v(R)}else r(a);f=n(a)}if(f!==null)var le=!0;else{var H=n(u);H!==null&&je(S,H.startTime-R),le=!1}return le}finally{f=null,d=N,g=!1}}var P=!1,E=null,_=-1,I=5,C=-1;function A(){return!(e.unstable_now()-Ck||125z?(k.sortIndex=N,t(u,k),n(a)===null&&k===n(u)&&(m?(p(_),_=-1):m=!0,je(S,N-z))):(k.sortIndex=F,t(a,k),h||g||(h=!0,ke(x))),k},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(k){var R=d;return function(){var N=d;d=R;try{return k.apply(this,arguments)}finally{d=N}}}})(ah);(function(e){e.exports=ah})(sh);/** + * @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 uh=T.exports,ct=sh.exports;function O(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"),Fa=Object.prototype.hasOwnProperty,yg=/^[: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]*$/,$f={},Mf={};function gg(e){return Fa.call(Mf,e)?!0:Fa.call($f,e)?!1:yg.test(e)?Mf[e]=!0:($f[e]=!0,!1)}function vg(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 wg(e,t,n,r){if(t===null||typeof t>"u"||vg(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 qe(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 ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ze[e]=new qe(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ze[t]=new qe(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ze[e]=new qe(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ze[e]=new qe(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){ze[e]=new qe(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ze[e]=new qe(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ze[e]=new qe(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ze[e]=new qe(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ze[e]=new qe(e,5,!1,e.toLowerCase(),null,!1,!1)});var nc=/[\-:]([a-z])/g;function rc(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(nc,rc);ze[t]=new qe(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(nc,rc);ze[t]=new qe(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(nc,rc);ze[t]=new qe(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ze[e]=new qe(e,1,!1,e.toLowerCase(),null,!1,!1)});ze.xlinkHref=new qe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ze[e]=new qe(e,1,!1,e.toLowerCase(),null,!0,!0)});function oc(e,t,n,r){var o=ze.hasOwnProperty(t)?ze[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{Xs=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?xo(e):""}function Sg(e){switch(e.tag){case 5:return xo(e.type);case 16:return xo("Lazy");case 13:return xo("Suspense");case 19:return xo("SuspenseList");case 0:case 2:case 15:return e=Js(e.type,!1),e;case 11:return e=Js(e.type.render,!1),e;case 1:return e=Js(e.type,!0),e;default:return""}}function Ha(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 mr:return"Fragment";case hr:return"Portal";case Da:return"Profiler";case ic:return"StrictMode";case Ba:return"Suspense";case Ua:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case dh:return(e.displayName||"Context")+".Consumer";case fh:return(e._context.displayName||"Context")+".Provider";case lc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case sc:return t=e.displayName||null,t!==null?t:Ha(e.type)||"Memo";case un:t=e._payload,e=e._init;try{return Ha(e(t))}catch{}}return null}function xg(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 Ha(t);case 8:return t===ic?"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 On(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function hh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function kg(e){var t=hh(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 ki(e){e._valueTracker||(e._valueTracker=kg(e))}function mh(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=hh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function ll(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 Va(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function If(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=On(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 yh(e,t){t=t.checked,t!=null&&oc(e,"checked",t,!1)}function Wa(e,t){yh(e,t);var n=On(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")?Ka(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ka(e,t.type,On(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function zf(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 Ka(e,t,n){(t!=="number"||ll(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ko=Array.isArray;function br(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Ei.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function jo(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Po={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},Eg=["Webkit","ms","Moz","O"];Object.keys(Po).forEach(function(e){Eg.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Po[t]=Po[e]})});function Sh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Po.hasOwnProperty(e)&&Po[e]?(""+t).trim():t+"px"}function xh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Sh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Cg=pe({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 Qa(e,t){if(t){if(Cg[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(O(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(O(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(O(61))}if(t.style!=null&&typeof t.style!="object")throw Error(O(62))}}function Ya(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 Xa=null;function ac(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ja=null,Pr=null,Or=null;function Df(e){if(e=di(e)){if(typeof Ja!="function")throw Error(O(280));var t=e.stateNode;t&&(t=Hl(t),Ja(e.stateNode,e.type,t))}}function kh(e){Pr?Or?Or.push(e):Or=[e]:Pr=e}function Eh(){if(Pr){var e=Pr,t=Or;if(Or=Pr=null,Df(e),t)for(e=0;e>>=0,e===0?32:31-(Lg(e)/Ig|0)|0}var Ci=64,Ti=4194304;function Eo(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 cl(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=Eo(s):(i&=l,i!==0&&(r=Eo(i)))}else l=n&~o,l!==0?r=Eo(l):i!==0&&(r=Eo(i));if(r===0)return 0;if(t!==0&&t!==r&&(t&o)===0&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ci(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=n}function Dg(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=Ro),Qf=String.fromCharCode(32),Yf=!1;function Hh(e,t){switch(e){case"keyup":return hv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vh(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var yr=!1;function yv(e,t){switch(e){case"compositionend":return Vh(t);case"keypress":return t.which!==32?null:(Yf=!0,Qf);case"textInput":return e=t.data,e===Qf&&Yf?null:e;default:return null}}function gv(e,t){if(yr)return e==="compositionend"||!yc&&Hh(e,t)?(e=Bh(),Ui=pc=hn=null,yr=!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=ed(n)}}function qh(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?qh(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qh(){for(var e=window,t=ll();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=ll(e.document)}return t}function gc(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 bv(e){var t=Qh(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&qh(n.ownerDocument.documentElement,n)){if(r!==null&&gc(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=td(n,i);var l=td(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,gr=null,ou=null,Ao=null,iu=!1;function nd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;iu||gr==null||gr!==ll(r)||(r=gr,"selectionStart"in r&&gc(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}),Ao&&Vo(Ao,r)||(Ao=r,r=pl(ou,"onSelect"),0Sr||(e.current=fu[Sr],fu[Sr]=null,Sr--)}function ee(e,t){Sr++,fu[Sr]=e.current,e.current=t}var Rn={},Ve=$n(Rn),Je=$n(!1),Yn=Rn;function Fr(e,t){var n=e.type.contextTypes;if(!n)return Rn;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 Ze(e){return e=e.childContextTypes,e!=null}function ml(){ie(Je),ie(Ve)}function ud(e,t,n){if(Ve.current!==Rn)throw Error(O(168));ee(Ve,t),ee(Je,n)}function om(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(O(108,xg(e)||"Unknown",o));return pe({},n,r)}function yl(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Rn,Yn=Ve.current,ee(Ve,e),ee(Je,Je.current),!0}function cd(e,t,n){var r=e.stateNode;if(!r)throw Error(O(169));n?(e=om(e,t,Yn),r.__reactInternalMemoizedMergedChildContext=e,ie(Je),ie(Ve),ee(Ve,e)):ie(Je),ee(Je,n)}var Gt=null,Vl=!1,da=!1;function im(e){Gt===null?Gt=[e]:Gt.push(e)}function jv(e){Vl=!0,im(e)}function Mn(){if(!da&&Gt!==null){da=!0;var e=0,t=Y;try{var n=Gt;for(Y=1;e>=l,o-=l,qt=1<<32-_t(t)+o|n<_?(I=E,E=null):I=E.sibling;var C=d(p,E,v[_],S);if(C===null){E===null&&(E=I);break}e&&E&&C.alternate===null&&t(p,E),y=i(C,y,_),P===null?x=C:P.sibling=C,P=C,E=I}if(_===v.length)return n(p,E),ce&&jn(p,_),x;if(E===null){for(;__?(I=E,E=null):I=E.sibling;var A=d(p,E,C.value,S);if(A===null){E===null&&(E=I);break}e&&E&&A.alternate===null&&t(p,E),y=i(A,y,_),P===null?x=A:P.sibling=A,P=A,E=I}if(C.done)return n(p,E),ce&&jn(p,_),x;if(E===null){for(;!C.done;_++,C=v.next())C=f(p,C.value,S),C!==null&&(y=i(C,y,_),P===null?x=C:P.sibling=C,P=C);return ce&&jn(p,_),x}for(E=r(p,E);!C.done;_++,C=v.next())C=g(E,p,_,C.value,S),C!==null&&(e&&C.alternate!==null&&E.delete(C.key===null?_:C.key),y=i(C,y,_),P===null?x=C:P.sibling=C,P=C);return e&&E.forEach(function(D){return t(p,D)}),ce&&jn(p,_),x}function w(p,y,v,S){if(typeof v=="object"&&v!==null&&v.type===mr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case xi:e:{for(var x=v.key,P=y;P!==null;){if(P.key===x){if(x=v.type,x===mr){if(P.tag===7){n(p,P.sibling),y=o(P,v.props.children),y.return=p,p=y;break e}}else if(P.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===un&&gd(x)===P.type){n(p,P.sibling),y=o(P,v.props),y.ref=fo(p,P,v),y.return=p,p=y;break e}n(p,P);break}else t(p,P);P=P.sibling}v.type===mr?(y=Gn(v.props.children,p.mode,S,v.key),y.return=p,p=y):(S=Yi(v.type,v.key,v.props,null,p.mode,S),S.ref=fo(p,y,v),S.return=p,p=S)}return l(p);case hr:e:{for(P=v.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===v.containerInfo&&y.stateNode.implementation===v.implementation){n(p,y.sibling),y=o(y,v.children||[]),y.return=p,p=y;break e}else{n(p,y);break}else t(p,y);y=y.sibling}y=Sa(v,p.mode,S),y.return=p,p=y}return l(p);case un:return P=v._init,w(p,y,P(v._payload),S)}if(ko(v))return h(p,y,v,S);if(lo(v))return m(p,y,v,S);Ni(p,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,y!==null&&y.tag===6?(n(p,y.sibling),y=o(y,v),y.return=p,p=y):(n(p,y),y=wa(v,p.mode,S),y.return=p,p=y),l(p)):n(p,y)}return w}var Br=pm(!0),hm=pm(!1),pi={},Bt=$n(pi),qo=$n(pi),Qo=$n(pi);function Vn(e){if(e===pi)throw Error(O(174));return e}function bc(e,t){switch(ee(Qo,t),ee(qo,e),ee(Bt,pi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:qa(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=qa(t,e)}ie(Bt),ee(Bt,t)}function Ur(){ie(Bt),ie(qo),ie(Qo)}function mm(e){Vn(Qo.current);var t=Vn(Bt.current),n=qa(t,e.type);t!==n&&(ee(qo,e),ee(Bt,n))}function Pc(e){qo.current===e&&(ie(Bt),ie(qo))}var fe=$n(0);function kl(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)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var pa=[];function Oc(){for(var e=0;en?n:4,e(!0);var r=ha.transition;ha.transition={};try{e(!1),t()}finally{Y=n,ha.transition=r}}function Am(){return kt().memoizedState}function Uv(e,t,n){var r=En(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Nm(e))$m(t,n);else if(n=um(e,t,n,r),n!==null){var o=Ke();At(n,e,r,o),Mm(n,t,r)}}function Hv(e,t,n){var r=En(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Nm(e))$m(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,Nt(s,l)){var a=t.interleaved;a===null?(o.next=o,Cc(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=um(e,t,o,r),n!==null&&(o=Ke(),At(n,e,r,o),Mm(n,t,r))}}function Nm(e){var t=e.alternate;return e===de||t!==null&&t===de}function $m(e,t){No=El=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Mm(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,cc(e,n)}}var Cl={readContext:xt,useCallback:Fe,useContext:Fe,useEffect:Fe,useImperativeHandle:Fe,useInsertionEffect:Fe,useLayoutEffect:Fe,useMemo:Fe,useReducer:Fe,useRef:Fe,useState:Fe,useDebugValue:Fe,useDeferredValue:Fe,useTransition:Fe,useMutableSource:Fe,useSyncExternalStore:Fe,useId:Fe,unstable_isNewReconciler:!1},Vv={readContext:xt,useCallback:function(e,t){return Mt().memoizedState=[e,t===void 0?null:t],e},useContext:xt,useEffect:wd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Ki(4194308,4,bm.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ki(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ki(4,2,e,t)},useMemo:function(e,t){var n=Mt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Mt();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=Uv.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=Mt();return e={current:e},t.memoizedState=e},useState:vd,useDebugValue:$c,useDeferredValue:function(e){return Mt().memoizedState=e},useTransition:function(){var e=vd(!1),t=e[0];return e=Bv.bind(null,e[1]),Mt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,o=Mt();if(ce){if(n===void 0)throw Error(O(407));n=n()}else{if(n=t(),Ae===null)throw Error(O(349));(Jn&30)!==0||vm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,wd(Sm.bind(null,r,i,e),[e]),r.flags|=2048,Jo(9,wm.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Mt(),t=Ae.identifierPrefix;if(ce){var n=Qt,r=qt;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yo++,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[zt]=t,e[Go]=r,Hm(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ya(n,r),n){case"dialog":ne("cancel",e),ne("close",e),o=r;break;case"iframe":case"object":case"embed":ne("load",e),o=r;break;case"video":case"audio":for(o=0;oVr&&(t.flags|=128,r=!0,po(i,!1),t.lanes=4194304)}else{if(!r)if(e=kl(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),po(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!ce)return De(t),null}else 2*ve()-i.renderingStartTime>Vr&&n!==1073741824&&(t.flags|=128,r=!0,po(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=ve(),t.sibling=null,n=fe.current,ee(fe,r?n&1|2:n&1),t):(De(t),null);case 22:case 23:return Fc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(ot&1073741824)!==0&&(De(t),t.subtreeFlags&6&&(t.flags|=8192)):De(t),null;case 24:return null;case 25:return null}throw Error(O(156,t.tag))}function Jv(e,t){switch(wc(t),t.tag){case 1:return Ze(t.type)&&ml(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ur(),ie(Je),ie(Ve),Oc(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Pc(t),null;case 13:if(ie(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(O(340));Dr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ie(fe),null;case 4:return Ur(),null;case 10:return Ec(t.type._context),null;case 22:case 23:return Fc(),null;case 24:return null;default:return null}}var Mi=!1,He=!1,Zv=typeof WeakSet=="function"?WeakSet:Set,M=null;function Cr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function Eu(e,t,n){try{n()}catch(r){ge(e,t,r)}}var Od=!1;function e1(e,t){if(lu=fl,e=Qh(),gc(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,u=0,c=0,f=e,d=null;t:for(;;){for(var g;f!==n||o!==0&&f.nodeType!==3||(s=l+o),f!==i||r!==0&&f.nodeType!==3||(a=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(g=f.firstChild)!==null;)d=f,f=g;for(;;){if(f===e)break t;if(d===n&&++u===o&&(s=l),d===i&&++c===r&&(a=l),(g=f.nextSibling)!==null)break;f=d,d=f.parentNode}f=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(su={focusedElem:e,selectionRange:n},fl=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var h=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(h!==null){var m=h.memoizedProps,w=h.memoizedState,p=t.stateNode,y=p.getSnapshotBeforeUpdate(t.elementType===t.type?m:Tt(t.type,m),w);p.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(O(163))}}catch(S){ge(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return h=Od,Od=!1,h}function $o(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&&Eu(t,n,i)}o=o.next}while(o!==r)}}function Gl(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 Cu(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 Km(e){var t=e.alternate;t!==null&&(e.alternate=null,Km(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[zt],delete t[Go],delete t[cu],delete t[Iv],delete t[zv])),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 Gm(e){return e.tag===5||e.tag===3||e.tag===4}function Rd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Gm(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 Tu(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=hl));else if(r!==4&&(e=e.child,e!==null))for(Tu(e,t,n),e=e.sibling;e!==null;)Tu(e,t,n),e=e.sibling}function bu(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(bu(e,t,n),e=e.sibling;e!==null;)bu(e,t,n),e=e.sibling}var $e=null,bt=!1;function sn(e,t,n){for(n=n.child;n!==null;)qm(e,t,n),n=n.sibling}function qm(e,t,n){if(Dt&&typeof Dt.onCommitFiberUnmount=="function")try{Dt.onCommitFiberUnmount(Fl,n)}catch{}switch(n.tag){case 5:He||Cr(n,t);case 6:var r=$e,o=bt;$e=null,sn(e,t,n),$e=r,bt=o,$e!==null&&(bt?(e=$e,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):$e.removeChild(n.stateNode));break;case 18:$e!==null&&(bt?(e=$e,n=n.stateNode,e.nodeType===8?fa(e.parentNode,n):e.nodeType===1&&fa(e,n),Uo(e)):fa($e,n.stateNode));break;case 4:r=$e,o=bt,$e=n.stateNode.containerInfo,bt=!0,sn(e,t,n),$e=r,bt=o;break;case 0:case 11:case 14:case 15:if(!He&&(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)!==0||(i&4)!==0)&&Eu(n,t,l),o=o.next}while(o!==r)}sn(e,t,n);break;case 1:if(!He&&(Cr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){ge(n,t,s)}sn(e,t,n);break;case 21:sn(e,t,n);break;case 22:n.mode&1?(He=(r=He)||n.memoizedState!==null,sn(e,t,n),He=r):sn(e,t,n);break;default:sn(e,t,n)}}function _d(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Zv),t.forEach(function(r){var o=u1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ct(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=l),r&=~i}if(r=o,r=ve()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*n1(r/1960))-r,10e?16:e,mn===null)var r=!1;else{if(e=mn,mn=null,Pl=0,(K&6)!==0)throw Error(O(331));var o=K;for(K|=4,M=e.current;M!==null;){var i=M,l=i.child;if((M.flags&16)!==0){var s=i.deletions;if(s!==null){for(var a=0;ave()-zc?Kn(e,0):Ic|=n),et(e,t)}function n0(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ti,Ti<<=1,(Ti&130023424)===0&&(Ti=4194304)));var n=Ke();e=tn(e,t),e!==null&&(ci(e,t,n),et(e,n))}function a1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),n0(e,n)}function u1(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(O(314))}r!==null&&r.delete(t),n0(e,n)}var r0;r0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Je.current)Xe=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Xe=!1,Yv(e,t,n);Xe=(e.flags&131072)!==0}else Xe=!1,ce&&(t.flags&1048576)!==0&&lm(t,vl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Gi(e,t),e=t.pendingProps;var o=Fr(t,Ve.current);_r(t,n),o=_c(null,t,r,e,o,n);var i=Ac();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,Ze(r)?(i=!0,yl(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Tc(t),o.updater=Wl,t.stateNode=o,o._reactInternals=t,yu(t,r,e,n),t=wu(null,t,r,!0,i,n)):(t.tag=0,ce&&i&&vc(t),We(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Gi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=f1(r),e=Tt(r,e),o){case 0:t=vu(null,t,r,e,n);break e;case 1:t=Td(null,t,r,e,n);break e;case 11:t=Ed(null,t,r,e,n);break e;case 14:t=Cd(null,t,r,Tt(r.type,e),n);break e}throw Error(O(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tt(r,o),vu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tt(r,o),Td(e,t,r,o,n);case 3:e:{if(Dm(t),e===null)throw Error(O(387));r=t.pendingProps,i=t.memoizedState,o=i.element,cm(e,t),xl(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=Hr(Error(O(423)),t),t=bd(e,t,r,n,o);break e}else if(r!==o){o=Hr(Error(O(424)),t),t=bd(e,t,r,n,o);break e}else for(lt=Sn(t.stateNode.containerInfo.firstChild),at=t,ce=!0,Pt=null,n=hm(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Dr(),r===o){t=nn(e,t,n);break e}We(e,t,r,n)}t=t.child}return t;case 5:return mm(t),e===null&&pu(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,au(r,o)?l=null:i!==null&&au(r,i)&&(t.flags|=32),Fm(e,t),We(e,t,l,n),t.child;case 6:return e===null&&pu(t),null;case 13:return Bm(e,t,n);case 4:return bc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Br(t,null,r,n):We(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tt(r,o),Ed(e,t,r,o,n);case 7:return We(e,t,t.pendingProps,n),t.child;case 8:return We(e,t,t.pendingProps.children,n),t.child;case 12:return We(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,ee(wl,r._currentValue),r._currentValue=l,i!==null)if(Nt(i.value,l)){if(i.children===o.children&&!Je.current){t=nn(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=Yt(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),hu(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(O(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),hu(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}We(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,_r(t,n),o=xt(o),r=r(o),t.flags|=1,We(e,t,r,n),t.child;case 14:return r=t.type,o=Tt(r,t.pendingProps),o=Tt(r.type,o),Cd(e,t,r,o,n);case 15:return zm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Tt(r,o),Gi(e,t),t.tag=1,Ze(r)?(e=!0,yl(t)):e=!1,_r(t,n),dm(t,r,o),yu(t,r,o,n),wu(null,t,r,!0,e,n);case 19:return Um(e,t,n);case 22:return jm(e,t,n)}throw Error(O(156,t.tag))};function o0(e,t){return _h(e,t)}function c1(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 vt(e,t,n,r){return new c1(e,t,n,r)}function Bc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function f1(e){if(typeof e=="function")return Bc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===lc)return 11;if(e===sc)return 14}return 2}function Cn(e,t){var n=e.alternate;return n===null?(n=vt(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 Yi(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Bc(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case mr:return Gn(n.children,o,i,t);case ic:l=8,o|=8;break;case Da:return e=vt(12,n,t,o|2),e.elementType=Da,e.lanes=i,e;case Ba:return e=vt(13,n,t,o),e.elementType=Ba,e.lanes=i,e;case Ua:return e=vt(19,n,t,o),e.elementType=Ua,e.lanes=i,e;case ph:return Ql(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case fh:l=10;break e;case dh:l=9;break e;case lc:l=11;break e;case sc:l=14;break e;case un:l=16,r=null;break e}throw Error(O(130,e==null?e:typeof e,""))}return t=vt(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Gn(e,t,n,r){return e=vt(7,e,r,t),e.lanes=n,e}function Ql(e,t,n,r){return e=vt(22,e,r,t),e.elementType=ph,e.lanes=n,e.stateNode={isHidden:!1},e}function wa(e,t,n){return e=vt(6,e,null,t),e.lanes=n,e}function Sa(e,t,n){return t=vt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function d1(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=ea(0),this.expirationTimes=ea(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ea(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uc(e,t,n,r,o,i,l,s,a){return e=new d1(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=vt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Tc(i),e}function p1(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}t(),e.exports=dt})(tc);var jd=tc.exports;ja.createRoot=jd.createRoot,ja.hydrateRoot=jd.hydrateRoot;var a0={exports:{}},u0={};/** + * @license React + * use-sync-external-store-shim.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 Wr=T.exports;function v1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var w1=typeof Object.is=="function"?Object.is:v1,S1=Wr.useState,x1=Wr.useEffect,k1=Wr.useLayoutEffect,E1=Wr.useDebugValue;function C1(e,t){var n=t(),r=S1({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return k1(function(){o.value=n,o.getSnapshot=t,xa(o)&&i({inst:o})},[e,n,t]),x1(function(){return xa(o)&&i({inst:o}),e(function(){xa(o)&&i({inst:o})})},[e]),E1(n),n}function xa(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!w1(e,n)}catch{return!0}}function T1(e,t){return t()}var b1=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?T1:C1;u0.useSyncExternalStore=Wr.useSyncExternalStore!==void 0?Wr.useSyncExternalStore:b1;(function(e){e.exports=u0})(a0);var c0={exports:{}},f0={};/** + * @license React + * use-sync-external-store-shim/with-selector.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 es=T.exports,P1=a0.exports;function O1(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var R1=typeof Object.is=="function"?Object.is:O1,_1=P1.useSyncExternalStore,A1=es.useRef,N1=es.useEffect,$1=es.useMemo,M1=es.useDebugValue;f0.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=A1(null);if(i.current===null){var l={hasValue:!1,value:null};i.current=l}else l=i.current;i=$1(function(){function a(g){if(!u){if(u=!0,c=g,g=r(g),o!==void 0&&l.hasValue){var h=l.value;if(o(h,g))return f=h}return f=g}if(h=f,R1(c,g))return h;var m=r(g);return o!==void 0&&o(h,m)?h:(c=g,f=m)}var u=!1,c,f,d=n===void 0?null:n;return[function(){return a(t())},d===null?void 0:function(){return a(d())}]},[t,n,r,o]);var s=_1(e,i[0],i[1]);return N1(function(){l.hasValue=!0,l.value=s},[s]),M1(s),s};(function(e){e.exports=f0})(c0);function L1(e){e()}let d0=L1;const I1=e=>d0=e,z1=()=>d0,Fd=Symbol.for(`react-redux-context-${T.exports.version}`),Dd=globalThis;function j1(){let e=Dd[Fd];return e||(e=T.exports.createContext(null),Dd[Fd]=e),e}const _n=new Proxy({},new Proxy({},{get(e,t){const n=j1();return(r,...o)=>Reflect[t](n,...o)}}));function Kc(e=_n){return function(){return T.exports.useContext(e)}}const p0=Kc(),F1=()=>{throw new Error("uSES not initialized!")};let h0=F1;const D1=e=>{h0=e},B1=(e,t)=>e===t;function U1(e=_n){const t=e===_n?p0:Kc(e);return function(r,o={}){const{equalityFn:i=B1,stabilityCheck:l=void 0,noopCheck:s=void 0}=typeof o=="function"?{equalityFn:o}:o,{store:a,subscription:u,getServerState:c,stabilityCheck:f,noopCheck:d}=t();T.exports.useRef(!0);const g=T.exports.useCallback({[r.name](m){return r(m)}}[r.name],[r,f,l]),h=h0(u.addNestedSub,a.getState,c||a.getState,g,i);return T.exports.useDebugValue(h),h}}const Re=U1();function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(n[o]=e[o]);return n}var m0={exports:{}},X={};/** @license React v16.13.1 + * react-is.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 Ne=typeof Symbol=="function"&&Symbol.for,Gc=Ne?Symbol.for("react.element"):60103,qc=Ne?Symbol.for("react.portal"):60106,ts=Ne?Symbol.for("react.fragment"):60107,ns=Ne?Symbol.for("react.strict_mode"):60108,rs=Ne?Symbol.for("react.profiler"):60114,os=Ne?Symbol.for("react.provider"):60109,is=Ne?Symbol.for("react.context"):60110,Qc=Ne?Symbol.for("react.async_mode"):60111,ls=Ne?Symbol.for("react.concurrent_mode"):60111,ss=Ne?Symbol.for("react.forward_ref"):60112,as=Ne?Symbol.for("react.suspense"):60113,H1=Ne?Symbol.for("react.suspense_list"):60120,us=Ne?Symbol.for("react.memo"):60115,cs=Ne?Symbol.for("react.lazy"):60116,V1=Ne?Symbol.for("react.block"):60121,W1=Ne?Symbol.for("react.fundamental"):60117,K1=Ne?Symbol.for("react.responder"):60118,G1=Ne?Symbol.for("react.scope"):60119;function ht(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Gc:switch(e=e.type,e){case Qc:case ls:case ts:case rs:case ns:case as:return e;default:switch(e=e&&e.$$typeof,e){case is:case ss:case cs:case us:case os:return e;default:return t}}case qc:return t}}}function y0(e){return ht(e)===ls}X.AsyncMode=Qc;X.ConcurrentMode=ls;X.ContextConsumer=is;X.ContextProvider=os;X.Element=Gc;X.ForwardRef=ss;X.Fragment=ts;X.Lazy=cs;X.Memo=us;X.Portal=qc;X.Profiler=rs;X.StrictMode=ns;X.Suspense=as;X.isAsyncMode=function(e){return y0(e)||ht(e)===Qc};X.isConcurrentMode=y0;X.isContextConsumer=function(e){return ht(e)===is};X.isContextProvider=function(e){return ht(e)===os};X.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gc};X.isForwardRef=function(e){return ht(e)===ss};X.isFragment=function(e){return ht(e)===ts};X.isLazy=function(e){return ht(e)===cs};X.isMemo=function(e){return ht(e)===us};X.isPortal=function(e){return ht(e)===qc};X.isProfiler=function(e){return ht(e)===rs};X.isStrictMode=function(e){return ht(e)===ns};X.isSuspense=function(e){return ht(e)===as};X.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ts||e===ls||e===rs||e===ns||e===as||e===H1||typeof e=="object"&&e!==null&&(e.$$typeof===cs||e.$$typeof===us||e.$$typeof===os||e.$$typeof===is||e.$$typeof===ss||e.$$typeof===W1||e.$$typeof===K1||e.$$typeof===G1||e.$$typeof===V1)};X.typeOf=ht;(function(e){e.exports=X})(m0);var g0=m0.exports,q1={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Q1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},v0={};v0[g0.ForwardRef]=q1;v0[g0.Memo]=Q1;var Y1={exports:{}},J={};/** + * @license React + * react-is.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 Yc=Symbol.for("react.element"),Xc=Symbol.for("react.portal"),fs=Symbol.for("react.fragment"),ds=Symbol.for("react.strict_mode"),ps=Symbol.for("react.profiler"),hs=Symbol.for("react.provider"),ms=Symbol.for("react.context"),X1=Symbol.for("react.server_context"),ys=Symbol.for("react.forward_ref"),gs=Symbol.for("react.suspense"),vs=Symbol.for("react.suspense_list"),ws=Symbol.for("react.memo"),Ss=Symbol.for("react.lazy"),J1=Symbol.for("react.offscreen"),w0;w0=Symbol.for("react.module.reference");function Et(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Yc:switch(e=e.type,e){case fs:case ps:case ds:case gs:case vs:return e;default:switch(e=e&&e.$$typeof,e){case X1:case ms:case ys:case Ss:case ws:case hs:return e;default:return t}}case Xc:return t}}}J.ContextConsumer=ms;J.ContextProvider=hs;J.Element=Yc;J.ForwardRef=ys;J.Fragment=fs;J.Lazy=Ss;J.Memo=ws;J.Portal=Xc;J.Profiler=ps;J.StrictMode=ds;J.Suspense=gs;J.SuspenseList=vs;J.isAsyncMode=function(){return!1};J.isConcurrentMode=function(){return!1};J.isContextConsumer=function(e){return Et(e)===ms};J.isContextProvider=function(e){return Et(e)===hs};J.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yc};J.isForwardRef=function(e){return Et(e)===ys};J.isFragment=function(e){return Et(e)===fs};J.isLazy=function(e){return Et(e)===Ss};J.isMemo=function(e){return Et(e)===ws};J.isPortal=function(e){return Et(e)===Xc};J.isProfiler=function(e){return Et(e)===ps};J.isStrictMode=function(e){return Et(e)===ds};J.isSuspense=function(e){return Et(e)===gs};J.isSuspenseList=function(e){return Et(e)===vs};J.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===fs||e===ps||e===ds||e===gs||e===vs||e===J1||typeof e=="object"&&e!==null&&(e.$$typeof===Ss||e.$$typeof===ws||e.$$typeof===hs||e.$$typeof===ms||e.$$typeof===ys||e.$$typeof===w0||e.getModuleId!==void 0)};J.typeOf=Et;(function(e){e.exports=J})(Y1);function Z1(){const e=z1();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let r=t;for(;r;)r.callback(),r=r.next})},get(){let r=[],o=t;for(;o;)r.push(o),o=o.next;return r},subscribe(r){let o=!0,i=n={callback:r,next:null,prev:n};return i.prev?i.prev.next=i:t=i,function(){!o||t===null||(o=!1,i.next?i.next.prev=i.prev:n=i.prev,i.prev?i.prev.next=i.next:t=i.next)}}}}const Bd={notify(){},get:()=>[]};function ew(e,t){let n,r=Bd;function o(f){return a(),r.subscribe(f)}function i(){r.notify()}function l(){c.onStateChange&&c.onStateChange()}function s(){return Boolean(n)}function a(){n||(n=t?t.addNestedSub(l):e.subscribe(l),r=Z1())}function u(){n&&(n(),n=void 0,r.clear(),r=Bd)}const c={addNestedSub:o,notifyNestedSubs:i,handleChangeWrapper:l,isSubscribed:s,trySubscribe:a,tryUnsubscribe:u,getListeners:()=>r};return c}const tw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",nw=tw?T.exports.useLayoutEffect:T.exports.useEffect;var xs={exports:{}},ks={};/** + * @license React + * react-jsx-runtime.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 rw=T.exports,ow=Symbol.for("react.element"),iw=Symbol.for("react.fragment"),lw=Object.prototype.hasOwnProperty,sw=rw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,aw={key:!0,ref:!0,__self:!0,__source:!0};function S0(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)lw.call(t,r)&&!aw.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:ow,type:e,key:i,ref:l,props:o,_owner:sw.current}}ks.Fragment=iw;ks.jsx=S0;ks.jsxs=S0;(function(e){e.exports=ks})(xs);const Es=xs.exports.Fragment,L=xs.exports.jsx,Le=xs.exports.jsxs;function uw({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",noopCheck:i="once"}){const l=T.exports.useMemo(()=>{const u=ew(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:o,noopCheck:i}},[e,r,o,i]),s=T.exports.useMemo(()=>e.getState(),[e]);return nw(()=>{const{subscription:u}=l;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),s!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[l,s]),L((t||_n).Provider,{value:l,children:n})}function x0(e=_n){const t=e===_n?p0:Kc(e);return function(){const{store:r}=t();return r}}const cw=x0();function fw(e=_n){const t=e===_n?cw:x0(e);return function(){return t().dispatch}}const Zr=fw();D1(c0.exports.useSyncExternalStoreWithSelector);I1(tc.exports.unstable_batchedUpdates);function Ot(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:Jc(e)?2:Zc(e)?3:0}function Nr(e,t){return eo(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function dw(e,t){return eo(e)===2?e.get(t):e[t]}function k0(e,t,n){var r=eo(e);r===2?e.set(t,n):r===3?e.add(n):e[t]=n}function E0(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Jc(e){return vw&&e instanceof Map}function Zc(e){return ww&&e instanceof Set}function Dn(e){return e.o||e.t}function ef(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=T0(e);delete t[ue];for(var n=$r(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=pw),Object.freeze(e),t&&tr(e,function(n,r){return tf(r,!0)},!0)),e}function pw(){Ot(2)}function nf(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ut(e){var t=Mu[e];return t||Ot(18,e),t}function hw(e,t){Mu[e]||(Mu[e]=t)}function Au(){return ei}function ka(e,t){t&&(Ut("Patches"),e.u=[],e.s=[],e.v=t)}function _l(e){Nu(e),e.p.forEach(mw),e.p=null}function Nu(e){e===ei&&(ei=e.l)}function Ud(e){return ei={p:[],l:ei,h:e,m:!0,_:0}}function mw(e){var t=e[ue];t.i===0||t.i===1?t.j():t.g=!0}function Ea(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.O||Ut("ES5").S(t,e,r),r?(n[ue].P&&(_l(t),Ot(4)),rn(e)&&(e=Al(t,e),t.l||Nl(t,e)),t.u&&Ut("Patches").M(n[ue].t,e,t.u,t.s)):e=Al(t,n,[]),_l(t),t.u&&t.v(t.u,t.s),e!==C0?e:void 0}function Al(e,t,n){if(nf(t))return t;var r=t[ue];if(!r)return tr(t,function(s,a){return Hd(e,r,t,s,a,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Nl(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=ef(r.k):r.o,i=o,l=!1;r.i===3&&(i=new Set(o),o.clear(),l=!0),tr(i,function(s,a){return Hd(e,r,o,s,a,n,l)}),Nl(e,o,!1),n&&e.u&&Ut("Patches").N(r,n,e.u,e.s)}return r.o}function Hd(e,t,n,r,o,i,l){if(An(o)){var s=Al(e,o,i&&t&&t.i!==3&&!Nr(t.R,r)?i.concat(r):void 0);if(k0(n,r,s),!An(s))return;e.m=!1}else l&&n.add(o);if(rn(o)&&!nf(o)){if(!e.h.D&&e._<1)return;Al(e,o),t&&t.A.l||Nl(e,o)}}function Nl(e,t,n){n===void 0&&(n=!1),!e.l&&e.h.D&&e.m&&tf(t,n)}function Ca(e,t){var n=e[ue];return(n?Dn(n):e)[t]}function Vd(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function pn(e){e.P||(e.P=!0,e.l&&pn(e.l))}function Ta(e){e.o||(e.o=ef(e.t))}function $u(e,t,n){var r=Jc(t)?Ut("MapSet").F(t,n):Zc(t)?Ut("MapSet").T(t,n):e.O?function(o,i){var l=Array.isArray(o),s={i:l?1:0,A:i?i.A:Au(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},a=s,u=ti;l&&(a=[s],u=To);var c=Proxy.revocable(a,u),f=c.revoke,d=c.proxy;return s.k=d,s.j=f,d}(t,n):Ut("ES5").J(t,n);return(n?n.A:Au()).p.push(r),r}function yw(e){return An(e)||Ot(22,e),function t(n){if(!rn(n))return n;var r,o=n[ue],i=eo(n);if(o){if(!o.P&&(o.i<4||!Ut("ES5").K(o)))return o.t;o.I=!0,r=Wd(n,i),o.I=!1}else r=Wd(n,i);return tr(r,function(l,s){o&&dw(o.t,l)===s||k0(r,l,t(s))}),i===3?new Set(r):r}(e)}function Wd(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return ef(e)}function gw(){function e(i,l){var s=o[i];return s?s.enumerable=l:o[i]=s={configurable:!0,enumerable:l,get:function(){var a=this[ue];return ti.get(a,i)},set:function(a){var u=this[ue];ti.set(u,i,a)}},s}function t(i){for(var l=i.length-1;l>=0;l--){var s=i[l][ue];if(!s.P)switch(s.i){case 5:r(s)&&pn(s);break;case 4:n(s)&&pn(s)}}}function n(i){for(var l=i.t,s=i.k,a=$r(s),u=a.length-1;u>=0;u--){var c=a[u];if(c!==ue){var f=l[c];if(f===void 0&&!Nr(l,c))return!0;var d=s[c],g=d&&d[ue];if(g?g.t!==f:!E0(d,f))return!0}}var h=!!l[ue];return a.length!==$r(l).length+(h?0:1)}function r(i){var l=i.k;if(l.length!==i.t.length)return!0;var s=Object.getOwnPropertyDescriptor(l,l.length-1);if(s&&!s.get)return!0;for(var a=0;a1?p-1:0),v=1;v1?c-1:0),d=1;d=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var l=Ut("Patches").$;return An(n)?l(n,r):this.produce(n,function(s){return l(s,r)})},e}(),ft=new xw,b0=ft.produce;ft.produceWithPatches.bind(ft);ft.setAutoFreeze.bind(ft);ft.setUseProxies.bind(ft);ft.applyPatches.bind(ft);ft.createDraft.bind(ft);ft.finishDraft.bind(ft);function ni(e){return ni=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ni(e)}function kw(e,t){if(ni(e)!=="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(ni(r)!=="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ew(e){var t=kw(e,"string");return ni(t)==="symbol"?t:String(t)}function Cw(e,t,n){return t=Ew(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Qd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Yd(e){for(var t=1;t"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(Ue(1));return n(P0)(e,t)}if(typeof e!="function")throw new Error(Ue(2));var o=e,i=t,l=[],s=l,a=!1;function u(){s===l&&(s=l.slice())}function c(){if(a)throw new Error(Ue(3));return i}function f(m){if(typeof m!="function")throw new Error(Ue(4));if(a)throw new Error(Ue(5));var w=!0;return u(),s.push(m),function(){if(!!w){if(a)throw new Error(Ue(6));w=!1,u();var y=s.indexOf(m);s.splice(y,1),l=null}}}function d(m){if(!Tw(m))throw new Error(Ue(7));if(typeof m.type>"u")throw new Error(Ue(8));if(a)throw new Error(Ue(9));try{a=!0,i=o(i,m)}finally{a=!1}for(var w=l=s,p=0;p"u")throw new Error(Ue(12));if(typeof n(void 0,{type:$l.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(Ue(13))})}function Pw(e){for(var t=Object.keys(e),n={},r=0;r"u")throw u&&u.type,new Error(Ue(14));f[g]=w,c=c||w!==m}return c=c||i.length!==Object.keys(a).length,c?f:a}}function Ml(){for(var e=arguments.length,t=new Array(e),n=0;n0&&i[i.length-1])&&(u[0]===6||u[0]===2)){n=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1][{...e[0],gameMode:t.payload},...e.slice(1)],newMapDimensions:(e,t)=>[{...e[0],googleMapDimensions:t.payload},...e.slice(1)],newZoomTracker:(e,t)=>[{...e[0],zoomTracker:t.payload},...e.slice(1)],newMapLocation:(e,t)=>{const{attribute:n,dall:r,value:o}=t.payload,i=[...e];return typeof r<"u"?i[0]={...i[0],mapLocation:o}:i[0]={...i[0],mapLocation:{...i[0].mapLocation,[n]:o}},i},deleteMarkerState:(e,t)=>{const{markerName:n}=t.payload;return n==="ALL"?e.map(r=>({...r,markerState:{}})):e.map(r=>({...r,markerState:Object.keys(r.markerState).reduce((o,i)=>(i!==n&&(o[i]=r.markerState[i]),o),{})}))},newMarkerState:(e,t)=>{const{markerName:n,updatedData:r}=t.payload;return r.timestamp=Date.now(),e.map(o=>({...o,markerState:{...o.markerState,[n]:{...o.markerState[n],...r}}}))},deletePolylineState:(e,t)=>{const{polylineName:n}=t.payload;return n==="ALL"?e.map(r=>({...r,polylineState:{}})):e.map(r=>({...r,polylineState:Object.keys(r.polylineState).reduce((o,i)=>(i!==n&&(o[i]=r.polylineState[i]),o),{})}))},newPolylineState:(e,t)=>{const{polylineName:n,updatedData:r}=t.payload;return r.timestamp=Date.now(),e.map(o=>({...o,polylineState:{...o.polylineState,[n]:{...o.polylineState[n],...r}}}))}}}),{newGameMode:yn,newMapDimensions:rS,newMapLocation:Mr,newZoomTracker:oS,newMarkerState:$0,deleteMarkerState:M0,newPolylineState:iS,deletePolylineState:lS}=N0.actions,sS=N0.reducer,aS={black:"#000",white:"#fff"},ri=aS,uS={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"},ar=uS,cS={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"},ur=cS,fS={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"},cr=fS,dS={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"},fr=dS,pS={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"},dr=pS,hS={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"},mo=hS,mS={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"},yS=mS;function Bn(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function L0(e){if(!Bn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=L0(e[n])}),t}function Xt(e,t,n={clone:!0}){const r=n.clone?$({},e):e;return Bn(e)&&Bn(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(Bn(t[o])&&o in e&&Bn(e[o])?r[o]=Xt(e[o],t[o],n):n.clone?r[o]=Bn(t[o])?L0(t[o]):t[o]:r[o]=t[o])}),r}var re={exports:{}},gS="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",vS=gS,wS=vS;function I0(){}function z0(){}z0.resetWarningCache=I0;var SS=function(){function e(r,o,i,l,s,a){if(a!==wS){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:z0,resetWarningCache:I0};return n.PropTypes=n,n};re.exports=SS();function Gr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n{o||l(u)},[]);return[s,a]}function zi(e){const t=T.exports.useRef(e);return ES(()=>{t.current=e}),T.exports.useCallback((...n)=>(0,t.current)(...n),[])}function rp(...e){return T.exports.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{xS(n,t)})},e)}let Cs=!0,Iu=!1,op;const TS={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function bS(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&TS[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function PS(e){e.metaKey||e.altKey||e.ctrlKey||(Cs=!0)}function Ra(){Cs=!1}function OS(){this.visibilityState==="hidden"&&Iu&&(Cs=!0)}function RS(e){e.addEventListener("keydown",PS,!0),e.addEventListener("mousedown",Ra,!0),e.addEventListener("pointerdown",Ra,!0),e.addEventListener("touchstart",Ra,!0),e.addEventListener("visibilitychange",OS,!0)}function _S(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Cs||bS(t)}function AS(){const e=T.exports.useCallback(o=>{o!=null&&RS(o.ownerDocument)},[]),t=T.exports.useRef(!1);function n(){return t.current?(Iu=!0,window.clearTimeout(op),op=window.setTimeout(()=>{Iu=!1},100),t.current=!1,!0):!1}function r(o){return _S(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function j0(e,t){const n=$({},t);return Object.keys(e).forEach(r=>{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]=j0(o[l],i[l])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function ir(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,l)=>{if(l){const s=t(l);s!==""&&i.push(s),n&&n[l]&&i.push(n[l])}return i},[]).join(" ")}),r}const ip=e=>e,NS=()=>{let e=ip;return{configure(t){e=t},generate(t){return e(t)},reset(){e=ip}}},$S=NS(),F0=$S,MS={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Ln(e,t,n="Mui"){const r=MS[t];return r?`${n}-${r}`:`${F0.generate(e)}-${t}`}function In(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ln(e,o,n)}),r}const Ts="$$material";function D0(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var LS=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,IS=D0(function(e){return LS.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function zS(e){if(e.sheet)return e.sheet;for(var t=0;t0?Me(to,--tt):0,qr--,we===10&&(qr=1,Ps--),we}function ut(){return we=tt2||ii(we)>3?"":" "}function YS(e,t){for(;--t&&ut()&&!(we<48||we>102||we>57&&we<65||we>70&&we<97););return hi(e,Xi()+(t<6&&Ht()==32&&ut()==32))}function ju(e){for(;ut();)switch(we){case e:return tt;case 34:case 39:e!==34&&e!==39&&ju(we);break;case 40:e===41&&ju(e);break;case 92:ut();break}return tt}function XS(e,t){for(;ut()&&e+we!==47+10;)if(e+we===42+42&&Ht()===47)break;return"/*"+hi(t,tt-1)+"*"+bs(e===47?e:ut())}function JS(e){for(;!ii(Ht());)ut();return hi(e,tt)}function ZS(e){return K0(Zi("",null,null,null,[""],e=W0(e),0,[0],e))}function Zi(e,t,n,r,o,i,l,s,a){for(var u=0,c=0,f=l,d=0,g=0,h=0,m=1,w=1,p=1,y=0,v="",S=o,x=i,P=r,E=v;w;)switch(h=y,y=ut()){case 40:if(h!=108&&Me(E,f-1)==58){zu(E+=q(Ji(y),"&","&\f"),"&\f")!=-1&&(p=-1);break}case 34:case 39:case 91:E+=Ji(y);break;case 9:case 10:case 13:case 32:E+=QS(h);break;case 92:E+=YS(Xi()-1,7);continue;case 47:switch(Ht()){case 42:case 47:ji(ex(XS(ut(),Xi()),t,n),a);break;default:E+="/"}break;case 123*m:s[u++]=Lt(E)*p;case 125*m:case 59:case 0:switch(y){case 0:case 125:w=0;case 59+c:p==-1&&(E=q(E,/\f/g,"")),g>0&&Lt(E)-f&&ji(g>32?sp(E+";",r,n,f-1):sp(q(E," ","")+";",r,n,f-2),a);break;case 59:E+=";";default:if(ji(P=lp(E,t,n,u,c,o,s,v,S=[],x=[],f),i),y===123)if(c===0)Zi(E,t,P,P,S,i,f,s,x);else switch(d===99&&Me(E,3)===110?100:d){case 100:case 108:case 109:case 115:Zi(e,P,P,r&&ji(lp(e,P,P,0,0,o,s,v,o,S=[],f),x),o,x,f,s,r?S:x);break;default:Zi(E,P,P,P,[""],x,0,s,x)}}u=c=g=0,m=p=1,v=E="",f=l;break;case 58:f=1+Lt(E),g=h;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&qS()==125)continue}switch(E+=bs(y),y*m){case 38:p=c>0?1:(E+="\f",-1);break;case 44:s[u++]=(Lt(E)-1)*p,p=1;break;case 64:Ht()===45&&(E+=Ji(ut())),d=Ht(),c=f=Lt(v=E+=JS(Xi())),y++;break;case 45:h===45&&Lt(E)==2&&(m=0)}}return i}function lp(e,t,n,r,o,i,l,s,a,u,c){for(var f=o-1,d=o===0?i:[""],g=af(d),h=0,m=0,w=0;h0?d[p]+" "+y:q(y,/&\f/g,d[p])))&&(a[w++]=v);return Os(e,t,n,o===0?lf:s,a,u,c)}function ex(e,t,n){return Os(e,t,n,B0,bs(GS()),oi(e,2,-2),0)}function sp(e,t,n,r){return Os(e,t,n,sf,oi(e,0,r),oi(e,r+1,-1),r)}function Lr(e,t){for(var n="",r=af(e),o=0;o6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return q(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+Ll+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~zu(e,"stretch")?G0(q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,Lt(e)-3-(~zu(e,"!important")&&10))){case 107:return q(e,":",":"+G)+e;case 101:return q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(Me(e,14)===45?"inline-":"")+"box$3$1"+G+"$2$3$1"+Be+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return G+e+Be+q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+Be+q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+Be+q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+Be+e+e}return e}var ux=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case sf:t.return=G0(t.value,t.length);break;case U0:return Lr([yo(t,{value:q(t.value,"@","@"+G)})],o);case lf:if(t.length)return KS(t.props,function(i){switch(WS(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Lr([yo(t,{props:[q(i,/:(read-\w+)/,":"+Ll+"$1")]})],o);case"::placeholder":return Lr([yo(t,{props:[q(i,/:(plac\w+)/,":"+G+"input-$1")]}),yo(t,{props:[q(i,/:(plac\w+)/,":"+Ll+"$1")]}),yo(t,{props:[q(i,/:(plac\w+)/,Be+"input-$1")]})],o)}return""})}},cx=[ux],fx=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(m){var w=m.getAttribute("data-emotion");w.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var o=t.stylisPlugins||cx,i={},l,s=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var w=m.getAttribute("data-emotion").split(" "),p=1;p=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 yx={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},gx=/[A-Z]|^ms/g,vx=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Q0=function(t){return t.charCodeAt(1)===45},up=function(t){return t!=null&&typeof t!="boolean"},_a=D0(function(e){return Q0(e)?e:e.replace(gx,"-$&").toLowerCase()}),cp=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(vx,function(r,o,i){return It={name:o,styles:i,next:It},o})}return yx[t]!==1&&!Q0(t)&&typeof n=="number"&&n!==0?n+"px":n};function li(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 It={name:n.name,styles:n.styles,next:It},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)It={name:r.name,styles:r.styles,next:It},r=r.next;var o=n.styles+";";return o}return wx(e,t,n)}case"function":{if(e!==void 0){var i=It,l=n(e);return It=i,li(e,t,l)}break}}if(t==null)return n;var s=t[n];return s!==void 0?s:n}function wx(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Cx:Tx},pp=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(l){return t.__emotion_forwardProp(l)&&i(l)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},bx=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return q0(n,r,o),kx(function(){return hx(n,r,o)}),null},Px=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,l;n!==void 0&&(i=n.label,l=n.target);var s=pp(t,n,r),a=s||dp(o),u=!a("as");return function(){var c=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{f.push(c[0][0]);for(var d=c.length,g=1;g{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},_x=["values","unit","step"],Ax=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)=>$({},n,{[r.key]:r.val}),{})};function Nx(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=be(e,_x),i=Ax(t),l=Object.keys(i);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n})`}function a(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-r/100}${n})`}function u(d,g){const h=l.indexOf(g);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(h!==-1&&typeof t[l[h]]=="number"?t[l[h]]:g)-r/100}${n})`}function c(d){return l.indexOf(d)+1`@media (min-width:${uf[e]}px)`};function on(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||hp;return t.reduce((l,s,a)=>(l[i.up(i.keys[a])]=n(t[a]),l),{})}if(typeof t=="object"){const i=r.breakpoints||hp;return Object.keys(t).reduce((l,s)=>{if(Object.keys(i.values||uf).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 Lx(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Ix(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function _s(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 Il(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=_s(e,n)||r,t&&(o=t(o,r,e)),o}function Q(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,u=_s(a,r)||{};return on(l,s,f=>{let d=Il(u,o,f);return f===d&&typeof f=="string"&&(d=Il(u,o,`${t}${f==="default"?"":oe(f)}`,f)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function zx(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const jx={m:"margin",p:"padding"},Fx={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},mp={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dx=zx(e=>{if(e.length>2)if(mp[e])e=mp[e];else return[e];const[t,n]=e.split(""),r=jx[t],o=Fx[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),cf=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],ff=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...cf,...ff];function mi(e,t,n,r){var o;const i=(o=_s(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 ey(e){return mi(e,"spacing",8)}function yi(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 Bx(e,t){return n=>e.reduce((r,o)=>(r[o]=yi(t,n),r),{})}function Ux(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Dx(n),i=Bx(o,r),l=e[n];return on(e,l,i)}function ty(e,t){const n=ey(e.theme);return Object.keys(e).map(r=>Ux(e,t,r,n)).reduce(Io,{})}function me(e){return ty(e,cf)}me.propTypes={};me.filterProps=cf;function ye(e){return ty(e,ff)}ye.propTypes={};ye.filterProps=ff;function Hx(e=8){if(e.mui)return e;const t=ey({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 As(...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]?Io(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function jt(e){return typeof e!="number"?e:`${e}px solid`}const Vx=Q({prop:"border",themeKey:"borders",transform:jt}),Wx=Q({prop:"borderTop",themeKey:"borders",transform:jt}),Kx=Q({prop:"borderRight",themeKey:"borders",transform:jt}),Gx=Q({prop:"borderBottom",themeKey:"borders",transform:jt}),qx=Q({prop:"borderLeft",themeKey:"borders",transform:jt}),Qx=Q({prop:"borderColor",themeKey:"palette"}),Yx=Q({prop:"borderTopColor",themeKey:"palette"}),Xx=Q({prop:"borderRightColor",themeKey:"palette"}),Jx=Q({prop:"borderBottomColor",themeKey:"palette"}),Zx=Q({prop:"borderLeftColor",themeKey:"palette"}),Ns=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=mi(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:yi(t,r)});return on(e,e.borderRadius,n)}return null};Ns.propTypes={};Ns.filterProps=["borderRadius"];As(Vx,Wx,Kx,Gx,qx,Qx,Yx,Xx,Jx,Zx,Ns);const $s=e=>{if(e.gap!==void 0&&e.gap!==null){const t=mi(e.theme,"spacing",8),n=r=>({gap:yi(t,r)});return on(e,e.gap,n)}return null};$s.propTypes={};$s.filterProps=["gap"];const Ms=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=mi(e.theme,"spacing",8),n=r=>({columnGap:yi(t,r)});return on(e,e.columnGap,n)}return null};Ms.propTypes={};Ms.filterProps=["columnGap"];const Ls=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=mi(e.theme,"spacing",8),n=r=>({rowGap:yi(t,r)});return on(e,e.rowGap,n)}return null};Ls.propTypes={};Ls.filterProps=["rowGap"];const ek=Q({prop:"gridColumn"}),tk=Q({prop:"gridRow"}),nk=Q({prop:"gridAutoFlow"}),rk=Q({prop:"gridAutoColumns"}),ok=Q({prop:"gridAutoRows"}),ik=Q({prop:"gridTemplateColumns"}),lk=Q({prop:"gridTemplateRows"}),sk=Q({prop:"gridTemplateAreas"}),ak=Q({prop:"gridArea"});As($s,Ms,Ls,ek,tk,nk,rk,ok,ik,lk,sk,ak);function Ir(e,t){return t==="grey"?t:e}const uk=Q({prop:"color",themeKey:"palette",transform:Ir}),ck=Q({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ir}),fk=Q({prop:"backgroundColor",themeKey:"palette",transform:Ir});As(uk,ck,fk);function it(e){return e<=1&&e!==0?`${e*100}%`:e}const dk=Q({prop:"width",transform:it}),df=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])||uf[n]||it(n)}};return on(e,e.maxWidth,t)}return null};df.filterProps=["maxWidth"];const pk=Q({prop:"minWidth",transform:it}),hk=Q({prop:"height",transform:it}),mk=Q({prop:"maxHeight",transform:it}),yk=Q({prop:"minHeight",transform:it});Q({prop:"size",cssProperty:"width",transform:it});Q({prop:"size",cssProperty:"height",transform:it});const gk=Q({prop:"boxSizing"});As(dk,df,pk,hk,mk,yk,gk);const vk={border:{themeKey:"borders",transform:jt},borderTop:{themeKey:"borders",transform:jt},borderRight:{themeKey:"borders",transform:jt},borderBottom:{themeKey:"borders",transform:jt},borderLeft:{themeKey:"borders",transform:jt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ns},color:{themeKey:"palette",transform:Ir},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ir},backgroundColor:{themeKey:"palette",transform:Ir},p:{style:ye},pt:{style:ye},pr:{style:ye},pb:{style:ye},pl:{style:ye},px:{style:ye},py:{style:ye},padding:{style:ye},paddingTop:{style:ye},paddingRight:{style:ye},paddingBottom:{style:ye},paddingLeft:{style:ye},paddingX:{style:ye},paddingY:{style:ye},paddingInline:{style:ye},paddingInlineStart:{style:ye},paddingInlineEnd:{style:ye},paddingBlock:{style:ye},paddingBlockStart:{style:ye},paddingBlockEnd:{style:ye},m:{style:me},mt:{style:me},mr:{style:me},mb:{style:me},ml:{style:me},mx:{style:me},my:{style:me},margin:{style:me},marginTop:{style:me},marginRight:{style:me},marginBottom:{style:me},marginLeft:{style:me},marginX:{style:me},marginY:{style:me},marginInline:{style:me},marginInlineStart:{style:me},marginInlineEnd:{style:me},marginBlock:{style:me},marginBlockStart:{style:me},marginBlockEnd:{style:me},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:$s},rowGap:{style:Ls},columnGap:{style:Ms},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:it},maxWidth:{style:df},minWidth:{transform:it},height:{transform:it},maxHeight:{transform:it},minHeight:{transform:it},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},Is=vk;function wk(...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 Sk(e,t){return typeof e=="function"?e(t):e}function xk(){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:u,transform:c,style:f}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const d=_s(o,u)||{};return f?f(l):on(l,r,h=>{let m=Il(d,c,h);return h===m&&typeof h=="string"&&(m=Il(d,c,`${n}${h==="default"?"":oe(h)}`,h)),a===!1?m:{[a]:m}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const l=(r=i.unstable_sxConfig)!=null?r:Is;function s(a){let u=a;if(typeof a=="function")u=a(i);else if(typeof a!="object")return a;if(!u)return null;const c=Lx(i.breakpoints),f=Object.keys(c);let d=c;return Object.keys(u).forEach(g=>{const h=Sk(u[g],i);if(h!=null)if(typeof h=="object")if(l[g])d=Io(d,e(g,h,i,l));else{const m=on({theme:i},h,w=>({[g]:w}));wk(m,h)?d[g]=t({sx:h,theme:i}):d=Io(d,m)}else d=Io(d,e(g,h,i,l))}),Ix(f,d)}return Array.isArray(o)?o.map(s):s(o)}return t}const ny=xk();ny.filterProps=["sx"];const zs=ny,kk=["breakpoints","palette","spacing","shape"];function pf(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,l=be(e,kk),s=Nx(n),a=Hx(o);let u=Xt({breakpoints:s,direction:"ltr",components:{},palette:$({mode:"light"},r),spacing:a,shape:$({},Mx,i)},l);return u=t.reduce((c,f)=>Xt(c,f),u),u.unstable_sxConfig=$({},Is,l==null?void 0:l.unstable_sxConfig),u.unstable_sx=function(f){return zs({sx:f,theme:this})},u}function Ek(e){return Object.keys(e).length===0}function Ck(e=null){const t=T.exports.useContext(J0);return!t||Ek(t)?e:t}const Tk=pf();function hf(e=Tk){return Ck(e)}const bk=["sx"],Pk=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Is;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function ry(e){const{sx:t}=e,n=be(e,bk),{systemProps:r,otherProps:o}=Pk(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...l)=>{const s=t(...l);return Bn(s)?$({},r,s):r}:i=$({},r,t),$({},o,{sx:i})}function oy(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;ts!=="theme"&&s!=="sx"&&s!=="as"})(zs);return T.exports.forwardRef(function(a,u){const c=hf(n),f=ry(a),{className:d,component:g="div"}=f,h=be(f,Ok);return L(i,$({as:g,ref:u,className:_e(d,o?o(r):r),theme:t&&c[t]||c},h))})}const _k=["variant"];function yp(e){return e.length===0}function iy(e){const{variant:t}=e,n=be(e,_k);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=yp(r)?e[o]:oe(e[o]):r+=`${yp(r)?o:oe(o)}${oe(e[o].toString())}`}),r}const Ak=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Nk(e){return Object.keys(e).length===0}function $k(e){return typeof e=="string"&&e.charCodeAt(0)>96}const Mk=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,Lk=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(o=>{const i=iy(o.props);r[i]=o.style}),r},Ik=(e,t,n,r)=>{var o,i;const{ownerState:l={}}=e,s=[],a=n==null||(o=n.components)==null||(i=o[r])==null?void 0:i.variants;return a&&a.forEach(u=>{let c=!0;Object.keys(u.props).forEach(f=>{l[f]!==u.props[f]&&e[f]!==u.props[f]&&(c=!1)}),c&&s.push(t[iy(u.props)])}),s};function el(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zk=pf();function go({defaultTheme:e,theme:t,themeId:n}){return Nk(t)?e:t[n]||t}function jk(e={}){const{themeId:t,defaultTheme:n=zk,rootShouldForwardProp:r=el,slotShouldForwardProp:o=el}=e,i=l=>zs($({},l,{theme:go($({},l,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(l,s={})=>{Rx(l,S=>S.filter(x=>!(x!=null&&x.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:c,skipSx:f,overridesResolver:d}=s,g=be(s,Ak),h=c!==void 0?c:u&&u!=="Root"||!1,m=f||!1;let w,p=el;u==="Root"?p=r:u?p=o:$k(l)&&(p=void 0);const y=Z0(l,$({shouldForwardProp:p,label:w},g)),v=(S,...x)=>{const P=x?x.map(C=>typeof C=="function"&&C.__emotion_real!==C?A=>C($({},A,{theme:go($({},A,{defaultTheme:n,themeId:t}))})):C):[];let E=S;a&&d&&P.push(C=>{const A=go($({},C,{defaultTheme:n,themeId:t})),D=Mk(a,A);if(D){const Z={};return Object.entries(D).forEach(([xe,he])=>{Z[xe]=typeof he=="function"?he($({},C,{theme:A})):he}),d(C,Z)}return null}),a&&!h&&P.push(C=>{const A=go($({},C,{defaultTheme:n,themeId:t}));return Ik(C,Lk(a,A),A,a)}),m||P.push(i);const _=P.length-x.length;if(Array.isArray(S)&&_>0){const C=new Array(_).fill("");E=[...S,...C],E.raw=[...S.raw,...C]}else typeof S=="function"&&S.__emotion_real!==S&&(E=C=>S($({},C,{theme:go($({},C,{defaultTheme:n,themeId:t}))})));const I=y(E,...P);return l.muiName&&(I.muiName=l.muiName),I};return y.withConfig&&(v.withConfig=y.withConfig),v}}function Fk(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:j0(t.components[n].defaultProps,r)}function Dk({props:e,name:t,defaultTheme:n,themeId:r}){let o=hf(n);return r&&(o=o[r]||o),Fk({theme:o,name:t,props:e})}function mf(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function Bk(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 nr(e){if(e.type)return e;if(e.charAt(0)==="#")return nr(Bk(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Gr(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(Gr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function js(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 Uk(e){e=nr(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),l=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,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])),js({type:s,values:a})}function gp(e){e=nr(e);let t=e.type==="hsl"||e.type==="hsla"?nr(Uk(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 Hk(e,t){const n=gp(e),r=gp(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Vk(e,t){return e=nr(e),t=mf(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,js(e)}function ly(e,t){if(e=nr(e),t=mf(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 js(e)}function sy(e,t){if(e=nr(e),t=mf(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 js(e)}function Wk(e,t){return $({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Kk=["mode","contrastThreshold","tonalOffset"],vp={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:ri.white,default:ri.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}},Aa={text:{primary:ri.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:ri.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 wp(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=sy(e.main,o):t==="dark"&&(e.dark=ly(e.main,i)))}function Gk(e="light"){return e==="dark"?{main:cr[200],light:cr[50],dark:cr[400]}:{main:cr[700],light:cr[400],dark:cr[800]}}function qk(e="light"){return e==="dark"?{main:ur[200],light:ur[50],dark:ur[400]}:{main:ur[500],light:ur[300],dark:ur[700]}}function Qk(e="light"){return e==="dark"?{main:ar[500],light:ar[300],dark:ar[700]}:{main:ar[700],light:ar[400],dark:ar[800]}}function Yk(e="light"){return e==="dark"?{main:fr[400],light:fr[300],dark:fr[700]}:{main:fr[700],light:fr[500],dark:fr[900]}}function Xk(e="light"){return e==="dark"?{main:dr[400],light:dr[300],dark:dr[700]}:{main:dr[800],light:dr[500],dark:dr[900]}}function Jk(e="light"){return e==="dark"?{main:mo[400],light:mo[300],dark:mo[700]}:{main:"#ed6c02",light:mo[500],dark:mo[900]}}function Zk(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=be(e,Kk),i=e.primary||Gk(t),l=e.secondary||qk(t),s=e.error||Qk(t),a=e.info||Yk(t),u=e.success||Xk(t),c=e.warning||Jk(t);function f(m){return Hk(m,Aa.text.primary)>=n?Aa.text.primary:vp.text.primary}const d=({color:m,name:w,mainShade:p=500,lightShade:y=300,darkShade:v=700})=>{if(m=$({},m),!m.main&&m[p]&&(m.main=m[p]),!m.hasOwnProperty("main"))throw new Error(Gr(11,w?` (${w})`:"",p));if(typeof m.main!="string")throw new Error(Gr(12,w?` (${w})`:"",JSON.stringify(m.main)));return wp(m,"light",y,r),wp(m,"dark",v,r),m.contrastText||(m.contrastText=f(m.main)),m},g={dark:Aa,light:vp};return Xt($({common:$({},ri),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:l,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:a,name:"info"}),success:d({color:u,name:"success"}),grey:yS,contrastThreshold:n,getContrastText:f,augmentColor:d,tonalOffset:r},g[t]),o)}const eE=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function tE(e){return Math.round(e*1e5)/1e5}const Sp={textTransform:"uppercase"},xp='"Roboto", "Helvetica", "Arial", sans-serif';function nE(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=xp,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:l=400,fontWeightMedium:s=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,d=be(n,eE),g=o/14,h=f||(p=>`${p/u*g}rem`),m=(p,y,v,S,x)=>$({fontFamily:r,fontWeight:p,fontSize:h(y),lineHeight:v},r===xp?{letterSpacing:`${tE(S/y)}em`}:{},x,c),w={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(l,48,1.167,0),h4:m(l,34,1.235,.25),h5:m(l,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(l,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(l,16,1.5,.15),body2:m(l,14,1.43,.15),button:m(s,14,1.75,.4,Sp),caption:m(l,12,1.66,.4),overline:m(l,12,2.66,1,Sp),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Xt($({htmlFontSize:u,pxToRem:h,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:l,fontWeightMedium:s,fontWeightBold:a},w),d,{clone:!1})}const rE=.2,oE=.14,iE=.12;function se(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${rE})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${oE})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${iE})`].join(",")}const lE=["none",se(0,2,1,-1,0,1,1,0,0,1,3,0),se(0,3,1,-2,0,2,2,0,0,1,5,0),se(0,3,3,-2,0,3,4,0,0,1,8,0),se(0,2,4,-1,0,4,5,0,0,1,10,0),se(0,3,5,-1,0,5,8,0,0,1,14,0),se(0,3,5,-1,0,6,10,0,0,1,18,0),se(0,4,5,-2,0,7,10,1,0,2,16,1),se(0,5,5,-3,0,8,10,1,0,3,14,2),se(0,5,6,-3,0,9,12,1,0,3,16,2),se(0,6,6,-3,0,10,14,1,0,4,18,3),se(0,6,7,-4,0,11,15,1,0,4,20,3),se(0,7,8,-4,0,12,17,2,0,5,22,4),se(0,7,8,-4,0,13,19,2,0,5,24,4),se(0,7,9,-4,0,14,21,2,0,5,26,4),se(0,8,9,-5,0,15,22,2,0,6,28,5),se(0,8,10,-5,0,16,24,2,0,6,30,5),se(0,8,11,-5,0,17,26,2,0,6,32,5),se(0,9,11,-5,0,18,28,2,0,7,34,6),se(0,9,12,-6,0,19,29,2,0,7,36,6),se(0,10,13,-6,0,20,31,3,0,8,38,7),se(0,10,13,-6,0,21,33,3,0,8,40,7),se(0,10,14,-6,0,22,35,3,0,8,42,7),se(0,11,14,-7,0,23,36,3,0,9,44,8),se(0,11,15,-7,0,24,38,3,0,9,46,8)],sE=lE,aE=["duration","easing","delay"],uE={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)"},cE={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function kp(e){return`${Math.round(e)}ms`}function fE(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function dE(e){const t=$({},uE,e.easing),n=$({},cE,e.duration);return $({getAutoHeightDuration:fE,create:(o=["all"],i={})=>{const{duration:l=n.standard,easing:s=t.easeInOut,delay:a=0}=i;return be(i,aE),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof l=="string"?l:kp(l)} ${s} ${typeof a=="string"?a:kp(a)}`).join(",")}},e,{easing:t,duration:n})}const pE={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},hE=pE,mE=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ay(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,l=be(e,mE);if(e.vars)throw new Error(Gr(18));const s=Zk(r),a=pf(e);let u=Xt(a,{mixins:Wk(a.breakpoints,n),palette:s,shadows:sE.slice(),typography:nE(s,i),transitions:dE(o),zIndex:$({},hE)});return u=Xt(u,l),u=t.reduce((c,f)=>Xt(c,f),u),u.unstable_sxConfig=$({},Is,l==null?void 0:l.unstable_sxConfig),u.unstable_sx=function(f){return zs({sx:f,theme:this})},u}const yE=ay(),yf=yE;function gE(){const e=hf(yf);return e[Ts]||e}function lr({props:e,name:t}){return Dk({props:e,name:t,defaultTheme:yf,themeId:Ts})}const uy=e=>el(e)&&e!=="classes",vE=jk({themeId:Ts,defaultTheme:yf,rootShouldForwardProp:uy}),nt=vE;function wE(e){return Ln("MuiSvgIcon",e)}In("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const SE=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],xE=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${oe(t)}`,`fontSize${oe(n)}`]};return ir(o,wE,r)},kE=nt("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${oe(n.color)}`],t[`fontSize${oe(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,l,s,a,u,c,f,d,g,h,m,w,p,y;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(o=e.transitions)==null||(i=o.duration)==null?void 0:i.shorter}),fontSize:{inherit:"inherit",small:((l=e.typography)==null||(s=l.pxToRem)==null?void 0:s.call(l,20))||"1.25rem",medium:((a=e.typography)==null||(u=a.pxToRem)==null?void 0:u.call(a,24))||"1.5rem",large:((c=e.typography)==null||(f=c.pxToRem)==null?void 0:f.call(c,35))||"2.1875rem"}[t.fontSize],color:(d=(g=(e.vars||e).palette)==null||(h=g[t.color])==null?void 0:h.main)!=null?d:{action:(m=(e.vars||e).palette)==null||(w=m.action)==null?void 0:w.active,disabled:(p=(e.vars||e).palette)==null||(y=p.action)==null?void 0:y.disabled,inherit:void 0}[t.color]}}),cy=T.exports.forwardRef(function(t,n){const r=lr({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:l="inherit",component:s="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:f,viewBox:d="0 0 24 24"}=r,g=be(r,SE),h=T.exports.isValidElement(o)&&o.type==="svg",m=$({},r,{color:l,component:s,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:h}),w={};c||(w.viewBox=d);const p=xE(m);return Le(kE,$({as:s,className:_e(p.root,i),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n},w,g,h&&o.props,{ownerState:m,children:[h?o.props.children:o,f?L("title",{children:f}):null]}))});cy.muiName="SvgIcon";const Ep=cy;function gf(e,t){function n(r,o){return L(Ep,$({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=Ep.muiName,T.exports.memo(T.exports.forwardRef(n))}function Du(e,t){return Du=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Du(e,t)}function EE(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Du(e,t)}const Cp=Qn.createContext(null);function CE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vf(e,t){var n=function(i){return t&&T.exports.isValidElement(i)?t(i):i},r=Object.create(null);return e&&T.exports.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function TE(e,t){e=e||{},t=t||{};function n(c){return c in t?t[c]:e[c]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var l,s={};for(var a in t){if(r[a])for(l=0;l{if(!s&&a!=null){const m=setTimeout(a,u);return()=>{clearTimeout(m)}}},[a,s,u]),L("span",{className:d,style:g,children:L("span",{className:h})})}const NE=In("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),mt=NE,$E=["center","classes","className"];let Fs=e=>e,Tp,bp,Pp,Op;const Bu=550,ME=80,LE=no(Tp||(Tp=Fs` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),IE=no(bp||(bp=Fs` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),zE=no(Pp||(Pp=Fs` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),jE=nt("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),FE=nt(AE,{name:"MuiTouchRipple",slot:"Ripple"})(Op||(Op=Fs` + opacity: 0; + position: absolute; + + &.${0} { + opacity: 0.3; + transform: scale(1); + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + &.${0} { + animation-duration: ${0}ms; + } + + & .${0} { + opacity: 1; + display: block; + width: 100%; + height: 100%; + border-radius: 50%; + background-color: currentColor; + } + + & .${0} { + opacity: 0; + animation-name: ${0}; + animation-duration: ${0}ms; + animation-timing-function: ${0}; + } + + & .${0} { + position: absolute; + /* @noflip */ + left: 0px; + top: 0; + animation-name: ${0}; + animation-duration: 2500ms; + animation-timing-function: ${0}; + animation-iteration-count: infinite; + animation-delay: 200ms; + } +`),mt.rippleVisible,LE,Bu,({theme:e})=>e.transitions.easing.easeInOut,mt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,mt.child,mt.childLeaving,IE,Bu,({theme:e})=>e.transitions.easing.easeInOut,mt.childPulsate,zE,({theme:e})=>e.transitions.easing.easeInOut),DE=T.exports.forwardRef(function(t,n){const r=lr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:l}=r,s=be(r,$E),[a,u]=T.exports.useState([]),c=T.exports.useRef(0),f=T.exports.useRef(null);T.exports.useEffect(()=>{f.current&&(f.current(),f.current=null)},[a]);const d=T.exports.useRef(!1),g=T.exports.useRef(0),h=T.exports.useRef(null),m=T.exports.useRef(null);T.exports.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]);const w=T.exports.useCallback(S=>{const{pulsate:x,rippleX:P,rippleY:E,rippleSize:_,cb:I}=S;u(C=>[...C,L(FE,{classes:{ripple:_e(i.ripple,mt.ripple),rippleVisible:_e(i.rippleVisible,mt.rippleVisible),ripplePulsate:_e(i.ripplePulsate,mt.ripplePulsate),child:_e(i.child,mt.child),childLeaving:_e(i.childLeaving,mt.childLeaving),childPulsate:_e(i.childPulsate,mt.childPulsate)},timeout:Bu,pulsate:x,rippleX:P,rippleY:E,rippleSize:_},c.current)]),c.current+=1,f.current=I},[i]),p=T.exports.useCallback((S={},x={},P=()=>{})=>{const{pulsate:E=!1,center:_=o||x.pulsate,fakeElement:I=!1}=x;if((S==null?void 0:S.type)==="mousedown"&&d.current){d.current=!1;return}(S==null?void 0:S.type)==="touchstart"&&(d.current=!0);const C=I?null:m.current,A=C?C.getBoundingClientRect():{width:0,height:0,left:0,top:0};let D,Z,xe;if(_||S===void 0||S.clientX===0&&S.clientY===0||!S.clientX&&!S.touches)D=Math.round(A.width/2),Z=Math.round(A.height/2);else{const{clientX:he,clientY:ke}=S.touches&&S.touches.length>0?S.touches[0]:S;D=Math.round(he-A.left),Z=Math.round(ke-A.top)}if(_)xe=Math.sqrt((2*A.width**2+A.height**2)/3),xe%2===0&&(xe+=1);else{const he=Math.max(Math.abs((C?C.clientWidth:0)-D),D)*2+2,ke=Math.max(Math.abs((C?C.clientHeight:0)-Z),Z)*2+2;xe=Math.sqrt(he**2+ke**2)}S!=null&&S.touches?h.current===null&&(h.current=()=>{w({pulsate:E,rippleX:D,rippleY:Z,rippleSize:xe,cb:P})},g.current=setTimeout(()=>{h.current&&(h.current(),h.current=null)},ME)):w({pulsate:E,rippleX:D,rippleY:Z,rippleSize:xe,cb:P})},[o,w]),y=T.exports.useCallback(()=>{p({},{pulsate:!0})},[p]),v=T.exports.useCallback((S,x)=>{if(clearTimeout(g.current),(S==null?void 0:S.type)==="touchend"&&h.current){h.current(),h.current=null,g.current=setTimeout(()=>{v(S,x)});return}h.current=null,u(P=>P.length>0?P.slice(1):P),f.current=x},[]);return T.exports.useImperativeHandle(n,()=>({pulsate:y,start:p,stop:v}),[y,p,v]),L(jE,$({className:_e(mt.root,i.root,l),ref:m},s,{children:L(_E,{component:null,exit:!0,children:a})}))}),BE=DE;function UE(e){return Ln("MuiButtonBase",e)}const HE=In("MuiButtonBase",["root","disabled","focusVisible"]),VE=HE,WE=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],KE=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,l=ir({root:["root",t&&"disabled",n&&"focusVisible"]},UE,o);return n&&r&&(l.root+=` ${r}`),l},GE=nt("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${VE.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qE=T.exports.forwardRef(function(t,n){const r=lr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:l,className:s,component:a="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:g="a",onBlur:h,onClick:m,onContextMenu:w,onDragLeave:p,onFocus:y,onFocusVisible:v,onKeyDown:S,onKeyUp:x,onMouseDown:P,onMouseLeave:E,onMouseUp:_,onTouchEnd:I,onTouchMove:C,onTouchStart:A,tabIndex:D=0,TouchRippleProps:Z,touchRippleRef:xe,type:he}=r,ke=be(r,WE),je=T.exports.useRef(null),k=T.exports.useRef(null),R=rp(k,xe),{isFocusVisibleRef:N,onFocus:z,onBlur:F,ref:le}=AS(),[H,V]=T.exports.useState(!1);u&&H&&V(!1),T.exports.useImperativeHandle(o,()=>({focusVisible:()=>{V(!0),je.current.focus()}}),[]);const[te,Pe]=T.exports.useState(!1);T.exports.useEffect(()=>{Pe(!0)},[]);const zn=te&&!c&&!u;T.exports.useEffect(()=>{H&&d&&!c&&te&&k.current.pulsate()},[c,d,H,te]);function rt(B,Pf,Jy=f){return zi(Of=>(Pf&&Pf(Of),!Jy&&k.current&&k.current[B](Of),!0))}const Ks=rt("start",P),Fy=rt("stop",w),Dy=rt("stop",p),By=rt("stop",_),Uy=rt("stop",B=>{H&&B.preventDefault(),E&&E(B)}),Hy=rt("start",A),Vy=rt("stop",I),Wy=rt("stop",C),Ky=rt("stop",B=>{F(B),N.current===!1&&V(!1),h&&h(B)},!1),Gy=zi(B=>{je.current||(je.current=B.currentTarget),z(B),N.current===!0&&(V(!0),v&&v(B)),y&&y(B)}),Gs=()=>{const B=je.current;return a&&a!=="button"&&!(B.tagName==="A"&&B.href)},qs=T.exports.useRef(!1),qy=zi(B=>{d&&!qs.current&&H&&k.current&&B.key===" "&&(qs.current=!0,k.current.stop(B,()=>{k.current.start(B)})),B.target===B.currentTarget&&Gs()&&B.key===" "&&B.preventDefault(),S&&S(B),B.target===B.currentTarget&&Gs()&&B.key==="Enter"&&!u&&(B.preventDefault(),m&&m(B))}),Qy=zi(B=>{d&&B.key===" "&&k.current&&H&&!B.defaultPrevented&&(qs.current=!1,k.current.stop(B,()=>{k.current.pulsate(B)})),x&&x(B),m&&B.target===B.currentTarget&&Gs()&&B.key===" "&&!B.defaultPrevented&&m(B)});let wi=a;wi==="button"&&(ke.href||ke.to)&&(wi=g);const io={};wi==="button"?(io.type=he===void 0?"button":he,io.disabled=u):(!ke.href&&!ke.to&&(io.role="button"),u&&(io["aria-disabled"]=u));const Yy=rp(n,le,je),bf=$({},r,{centerRipple:i,component:a,disabled:u,disableRipple:c,disableTouchRipple:f,focusRipple:d,tabIndex:D,focusVisible:H}),Xy=KE(bf);return Le(GE,$({as:wi,className:_e(Xy.root,s),ownerState:bf,onBlur:Ky,onClick:m,onContextMenu:Fy,onFocus:Gy,onKeyDown:qy,onKeyUp:Qy,onMouseDown:Ks,onMouseLeave:Uy,onMouseUp:By,onDragLeave:Dy,onTouchEnd:Vy,onTouchMove:Wy,onTouchStart:Hy,ref:Yy,tabIndex:u?-1:D,type:he},io,ke,{children:[l,zn?L(BE,$({ref:R,center:i},Z)):null]}))}),QE=qE;function YE(e){return Ln("MuiTypography",e)}In("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const XE=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],JE=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:l}=e,s={root:["root",i,e.align!=="inherit"&&`align${oe(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return ir(s,YE,l)},ZE=nt("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${oe(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>$({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Rp={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},e2={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},t2=e=>e2[e]||e,n2=T.exports.forwardRef(function(t,n){const r=lr({props:t,name:"MuiTypography"}),o=t2(r.color),i=ry($({},r,{color:o})),{align:l="inherit",className:s,component:a,gutterBottom:u=!1,noWrap:c=!1,paragraph:f=!1,variant:d="body1",variantMapping:g=Rp}=i,h=be(i,XE),m=$({},i,{align:l,color:o,className:s,component:a,gutterBottom:u,noWrap:c,paragraph:f,variant:d,variantMapping:g}),w=a||(f?"p":g[d]||Rp[d])||"span",p=JE(m);return L(ZE,$({as:w,ref:n,ownerState:m,className:_e(p.root,s)},h))}),st=n2;function r2({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const o2=T.exports.createContext(void 0),i2=o2;function fy(){return T.exports.useContext(i2)}const l2=ay(),s2=Rk({themeId:Ts,defaultTheme:l2,defaultClassName:"MuiBox-root",generateClassName:F0.generate}),a2=s2;function u2(e){return Ln("PrivateSwitchBase",e)}In("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const c2=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],f2=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${oe(o)}`],input:["input"]};return ir(i,u2,t)},d2=nt(QE)(({ownerState:e})=>$({padding:9,borderRadius:"50%"},e.edge==="start"&&{marginLeft:e.size==="small"?-3:-12},e.edge==="end"&&{marginRight:e.size==="small"?-3:-12})),p2=nt("input")({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),h2=T.exports.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,className:l,defaultChecked:s,disabled:a,disableFocusRipple:u=!1,edge:c=!1,icon:f,id:d,inputProps:g,inputRef:h,name:m,onBlur:w,onChange:p,onFocus:y,readOnly:v,required:S=!1,tabIndex:x,type:P,value:E}=t,_=be(t,c2),[I,C]=CS({controlled:o,default:Boolean(s),name:"SwitchBase",state:"checked"}),A=fy(),D=R=>{y&&y(R),A&&A.onFocus&&A.onFocus(R)},Z=R=>{w&&w(R),A&&A.onBlur&&A.onBlur(R)},xe=R=>{if(R.nativeEvent.defaultPrevented)return;const N=R.target.checked;C(N),p&&p(R,N)};let he=a;A&&typeof he>"u"&&(he=A.disabled);const ke=P==="checkbox"||P==="radio",je=$({},t,{checked:I,disabled:he,disableFocusRipple:u,edge:c}),k=f2(je);return Le(d2,$({component:"span",className:_e(k.root,l),centerRipple:!0,focusRipple:!u,disabled:he,tabIndex:null,role:void 0,onFocus:D,onBlur:Z,ownerState:je,ref:n},_,{children:[L(p2,$({autoFocus:r,checked:o,defaultChecked:s,className:k.input,disabled:he,id:ke?d:void 0,name:m,onChange:xe,readOnly:v,ref:h,required:S,ownerState:je,tabIndex:x,type:P},P==="checkbox"&&E===void 0?{}:{value:E},g)),I?i:f]}))}),m2=h2,y2=gf(L("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),g2=gf(L("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),v2=gf(L("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function w2(e){return Ln("MuiCheckbox",e)}const S2=In("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary"]),Na=S2,x2=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],k2=e=>{const{classes:t,indeterminate:n,color:r}=e,o={root:["root",n&&"indeterminate",`color${oe(r)}`]},i=ir(o,w2,t);return $({},t,i)},E2=nt(m2,{shouldForwardProp:e=>uy(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,n.color!=="default"&&t[`color${oe(n.color)}`]]}})(({theme:e,ownerState:t})=>$({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${t.color==="default"?e.vars.palette.action.activeChannel:e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Vk(t.color==="default"?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.color!=="default"&&{[`&.${Na.checked}, &.${Na.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Na.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),C2=L(g2,{}),T2=L(y2,{}),b2=L(v2,{}),P2=T.exports.forwardRef(function(t,n){var r,o;const i=lr({props:t,name:"MuiCheckbox"}),{checkedIcon:l=C2,color:s="primary",icon:a=T2,indeterminate:u=!1,indeterminateIcon:c=b2,inputProps:f,size:d="medium",className:g}=i,h=be(i,x2),m=u?c:a,w=u?c:l,p=$({},i,{color:s,indeterminate:u,size:d}),y=k2(p);return L(E2,$({type:"checkbox",inputProps:$({"data-indeterminate":u},f),icon:T.exports.cloneElement(m,{fontSize:(r=m.props.fontSize)!=null?r:d}),checkedIcon:T.exports.cloneElement(w,{fontSize:(o=w.props.fontSize)!=null?o:d}),ownerState:p,ref:n,className:_e(y.root,g)},h,{classes:y}))}),O2=P2;function R2(e){return Ln("MuiFormControlLabel",e)}const _2=In("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]),bo=_2,A2=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],N2=e=>{const{classes:t,disabled:n,labelPlacement:r,error:o,required:i}=e,l={root:["root",n&&"disabled",`labelPlacement${oe(r)}`,o&&"error",i&&"required"],label:["label",n&&"disabled"],asterisk:["asterisk",o&&"error"]};return ir(l,R2,t)},$2=nt("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${bo.label}`]:t.label},t.root,t[`labelPlacement${oe(n.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>$({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${bo.disabled}`]:{cursor:"default"}},t.labelPlacement==="start"&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},t.labelPlacement==="top"&&{flexDirection:"column-reverse",marginLeft:16},t.labelPlacement==="bottom"&&{flexDirection:"column",marginLeft:16},{[`& .${bo.label}`]:{[`&.${bo.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),M2=nt("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${bo.error}`]:{color:(e.vars||e).palette.error.main}})),L2=T.exports.forwardRef(function(t,n){var r,o;const i=lr({props:t,name:"MuiFormControlLabel"}),{className:l,componentsProps:s={},control:a,disabled:u,disableTypography:c,label:f,labelPlacement:d="end",required:g,slotProps:h={}}=i,m=be(i,A2),w=fy(),p=(r=u!=null?u:a.props.disabled)!=null?r:w==null?void 0:w.disabled,y=g!=null?g:a.props.required,v={disabled:p,required:y};["checked","name","onChange","value","inputRef"].forEach(I=>{typeof a.props[I]>"u"&&typeof i[I]<"u"&&(v[I]=i[I])});const S=r2({props:i,muiFormControl:w,states:["error"]}),x=$({},i,{disabled:p,labelPlacement:d,required:y,error:S.error}),P=N2(x),E=(o=h.typography)!=null?o:s.typography;let _=f;return _!=null&&_.type!==st&&!c&&(_=L(st,$({component:"span"},E,{className:_e(P.label,E==null?void 0:E.className),children:_}))),Le($2,$({className:_e(P.root,l),ownerState:x,ref:n},m,{children:[T.exports.cloneElement(a,v),_,y&&Le(M2,{ownerState:x,"aria-hidden":!0,className:P.asterisk,children:["\u2009","*"]})]}))}),I2=L2;function z2(e){return Ln("MuiLinearProgress",e)}In("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const j2=["className","color","value","valueBuffer","variant"];let ro=e=>e,_p,Ap,Np,$p,Mp,Lp;const Uu=4,F2=no(_p||(_p=ro` + 0% { + left: -35%; + right: 100%; + } + + 60% { + left: 100%; + right: -90%; + } + + 100% { + left: 100%; + right: -90%; + } +`)),D2=no(Ap||(Ap=ro` + 0% { + left: -200%; + right: 100%; + } + + 60% { + left: 107%; + right: -8%; + } + + 100% { + left: 107%; + right: -8%; + } +`)),B2=no(Np||(Np=ro` + 0% { + opacity: 1; + background-position: 0 -23px; + } + + 60% { + opacity: 0; + background-position: 0 -23px; + } + + 100% { + opacity: 1; + background-position: -200px -23px; + } +`)),U2=e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${oe(r)}`,n],dashed:["dashed",`dashedColor${oe(r)}`],bar1:["bar",`barColor${oe(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${oe(r)}`,n==="buffer"&&`color${oe(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return ir(o,z2,t)},Sf=(e,t)=>t==="inherit"?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?sy(e.palette[t].main,.62):ly(e.palette[t].main,.5),H2=nt("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${oe(n.color)}`],t[n.variant]]}})(({ownerState:e,theme:t})=>$({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:Sf(t,e.color)},e.color==="inherit"&&e.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},e.variant==="buffer"&&{backgroundColor:"transparent"},e.variant==="query"&&{transform:"rotate(180deg)"})),V2=nt("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${oe(n.color)}`]]}})(({ownerState:e,theme:t})=>{const n=Sf(t,e.color);return $({position:"absolute",marginTop:0,height:"100%",width:"100%"},e.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},Rs($p||($p=ro` + animation: ${0} 3s infinite linear; + `),B2)),W2=nt("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${oe(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar1Indeterminate,n.variant==="determinate"&&t.bar1Determinate,n.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>$({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.variant==="determinate"&&{transition:`transform .${Uu}s linear`},e.variant==="buffer"&&{zIndex:1,transition:`transform .${Uu}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&Rs(Mp||(Mp=ro` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite; + `),F2)),K2=nt("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${oe(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>$({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:Sf(t,e.color),transition:`transform .${Uu}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&Rs(Lp||(Lp=ro` + width: auto; + animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite; + `),D2)),G2=T.exports.forwardRef(function(t,n){const r=lr({props:t,name:"MuiLinearProgress"}),{className:o,color:i="primary",value:l,valueBuffer:s,variant:a="indeterminate"}=r,u=be(r,j2),c=$({},r,{color:i,variant:a}),f=U2(c),d=gE(),g={},h={bar1:{},bar2:{}};if((a==="determinate"||a==="buffer")&&l!==void 0){g["aria-valuenow"]=Math.round(l),g["aria-valuemin"]=0,g["aria-valuemax"]=100;let m=l-100;d.direction==="rtl"&&(m=-m),h.bar1.transform=`translateX(${m}%)`}if(a==="buffer"&&s!==void 0){let m=(s||0)-100;d.direction==="rtl"&&(m=-m),h.bar2.transform=`translateX(${m}%)`}return Le(H2,$({className:_e(f.root,o),ownerState:c,role:"progressbar"},g,{ref:n},u,{children:[a==="buffer"?L(V2,{className:f.dashed,ownerState:c}):null,L(W2,{className:f.bar1,ownerState:c,style:h.bar1}),a==="determinate"?null:L(K2,{className:f.bar2,ownerState:c,style:h.bar2})]}))}),q2=G2;function dy(e,t){return function(){return e.apply(t,arguments)}}const{toString:Q2}=Object.prototype,{getPrototypeOf:xf}=Object,Ds=(e=>t=>{const n=Q2.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Vt=e=>(e=e.toLowerCase(),t=>Ds(t)===e),Bs=e=>t=>typeof t===e,{isArray:oo}=Array,si=Bs("undefined");function Y2(e){return e!==null&&!si(e)&&e.constructor!==null&&!si(e.constructor)&&St(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const py=Vt("ArrayBuffer");function X2(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&py(e.buffer),t}const J2=Bs("string"),St=Bs("function"),hy=Bs("number"),Us=e=>e!==null&&typeof e=="object",Z2=e=>e===!0||e===!1,tl=e=>{if(Ds(e)!=="object")return!1;const t=xf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},eC=Vt("Date"),tC=Vt("File"),nC=Vt("Blob"),rC=Vt("FileList"),oC=e=>Us(e)&&St(e.pipe),iC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||St(e.append)&&((t=Ds(e))==="formdata"||t==="object"&&St(e.toString)&&e.toString()==="[object FormData]"))},lC=Vt("URLSearchParams"),sC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),oo(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const yy=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),gy=e=>!si(e)&&e!==yy;function Hu(){const{caseless:e}=gy(this)&&this||{},t={},n=(r,o)=>{const i=e&&my(t,o)||o;tl(t[i])&&tl(r)?t[i]=Hu(t[i],r):tl(r)?t[i]=Hu({},r):oo(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r(gi(t,(o,i)=>{n&&St(o)?e[i]=dy(o,n):e[i]=o},{allOwnKeys:r}),e),uC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),cC=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},fC=(e,t,n,r)=>{let o,i,l;const s={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)l=o[i],(!r||r(l,e,t))&&!s[l]&&(t[l]=e[l],s[l]=!0);e=n!==!1&&xf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},dC=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},pC=e=>{if(!e)return null;if(oo(e))return e;let t=e.length;if(!hy(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},hC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&xf(Uint8Array)),mC=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},yC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},gC=Vt("HTMLFormElement"),vC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Ip=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),wC=Vt("RegExp"),vy=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};gi(n,(o,i)=>{t(o,i,e)!==!1&&(r[i]=o)}),Object.defineProperties(e,r)},SC=e=>{vy(e,(t,n)=>{if(St(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(!!St(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xC=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return oo(e)?r(e):r(String(e).split(t)),n},kC=()=>{},EC=(e,t)=>(e=+e,Number.isFinite(e)?e:t),$a="abcdefghijklmnopqrstuvwxyz",zp="0123456789",wy={DIGIT:zp,ALPHA:$a,ALPHA_DIGIT:$a+$a.toUpperCase()+zp},CC=(e=16,t=wy.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function TC(e){return!!(e&&St(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const bC=e=>{const t=new Array(10),n=(r,o)=>{if(Us(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=oo(r)?[]:{};return gi(r,(l,s)=>{const a=n(l,o+1);!si(a)&&(i[s]=a)}),t[o]=void 0,i}}return r};return n(e,0)},PC=Vt("AsyncFunction"),OC=e=>e&&(Us(e)||St(e))&&St(e.then)&&St(e.catch),b={isArray:oo,isArrayBuffer:py,isBuffer:Y2,isFormData:iC,isArrayBufferView:X2,isString:J2,isNumber:hy,isBoolean:Z2,isObject:Us,isPlainObject:tl,isUndefined:si,isDate:eC,isFile:tC,isBlob:nC,isRegExp:wC,isFunction:St,isStream:oC,isURLSearchParams:lC,isTypedArray:hC,isFileList:rC,forEach:gi,merge:Hu,extend:aC,trim:sC,stripBOM:uC,inherits:cC,toFlatObject:fC,kindOf:Ds,kindOfTest:Vt,endsWith:dC,toArray:pC,forEachEntry:mC,matchAll:yC,isHTMLForm:gC,hasOwnProperty:Ip,hasOwnProp:Ip,reduceDescriptors:vy,freezeMethods:SC,toObjectSet:xC,toCamelCase:vC,noop:kC,toFiniteNumber:EC,findKey:my,global:yy,isContextDefined:gy,ALPHABET:wy,generateString:CC,isSpecCompliantForm:TC,toJSONObject:bC,isAsyncFn:PC,isThenable:OC};function W(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}b.inherits(W,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:b.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Sy=W.prototype,xy={};["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(e=>{xy[e]={value:e}});Object.defineProperties(W,xy);Object.defineProperty(Sy,"isAxiosError",{value:!0});W.from=(e,t,n,r,o,i)=>{const l=Object.create(Sy);return b.toFlatObject(e,l,function(a){return a!==Error.prototype},s=>s!=="isAxiosError"),W.call(l,e.message,t,n,r,o),l.cause=e,l.name=e.name,i&&Object.assign(l,i),l};const RC=null;function Vu(e){return b.isPlainObject(e)||b.isArray(e)}function ky(e){return b.endsWith(e,"[]")?e.slice(0,-2):e}function jp(e,t,n){return e?e.concat(t).map(function(o,i){return o=ky(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function _C(e){return b.isArray(e)&&!e.some(Vu)}const AC=b.toFlatObject(b,{},null,function(t){return/^is[A-Z]/.test(t)});function Hs(e,t,n){if(!b.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,w){return!b.isUndefined(w[m])});const r=n.metaTokens,o=n.visitor||c,i=n.dots,l=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(t);if(!b.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(b.isDate(h))return h.toISOString();if(!a&&b.isBlob(h))throw new W("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(h)||b.isTypedArray(h)?a&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,m,w){let p=h;if(h&&!w&&typeof h=="object"){if(b.endsWith(m,"{}"))m=r?m:m.slice(0,-2),h=JSON.stringify(h);else if(b.isArray(h)&&_C(h)||(b.isFileList(h)||b.endsWith(m,"[]"))&&(p=b.toArray(h)))return m=ky(m),p.forEach(function(v,S){!(b.isUndefined(v)||v===null)&&t.append(l===!0?jp([m],S,i):l===null?m:m+"[]",u(v))}),!1}return Vu(h)?!0:(t.append(jp(w,m,i),u(h)),!1)}const f=[],d=Object.assign(AC,{defaultVisitor:c,convertValue:u,isVisitable:Vu});function g(h,m){if(!b.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(h),b.forEach(h,function(p,y){(!(b.isUndefined(p)||p===null)&&o.call(t,p,b.isString(y)?y.trim():y,m,d))===!0&&g(p,m?m.concat(y):[y])}),f.pop()}}if(!b.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Fp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function kf(e,t){this._pairs=[],e&&Hs(e,this,t)}const Ey=kf.prototype;Ey.append=function(t,n){this._pairs.push([t,n])};Ey.toString=function(t){const n=t?function(r){return t.call(this,r,Fp)}:Fp;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function NC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Cy(e,t,n){if(!t)return e;const r=n&&n.encode||NC,o=n&&n.serialize;let i;if(o?i=o(t,n):i=b.isURLSearchParams(t)?t.toString():new kf(t,n).toString(r),i){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class $C{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){b.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Dp=$C,Ty={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},MC=typeof URLSearchParams<"u"?URLSearchParams:kf,LC=typeof FormData<"u"?FormData:null,IC=typeof Blob<"u"?Blob:null,zC=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),jC=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ft={isBrowser:!0,classes:{URLSearchParams:MC,FormData:LC,Blob:IC},isStandardBrowserEnv:zC,isStandardBrowserWebWorkerEnv:jC,protocols:["http","https","file","blob","url","data"]};function FC(e,t){return Hs(e,new Ft.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return Ft.isNode&&b.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function DC(e){return b.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function BC(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return l=!l&&b.isArray(o)?o.length:l,a?(b.hasOwnProp(o,l)?o[l]=[o[l],r]:o[l]=r,!s):((!o[l]||!b.isObject(o[l]))&&(o[l]=[]),t(n,r,o[l],i)&&b.isArray(o[l])&&(o[l]=BC(o[l])),!s)}if(b.isFormData(e)&&b.isFunction(e.entries)){const n={};return b.forEachEntry(e,(r,o)=>{t(DC(r),o,n,0)}),n}return null}const UC={"Content-Type":void 0};function HC(e,t,n){if(b.isString(e))try{return(t||JSON.parse)(e),b.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Vs={transitional:Ty,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=b.isObject(t);if(i&&b.isHTMLForm(t)&&(t=new FormData(t)),b.isFormData(t))return o&&o?JSON.stringify(by(t)):t;if(b.isArrayBuffer(t)||b.isBuffer(t)||b.isStream(t)||b.isFile(t)||b.isBlob(t))return t;if(b.isArrayBufferView(t))return t.buffer;if(b.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return FC(t,this.formSerializer).toString();if((s=b.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Hs(s?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),HC(t)):t}],transformResponse:[function(t){const n=this.transitional||Vs.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&b.isString(t)&&(r&&!this.responseType||o)){const l=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(l)throw s.name==="SyntaxError"?W.from(s,W.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ft.classes.FormData,Blob:Ft.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};b.forEach(["delete","get","head"],function(t){Vs.headers[t]={}});b.forEach(["post","put","patch"],function(t){Vs.headers[t]=b.merge(UC)});const Ef=Vs,VC=b.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"]),WC=e=>{const t={};let n,r,o;return e&&e.split(` +`).forEach(function(l){o=l.indexOf(":"),n=l.substring(0,o).trim().toLowerCase(),r=l.substring(o+1).trim(),!(!n||t[n]&&VC[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bp=Symbol("internals");function vo(e){return e&&String(e).trim().toLowerCase()}function nl(e){return e===!1||e==null?e:b.isArray(e)?e.map(nl):String(e)}function KC(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const GC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ma(e,t,n,r,o){if(b.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!b.isString(t)){if(b.isString(r))return t.indexOf(r)!==-1;if(b.isRegExp(r))return r.test(t)}}function qC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function QC(e,t){const n=b.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,l){return this[r].call(this,t,o,i,l)},configurable:!0})})}class Ws{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(s,a,u){const c=vo(a);if(!c)throw new Error("header name must be a non-empty string");const f=b.findKey(o,c);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||a]=nl(s))}const l=(s,a)=>b.forEach(s,(u,c)=>i(u,c,a));return b.isPlainObject(t)||t instanceof this.constructor?l(t,n):b.isString(t)&&(t=t.trim())&&!GC(t)?l(WC(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=vo(t),t){const r=b.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return KC(o);if(b.isFunction(n))return n.call(this,o,r);if(b.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=vo(t),t){const r=b.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ma(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(l){if(l=vo(l),l){const s=b.findKey(r,l);s&&(!n||Ma(r,r[s],s,n))&&(delete r[s],o=!0)}}return b.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Ma(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return b.forEach(this,(o,i)=>{const l=b.findKey(r,i);if(l){n[l]=nl(o),delete n[i];return}const s=t?qC(i):String(i).trim();s!==i&&delete n[i],n[s]=nl(o),r[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return b.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&b.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Bp]=this[Bp]={accessors:{}}).accessors,o=this.prototype;function i(l){const s=vo(l);r[s]||(QC(o,l),r[s]=!0)}return b.isArray(t)?t.forEach(i):i(t),this}}Ws.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);b.freezeMethods(Ws.prototype);b.freezeMethods(Ws);const Jt=Ws;function La(e,t){const n=this||Ef,r=t||n,o=Jt.from(r.headers);let i=r.data;return b.forEach(e,function(s){i=s.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Py(e){return!!(e&&e.__CANCEL__)}function vi(e,t,n){W.call(this,e==null?"canceled":e,W.ERR_CANCELED,t,n),this.name="CanceledError"}b.inherits(vi,W,{__CANCEL__:!0});function YC(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new W("Request failed with status code "+n.status,[W.ERR_BAD_REQUEST,W.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const XC=Ft.isStandardBrowserEnv?function(){return{write:function(n,r,o,i,l,s){const a=[];a.push(n+"="+encodeURIComponent(r)),b.isNumber(o)&&a.push("expires="+new Date(o).toGMTString()),b.isString(i)&&a.push("path="+i),b.isString(l)&&a.push("domain="+l),s===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function JC(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ZC(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Oy(e,t){return e&&!JC(t)?ZC(e,t):t}const eT=Ft.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let l=i;return t&&(n.setAttribute("href",l),l=n.href),n.setAttribute("href",l),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(l){const s=b.isString(l)?o(l):l;return s.protocol===r.protocol&&s.host===r.host}}():function(){return function(){return!0}}();function tT(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nT(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,l;return t=t!==void 0?t:1e3,function(a){const u=Date.now(),c=r[i];l||(l=u),n[o]=a,r[o]=u;let f=i,d=0;for(;f!==o;)d+=n[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-l{const i=o.loaded,l=o.lengthComputable?o.total:void 0,s=i-n,a=r(s),u=i<=l;n=i;const c={loaded:i,total:l,progress:l?i/l:void 0,bytes:s,rate:a||void 0,estimated:a&&l&&u?(l-i)/a:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const rT=typeof XMLHttpRequest<"u",oT=rT&&function(e){return new Promise(function(n,r){let o=e.data;const i=Jt.from(e.headers).normalize(),l=e.responseType;let s;function a(){e.cancelToken&&e.cancelToken.unsubscribe(s),e.signal&&e.signal.removeEventListener("abort",s)}b.isFormData(o)&&(Ft.isStandardBrowserEnv||Ft.isStandardBrowserWebWorkerEnv?i.setContentType(!1):i.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+h))}const c=Oy(e.baseURL,e.url);u.open(e.method.toUpperCase(),Cy(c,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function f(){if(!u)return;const g=Jt.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),m={data:!l||l==="text"||l==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:g,config:e,request:u};YC(function(p){n(p),a()},function(p){r(p),a()},m),u=null}if("onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(f)},u.onabort=function(){!u||(r(new W("Request aborted",W.ECONNABORTED,e,u)),u=null)},u.onerror=function(){r(new W("Network Error",W.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Ty;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new W(h,m.clarifyTimeoutError?W.ETIMEDOUT:W.ECONNABORTED,e,u)),u=null},Ft.isStandardBrowserEnv){const g=(e.withCredentials||eT(c))&&e.xsrfCookieName&&XC.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}o===void 0&&i.setContentType(null),"setRequestHeader"in u&&b.forEach(i.toJSON(),function(h,m){u.setRequestHeader(m,h)}),b.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),l&&l!=="json"&&(u.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&u.addEventListener("progress",Up(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Up(e.onUploadProgress)),(e.cancelToken||e.signal)&&(s=g=>{!u||(r(!g||g.type?new vi(null,e,u):g),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(s),e.signal&&(e.signal.aborted?s():e.signal.addEventListener("abort",s)));const d=tT(c);if(d&&Ft.protocols.indexOf(d)===-1){r(new W("Unsupported protocol "+d+":",W.ERR_BAD_REQUEST,e));return}u.send(o||null)})},rl={http:RC,xhr:oT};b.forEach(rl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const iT={getAdapter:e=>{e=b.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;oe instanceof Jt?e.toJSON():e;function Qr(e,t){t=t||{};const n={};function r(u,c,f){return b.isPlainObject(u)&&b.isPlainObject(c)?b.merge.call({caseless:f},u,c):b.isPlainObject(c)?b.merge({},c):b.isArray(c)?c.slice():c}function o(u,c,f){if(b.isUndefined(c)){if(!b.isUndefined(u))return r(void 0,u,f)}else return r(u,c,f)}function i(u,c){if(!b.isUndefined(c))return r(void 0,c)}function l(u,c){if(b.isUndefined(c)){if(!b.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function s(u,c,f){if(f in t)return r(u,c);if(f in e)return r(void 0,u)}const a={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:s,headers:(u,c)=>o(Vp(u),Vp(c),!0)};return b.forEach(Object.keys(Object.assign({},e,t)),function(c){const f=a[c]||o,d=f(e[c],t[c],c);b.isUndefined(d)&&f!==s||(n[c]=d)}),n}const Ry="1.4.0",Cf={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Cf[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Wp={};Cf.transitional=function(t,n,r){function o(i,l){return"[Axios v"+Ry+"] Transitional option '"+i+"'"+l+(r?". "+r:"")}return(i,l,s)=>{if(t===!1)throw new W(o(l," has been removed"+(n?" in "+n:"")),W.ERR_DEPRECATED);return n&&!Wp[l]&&(Wp[l]=!0,console.warn(o(l," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,l,s):!0}};function lT(e,t,n){if(typeof e!="object")throw new W("options must be an object",W.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],l=t[i];if(l){const s=e[i],a=s===void 0||l(s,i,e);if(a!==!0)throw new W("option "+i+" must be "+a,W.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new W("Unknown option "+i,W.ERR_BAD_OPTION)}}const Wu={assertOptions:lT,validators:Cf},an=Wu.validators;class zl{constructor(t){this.defaults=t,this.interceptors={request:new Dp,response:new Dp}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Qr(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Wu.assertOptions(r,{silentJSONParsing:an.transitional(an.boolean),forcedJSONParsing:an.transitional(an.boolean),clarifyTimeoutError:an.transitional(an.boolean)},!1),o!=null&&(b.isFunction(o)?n.paramsSerializer={serialize:o}:Wu.assertOptions(o,{encode:an.function,serialize:an.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let l;l=i&&b.merge(i.common,i[n.method]),l&&b.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=Jt.concat(l,i);const s=[];let a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,s.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let c,f=0,d;if(!a){const h=[Hp.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,u),d=h.length,c=Promise.resolve(n);f{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const l=new Promise(s=>{r.subscribe(s),i=s}).then(o);return l.cancel=function(){r.unsubscribe(i)},l},t(function(i,l,s){r.reason||(r.reason=new vi(i,l,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Tf(function(o){t=o}),cancel:t}}}const sT=Tf;function aT(e){return function(n){return e.apply(null,n)}}function uT(e){return b.isObject(e)&&e.isAxiosError===!0}const Ku={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(Ku).forEach(([e,t])=>{Ku[t]=e});const cT=Ku;function _y(e){const t=new ol(e),n=dy(ol.prototype.request,t);return b.extend(n,ol.prototype,t,{allOwnKeys:!0}),b.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return _y(Qr(e,o))},n}const Te=_y(Ef);Te.Axios=ol;Te.CanceledError=vi;Te.CancelToken=sT;Te.isCancel=Py;Te.VERSION=Ry;Te.toFormData=Hs;Te.AxiosError=W;Te.Cancel=Te.CanceledError;Te.all=function(t){return Promise.all(t)};Te.spread=aT;Te.isAxiosError=uT;Te.mergeConfig=Qr;Te.AxiosHeaders=Jt;Te.formToJSON=e=>by(b.isHTMLForm(e)?new FormData(e):e);Te.HttpStatusCode=cT;Te.default=Te;const Ay=Te,fT=e=>{const[t,n]=T.exports.useState([]),[r,o]=T.exports.useState([]),[i,l]=T.exports.useState(!1),[s,a]=T.exports.useState(null),u=()=>{Ay.get(e).then(d=>{n(d.data),c(d.data),l(!0)}).catch(d=>{a("1st error: "+d)}).finally(()=>{})};T.exports.useEffect(()=>{u()},[]);const c=d=>{const g=new Set;Object.keys(d).forEach(v=>{g.add(d[v].branch)});const m=[...g],w=[],p=[];for(let v=0;v{const n={text:" ",color:"black",fontSize:"18px",fontWeight:"bold"};let r=null;if(t.diameter){const i=t.diameter;r=new google.maps.MarkerImage(t.dataURL,new google.maps.Size(i,i),new google.maps.Point(0,0),new google.maps.Point(i/2,i/2))}return new window.google.maps.Marker({position:{lat:t.lat,lng:t.lng},map:e,icon:r,title:t.title,label:n,opacity:t.opacity||1})},pT=(e,t)=>{const n=t.symbol||"FORWARD_CLOSED_ARROW";return new window.google.maps.Polyline({path:[{lat:t.lat[0],lng:t.lng[0]},{lat:t.lat[1],lng:t.lng[1]}],geodesic:!0,strokeColor:t.color||"red",strokeOpacity:t.opacity||1,strokeWeight:t.weight||5,icons:[{icon:{path:google.maps.SymbolPath[n]},offset:t.arrowOffset||"100%"}],map:e})},hT=()=>{const e=T.exports.useRef(null),t=Zr();return T.exports.useEffect(()=>{const n=()=>{if(e.current){const r=e.current.offsetWidth,o=e.current.offsetHeight;t(rS({width:r,height:o}))}};return n(),window.addEventListener("resize",n),()=>{window.removeEventListener("resize",n)}},[]),{elementRef:e}};const mT=({processMarkerClick:e,map:t})=>{const n=T.exports.useRef({}),r=T.exports.useRef({}),o=Zr(),[i,l]=T.exports.useState(!1),s=Re(h=>h.counter[0].gameMode),a=Re(h=>h.counter[0].mapLocation),u=Re(h=>h.counter[0].markerState),c=Re(h=>h.counter[0].polylineState),f=Re(h=>h.counter[0].zoomTracker),{elementRef:d}=hT();return T.exports.useEffect(()=>{if(t&&(a.pan?!isNaN(a.lat)&&!isNaN(a.lng)&&t.panTo({lat:a.lat,lng:a.lng}):!isNaN(a.lat)&&!isNaN(a.lng)&&t.setCenter({lat:a.lat,lng:a.lng}),a.zoom&&t.setZoom(a.zoom),a.delta)){const h=new window.google.maps.LatLngBounds;h.extend({lat:a.lat+a.delta,lng:a.lng+a.delta}),h.extend({lat:a.lat-a.delta,lng:a.lng-a.delta}),t.fitBounds(h)}},[t,a]),T.exports.useEffect(()=>{if(t){let h=Object.keys(u),m=Object.keys(n);if(h.length===0){m.forEach(p=>{p!=="current"&&n[p].handle.setMap(null)}),n.current={};return}let w=m.filter(p=>p!=="current"&&!h.includes(p));if(n[w]){n[w].handle.setMap(null),delete n.current[w];return}h.forEach((p,y)=>{const v=u[p];if(!n[p]||n[p].timestamp!==v.timestamp){n[p]&&n[p].handle.setMap(null);const S=dT(t,v);S.addListener("click",()=>{v.param!==null&&e(v.param?v.param:v.title,y,v.lat,v.lng,!0)}),n[p]={},n[p].handle=S,n[p].timestamp=v.timestamp}})}},[t,u]),T.exports.useEffect(()=>{if(t){let h=Object.keys(c),m=Object.keys(r);if(h.length===0){m.forEach(p=>{p!=="current"&&r[p].handle.setMap(null)}),r.current={};return}let w=m.filter(p=>p!=="current"&&!h.includes(p));if(r[w]){r[w].handle.setMap(null),delete r.current[w];return}h.forEach((p,y)=>{const v=c[p];if(!r[p]||r[p].timestamp!==v.timestamp){r[p]&&r[p].handle.setMap(null);const S=pT(t,v);r[p]={},r[p].handle=S,r[p].timestamp=v.timestamp}})}},[t,c]),T.exports.useEffect(()=>{const h=t==null?void 0:t.addListener("zoom_changed",()=>{const w=t.getZoom();o(oS([f[1],w]))}),m=Qn.createRef();return m.current=h,()=>{m.current&&google.maps.event.removeListener(m.current)}},[t,s,f]),T.exports.useEffect(()=>{t==null||t.addListener("idle",()=>{})},[t]),Le("div",{className:"GoogleMapsApp",children:[L("div",{id:"map",ref:d}),L(I2,{className:"move-or-not-box",control:L(O2,{checked:i,onChange:h=>{l(h.target.checked);const m=i?"auto":"none";t.setOptions({gestureHandling:m})}}),label:"Map Lock"})]})};function Pn(e,t,n,r,o){const i=document.createElement("canvas"),l=i.getContext("2d");i.width=e,i.height=e,l.clearRect(0,0,i.width,i.height);const s=i.width/2,a=i.height/2,u=Math.min(s,a),c=(m,w,p,y,v)=>{m.beginPath(),m.arc(w,p,y,0,Math.PI*2),m.fillStyle=v,m.fill(),m.closePath()};c(l,s,a,u,"black"),c(l,s,a,r[0]*u,"white"),c(l,s,a,r[1]*u,"black"),c(l,s,a,r[2]*u,"#bbbbbb");const f=.65*u-0;l.font="bold "+o+"px Arial",l.fillStyle="black",l.textAlign="center",l.textBaseline="middle";for(let m=0;m{const t=[],n=[],r=[];for(let f=0;f{const i=$y(n);let l,s,a=!1;return i.zoom>o&&r.zoom>o&&(l=[qp,qp],s=3400,a=!0),i.zoomo&&(l=[Kp,Gp],s=1400),r.zoom<=o&&(l=[Gp,Kp],s=1400),gT(e,t,i,r,s,l[0],l[1],a),s},$y=e=>{const t=e.getCenter(),n=e.getZoom();return{lat:t.lat(),lng:t.lng(),zoom:n}},gT=(e,t,n,r,o,i,l,s)=>{const a=Date.now(),u=()=>{const f=(Date.now()-a)/o;if(f<1){const d=i(f),g=l(f),h=n.lat+d*(r.lat-n.lat),m=n.lng+d*(r.lng-n.lng),w=Math.round(n.zoom+g*(r.zoom-n.zoom));let p;s?p=Math.pow(f<.5?2*(.5-f):2*(f-.5),2):p=1;const y=w*p+2*(1-p);e(t({dall:"dall",value:{lat:h,lng:m,zoom:y}})),setTimeout(function(){requestAnimationFrame(u)},50)}else e(t({dall:"dall",value:{lat:r.lat,lng:r.lng,zoom:r.zoom}}))};u()},Kp=e=>e<2/3?1.5*e:1,Gp=e=>e<1/3?0:1.5*(e-1/3),qp=e=>e,vT=({map:e,getMarkerDiameter:t,haltExecution:n,computeHalt:r,processMarkerClick:o,loaded:i,globalData:l,roundCounter:s,clickHistory:a,processMarkers:u,updateMarkers:c,setRoundCounter:f})=>{const d=Zr(),g=Re(C=>C.counter[0].markerState),h=Re(C=>C.counter[0].gameMode),m=Re(C=>C.counter[0].globalView),w=Re(C=>C.counter[0].viewThreshold),p=Re(C=>C.counter[0].zoomTracker),y=[.9,.7,.6],v=.16;T.exports.useEffect(()=>{i&&(d(Mr({dall:"dall",value:m})),x())},[i]),T.exports.useEffect(()=>{if(!(!i||n||h==="route")&&(p[1]===w&&p[0]===w+1&&x(),p[1]===w+1&&p[0]==w)){const C=t("large");P(C)}},[p]);const S=C=>{if(C==="home"){f(0),E();const A=a[0];u(A.conceptName,0,A.centerLat,A.centerLng,!1,!1)}if(C==="back"){const A=a[s-1],D=A.clickDirection,Z=D!==0?D+4>8?D+4-8:D+4:0;u(A.conceptName,Z,A.centerLat,A.centerLng,!0,!0)}if(C==="route"){d(yn("route")),E();const{thisMapLocation:A,thisRoute:D}=yT(a);d(Mr({dall:"dall",value:A})),setTimeout(()=>{const Z=t("medium");c(D.concept,D.concept,D.lat,D.lng,1,Z,"immediate")},100)}if(C==="random"&&(d(yn("globe")),h!=="globe"&&x(),setTimeout(()=>{const A=Math.floor(Math.random()*l.branch.length);o(l.branch[A],A,l.lat[A],l.lng[A],!1)},100)),C==="globe"){(h!=="globe"||$y(e).zoom>=w)&&x();const D=Ny(d,Mr,e,m,w);r(D+200),setTimeout(()=>{},D)}},x=()=>{E(),d(yn("globe")),setTimeout(()=>{const C=t("small");c(l.branch,l.branch,l.lat,l.lng,1,C,"immediate")},30)},P=C=>{let A=0;for(;g["Marker"+A];){const D={...g["Marker"+A]};D.diameter=C,D.dataURL=Pn(C,D.title,"",[.9,.45,.35],C/5),d($0({markerName:"Marker"+A,updatedData:D})),A++}},E=()=>{d(M0({markerName:"ALL"})),d(lS({polylineName:"ALL"}))},_=[{name:"home",label:"HOME",enabled:s>0&&h!=="details"&&h!=="globe"&&!n},{name:"back",label:"BACK",enabled:s>0&&h!=="route"&&h!=="details"&&h!=="globe"&&!n},{name:"route",label:"ROUTE",enabled:s>0&&h!=="details"&&h!=="globe"&&!n},{name:"random",label:"RAND",enabled:h!=="details"&&!n},{name:"globe",label:"GLOBE",enabled:h!=="details"&&!n}],I={};for(const C of _)I[C.name]=Pn(80,"",C.label,y,80*v);return L("div",{className:"BottomButtons",children:_.map(C=>L("img",{className:`${C.name}-button ${C.enabled?"":"mode-button-disabled"}`,src:I[C.name],onClick:()=>C.enabled?S(C.name):"",alt:C.label},C.name))})};const wT=({value:e})=>{const n=e>=50?"bar-value bar-value-high":"bar-value bar-value-low";return L("div",{className:"BarGraphBlock",children:Le("div",{className:"bar-graph-container",children:[L(q2,{variant:"determinate",value:e,className:"progress-bar"}),L(st,{variant:"body2",className:"bar-graph-label concrete-label",children:"Concrete"}),L(st,{variant:"body2",className:"bar-graph-label abstract-label",children:"Abstract"}),L(st,{variant:"body2",className:n,style:{left:`${e}%`},children:e})]})})},ST=(e,t)=>{const[n,r]=T.exports.useState([]),[o,i]=T.exports.useState(!1),[l,s]=T.exports.useState(null),a=()=>{Ay.get(e+"?concept_name="+t).then(u=>{r(u.data),i(!0)}).catch(u=>{s("1st error: "+u)}).finally(()=>{})};return T.exports.useEffect(()=>{a()},[]),{conceptDetails:n,loaded:o,error:l}},xT=({cloudFunctionURL:e,abstractValue:t,computeHalt:n})=>{const[r,o]=T.exports.useState(!1),[i,l]=T.exports.useState(!1),s=Zr(),a=Re(x=>x.counter[0].markerState),u=a.Marker0.param,c=a.Marker0.lat,f=a.Marker0.lng,{conceptDetails:d,loaded:g,error:h}=ST(e,u),m=c>=0?"N":"S",w=f>=0?"E":"W",p=`${Math.abs(c).toFixed(2)} ${m}, ${Math.abs(f).toFixed(2)} ${w}`;T.exports.useEffect(()=>(n(1e3),o(!0),setTimeout(()=>{l(!0)},500),()=>{n(0)}),[]);const y=x=>{x.target.closest(".wikilogo")||(l(!1),o(!1),setTimeout(()=>{s(yn("browse"))},400))},v=Pn(80,"","X",[.9,.7,.6],30),S=()=>{window.open("https://en.wikipedia.org/wiki/"+u,"_blank")};return Le("div",{className:`OverlayBlock ${r?"expanded":""}`,onClick:y,children:[L(st,{className:"OverlayBlockTitle",variant:"h4",children:u}),i&&g&&Le(Es,{children:[L(st,{className:"OverlayBlockSubTitle",variant:"h6",children:p}),L(wT,{value:t}),L(st,{className:"OverlayBlockText",variant:"h6",children:d.definition}),L(st,{className:"OverlayBlockFoot",variant:"h6",children:d.model+" on "+d.date.slice(5,-12)})]}),L("img",{className:"xbutton",src:v,alt:"Close"}),L("a",{href:"https://en.wikipedia.org/wiki/Main_Page",target:"_blank",rel:"noopener noreferrer",children:L("img",{className:"wikilogo",src:"https://ms.wikipedia.org/static/images/icons/wikipedia.png",alt:"Wikipedia",onClick:S})})]})};const kT=()=>{const[e,t]=T.exports.useState(!1),[n,r]=T.exports.useState(!1),[o,i]=T.exports.useState(!1),[l,s]=T.exports.useState(0),a=["Concept Explorer is an educational app for understanding concepts, which are fundamental building blocks in thinking. With Concept Explorer, you can learn not only the definitions but also how concepts relate to one another. For instance, Mind and Consciousness are closely related in the conceptual space, much like how Belgium and the Netherlands are closely located in the physical space.","Concept Explorer starts with Globe View, displaying a Google Map with custom markers representing concepts. You can navigate and zoom the map just like a regular Google Map. Once you find an interesting concept, you can start exploring it by clicking on it. Alternatively, you can click RAND to explore a random concept. If you're not satisfied with the concept you are exploring, simply click GLOBE to return to Globe View.","Concept Explorer switches to Browse View once a starting concept has been selected. In Browse View, the map zooms in and shows the selected concept in the center of the screen, surrounded by eight closely related concepts. You can click on any of these surrounding concepts to make it the new center concept. Alternatively, you can click on the center concept to switch to Details View that contains more information about the concept.","Details View is a popup window that provides a summary of the concept, a link to the corresponding Wikipedia article for further exploration, and a score ranging from 0 to 100, indicating how concrete versus abstract the concept is. This score is also displayed in the middle of the marker in Browse View.","In addition to GLOBE and RAND buttons explained earlier, the bottom panel includes HOME, BACK, and ROUTE buttons.These buttons are active only in Browse View, allowing you to return to the starting concept, take one step back on your browsing path, or view the entire route you have been browsing since the starting concept. Happy Exploring!"],u=y=>{y.target.closest(".prevbutton")||y.target.closest(".nextbutton")||y.target.closest(".xbutton")||e&&!n||o||m()},f=Pn(80,"",e?"X":"?",[.9,.7,.6],30),d=Pn(80,"","PREV",[.9,.7,.6],80/6),g=Pn(80,"","NEXT",[.9,.7,.6],80/6),h=y=>{s(v=>v+y)},m=()=>{if(e){r(!1),t(!1),i(!0),setTimeout(()=>{i(!1)},500),s(0);return}t(!0),setTimeout(()=>{r(!0)},500)},w=l>0?"":"navbuttondis",p=lm(),alt:"Close"})]}),L("div",{className:`InstructionBlockText ${e?"expanded":""}`,onClick:u,children:n&&Le(Es,{children:[L(st,{className:"InstructionBlockHeader",variant:"h4",children:"Instructions"}),L(st,{className:"InstructionBlock_Text",variant:"h6",style:{whiteSpace:"pre-line"},children:L("div",{dangerouslySetInnerHTML:{__html:a[l]}})}),Le(st,{className:"InstructionCounter",variant:"h4",children:[l+1," / ",a.length]}),L("img",{className:`prevbutton ${w}`,src:d,onClick:()=>w===""?h(-1):"",alt:"Previous"}),L("img",{className:`nextbutton ${p}`,src:g,onClick:()=>p===""?h(1):"",alt:"Next"})]})})]})};function ET(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var My=T.exports,CT=ET(My);function Qp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function TT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var bT=!!(typeof window<"u"&&window.document&&window.document.createElement);function PT(e,t,n){if(typeof e!="function")throw new Error("Expected reducePropsToState to be a function.");if(typeof t!="function")throw new Error("Expected handleStateChangeOnClient to be a function.");if(typeof n<"u"&&typeof n!="function")throw new Error("Expected mapStateOnServer to either be undefined or a function.");function r(o){return o.displayName||o.name||"Component"}return function(i){if(typeof i!="function")throw new Error("Expected WrappedComponent to be a React component.");var l=[],s;function a(){s=e(l.map(function(c){return c.props})),u.canUseDOM?t(s):n&&(s=n(s))}var u=function(c){TT(f,c);function f(){return c.apply(this,arguments)||this}f.peek=function(){return s},f.rewind=function(){if(f.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var h=s;return s=void 0,l=[],h};var d=f.prototype;return d.UNSAFE_componentWillMount=function(){l.push(this),a()},d.componentDidUpdate=function(){a()},d.componentWillUnmount=function(){var h=l.indexOf(this);l.splice(h,1),a()},d.render=function(){return CT.createElement(i,this.props)},f}(My.PureComponent);return Qp(u,"displayName","SideEffect("+r(i)+")"),Qp(u,"canUseDOM",bT),u}}var OT=PT,RT=typeof Element<"u",_T=typeof Map=="function",AT=typeof Set=="function",NT=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function il(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!il(e[r],t[r]))return!1;return!0}var i;if(_T&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!il(r.value[1],t.get(r.value[0])))return!1;return!0}if(AT&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(NT&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(RT&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!il(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var $T=function(t,n){try{return il(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};/* +object-assign +(c) Sindre Sorhus +@license MIT +*/var Yp=Object.getOwnPropertySymbols,MT=Object.prototype.hasOwnProperty,LT=Object.prototype.propertyIsEnumerable;function IT(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function zT(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(i){return t[i]});if(r.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(i){o[i]=i}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var jT=zT()?Object.assign:function(e,t){for(var n,r=IT(e),o,i=1;i=0||!Object.prototype.hasOwnProperty.call(e,r)||(n[r]=e[r]);return n},WT=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e},Gu=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return n===!1?String(t):String(t).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},KT=function(t){var n=zr(t,j.TITLE),r=zr(t,ai.TITLE_TEMPLATE);if(r&&n)return r.replace(/%s/g,function(){return Array.isArray(n)?n.join(""):n});var o=zr(t,ai.DEFAULT_TITLE);return n||o||void 0},GT=function(t){return zr(t,ai.ON_CHANGE_CLIENT_STATE)||function(){}},za=function(t,n){return n.filter(function(r){return typeof r[t]<"u"}).map(function(r){return r[t]}).reduce(function(r,o){return Qe({},r,o)},{})},qT=function(t,n){return n.filter(function(r){return typeof r[j.BASE]<"u"}).map(function(r){return r[j.BASE]}).reverse().reduce(function(r,o){if(!r.length)for(var i=Object.keys(o),l=0;l=0;r--){var o=t[r];if(o.hasOwnProperty(n))return o[n]}return null},QT=function(t){return{baseTag:qT([ae.HREF,ae.TARGET],t),bodyAttributes:za(qn.BODY,t),defer:zr(t,ai.DEFER),encode:zr(t,ai.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:za(qn.HTML,t),linkTags:wo(j.LINK,[ae.REL,ae.HREF],t),metaTags:wo(j.META,[ae.NAME,ae.CHARSET,ae.HTTPEQUIV,ae.PROPERTY,ae.ITEM_PROP],t),noscriptTags:wo(j.NOSCRIPT,[ae.INNER_HTML],t),onChangeClientState:GT(t),scriptTags:wo(j.SCRIPT,[ae.SRC,ae.INNER_HTML],t),styleTags:wo(j.STYLE,[ae.CSS_TEXT],t),title:KT(t),titleAttributes:za(qn.TITLE,t)}},qu=function(){var e=Date.now();return function(t){var n=Date.now();n-e>16?(e=n,t(n)):setTimeout(function(){qu(t)},0)}}(),Jp=function(t){return clearTimeout(t)},YT=typeof window<"u"?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||qu:global.requestAnimationFrame||qu,XT=typeof window<"u"?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Jp:global.cancelAnimationFrame||Jp,JT=function(t){return console&&typeof console.warn=="function"&&console.warn(t)},So=null,ZT=function(t){So&&XT(So),t.defer?So=YT(function(){Zp(t,function(){So=null})}):(Zp(t),So=null)},Zp=function(t,n){var r=t.baseTag,o=t.bodyAttributes,i=t.htmlAttributes,l=t.linkTags,s=t.metaTags,a=t.noscriptTags,u=t.onChangeClientState,c=t.scriptTags,f=t.styleTags,d=t.title,g=t.titleAttributes;Qu(j.BODY,o),Qu(j.HTML,i),eb(d,g);var h={baseTag:pr(j.BASE,r),linkTags:pr(j.LINK,l),metaTags:pr(j.META,s),noscriptTags:pr(j.NOSCRIPT,a),scriptTags:pr(j.SCRIPT,c),styleTags:pr(j.STYLE,f)},m={},w={};Object.keys(h).forEach(function(p){var y=h[p],v=y.newTags,S=y.oldTags;v.length&&(m[p]=v),S.length&&(w[p]=h[p].oldTags)}),n&&n(),u(t,m,w)},Ly=function(t){return Array.isArray(t)?t.join(""):t},eb=function(t,n){typeof t<"u"&&document.title!==t&&(document.title=Ly(t)),Qu(j.TITLE,n)},Qu=function(t,n){var r=document.getElementsByTagName(t)[0];if(!!r){for(var o=r.getAttribute(Rt),i=o?o.split(","):[],l=[].concat(i),s=Object.keys(n),a=0;a=0;d--)r.removeAttribute(l[d]);i.length===l.length?r.removeAttribute(Rt):r.getAttribute(Rt)!==s.join(",")&&r.setAttribute(Rt,s.join(","))}},pr=function(t,n){var r=document.head||document.querySelector(j.HEAD),o=r.querySelectorAll(t+"["+Rt+"]"),i=Array.prototype.slice.call(o),l=[],s=void 0;return n&&n.length&&n.forEach(function(a){var u=document.createElement(t);for(var c in a)if(a.hasOwnProperty(c))if(c===ae.INNER_HTML)u.innerHTML=a.innerHTML;else if(c===ae.CSS_TEXT)u.styleSheet?u.styleSheet.cssText=a.cssText:u.appendChild(document.createTextNode(a.cssText));else{var f=typeof a[c]>"u"?"":a[c];u.setAttribute(c,f)}u.setAttribute(Rt,"true"),i.some(function(d,g){return s=g,u.isEqualNode(d)})?i.splice(s,1):l.push(u)}),i.forEach(function(a){return a.parentNode.removeChild(a)}),l.forEach(function(a){return r.appendChild(a)}),{oldTags:i,newTags:l}},Iy=function(t){return Object.keys(t).reduce(function(n,r){var o=typeof t[r]<"u"?r+'="'+t[r]+'"':""+r;return n?n+" "+o:o},"")},tb=function(t,n,r,o){var i=Iy(r),l=Ly(n);return i?"<"+t+" "+Rt+'="true" '+i+">"+Gu(l,o)+"":"<"+t+" "+Rt+'="true">'+Gu(l,o)+""},nb=function(t,n,r){return n.reduce(function(o,i){var l=Object.keys(i).filter(function(u){return!(u===ae.INNER_HTML||u===ae.CSS_TEXT)}).reduce(function(u,c){var f=typeof i[c]>"u"?c:c+'="'+Gu(i[c],r)+'"';return u?u+" "+f:f},""),s=i.innerHTML||i.cssText||"",a=DT.indexOf(t)===-1;return o+"<"+t+" "+Rt+'="true" '+l+(a?"/>":">"+s+"")},"")},zy=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[jl[o]||o]=t[o],r},n)},rb=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.keys(t).reduce(function(r,o){return r[FT[o]||o]=t[o],r},n)},ob=function(t,n,r){var o,i=(o={key:n},o[Rt]=!0,o),l=zy(r,i);return[L(j.TITLE,{...l,children:n})]},ib=function(t,n){return n.map(function(r,o){var i,l=(i={key:o},i[Rt]=!0,i);return Object.keys(r).forEach(function(s){var a=jl[s]||s;if(a===ae.INNER_HTML||a===ae.CSS_TEXT){var u=r.innerHTML||r.cssText;l.dangerouslySetInnerHTML={__html:u}}else l[a]=r[s]}),Qn.createElement(t,l)})},Wt=function(t,n,r){switch(t){case j.TITLE:return{toComponent:function(){return ob(t,n.title,n.titleAttributes)},toString:function(){return tb(t,n.title,n.titleAttributes,r)}};case qn.BODY:case qn.HTML:return{toComponent:function(){return zy(n)},toString:function(){return Iy(n)}};default:return{toComponent:function(){return ib(t,n)},toString:function(){return nb(t,n,r)}}}},jy=function(t){var n=t.baseTag,r=t.bodyAttributes,o=t.encode,i=t.htmlAttributes,l=t.linkTags,s=t.metaTags,a=t.noscriptTags,u=t.scriptTags,c=t.styleTags,f=t.title,d=f===void 0?"":f,g=t.titleAttributes;return{base:Wt(j.BASE,n,o),bodyAttributes:Wt(qn.BODY,r,o),htmlAttributes:Wt(qn.HTML,i,o),link:Wt(j.LINK,l,o),meta:Wt(j.META,s,o),noscript:Wt(j.NOSCRIPT,a,o),script:Wt(j.SCRIPT,u,o),style:Wt(j.STYLE,c,o),title:Wt(j.TITLE,{title:d,titleAttributes:g},o)}},lb=function(t){var n,r;return r=n=function(o){VT(i,o);function i(){return UT(this,i),WT(this,o.apply(this,arguments))}return i.prototype.shouldComponentUpdate=function(s){return!$T(this.props,s)},i.prototype.mapNestedChildrenToProps=function(s,a){if(!a)return null;switch(s.type){case j.SCRIPT:case j.NOSCRIPT:return{innerHTML:a};case j.STYLE:return{cssText:a}}throw new Error("<"+s.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},i.prototype.flattenArrayTypeChildren=function(s){var a,u=s.child,c=s.arrayTypeChildren,f=s.newChildProps,d=s.nestedChildren;return Qe({},c,(a={},a[u.type]=[].concat(c[u.type]||[],[Qe({},f,this.mapNestedChildrenToProps(u,d))]),a))},i.prototype.mapObjectTypeChildren=function(s){var a,u,c=s.child,f=s.newProps,d=s.newChildProps,g=s.nestedChildren;switch(c.type){case j.TITLE:return Qe({},f,(a={},a[c.type]=g,a.titleAttributes=Qe({},d),a));case j.BODY:return Qe({},f,{bodyAttributes:Qe({},d)});case j.HTML:return Qe({},f,{htmlAttributes:Qe({},d)})}return Qe({},f,(u={},u[c.type]=Qe({},d),u))},i.prototype.mapArrayTypeChildrenToProps=function(s,a){var u=Qe({},a);return Object.keys(s).forEach(function(c){var f;u=Qe({},u,(f={},f[c]=s[c],f))}),u},i.prototype.warnOnInvalidChildren=function(s,a){return!0},i.prototype.mapChildrenToProps=function(s,a){var u=this,c={};return Qn.Children.forEach(s,function(f){if(!(!f||!f.props)){var d=f.props,g=d.children,h=Xp(d,["children"]),m=rb(h);switch(u.warnOnInvalidChildren(f,g),f.type){case j.LINK:case j.META:case j.NOSCRIPT:case j.SCRIPT:case j.STYLE:c=u.flattenArrayTypeChildren({child:f,arrayTypeChildren:c,newChildProps:m,nestedChildren:g});break;default:a=u.mapObjectTypeChildren({child:f,newProps:a,newChildProps:m,nestedChildren:g});break}}}),a=this.mapArrayTypeChildrenToProps(c,a),a},i.prototype.render=function(){var s=this.props,a=s.children,u=Xp(s,["children"]),c=Qe({},u);return a&&(c=this.mapChildrenToProps(a,c)),L(t,{...c})},HT(i,null,[{key:"canUseDOM",set:function(s){t.canUseDOM=s}}]),i}(Qn.Component),n.propTypes={base:re.exports.object,bodyAttributes:re.exports.object,children:re.exports.oneOfType([re.exports.arrayOf(re.exports.node),re.exports.node]),defaultTitle:re.exports.string,defer:re.exports.bool,encodeSpecialCharacters:re.exports.bool,htmlAttributes:re.exports.object,link:re.exports.arrayOf(re.exports.object),meta:re.exports.arrayOf(re.exports.object),noscript:re.exports.arrayOf(re.exports.object),onChangeClientState:re.exports.func,script:re.exports.arrayOf(re.exports.object),style:re.exports.arrayOf(re.exports.object),title:re.exports.string,titleAttributes:re.exports.object,titleTemplate:re.exports.string},n.defaultProps={defer:!0,encodeSpecialCharacters:!0},n.peek=t.peek,n.rewind=function(){var o=t.rewind();return o||(o=jy({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),o},r},sb=function(){return null},ab=OT(QT,ZT,jy)(sb),Yu=lb(ab);Yu.renderStatic=Yu.rewind;const ub=({dataURL:e})=>L(Yu,{children:L("link",{rel:"icon",type:"image/png",href:e})}),cb=e=>{Zr();const[t,n]=T.exports.useState(null);T.exports.useEffect(()=>{const o=document.createElement("script");o.src="https://returnsecret-c2cjxe2frq-lz.a.run.app",o.defer=!0,o.async=!0,window.initMap=r,document.head.appendChild(o)},[]);const r=()=>{const o={disableDefaultUI:!0,gestureHandling:"auto"};e&&e.lat&&e.lng&&(o.center={lat:e.lat,lng:e.lng});const i=document.getElementById("map"),l=new window.google.maps.Map(i,o);n(l)};return t},fb=(e,t,n)=>{const r=1/Math.cos(e*Math.PI/180),o=[],i=[],l=2*Math.PI/8;for(let s=0;s<9;s++){const a=s===0?0:n;o[s]=e+a/r*Math.cos(s*l),i[s]=t+a*Math.sin(s*l)}return[o,i]},db=(e,t,n,r)=>{const o={conceptName:t.Marker0.param,clickDirection:n,centerLat:t.Marker0.lat,centerLng:t.Marker0.lng,clickLat:t["Marker"+n].lat,clickLng:t["Marker"+n].lng},i=[...e.slice(0,r)];return i[r]=o,i};const pb=()=>{const e="https://europe-north1-koira-363317.cloudfunctions.net/readConceptsFireStore",{concepts:t,globalData:n,loaded:r,error:o}=fT(e),i=cb(),l=Pn(100," ","C",[.85,.45,.35],20),[s,a]=T.exports.useState([]),[u,c]=T.exports.useState([]),[f,d]=T.exports.useState(0),[g,h]=T.exports.useState(performance.now()),[m,w]=T.exports.useState(!1),p=Zr(),y=Re(k=>k.counter[0].markerState);Re(k=>k.counter[0].polylineState);const v=Re(k=>k.counter[0].googleMapDimensions),S=Re(k=>k.counter[0].googlemapMarkerSizes),x=Re(k=>k.counter[0].browseView),P=Re(k=>k.counter[0].viewThreshold),E=Re(k=>k.counter[0].gameMode),_=k=>{if(typeof k=="number"){h(performance.now()+k);return}else{const R=g-performance.now()>0;return!R&&m&&w(!1),R&&!m&&w(!0),R&&m&&setTimeout(()=>{_()},50),R}},I=_(),C=(k,R,N,z,F)=>{if(console.log(E,k,R,N,z,F),!_()){if(_(500),E==="browse"&&R===0&&F){p(yn("details"));return}if(a(k),E==="globe"||!F){p(yn("browse")),d(0);const H=n.lat[R],V=n.lng[R],te={lat:H,lng:V,zoom:x.zoom},Pe=Ny(p,Mr,i,te,P);_(Pe+400),setTimeout(()=>{A(k,0,H,V,!1,!1)},Pe+200);return}if(E==="route"){p(M0({markerName:"ALL"})),A(k,0,N,z,!1,!1),p(yn("browse"));return}A(k,R,N,z,!0,!0),p(yn("browse"))}},A=(k,R,N,z,F,le)=>{ke(0,0,0,0,1),y.Marker0&&le&&ke(y.Marker0.lat,y.Marker0.lng,y["Marker"+R].lat,y["Marker"+R].lng,0);const H=u[f-1],V=u[f-2],te=H?Math.abs(H.clickDirection-R)==4:!1;if(H&&V&&te){le&&ke(V.clickLat,V.clickLng,V.centerLat,V.centerLng,1),d(zn=>zn-1);const Pe=D(H.conceptName,V.conceptName,V.clickDirection);Z(Pe,[H.conceptName,V.conceptName],N,z,F)}else{R>0&&d(Ks=>Ks+1);const Pe=F?s:"",zn=D(k,Pe,R);Z(zn,[k,Pe],N,z,F);const rt=db(u,y,R,f);c(rt)}},D=(k,R,N)=>{const F=t[k].ordered_concepts.filter(le=>le!==k&&le!==R);if(F.unshift(k),N>0&&R.length>0){const le=N+4>8?N+4-8:N+4;F.splice(le,0,R)}return F.slice(0,9)},Z=(k,R,N,z,F)=>{const le=Math.min(v.width,v.height),H=je("large"),V=fb(N,z,le/250),te=.012,Pe=1;xe(k,R,V[0],V[1],te,H,"immediate"),setTimeout(()=>{xe(k,R,V[0],V[1],Pe,H,"onebyone")},500),setTimeout(()=>{p(Mr(F?{dall:"dall",value:{pan:!0,lat:N,lng:z}}:{dall:"dall",value:{pan:!0,lat:N,lng:z,zoom:x.zoom}}))},50)},xe=(k,R,N,z,F,le,H)=>{H==="immediate"&&k.map((V,te)=>{he(V,te,R,N,z,F,le)}),H==="onebyone"&&k.map((V,te)=>{R.includes(V)||setTimeout(()=>{he(V,te,R,N,z,F,le)},te*10)})},he=(k,R,N,z,F,le,H)=>{let V="";t[k]&&t[k].abstract!==void 0&&(V=t[k].abstract.toFixed(0));const te=k.toUpperCase(),Pe=N.includes(k)?1:le,zn=t.hasOwnProperty(k)?k:null,rt={...z[R]!==void 0?{lat:z[R]}:{},...F[R]!==void 0?{lng:F[R]}:{},title:te,param:zn,opacity:Pe,diameter:H,dataURL:Pn(H,te,V,[.9,.45,.35],H/5)};p($0({markerName:"Marker"+R,updatedData:rt}))},ke=(k,R,N,z,F)=>{const le={lat:[k*.7+N*.3,k*.3+N*.7],lng:[R*.7+z*.3,R*.3+z*.7],color:"#333333"};p(iS({polylineName:"Polyline"+F,updatedData:le}))},je=k=>Math.min(v.width,v.height)*S[k];return Le(a2,{className:"appContainer",children:[L(ub,{dataURL:l}),r&&Le(Es,{children:[L(mT,{processMarkerClick:C,map:i}),L(vT,{roundCounter:f,setRoundCounter:d,clickHistory:u,loaded:r,globalData:n,processMarkers:A,processMarkerClick:C,updateMarkers:xe,map:i,computeHalt:_,haltExecution:I,getMarkerDiameter:je})]}),L(kT,{}),E==="details"&&L(xT,{cloudFunctionURL:e,abstractValue:t[s].abstract,computeHalt:_})]})},hb=Vw({reducer:{counter:sS}});ja.createRoot(document.getElementById("root")).render(L(uw,{store:hb,children:L(pb,{})})); diff --git a/index.html b/index.html index d821727..6d04e72 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Concept Explorer - +