From 8439b86f317ed972ae5baa5cdd023b79882f76fd Mon Sep 17 00:00:00 2001 From: Jeremy Snyder Date: Tue, 2 Jan 2024 09:31:57 -0500 Subject: [PATCH] Fixed background color --- readdaily2024/assets/index-KOQgXSO0.js | 150 ++++++++++++++++++++++++ readdaily2024/assets/index-Ktlc_CyB.css | 1 + 2 files changed, 151 insertions(+) create mode 100644 readdaily2024/assets/index-KOQgXSO0.js create mode 100644 readdaily2024/assets/index-Ktlc_CyB.css diff --git a/readdaily2024/assets/index-KOQgXSO0.js b/readdaily2024/assets/index-KOQgXSO0.js new file mode 100644 index 0000000..c7db9c3 --- /dev/null +++ b/readdaily2024/assets/index-KOQgXSO0.js @@ -0,0 +1,150 @@ +var c1=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var XN=c1((qN,wl)=>{function d1(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 s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).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 Km(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function f1(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Qm={exports:{}},se={};/** + * @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 ys=Symbol.for("react.element"),p1=Symbol.for("react.portal"),h1=Symbol.for("react.fragment"),m1=Symbol.for("react.strict_mode"),y1=Symbol.for("react.profiler"),g1=Symbol.for("react.provider"),v1=Symbol.for("react.context"),S1=Symbol.for("react.forward_ref"),w1=Symbol.for("react.suspense"),x1=Symbol.for("react.memo"),k1=Symbol.for("react.lazy"),bp=Symbol.iterator;function _1(e){return e===null||typeof e!="object"?null:(e=bp&&e[bp]||e["@@iterator"],typeof e=="function"?e:null)}var Xm={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Zm=Object.assign,qm={};function qo(e,t,n){this.props=e,this.context=t,this.refs=qm,this.updater=n||Xm}qo.prototype.isReactComponent={};qo.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")};qo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Jm(){}Jm.prototype=qo.prototype;function wd(e,t,n){this.props=e,this.context=t,this.refs=qm,this.updater=n||Xm}var xd=wd.prototype=new Jm;xd.constructor=wd;Zm(xd,qo.prototype);xd.isPureReactComponent=!0;var Ep=Array.isArray,e0=Object.prototype.hasOwnProperty,kd={current:null},t0={key:!0,ref:!0,__self:!0,__source:!0};function n0(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)e0.call(t,r)&&!t0.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1>>1,Z=R[re];if(0>>1;re<_e;){var ne=2*(re+1)-1,Se=R[ne],ae=ne+1,Xe=R[ae];if(0>o(Se,j))aeo(Xe,Se)?(R[re]=Xe,R[ae]=j,re=ae):(R[re]=Se,R[ne]=j,re=ne);else if(aeo(Xe,j))R[re]=Xe,R[ae]=j,re=ae;else break e}}return I}function o(R,I){var j=R.sortIndex-I.sortIndex;return j!==0?j:R.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],c=1,p=null,d=3,S=!1,y=!1,v=!1,_=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,f=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(R){for(var I=n(u);I!==null;){if(I.callback===null)r(u);else if(I.startTime<=R)r(u),I.sortIndex=I.expirationTime,t(a,I);else break;I=n(u)}}function g(R){if(v=!1,m(R),!y)if(n(a)!==null)y=!0,U(C);else{var I=n(u);I!==null&&H(g,I.startTime-R)}}function C(R,I){y=!1,v&&(v=!1,h(P),P=-1),S=!0;var j=d;try{for(m(I),p=n(a);p!==null&&(!(p.expirationTime>I)||R&&!F());){var re=p.callback;if(typeof re=="function"){p.callback=null,d=p.priorityLevel;var Z=re(p.expirationTime<=I);I=e.unstable_now(),typeof Z=="function"?p.callback=Z:p===n(a)&&r(a),m(I)}else r(a);p=n(a)}if(p!==null)var _e=!0;else{var ne=n(u);ne!==null&&H(g,ne.startTime-I),_e=!1}return _e}finally{p=null,d=j,S=!1}}var b=!1,k=null,P=-1,$=5,E=-1;function F(){return!(e.unstable_now()-E<$)}function A(){if(k!==null){var R=e.unstable_now();E=R;var I=!0;try{I=k(!0,R)}finally{I?W():(b=!1,k=null)}}else b=!1}var W;if(typeof f=="function")W=function(){f(A)};else if(typeof MessageChannel<"u"){var D=new MessageChannel,N=D.port2;D.port1.onmessage=A,W=function(){N.postMessage(null)}}else W=function(){_(A,0)};function U(R){k=R,b||(b=!0,W())}function H(R,I){P=_(function(){R(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(R){R.callback=null},e.unstable_continueExecution=function(){y||S||(y=!0,U(C))},e.unstable_forceFrameRate=function(R){0>R||125re?(R.sortIndex=j,t(u,R),n(a)===null&&R===n(u)&&(v?(h(P),P=-1):v=!0,H(g,j-re))):(R.sortIndex=Z,t(a,R),y||S||(y=!0,U(C))),R},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(R){var I=d;return function(){var j=d;d=I;try{return R.apply(this,arguments)}finally{d=j}}}})(i0);o0.exports=i0;var R1=o0.exports;/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var s0=w,zt=R1;function T(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"),lc=Object.prototype.hasOwnProperty,T1=/^[: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]*$/,Rp={},Tp={};function M1(e){return lc.call(Tp,e)?!0:lc.call(Rp,e)?!1:T1.test(e)?Tp[e]=!0:(Rp[e]=!0,!1)}function O1(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 $1(e,t,n,r){if(t===null||typeof t>"u"||O1(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 kt(e,t,n,r,o,i,s){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=s}var dt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){dt[e]=new kt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];dt[t]=new kt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){dt[e]=new kt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){dt[e]=new kt(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){dt[e]=new kt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){dt[e]=new kt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){dt[e]=new kt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){dt[e]=new kt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){dt[e]=new kt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cd=/[\-:]([a-z])/g;function bd(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(Cd,bd);dt[t]=new kt(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(Cd,bd);dt[t]=new kt(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(Cd,bd);dt[t]=new kt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){dt[e]=new kt(e,1,!1,e.toLowerCase(),null,!1,!1)});dt.xlinkHref=new kt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){dt[e]=new kt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ed(e,t,n,r){var o=dt.hasOwnProperty(t)?dt[t]:null;(o!==null?o.type!==0:r||!(2l||o[s]!==i[l]){var a=` +`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("")&&(a=a.replace("",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{ku=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?bi(e):""}function N1(e){switch(e.tag){case 5:return bi(e.type);case 16:return bi("Lazy");case 13:return bi("Suspense");case 19:return bi("SuspenseList");case 0:case 2:case 15:return e=_u(e.type,!1),e;case 11:return e=_u(e.type.render,!1),e;case 1:return e=_u(e.type,!0),e;default:return""}}function dc(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 vo:return"Fragment";case go:return"Portal";case ac:return"Profiler";case Pd:return"StrictMode";case uc:return"Suspense";case cc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case u0:return(e.displayName||"Context")+".Consumer";case a0:return(e._context.displayName||"Context")+".Provider";case Rd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Td:return t=e.displayName||null,t!==null?t:dc(e.type)||"Memo";case dr:t=e._payload,e=e._init;try{return dc(e(t))}catch{}}return null}function I1(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 dc(t);case 8:return t===Pd?"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 Rr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function d0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function D1(e){var t=d0(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(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ns(e){e._valueTracker||(e._valueTracker=D1(e))}function f0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=d0(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xl(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 fc(e,t){var n=t.checked;return Ue({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Op(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rr(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 p0(e,t){t=t.checked,t!=null&&Ed(e,"checked",t,!1)}function pc(e,t){p0(e,t);var n=Rr(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")?hc(e,t.type,n):t.hasOwnProperty("defaultValue")&&hc(e,t.type,Rr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function $p(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 hc(e,t,n){(t!=="number"||xl(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ei=Array.isArray;function Mo(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=Is.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Vi(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Oi={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},L1=["Webkit","ms","Moz","O"];Object.keys(Oi).forEach(function(e){L1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Oi[t]=Oi[e]})});function g0(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Oi.hasOwnProperty(e)&&Oi[e]?(""+t).trim():t+"px"}function v0(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=g0(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var F1=Ue({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 gc(e,t){if(t){if(F1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function vc(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 Sc=null;function Md(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wc=null,Oo=null,$o=null;function Dp(e){if(e=Ss(e)){if(typeof wc!="function")throw Error(T(280));var t=e.stateNode;t&&(t=fa(t),wc(e.stateNode,e.type,t))}}function S0(e){Oo?$o?$o.push(e):$o=[e]:Oo=e}function w0(){if(Oo){var e=Oo,t=$o;if($o=Oo=null,Dp(e),t)for(e=0;e>>=0,e===0?32:31-(K1(e)/Q1|0)|0}var Ds=64,Ls=4194304;function Pi(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 bl(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=Pi(l):(i&=s,i!==0&&(r=Pi(i)))}else s=n&~o,s!==0?r=Pi(s):i!==0&&(r=Pi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function gs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-mn(t),e[t]=n}function J1(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=Ni),Yp=" ",Hp=!1;function W0(e,t){switch(e){case"keyup":return PS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function j0(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var So=!1;function TS(e,t){switch(e){case"compositionend":return j0(t);case"keypress":return t.which!==32?null:(Hp=!0,Yp);case"textInput":return e=t.data,e===Yp&&Hp?null:e;default:return null}}function MS(e,t){if(So)return e==="compositionend"||!Ad&&W0(e,t)?(e=A0(),rl=Dd=mr=null,So=!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=Qp(n)}}function H0(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?H0(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function V0(){for(var e=window,t=xl();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xl(e.document)}return t}function zd(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 zS(e){var t=V0(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&H0(n.ownerDocument.documentElement,n)){if(r!==null&&zd(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=Xp(n,i);var s=Xp(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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,wo=null,Ec=null,Di=null,Pc=!1;function Zp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pc||wo==null||wo!==xl(r)||(r=wo,"selectionStart"in r&&zd(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}),Di&&qi(Di,r)||(Di=r,r=Rl(Ec,"onSelect"),0_o||(e.current=Nc[_o],Nc[_o]=null,_o--)}function Ee(e,t){_o++,Nc[_o]=e.current,e.current=t}var Tr={},gt=Nr(Tr),Rt=Nr(!1),Xr=Tr;function Bo(e,t){var n=e.type.contextTypes;if(!n)return Tr;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 Tt(e){return e=e.childContextTypes,e!=null}function Ml(){Me(Rt),Me(gt)}function oh(e,t,n){if(gt.current!==Tr)throw Error(T(168));Ee(gt,t),Ee(Rt,n)}function ty(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(T(108,I1(e)||"Unknown",o));return Ue({},n,r)}function Ol(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Tr,Xr=gt.current,Ee(gt,e),Ee(Rt,Rt.current),!0}function ih(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=ty(e,t,Xr),r.__reactInternalMemoizedMergedChildContext=e,Me(Rt),Me(gt),Ee(gt,e)):Me(Rt),Ee(Rt,n)}var jn=null,pa=!1,Fu=!1;function ny(e){jn===null?jn=[e]:jn.push(e)}function ZS(e){pa=!0,ny(e)}function Ir(){if(!Fu&&jn!==null){Fu=!0;var e=0,t=ye;try{var n=jn;for(ye=1;e>=s,o-=s,Un=1<<32-mn(t)+o|n<P?($=k,k=null):$=k.sibling;var E=d(h,k,m[P],g);if(E===null){k===null&&(k=$);break}e&&k&&E.alternate===null&&t(h,k),f=i(E,f,P),b===null?C=E:b.sibling=E,b=E,k=$}if(P===m.length)return n(h,k),ze&&Fr(h,P),C;if(k===null){for(;PP?($=k,k=null):$=k.sibling;var F=d(h,k,E.value,g);if(F===null){k===null&&(k=$);break}e&&k&&F.alternate===null&&t(h,k),f=i(F,f,P),b===null?C=F:b.sibling=F,b=F,k=$}if(E.done)return n(h,k),ze&&Fr(h,P),C;if(k===null){for(;!E.done;P++,E=m.next())E=p(h,E.value,g),E!==null&&(f=i(E,f,P),b===null?C=E:b.sibling=E,b=E);return ze&&Fr(h,P),C}for(k=r(h,k);!E.done;P++,E=m.next())E=S(k,h,P,E.value,g),E!==null&&(e&&E.alternate!==null&&k.delete(E.key===null?P:E.key),f=i(E,f,P),b===null?C=E:b.sibling=E,b=E);return e&&k.forEach(function(A){return t(h,A)}),ze&&Fr(h,P),C}function _(h,f,m,g){if(typeof m=="object"&&m!==null&&m.type===vo&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case $s:e:{for(var C=m.key,b=f;b!==null;){if(b.key===C){if(C=m.type,C===vo){if(b.tag===7){n(h,b.sibling),f=o(b,m.props.children),f.return=h,h=f;break e}}else if(b.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===dr&&fh(C)===b.type){n(h,b.sibling),f=o(b,m.props),f.ref=pi(h,b,m),f.return=h,h=f;break e}n(h,b);break}else t(h,b);b=b.sibling}m.type===vo?(f=Kr(m.props.children,h.mode,g,m.key),f.return=h,h=f):(g=dl(m.type,m.key,m.props,null,h.mode,g),g.ref=pi(h,f,m),g.return=h,h=g)}return s(h);case go:e:{for(b=m.key;f!==null;){if(f.key===b)if(f.tag===4&&f.stateNode.containerInfo===m.containerInfo&&f.stateNode.implementation===m.implementation){n(h,f.sibling),f=o(f,m.children||[]),f.return=h,h=f;break e}else{n(h,f);break}else t(h,f);f=f.sibling}f=Hu(m,h.mode,g),f.return=h,h=f}return s(h);case dr:return b=m._init,_(h,f,b(m._payload),g)}if(Ei(m))return y(h,f,m,g);if(ai(m))return v(h,f,m,g);Us(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,f!==null&&f.tag===6?(n(h,f.sibling),f=o(f,m),f.return=h,h=f):(n(h,f),f=Yu(m,h.mode,g),f.return=h,h=f),s(h)):n(h,f)}return _}var Yo=cy(!0),dy=cy(!1),ws={},Mn=Nr(ws),ns=Nr(ws),rs=Nr(ws);function Ur(e){if(e===ws)throw Error(T(174));return e}function Kd(e,t){switch(Ee(rs,t),Ee(ns,e),Ee(Mn,ws),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:yc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=yc(t,e)}Me(Mn),Ee(Mn,t)}function Ho(){Me(Mn),Me(ns),Me(rs)}function fy(e){Ur(rs.current);var t=Ur(Mn.current),n=yc(t,e.type);t!==n&&(Ee(ns,e),Ee(Mn,n))}function Qd(e){ns.current===e&&(Me(Mn),Me(ns))}var je=Nr(0);function Fl(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Au=[];function Xd(){for(var e=0;en?n:4,e(!0);var r=zu.transition;zu.transition={};try{e(!1),t()}finally{ye=n,zu.transition=r}}function Ry(){return rn().memoizedState}function tw(e,t,n){var r=br(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ty(e))My(t,n);else if(n=sy(e,t,n,r),n!==null){var o=wt();yn(n,e,r,o),Oy(n,t,r)}}function nw(e,t,n){var r=br(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ty(e))My(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,gn(l,s)){var a=t.interleaved;a===null?(o.next=o,Vd(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=sy(e,t,o,r),n!==null&&(o=wt(),yn(n,e,r,o),Oy(n,t,r))}}function Ty(e){var t=e.alternate;return e===Be||t!==null&&t===Be}function My(e,t){Li=Al=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Oy(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,$d(e,n)}}var zl={readContext:nn,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useInsertionEffect:ft,useLayoutEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useMutableSource:ft,useSyncExternalStore:ft,useId:ft,unstable_isNewReconciler:!1},rw={readContext:nn,useCallback:function(e,t){return Cn().memoizedState=[e,t===void 0?null:t],e},useContext:nn,useEffect:hh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ll(4194308,4,_y.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ll(4194308,4,e,t)},useInsertionEffect:function(e,t){return ll(4,2,e,t)},useMemo:function(e,t){var n=Cn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Cn();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=tw.bind(null,Be,e),[r.memoizedState,e]},useRef:function(e){var t=Cn();return e={current:e},t.memoizedState=e},useState:ph,useDebugValue:tf,useDeferredValue:function(e){return Cn().memoizedState=e},useTransition:function(){var e=ph(!1),t=e[0];return e=ew.bind(null,e[1]),Cn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Be,o=Cn();if(ze){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),ot===null)throw Error(T(349));qr&30||my(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,hh(gy.bind(null,r,i,e),[e]),r.flags|=2048,ss(9,yy.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Cn(),t=ot.identifierPrefix;if(ze){var n=Yn,r=Un;n=(r&~(1<<32-mn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=os++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Pn]=t,e[ts]=r,Wy(e,t,!1,!1),t.stateNode=e;e:{switch(s=vc(n,r),n){case"dialog":Te("cancel",e),Te("close",e),o=r;break;case"iframe":case"object":case"embed":Te("load",e),o=r;break;case"video":case"audio":for(o=0;oGo&&(t.flags|=128,r=!0,hi(i,!1),t.lanes=4194304)}else{if(!r)if(e=Fl(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),hi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ze)return pt(t),null}else 2*Ke()-i.renderingStartTime>Go&&n!==1073741824&&(t.flags|=128,r=!0,hi(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ke(),t.sibling=null,n=je.current,Ee(je,r?n&1|2:n&1),t):(pt(t),null);case 22:case 23:return af(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?It&1073741824&&(pt(t),t.subtreeFlags&6&&(t.flags|=8192)):pt(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function dw(e,t){switch(jd(t),t.tag){case 1:return Tt(t.type)&&Ml(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Ho(),Me(Rt),Me(gt),Xd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Qd(t),null;case 13:if(Me(je),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));Uo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Me(je),null;case 4:return Ho(),null;case 10:return Hd(t.type._context),null;case 22:case 23:return af(),null;case 24:return null;default:return null}}var Hs=!1,mt=!1,fw=typeof WeakSet=="function"?WeakSet:Set,Y=null;function Po(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ve(e,t,r)}else n.current=null}function Hc(e,t,n){try{n()}catch(r){Ve(e,t,r)}}var _h=!1;function pw(e,t){if(Rc=El,e=V0(),zd(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 s=0,l=-1,a=-1,u=0,c=0,p=e,d=null;t:for(;;){for(var S;p!==n||o!==0&&p.nodeType!==3||(l=s+o),p!==i||r!==0&&p.nodeType!==3||(a=s+r),p.nodeType===3&&(s+=p.nodeValue.length),(S=p.firstChild)!==null;)d=p,p=S;for(;;){if(p===e)break t;if(d===n&&++u===o&&(l=s),d===i&&++c===r&&(a=s),(S=p.nextSibling)!==null)break;p=d,d=p.parentNode}p=S}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Tc={focusedElem:e,selectionRange:n},El=!1,Y=t;Y!==null;)if(t=Y,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Y=e;else for(;Y!==null;){t=Y;try{var y=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(y!==null){var v=y.memoizedProps,_=y.memoizedState,h=t.stateNode,f=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:dn(t.type,v),_);h.__reactInternalSnapshotBeforeUpdate=f}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(g){Ve(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,Y=e;break}Y=t.return}return y=_h,_h=!1,y}function Fi(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&&Hc(t,n,i)}o=o.next}while(o!==r)}}function ya(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 Vc(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 Uy(e){var t=e.alternate;t!==null&&(e.alternate=null,Uy(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Pn],delete t[ts],delete t[$c],delete t[QS],delete t[XS])),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 Yy(e){return e.tag===5||e.tag===3||e.tag===4}function Ch(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Yy(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 Gc(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=Tl));else if(r!==4&&(e=e.child,e!==null))for(Gc(e,t,n),e=e.sibling;e!==null;)Gc(e,t,n),e=e.sibling}function Kc(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(Kc(e,t,n),e=e.sibling;e!==null;)Kc(e,t,n),e=e.sibling}var at=null,fn=!1;function ur(e,t,n){for(n=n.child;n!==null;)Hy(e,t,n),n=n.sibling}function Hy(e,t,n){if(Tn&&typeof Tn.onCommitFiberUnmount=="function")try{Tn.onCommitFiberUnmount(aa,n)}catch{}switch(n.tag){case 5:mt||Po(n,t);case 6:var r=at,o=fn;at=null,ur(e,t,n),at=r,fn=o,at!==null&&(fn?(e=at,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):at.removeChild(n.stateNode));break;case 18:at!==null&&(fn?(e=at,n=n.stateNode,e.nodeType===8?Lu(e.parentNode,n):e.nodeType===1&&Lu(e,n),Xi(e)):Lu(at,n.stateNode));break;case 4:r=at,o=fn,at=n.stateNode.containerInfo,fn=!0,ur(e,t,n),at=r,fn=o;break;case 0:case 11:case 14:case 15:if(!mt&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Hc(n,t,s),o=o.next}while(o!==r)}ur(e,t,n);break;case 1:if(!mt&&(Po(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){Ve(n,t,l)}ur(e,t,n);break;case 21:ur(e,t,n);break;case 22:n.mode&1?(mt=(r=mt)||n.memoizedState!==null,ur(e,t,n),mt=r):ur(e,t,n);break;default:ur(e,t,n)}}function bh(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new fw),t.forEach(function(r){var o=kw.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function cn(e,t){var n=t.deletions;if(n!==null)for(var r=0;ro&&(o=s),r&=~i}if(r=o,r=Ke()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*mw(r/1960))-r,10e?16:e,yr===null)var r=!1;else{if(e=yr,yr=null,Bl=0,ue&6)throw Error(T(331));var o=ue;for(ue|=4,Y=e.current;Y!==null;){var i=Y,s=i.child;if(Y.flags&16){var l=i.deletions;if(l!==null){for(var a=0;aKe()-sf?Gr(e,0):of|=n),Mt(e,t)}function Jy(e,t){t===0&&(e.mode&1?(t=Ls,Ls<<=1,!(Ls&130023424)&&(Ls=4194304)):t=1);var n=wt();e=qn(e,t),e!==null&&(gs(e,t,n),Mt(e,n))}function xw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jy(e,n)}function kw(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(T(314))}r!==null&&r.delete(t),Jy(e,n)}var eg;eg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Rt.current)Pt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Pt=!1,uw(e,t,n);Pt=!!(e.flags&131072)}else Pt=!1,ze&&t.flags&1048576&&ry(t,Nl,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;al(e,t),e=t.pendingProps;var o=Bo(t,gt.current);Io(t,n),o=qd(null,t,r,e,o,n);var i=Jd();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,Tt(r)?(i=!0,Ol(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Gd(t),o.updater=ha,t.stateNode=o,o._reactInternals=t,Ac(t,r,e,n),t=jc(null,t,r,!0,i,n)):(t.tag=0,ze&&i&&Wd(t),St(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(al(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Cw(r),e=dn(r,e),o){case 0:t=Wc(null,t,r,e,n);break e;case 1:t=wh(null,t,r,e,n);break e;case 11:t=vh(null,t,r,e,n);break e;case 14:t=Sh(null,t,r,dn(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:dn(r,o),Wc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:dn(r,o),wh(e,t,r,o,n);case 3:e:{if(Fy(t),e===null)throw Error(T(387));r=t.pendingProps,i=t.memoizedState,o=i.element,ly(e,t),Ll(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Vo(Error(T(423)),t),t=xh(e,t,r,n,o);break e}else if(r!==o){o=Vo(Error(T(424)),t),t=xh(e,t,r,n,o);break e}else for(Lt=kr(t.stateNode.containerInfo.firstChild),Ft=t,ze=!0,pn=null,n=dy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Uo(),r===o){t=Jn(e,t,n);break e}St(e,t,r,n)}t=t.child}return t;case 5:return fy(t),e===null&&Dc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Mc(r,o)?s=null:i!==null&&Mc(r,i)&&(t.flags|=32),Ly(e,t),St(e,t,s,n),t.child;case 6:return e===null&&Dc(t),null;case 13:return Ay(e,t,n);case 4:return Kd(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Yo(t,null,r,n):St(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:dn(r,o),vh(e,t,r,o,n);case 7:return St(e,t,t.pendingProps,n),t.child;case 8:return St(e,t,t.pendingProps.children,n),t.child;case 12:return St(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,Ee(Il,r._currentValue),r._currentValue=s,i!==null)if(gn(i.value,s)){if(i.children===o.children&&!Rt.current){t=Jn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Gn(-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),Lc(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(T(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Lc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}St(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Io(t,n),o=nn(o),r=r(o),t.flags|=1,St(e,t,r,n),t.child;case 14:return r=t.type,o=dn(r,t.pendingProps),o=dn(r.type,o),Sh(e,t,r,o,n);case 15:return Iy(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:dn(r,o),al(e,t),t.tag=1,Tt(r)?(e=!0,Ol(t)):e=!1,Io(t,n),uy(t,r,o),Ac(t,r,o,n),jc(null,t,r,!0,e,n);case 19:return zy(e,t,n);case 22:return Dy(e,t,n)}throw Error(T(156,t.tag))};function tg(e,t){return P0(e,t)}function _w(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 Jt(e,t,n,r){return new _w(e,t,n,r)}function cf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Cw(e){if(typeof e=="function")return cf(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Rd)return 11;if(e===Td)return 14}return 2}function Er(e,t){var n=e.alternate;return n===null?(n=Jt(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 dl(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")cf(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case vo:return Kr(n.children,o,i,t);case Pd:s=8,o|=8;break;case ac:return e=Jt(12,n,t,o|2),e.elementType=ac,e.lanes=i,e;case uc:return e=Jt(13,n,t,o),e.elementType=uc,e.lanes=i,e;case cc:return e=Jt(19,n,t,o),e.elementType=cc,e.lanes=i,e;case c0:return va(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case a0:s=10;break e;case u0:s=9;break e;case Rd:s=11;break e;case Td:s=14;break e;case dr:s=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=Jt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Kr(e,t,n,r){return e=Jt(7,e,r,t),e.lanes=n,e}function va(e,t,n,r){return e=Jt(22,e,r,t),e.elementType=c0,e.lanes=n,e.stateNode={isHidden:!1},e}function Yu(e,t,n){return e=Jt(6,e,null,t),e.lanes=n,e}function Hu(e,t,n){return t=Jt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function bw(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=bu(0),this.expirationTimes=bu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function df(e,t,n,r,o,i,s,l,a){return e=new bw(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Jt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Gd(i),e}function Ew(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ig)}catch(e){console.error(e)}}ig(),r0.exports=Wt;var mf=r0.exports;const Ti=Km(mf);var Ow={};/** + * @license React + * use-sync-external-store-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 xs=w;function $w(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Nw=typeof Object.is=="function"?Object.is:$w,Iw=xs.useSyncExternalStore,Dw=xs.useRef,Lw=xs.useEffect,Fw=xs.useMemo,Aw=xs.useDebugValue;Ow.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var i=Dw(null);if(i.current===null){var s={hasValue:!1,value:null};i.current=s}else s=i.current;i=Fw(function(){function a(S){if(!u){if(u=!0,c=S,S=r(S),o!==void 0&&s.hasValue){var y=s.value;if(o(y,S))return p=y}return p=S}if(y=p,Nw(c,S))return y;var v=r(S);return o!==void 0&&o(y,v)?y:(c=S,p=v)}var u=!1,c,p,d=n===void 0?null:n;return[function(){return a(t())},d===null?void 0:function(){return a(d())}]},[t,n,r,o]);var l=Iw(e,i[0],i[1]);return Lw(function(){s.hasValue=!0,s.value=l},[l]),Aw(l),l};var he="default"in Yi?L:Yi,Nh=Symbol.for("react-redux-context"),Ih=typeof globalThis<"u"?globalThis:{};function zw(){if(!he.createContext)return{};const e=Ih[Nh]??(Ih[Nh]=new Map);let t=e.get(he.createContext);return t||(t=he.createContext(null),e.set(he.createContext,t)),t}var sg=zw(),Ww=()=>{throw new Error("uSES not initialized!")},jw=Symbol.for("react.element"),Bw=Symbol.for("react.portal"),Uw=Symbol.for("react.fragment"),Yw=Symbol.for("react.strict_mode"),Hw=Symbol.for("react.profiler"),Vw=Symbol.for("react.provider"),Gw=Symbol.for("react.context"),Kw=Symbol.for("react.server_context"),lg=Symbol.for("react.forward_ref"),Qw=Symbol.for("react.suspense"),Xw=Symbol.for("react.suspense_list"),yf=Symbol.for("react.memo"),Zw=Symbol.for("react.lazy"),qw=lg,Jw=yf;function ex(e){if(typeof e=="object"&&e!==null){const t=e.$$typeof;switch(t){case jw:{const n=e.type;switch(n){case Uw:case Hw:case Yw:case Qw:case Xw:return n;default:{const r=n&&n.$$typeof;switch(r){case Kw:case Gw:case lg:case Zw:case yf:case Vw:return r;default:return t}}}}case Bw:return t}}}function tx(e){return ex(e)===yf}function nx(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:i,areStatePropsEqual:s}){let l=!1,a,u,c,p,d;function S(f,m){return a=f,u=m,c=e(a,u),p=t(r,u),d=n(c,p,u),l=!0,d}function y(){return c=e(a,u),t.dependsOnOwnProps&&(p=t(r,u)),d=n(c,p,u),d}function v(){return e.dependsOnOwnProps&&(c=e(a,u)),t.dependsOnOwnProps&&(p=t(r,u)),d=n(c,p,u),d}function _(){const f=e(a,u),m=!s(f,c);return c=f,m&&(d=n(c,p,u)),d}function h(f,m){const g=!i(m,u),C=!o(f,a,m,u);return a=f,u=m,g&&C?y():g?v():C?_():d}return function(m,g){return l?h(m,g):S(m,g)}}function rx(e,{initMapStateToProps:t,initMapDispatchToProps:n,initMergeProps:r,...o}){const i=t(e,o),s=n(e,o),l=r(e,o);return nx(i,s,l,e,o)}function ox(e,t){const n={};for(const r in e){const o=e[r];typeof o=="function"&&(n[r]=(...i)=>t(o(...i)))}return n}function Jc(e){return function(n){const r=e(n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function Dh(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function ag(e,t){return function(r,{displayName:o}){const i=function(l,a){return i.dependsOnOwnProps?i.mapToProps(l,a):i.mapToProps(l,void 0)};return i.dependsOnOwnProps=!0,i.mapToProps=function(l,a){i.mapToProps=e,i.dependsOnOwnProps=Dh(e);let u=i(l,a);return typeof u=="function"&&(i.mapToProps=u,i.dependsOnOwnProps=Dh(u),u=i(l,a)),u},i}}function gf(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}function ix(e){return e&&typeof e=="object"?Jc(t=>ox(e,t)):e?typeof e=="function"?ag(e):gf(e,"mapDispatchToProps"):Jc(t=>({dispatch:t}))}function sx(e){return e?typeof e=="function"?ag(e):gf(e,"mapStateToProps"):Jc(()=>({}))}function lx(e,t,n){return{...n,...e,...t}}function ax(e){return function(n,{displayName:r,areMergedPropsEqual:o}){let i=!1,s;return function(a,u,c){const p=e(a,u,c);return i?o(p,s)||(s=p):(i=!0,s=p),s}}}function ux(e){return e?typeof e=="function"?ax(e):gf(e,"mergeProps"):()=>lx}function cx(e){e()}function dx(){let e=null,t=null;return{clear(){e=null,t=null},notify(){cx(()=>{let n=e;for(;n;)n.callback(),n=n.next})},get(){let n=[],r=e;for(;r;)n.push(r),r=r.next;return n},subscribe(n){let r=!0,o=t={callback:n,next:null,prev:t};return o.prev?o.prev.next=o:e=o,function(){!r||e===null||(r=!1,o.next?o.next.prev=o.prev:t=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}var Lh={notify(){},get:()=>[]};function ug(e,t){let n,r=Lh,o=0,i=!1;function s(v){c();const _=r.subscribe(v);let h=!1;return()=>{h||(h=!0,_(),p())}}function l(){r.notify()}function a(){y.onStateChange&&y.onStateChange()}function u(){return i}function c(){o++,n||(n=t?t.addNestedSub(a):e.subscribe(a),r=dx())}function p(){o--,n&&o===0&&(n(),n=void 0,r.clear(),r=Lh)}function d(){i||(i=!0,c())}function S(){i&&(i=!1,p())}const y={addNestedSub:s,notifyNestedSubs:l,handleChangeWrapper:a,isSubscribed:u,trySubscribe:d,tryUnsubscribe:S,getListeners:()=>r};return y}var fx=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Hl=fx?he.useLayoutEffect:he.useEffect;function Fh(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function Vu(e,t){if(Fh(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let o=0;o{dg=e},kx=[null,null];function _x(e,t,n){Hl(()=>e(...t),n)}function Cx(e,t,n,r,o,i){e.current=r,n.current=!1,o.current&&(o.current=null,i())}function bx(e,t,n,r,o,i,s,l,a,u,c){if(!e)return()=>{};let p=!1,d=null;const S=()=>{if(p||!l.current)return;const v=t.getState();let _,h;try{_=r(v,o.current)}catch(f){h=f,d=f}h||(d=null),_===i.current?s.current||u():(i.current=_,a.current=_,s.current=!0,c())};return n.onStateChange=S,n.trySubscribe(),S(),()=>{if(p=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}function Ex(e,t){return e===t}function Px(e,t,n,{pure:r,areStatesEqual:o=Ex,areOwnPropsEqual:i=Vu,areStatePropsEqual:s=Vu,areMergedPropsEqual:l=Vu,forwardRef:a=!1,context:u=sg}={}){const c=u,p=sx(e),d=ix(t),S=ux(n),y=!!e;return _=>{const h=_.displayName||_.name||"Component",f=`Connect(${h})`,m={shouldHandleStateChanges:y,displayName:f,wrappedComponentName:h,WrappedComponent:_,initMapStateToProps:p,initMapDispatchToProps:d,initMergeProps:S,areStatesEqual:o,areStatePropsEqual:s,areOwnPropsEqual:i,areMergedPropsEqual:l};function g(k){const[P,$,E]=he.useMemo(()=>{const{reactReduxForwardedRef:oe,...q}=k;return[k.context,oe,q]},[k]),F=he.useMemo(()=>{let oe=c;return P!=null&&P.Consumer,oe},[P,c]),A=he.useContext(F),W=!!k.store&&!!k.store.getState&&!!k.store.dispatch,D=!!A&&!!A.store,N=W?k.store:A.store,U=D?A.getServerState:N.getState,H=he.useMemo(()=>rx(N.dispatch,m),[N]),[R,I]=he.useMemo(()=>{if(!y)return kx;const oe=ug(N,W?void 0:A.subscription),q=oe.notifyNestedSubs.bind(oe);return[oe,q]},[N,W,A]),j=he.useMemo(()=>W?A:{...A,subscription:R},[W,A,R]),re=he.useRef(),Z=he.useRef(E),_e=he.useRef(),ne=he.useRef(!1);he.useRef(!1);const Se=he.useRef(!1),ae=he.useRef();Hl(()=>(Se.current=!0,()=>{Se.current=!1}),[]);const Xe=he.useMemo(()=>()=>_e.current&&E===Z.current?_e.current:H(N.getState(),E),[N,E]),_t=he.useMemo(()=>q=>R?bx(y,N,R,H,Z,re,ne,Se,_e,I,q):()=>{},[R]);_x(Cx,[Z,re,ne,E,_e,I]);let Ce;try{Ce=dg(_t,Xe,U?()=>H(U(),E):Xe)}catch(oe){throw ae.current&&(oe.message+=` +The error may be correlated with this previous error: +${ae.current.stack} + +`),oe}Hl(()=>{ae.current=void 0,_e.current=void 0,re.current=Ce});const nt=he.useMemo(()=>he.createElement(_,{...Ce,ref:$}),[$,_,Ce]);return he.useMemo(()=>y?he.createElement(F.Provider,{value:j},nt):nt,[F,nt,j])}const b=he.memo(g);if(b.WrappedComponent=_,b.displayName=g.displayName=f,a){const P=he.forwardRef(function(E,F){return he.createElement(b,{...E,reactReduxForwardedRef:F})});return P.displayName=f,P.WrappedComponent=_,ed(P,_)}return ed(b,_)}}var Rx=Px;function Tx({store:e,context:t,children:n,serverState:r,stabilityCheck:o="once",identityFunctionCheck:i="once"}){const s=he.useMemo(()=>{const u=ug(e);return{store:e,subscription:u,getServerState:r?()=>r:void 0,stabilityCheck:o,identityFunctionCheck:i}},[e,r,o,i]),l=he.useMemo(()=>e.getState(),[e]);Hl(()=>{const{subscription:u}=s;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),l!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[s,l]);const a=t||sg;return he.createElement(a.Provider,{value:s},n)}var Mx=Tx;xx(w.useSyncExternalStore);function K(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function x(){return x=Object.assign?Object.assign.bind():function(e){for(var t=1;t{t[n]=pg(e[n])}),t}function Ot(e,t,n={clone:!0}){const r=n.clone?x({},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]=Ot(e[o],t[o],n):n.clone?r[o]=Bn(t[o])?pg(t[o]):t[o]:r[o]=t[o])}),r}function Mr(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;nn==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function wf(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function Nx(e,t){return()=>null}function fl(e,t){var n,r;return w.isValidElement(e)&&t.indexOf((n=e.type.muiName)!=null?n:(r=e.type)==null||(r=r._payload)==null||(r=r.value)==null?void 0:r.muiName)!==-1}function $t(e){return e&&e.ownerDocument||document}function Or(e){return $t(e).defaultView||window}function Ix(e,t){return()=>null}function Vl(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Dx=typeof window<"u"?w.useLayoutEffect:w.useEffect,er=Dx;let jh=0;function Lx(e){const[t,n]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&(jh+=1,n(`mui-${jh}`))},[t]),r}const Bh=Yi.useId;function mg(e){if(Bh!==void 0){const t=Bh();return e??t}return Lx(e)}function Fx(e,t,n,r,o){return null}function nd({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=w.useRef(e!==void 0),[i,s]=w.useState(t),l=o?e:i,a=w.useCallback(u=>{o||s(u)},[]);return[l,a]}function Yr(e){const t=w.useRef(e);return er(()=>{t.current=e}),w.useRef((...n)=>(0,t.current)(...n)).current}function vt(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Vl(n,t)})},e)}let Na=!0,rd=!1,Uh;const Ax={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 zx(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Ax[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Wx(e){e.metaKey||e.altKey||e.ctrlKey||(Na=!0)}function Gu(){Na=!1}function jx(){this.visibilityState==="hidden"&&rd&&(Na=!0)}function Bx(e){e.addEventListener("keydown",Wx,!0),e.addEventListener("mousedown",Gu,!0),e.addEventListener("pointerdown",Gu,!0),e.addEventListener("touchstart",Gu,!0),e.addEventListener("visibilitychange",jx,!0)}function Ux(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Na||zx(t)}function yg(){const e=w.useCallback(o=>{o!=null&&Bx(o.ownerDocument)},[]),t=w.useRef(!1);function n(){return t.current?(rd=!0,window.clearTimeout(Uh),Uh=window.setTimeout(()=>{rd=!1},100),t.current=!1,!0):!1}function r(o){return Ux(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function gg(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function xf(e,t){const n=x({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=x({},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]=x({},i),Object.keys(o).forEach(s=>{n[r][s]=xf(o[s],i[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function $e(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,s)=>{if(s){const l=t(s);l!==""&&i.push(l),n&&n[s]&&i.push(n[s])}return i},[]).join(" ")}),r}const Yh=e=>e,Yx=()=>{let e=Yh;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Yh}}},Hx=Yx(),vg=Hx,Vx={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Pe(e,t,n="Mui"){const r=Vx[t];return r?`${n}-${r}`:`${vg.generate(e)}-${t}`}function ge(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Pe(e,o,n)}),r}function Sg(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Gx=/^((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)-.*))$/,Kx=Sg(function(e){return Gx.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Qx(e){if(e.sheet)return e.sheet;for(var t=0;t0?ut(ti,--Nt):0,Ko--,Ze===10&&(Ko=1,Da--),Ze}function At(){return Ze=Nt<_g?ut(ti,Nt++):0,Ko++,Ze===10&&(Ko=1,Da++),Ze}function On(){return ut(ti,Nt)}function pl(){return Nt}function ks(e,t){return as(ti,e,t)}function us(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Cg(e){return Da=Ko=1,_g=bn(ti=e),Nt=0,[]}function bg(e){return ti="",e}function hl(e){return kg(ks(Nt-1,id(e===91?e+2:e===40?e+1:e)))}function lk(e){for(;(Ze=On())&&Ze<33;)At();return us(e)>2||us(Ze)>3?"":" "}function ak(e,t){for(;--t&&At()&&!(Ze<48||Ze>102||Ze>57&&Ze<65||Ze>70&&Ze<97););return ks(e,pl()+(t<6&&On()==32&&At()==32))}function id(e){for(;At();)switch(Ze){case e:return Nt;case 34:case 39:e!==34&&e!==39&&id(Ze);break;case 40:e===41&&id(e);break;case 92:At();break}return Nt}function uk(e,t){for(;At()&&e+Ze!==57;)if(e+Ze===84&&On()===47)break;return"/*"+ks(t,Nt-1)+"*"+Ia(e===47?e:At())}function ck(e){for(;!us(On());)At();return ks(e,Nt)}function dk(e){return bg(ml("",null,null,null,[""],e=Cg(e),0,[0],e))}function ml(e,t,n,r,o,i,s,l,a){for(var u=0,c=0,p=s,d=0,S=0,y=0,v=1,_=1,h=1,f=0,m="",g=o,C=i,b=r,k=m;_;)switch(y=f,f=At()){case 40:if(y!=108&&ut(k,p-1)==58){od(k+=me(hl(f),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:k+=hl(f);break;case 9:case 10:case 13:case 32:k+=lk(y);break;case 92:k+=ak(pl()-1,7);continue;case 47:switch(On()){case 42:case 47:Ks(fk(uk(At(),pl()),t,n),a);break;default:k+="/"}break;case 123*v:l[u++]=bn(k)*h;case 125*v:case 59:case 0:switch(f){case 0:case 125:_=0;case 59+c:h==-1&&(k=me(k,/\f/g,"")),S>0&&bn(k)-p&&Ks(S>32?Vh(k+";",r,n,p-1):Vh(me(k," ","")+";",r,n,p-2),a);break;case 59:k+=";";default:if(Ks(b=Hh(k,t,n,u,c,o,l,m,g=[],C=[],p),i),f===123)if(c===0)ml(k,t,b,b,g,i,p,l,C);else switch(d===99&&ut(k,3)===110?100:d){case 100:case 108:case 109:case 115:ml(e,b,b,r&&Ks(Hh(e,b,b,0,0,o,l,m,o,g=[],p),C),o,C,p,l,r?g:C);break;default:ml(k,b,b,b,[""],C,0,l,C)}}u=c=S=0,v=h=1,m=k="",p=s;break;case 58:p=1+bn(k),S=y;default:if(v<1){if(f==123)--v;else if(f==125&&v++==0&&sk()==125)continue}switch(k+=Ia(f),f*v){case 38:h=c>0?1:(k+="\f",-1);break;case 44:l[u++]=(bn(k)-1)*h,h=1;break;case 64:On()===45&&(k+=hl(At())),d=On(),c=p=bn(m=k+=ck(pl())),f++;break;case 45:y===45&&bn(k)==2&&(v=0)}}return i}function Hh(e,t,n,r,o,i,s,l,a,u,c){for(var p=o-1,d=o===0?i:[""],S=Cf(d),y=0,v=0,_=0;y0?d[h]+" "+f:me(f,/&\f/g,d[h])))&&(a[_++]=m);return La(e,t,n,o===0?kf:l,a,u,c)}function fk(e,t,n){return La(e,t,n,wg,Ia(ik()),as(e,2,-2),0)}function Vh(e,t,n,r){return La(e,t,n,_f,as(e,0,r),as(e,r+1,-1),r)}function Lo(e,t){for(var n="",r=Cf(e),o=0;o6)switch(ut(e,t+1)){case 109:if(ut(e,t+4)!==45)break;case 102:return me(e,/(.+:)(.+)-([^]+)/,"$1"+pe+"$2-$3$1"+Gl+(ut(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~od(e,"stretch")?Eg(me(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ut(e,t+1)!==115)break;case 6444:switch(ut(e,bn(e)-3-(~od(e,"!important")&&10))){case 107:return me(e,":",":"+pe)+e;case 101:return me(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pe+(ut(e,14)===45?"inline-":"")+"box$3$1"+pe+"$2$3$1"+ht+"$2box$3")+e}break;case 5936:switch(ut(e,t+11)){case 114:return pe+e+ht+me(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pe+e+ht+me(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pe+e+ht+me(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pe+e+ht+e+e}return e}var xk=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case _f:t.return=Eg(t.value,t.length);break;case xg:return Lo([yi(t,{value:me(t.value,"@","@"+pe)})],o);case kf:if(t.length)return ok(t.props,function(i){switch(rk(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Lo([yi(t,{props:[me(i,/:(read-\w+)/,":"+Gl+"$1")]})],o);case"::placeholder":return Lo([yi(t,{props:[me(i,/:(plac\w+)/,":"+pe+"input-$1")]}),yi(t,{props:[me(i,/:(plac\w+)/,":"+Gl+"$1")]}),yi(t,{props:[me(i,/:(plac\w+)/,ht+"input-$1")]})],o)}return""})}},kk=[xk],Pg=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(v){var _=v.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var o=t.stylisPlugins||kk,i={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(v){for(var _=v.getAttribute("data-emotion").split(" "),h=1;h<_.length;h++)i[_[h]]=!0;l.push(v)});var a,u=[Sk,wk];{var c,p=[pk,mk(function(v){c.insert(v)})],d=hk(u.concat(o,p)),S=function(_){return Lo(dk(_),d)};a=function(_,h,f,m){c=f,S(_?_+"{"+h.styles+"}":h.styles),m&&(y.inserted[h.name]=!0)}}var y={key:n,sheet:new Zx({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:a};return y.sheet.hydrate(l),y},Rg={exports:{}},ve={};/** @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 it=typeof Symbol=="function"&&Symbol.for,bf=it?Symbol.for("react.element"):60103,Ef=it?Symbol.for("react.portal"):60106,Fa=it?Symbol.for("react.fragment"):60107,Aa=it?Symbol.for("react.strict_mode"):60108,za=it?Symbol.for("react.profiler"):60114,Wa=it?Symbol.for("react.provider"):60109,ja=it?Symbol.for("react.context"):60110,Pf=it?Symbol.for("react.async_mode"):60111,Ba=it?Symbol.for("react.concurrent_mode"):60111,Ua=it?Symbol.for("react.forward_ref"):60112,Ya=it?Symbol.for("react.suspense"):60113,_k=it?Symbol.for("react.suspense_list"):60120,Ha=it?Symbol.for("react.memo"):60115,Va=it?Symbol.for("react.lazy"):60116,Ck=it?Symbol.for("react.block"):60121,bk=it?Symbol.for("react.fundamental"):60117,Ek=it?Symbol.for("react.responder"):60118,Pk=it?Symbol.for("react.scope"):60119;function Bt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case bf:switch(e=e.type,e){case Pf:case Ba:case Fa:case za:case Aa:case Ya:return e;default:switch(e=e&&e.$$typeof,e){case ja:case Ua:case Va:case Ha:case Wa:return e;default:return t}}case Ef:return t}}}function Tg(e){return Bt(e)===Ba}ve.AsyncMode=Pf;ve.ConcurrentMode=Ba;ve.ContextConsumer=ja;ve.ContextProvider=Wa;ve.Element=bf;ve.ForwardRef=Ua;ve.Fragment=Fa;ve.Lazy=Va;ve.Memo=Ha;ve.Portal=Ef;ve.Profiler=za;ve.StrictMode=Aa;ve.Suspense=Ya;ve.isAsyncMode=function(e){return Tg(e)||Bt(e)===Pf};ve.isConcurrentMode=Tg;ve.isContextConsumer=function(e){return Bt(e)===ja};ve.isContextProvider=function(e){return Bt(e)===Wa};ve.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===bf};ve.isForwardRef=function(e){return Bt(e)===Ua};ve.isFragment=function(e){return Bt(e)===Fa};ve.isLazy=function(e){return Bt(e)===Va};ve.isMemo=function(e){return Bt(e)===Ha};ve.isPortal=function(e){return Bt(e)===Ef};ve.isProfiler=function(e){return Bt(e)===za};ve.isStrictMode=function(e){return Bt(e)===Aa};ve.isSuspense=function(e){return Bt(e)===Ya};ve.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Fa||e===Ba||e===za||e===Aa||e===Ya||e===_k||typeof e=="object"&&e!==null&&(e.$$typeof===Va||e.$$typeof===Ha||e.$$typeof===Wa||e.$$typeof===ja||e.$$typeof===Ua||e.$$typeof===bk||e.$$typeof===Ek||e.$$typeof===Pk||e.$$typeof===Ck)};ve.typeOf=Bt;Rg.exports=ve;var Rk=Rg.exports,Mg=Rk,Tk={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Mk={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Og={};Og[Mg.ForwardRef]=Tk;Og[Mg.Memo]=Mk;var Ok=!0;function $k(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):r+=o+" "}),r}var $g=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||Ok===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},Ng=function(t,n,r){$g(t,n,r);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var i=n;do t.insert(n===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Nk(e){for(var t=0,n,r=0,o=e.length;o>=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 Ik={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},Dk=/[A-Z]|^ms/g,Lk=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ig=function(t){return t.charCodeAt(1)===45},Kh=function(t){return t!=null&&typeof t!="boolean"},Ku=Sg(function(e){return Ig(e)?e:e.replace(Dk,"-$&").toLowerCase()}),Qh=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Lk,function(r,o,i){return En={name:o,styles:i,next:En},o})}return Ik[t]!==1&&!Ig(t)&&typeof n=="number"&&n!==0?n+"px":n};function cs(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 En={name:n.name,styles:n.styles,next:En},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)En={name:r.name,styles:r.styles,next:En},r=r.next;var o=n.styles+";";return o}return Fk(e,t,n)}case"function":{if(e!==void 0){var i=En,s=n(e);return En=i,cs(e,t,s)}break}}if(t==null)return n;var l=t[n];return l!==void 0?l:n}function Fk(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Uk:Yk},Jh=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(s){return t.__emotion_forwardProp(s)&&i(s)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Hk=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return $g(n,r,o),zk(function(){return Ng(n,r,o)}),null},Vk=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,s;n!==void 0&&(i=n.label,s=n.target);var l=Jh(t,n,r),a=l||qh(o),u=!a("as");return function(){var c=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),c[0]==null||c[0].raw===void 0)p.push.apply(p,c);else{p.push(c[0][0]);for(var d=c.length,S=1;St(Xk(o)?n:o):t;return O.jsx(jk,{styles:r})}function qk(e,t){return sd(e,t)}const Jk=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},e_=["values","unit","step"],t_=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)=>x({},n,{[r.key]:r.val}),{})};function n_(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=K(e,e_),i=t_(t),s=Object.keys(i);function l(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,S){const y=s.indexOf(S);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${n}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:S)-r/100}${n})`}function c(d){return s.indexOf(d)+1`@media (min-width:${Mf[e]}px)`};function tr(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||nm;return t.reduce((s,l,a)=>(s[i.up(i.keys[a])]=n(t[a]),s),{})}if(typeof t=="object"){const i=r.breakpoints||nm;return Object.keys(t).reduce((s,l)=>{if(Object.keys(i.values||Mf).indexOf(l)!==-1){const a=i.up(l);s[a]=n(t[l],l)}else{const a=l;s[a]=t[a]}return s},{})}return n(t)}function i_(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function s_(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Ka(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 Kl(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Ka(e,n)||r,t&&(o=t(o,r,e)),o}function Qe(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=s=>{if(s[t]==null)return null;const l=s[t],a=s.theme,u=Ka(a,r)||{};return tr(s,l,p=>{let d=Kl(u,o,p);return p===d&&typeof p=="string"&&(d=Kl(u,o,`${t}${p==="default"?"":ee(p)}`,p)),n===!1?d:{[n]:d}})};return i.propTypes={},i.filterProps=[t],i}function l_(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const a_={m:"margin",p:"padding"},u_={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},rm={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c_=l_(e=>{if(e.length>2)if(rm[e])e=rm[e];else return[e];const[t,n]=e.split(""),r=a_[t],o=u_[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Of=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],$f=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Of,...$f];function _s(e,t,n,r){var o;const i=(o=Ka(e,t,!1))!=null?o:n;return typeof i=="number"?s=>typeof s=="string"?s:i*s:Array.isArray(i)?s=>typeof s=="string"?s:i[s]:typeof i=="function"?i:()=>{}}function Ag(e){return _s(e,"spacing",8)}function Cs(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 d_(e,t){return n=>e.reduce((r,o)=>(r[o]=Cs(t,n),r),{})}function f_(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=c_(n),i=d_(o,r),s=e[n];return tr(e,s,i)}function zg(e,t){const n=Ag(e.theme);return Object.keys(e).map(r=>f_(e,t,r,n)).reduce(Wi,{})}function Ye(e){return zg(e,Of)}Ye.propTypes={};Ye.filterProps=Of;function He(e){return zg(e,$f)}He.propTypes={};He.filterProps=$f;function p_(e=8){if(e.mui)return e;const t=Ag({spacing:e}),n=(...r)=>(r.length===0?[1]:r).map(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" ");return n.mui=!0,n}function Qa(...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]?Wi(o,t[i](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Xt(e){return typeof e!="number"?e:`${e}px solid`}function sn(e,t){return Qe({prop:e,themeKey:"borders",transform:t})}const h_=sn("border",Xt),m_=sn("borderTop",Xt),y_=sn("borderRight",Xt),g_=sn("borderBottom",Xt),v_=sn("borderLeft",Xt),S_=sn("borderColor"),w_=sn("borderTopColor"),x_=sn("borderRightColor"),k_=sn("borderBottomColor"),__=sn("borderLeftColor"),C_=sn("outline",Xt),b_=sn("outlineColor"),Xa=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=_s(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Cs(t,r)});return tr(e,e.borderRadius,n)}return null};Xa.propTypes={};Xa.filterProps=["borderRadius"];Qa(h_,m_,y_,g_,v_,S_,w_,x_,k_,__,Xa,C_,b_);const Za=e=>{if(e.gap!==void 0&&e.gap!==null){const t=_s(e.theme,"spacing",8),n=r=>({gap:Cs(t,r)});return tr(e,e.gap,n)}return null};Za.propTypes={};Za.filterProps=["gap"];const qa=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=_s(e.theme,"spacing",8),n=r=>({columnGap:Cs(t,r)});return tr(e,e.columnGap,n)}return null};qa.propTypes={};qa.filterProps=["columnGap"];const Ja=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=_s(e.theme,"spacing",8),n=r=>({rowGap:Cs(t,r)});return tr(e,e.rowGap,n)}return null};Ja.propTypes={};Ja.filterProps=["rowGap"];const E_=Qe({prop:"gridColumn"}),P_=Qe({prop:"gridRow"}),R_=Qe({prop:"gridAutoFlow"}),T_=Qe({prop:"gridAutoColumns"}),M_=Qe({prop:"gridAutoRows"}),O_=Qe({prop:"gridTemplateColumns"}),$_=Qe({prop:"gridTemplateRows"}),N_=Qe({prop:"gridTemplateAreas"}),I_=Qe({prop:"gridArea"});Qa(Za,qa,Ja,E_,P_,R_,T_,M_,O_,$_,N_,I_);function Fo(e,t){return t==="grey"?t:e}const D_=Qe({prop:"color",themeKey:"palette",transform:Fo}),L_=Qe({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Fo}),F_=Qe({prop:"backgroundColor",themeKey:"palette",transform:Fo});Qa(D_,L_,F_);function Dt(e){return e<=1&&e!==0?`${e*100}%`:e}const A_=Qe({prop:"width",transform:Dt}),Nf=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,o;const i=((r=e.theme)==null||(r=r.breakpoints)==null||(r=r.values)==null?void 0:r[n])||Mf[n];return i?((o=e.theme)==null||(o=o.breakpoints)==null?void 0:o.unit)!=="px"?{maxWidth:`${i}${e.theme.breakpoints.unit}`}:{maxWidth:i}:{maxWidth:Dt(n)}};return tr(e,e.maxWidth,t)}return null};Nf.filterProps=["maxWidth"];const z_=Qe({prop:"minWidth",transform:Dt}),W_=Qe({prop:"height",transform:Dt}),j_=Qe({prop:"maxHeight",transform:Dt}),B_=Qe({prop:"minHeight",transform:Dt});Qe({prop:"size",cssProperty:"width",transform:Dt});Qe({prop:"size",cssProperty:"height",transform:Dt});const U_=Qe({prop:"boxSizing"});Qa(A_,Nf,z_,W_,j_,B_,U_);const Y_={border:{themeKey:"borders",transform:Xt},borderTop:{themeKey:"borders",transform:Xt},borderRight:{themeKey:"borders",transform:Xt},borderBottom:{themeKey:"borders",transform:Xt},borderLeft:{themeKey:"borders",transform:Xt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Xt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Xa},color:{themeKey:"palette",transform:Fo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Fo},backgroundColor:{themeKey:"palette",transform:Fo},p:{style:He},pt:{style:He},pr:{style:He},pb:{style:He},pl:{style:He},px:{style:He},py:{style:He},padding:{style:He},paddingTop:{style:He},paddingRight:{style:He},paddingBottom:{style:He},paddingLeft:{style:He},paddingX:{style:He},paddingY:{style:He},paddingInline:{style:He},paddingInlineStart:{style:He},paddingInlineEnd:{style:He},paddingBlock:{style:He},paddingBlockStart:{style:He},paddingBlockEnd:{style:He},m:{style:Ye},mt:{style:Ye},mr:{style:Ye},mb:{style:Ye},ml:{style:Ye},mx:{style:Ye},my:{style:Ye},margin:{style:Ye},marginTop:{style:Ye},marginRight:{style:Ye},marginBottom:{style:Ye},marginLeft:{style:Ye},marginX:{style:Ye},marginY:{style:Ye},marginInline:{style:Ye},marginInlineStart:{style:Ye},marginInlineEnd:{style:Ye},marginBlock:{style:Ye},marginBlockStart:{style:Ye},marginBlockEnd:{style:Ye},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:Za},rowGap:{style:Ja},columnGap:{style:qa},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Dt},maxWidth:{style:Nf},minWidth:{transform:Dt},height:{transform:Dt},maxHeight:{transform:Dt},minHeight:{transform:Dt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},eu=Y_;function H_(...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 V_(e,t){return typeof e=="function"?e(t):e}function G_(){function e(n,r,o,i){const s={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:a=n,themeKey:u,transform:c,style:p}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const d=Ka(o,u)||{};return p?p(s):tr(s,r,y=>{let v=Kl(d,c,y);return y===v&&typeof y=="string"&&(v=Kl(d,c,`${n}${y==="default"?"":ee(y)}`,y)),a===!1?v:{[a]:v}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const s=(r=i.unstable_sxConfig)!=null?r:eu;function l(a){let u=a;if(typeof a=="function")u=a(i);else if(typeof a!="object")return a;if(!u)return null;const c=i_(i.breakpoints),p=Object.keys(c);let d=c;return Object.keys(u).forEach(S=>{const y=V_(u[S],i);if(y!=null)if(typeof y=="object")if(s[S])d=Wi(d,e(S,y,i,s));else{const v=tr({theme:i},y,_=>({[S]:_}));H_(v,y)?d[S]=t({sx:y,theme:i}):d=Wi(d,v)}else d=Wi(d,e(S,y,i,s))}),s_(p,d)}return Array.isArray(o)?o.map(l):l(o)}return t}const Wg=G_();Wg.filterProps=["sx"];const If=Wg,K_=["breakpoints","palette","spacing","shape"];function Df(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,s=K(e,K_),l=n_(n),a=p_(o);let u=Ot({breakpoints:l,direction:"ltr",components:{},palette:x({mode:"light"},r),spacing:a,shape:x({},o_,i)},s);return u=t.reduce((c,p)=>Ot(c,p),u),u.unstable_sxConfig=x({},eu,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(p){return If({sx:p,theme:this})},u}function Q_(e){return Object.keys(e).length===0}function jg(e=null){const t=w.useContext(Ga);return!t||Q_(t)?e:t}const X_=Df();function Lf(e=X_){return jg(e)}function Z_({styles:e,themeId:t,defaultTheme:n={}}){const r=Lf(n),o=typeof e=="function"?e(t&&r[t]||r):e;return O.jsx(Zk,{styles:o})}const q_=["sx"],J_=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:eu;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function eC(e){const{sx:t}=e,n=K(e,q_),{systemProps:r,otherProps:o}=J_(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...s)=>{const l=t(...s);return Bn(l)?x({},r,l):r}:i=x({},r,t),x({},o,{sx:i})}const tC=["variant"];function om(e){return e.length===0}function Bg(e){const{variant:t}=e,n=K(e,tC);let r=t||"";return Object.keys(n).sort().forEach(o=>{o==="color"?r+=om(r)?e[o]:ee(e[o]):r+=`${om(r)?o:ee(o)}${ee(e[o].toString())}`}),r}const nC=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function rC(e){return Object.keys(e).length===0}function oC(e){return typeof e=="string"&&e.charCodeAt(0)>96}const iC=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,Ql=e=>{let t=0;const n={};return e&&e.forEach(r=>{let o="";typeof r.props=="function"?(o=`callback${t}`,t+=1):o=Bg(r.props),n[o]=r.style}),n},sC=(e,t)=>{let n=[];return t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants),Ql(n)},Xl=(e,t,n)=>{const{ownerState:r={}}=e,o=[];let i=0;return n&&n.forEach(s=>{let l=!0;if(typeof s.props=="function"){const a=x({},e,r);l=s.props(a)}else Object.keys(s.props).forEach(a=>{r[a]!==s.props[a]&&e[a]!==s.props[a]&&(l=!1)});l&&(typeof s.props=="function"?o.push(t[`callback${i}`]):o.push(t[Bg(s.props)])),typeof s.props=="function"&&(i+=1)}),o},lC=(e,t,n,r)=>{var o;const i=n==null||(o=n.components)==null||(o=o[r])==null?void 0:o.variants;return Xl(e,t,i)};function ji(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const aC=Df(),uC=e=>e&&e.charAt(0).toLowerCase()+e.slice(1);function yl({defaultTheme:e,theme:t,themeId:n}){return rC(t)?e:t[n]||t}function cC(e){return e?(t,n)=>n[e]:null}const im=({styledArg:e,props:t,defaultTheme:n,themeId:r})=>{const o=e(x({},t,{theme:yl(x({},t,{defaultTheme:n,themeId:r}))}));let i;if(o&&o.variants&&(i=o.variants,delete o.variants),i){const s=Xl(t,Ql(i),i);return[o,...s]}return o};function dC(e={}){const{themeId:t,defaultTheme:n=aC,rootShouldForwardProp:r=ji,slotShouldForwardProp:o=ji}=e,i=s=>If(x({},s,{theme:yl(x({},s,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(s,l={})=>{Jk(s,g=>g.filter(C=>!(C!=null&&C.__mui_systemSx)));const{name:a,slot:u,skipVariantsResolver:c,skipSx:p,overridesResolver:d=cC(uC(u))}=l,S=K(l,nC),y=c!==void 0?c:u&&u!=="Root"&&u!=="root"||!1,v=p||!1;let _,h=ji;u==="Root"||u==="root"?h=r:u?h=o:oC(s)&&(h=void 0);const f=qk(s,x({shouldForwardProp:h,label:_},S)),m=(g,...C)=>{const b=C?C.map(E=>{if(typeof E=="function"&&E.__emotion_real!==E)return F=>im({styledArg:E,props:F,defaultTheme:n,themeId:t});if(Bn(E)){let F=E,A;return E&&E.variants&&(A=E.variants,delete F.variants,F=W=>{let D=E;return Xl(W,Ql(A),A).forEach(U=>{D=Ot(D,U)}),D}),F}return E}):[];let k=g;if(Bn(g)){let E;g&&g.variants&&(E=g.variants,delete k.variants,k=F=>{let A=g;return Xl(F,Ql(E),E).forEach(D=>{A=Ot(A,D)}),A})}else typeof g=="function"&&g.__emotion_real!==g&&(k=E=>im({styledArg:g,props:E,defaultTheme:n,themeId:t}));a&&d&&b.push(E=>{const F=yl(x({},E,{defaultTheme:n,themeId:t})),A=iC(a,F);if(A){const W={};return Object.entries(A).forEach(([D,N])=>{W[D]=typeof N=="function"?N(x({},E,{theme:F})):N}),d(E,W)}return null}),a&&!y&&b.push(E=>{const F=yl(x({},E,{defaultTheme:n,themeId:t}));return lC(E,sC(a,F),F,a)}),v||b.push(i);const P=b.length-C.length;if(Array.isArray(g)&&P>0){const E=new Array(P).fill("");k=[...g,...E],k.raw=[...g.raw,...E]}const $=f(k,...b);return s.muiName&&($.muiName=s.muiName),$};return f.withConfig&&(m.withConfig=f.withConfig),m}}function fC(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:xf(t.components[n].defaultProps,r)}function pC({props:e,name:t,defaultTheme:n,themeId:r}){let o=Lf(n);return r&&(o=o[r]||o),fC({theme:o,name:t,props:e})}function Ff(e,t=0,n=1){return Math.min(Math.max(t,e),n)}function hC(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 to(e){if(e.type)return e;if(e.charAt(0)==="#")return to(hC(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(Mr(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(Mr(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}function tu(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 mC(e){e=to(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(u,c=(u+n/30)%12)=>o-i*Math.max(Math.min(c-3,9-c,1),-1);let l="rgb";const a=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",a.push(t[3])),tu({type:l,values:a})}function sm(e){e=to(e);let t=e.type==="hsl"||e.type==="hsla"?to(mC(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 yC(e,t){const n=sm(e),r=sm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function en(e,t){return e=to(e),t=Ff(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,tu(e)}function gC(e,t){if(e=to(e),t=Ff(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 tu(e)}function vC(e,t){if(e=to(e),t=Ff(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 tu(e)}const SC=w.createContext(null),Ug=SC;function Yg(){return w.useContext(Ug)}const wC=typeof Symbol=="function"&&Symbol.for,xC=wC?Symbol.for("mui.nested"):"__THEME_NESTED__";function kC(e,t){return typeof t=="function"?t(e):x({},e,t)}function _C(e){const{children:t,theme:n}=e,r=Yg(),o=w.useMemo(()=>{const i=r===null?n:kC(r,n);return i!=null&&(i[xC]=r!==null),i},[n,r]);return O.jsx(Ug.Provider,{value:o,children:t})}const lm={};function am(e,t,n,r=!1){return w.useMemo(()=>{const o=e&&t[e]||t;if(typeof n=="function"){const i=n(o),s=e?x({},t,{[e]:i}):i;return r?()=>s:s}return e?x({},t,{[e]:n}):x({},t,n)},[e,t,n,r])}function CC(e){const{children:t,theme:n,themeId:r}=e,o=jg(lm),i=Yg()||lm,s=am(r,o,n),l=am(r,i,n,!0);return O.jsx(_C,{theme:l,children:O.jsx(Ga.Provider,{value:s,children:t})})}function bC(e,t){return x({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const EC={black:"#000",white:"#fff"},ds=EC,PC={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"},RC=PC,TC={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"},lo=TC,MC={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"},ao=MC,OC={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"},vi=OC,$C={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"},uo=$C,NC={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"},co=NC,IC={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"},fo=IC,DC=["mode","contrastThreshold","tonalOffset"],um={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:ds.white,default:ds.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}},Xu={text:{primary:ds.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:ds.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 cm(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=vC(e.main,o):t==="dark"&&(e.dark=gC(e.main,i)))}function LC(e="light"){return e==="dark"?{main:uo[200],light:uo[50],dark:uo[400]}:{main:uo[700],light:uo[400],dark:uo[800]}}function FC(e="light"){return e==="dark"?{main:lo[200],light:lo[50],dark:lo[400]}:{main:lo[500],light:lo[300],dark:lo[700]}}function AC(e="light"){return e==="dark"?{main:ao[500],light:ao[300],dark:ao[700]}:{main:ao[700],light:ao[400],dark:ao[800]}}function zC(e="light"){return e==="dark"?{main:co[400],light:co[300],dark:co[700]}:{main:co[700],light:co[500],dark:co[900]}}function WC(e="light"){return e==="dark"?{main:fo[400],light:fo[300],dark:fo[700]}:{main:fo[800],light:fo[500],dark:fo[900]}}function jC(e="light"){return e==="dark"?{main:vi[400],light:vi[300],dark:vi[700]}:{main:"#ed6c02",light:vi[500],dark:vi[900]}}function BC(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=K(e,DC),i=e.primary||LC(t),s=e.secondary||FC(t),l=e.error||AC(t),a=e.info||zC(t),u=e.success||WC(t),c=e.warning||jC(t);function p(v){return yC(v,Xu.text.primary)>=n?Xu.text.primary:um.text.primary}const d=({color:v,name:_,mainShade:h=500,lightShade:f=300,darkShade:m=700})=>{if(v=x({},v),!v.main&&v[h]&&(v.main=v[h]),!v.hasOwnProperty("main"))throw new Error(Mr(11,_?` (${_})`:"",h));if(typeof v.main!="string")throw new Error(Mr(12,_?` (${_})`:"",JSON.stringify(v.main)));return cm(v,"light",f,r),cm(v,"dark",m,r),v.contrastText||(v.contrastText=p(v.main)),v},S={dark:Xu,light:um};return Ot(x({common:x({},ds),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:l,name:"error"}),warning:d({color:c,name:"warning"}),info:d({color:a,name:"info"}),success:d({color:u,name:"success"}),grey:RC,contrastThreshold:n,getContrastText:p,augmentColor:d,tonalOffset:r},S[t]),o)}const UC=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function YC(e){return Math.round(e*1e5)/1e5}const dm={textTransform:"uppercase"},fm='"Roboto", "Helvetica", "Arial", sans-serif';function HC(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=fm,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:a=700,htmlFontSize:u=16,allVariants:c,pxToRem:p}=n,d=K(n,UC),S=o/14,y=p||(h=>`${h/u*S}rem`),v=(h,f,m,g,C)=>x({fontFamily:r,fontWeight:h,fontSize:y(f),lineHeight:m},r===fm?{letterSpacing:`${YC(g/f)}em`}:{},C,c),_={h1:v(i,96,1.167,-1.5),h2:v(i,60,1.2,-.5),h3:v(s,48,1.167,0),h4:v(s,34,1.235,.25),h5:v(s,24,1.334,0),h6:v(l,20,1.6,.15),subtitle1:v(s,16,1.75,.15),subtitle2:v(l,14,1.57,.1),body1:v(s,16,1.5,.15),body2:v(s,14,1.43,.15),button:v(l,14,1.75,.4,dm),caption:v(s,12,1.66,.4),overline:v(s,12,2.66,1,dm),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ot(x({htmlFontSize:u,pxToRem:y,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:a},_),d,{clone:!1})}const VC=.2,GC=.14,KC=.12;function Fe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${VC})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${GC})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${KC})`].join(",")}const QC=["none",Fe(0,2,1,-1,0,1,1,0,0,1,3,0),Fe(0,3,1,-2,0,2,2,0,0,1,5,0),Fe(0,3,3,-2,0,3,4,0,0,1,8,0),Fe(0,2,4,-1,0,4,5,0,0,1,10,0),Fe(0,3,5,-1,0,5,8,0,0,1,14,0),Fe(0,3,5,-1,0,6,10,0,0,1,18,0),Fe(0,4,5,-2,0,7,10,1,0,2,16,1),Fe(0,5,5,-3,0,8,10,1,0,3,14,2),Fe(0,5,6,-3,0,9,12,1,0,3,16,2),Fe(0,6,6,-3,0,10,14,1,0,4,18,3),Fe(0,6,7,-4,0,11,15,1,0,4,20,3),Fe(0,7,8,-4,0,12,17,2,0,5,22,4),Fe(0,7,8,-4,0,13,19,2,0,5,24,4),Fe(0,7,9,-4,0,14,21,2,0,5,26,4),Fe(0,8,9,-5,0,15,22,2,0,6,28,5),Fe(0,8,10,-5,0,16,24,2,0,6,30,5),Fe(0,8,11,-5,0,17,26,2,0,6,32,5),Fe(0,9,11,-5,0,18,28,2,0,7,34,6),Fe(0,9,12,-6,0,19,29,2,0,7,36,6),Fe(0,10,13,-6,0,20,31,3,0,8,38,7),Fe(0,10,13,-6,0,21,33,3,0,8,40,7),Fe(0,10,14,-6,0,22,35,3,0,8,42,7),Fe(0,11,14,-7,0,23,36,3,0,9,44,8),Fe(0,11,15,-7,0,24,38,3,0,9,46,8)],XC=QC,ZC=["duration","easing","delay"],qC={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)"},JC={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function pm(e){return`${Math.round(e)}ms`}function eb(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function tb(e){const t=x({},qC,e.easing),n=x({},JC,e.duration);return x({getAutoHeightDuration:eb,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:a=0}=i;return K(i,ZC),(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof s=="string"?s:pm(s)} ${l} ${typeof a=="string"?a:pm(a)}`).join(",")}},e,{easing:t,duration:n})}const nb={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},rb=nb,ob=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Hg(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,s=K(e,ob);if(e.vars)throw new Error(Mr(18));const l=BC(r),a=Df(e);let u=Ot(a,{mixins:bC(a.breakpoints,n),palette:l,shadows:XC.slice(),typography:HC(l,i),transitions:tb(o),zIndex:x({},rb)});return u=Ot(u,s),u=t.reduce((c,p)=>Ot(c,p),u),u.unstable_sxConfig=x({},eu,s==null?void 0:s.unstable_sxConfig),u.unstable_sx=function(p){return If({sx:p,theme:this})},u}const ib=Hg(),nu=ib,Qo="$$material",wn=e=>ji(e)&&e!=="classes",sb=ji,lb=dC({themeId:Qo,defaultTheme:nu,rootShouldForwardProp:wn}),Q=lb;function Ne({props:e,name:t}){return pC({props:e,name:t,defaultTheme:nu,themeId:Qo})}const ab=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)},hm=ab;function Af(){const e=Lf(nu);return e[Qo]||e}function ub(e){return Pe("MuiPaper",e)}ge("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const cb=["className","component","elevation","square","variant"],db=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return $e(i,ub,o)},fb=Q("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return x({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&x({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${en("#fff",hm(t.elevation))}, ${en("#fff",hm(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),pb=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:s=1,square:l=!1,variant:a="elevation"}=r,u=K(r,cb),c=x({},r,{component:i,elevation:s,square:l,variant:a}),p=db(c);return O.jsx(fb,x({as:i,ownerState:c,className:te(p.root,o),ref:n},u))}),ru=pb;function hb(e){return Pe("MuiAppBar",e)}ge("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const mb=["className","color","enableColorOnDark","position"],yb=e=>{const{color:t,position:n,classes:r}=e,o={root:["root",`color${ee(t)}`,`position${ee(n)}`]};return $e(o,hb,r)},Qs=(e,t)=>e?`${e==null?void 0:e.replace(")","")}, ${t})`:t,gb=Q(ru,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ee(n.position)}`],t[`color${ee(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return x({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&x({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&x({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&x({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:Qs(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:Qs(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:Qs(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:Qs(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),vb=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiAppBar"}),{className:o,color:i="primary",enableColorOnDark:s=!1,position:l="fixed"}=r,a=K(r,mb),u=x({},r,{color:i,position:l,enableColorOnDark:s}),c=yb(u);return O.jsx(gb,x({square:!0,component:"header",ownerState:u,elevation:4,className:te(c.root,o,l==="fixed"&&"mui-fixed"),ref:n},a))}),Sb=vb;//! moment.js +//! version : 2.30.1 +//! authors : Tim Wood, Iskren Chernev, Moment.js contributors +//! license : MIT +//! momentjs.com +var Vg;function z(){return Vg.apply(null,arguments)}function wb(e){Vg=e}function vn(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function Qr(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function ce(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function zf(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(ce(e,t))return!1;return!0}function bt(e){return e===void 0}function nr(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function bs(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function Gg(e,t){var n=[],r,o=e.length;for(r=0;r>>0,r;for(r=0;r0)for(n=0;n=0;return(i?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var Uf=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Xs=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,qu={},Ao={};function V(e,t,n,r){var o=r;typeof r=="string"&&(o=function(){return this[r]()}),e&&(Ao[e]=o),t&&(Ao[t[0]]=function(){return $n(o.apply(this,arguments),t[1],t[2])}),n&&(Ao[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function bb(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Eb(e){var t=e.match(Uf),n,r;for(n=0,r=t.length;n=0&&Xs.test(e);)e=e.replace(Xs,r),Xs.lastIndex=0,n-=1;return e}var Pb={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Rb(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(Uf).map(function(r){return r==="MMMM"||r==="MM"||r==="DD"||r==="dddd"?r.slice(1):r}).join(""),this._longDateFormat[e])}var Tb="Invalid date";function Mb(){return this._invalidDate}var Ob="%d",$b=/\d{1,2}/;function Nb(e){return this._ordinal.replace("%d",e)}var Ib={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Db(e,t,n,r){var o=this._relativeTime[n];return In(o)?o(e,t,n,r):o.replace(/%d/i,e)}function Lb(e,t){var n=this._relativeTime[e>0?"future":"past"];return In(n)?n(t):n.replace(/%s/i,t)}var gm={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function an(e){return typeof e=="string"?gm[e]||gm[e.toLowerCase()]:void 0}function Yf(e){var t={},n,r;for(r in e)ce(e,r)&&(n=an(r),n&&(t[n]=e[r]));return t}var Fb={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Ab(e){var t=[],n;for(n in e)ce(e,n)&&t.push({unit:n,priority:Fb[n]});return t.sort(function(r,o){return r.priority-o.priority}),t}var Zg=/\d/,Ut=/\d\d/,qg=/\d{3}/,Hf=/\d{4}/,iu=/[+-]?\d{6}/,Ie=/\d\d?/,Jg=/\d\d\d\d?/,ev=/\d\d\d\d\d\d?/,su=/\d{1,3}/,Vf=/\d{1,4}/,lu=/[+-]?\d{1,6}/,ri=/\d+/,au=/[+-]?\d+/,zb=/Z|[+-]\d\d:?\d\d/gi,uu=/Z|[+-]\d\d(?::?\d\d)?/gi,Wb=/[+-]?\d+(\.\d{1,3})?/,Ps=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,oi=/^[1-9]\d?/,Gf=/^([1-9]\d|\d)/,Zl;Zl={};function B(e,t,n){Zl[e]=In(t)?t:function(r,o){return r&&n?n:t}}function jb(e,t){return ce(Zl,e)?Zl[e](t._strict,t._locale):new RegExp(Bb(e))}function Bb(e){return Kn(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,n,r,o,i){return n||r||o||i}))}function Kn(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Zt(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ie(e){var t=+e,n=0;return t!==0&&isFinite(t)&&(n=Zt(t)),n}var dd={};function ke(e,t){var n,r=t,o;for(typeof e=="string"&&(e=[e]),nr(t)&&(r=function(i,s){s[t]=ie(i)}),o=e.length,n=0;n68?1900:2e3)};var tv=ii("FullYear",!0);function Vb(){return cu(this.year())}function ii(e,t){return function(n){return n!=null?(nv(this,e,n),z.updateOffset(this,t),this):fs(this,e)}}function fs(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN}}function nv(e,t,n){var r,o,i,s,l;if(!(!e.isValid()||isNaN(n))){switch(r=e._d,o=e._isUTC,t){case"Milliseconds":return void(o?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(o?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(o?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(o?r.setUTCHours(n):r.setHours(n));case"Date":return void(o?r.setUTCDate(n):r.setDate(n));case"FullYear":break;default:return}i=n,s=e.month(),l=e.date(),l=l===29&&s===1&&!cu(i)?28:l,o?r.setUTCFullYear(i,s,l):r.setFullYear(i,s,l)}}function Gb(e){return e=an(e),In(this[e])?this[e]():this}function Kb(e,t){if(typeof e=="object"){e=Yf(e);var n=Ab(e),r,o=n.length;for(r=0;r=0?(l=new Date(e+400,t,n,r,o,i,s),isFinite(l.getFullYear())&&l.setFullYear(e)):l=new Date(e,t,n,r,o,i,s),l}function ps(e){var t,n;return e<100&&e>=0?(n=Array.prototype.slice.call(arguments),n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function ql(e,t,n){var r=7+t-n,o=(7+ps(e,0,r).getUTCDay()-t)%7;return-o+r-1}function av(e,t,n,r,o){var i=(7+n-r)%7,s=ql(e,r,o),l=1+7*(t-1)+i+s,a,u;return l<=0?(a=e-1,u=Bi(a)+l):l>Bi(e)?(a=e+1,u=l-Bi(e)):(a=e,u=l),{year:a,dayOfYear:u}}function hs(e,t,n){var r=ql(e.year(),t,n),o=Math.floor((e.dayOfYear()-r-1)/7)+1,i,s;return o<1?(s=e.year()-1,i=o+Qn(s,t,n)):o>Qn(e.year(),t,n)?(i=o-Qn(e.year(),t,n),s=e.year()+1):(s=e.year(),i=o),{week:i,year:s}}function Qn(e,t,n){var r=ql(e,t,n),o=ql(e+1,t,n);return(Bi(e)-r+o)/7}V("w",["ww",2],"wo","week");V("W",["WW",2],"Wo","isoWeek");B("w",Ie,oi);B("ww",Ie,Ut);B("W",Ie,oi);B("WW",Ie,Ut);Rs(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=ie(e)});function l2(e){return hs(e,this._week.dow,this._week.doy).week}var a2={dow:0,doy:6};function u2(){return this._week.dow}function c2(){return this._week.doy}function d2(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function f2(e){var t=hs(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}V("d",0,"do","day");V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});V("e",0,0,"weekday");V("E",0,0,"isoWeekday");B("d",Ie);B("e",Ie);B("E",Ie);B("dd",function(e,t){return t.weekdaysMinRegex(e)});B("ddd",function(e,t){return t.weekdaysShortRegex(e)});B("dddd",function(e,t){return t.weekdaysRegex(e)});Rs(["dd","ddd","dddd"],function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);o!=null?t.d=o:J(n).invalidWeekday=e});Rs(["d","e","E"],function(e,t,n,r){t[r]=ie(e)});function p2(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function h2(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Qf(e,t){return e.slice(t,7).concat(e.slice(0,t))}var m2="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),uv="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),y2="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),g2=Ps,v2=Ps,S2=Ps;function w2(e,t){var n=vn(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?Qf(n,this._week.dow):e?n[e.day()]:n}function x2(e){return e===!0?Qf(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function k2(e){return e===!0?Qf(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function _2(e,t,n){var r,o,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=Nn([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?t==="dddd"?(o=Ge.call(this._weekdaysParse,s),o!==-1?o:null):t==="ddd"?(o=Ge.call(this._shortWeekdaysParse,s),o!==-1?o:null):(o=Ge.call(this._minWeekdaysParse,s),o!==-1?o:null):t==="dddd"?(o=Ge.call(this._weekdaysParse,s),o!==-1||(o=Ge.call(this._shortWeekdaysParse,s),o!==-1)?o:(o=Ge.call(this._minWeekdaysParse,s),o!==-1?o:null)):t==="ddd"?(o=Ge.call(this._shortWeekdaysParse,s),o!==-1||(o=Ge.call(this._weekdaysParse,s),o!==-1)?o:(o=Ge.call(this._minWeekdaysParse,s),o!==-1?o:null)):(o=Ge.call(this._minWeekdaysParse,s),o!==-1||(o=Ge.call(this._weekdaysParse,s),o!==-1)?o:(o=Ge.call(this._shortWeekdaysParse,s),o!==-1?o:null))}function C2(e,t,n){var r,o,i;if(this._weekdaysParseExact)return _2.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=Nn([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&t==="dddd"&&this._fullWeekdaysParse[r].test(e))return r;if(n&&t==="ddd"&&this._shortWeekdaysParse[r].test(e))return r;if(n&&t==="dd"&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function b2(e){if(!this.isValid())return e!=null?this:NaN;var t=fs(this,"Day");return e!=null?(e=p2(e,this.localeData()),this.add(e-t,"d")):t}function E2(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function P2(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=h2(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function R2(e){return this._weekdaysParseExact?(ce(this,"_weekdaysRegex")||Xf.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(ce(this,"_weekdaysRegex")||(this._weekdaysRegex=g2),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function T2(e){return this._weekdaysParseExact?(ce(this,"_weekdaysRegex")||Xf.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(ce(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=v2),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function M2(e){return this._weekdaysParseExact?(ce(this,"_weekdaysRegex")||Xf.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(ce(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=S2),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xf(){function e(c,p){return p.length-c.length}var t=[],n=[],r=[],o=[],i,s,l,a,u;for(i=0;i<7;i++)s=Nn([2e3,1]).day(i),l=Kn(this.weekdaysMin(s,"")),a=Kn(this.weekdaysShort(s,"")),u=Kn(this.weekdays(s,"")),t.push(l),n.push(a),r.push(u),o.push(l),o.push(a),o.push(u);t.sort(e),n.sort(e),r.sort(e),o.sort(e),this._weekdaysRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function Zf(){return this.hours()%12||12}function O2(){return this.hours()||24}V("H",["HH",2],0,"hour");V("h",["hh",2],0,Zf);V("k",["kk",2],0,O2);V("hmm",0,0,function(){return""+Zf.apply(this)+$n(this.minutes(),2)});V("hmmss",0,0,function(){return""+Zf.apply(this)+$n(this.minutes(),2)+$n(this.seconds(),2)});V("Hmm",0,0,function(){return""+this.hours()+$n(this.minutes(),2)});V("Hmmss",0,0,function(){return""+this.hours()+$n(this.minutes(),2)+$n(this.seconds(),2)});function cv(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}cv("a",!0);cv("A",!1);function dv(e,t){return t._meridiemParse}B("a",dv);B("A",dv);B("H",Ie,Gf);B("h",Ie,oi);B("k",Ie,oi);B("HH",Ie,Ut);B("hh",Ie,Ut);B("kk",Ie,Ut);B("hmm",Jg);B("hmmss",ev);B("Hmm",Jg);B("Hmmss",ev);ke(["H","HH"],tt);ke(["k","kk"],function(e,t,n){var r=ie(e);t[tt]=r===24?0:r});ke(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e});ke(["h","hh"],function(e,t,n){t[tt]=ie(e),J(n).bigHour=!0});ke("hmm",function(e,t,n){var r=e.length-2;t[tt]=ie(e.substr(0,r)),t[hn]=ie(e.substr(r)),J(n).bigHour=!0});ke("hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[tt]=ie(e.substr(0,r)),t[hn]=ie(e.substr(r,2)),t[Vn]=ie(e.substr(o)),J(n).bigHour=!0});ke("Hmm",function(e,t,n){var r=e.length-2;t[tt]=ie(e.substr(0,r)),t[hn]=ie(e.substr(r))});ke("Hmmss",function(e,t,n){var r=e.length-4,o=e.length-2;t[tt]=ie(e.substr(0,r)),t[hn]=ie(e.substr(r,2)),t[Vn]=ie(e.substr(o))});function $2(e){return(e+"").toLowerCase().charAt(0)==="p"}var N2=/[ap]\.?m?\.?/i,I2=ii("Hours",!0);function D2(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var fv={calendar:_b,longDateFormat:Pb,invalidDate:Tb,ordinal:Ob,dayOfMonthOrdinalParse:$b,relativeTime:Ib,months:Xb,monthsShort:rv,week:a2,weekdays:m2,weekdaysMin:y2,weekdaysShort:uv,meridiemParse:N2},Ae={},Si={},ms;function L2(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n0;){if(o=du(i.slice(0,n).join("-")),o)return o;if(r&&r.length>=n&&L2(i,r)>=n-1)break;n--}t++}return ms}function A2(e){return!!(e&&e.match("^[^/\\\\]*$"))}function du(e){var t=null,n;if(Ae[e]===void 0&&typeof wl<"u"&&wl&&wl.exports&&A2(e))try{t=ms._abbr,n=require,n("./locale/"+e),Pr(t)}catch{Ae[e]=null}return Ae[e]}function Pr(e,t){var n;return e&&(bt(t)?n=or(e):n=qf(e,t),n?ms=n:typeof console<"u"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),ms._abbr}function qf(e,t){if(t!==null){var n,r=fv;if(t.abbr=e,Ae[e]!=null)Qg("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=Ae[e]._config;else if(t.parentLocale!=null)if(Ae[t.parentLocale]!=null)r=Ae[t.parentLocale]._config;else if(n=du(t.parentLocale),n!=null)r=n._config;else return Si[t.parentLocale]||(Si[t.parentLocale]=[]),Si[t.parentLocale].push({name:e,config:t}),null;return Ae[e]=new Bf(ud(r,t)),Si[e]&&Si[e].forEach(function(o){qf(o.name,o.config)}),Pr(e),Ae[e]}else return delete Ae[e],null}function z2(e,t){if(t!=null){var n,r,o=fv;Ae[e]!=null&&Ae[e].parentLocale!=null?Ae[e].set(ud(Ae[e]._config,t)):(r=du(e),r!=null&&(o=r._config),t=ud(o,t),r==null&&(t.abbr=e),n=new Bf(t),n.parentLocale=Ae[e],Ae[e]=n),Pr(e)}else Ae[e]!=null&&(Ae[e].parentLocale!=null?(Ae[e]=Ae[e].parentLocale,e===Pr()&&Pr(e)):Ae[e]!=null&&delete Ae[e]);return Ae[e]}function or(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ms;if(!vn(e)){if(t=du(e),t)return t;e=[e]}return F2(e)}function W2(){return cd(Ae)}function Jf(e){var t,n=e._a;return n&&J(e).overflow===-2&&(t=n[Hn]<0||n[Hn]>11?Hn:n[Rn]<1||n[Rn]>Kf(n[yt],n[Hn])?Rn:n[tt]<0||n[tt]>24||n[tt]===24&&(n[hn]!==0||n[Vn]!==0||n[Hr]!==0)?tt:n[hn]<0||n[hn]>59?hn:n[Vn]<0||n[Vn]>59?Vn:n[Hr]<0||n[Hr]>999?Hr:-1,J(e)._overflowDayOfYear&&(tRn)&&(t=Rn),J(e)._overflowWeeks&&t===-1&&(t=Yb),J(e)._overflowWeekday&&t===-1&&(t=Hb),J(e).overflow=t),e}var j2=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,B2=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,U2=/Z|[+-]\d\d(?::?\d\d)?/,Zs=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Ju=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Y2=/^\/?Date\((-?\d+)/i,H2=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,V2={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function pv(e){var t,n,r=e._i,o=j2.exec(r)||B2.exec(r),i,s,l,a,u=Zs.length,c=Ju.length;if(o){for(J(e).iso=!0,t=0,n=u;tBi(s)||e._dayOfYear===0)&&(J(e)._overflowDayOfYear=!0),n=ps(s,0,e._dayOfYear),e._a[Hn]=n.getUTCMonth(),e._a[Rn]=n.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=r[t]=o[t];for(;t<7;t++)e._a[t]=r[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[tt]===24&&e._a[hn]===0&&e._a[Vn]===0&&e._a[Hr]===0&&(e._nextDay=!0,e._a[tt]=0),e._d=(e._useUTC?ps:s2).apply(null,r),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[tt]=24),e._w&&typeof e._w.d<"u"&&e._w.d!==i&&(J(e).weekdayMismatch=!0)}}function eE(e){var t,n,r,o,i,s,l,a,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,s=4,n=mo(t.GG,e._a[yt],hs(Oe(),1,4).year),r=mo(t.W,1),o=mo(t.E,1),(o<1||o>7)&&(a=!0)):(i=e._locale._week.dow,s=e._locale._week.doy,u=hs(Oe(),i,s),n=mo(t.gg,e._a[yt],u.year),r=mo(t.w,u.week),t.d!=null?(o=t.d,(o<0||o>6)&&(a=!0)):t.e!=null?(o=t.e+i,(t.e<0||t.e>6)&&(a=!0)):o=i),r<1||r>Qn(n,i,s)?J(e)._overflowWeeks=!0:a!=null?J(e)._overflowWeekday=!0:(l=av(n,r,o,i,s),e._a[yt]=l.year,e._dayOfYear=l.dayOfYear)}z.ISO_8601=function(){};z.RFC_2822=function(){};function tp(e){if(e._f===z.ISO_8601){pv(e);return}if(e._f===z.RFC_2822){hv(e);return}e._a=[],J(e).empty=!0;var t=""+e._i,n,r,o,i,s,l=t.length,a=0,u,c;for(o=Xg(e._f,e._locale).match(Uf)||[],c=o.length,n=0;n0&&J(e).unusedInput.push(s),t=t.slice(t.indexOf(r)+r.length),a+=r.length),Ao[i]?(r?J(e).empty=!1:J(e).unusedTokens.push(i),Ub(i,r,e)):e._strict&&!r&&J(e).unusedTokens.push(i);J(e).charsLeftOver=l-a,t.length>0&&J(e).unusedInput.push(t),e._a[tt]<=12&&J(e).bigHour===!0&&e._a[tt]>0&&(J(e).bigHour=void 0),J(e).parsedDateParts=e._a.slice(0),J(e).meridiem=e._meridiem,e._a[tt]=tE(e._locale,e._a[tt],e._meridiem),u=J(e).era,u!==null&&(e._a[yt]=e._locale.erasConvertYear(u,e._a[yt])),ep(e),Jf(e)}function tE(e,t,n){var r;return n==null?t:e.meridiemHour!=null?e.meridiemHour(t,n):(e.isPM!=null&&(r=e.isPM(n),r&&t<12&&(t+=12),!r&&t===12&&(t=0)),t)}function nE(e){var t,n,r,o,i,s,l=!1,a=e._f.length;if(a===0){J(e).invalidFormat=!0,e._d=new Date(NaN);return}for(o=0;othis?this:e:ou()});function gv(e,t){var n,r;if(t.length===1&&vn(t[0])&&(t=t[0]),!t.length)return Oe();for(n=t[0],r=1;rthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _E(){if(!bt(this._isDSTShifted))return this._isDSTShifted;var e={},t;return jf(e,this),e=mv(e),e._a?(t=e._isUTC?Nn(e._a):Oe(e._a),this._isDSTShifted=this.isValid()&&hE(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function CE(){return this.isValid()?!this._isUTC:!1}function bE(){return this.isValid()?this._isUTC:!1}function Sv(){return this.isValid()?this._isUTC&&this._offset===0:!1}var EE=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,PE=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function xn(e,t){var n=e,r=null,o,i,s;return vl(e)?n={ms:e._milliseconds,d:e._days,M:e._months}:nr(e)||!isNaN(+e)?(n={},t?n[t]=+e:n.milliseconds=+e):(r=EE.exec(e))?(o=r[1]==="-"?-1:1,n={y:0,d:ie(r[Rn])*o,h:ie(r[tt])*o,m:ie(r[hn])*o,s:ie(r[Vn])*o,ms:ie(fd(r[Hr]*1e3))*o}):(r=PE.exec(e))?(o=r[1]==="-"?-1:1,n={y:Dr(r[2],o),M:Dr(r[3],o),w:Dr(r[4],o),d:Dr(r[5],o),h:Dr(r[6],o),m:Dr(r[7],o),s:Dr(r[8],o)}):n==null?n={}:typeof n=="object"&&("from"in n||"to"in n)&&(s=RE(Oe(n.from),Oe(n.to)),n={},n.ms=s.milliseconds,n.M=s.months),i=new fu(n),vl(e)&&ce(e,"_locale")&&(i._locale=e._locale),vl(e)&&ce(e,"_isValid")&&(i._isValid=e._isValid),i}xn.fn=fu.prototype;xn.invalid=pE;function Dr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Sm(e,t){var n={};return n.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function RE(e,t){var n;return e.isValid()&&t.isValid()?(t=rp(t,e),e.isBefore(t)?n=Sm(e,t):(n=Sm(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function wv(e,t){return function(n,r){var o,i;return r!==null&&!isNaN(+r)&&(Qg(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),o=xn(n,r),xv(this,o,e),this}}function xv(e,t,n,r){var o=t._milliseconds,i=fd(t._days),s=fd(t._months);e.isValid()&&(r=r??!0,s&&iv(e,fs(e,"Month")+s*n),i&&nv(e,"Date",fs(e,"Date")+i*n),o&&e._d.setTime(e._d.valueOf()+o*n),r&&z.updateOffset(e,i||s))}var TE=wv(1,"add"),ME=wv(-1,"subtract");function kv(e){return typeof e=="string"||e instanceof String}function OE(e){return Sn(e)||bs(e)||kv(e)||nr(e)||NE(e)||$E(e)||e===null||e===void 0}function $E(e){var t=Qr(e)&&!zf(e),n=!1,r=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],o,i,s=r.length;for(o=0;on.valueOf():n.valueOf()9999?gl(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):In(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",gl(n,"Z")):gl(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function GE(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",n,r,o,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",o="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(n+r+o+i)}function KE(e){e||(e=this.isUtc()?z.defaultFormatUtc:z.defaultFormat);var t=gl(this,e);return this.localeData().postformat(t)}function QE(e,t){return this.isValid()&&(Sn(e)&&e.isValid()||Oe(e).isValid())?xn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function XE(e){return this.from(Oe(),e)}function ZE(e,t){return this.isValid()&&(Sn(e)&&e.isValid()||Oe(e).isValid())?xn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function qE(e){return this.to(Oe(),e)}function _v(e){var t;return e===void 0?this._locale._abbr:(t=or(e),t!=null&&(this._locale=t),this)}var Cv=ln("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function bv(){return this._locale}var Jl=1e3,zo=60*Jl,ea=60*zo,Ev=(365*400+97)*24*ea;function Wo(e,t){return(e%t+t)%t}function Pv(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-Ev:new Date(e,t,n).valueOf()}function Rv(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-Ev:Date.UTC(e,t,n)}function JE(e){var t,n;if(e=an(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Rv:Pv,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=Wo(t+(this._isUTC?0:this.utcOffset()*zo),ea);break;case"minute":t=this._d.valueOf(),t-=Wo(t,zo);break;case"second":t=this._d.valueOf(),t-=Wo(t,Jl);break}return this._d.setTime(t),z.updateOffset(this,!0),this}function eP(e){var t,n;if(e=an(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(n=this._isUTC?Rv:Pv,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=ea-Wo(t+(this._isUTC?0:this.utcOffset()*zo),ea)-1;break;case"minute":t=this._d.valueOf(),t+=zo-Wo(t,zo)-1;break;case"second":t=this._d.valueOf(),t+=Jl-Wo(t,Jl)-1;break}return this._d.setTime(t),z.updateOffset(this,!0),this}function tP(){return this._d.valueOf()-(this._offset||0)*6e4}function nP(){return Math.floor(this.valueOf()/1e3)}function rP(){return new Date(this.valueOf())}function oP(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function iP(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function sP(){return this.isValid()?this.toISOString():null}function lP(){return Wf(this)}function aP(){return gr({},J(this))}function uP(){return J(this).overflow}function cP(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}V("N",0,0,"eraAbbr");V("NN",0,0,"eraAbbr");V("NNN",0,0,"eraAbbr");V("NNNN",0,0,"eraName");V("NNNNN",0,0,"eraNarrow");V("y",["y",1],"yo","eraYear");V("y",["yy",2],0,"eraYear");V("y",["yyy",3],0,"eraYear");V("y",["yyyy",4],0,"eraYear");B("N",op);B("NN",op);B("NNN",op);B("NNNN",xP);B("NNNNN",kP);ke(["N","NN","NNN","NNNN","NNNNN"],function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?J(n).era=o:J(n).invalidEra=e});B("y",ri);B("yy",ri);B("yyy",ri);B("yyyy",ri);B("yo",_P);ke(["y","yy","yyy","yyyy"],yt);ke(["yo"],function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[yt]=n._locale.eraYearOrdinalParse(e,o):t[yt]=parseInt(e,10)});function dP(e,t){var n,r,o,i=this._eras||or("en")._eras;for(n=0,r=i.length;n=0)return i[r]}function pP(e,t){var n=e.since<=e.until?1:-1;return t===void 0?z(e.since).year():z(e.since).year()+(t-e.offset)*n}function hP(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;ei&&(t=i),MP.call(this,e,t,n,r,o))}function MP(e,t,n,r,o){var i=av(e,t,n,r,o),s=ps(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}V("Q",0,"Qo","quarter");B("Q",Zg);ke("Q",function(e,t){t[Hn]=(ie(e)-1)*3});function OP(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}V("D",["DD",2],"Do","date");B("D",Ie,oi);B("DD",Ie,Ut);B("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});ke(["D","DD"],Rn);ke("Do",function(e,t){t[Rn]=ie(e.match(Ie)[0])});var Mv=ii("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear");B("DDD",su);B("DDDD",qg);ke(["DDD","DDDD"],function(e,t,n){n._dayOfYear=ie(e)});function $P(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}V("m",["mm",2],0,"minute");B("m",Ie,Gf);B("mm",Ie,Ut);ke(["m","mm"],hn);var NP=ii("Minutes",!1);V("s",["ss",2],0,"second");B("s",Ie,Gf);B("ss",Ie,Ut);ke(["s","ss"],Vn);var IP=ii("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)});V(0,["SS",2],0,function(){return~~(this.millisecond()/10)});V(0,["SSS",3],0,"millisecond");V(0,["SSSS",4],0,function(){return this.millisecond()*10});V(0,["SSSSS",5],0,function(){return this.millisecond()*100});V(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});V(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});V(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});V(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});B("S",su,Zg);B("SS",su,Ut);B("SSS",su,qg);var vr,Ov;for(vr="SSSS";vr.length<=9;vr+="S")B(vr,ri);function DP(e,t){t[Hr]=ie(("0."+e)*1e3)}for(vr="S";vr.length<=9;vr+="S")ke(vr,DP);Ov=ii("Milliseconds",!1);V("z",0,0,"zoneAbbr");V("zz",0,0,"zoneName");function LP(){return this._isUTC?"UTC":""}function FP(){return this._isUTC?"Coordinated Universal Time":""}var M=Es.prototype;M.add=TE;M.calendar=LE;M.clone=FE;M.diff=YE;M.endOf=eP;M.format=KE;M.from=QE;M.fromNow=XE;M.to=ZE;M.toNow=qE;M.get=Gb;M.invalidAt=uP;M.isAfter=AE;M.isBefore=zE;M.isBetween=WE;M.isSame=jE;M.isSameOrAfter=BE;M.isSameOrBefore=UE;M.isValid=lP;M.lang=Cv;M.locale=_v;M.localeData=bv;M.max=lE;M.min=sE;M.parsingFlags=aP;M.set=Kb;M.startOf=JE;M.subtract=ME;M.toArray=oP;M.toObject=iP;M.toDate=rP;M.toISOString=VE;M.inspect=GE;typeof Symbol<"u"&&Symbol.for!=null&&(M[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});M.toJSON=sP;M.toString=HE;M.unix=nP;M.valueOf=tP;M.creationData=cP;M.eraName=hP;M.eraNarrow=mP;M.eraAbbr=yP;M.eraYear=gP;M.year=tv;M.isLeapYear=Vb;M.weekYear=CP;M.isoWeekYear=bP;M.quarter=M.quarters=OP;M.month=sv;M.daysInMonth=r2;M.week=M.weeks=d2;M.isoWeek=M.isoWeeks=f2;M.weeksInYear=RP;M.weeksInWeekYear=TP;M.isoWeeksInYear=EP;M.isoWeeksInISOWeekYear=PP;M.date=Mv;M.day=M.days=b2;M.weekday=E2;M.isoWeekday=P2;M.dayOfYear=$P;M.hour=M.hours=I2;M.minute=M.minutes=NP;M.second=M.seconds=IP;M.millisecond=M.milliseconds=Ov;M.utcOffset=yE;M.utc=vE;M.local=SE;M.parseZone=wE;M.hasAlignedHourOffset=xE;M.isDST=kE;M.isLocal=CE;M.isUtcOffset=bE;M.isUtc=Sv;M.isUTC=Sv;M.zoneAbbr=LP;M.zoneName=FP;M.dates=ln("dates accessor is deprecated. Use date instead.",Mv);M.months=ln("months accessor is deprecated. Use month instead",sv);M.years=ln("years accessor is deprecated. Use year instead",tv);M.zone=ln("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gE);M.isDSTShifted=ln("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_E);function AP(e){return Oe(e*1e3)}function zP(){return Oe.apply(null,arguments).parseZone()}function $v(e){return e}var de=Bf.prototype;de.calendar=Cb;de.longDateFormat=Rb;de.invalidDate=Mb;de.ordinal=Nb;de.preparse=$v;de.postformat=$v;de.relativeTime=Db;de.pastFuture=Lb;de.set=kb;de.eras=dP;de.erasParse=fP;de.erasConvertYear=pP;de.erasAbbrRegex=SP;de.erasNameRegex=vP;de.erasNarrowRegex=wP;de.months=Jb;de.monthsShort=e2;de.monthsParse=n2;de.monthsRegex=i2;de.monthsShortRegex=o2;de.week=l2;de.firstDayOfYear=c2;de.firstDayOfWeek=u2;de.weekdays=w2;de.weekdaysMin=k2;de.weekdaysShort=x2;de.weekdaysParse=C2;de.weekdaysRegex=R2;de.weekdaysShortRegex=T2;de.weekdaysMinRegex=M2;de.isPM=$2;de.meridiem=D2;function ta(e,t,n,r){var o=or(),i=Nn().set(r,t);return o[n](i,e)}function Nv(e,t,n){if(nr(e)&&(t=e,e=void 0),e=e||"",t!=null)return ta(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=ta(e,r,n,"month");return o}function sp(e,t,n,r){typeof e=="boolean"?(nr(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,nr(t)&&(n=t,t=void 0),t=t||"");var o=or(),i=e?o._week.dow:0,s,l=[];if(n!=null)return ta(t,(n+i)%7,r,"day");for(s=0;s<7;s++)l[s]=ta(t,(s+i)%7,r,"day");return l}function WP(e,t){return Nv(e,t,"months")}function jP(e,t){return Nv(e,t,"monthsShort")}function BP(e,t,n){return sp(e,t,n,"weekdays")}function UP(e,t,n){return sp(e,t,n,"weekdaysShort")}function YP(e,t,n){return sp(e,t,n,"weekdaysMin")}Pr("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=ie(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+n}});z.lang=ln("moment.lang is deprecated. Use moment.locale instead.",Pr);z.langData=ln("moment.langData is deprecated. Use moment.localeData instead.",or);var An=Math.abs;function HP(){var e=this._data;return this._milliseconds=An(this._milliseconds),this._days=An(this._days),this._months=An(this._months),e.milliseconds=An(e.milliseconds),e.seconds=An(e.seconds),e.minutes=An(e.minutes),e.hours=An(e.hours),e.months=An(e.months),e.years=An(e.years),this}function Iv(e,t,n,r){var o=xn(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function VP(e,t){return Iv(this,e,t,1)}function GP(e,t){return Iv(this,e,t,-1)}function wm(e){return e<0?Math.floor(e):Math.ceil(e)}function KP(){var e=this._milliseconds,t=this._days,n=this._months,r=this._data,o,i,s,l,a;return e>=0&&t>=0&&n>=0||e<=0&&t<=0&&n<=0||(e+=wm(hd(n)+t)*864e5,t=0,n=0),r.milliseconds=e%1e3,o=Zt(e/1e3),r.seconds=o%60,i=Zt(o/60),r.minutes=i%60,s=Zt(i/60),r.hours=s%24,t+=Zt(s/24),a=Zt(Dv(t)),n+=a,t-=wm(hd(a)),l=Zt(n/12),n%=12,r.days=t,r.months=n,r.years=l,this}function Dv(e){return e*4800/146097}function hd(e){return e*146097/4800}function QP(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if(e=an(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+r/864e5,n=this._months+Dv(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(hd(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return t*24+r/36e5;case"minute":return t*1440+r/6e4;case"second":return t*86400+r/1e3;case"millisecond":return Math.floor(t*864e5)+r;default:throw new Error("Unknown unit "+e)}}function ir(e){return function(){return this.as(e)}}var Lv=ir("ms"),XP=ir("s"),ZP=ir("m"),qP=ir("h"),JP=ir("d"),eR=ir("w"),tR=ir("M"),nR=ir("Q"),rR=ir("y"),oR=Lv;function iR(){return xn(this)}function sR(e){return e=an(e),this.isValid()?this[e+"s"]():NaN}function oo(e){return function(){return this.isValid()?this._data[e]:NaN}}var lR=oo("milliseconds"),aR=oo("seconds"),uR=oo("minutes"),cR=oo("hours"),dR=oo("days"),fR=oo("months"),pR=oo("years");function hR(){return Zt(this.days()/7)}var Wn=Math.round,To={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function mR(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function yR(e,t,n,r){var o=xn(e).abs(),i=Wn(o.as("s")),s=Wn(o.as("m")),l=Wn(o.as("h")),a=Wn(o.as("d")),u=Wn(o.as("M")),c=Wn(o.as("w")),p=Wn(o.as("y")),d=i<=n.ss&&["s",i]||i0,d[4]=r,mR.apply(null,d)}function gR(e){return e===void 0?Wn:typeof e=="function"?(Wn=e,!0):!1}function vR(e,t){return To[e]===void 0?!1:t===void 0?To[e]:(To[e]=t,e==="s"&&(To.ss=t-1),!0)}function SR(e,t){if(!this.isValid())return this.localeData().invalidDate();var n=!1,r=To,o,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(n=e),typeof t=="object"&&(r=Object.assign({},To,t),t.s!=null&&t.ss==null&&(r.ss=t.s-1)),o=this.localeData(),i=yR(this,!n,r,o),n&&(i=o.pastFuture(+this,i)),o.postformat(i)}var ec=Math.abs;function po(e){return(e>0)-(e<0)||+e}function hu(){if(!this.isValid())return this.localeData().invalidDate();var e=ec(this._milliseconds)/1e3,t=ec(this._days),n=ec(this._months),r,o,i,s,l=this.asSeconds(),a,u,c,p;return l?(r=Zt(e/60),o=Zt(r/60),e%=60,r%=60,i=Zt(n/12),n%=12,s=e?e.toFixed(3).replace(/\.?0+$/,""):"",a=l<0?"-":"",u=po(this._months)!==po(l)?"-":"",c=po(this._days)!==po(l)?"-":"",p=po(this._milliseconds)!==po(l)?"-":"",a+"P"+(i?u+i+"Y":"")+(n?u+n+"M":"")+(t?c+t+"D":"")+(o||r||e?"T":"")+(o?p+o+"H":"")+(r?p+r+"M":"")+(e?p+s+"S":"")):"P0D"}var le=fu.prototype;le.isValid=fE;le.abs=HP;le.add=VP;le.subtract=GP;le.as=QP;le.asMilliseconds=Lv;le.asSeconds=XP;le.asMinutes=ZP;le.asHours=qP;le.asDays=JP;le.asWeeks=eR;le.asMonths=tR;le.asQuarters=nR;le.asYears=rR;le.valueOf=oR;le._bubble=KP;le.clone=iR;le.get=sR;le.milliseconds=lR;le.seconds=aR;le.minutes=uR;le.hours=cR;le.days=dR;le.weeks=hR;le.months=fR;le.years=pR;le.humanize=SR;le.toISOString=hu;le.toString=hu;le.toJSON=hu;le.locale=_v;le.localeData=bv;le.toIsoString=ln("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hu);le.lang=Cv;V("X",0,0,"unix");V("x",0,0,"valueOf");B("x",au);B("X",Wb);ke("X",function(e,t,n){n._d=new Date(parseFloat(e)*1e3)});ke("x",function(e,t,n){n._d=new Date(ie(e))});//! moment.js +z.version="2.30.1";wb(Oe);z.fn=M;z.min=aE;z.max=uE;z.now=cE;z.utc=Nn;z.unix=AP;z.months=WP;z.isDate=bs;z.locale=Pr;z.invalid=ou;z.duration=xn;z.isMoment=Sn;z.weekdays=BP;z.parseZone=zP;z.localeData=or;z.isDuration=vl;z.monthsShort=jP;z.weekdaysMin=YP;z.defineLocale=qf;z.updateLocale=z2;z.locales=W2;z.weekdaysShort=UP;z.normalizeUnits=an;z.relativeTimeRounding=gR;z.relativeTimeThreshold=vR;z.calendarFormat=DE;z.prototype=M;z.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Fv=e=>[0,6].includes(e),wR=e=>{const t=z(e),n=5;let r=t.isoWeek()-1;return Fv(t.day())?null:r*n+t.day()},xR=e=>t=>{const n=o=>t({type:"LOAD_DAY",payload:{date:e,...o}}),r=wR(e);r?fetch(`./data/chapter-bible-reading-plan/${r}.json`).then(o=>{switch(o.status){case 200:o.json().then(i=>n(i)).catch(i=>n({}));break;default:console.log("Looks like there was a problem. Status Code: "+o.status),n({})}}):n({})},kR=e=>t=>{localStorage.setItem("readDaily-planType",e),t({type:"LOAD_PLAN_TYPE",payload:e})};function _R(e){return Pe("MuiTypography",e)}ge("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const CR=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],bR=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,l={root:["root",i,e.align!=="inherit"&&`align${ee(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return $e(l,_R,s)},ER=Q("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${ee(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>x({margin:0},t.variant==="inherit"&&{font:"inherit"},t.variant!=="inherit"&&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})),xm={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},PR={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},RR=e=>PR[e]||e,TR=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiTypography"}),o=RR(r.color),i=eC(x({},r,{color:o})),{align:s="inherit",className:l,component:a,gutterBottom:u=!1,noWrap:c=!1,paragraph:p=!1,variant:d="body1",variantMapping:S=xm}=i,y=K(i,CR),v=x({},i,{align:s,color:o,className:l,component:a,gutterBottom:u,noWrap:c,paragraph:p,variant:d,variantMapping:S}),_=a||(p?"p":S[d]||xm[d])||"span",h=bR(v);return O.jsx(ER,x({as:_,ref:n,ownerState:v,className:te(h.root,l)},y))}),qt=TR;function MR(e){return Pe("MuiToolbar",e)}ge("MuiToolbar",["root","gutters","regular","dense"]);const OR=["className","component","disableGutters","variant"],$R=e=>{const{classes:t,disableGutters:n,variant:r}=e;return $e({root:["root",!n&&"gutters",r]},MR,t)},NR=Q("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>x({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),IR=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiToolbar"}),{className:o,component:i="div",disableGutters:s=!1,variant:l="regular"}=r,a=K(r,OR),u=x({},r,{component:i,disableGutters:s,variant:l}),c=$R(u);return O.jsx(NR,x({as:i,className:te(c.root,o),ref:n,ownerState:u},a))}),Av=IR;function md(e,t){return md=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},md(e,t)}function zv(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,md(e,t)}const km={disabled:!1},na=L.createContext(null);var DR=function(t){return t.scrollTop},Mi="unmounted",zr="exited",Wr="entering",yo="entered",yd="exiting",sr=function(e){zv(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,l=s&&!s.isMounting?r.enter:r.appear,a;return i.appearStatus=null,r.in?l?(a=zr,i.appearStatus=Wr):a=yo:r.unmountOnExit||r.mountOnEnter?a=Mi:a=zr,i.state={status:a},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Mi?{status:zr}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==Wr&&s!==yo&&(i=Wr):(s===Wr||s===yo)&&(i=yd)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,l;return i=s=l=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,l=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===Wr){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Ti.findDOMNode(this);s&&DR(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zr&&this.setState({status:Mi})},n.performEnter=function(o){var i=this,s=this.props.enter,l=this.context?this.context.isMounting:o,a=this.props.nodeRef?[l]:[Ti.findDOMNode(this),l],u=a[0],c=a[1],p=this.getTimeouts(),d=l?p.appear:p.enter;if(!o&&!s||km.disabled){this.safeSetState({status:yo},function(){i.props.onEntered(u)});return}this.props.onEnter(u,c),this.safeSetState({status:Wr},function(){i.props.onEntering(u,c),i.onTransitionEnd(d,function(){i.safeSetState({status:yo},function(){i.props.onEntered(u,c)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:Ti.findDOMNode(this);if(!i||km.disabled){this.safeSetState({status:zr},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:yd},function(){o.props.onExiting(l),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:zr},function(){o.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:Ti.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],u=a[0],c=a[1];this.props.addEndListener(u,c)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Mi)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var l=K(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return L.createElement(na.Provider,{value:null},typeof s=="function"?s(o,l):L.cloneElement(L.Children.only(s),l))},t}(L.Component);sr.contextType=na;sr.propTypes={};function ho(){}sr.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ho,onEntering:ho,onEntered:ho,onExit:ho,onExiting:ho,onExited:ho};sr.UNMOUNTED=Mi;sr.EXITED=zr;sr.ENTERING=Wr;sr.ENTERED=yo;sr.EXITING=yd;const Wv=sr;function LR(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lp(e,t){var n=function(i){return t&&w.isValidElement(i)?t(i):i},r=Object.create(null);return e&&w.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function FR(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 s,l={};for(var a in t){if(r[a])for(s=0;s{if(!l&&a!=null){const v=setTimeout(a,u);return()=>{clearTimeout(v)}}},[a,l,u]),O.jsx("span",{className:d,style:S,children:O.jsx("span",{className:y})})}const YR=ge("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Gt=YR,HR=["center","classes","className"];let mu=e=>e,_m,Cm,bm,Em;const gd=550,VR=80,GR=Tf(_m||(_m=mu` + 0% { + transform: scale(0); + opacity: 0.1; + } + + 100% { + transform: scale(1); + opacity: 0.3; + } +`)),KR=Tf(Cm||(Cm=mu` + 0% { + opacity: 1; + } + + 100% { + opacity: 0; + } +`)),QR=Tf(bm||(bm=mu` + 0% { + transform: scale(1); + } + + 50% { + transform: scale(0.92); + } + + 100% { + transform: scale(1); + } +`)),XR=Q("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ZR=Q(UR,{name:"MuiTouchRipple",slot:"Ripple"})(Em||(Em=mu` + 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; + } +`),Gt.rippleVisible,GR,gd,({theme:e})=>e.transitions.easing.easeInOut,Gt.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Gt.child,Gt.childLeaving,KR,gd,({theme:e})=>e.transitions.easing.easeInOut,Gt.childPulsate,QR,({theme:e})=>e.transitions.easing.easeInOut),qR=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s}=r,l=K(r,HR),[a,u]=w.useState([]),c=w.useRef(0),p=w.useRef(null);w.useEffect(()=>{p.current&&(p.current(),p.current=null)},[a]);const d=w.useRef(!1),S=w.useRef(0),y=w.useRef(null),v=w.useRef(null);w.useEffect(()=>()=>{S.current&&clearTimeout(S.current)},[]);const _=w.useCallback(g=>{const{pulsate:C,rippleX:b,rippleY:k,rippleSize:P,cb:$}=g;u(E=>[...E,O.jsx(ZR,{classes:{ripple:te(i.ripple,Gt.ripple),rippleVisible:te(i.rippleVisible,Gt.rippleVisible),ripplePulsate:te(i.ripplePulsate,Gt.ripplePulsate),child:te(i.child,Gt.child),childLeaving:te(i.childLeaving,Gt.childLeaving),childPulsate:te(i.childPulsate,Gt.childPulsate)},timeout:gd,pulsate:C,rippleX:b,rippleY:k,rippleSize:P},c.current)]),c.current+=1,p.current=$},[i]),h=w.useCallback((g={},C={},b=()=>{})=>{const{pulsate:k=!1,center:P=o||C.pulsate,fakeElement:$=!1}=C;if((g==null?void 0:g.type)==="mousedown"&&d.current){d.current=!1;return}(g==null?void 0:g.type)==="touchstart"&&(d.current=!0);const E=$?null:v.current,F=E?E.getBoundingClientRect():{width:0,height:0,left:0,top:0};let A,W,D;if(P||g===void 0||g.clientX===0&&g.clientY===0||!g.clientX&&!g.touches)A=Math.round(F.width/2),W=Math.round(F.height/2);else{const{clientX:N,clientY:U}=g.touches&&g.touches.length>0?g.touches[0]:g;A=Math.round(N-F.left),W=Math.round(U-F.top)}if(P)D=Math.sqrt((2*F.width**2+F.height**2)/3),D%2===0&&(D+=1);else{const N=Math.max(Math.abs((E?E.clientWidth:0)-A),A)*2+2,U=Math.max(Math.abs((E?E.clientHeight:0)-W),W)*2+2;D=Math.sqrt(N**2+U**2)}g!=null&&g.touches?y.current===null&&(y.current=()=>{_({pulsate:k,rippleX:A,rippleY:W,rippleSize:D,cb:b})},S.current=setTimeout(()=>{y.current&&(y.current(),y.current=null)},VR)):_({pulsate:k,rippleX:A,rippleY:W,rippleSize:D,cb:b})},[o,_]),f=w.useCallback(()=>{h({},{pulsate:!0})},[h]),m=w.useCallback((g,C)=>{if(clearTimeout(S.current),(g==null?void 0:g.type)==="touchend"&&y.current){y.current(),y.current=null,S.current=setTimeout(()=>{m(g,C)});return}y.current=null,u(b=>b.length>0?b.slice(1):b),p.current=C},[]);return w.useImperativeHandle(n,()=>({pulsate:f,start:h,stop:m}),[f,h,m]),O.jsx(XR,x({className:te(Gt.root,i.root,s),ref:v},l,{children:O.jsx(BR,{component:null,exit:!0,children:a})}))}),JR=qR;function eT(e){return Pe("MuiButtonBase",e)}const tT=ge("MuiButtonBase",["root","disabled","focusVisible"]),nT=tT,rT=["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"],oT=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=$e({root:["root",t&&"disabled",n&&"focusVisible"]},eT,o);return n&&r&&(s.root+=` ${r}`),s},iT=Q("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"},[`&.${nT.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),sT=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:l,component:a="button",disabled:u=!1,disableRipple:c=!1,disableTouchRipple:p=!1,focusRipple:d=!1,LinkComponent:S="a",onBlur:y,onClick:v,onContextMenu:_,onDragLeave:h,onFocus:f,onFocusVisible:m,onKeyDown:g,onKeyUp:C,onMouseDown:b,onMouseLeave:k,onMouseUp:P,onTouchEnd:$,onTouchMove:E,onTouchStart:F,tabIndex:A=0,TouchRippleProps:W,touchRippleRef:D,type:N}=r,U=K(r,rT),H=w.useRef(null),R=w.useRef(null),I=vt(R,D),{isFocusVisibleRef:j,onFocus:re,onBlur:Z,ref:_e}=yg(),[ne,Se]=w.useState(!1);u&&ne&&Se(!1),w.useImperativeHandle(o,()=>({focusVisible:()=>{Se(!0),H.current.focus()}}),[]);const[ae,Xe]=w.useState(!1);w.useEffect(()=>{Xe(!0)},[]);const _t=ae&&!c&&!u;w.useEffect(()=>{ne&&d&&!c&&ae&&R.current.pulsate()},[c,d,ne,ae]);function Ce(X,Fn,si=p){return Yr(li=>(Fn&&Fn(li),!si&&R.current&&R.current[X](li),!0))}const nt=Ce("start",b),fe=Ce("stop",_),oe=Ce("stop",h),q=Ce("stop",P),we=Ce("stop",X=>{ne&&X.preventDefault(),k&&k(X)}),De=Ce("start",F),lr=Ce("stop",$),Yt=Ce("stop",E),Ht=Ce("stop",X=>{Z(X),j.current===!1&&Se(!1),y&&y(X)},!1),un=Yr(X=>{H.current||(H.current=X.currentTarget),re(X),j.current===!0&&(Se(!0),m&&m(X)),f&&f(X)}),Vt=()=>{const X=H.current;return a&&a!=="button"&&!(X.tagName==="A"&&X.href)},We=w.useRef(!1),Dn=Yr(X=>{d&&!We.current&&ne&&R.current&&X.key===" "&&(We.current=!0,R.current.stop(X,()=>{R.current.start(X)})),X.target===X.currentTarget&&Vt()&&X.key===" "&&X.preventDefault(),g&&g(X),X.target===X.currentTarget&&Vt()&&X.key==="Enter"&&!u&&(X.preventDefault(),v&&v(X))}),Ct=Yr(X=>{d&&X.key===" "&&R.current&&ne&&!X.defaultPrevented&&(We.current=!1,R.current.stop(X,()=>{R.current.pulsate(X)})),C&&C(X),v&&X.target===X.currentTarget&&Vt()&&X.key===" "&&!X.defaultPrevented&&v(X)});let Le=a;Le==="button"&&(U.href||U.to)&&(Le=S);const kn={};Le==="button"?(kn.type=N===void 0?"button":N,kn.disabled=u):(!U.href&&!U.to&&(kn.role="button"),u&&(kn["aria-disabled"]=u));const ar=vt(n,_e,H),Ln=x({},r,{centerRipple:i,component:a,disabled:u,disableRipple:c,disableTouchRipple:p,focusRipple:d,tabIndex:A,focusVisible:ne}),be=oT(Ln);return O.jsxs(iT,x({as:Le,className:te(be.root,l),ownerState:Ln,onBlur:Ht,onClick:v,onContextMenu:fe,onFocus:un,onKeyDown:Dn,onKeyUp:Ct,onMouseDown:nt,onMouseLeave:we,onMouseUp:q,onDragLeave:oe,onTouchEnd:lr,onTouchMove:Yt,onTouchStart:De,ref:ar,tabIndex:u?-1:A,type:N},kn,U,{children:[s,_t?O.jsx(JR,x({ref:I,center:i},W)):null]}))}),up=sT;function lT(e){return Pe("MuiButton",e)}const aT=ge("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),qs=aT,uT=w.createContext({}),cT=uT,dT=w.createContext(void 0),fT=dT,pT=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],hT=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:s}=e,l={root:["root",i,`${i}${ee(t)}`,`size${ee(o)}`,`${i}Size${ee(o)}`,t==="inherit"&&"colorInherit",n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${ee(o)}`],endIcon:["endIcon",`iconSize${ee(o)}`]},a=$e(l,lT,s);return x({},s,a)},jv=e=>x({},e.size==="small"&&{"& > *:nth-of-type(1)":{fontSize:18}},e.size==="medium"&&{"& > *:nth-of-type(1)":{fontSize:20}},e.size==="large"&&{"& > *:nth-of-type(1)":{fontSize:22}}),mT=Q(up,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ee(n.color)}`],t[`size${ee(n.size)}`],t[`${n.variant}Size${ee(n.size)}`],n.color==="inherit"&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o=e.palette.mode==="light"?e.palette.grey[300]:e.palette.grey[800],i=e.palette.mode==="light"?e.palette.grey.A100:e.palette.grey[700];return x({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":x({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:en(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="text"&&t.color!=="inherit"&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:en(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="outlined"&&t.color!=="inherit"&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:en(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},t.variant==="contained"&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},t.variant==="contained"&&t.color!=="inherit"&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":x({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${qs.focusVisible}`]:x({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${qs.disabled}`]:x({color:(e.vars||e).palette.action.disabled},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},t.variant==="contained"&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},t.variant==="text"&&{padding:"6px 8px"},t.variant==="text"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main},t.variant==="outlined"&&{padding:"5px 15px",border:"1px solid currentColor"},t.variant==="outlined"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${en(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(n=(r=e.palette).getContrastText)==null?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},t.variant==="contained"&&t.color!=="inherit"&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},t.color==="inherit"&&{color:"inherit",borderColor:"currentColor"},t.size==="small"&&t.variant==="text"&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="text"&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="outlined"&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="outlined"&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},t.size==="small"&&t.variant==="contained"&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},t.size==="large"&&t.variant==="contained"&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${qs.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${qs.disabled}`]:{boxShadow:"none"}}),yT=Q("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ee(n.size)}`]]}})(({ownerState:e})=>x({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},jv(e))),gT=Q("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ee(n.size)}`]]}})(({ownerState:e})=>x({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},jv(e))),vT=w.forwardRef(function(t,n){const r=w.useContext(cT),o=w.useContext(fT),i=xf(r,t),s=Ne({props:i,name:"MuiButton"}),{children:l,color:a="primary",component:u="button",className:c,disabled:p=!1,disableElevation:d=!1,disableFocusRipple:S=!1,endIcon:y,focusVisibleClassName:v,fullWidth:_=!1,size:h="medium",startIcon:f,type:m,variant:g="text"}=s,C=K(s,pT),b=x({},s,{color:a,component:u,disabled:p,disableElevation:d,disableFocusRipple:S,fullWidth:_,size:h,type:m,variant:g}),k=hT(b),P=f&&O.jsx(yT,{className:k.startIcon,ownerState:b,children:f}),$=y&&O.jsx(gT,{className:k.endIcon,ownerState:b,children:y}),E=o||"";return O.jsxs(mT,x({ownerState:b,className:te(r.className,k.root,c,E),component:u,disabled:p,focusRipple:!S,focusVisibleClassName:te(k.focusVisible,v),ref:n,type:m},C,{classes:k,children:[P,l,$]}))}),cp=vT;function ST(e){return Pe("MuiIconButton",e)}const wT=ge("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),xT=wT,kT=["edge","children","className","color","disabled","disableFocusRipple","size"],_T=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,s={root:["root",n&&"disabled",r!=="default"&&`color${ee(r)}`,o&&`edge${ee(o)}`,`size${ee(i)}`]};return $e(s,ST,t)},CT=Q(up,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ee(n.color)}`],n.edge&&t[`edge${ee(n.edge)}`],t[`size${ee(n.size)}`]]}})(({theme:e,ownerState:t})=>x({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:en(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},t.edge==="start"&&{marginLeft:t.size==="small"?-3:-12},t.edge==="end"&&{marginRight:t.size==="small"?-3:-12}),({theme:e,ownerState:t})=>{var n;const r=(n=(e.vars||e).palette)==null?void 0:n[t.color];return x({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&x({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":x({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:en(r.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),t.size==="small"&&{padding:5,fontSize:e.typography.pxToRem(18)},t.size==="large"&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${xT.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),bT=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:s,color:l="default",disabled:a=!1,disableFocusRipple:u=!1,size:c="medium"}=r,p=K(r,kT),d=x({},r,{edge:o,color:l,disabled:a,disableFocusRipple:u,size:c}),S=_T(d);return O.jsx(CT,x({className:te(S.root,s),centerRipple:!0,focusRipple:!u,disabled:a,ref:n,ownerState:d},p,{children:i}))}),ra=bT;var dp={},Bv={exports:{}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Bv);var Ts=Bv.exports,tc={};function ET(e){return Pe("MuiSvgIcon",e)}ge("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const PT=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],RT=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ee(t)}`,`fontSize${ee(n)}`]};return $e(o,ET,r)},TT=Q("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ee(n.color)}`],t[`fontSize${ee(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,s,l,a,u,c,p,d,S,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||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((i=e.typography)==null||(s=i.pxToRem)==null?void 0:s.call(i,20))||"1.25rem",medium:((l=e.typography)==null||(a=l.pxToRem)==null?void 0:a.call(l,24))||"1.5rem",large:((u=e.typography)==null||(c=u.pxToRem)==null?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:(p=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?p:{action:(S=(e.vars||e).palette)==null||(S=S.action)==null?void 0:S.active,disabled:(y=(e.vars||e).palette)==null||(y=y.action)==null?void 0:y.disabled,inherit:void 0}[t.color]}}),Uv=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:l="svg",fontSize:a="medium",htmlColor:u,inheritViewBox:c=!1,titleAccess:p,viewBox:d="0 0 24 24"}=r,S=K(r,PT),y=w.isValidElement(o)&&o.type==="svg",v=x({},r,{color:s,component:l,fontSize:a,instanceFontSize:t.fontSize,inheritViewBox:c,viewBox:d,hasSvgAsChild:y}),_={};c||(_.viewBox=d);const h=RT(v);return O.jsxs(TT,x({as:l,className:te(h.root,i),focusable:"false",color:u,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:n},_,S,y&&o.props,{ownerState:v,children:[y?o.props.children:o,p?O.jsx("title",{children:p}):null]}))});Uv.muiName="SvgIcon";const Pm=Uv;function Yv(e,t){function n(r,o){return O.jsx(Pm,x({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return n.muiName=Pm.muiName,w.memo(w.forwardRef(n))}const MT={configure:e=>{vg.configure(e)}},OT=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ee,createChainedFunction:td,createSvgIcon:Yv,debounce:wf,deprecatedPropType:Nx,isMuiElement:fl,ownerDocument:$t,ownerWindow:Or,requirePropFactory:Ix,setRef:Vl,unstable_ClassNameGenerator:MT,unstable_useEnhancedEffect:er,unstable_useId:mg,unsupportedProp:Fx,useControlled:nd,useEventCallback:Yr,useForkRef:vt,useIsFocusVisible:yg},Symbol.toStringTag,{value:"Module"})),$T=f1(OT);var Rm;function Ms(){return Rm||(Rm=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=$T}(tc)),tc}var NT=Ts;Object.defineProperty(dp,"__esModule",{value:!0});var Hv=dp.default=void 0,IT=NT(Ms()),DT=ni(),LT=(0,IT.default)((0,DT.jsx)("path",{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}),"ArrowBack");Hv=dp.default=LT;var fp={},FT=Ts;Object.defineProperty(fp,"__esModule",{value:!0});var Vv=fp.default=void 0,AT=FT(Ms()),zT=ni(),WT=(0,AT.default)((0,zT.jsx)("path",{d:"m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}),"ArrowForward");Vv=fp.default=WT;var pp={},jT=Ts;Object.defineProperty(pp,"__esModule",{value:!0});var Gv=pp.default=void 0,BT=jT(Ms()),UT=ni(),YT=(0,BT.default)((0,UT.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");Gv=pp.default=YT;var hp={},HT=Ts;Object.defineProperty(hp,"__esModule",{value:!0});var mp=hp.default=void 0,VT=HT(Ms()),GT=ni(),KT=(0,VT.default)((0,GT.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}),"Info");mp=hp.default=KT;function QT(e){const{loadedDay:t,onInfoClick:n}=e;return L.createElement("div",{className:"title"},L.createElement(qt,{variant:"h5"},t.format("ddd, MMMM D")),L.createElement(qt,{variant:"subtitle2"},L.createElement(cp,{variant:"contained",color:"primary",size:"small",endIcon:L.createElement(mp,null),onClick:n},"Read Daily")))}function XT(e){return L.createElement("div",{className:"title"},L.createElement(qt,{variant:"h5"},"About Read Daily"))}function ZT(e){const{loadedDay:t,changeDay:n}=e;return L.createElement(Av,null,L.createElement(ra,{edge:"start",color:"inherit","aria-label":"menu",onClick:()=>n(t.subtract(1,"days")),size:"large"},L.createElement(Hv,null)),L.createElement(QT,{...e}),L.createElement(ra,{edge:"end",color:"inherit","aria-label":"menu",onClick:()=>n(t.add(1,"days")),size:"large"},L.createElement(Vv,null)))}function qT(e){const{onInfoClose:t}=e;return L.createElement(Av,null,L.createElement(ra,{edge:"start",color:"inherit","aria-label":"menu",size:"large"},L.createElement(mp,null)),L.createElement(XT,null),L.createElement(ra,{edge:"end",color:"inherit","aria-label":"menu",onClick:t,size:"large"},L.createElement(Gv,null)))}function JT(e){return e.showConfig?L.createElement(qT,{...e}):L.createElement(ZT,{...e})}function eM(e){return Pe("MuiCard",e)}ge("MuiCard",["root"]);const tM=["className","raised"],nM=e=>{const{classes:t}=e;return $e({root:["root"]},eM,t)},rM=Q(ru,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),oM=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiCard"}),{className:o,raised:i=!1}=r,s=K(r,tM),l=x({},r,{raised:i}),a=nM(l);return O.jsx(rM,x({className:te(a.root,o),elevation:i?8:void 0,ref:n,ownerState:l},s))}),Kv=oM;function iM(e){return Pe("MuiCardHeader",e)}const sM=ge("MuiCardHeader",["root","avatar","action","content","title","subheader"]),Tm=sM,lM=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],aM=e=>{const{classes:t}=e;return $e({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},iM,t)},uM=Q("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>x({[`& .${Tm.title}`]:t.title,[`& .${Tm.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),cM=Q("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),dM=Q("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),fM=Q("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"}),pM=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiCardHeader"}),{action:o,avatar:i,className:s,component:l="div",disableTypography:a=!1,subheader:u,subheaderTypographyProps:c,title:p,titleTypographyProps:d}=r,S=K(r,lM),y=x({},r,{component:l,disableTypography:a}),v=aM(y);let _=p;_!=null&&_.type!==qt&&!a&&(_=O.jsx(qt,x({variant:i?"body2":"h5",className:v.title,component:"span",display:"block"},d,{children:_})));let h=u;return h!=null&&h.type!==qt&&!a&&(h=O.jsx(qt,x({variant:i?"body2":"body1",className:v.subheader,color:"text.secondary",component:"span",display:"block"},c,{children:h}))),O.jsxs(uM,x({className:te(v.root,s),as:l,ref:n,ownerState:y},S,{children:[i&&O.jsx(cM,{className:v.avatar,ownerState:y,children:i}),O.jsxs(fM,{className:v.content,ownerState:y,children:[_,h]}),o&&O.jsx(dM,{className:v.action,ownerState:y,children:o})]}))}),Qv=pM;function hM(e){return Pe("MuiCardContent",e)}ge("MuiCardContent",["root"]);const mM=["className","component"],yM=e=>{const{classes:t}=e;return $e({root:["root"]},hM,t)},gM=Q("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),vM=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiCardContent"}),{className:o,component:i="div"}=r,s=K(r,mM),l=x({},r,{component:i}),a=yM(l);return O.jsx(gM,x({as:i,className:te(a.root,o),ownerState:l,ref:n},s))}),SM=vM;function wM(e){return Pe("MuiCardActions",e)}ge("MuiCardActions",["root","spacing"]);const xM=["disableSpacing","className"],kM=e=>{const{classes:t,disableSpacing:n}=e;return $e({root:["root",!n&&"spacing"]},wM,t)},_M=Q("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})(({ownerState:e})=>x({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),CM=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiCardActions"}),{disableSpacing:o=!1,className:i}=r,s=K(r,xM),l=x({},r,{disableSpacing:o}),a=kM(l);return O.jsx(_M,x({className:te(a.root,i),ownerState:l,ref:n},s))}),bM=CM;var yp={},EM=Ts;Object.defineProperty(yp,"__esModule",{value:!0});var gp=yp.default=void 0,PM=EM(Ms()),RM=ni(),TM=(0,PM.default)((0,RM.jsx)("path",{d:"M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-1 9H9V9h10v2zm-4 4H9v-2h6v2zm4-8H9V5h10v2z"}),"LibraryBooks");gp=yp.default=TM;const Xv=e=>{const t=`http://esv.org/${e.map(n=>window.encodeURIComponent(n.reading)).join(";")}/`;window.open(t,"_blank")};function MM(e){const{loadedDay:t}=e;return L.createElement(Kv,{className:"reading"},L.createElement(Qv,{title:"No readings today",disableTypography:!0,className:"reading-header"}),t&&Fv(t.day())?L.createElement(SM,{className:"reading-body"},"Consider meditating on other readings, sermon texts, or catching up on last week's readings..."):null)}function OM(e){const{title:t,reading:n}=e;return L.createElement(Kv,{className:"reading"},L.createElement(Qv,{title:t,disableTypography:!0,className:"reading-header"}),L.createElement(bM,{className:"reading-body"},n.join(", "),L.createElement($M,{reading:n})))}function $M(e){const{reading:t}=e;return L.createElement(cp,{variant:"contained",startIcon:L.createElement(gp,null),style:{marginLeft:"auto"},onClick:Xv.bind(null,[{reading:t}])},"Read")}function NM(e){const{readings:t}=e;return L.createElement("div",{style:{textAlign:"center",marginTop:20}},L.createElement(cp,{variant:"contained",startIcon:L.createElement(gp,null),onClick:Xv.bind(null,t)},"Read All Passages"))}function IM(e){const{readings:t,loadedDay:n}=e;return t&&t.length?L.createElement("div",null,t.map(r=>L.createElement(OM,{key:r.title,title:r.title,reading:r.reading})),L.createElement(NM,{readings:t})):L.createElement(MM,{loadedDay:n})}const DM=(e,t)=>{if(!t)return null;const n=(i,s)=>({title:i,reading:s}),r=[];let o=!0;switch(e){case"family":o=!1,t.family&&r.push(n("Daily Reading",[t.family]));break;case"1":t.fullot&&r.push(n("Old Testament",[t.fullot]));break;case"3:1":t.ot1&&r.push(n("Old Testament",[t.ot1]));break;case"3:2":t.ot2&&r.push(n("Old Testament",[t.ot2]));break;case"3:3":t.ot3&&r.push(n("Old Testament",[t.ot3]));break}return o&&t.psalms&&r.push(n("Psalms",[t.psalms])),o&&t.nt&&r.push(n("New Testament",[t.nt])),r};function LM({data:e,loadedDay:t,planTimeframe:n}){console.log(e,t,n);const r=DM(n,e);return L.createElement("div",{className:"content"},L.createElement(IM,{readings:r,loadedDay:t}))}function FM(e){return L.createElement("div",{className:"content"},L.createElement(ru,{style:{margin:10,marginTop:-12,padding:15},elevation:3},L.createElement(qt,{variant:"h5",component:"h3"},"Read Daily Version 2024.0"),L.createElement(qt,{variant:"body1",gutterBottom:!0},"This plan provides a path through the Scriptures that is systematic and sustainable."),L.createElement(qt,{variant:"body1",gutterBottom:!0},"The Psalms are read twice and the New Testament once in each year."),L.createElement(qt,{variant:"body1",gutterBottom:!0},"The Old Testament is divided into three portions, allowing it to be read in 1-3 years."),L.createElement(qt,{variant:"body1",gutterBottom:!0},L.createElement("b",null,L.createElement("i",null,"New in 2024:")),L.createElement("br",null),"The Family Reading Plan: an overview of the Bible in a year, with selections from OT narratives, psalms, prophecy, then portions of the Gospels, Acts, a few epistles, and selections from Revelation. Each day has a single chapter that a family could read together. Select the Family Readings option from the selections at the bottom of your screen.")))}const AM=w.createContext({}),vd=AM,zM=ge("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Mm=zM,WM=ge("MuiListItemIcon",["root","alignItemsFlexStart"]),Om=WM,jM=ge("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),$m=jM;function BM(e){return Pe("MuiMenuItem",e)}const UM=ge("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),xi=UM,YM=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],HM=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},VM=e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:s}=e,a=$e({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},BM,s);return x({},s,a)},GM=Q(up,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:HM})(({theme:e,ownerState:t})=>x({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${xi.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:en(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${xi.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:en(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${xi.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:en(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:en(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${xi.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${xi.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Mm.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Mm.inset}`]:{marginLeft:52},[`& .${$m.root}`]:{marginTop:0,marginBottom:0},[`& .${$m.inset}`]:{paddingLeft:36},[`& .${Om.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&x({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Om.root} svg`]:{fontSize:"1.25rem"}}))),KM=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:s=!1,divider:l=!1,disableGutters:a=!1,focusVisibleClassName:u,role:c="menuitem",tabIndex:p,className:d}=r,S=K(r,YM),y=w.useContext(vd),v=w.useMemo(()=>({dense:s||y.dense||!1,disableGutters:a}),[y.dense,s,a]),_=w.useRef(null);er(()=>{o&&_.current&&_.current.focus()},[o]);const h=x({},r,{dense:v.dense,divider:l,disableGutters:a}),f=VM(r),m=vt(_,n);let g;return r.disabled||(g=p!==void 0?p:-1),O.jsx(vd.Provider,{value:v,children:O.jsx(GM,x({ref:m,role:c,tabIndex:g,component:i,focusVisibleClassName:te(f.focusVisible,u),className:te(f.root,d)},S,{ownerState:h,classes:f}))})}),Nm=KM;function Im(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function oa(e,t=!1){return e&&(Im(e.value)&&e.value!==""||t&&Im(e.defaultValue)&&e.defaultValue!=="")}function QM(e){return e.startAdornment}const XM=w.createContext(void 0),vp=XM;function ZM(e){return Pe("MuiFormControl",e)}ge("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const qM=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],JM=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ee(n)}`,r&&"fullWidth"]};return $e(o,ZM,t)},eO=Q("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>x({},t.root,t[`margin${ee(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>x({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),tO=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiFormControl"}),{children:o,className:i,color:s="primary",component:l="div",disabled:a=!1,error:u=!1,focused:c,fullWidth:p=!1,hiddenLabel:d=!1,margin:S="none",required:y=!1,size:v="medium",variant:_="outlined"}=r,h=K(r,qM),f=x({},r,{color:s,component:l,disabled:a,error:u,fullWidth:p,hiddenLabel:d,margin:S,required:y,size:v,variant:_}),m=JM(f),[g,C]=w.useState(()=>{let W=!1;return o&&w.Children.forEach(o,D=>{if(!fl(D,["Input","Select"]))return;const N=fl(D,["Select"])?D.props.input:D;N&&QM(N.props)&&(W=!0)}),W}),[b,k]=w.useState(()=>{let W=!1;return o&&w.Children.forEach(o,D=>{fl(D,["Input","Select"])&&(oa(D.props,!0)||oa(D.props.inputProps,!0))&&(W=!0)}),W}),[P,$]=w.useState(!1);a&&P&&$(!1);const E=c!==void 0&&!a?c:P;let F;const A=w.useMemo(()=>({adornedStart:g,setAdornedStart:C,color:s,disabled:a,error:u,filled:b,focused:E,fullWidth:p,hiddenLabel:d,size:v,onBlur:()=>{$(!1)},onEmpty:()=>{k(!1)},onFilled:()=>{k(!0)},onFocus:()=>{$(!0)},registerEffect:F,required:y,variant:_}),[g,s,a,u,b,E,p,d,F,y,v,_]);return O.jsx(vp.Provider,{value:A,children:O.jsx(eO,x({as:l,ownerState:f,className:te(m.root,i),ref:n},h,{children:o}))})}),nO=tO;function Sp(){return w.useContext(vp)}function ia(e){return typeof e=="string"}function rO(e,t,n){return e===void 0||ia(e)?t:x({},t,{ownerState:x({},t.ownerState,n)})}function Zv(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function oO(e,t,n){return typeof e=="function"?e(t,n):e}function Dm(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function iO(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const S=te(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),y=x({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),v=x({},n,o,r);return S.length>0&&(v.className=S),Object.keys(y).length>0&&(v.style=y),{props:v,internalRef:void 0}}const s=Zv(x({},o,r)),l=Dm(r),a=Dm(o),u=t(s),c=te(u==null?void 0:u.className,n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),p=x({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=x({},u,n,a,l);return c.length>0&&(d.className=c),Object.keys(p).length>0&&(d.style=p),{props:d,internalRef:u.ref}}const sO=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Xo(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,s=K(e,sO),l=i?{}:oO(r,o),{props:a,internalRef:u}=iO(x({},s,{externalSlotProps:l})),c=vt(u,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return rO(n,x({},a,{ref:c}),o)}function lO(e){return Pe("MuiList",e)}ge("MuiList",["root","padding","dense","subheader"]);const aO=["children","className","component","dense","disablePadding","subheader"],uO=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return $e({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},lO,t)},cO=Q("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>x({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),dO=w.forwardRef(function(t,n){const r=Ne({props:t,name:"MuiList"}),{children:o,className:i,component:s="ul",dense:l=!1,disablePadding:a=!1,subheader:u}=r,c=K(r,aO),p=w.useMemo(()=>({dense:l}),[l]),d=x({},r,{component:s,dense:l,disablePadding:a}),S=uO(d);return O.jsx(vd.Provider,{value:p,children:O.jsxs(cO,x({as:s,className:te(S.root,i),ref:n,ownerState:d},c,{children:[u,o]}))})}),fO=dO,pO=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function nc(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Lm(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function qv(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function ki(e,t,n,r,o,i){let s=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const a=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!qv(l,i)||a)l=o(e,l,n);else return l.focus(),!0}return!1}const hO=w.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:s,className:l,disabledItemsFocusable:a=!1,disableListWrap:u=!1,onKeyDown:c,variant:p="selectedMenu"}=t,d=K(t,pO),S=w.useRef(null),y=w.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});er(()=>{o&&S.current.focus()},[o]),w.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(m,g)=>{const C=!S.current.style.width;if(m.clientHeight{const g=S.current,C=m.key,b=$t(g).activeElement;if(C==="ArrowDown")m.preventDefault(),ki(g,b,u,a,nc);else if(C==="ArrowUp")m.preventDefault(),ki(g,b,u,a,Lm);else if(C==="Home")m.preventDefault(),ki(g,null,u,a,nc);else if(C==="End")m.preventDefault(),ki(g,null,u,a,Lm);else if(C.length===1){const k=y.current,P=C.toLowerCase(),$=performance.now();k.keys.length>0&&($-k.lastTime>500?(k.keys=[],k.repeating=!0,k.previousKeyMatched=!0):k.repeating&&P!==k.keys[0]&&(k.repeating=!1)),k.lastTime=$,k.keys.push(P);const E=b&&!k.repeating&&qv(b,k);k.previousKeyMatched&&(E||ki(g,b,!1,a,nc,k))?m.preventDefault():k.previousKeyMatched=!1}c&&c(m)},_=vt(S,n);let h=-1;w.Children.forEach(s,(m,g)=>{if(!w.isValidElement(m)){h===g&&(h+=1,h>=s.length&&(h=-1));return}m.props.disabled||(p==="selectedMenu"&&m.props.selected||h===-1)&&(h=g),h===g&&(m.props.disabled||m.props.muiSkipListHighlight||m.type.muiSkipListHighlight)&&(h+=1,h>=s.length&&(h=-1))});const f=w.Children.map(s,(m,g)=>{if(g===h){const C={};return i&&(C.autoFocus=!0),m.props.tabIndex===void 0&&p==="selectedMenu"&&(C.tabIndex=0),w.cloneElement(m,C)}return m});return O.jsx(fO,x({role:"menu",ref:_,className:l,onKeyDown:v,tabIndex:o?0:-1},d,{children:f}))}),mO=hO,yO=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function gO(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function vO(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function SO(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||vO(e))}function wO(e){const t=[],n=[];return Array.from(e.querySelectorAll(yO)).forEach((r,o)=>{const i=gO(r);i===-1||!SO(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function xO(){return!0}function kO(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=wO,isEnabled:s=xO,open:l}=e,a=w.useRef(!1),u=w.useRef(null),c=w.useRef(null),p=w.useRef(null),d=w.useRef(null),S=w.useRef(!1),y=w.useRef(null),v=vt(t.ref,y),_=w.useRef(null);w.useEffect(()=>{!l||!y.current||(S.current=!n)},[n,l]),w.useEffect(()=>{if(!l||!y.current)return;const m=$t(y.current);return y.current.contains(m.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),S.current&&y.current.focus()),()=>{o||(p.current&&p.current.focus&&(a.current=!0,p.current.focus()),p.current=null)}},[l]),w.useEffect(()=>{if(!l||!y.current)return;const m=$t(y.current),g=k=>{_.current=k,!(r||!s()||k.key!=="Tab")&&m.activeElement===y.current&&k.shiftKey&&(a.current=!0,c.current&&c.current.focus())},C=()=>{const k=y.current;if(k===null)return;if(!m.hasFocus()||!s()||a.current){a.current=!1;return}if(k.contains(m.activeElement)||r&&m.activeElement!==u.current&&m.activeElement!==c.current)return;if(m.activeElement!==d.current)d.current=null;else if(d.current!==null)return;if(!S.current)return;let P=[];if((m.activeElement===u.current||m.activeElement===c.current)&&(P=i(y.current)),P.length>0){var $,E;const F=!!(($=_.current)!=null&&$.shiftKey&&((E=_.current)==null?void 0:E.key)==="Tab"),A=P[0],W=P[P.length-1];typeof A!="string"&&typeof W!="string"&&(F?W.focus():A.focus())}else k.focus()};m.addEventListener("focusin",C),m.addEventListener("keydown",g,!0);const b=setInterval(()=>{m.activeElement&&m.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(b),m.removeEventListener("focusin",C),m.removeEventListener("keydown",g,!0)}},[n,r,o,s,l,i]);const h=m=>{p.current===null&&(p.current=m.relatedTarget),S.current=!0,d.current=m.target;const g=t.props.onFocus;g&&g(m)},f=m=>{p.current===null&&(p.current=m.relatedTarget),S.current=!0};return O.jsxs(w.Fragment,{children:[O.jsx("div",{tabIndex:l?0:-1,onFocus:f,ref:u,"data-testid":"sentinelStart"}),w.cloneElement(t,{ref:v,onFocus:h}),O.jsx("div",{tabIndex:l?0:-1,onFocus:f,ref:c,"data-testid":"sentinelEnd"})]})}function _O(e){return typeof e=="function"?e():e}const CO=w.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,l]=w.useState(null),a=vt(w.isValidElement(r)?r.ref:null,n);if(er(()=>{i||l(_O(o)||document.body)},[o,i]),er(()=>{if(s&&!i)return Vl(n,s),()=>{Vl(n,null)}},[n,s,i]),i){if(w.isValidElement(r)){const u={ref:a};return w.cloneElement(r,u)}return O.jsx(w.Fragment,{children:r})}return O.jsx(w.Fragment,{children:s&&mf.createPortal(r,s)})});function bO(e){const t=$t(e);return t.body===e?Or(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Ui(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Fm(e){return parseInt(Or(e).getComputedStyle(e).paddingRight,10)||0}function EO(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Am(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const l=i.indexOf(s)===-1,a=!EO(s);l&&a&&Ui(s,o)})}function rc(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function PO(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(bO(r)){const s=gg($t(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Fm(r)+s}px`;const l=$t(r).querySelectorAll(".mui-fixed");[].forEach.call(l,a=>{n.push({value:a.style.paddingRight,property:"padding-right",el:a}),a.style.paddingRight=`${Fm(a)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=$t(r).body;else{const s=r.parentElement,l=Or(r);i=(s==null?void 0:s.nodeName)==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:l})=>{i?s.style.setProperty(l,i):s.style.removeProperty(l)})}}function RO(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class TO{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Ui(t.modalRef,!1);const o=RO(n);Am(n,t.mount,t.modalRef,o,!0);const i=rc(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=rc(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=PO(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=rc(this.containers,s=>s.modals.indexOf(t)!==-1),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Ui(t.modalRef,n),Am(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Ui(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function MO(e){return typeof e=="function"?e():e}function OO(e){return e?e.props.hasOwnProperty("in"):!1}const $O=new TO;function NO(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=$O,closeAfterTransition:i=!1,onTransitionEnter:s,onTransitionExited:l,children:a,onClose:u,open:c,rootRef:p}=e,d=w.useRef({}),S=w.useRef(null),y=w.useRef(null),v=vt(y,p),[_,h]=w.useState(!c),f=OO(a);let m=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(m=!1);const g=()=>$t(S.current),C=()=>(d.current.modalRef=y.current,d.current.mount=S.current,d.current),b=()=>{o.mount(C(),{disableScrollLock:r}),y.current&&(y.current.scrollTop=0)},k=Yr(()=>{const U=MO(t)||g().body;o.add(C(),U),y.current&&b()}),P=w.useCallback(()=>o.isTopModal(C()),[o]),$=Yr(U=>{S.current=U,U&&(c&&P()?b():y.current&&Ui(y.current,m))}),E=w.useCallback(()=>{o.remove(C(),m)},[m,o]);w.useEffect(()=>()=>{E()},[E]),w.useEffect(()=>{c?k():(!f||!i)&&E()},[c,E,f,i,k]);const F=U=>H=>{var R;(R=U.onKeyDown)==null||R.call(U,H),!(H.key!=="Escape"||H.which===229||!P())&&(n||(H.stopPropagation(),u&&u(H,"escapeKeyDown")))},A=U=>H=>{var R;(R=U.onClick)==null||R.call(U,H),H.target===H.currentTarget&&u&&u(H,"backdropClick")};return{getRootProps:(U={})=>{const H=Zv(e);delete H.onTransitionEnter,delete H.onTransitionExited;const R=x({},H,U);return x({role:"presentation"},R,{onKeyDown:F(R),ref:v})},getBackdropProps:(U={})=>{const H=U;return x({"aria-hidden":!0},H,{onClick:A(H),open:c})},getTransitionProps:()=>{const U=()=>{h(!1),s&&s()},H=()=>{h(!0),l&&l(),i&&E()};return{onEnter:td(U,a==null?void 0:a.props.onEnter),onExited:td(H,a==null?void 0:a.props.onExited)}},rootRef:v,portalRef:$,isTopModal:P,exited:_,hasTransition:f}}const IO=["onChange","maxRows","minRows","style","value"];function Js(e){return parseInt(e,10)||0}const DO={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function zm(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflow}const LO=w.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:s,value:l}=t,a=K(t,IO),{current:u}=w.useRef(l!=null),c=w.useRef(null),p=vt(n,c),d=w.useRef(null),S=w.useRef(0),[y,v]=w.useState({outerHeightStyle:0}),_=w.useCallback(()=>{const g=c.current,b=Or(g).getComputedStyle(g);if(b.width==="0px")return{outerHeightStyle:0};const k=d.current;k.style.width=b.width,k.value=g.value||t.placeholder||"x",k.value.slice(-1)===` +`&&(k.value+=" ");const P=b.boxSizing,$=Js(b.paddingBottom)+Js(b.paddingTop),E=Js(b.borderBottomWidth)+Js(b.borderTopWidth),F=k.scrollHeight;k.value="x";const A=k.scrollHeight;let W=F;i&&(W=Math.max(Number(i)*A,W)),o&&(W=Math.min(Number(o)*A,W)),W=Math.max(W,A);const D=W+(P==="border-box"?$+E:0),N=Math.abs(W-F)<=1;return{outerHeightStyle:D,overflow:N}},[o,i,t.placeholder]),h=(g,C)=>{const{outerHeightStyle:b,overflow:k}=C;return S.current<20&&(b>0&&Math.abs((g.outerHeightStyle||0)-b)>1||g.overflow!==k)?(S.current+=1,{overflow:k,outerHeightStyle:b}):g},f=w.useCallback(()=>{const g=_();zm(g)||v(C=>h(C,g))},[_]);er(()=>{const g=()=>{const F=_();zm(F)||mf.flushSync(()=>{v(A=>h(A,F))})},C=()=>{S.current=0,g()};let b;const k=wf(C),P=c.current,$=Or(P);$.addEventListener("resize",k);let E;return typeof ResizeObserver<"u"&&(E=new ResizeObserver(C),E.observe(P)),()=>{k.clear(),cancelAnimationFrame(b),$.removeEventListener("resize",k),E&&E.disconnect()}},[_]),er(()=>{f()}),w.useEffect(()=>{S.current=0},[l]);const m=g=>{S.current=0,u||f(),r&&r(g)};return O.jsxs(w.Fragment,{children:[O.jsx("textarea",x({value:l,onChange:m,ref:p,rows:i,style:x({height:y.outerHeightStyle,overflow:y.overflow?"hidden":void 0},s)},a)),O.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:d,tabIndex:-1,style:x({},DO.shadow,s,{paddingTop:0,paddingBottom:0})})]})}),Jv=e=>e.scrollTop;function sa(e,t){var n,r;const{timeout:o,easing:i,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:s.transitionDelay}}const FO=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Sd(e){return`scale(${e}, ${e**2})`}const AO={entering:{opacity:1,transform:Sd(1)},entered:{opacity:1,transform:"none"}},oc=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),e1=w.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:l,onEnter:a,onEntered:u,onEntering:c,onExit:p,onExited:d,onExiting:S,style:y,timeout:v="auto",TransitionComponent:_=Wv}=t,h=K(t,FO),f=w.useRef(),m=w.useRef(),g=Af(),C=w.useRef(null),b=vt(C,i.ref,n),k=N=>U=>{if(N){const H=C.current;U===void 0?N(H):N(H,U)}},P=k(c),$=k((N,U)=>{Jv(N);const{duration:H,delay:R,easing:I}=sa({style:y,timeout:v,easing:s},{mode:"enter"});let j;v==="auto"?(j=g.transitions.getAutoHeightDuration(N.clientHeight),m.current=j):j=H,N.style.transition=[g.transitions.create("opacity",{duration:j,delay:R}),g.transitions.create("transform",{duration:oc?j:j*.666,delay:R,easing:I})].join(","),a&&a(N,U)}),E=k(u),F=k(S),A=k(N=>{const{duration:U,delay:H,easing:R}=sa({style:y,timeout:v,easing:s},{mode:"exit"});let I;v==="auto"?(I=g.transitions.getAutoHeightDuration(N.clientHeight),m.current=I):I=U,N.style.transition=[g.transitions.create("opacity",{duration:I,delay:H}),g.transitions.create("transform",{duration:oc?I:I*.666,delay:oc?H:H||I*.333,easing:R})].join(","),N.style.opacity=0,N.style.transform=Sd(.75),p&&p(N)}),W=k(d),D=N=>{v==="auto"&&(f.current=setTimeout(N,m.current||0)),r&&r(C.current,N)};return w.useEffect(()=>()=>{clearTimeout(f.current)},[]),O.jsx(_,x({appear:o,in:l,nodeRef:C,onEnter:$,onEntered:E,onEntering:P,onExit:A,onExited:W,onExiting:F,addEndListener:D,timeout:v==="auto"?null:v},h,{children:(N,U)=>w.cloneElement(i,x({style:x({opacity:0,transform:Sd(.75),visibility:N==="exited"&&!l?"hidden":void 0},AO[N],y,i.props.style),ref:b},U))}))});e1.muiSupportAuto=!0;const zO=e1,WO=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],jO={entering:{opacity:1},entered:{opacity:1}},BO=w.forwardRef(function(t,n){const r=Af(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:l,easing:a,in:u,onEnter:c,onEntered:p,onEntering:d,onExit:S,onExited:y,onExiting:v,style:_,timeout:h=o,TransitionComponent:f=Wv}=t,m=K(t,WO),g=w.useRef(null),C=vt(g,l.ref,n),b=D=>N=>{if(D){const U=g.current;N===void 0?D(U):D(U,N)}},k=b(d),P=b((D,N)=>{Jv(D);const U=sa({style:_,timeout:h,easing:a},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",U),D.style.transition=r.transitions.create("opacity",U),c&&c(D,N)}),$=b(p),E=b(v),F=b(D=>{const N=sa({style:_,timeout:h,easing:a},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",N),D.style.transition=r.transitions.create("opacity",N),S&&S(D)}),A=b(y),W=D=>{i&&i(g.current,D)};return O.jsx(f,x({appear:s,in:u,nodeRef:g,onEnter:P,onEntered:$,onEntering:k,onExit:F,onExited:A,onExiting:E,addEndListener:W,timeout:h},m,{children:(D,N)=>w.cloneElement(l,x({style:x({opacity:0,visibility:D==="exited"&&!u?"hidden":void 0},jO[D],_,l.props.style),ref:C},N))}))}),UO=BO;function YO(e){return Pe("MuiBackdrop",e)}ge("MuiBackdrop",["root","invisible"]);const HO=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],VO=e=>{const{classes:t,invisible:n}=e;return $e({root:["root",n&&"invisible"]},YO,t)},GO=Q("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>x({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),KO=w.forwardRef(function(t,n){var r,o,i;const s=Ne({props:t,name:"MuiBackdrop"}),{children:l,className:a,component:u="div",components:c={},componentsProps:p={},invisible:d=!1,open:S,slotProps:y={},slots:v={},TransitionComponent:_=UO,transitionDuration:h}=s,f=K(s,HO),m=x({},s,{component:u,invisible:d}),g=VO(m),C=(r=y.root)!=null?r:p.root;return O.jsx(_,x({in:S,timeout:h},f,{children:O.jsx(GO,x({"aria-hidden":!0},C,{as:(o=(i=v.root)!=null?i:c.Root)!=null?o:u,className:te(g.root,a,C==null?void 0:C.className),ownerState:x({},m,C==null?void 0:C.ownerState),classes:g,ref:n,children:l}))}))}),QO=KO;function XO(e){return Pe("MuiModal",e)}ge("MuiModal",["root","hidden","backdrop"]);const ZO=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],qO=e=>{const{open:t,exited:n,classes:r}=e;return $e({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},XO,r)},JO=Q("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>x({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),e$=Q(QO,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),t$=w.forwardRef(function(t,n){var r,o,i,s,l,a;const u=Ne({name:"MuiModal",props:t}),{BackdropComponent:c=e$,BackdropProps:p,className:d,closeAfterTransition:S=!1,children:y,container:v,component:_,components:h={},componentsProps:f={},disableAutoFocus:m=!1,disableEnforceFocus:g=!1,disableEscapeKeyDown:C=!1,disablePortal:b=!1,disableRestoreFocus:k=!1,disableScrollLock:P=!1,hideBackdrop:$=!1,keepMounted:E=!1,onBackdropClick:F,open:A,slotProps:W,slots:D}=u,N=K(u,ZO),U=x({},u,{closeAfterTransition:S,disableAutoFocus:m,disableEnforceFocus:g,disableEscapeKeyDown:C,disablePortal:b,disableRestoreFocus:k,disableScrollLock:P,hideBackdrop:$,keepMounted:E}),{getRootProps:H,getBackdropProps:R,getTransitionProps:I,portalRef:j,isTopModal:re,exited:Z,hasTransition:_e}=NO(x({},U,{rootRef:n})),ne=x({},U,{exited:Z}),Se=qO(ne),ae={};if(y.props.tabIndex===void 0&&(ae.tabIndex="-1"),_e){const{onEnter:q,onExited:we}=I();ae.onEnter=q,ae.onExited=we}const Xe=(r=(o=D==null?void 0:D.root)!=null?o:h.Root)!=null?r:JO,_t=(i=(s=D==null?void 0:D.backdrop)!=null?s:h.Backdrop)!=null?i:c,Ce=(l=W==null?void 0:W.root)!=null?l:f.root,nt=(a=W==null?void 0:W.backdrop)!=null?a:f.backdrop,fe=Xo({elementType:Xe,externalSlotProps:Ce,externalForwardedProps:N,getSlotProps:H,additionalProps:{ref:n,as:_},ownerState:ne,className:te(d,Ce==null?void 0:Ce.className,Se==null?void 0:Se.root,!ne.open&&ne.exited&&(Se==null?void 0:Se.hidden))}),oe=Xo({elementType:_t,externalSlotProps:nt,additionalProps:p,getSlotProps:q=>R(x({},q,{onClick:we=>{F&&F(we),q!=null&&q.onClick&&q.onClick(we)}})),className:te(nt==null?void 0:nt.className,p==null?void 0:p.className,Se==null?void 0:Se.backdrop),ownerState:ne});return!E&&!A&&(!_e||Z)?null:O.jsx(CO,{ref:j,container:v,disablePortal:b,children:O.jsxs(Xe,x({},fe,{children:[!$&&c?O.jsx(_t,x({},oe)):null,O.jsx(kO,{disableEnforceFocus:g,disableAutoFocus:m,disableRestoreFocus:k,isEnabled:re,open:A,children:w.cloneElement(y,ae)})]}))})}),n$=t$;function r$(e){return Pe("MuiPopover",e)}ge("MuiPopover",["root","paper"]);const o$=["onEntering"],i$=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],s$=["slotProps"];function Wm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function jm(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Bm(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function ic(e){return typeof e=="function"?e():e}const l$=e=>{const{classes:t}=e;return $e({root:["root"],paper:["paper"]},r$,t)},a$=Q(n$,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),t1=Q(ru,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),u$=w.forwardRef(function(t,n){var r,o,i;const s=Ne({props:t,name:"MuiPopover"}),{action:l,anchorEl:a,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:p="anchorEl",children:d,className:S,container:y,elevation:v=8,marginThreshold:_=16,open:h,PaperProps:f={},slots:m,slotProps:g,transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:b=zO,transitionDuration:k="auto",TransitionProps:{onEntering:P}={},disableScrollLock:$=!1}=s,E=K(s.TransitionProps,o$),F=K(s,i$),A=(r=g==null?void 0:g.paper)!=null?r:f,W=w.useRef(),D=vt(W,A.ref),N=x({},s,{anchorOrigin:u,anchorReference:p,elevation:v,marginThreshold:_,externalPaperSlotProps:A,transformOrigin:C,TransitionComponent:b,transitionDuration:k,TransitionProps:E}),U=l$(N),H=w.useCallback(()=>{if(p==="anchorPosition")return c;const q=ic(a),De=(q&&q.nodeType===1?q:$t(W.current).body).getBoundingClientRect();return{top:De.top+Wm(De,u.vertical),left:De.left+jm(De,u.horizontal)}},[a,u.horizontal,u.vertical,c,p]),R=w.useCallback(q=>({vertical:Wm(q,C.vertical),horizontal:jm(q,C.horizontal)}),[C.horizontal,C.vertical]),I=w.useCallback(q=>{const we={width:q.offsetWidth,height:q.offsetHeight},De=R(we);if(p==="none")return{top:null,left:null,transformOrigin:Bm(De)};const lr=H();let Yt=lr.top-De.vertical,Ht=lr.left-De.horizontal;const un=Yt+we.height,Vt=Ht+we.width,We=Or(ic(a)),Dn=We.innerHeight-_,Ct=We.innerWidth-_;if(_!==null&&Yt<_){const Le=Yt-_;Yt-=Le,De.vertical+=Le}else if(_!==null&&un>Dn){const Le=un-Dn;Yt-=Le,De.vertical+=Le}if(_!==null&&Ht<_){const Le=Ht-_;Ht-=Le,De.horizontal+=Le}else if(Vt>Ct){const Le=Vt-Ct;Ht-=Le,De.horizontal+=Le}return{top:`${Math.round(Yt)}px`,left:`${Math.round(Ht)}px`,transformOrigin:Bm(De)}},[a,p,H,R,_]),[j,re]=w.useState(h),Z=w.useCallback(()=>{const q=W.current;if(!q)return;const we=I(q);we.top!==null&&(q.style.top=we.top),we.left!==null&&(q.style.left=we.left),q.style.transformOrigin=we.transformOrigin,re(!0)},[I]);w.useEffect(()=>($&&window.addEventListener("scroll",Z),()=>window.removeEventListener("scroll",Z)),[a,$,Z]);const _e=(q,we)=>{P&&P(q,we),Z()},ne=()=>{re(!1)};w.useEffect(()=>{h&&Z()}),w.useImperativeHandle(l,()=>h?{updatePosition:()=>{Z()}}:null,[h,Z]),w.useEffect(()=>{if(!h)return;const q=wf(()=>{Z()}),we=Or(a);return we.addEventListener("resize",q),()=>{q.clear(),we.removeEventListener("resize",q)}},[a,h,Z]);let Se=k;k==="auto"&&!b.muiSupportAuto&&(Se=void 0);const ae=y||(a?$t(ic(a)).body:void 0),Xe=(o=m==null?void 0:m.root)!=null?o:a$,_t=(i=m==null?void 0:m.paper)!=null?i:t1,Ce=Xo({elementType:_t,externalSlotProps:x({},A,{style:j?A.style:x({},A.style,{opacity:0})}),additionalProps:{elevation:v,ref:D},ownerState:N,className:te(U.paper,A==null?void 0:A.className)}),nt=Xo({elementType:Xe,externalSlotProps:(g==null?void 0:g.root)||{},externalForwardedProps:F,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:ae,open:h},ownerState:N,className:te(U.root,S)}),{slotProps:fe}=nt,oe=K(nt,s$);return O.jsx(Xe,x({},oe,!ia(Xe)&&{slotProps:fe,disableScrollLock:$},{children:O.jsx(b,x({appear:!0,in:h,onEntering:_e,onExited:ne,timeout:Se},E,{children:O.jsx(_t,x({},Ce,{children:d}))}))}))}),c$=u$;function d$(e){return Pe("MuiMenu",e)}ge("MuiMenu",["root","paper","list"]);const f$=["onEntering"],p$=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],h$={vertical:"top",horizontal:"right"},m$={vertical:"top",horizontal:"left"},y$=e=>{const{classes:t}=e;return $e({root:["root"],paper:["paper"],list:["list"]},d$,t)},g$=Q(c$,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),v$=Q(t1,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),S$=Q(mO,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),w$=w.forwardRef(function(t,n){var r,o;const i=Ne({props:t,name:"MuiMenu"}),{autoFocus:s=!0,children:l,className:a,disableAutoFocusItem:u=!1,MenuListProps:c={},onClose:p,open:d,PaperProps:S={},PopoverClasses:y,transitionDuration:v="auto",TransitionProps:{onEntering:_}={},variant:h="selectedMenu",slots:f={},slotProps:m={}}=i,g=K(i.TransitionProps,f$),C=K(i,p$),b=Af(),k=b.direction==="rtl",P=x({},i,{autoFocus:s,disableAutoFocusItem:u,MenuListProps:c,onEntering:_,PaperProps:S,transitionDuration:v,TransitionProps:g,variant:h}),$=y$(P),E=s&&!u&&d,F=w.useRef(null),A=(I,j)=>{F.current&&F.current.adjustStyleForScrollbar(I,b),_&&_(I,j)},W=I=>{I.key==="Tab"&&(I.preventDefault(),p&&p(I,"tabKeyDown"))};let D=-1;w.Children.map(l,(I,j)=>{w.isValidElement(I)&&(I.props.disabled||(h==="selectedMenu"&&I.props.selected||D===-1)&&(D=j))});const N=(r=f.paper)!=null?r:v$,U=(o=m.paper)!=null?o:S,H=Xo({elementType:f.root,externalSlotProps:m.root,ownerState:P,className:[$.root,a]}),R=Xo({elementType:N,externalSlotProps:U,ownerState:P,className:$.paper});return O.jsx(g$,x({onClose:p,anchorOrigin:{vertical:"bottom",horizontal:k?"right":"left"},transformOrigin:k?h$:m$,slots:{paper:N,root:f.root},slotProps:{root:H,paper:R},open:d,ref:n,transitionDuration:v,TransitionProps:x({onEntering:A},g),ownerState:P},C,{classes:y,children:O.jsx(S$,x({onKeyDown:W,actions:F,autoFocus:s&&(D===-1||u),autoFocusItem:E,variant:h},c,{className:te($.list,c.className),children:l}))}))}),x$=w$;function k$(e){return Pe("MuiNativeSelect",e)}const _$=ge("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),wp=_$,C$=["className","disabled","error","IconComponent","inputRef","variant"],b$=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${ee(n)}`,i&&"iconOpen",r&&"disabled"]};return $e(l,k$,t)},n1=({ownerState:e,theme:t})=>x({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":x({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${wp.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),E$=Q("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:wn,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${wp.multiple}`]:t.multiple}]}})(n1),r1=({ownerState:e,theme:t})=>x({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${wp.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),P$=Q("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ee(n.variant)}`],n.open&&t.iconOpen]}})(r1),R$=w.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:s,inputRef:l,variant:a="standard"}=t,u=K(t,C$),c=x({},t,{disabled:o,variant:a,error:i}),p=b$(c);return O.jsxs(w.Fragment,{children:[O.jsx(E$,x({ownerState:c,className:te(p.select,r),disabled:o,ref:l||n},u)),t.multiple?null:O.jsx(P$,{as:s,ownerState:c,className:p.icon})]})}),T$=R$;function M$(e){return Pe("MuiSelect",e)}const O$=ge("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),_i=O$;var Um;const $$=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],N$=Q("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${_i.select}`]:t.select},{[`&.${_i.select}`]:t[n.variant]},{[`&.${_i.error}`]:t.error},{[`&.${_i.multiple}`]:t.multiple}]}})(n1,{[`&.${_i.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),I$=Q("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ee(n.variant)}`],n.open&&t.iconOpen]}})(r1),D$=Q("input",{shouldForwardProp:e=>sb(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function Ym(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function L$(e){return e==null||typeof e=="string"&&!e.trim()}const F$=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:s}=e,l={select:["select",n,r&&"disabled",o&&"multiple",s&&"error"],icon:["icon",`icon${ee(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return $e(l,M$,t)},A$=w.forwardRef(function(t,n){var r;const{"aria-describedby":o,"aria-label":i,autoFocus:s,autoWidth:l,children:a,className:u,defaultOpen:c,defaultValue:p,disabled:d,displayEmpty:S,error:y=!1,IconComponent:v,inputRef:_,labelId:h,MenuProps:f={},multiple:m,name:g,onBlur:C,onChange:b,onClose:k,onFocus:P,onOpen:$,open:E,readOnly:F,renderValue:A,SelectDisplayProps:W={},tabIndex:D,value:N,variant:U="standard"}=t,H=K(t,$$),[R,I]=nd({controlled:N,default:p,name:"Select"}),[j,re]=nd({controlled:E,default:c,name:"Select"}),Z=w.useRef(null),_e=w.useRef(null),[ne,Se]=w.useState(null),{current:ae}=w.useRef(E!=null),[Xe,_t]=w.useState(),Ce=vt(n,_),nt=w.useCallback(G=>{_e.current=G,G&&Se(G)},[]),fe=ne==null?void 0:ne.parentNode;w.useImperativeHandle(Ce,()=>({focus:()=>{_e.current.focus()},node:Z.current,value:R}),[R]),w.useEffect(()=>{c&&j&&ne&&!ae&&(_t(l?null:fe.clientWidth),_e.current.focus())},[ne,l]),w.useEffect(()=>{s&&_e.current.focus()},[s]),w.useEffect(()=>{if(!h)return;const G=$t(_e.current).getElementById(h);if(G){const Re=()=>{getSelection().isCollapsed&&_e.current.focus()};return G.addEventListener("click",Re),()=>{G.removeEventListener("click",Re)}}},[h]);const oe=(G,Re)=>{G?$&&$(Re):k&&k(Re),ae||(_t(l?null:fe.clientWidth),re(G))},q=G=>{G.button===0&&(G.preventDefault(),_e.current.focus(),oe(!0,G))},we=G=>{oe(!1,G)},De=w.Children.toArray(a),lr=G=>{const Re=De.find(st=>st.props.value===G.target.value);Re!==void 0&&(I(Re.props.value),b&&b(G,Re))},Yt=G=>Re=>{let st;if(Re.currentTarget.hasAttribute("tabindex")){if(m){st=Array.isArray(R)?R.slice():[];const io=R.indexOf(G.props.value);io===-1?st.push(G.props.value):st.splice(io,1)}else st=G.props.value;if(G.props.onClick&&G.props.onClick(Re),R!==st&&(I(st),b)){const io=Re.nativeEvent||Re,Cp=new io.constructor(io.type,io);Object.defineProperty(Cp,"target",{writable:!0,value:{value:st,name:g}}),b(Cp,G)}m||oe(!1,Re)}},Ht=G=>{F||[" ","ArrowUp","ArrowDown","Enter"].indexOf(G.key)!==-1&&(G.preventDefault(),oe(!0,G))},un=ne!==null&&j,Vt=G=>{!un&&C&&(Object.defineProperty(G,"target",{writable:!0,value:{value:R,name:g}}),C(G))};delete H["aria-invalid"];let We,Dn;const Ct=[];let Le=!1;(oa({value:R})||S)&&(A?We=A(R):Le=!0);const kn=De.map(G=>{if(!w.isValidElement(G))return null;let Re;if(m){if(!Array.isArray(R))throw new Error(Mr(2));Re=R.some(st=>Ym(st,G.props.value)),Re&&Le&&Ct.push(G.props.children)}else Re=Ym(R,G.props.value),Re&&Le&&(Dn=G.props.children);return w.cloneElement(G,{"aria-selected":Re?"true":"false",onClick:Yt(G),onKeyUp:st=>{st.key===" "&&st.preventDefault(),G.props.onKeyUp&&G.props.onKeyUp(st)},role:"option",selected:Re,value:void 0,"data-value":G.props.value})});Le&&(m?Ct.length===0?We=null:We=Ct.reduce((G,Re,st)=>(G.push(Re),st(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const W$=Yv(O.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown");function j$(e){return O.jsx(Z_,x({},e,{defaultTheme:nu,themeId:Qo}))}function B$(e){return Pe("MuiInputBase",e)}const U$=ge("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Zo=U$,Y$=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],yu=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ee(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},gu=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},H$=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:s,formControl:l,fullWidth:a,hiddenLabel:u,multiline:c,readOnly:p,size:d,startAdornment:S,type:y}=e,v={root:["root",`color${ee(n)}`,r&&"disabled",o&&"error",a&&"fullWidth",s&&"focused",l&&"formControl",d&&d!=="medium"&&`size${ee(d)}`,c&&"multiline",S&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled",y==="search"&&"inputTypeSearch",c&&"inputMultiline",d==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",S&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return $e(v,B$,t)},vu=Q("div",{name:"MuiInputBase",slot:"Root",overridesResolver:yu})(({theme:e,ownerState:t})=>x({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Zo.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&x({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Su=Q("input",{name:"MuiInputBase",slot:"Input",overridesResolver:gu})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=x({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return x({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Zo.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Zo.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),V$=O.jsx(j$,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),G$=w.forwardRef(function(t,n){var r;const o=Ne({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:s,autoFocus:l,className:a,components:u={},componentsProps:c={},defaultValue:p,disabled:d,disableInjectingGlobalStyles:S,endAdornment:y,fullWidth:v=!1,id:_,inputComponent:h="input",inputProps:f={},inputRef:m,maxRows:g,minRows:C,multiline:b=!1,name:k,onBlur:P,onChange:$,onClick:E,onFocus:F,onKeyDown:A,onKeyUp:W,placeholder:D,readOnly:N,renderSuffix:U,rows:H,slotProps:R={},slots:I={},startAdornment:j,type:re="text",value:Z}=o,_e=K(o,Y$),ne=f.value!=null?f.value:Z,{current:Se}=w.useRef(ne!=null),ae=w.useRef(),Xe=w.useCallback(be=>{},[]),_t=vt(ae,m,f.ref,Xe),[Ce,nt]=w.useState(!1),fe=Sp(),oe=xp({props:o,muiFormControl:fe,states:["color","disabled","error","hiddenLabel","size","required","filled"]});oe.focused=fe?fe.focused:Ce,w.useEffect(()=>{!fe&&d&&Ce&&(nt(!1),P&&P())},[fe,d,Ce,P]);const q=fe&&fe.onFilled,we=fe&&fe.onEmpty,De=w.useCallback(be=>{oa(be)?q&&q():we&&we()},[q,we]);er(()=>{Se&&De({value:ne})},[ne,De,Se]);const lr=be=>{if(oe.disabled){be.stopPropagation();return}F&&F(be),f.onFocus&&f.onFocus(be),fe&&fe.onFocus?fe.onFocus(be):nt(!0)},Yt=be=>{P&&P(be),f.onBlur&&f.onBlur(be),fe&&fe.onBlur?fe.onBlur(be):nt(!1)},Ht=(be,...X)=>{if(!Se){const Fn=be.target||ae.current;if(Fn==null)throw new Error(Mr(1));De({value:Fn.value})}f.onChange&&f.onChange(be,...X),$&&$(be,...X)};w.useEffect(()=>{De(ae.current)},[]);const un=be=>{ae.current&&be.currentTarget===be.target&&ae.current.focus(),E&&E(be)};let Vt=h,We=f;b&&Vt==="input"&&(H?We=x({type:void 0,minRows:H,maxRows:H},We):We=x({type:void 0,maxRows:g,minRows:C},We),Vt=LO);const Dn=be=>{De(be.animationName==="mui-auto-fill-cancel"?ae.current:{value:"x"})};w.useEffect(()=>{fe&&fe.setAdornedStart(!!j)},[fe,j]);const Ct=x({},o,{color:oe.color||"primary",disabled:oe.disabled,endAdornment:y,error:oe.error,focused:oe.focused,formControl:fe,fullWidth:v,hiddenLabel:oe.hiddenLabel,multiline:b,size:oe.size,startAdornment:j,type:re}),Le=H$(Ct),kn=I.root||u.Root||vu,ar=R.root||c.root||{},Ln=I.input||u.Input||Su;return We=x({},We,(r=R.input)!=null?r:c.input),O.jsxs(w.Fragment,{children:[!S&&V$,O.jsxs(kn,x({},ar,!ia(kn)&&{ownerState:x({},Ct,ar.ownerState)},{ref:n,onClick:un},_e,{className:te(Le.root,ar.className,a,N&&"MuiInputBase-readOnly"),children:[j,O.jsx(vp.Provider,{value:null,children:O.jsx(Ln,x({ownerState:Ct,"aria-invalid":oe.error,"aria-describedby":i,autoComplete:s,autoFocus:l,defaultValue:p,disabled:oe.disabled,id:_,onAnimationStart:Dn,name:k,placeholder:D,readOnly:N,required:oe.required,rows:H,value:ne,onKeyDown:A,onKeyUp:W,type:re},We,!ia(Ln)&&{as:Vt,ownerState:x({},Ct,We.ownerState)},{ref:_t,className:te(Le.input,We.className,N&&"MuiInputBase-readOnly"),onBlur:Yt,onChange:Ht,onFocus:lr}))}),y,U?U(x({},oe,{startAdornment:j})):null]}))]})}),kp=G$;function K$(e){return Pe("MuiInput",e)}const Q$=x({},Zo,ge("MuiInput",["root","underline","input"])),Ci=Q$,X$=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],Z$=e=>{const{classes:t,disableUnderline:n}=e,o=$e({root:["root",!n&&"underline"],input:["input"]},K$,t);return x({},t,o)},q$=Q(vu,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...yu(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),x({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Ci.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Ci.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Ci.disabled}, .${Ci.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Ci.disabled}:before`]:{borderBottomStyle:"dotted"}})}),J$=Q(Su,{name:"MuiInput",slot:"Input",overridesResolver:gu})({}),o1=w.forwardRef(function(t,n){var r,o,i,s;const l=Ne({props:t,name:"MuiInput"}),{disableUnderline:a,components:u={},componentsProps:c,fullWidth:p=!1,inputComponent:d="input",multiline:S=!1,slotProps:y,slots:v={},type:_="text"}=l,h=K(l,X$),f=Z$(l),g={root:{ownerState:{disableUnderline:a}}},C=y??c?Ot(y??c,g):g,b=(r=(o=v.root)!=null?o:u.Root)!=null?r:q$,k=(i=(s=v.input)!=null?s:u.Input)!=null?i:J$;return O.jsx(kp,x({slots:{root:b,input:k},slotProps:C,fullWidth:p,inputComponent:d,multiline:S,ref:n,type:_},h,{classes:f}))});o1.muiName="Input";const eN=o1;function tN(e){return Pe("MuiFilledInput",e)}const nN=x({},Zo,ge("MuiFilledInput",["root","underline","input"])),Lr=nN,rN=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],oN=e=>{const{classes:t,disableUnderline:n}=e,o=$e({root:["root",!n&&"underline"],input:["input"]},tN,t);return x({},t,o)},iN=Q(vu,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...yu(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",o=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return x({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Lr.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Lr.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Lr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Lr.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Lr.disabled}, .${Lr.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Lr.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&x({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9}))}),sN=Q(Su,{name:"MuiFilledInput",slot:"Input",overridesResolver:gu})(({theme:e,ownerState:t})=>x({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),i1=w.forwardRef(function(t,n){var r,o,i,s;const l=Ne({props:t,name:"MuiFilledInput"}),{components:a={},componentsProps:u,fullWidth:c=!1,inputComponent:p="input",multiline:d=!1,slotProps:S,slots:y={},type:v="text"}=l,_=K(l,rN),h=x({},l,{fullWidth:c,inputComponent:p,multiline:d,type:v}),f=oN(l),m={root:{ownerState:h},input:{ownerState:h}},g=S??u?Ot(m,S??u):m,C=(r=(o=y.root)!=null?o:a.Root)!=null?r:iN,b=(i=(s=y.input)!=null?s:a.Input)!=null?i:sN;return O.jsx(kp,x({slots:{root:C,input:b},componentsProps:g,fullWidth:c,inputComponent:p,multiline:d,ref:n,type:v},_,{classes:f}))});i1.muiName="Input";const lN=i1;var Hm;const aN=["children","classes","className","label","notched"],uN=Q("fieldset",{shouldForwardProp:wn})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),cN=Q("legend",{shouldForwardProp:wn})(({ownerState:e,theme:t})=>x({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&x({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function dN(e){const{className:t,label:n,notched:r}=e,o=K(e,aN),i=n!=null&&n!=="",s=x({},e,{notched:r,withLabel:i});return O.jsx(uN,x({"aria-hidden":!0,className:t,ownerState:s},o,{children:O.jsx(cN,{ownerState:s,children:i?O.jsx("span",{children:n}):Hm||(Hm=O.jsx("span",{className:"notranslate",children:"​"}))})}))}function fN(e){return Pe("MuiOutlinedInput",e)}const pN=x({},Zo,ge("MuiOutlinedInput",["root","notchedOutline","input"])),cr=pN,hN=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],mN=e=>{const{classes:t}=e,r=$e({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},fN,t);return x({},t,r)},yN=Q(vu,{shouldForwardProp:e=>wn(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:yu})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return x({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${cr.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${cr.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${cr.focused} .${cr.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${cr.error} .${cr.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${cr.disabled} .${cr.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&x({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),gN=Q(dN,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),vN=Q(Su,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:gu})(({theme:e,ownerState:t})=>x({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),s1=w.forwardRef(function(t,n){var r,o,i,s,l;const a=Ne({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:c=!1,inputComponent:p="input",label:d,multiline:S=!1,notched:y,slots:v={},type:_="text"}=a,h=K(a,hN),f=mN(a),m=Sp(),g=xp({props:a,muiFormControl:m,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=x({},a,{color:g.color||"primary",disabled:g.disabled,error:g.error,focused:g.focused,formControl:m,fullWidth:c,hiddenLabel:g.hiddenLabel,multiline:S,size:g.size,type:_}),b=(r=(o=v.root)!=null?o:u.Root)!=null?r:yN,k=(i=(s=v.input)!=null?s:u.Input)!=null?i:vN;return O.jsx(kp,x({slots:{root:b,input:k},renderSuffix:P=>O.jsx(gN,{ownerState:C,className:f.notchedOutline,label:d!=null&&d!==""&&g.required?l||(l=O.jsxs(w.Fragment,{children:[d," ","*"]})):d,notched:typeof y<"u"?y:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:c,inputComponent:p,multiline:S,ref:n,type:_},h,{classes:x({},f,{notchedOutline:null})}))});s1.muiName="Input";const SN=s1,wN=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],xN=["root"],kN=e=>{const{classes:t}=e;return t},_p={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>wn(e)&&e!=="variant",slot:"Root"},_N=Q(eN,_p)(""),CN=Q(SN,_p)(""),bN=Q(lN,_p)(""),l1=w.forwardRef(function(t,n){const r=Ne({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:s={},className:l,defaultOpen:a=!1,displayEmpty:u=!1,IconComponent:c=W$,id:p,input:d,inputProps:S,label:y,labelId:v,MenuProps:_,multiple:h=!1,native:f=!1,onClose:m,onOpen:g,open:C,renderValue:b,SelectDisplayProps:k,variant:P="outlined"}=r,$=K(r,wN),E=f?T$:z$,F=Sp(),A=xp({props:r,muiFormControl:F,states:["variant","error"]}),W=A.variant||P,D=x({},r,{variant:W,classes:s}),N=kN(D),U=K(N,xN),H=d||{standard:O.jsx(_N,{ownerState:D}),outlined:O.jsx(CN,{label:y,ownerState:D}),filled:O.jsx(bN,{ownerState:D})}[W],R=vt(n,H.ref);return O.jsx(w.Fragment,{children:w.cloneElement(H,x({inputComponent:E,inputProps:x({children:i,error:A.error,IconComponent:c,variant:W,type:void 0,multiple:h},f?{id:p}:{autoWidth:o,defaultOpen:a,displayEmpty:u,labelId:v,MenuProps:_,onClose:m,onOpen:g,open:C,renderValue:b,SelectDisplayProps:x({id:p},k)},S,{classes:S?Ot(U,S.classes):U},d?d.props.inputProps:{})},h&&f&&W==="outlined"?{notched:!0}:{},{ref:R,className:te(H.props.className,l,N.root)},!d&&{variant:W},$))})});l1.muiName="Select";const EN=l1;function PN(e){const{plan:t,updatePlanTimeframe:n}=e,r={1:"All In 1 Year","3:1":"3yr Plan - Year 1","3:2":"3yr Plan - Year 2","3:3":"3yr Plan - Year 3",family:"Family Readings"};return L.createElement("div",{className:"bottom-bar"},L.createElement(nO,{variant:"standard"},L.createElement(EN,{variant:"standard",value:t,onChange:o=>n(o.target.value),className:"bottom-bar-select"},L.createElement(Nm,{value:"",disabled:!0},"Reading Plan"),Object.keys(r).map(o=>L.createElement(Nm,{key:o,value:o},r[o])))))}const RN=["theme"];function TN(e){let{theme:t}=e,n=K(e,RN);const r=t[Qo];return O.jsx(CC,x({},n,{themeId:r?Qo:void 0,theme:r||t}))}const MN=Hg();function ON(e){const{data:t,loadDay:n,loadPlanType:r,planTimeframe:o}=e,[i,s]=w.useState(!0),[l,a]=w.useState(!1),[u,c]=w.useState(z());i&&(n(u),r(localStorage.getItem("readDaily-planType")||"1"),s(!1));const p=d=>{s(!0),c(d)};return L.createElement(Qk,{injectFirst:!0},L.createElement(TN,{theme:MN},L.createElement("div",{className:"app"},L.createElement(Sb,{position:"static"},L.createElement(JT,{loadedDay:u,changeDay:p,showConfig:l,onInfoClick:()=>a(!0),onInfoClose:()=>a(!1)})),l?L.createElement(FM,null):L.createElement(LM,{data:t,loadedDay:u,loadPlanType:r,planTimeframe:o}),L.createElement(PN,{plan:o,updatePlanTimeframe:r}))))}const $N=e=>({data:e.data.readingPlan||{},planTimeframe:e.data.readingPlanType||"1"}),NN=e=>({loadDay:t=>e(xR(t)),loadPlanType:t=>e(kR(t))}),IN=Rx($N,NN)(ON);var Vm={};const DN=!!(window.location.hostname==="localhost"||window.location.hostname==="[::1]"||window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));function LN(e){if("serviceWorker"in navigator){if(new URL(Vm.PUBLIC_URL,window.location.href).origin!==window.location.origin)return;window.addEventListener("load",()=>{const n=`${Vm.PUBLIC_URL}/service-worker.js`;DN?(FN(n,e),navigator.serviceWorker.ready.then(()=>{console.log("This web app is being served cache-first by a service worker. To learn more, visit https://bit.ly/CRA-PWA")})):a1(n,e)})}}function a1(e,t){navigator.serviceWorker.register(e).then(n=>{n.onupdatefound=()=>{const r=n.installing;r!=null&&(r.onstatechange=()=>{r.state==="installed"&&(navigator.serviceWorker.controller?(console.log("New content is available and will be used when all tabs for this page are closed. See https://bit.ly/CRA-PWA."),t&&t.onUpdate&&t.onUpdate(n)):(console.log("Content is cached for offline use."),t&&t.onSuccess&&t.onSuccess(n)))})}}).catch(n=>{console.error("Error during service worker registration:",n)})}function FN(e,t){fetch(e).then(n=>{const r=n.headers.get("content-type");n.status===404||r!=null&&r.indexOf("javascript")===-1?navigator.serviceWorker.ready.then(o=>{o.unregister().then(()=>{window.location.reload()})}):a1(e,t)}).catch(()=>{console.log("No internet connection found. App is running in offline mode.")})}function lt(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var AN=typeof Symbol=="function"&&Symbol.observable||"@@observable",Gm=AN,sc=()=>Math.random().toString(36).substring(7).split("").join("."),zN={INIT:`@@redux/INIT${sc()}`,REPLACE:`@@redux/REPLACE${sc()}`,PROBE_UNKNOWN_ACTION:()=>`@@redux/PROBE_UNKNOWN_ACTION${sc()}`},la=zN;function WN(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function u1(e,t,n){if(typeof e!="function")throw new Error(lt(2));if(typeof t=="function"&&typeof n=="function"||typeof n=="function"&&typeof arguments[3]=="function")throw new Error(lt(0));if(typeof t=="function"&&typeof n>"u"&&(n=t,t=void 0),typeof n<"u"){if(typeof n!="function")throw new Error(lt(1));return n(u1)(e,t)}let r=e,o=t,i=new Map,s=i,l=0,a=!1;function u(){s===i&&(s=new Map,i.forEach((_,h)=>{s.set(h,_)}))}function c(){if(a)throw new Error(lt(3));return o}function p(_){if(typeof _!="function")throw new Error(lt(4));if(a)throw new Error(lt(5));let h=!0;u();const f=l++;return s.set(f,_),function(){if(h){if(a)throw new Error(lt(6));h=!1,u(),s.delete(f),i=null}}}function d(_){if(!WN(_))throw new Error(lt(7));if(typeof _.type>"u")throw new Error(lt(8));if(typeof _.type!="string")throw new Error(lt(17));if(a)throw new Error(lt(9));try{a=!0,o=r(o,_)}finally{a=!1}return(i=s).forEach(f=>{f()}),_}function S(_){if(typeof _!="function")throw new Error(lt(10));r=_,d({type:la.REPLACE})}function y(){const _=p;return{subscribe(h){if(typeof h!="object"||h===null)throw new Error(lt(11));function f(){const g=h;g.next&&g.next(c())}return f(),{unsubscribe:_(f)}},[Gm](){return this}}}return d({type:la.INIT}),{dispatch:d,subscribe:p,getState:c,replaceReducer:S,[Gm]:y}}function jN(e){Object.keys(e).forEach(t=>{const n=e[t];if(typeof n(void 0,{type:la.INIT})>"u")throw new Error(lt(12));if(typeof n(void 0,{type:la.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(lt(13))})}function BN(e){const t=Object.keys(e),n={};for(let i=0;i"u")throw l&&l.type,new Error(lt(14));u[p]=y,a=a||y!==S}return a=a||r.length!==Object.keys(s).length,a?u:s}}function UN(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,n)=>(...r)=>t(n(...r)))}function YN(...e){return t=>(n,r)=>{const o=t(n,r);let i=()=>{throw new Error(lt(15))};const s={getState:o.getState,dispatch:(a,...u)=>i(a,...u)},l=e.map(a=>a(s));return i=UN(...l)(o.dispatch),{...o,dispatch:i}}}function HN(e){return({dispatch:n,getState:r})=>o=>i=>typeof i=="function"?i(n,r,e):o(i)}var VN=HN();const GN=(e={},t)=>{switch(t.type){case"LOAD_DAY":return{...e,readingPlan:t.payload};case"LOAD_PLAN_TYPE":return{...e,readingPlanType:t.payload};default:return e}},KN=BN({data:GN});function QN(e={}){return u1(KN,e,YN(VN))}Ti.render(L.createElement(Mx,{store:QN()},L.createElement(IN,null)),document.getElementById("root"));LN()});export default XN(); diff --git a/readdaily2024/assets/index-Ktlc_CyB.css b/readdaily2024/assets/index-Ktlc_CyB.css new file mode 100644 index 0000000..a02c2f6 --- /dev/null +++ b/readdaily2024/assets/index-Ktlc_CyB.css @@ -0,0 +1 @@ +html{height:100%}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#1976d2;height:100%}#root{height:100%}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.app{font-family:Helvetica Neue;height:100%;display:flex;flex-direction:column}.title{text-align:center;flex-grow:1;padding:8px}.content{flex:auto;background-color:#faf9f6}.reading{margin:10px}.reading-header{background-color:#d3d3d3;padding:10px!important;font-size:1.3rem;text-align:center}.reading-body{font-size:1.2rem}.bottom-bar{width:100%;text-align:center;background-color:#d3d3d3;box-shadow:0 2px 4px -1px #0003,0 4px 5px #00000024,0 1px 10px #0000001f}.bottom-bar-select{margin-bottom:30px;margin-top:15px;font-weight:700;font-size:1.2rem}