chatbot-interface-ifi 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,339 @@
1
+ (function(rn,fe){typeof exports=="object"&&typeof module<"u"?fe(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],fe):(rn=typeof globalThis<"u"?globalThis:rn||self,fe(rn.ChatbotInterface={},rn.React,rn.ReactDOM))})(this,function(rn,fe,er){"use strict";function oa(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const R=oa(fe),ad=oa(er);function on(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Qt(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 Dr={exports:{}},tr={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var ia;function ld(){if(ia)return tr;ia=1;var e=fe,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(l,c,u){var f,p={},h=null,m=null;u!==void 0&&(h=""+u),c.key!==void 0&&(h=""+c.key),c.ref!==void 0&&(m=c.ref);for(f in c)r.call(c,f)&&!i.hasOwnProperty(f)&&(p[f]=c[f]);if(l&&l.defaultProps)for(f in c=l.defaultProps,c)p[f]===void 0&&(p[f]=c[f]);return{$$typeof:t,type:l,key:h,ref:m,props:p,_owner:o.current}}return tr.Fragment=n,tr.jsx=a,tr.jsxs=a,tr}var nr={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var sa;function ud(){return sa||(sa=1,process.env.NODE_ENV!=="production"&&function(){var e=fe,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=Symbol.iterator,d="@@iterator";function y(O){if(O===null||typeof O!="object")return null;var X=g&&O[g]||O[d];return typeof X=="function"?X:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function k(O){{for(var X=arguments.length,re=new Array(X>1?X-1:0),ge=1;ge<X;ge++)re[ge-1]=arguments[ge];S("error",O,re)}}function S(O,X,re){{var ge=x.ReactDebugCurrentFrame,Fe=ge.getStackAddendum();Fe!==""&&(X+="%s",re=re.concat([Fe]));var ze=re.map(function(Ce){return String(Ce)});ze.unshift("Warning: "+X),Function.prototype.apply.call(console[O],console,ze)}}var w=!1,C=!1,T=!1,b=!1,P=!1,I;I=Symbol.for("react.module.reference");function A(O){return!!(typeof O=="string"||typeof O=="function"||O===r||O===i||P||O===o||O===u||O===f||b||O===m||w||C||T||typeof O=="object"&&O!==null&&(O.$$typeof===h||O.$$typeof===p||O.$$typeof===a||O.$$typeof===l||O.$$typeof===c||O.$$typeof===I||O.getModuleId!==void 0))}function M(O,X,re){var ge=O.displayName;if(ge)return ge;var Fe=X.displayName||X.name||"";return Fe!==""?re+"("+Fe+")":re}function D(O){return O.displayName||"Context"}function F(O){if(O==null)return null;if(typeof O.tag=="number"&&k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof O=="function")return O.displayName||O.name||null;if(typeof O=="string")return O;switch(O){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case f:return"SuspenseList"}if(typeof O=="object")switch(O.$$typeof){case l:var X=O;return D(X)+".Consumer";case a:var re=O;return D(re._context)+".Provider";case c:return M(O,O.render,"ForwardRef");case p:var ge=O.displayName||null;return ge!==null?ge:F(O.type)||"Memo";case h:{var Fe=O,ze=Fe._payload,Ce=Fe._init;try{return F(Ce(ze))}catch{return null}}}return null}var N=Object.assign,$=0,U,Y,z,ie,v,W,Z;function E(){}E.__reactDisabledLog=!0;function K(){{if($===0){U=console.log,Y=console.info,z=console.warn,ie=console.error,v=console.group,W=console.groupCollapsed,Z=console.groupEnd;var O={configurable:!0,enumerable:!0,value:E,writable:!0};Object.defineProperties(console,{info:O,log:O,warn:O,error:O,group:O,groupCollapsed:O,groupEnd:O})}$++}}function te(){{if($--,$===0){var O={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:N({},O,{value:U}),info:N({},O,{value:Y}),warn:N({},O,{value:z}),error:N({},O,{value:ie}),group:N({},O,{value:v}),groupCollapsed:N({},O,{value:W}),groupEnd:N({},O,{value:Z})})}$<0&&k("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Q=x.ReactCurrentDispatcher,oe;function ee(O,X,re){{if(oe===void 0)try{throw Error()}catch(Fe){var ge=Fe.stack.trim().match(/\n( *(at )?)/);oe=ge&&ge[1]||""}return`
18
+ `+oe+O}}var ne=!1,se;{var le=typeof WeakMap=="function"?WeakMap:Map;se=new le}function H(O,X){if(!O||ne)return"";{var re=se.get(O);if(re!==void 0)return re}var ge;ne=!0;var Fe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ze;ze=Q.current,Q.current=null,K();try{if(X){var Ce=function(){throw Error()};if(Object.defineProperty(Ce.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ce,[])}catch(wt){ge=wt}Reflect.construct(O,[],Ce)}else{try{Ce.call()}catch(wt){ge=wt}O.call(Ce.prototype)}}else{try{throw Error()}catch(wt){ge=wt}O()}}catch(wt){if(wt&&ge&&typeof wt.stack=="string"){for(var Te=wt.stack.split(`
19
+ `),yt=ge.stack.split(`
20
+ `),nt=Te.length-1,lt=yt.length-1;nt>=1&&lt>=0&&Te[nt]!==yt[lt];)lt--;for(;nt>=1&&lt>=0;nt--,lt--)if(Te[nt]!==yt[lt]){if(nt!==1||lt!==1)do if(nt--,lt--,lt<0||Te[nt]!==yt[lt]){var Bt=`
21
+ `+Te[nt].replace(" at new "," at ");return O.displayName&&Bt.includes("<anonymous>")&&(Bt=Bt.replace("<anonymous>",O.displayName)),typeof O=="function"&&se.set(O,Bt),Bt}while(nt>=1&&lt>=0);break}}}finally{ne=!1,Q.current=ze,te(),Error.prepareStackTrace=Fe}var Zn=O?O.displayName||O.name:"",kn=Zn?ee(Zn):"";return typeof O=="function"&&se.set(O,kn),kn}function ue(O,X,re){return H(O,!1)}function q(O){var X=O.prototype;return!!(X&&X.isReactComponent)}function pe(O,X,re){if(O==null)return"";if(typeof O=="function")return H(O,q(O));if(typeof O=="string")return ee(O);switch(O){case u:return ee("Suspense");case f:return ee("SuspenseList")}if(typeof O=="object")switch(O.$$typeof){case c:return ue(O.render);case p:return pe(O.type,X,re);case h:{var ge=O,Fe=ge._payload,ze=ge._init;try{return pe(ze(Fe),X,re)}catch{}}}return""}var we=Object.prototype.hasOwnProperty,He={},it=x.ReactDebugCurrentFrame;function st(O){if(O){var X=O._owner,re=pe(O.type,O._source,X?X.type:null);it.setExtraStackFrame(re)}else it.setExtraStackFrame(null)}function dt(O,X,re,ge,Fe){{var ze=Function.call.bind(we);for(var Ce in O)if(ze(O,Ce)){var Te=void 0;try{if(typeof O[Ce]!="function"){var yt=Error((ge||"React class")+": "+re+" type `"+Ce+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof O[Ce]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw yt.name="Invariant Violation",yt}Te=O[Ce](X,Ce,ge,re,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(nt){Te=nt}Te&&!(Te instanceof Error)&&(st(Fe),k("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",ge||"React class",re,Ce,typeof Te),st(null)),Te instanceof Error&&!(Te.message in He)&&(He[Te.message]=!0,st(Fe),k("Failed %s type: %s",re,Te.message),st(null))}}}var je=Array.isArray;function ut(O){return je(O)}function ct(O){{var X=typeof Symbol=="function"&&Symbol.toStringTag,re=X&&O[Symbol.toStringTag]||O.constructor.name||"Object";return re}}function Be(O){try{return pt(O),!1}catch{return!0}}function pt(O){return""+O}function jt(O){if(Be(O))return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ct(O)),pt(O)}var L=x.ReactCurrentOwner,V={key:!0,ref:!0,__self:!0,__source:!0},G,ve,Se;Se={};function at(O){if(we.call(O,"ref")){var X=Object.getOwnPropertyDescriptor(O,"ref").get;if(X&&X.isReactWarning)return!1}return O.ref!==void 0}function Ct(O){if(we.call(O,"key")){var X=Object.getOwnPropertyDescriptor(O,"key").get;if(X&&X.isReactWarning)return!1}return O.key!==void 0}function ae(O,X){if(typeof O.ref=="string"&&L.current&&X&&L.current.stateNode!==X){var re=F(L.current.type);Se[re]||(k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',F(L.current.type),O.ref),Se[re]=!0)}}function xe(O,X){{var re=function(){G||(G=!0,k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",X))};re.isReactWarning=!0,Object.defineProperty(O,"key",{get:re,configurable:!0})}}function Ye(O,X){{var re=function(){ve||(ve=!0,k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",X))};re.isReactWarning=!0,Object.defineProperty(O,"ref",{get:re,configurable:!0})}}var Ne=function(O,X,re,ge,Fe,ze,Ce){var Te={$$typeof:t,type:O,key:X,ref:re,props:Ce,_owner:ze};return Te._store={},Object.defineProperty(Te._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Te,"_self",{configurable:!1,enumerable:!1,writable:!1,value:ge}),Object.defineProperty(Te,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Fe}),Object.freeze&&(Object.freeze(Te.props),Object.freeze(Te)),Te};function pn(O,X,re,ge,Fe){{var ze,Ce={},Te=null,yt=null;re!==void 0&&(jt(re),Te=""+re),Ct(X)&&(jt(X.key),Te=""+X.key),at(X)&&(yt=X.ref,ae(X,Fe));for(ze in X)we.call(X,ze)&&!V.hasOwnProperty(ze)&&(Ce[ze]=X[ze]);if(O&&O.defaultProps){var nt=O.defaultProps;for(ze in nt)Ce[ze]===void 0&&(Ce[ze]=nt[ze])}if(Te||yt){var lt=typeof O=="function"?O.displayName||O.name||"Unknown":O;Te&&xe(Ce,lt),yt&&Ye(Ce,lt)}return Ne(O,Te,yt,Fe,ge,L.current,Ce)}}var At=x.ReactCurrentOwner,ed=x.ReactDebugCurrentFrame;function Qn(O){if(O){var X=O._owner,re=pe(O.type,O._source,X?X.type:null);ed.setExtraStackFrame(re)}else ed.setExtraStackFrame(null)}var ta;ta=!1;function na(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function td(){{if(At.current){var O=F(At.current.type);if(O)return`
22
+
23
+ Check the render method of \``+O+"`."}return""}}function jS(O){return""}var nd={};function BS(O){{var X=td();if(!X){var re=typeof O=="string"?O:O.displayName||O.name;re&&(X=`
24
+
25
+ Check the top-level render call using <`+re+">.")}return X}}function rd(O,X){{if(!O._store||O._store.validated||O.key!=null)return;O._store.validated=!0;var re=BS(X);if(nd[re])return;nd[re]=!0;var ge="";O&&O._owner&&O._owner!==At.current&&(ge=" It was passed a child from "+F(O._owner.type)+"."),Qn(O),k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',re,ge),Qn(null)}}function od(O,X){{if(typeof O!="object")return;if(ut(O))for(var re=0;re<O.length;re++){var ge=O[re];na(ge)&&rd(ge,X)}else if(na(O))O._store&&(O._store.validated=!0);else if(O){var Fe=y(O);if(typeof Fe=="function"&&Fe!==O.entries)for(var ze=Fe.call(O),Ce;!(Ce=ze.next()).done;)na(Ce.value)&&rd(Ce.value,X)}}}function zS(O){{var X=O.type;if(X==null||typeof X=="string")return;var re;if(typeof X=="function")re=X.propTypes;else if(typeof X=="object"&&(X.$$typeof===c||X.$$typeof===p))re=X.propTypes;else return;if(re){var ge=F(X);dt(re,O.props,"prop",ge,O)}else if(X.PropTypes!==void 0&&!ta){ta=!0;var Fe=F(X);k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Fe||"Unknown")}typeof X.getDefaultProps=="function"&&!X.getDefaultProps.isReactClassApproved&&k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function US(O){{for(var X=Object.keys(O.props),re=0;re<X.length;re++){var ge=X[re];if(ge!=="children"&&ge!=="key"){Qn(O),k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",ge),Qn(null);break}}O.ref!==null&&(Qn(O),k("Invalid attribute `ref` supplied to `React.Fragment`."),Qn(null))}}var id={};function sd(O,X,re,ge,Fe,ze){{var Ce=A(O);if(!Ce){var Te="";(O===void 0||typeof O=="object"&&O!==null&&Object.keys(O).length===0)&&(Te+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var yt=jS();yt?Te+=yt:Te+=td();var nt;O===null?nt="null":ut(O)?nt="array":O!==void 0&&O.$$typeof===t?(nt="<"+(F(O.type)||"Unknown")+" />",Te=" Did you accidentally export a JSX literal instead of a component?"):nt=typeof O,k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",nt,Te)}var lt=pn(O,X,re,Fe,ze);if(lt==null)return lt;if(Ce){var Bt=X.children;if(Bt!==void 0)if(ge)if(ut(Bt)){for(var Zn=0;Zn<Bt.length;Zn++)od(Bt[Zn],O);Object.freeze&&Object.freeze(Bt)}else k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else od(Bt,O)}if(we.call(X,"key")){var kn=F(O),wt=Object.keys(X).filter(function(KS){return KS!=="key"}),ra=wt.length>0?"{key: someKey, "+wt.join(": ..., ")+": ...}":"{key: someKey}";if(!id[kn+ra]){var YS=wt.length>0?"{"+wt.join(": ..., ")+": ...}":"{}";k(`A props object containing a "key" prop is being spread into JSX:
26
+ let props = %s;
27
+ <%s {...props} />
28
+ React keys must be passed directly to JSX without using spread:
29
+ let props = %s;
30
+ <%s key={someKey} {...props} />`,ra,kn,YS,kn),id[kn+ra]=!0}}return O===r?US(lt):zS(lt),lt}}function VS(O,X,re){return sd(O,X,re,!0)}function qS(O,X,re){return sd(O,X,re,!1)}var WS=qS,HS=VS;nr.Fragment=r,nr.jsx=WS,nr.jsxs=HS}()),nr}var aa;function ei(){return aa||(aa=1,process.env.NODE_ENV==="production"?Dr.exports=ld():Dr.exports=ud()),Dr.exports}var B=ei();const rr={black:"#000",white:"#fff"},Pn={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"},_n={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"},In={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"},An={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"},Nn={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"},or={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"},cd={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"};function hn(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const fd=Object.freeze(Object.defineProperty({__proto__:null,default:hn},Symbol.toStringTag,{value:"Module"})),Lr="$$material";function _(){return _=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_.apply(null,arguments)}function me(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var dd=!1;function pd(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function hd(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var md=function(){function e(n){var r=this;this._insertTag=function(o){var i;r.tags.length===0?r.insertionPoint?i=r.insertionPoint.nextSibling:r.prepend?i=r.container.firstChild:i=r.before:i=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,i),r.tags.push(o)},this.isSpeedy=n.speedy===void 0?!dd:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(hd(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var i=pd(o);try{i.insertRule(r,i.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e}(),ht="-ms-",jr="-moz-",Oe="-webkit-",la="comm",ti="rule",ni="decl",gd="@import",ua="@keyframes",yd="@layer",bd=Math.abs,Br=String.fromCharCode,vd=Object.assign;function xd(e,t){return ft(e,0)^45?(((t<<2^ft(e,0))<<2^ft(e,1))<<2^ft(e,2))<<2^ft(e,3):0}function ca(e){return e.trim()}function Ed(e,t){return(e=t.exec(e))?e[0]:e}function Re(e,t,n){return e.replace(t,n)}function ri(e,t){return e.indexOf(t)}function ft(e,t){return e.charCodeAt(t)|0}function ir(e,t,n){return e.slice(t,n)}function qt(e){return e.length}function oi(e){return e.length}function zr(e,t){return t.push(e),e}function Sd(e,t){return e.map(t).join("")}var Ur=1,Fn=1,fa=0,bt=0,rt=0,$n="";function Vr(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Ur,column:Fn,length:a,return:""}}function sr(e,t){return vd(Vr("",null,null,"",null,null,0),e,{length:-e.length},t)}function Td(){return rt}function Cd(){return rt=bt>0?ft($n,--bt):0,Fn--,rt===10&&(Fn=1,Ur--),rt}function Ot(){return rt=bt<fa?ft($n,bt++):0,Fn++,rt===10&&(Fn=1,Ur++),rt}function Wt(){return ft($n,bt)}function qr(){return bt}function ar(e,t){return ir($n,e,t)}function lr(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 da(e){return Ur=Fn=1,fa=qt($n=e),bt=0,[]}function pa(e){return $n="",e}function Wr(e){return ca(ar(bt-1,ii(e===91?e+2:e===40?e+1:e)))}function wd(e){for(;(rt=Wt())&&rt<33;)Ot();return lr(e)>2||lr(rt)>3?"":" "}function Od(e,t){for(;--t&&Ot()&&!(rt<48||rt>102||rt>57&&rt<65||rt>70&&rt<97););return ar(e,qr()+(t<6&&Wt()==32&&Ot()==32))}function ii(e){for(;Ot();)switch(rt){case e:return bt;case 34:case 39:e!==34&&e!==39&&ii(rt);break;case 40:e===41&&ii(e);break;case 92:Ot();break}return bt}function Rd(e,t){for(;Ot()&&e+rt!==57;)if(e+rt===84&&Wt()===47)break;return"/*"+ar(t,bt-1)+"*"+Br(e===47?e:Ot())}function kd(e){for(;!lr(Wt());)Ot();return ar(e,bt)}function Pd(e){return pa(Hr("",null,null,null,[""],e=da(e),0,[0],e))}function Hr(e,t,n,r,o,i,a,l,c){for(var u=0,f=0,p=a,h=0,m=0,g=0,d=1,y=1,x=1,k=0,S="",w=o,C=i,T=r,b=S;y;)switch(g=k,k=Ot()){case 40:if(g!=108&&ft(b,p-1)==58){ri(b+=Re(Wr(k),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:b+=Wr(k);break;case 9:case 10:case 13:case 32:b+=wd(g);break;case 92:b+=Od(qr()-1,7);continue;case 47:switch(Wt()){case 42:case 47:zr(_d(Rd(Ot(),qr()),t,n),c);break;default:b+="/"}break;case 123*d:l[u++]=qt(b)*x;case 125*d:case 59:case 0:switch(k){case 0:case 125:y=0;case 59+f:x==-1&&(b=Re(b,/\f/g,"")),m>0&&qt(b)-p&&zr(m>32?ma(b+";",r,n,p-1):ma(Re(b," ","")+";",r,n,p-2),c);break;case 59:b+=";";default:if(zr(T=ha(b,t,n,u,f,o,l,S,w=[],C=[],p),i),k===123)if(f===0)Hr(b,t,T,T,w,i,p,l,C);else switch(h===99&&ft(b,3)===110?100:h){case 100:case 108:case 109:case 115:Hr(e,T,T,r&&zr(ha(e,T,T,0,0,o,l,S,o,w=[],p),C),o,C,p,l,r?w:C);break;default:Hr(b,T,T,T,[""],C,0,l,C)}}u=f=m=0,d=x=1,S=b="",p=a;break;case 58:p=1+qt(b),m=g;default:if(d<1){if(k==123)--d;else if(k==125&&d++==0&&Cd()==125)continue}switch(b+=Br(k),k*d){case 38:x=f>0?1:(b+="\f",-1);break;case 44:l[u++]=(qt(b)-1)*x,x=1;break;case 64:Wt()===45&&(b+=Wr(Ot())),h=Wt(),f=p=qt(S=b+=kd(qr())),k++;break;case 45:g===45&&qt(b)==2&&(d=0)}}return i}function ha(e,t,n,r,o,i,a,l,c,u,f){for(var p=o-1,h=o===0?i:[""],m=oi(h),g=0,d=0,y=0;g<r;++g)for(var x=0,k=ir(e,p+1,p=bd(d=a[g])),S=e;x<m;++x)(S=ca(d>0?h[x]+" "+k:Re(k,/&\f/g,h[x])))&&(c[y++]=S);return Vr(e,t,n,o===0?ti:l,c,u,f)}function _d(e,t,n){return Vr(e,t,n,la,Br(Td()),ir(e,2,-2),0)}function ma(e,t,n,r){return Vr(e,t,n,ni,ir(e,0,r),ir(e,r+1,-1),r)}function Mn(e,t){for(var n="",r=oi(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function Id(e,t,n,r){switch(e.type){case yd:if(e.children.length)break;case gd:case ni:return e.return=e.return||e.value;case la:return"";case ua:return e.return=e.value+"{"+Mn(e.children,r)+"}";case ti:e.value=e.props.join(",")}return qt(n=Mn(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ad(e){var t=oi(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}function Nd(e){return function(t){t.root||(t=t.return)&&e(t)}}function ga(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Fd=function(t,n,r){for(var o=0,i=0;o=i,i=Wt(),o===38&&i===12&&(n[r]=1),!lr(i);)Ot();return ar(t,bt)},$d=function(t,n){var r=-1,o=44;do switch(lr(o)){case 0:o===38&&Wt()===12&&(n[r]=1),t[r]+=Fd(bt-1,n,r);break;case 2:t[r]+=Wr(o);break;case 4:if(o===44){t[++r]=Wt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Br(o)}while(o=Ot());return t},Md=function(t,n){return pa($d(da(t),n))},ya=new WeakMap,Dd=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,o=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!ya.get(r))&&!o){ya.set(t,!0);for(var i=[],a=Md(n,i),l=r.props,c=0,u=0;c<a.length;c++)for(var f=0;f<l.length;f++,u++)t.props[u]=i[c]?a[c].replace(/&\f/g,l[f]):l[f]+" "+a[c]}}},Ld=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function ba(e,t){switch(xd(e,t)){case 5103:return Oe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Oe+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Oe+e+jr+e+ht+e+e;case 6828:case 4268:return Oe+e+ht+e+e;case 6165:return Oe+e+ht+"flex-"+e+e;case 5187:return Oe+e+Re(e,/(\w+).+(:[^]+)/,Oe+"box-$1$2"+ht+"flex-$1$2")+e;case 5443:return Oe+e+ht+"flex-item-"+Re(e,/flex-|-self/,"")+e;case 4675:return Oe+e+ht+"flex-line-pack"+Re(e,/align-content|flex-|-self/,"")+e;case 5548:return Oe+e+ht+Re(e,"shrink","negative")+e;case 5292:return Oe+e+ht+Re(e,"basis","preferred-size")+e;case 6060:return Oe+"box-"+Re(e,"-grow","")+Oe+e+ht+Re(e,"grow","positive")+e;case 4554:return Oe+Re(e,/([^-])(transform)/g,"$1"+Oe+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Oe+"$1"),/(image-set)/,Oe+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Oe+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Oe+"box-pack:$3"+ht+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Oe+e+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Oe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(qt(e)-1-t>6)switch(ft(e,t+1)){case 109:if(ft(e,t+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Oe+"$2-$3$1"+jr+(ft(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~ri(e,"stretch")?ba(Re(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ft(e,t+1)!==115)break;case 6444:switch(ft(e,qt(e)-3-(~ri(e,"!important")&&10))){case 107:return Re(e,":",":"+Oe)+e;case 101:return Re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Oe+(ft(e,14)===45?"inline-":"")+"box$3$1"+Oe+"$2$3$1"+ht+"$2box$3")+e}break;case 5936:switch(ft(e,t+11)){case 114:return Oe+e+ht+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Oe+e+ht+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Oe+e+ht+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Oe+e+ht+e+e}return e}var jd=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case ni:t.return=ba(t.value,t.length);break;case ua:return Mn([sr(t,{value:Re(t.value,"@","@"+Oe)})],o);case ti:if(t.length)return Sd(t.props,function(i){switch(Ed(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Mn([sr(t,{props:[Re(i,/:(read-\w+)/,":"+jr+"$1")]})],o);case"::placeholder":return Mn([sr(t,{props:[Re(i,/:(plac\w+)/,":"+Oe+"input-$1")]}),sr(t,{props:[Re(i,/:(plac\w+)/,":"+jr+"$1")]}),sr(t,{props:[Re(i,/:(plac\w+)/,ht+"input-$1")]})],o)}return""})}},Bd=[jd],va=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(d){var y=d.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(d),d.setAttribute("data-s",""))})}var o=t.stylisPlugins||Bd,i={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(d){for(var y=d.getAttribute("data-emotion").split(" "),x=1;x<y.length;x++)i[y[x]]=!0;l.push(d)});var c,u=[Dd,Ld];{var f,p=[Id,Nd(function(d){f.insert(d)})],h=Ad(u.concat(o,p)),m=function(y){return Mn(Pd(y),h)};c=function(y,x,k,S){f=k,m(y?y+"{"+x.styles+"}":x.styles),S&&(g.inserted[x.name]=!0)}}var g={key:n,sheet:new md({key:n,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return g.sheet.hydrate(l),g},Yr={exports:{}},Pe={};/** @license React v16.13.1
31
+ * react-is.production.min.js
32
+ *
33
+ * Copyright (c) Facebook, Inc. and its affiliates.
34
+ *
35
+ * This source code is licensed under the MIT license found in the
36
+ * LICENSE file in the root directory of this source tree.
37
+ */var xa;function zd(){if(xa)return Pe;xa=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function S(C){if(typeof C=="object"&&C!==null){var T=C.$$typeof;switch(T){case t:switch(C=C.type,C){case c:case u:case r:case i:case o:case p:return C;default:switch(C=C&&C.$$typeof,C){case l:case f:case g:case m:case a:return C;default:return T}}case n:return T}}}function w(C){return S(C)===u}return Pe.AsyncMode=c,Pe.ConcurrentMode=u,Pe.ContextConsumer=l,Pe.ContextProvider=a,Pe.Element=t,Pe.ForwardRef=f,Pe.Fragment=r,Pe.Lazy=g,Pe.Memo=m,Pe.Portal=n,Pe.Profiler=i,Pe.StrictMode=o,Pe.Suspense=p,Pe.isAsyncMode=function(C){return w(C)||S(C)===c},Pe.isConcurrentMode=w,Pe.isContextConsumer=function(C){return S(C)===l},Pe.isContextProvider=function(C){return S(C)===a},Pe.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},Pe.isForwardRef=function(C){return S(C)===f},Pe.isFragment=function(C){return S(C)===r},Pe.isLazy=function(C){return S(C)===g},Pe.isMemo=function(C){return S(C)===m},Pe.isPortal=function(C){return S(C)===n},Pe.isProfiler=function(C){return S(C)===i},Pe.isStrictMode=function(C){return S(C)===o},Pe.isSuspense=function(C){return S(C)===p},Pe.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===u||C===i||C===o||C===p||C===h||typeof C=="object"&&C!==null&&(C.$$typeof===g||C.$$typeof===m||C.$$typeof===a||C.$$typeof===l||C.$$typeof===f||C.$$typeof===y||C.$$typeof===x||C.$$typeof===k||C.$$typeof===d)},Pe.typeOf=S,Pe}var _e={};/** @license React v16.13.1
38
+ * react-is.development.js
39
+ *
40
+ * Copyright (c) Facebook, Inc. and its affiliates.
41
+ *
42
+ * This source code is licensed under the MIT license found in the
43
+ * LICENSE file in the root directory of this source tree.
44
+ */var Ea;function Ud(){return Ea||(Ea=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,k=e?Symbol.for("react.scope"):60119;function S(H){return typeof H=="string"||typeof H=="function"||H===r||H===u||H===i||H===o||H===p||H===h||typeof H=="object"&&H!==null&&(H.$$typeof===g||H.$$typeof===m||H.$$typeof===a||H.$$typeof===l||H.$$typeof===f||H.$$typeof===y||H.$$typeof===x||H.$$typeof===k||H.$$typeof===d)}function w(H){if(typeof H=="object"&&H!==null){var ue=H.$$typeof;switch(ue){case t:var q=H.type;switch(q){case c:case u:case r:case i:case o:case p:return q;default:var pe=q&&q.$$typeof;switch(pe){case l:case f:case g:case m:case a:return pe;default:return ue}}case n:return ue}}}var C=c,T=u,b=l,P=a,I=t,A=f,M=r,D=g,F=m,N=n,$=i,U=o,Y=p,z=!1;function ie(H){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),v(H)||w(H)===c}function v(H){return w(H)===u}function W(H){return w(H)===l}function Z(H){return w(H)===a}function E(H){return typeof H=="object"&&H!==null&&H.$$typeof===t}function K(H){return w(H)===f}function te(H){return w(H)===r}function Q(H){return w(H)===g}function oe(H){return w(H)===m}function ee(H){return w(H)===n}function ne(H){return w(H)===i}function se(H){return w(H)===o}function le(H){return w(H)===p}_e.AsyncMode=C,_e.ConcurrentMode=T,_e.ContextConsumer=b,_e.ContextProvider=P,_e.Element=I,_e.ForwardRef=A,_e.Fragment=M,_e.Lazy=D,_e.Memo=F,_e.Portal=N,_e.Profiler=$,_e.StrictMode=U,_e.Suspense=Y,_e.isAsyncMode=ie,_e.isConcurrentMode=v,_e.isContextConsumer=W,_e.isContextProvider=Z,_e.isElement=E,_e.isForwardRef=K,_e.isFragment=te,_e.isLazy=Q,_e.isMemo=oe,_e.isPortal=ee,_e.isProfiler=ne,_e.isStrictMode=se,_e.isSuspense=le,_e.isValidElementType=S,_e.typeOf=w}()),_e}var Sa;function si(){return Sa||(Sa=1,process.env.NODE_ENV==="production"?Yr.exports=zd():Yr.exports=Ud()),Yr.exports}var ai,Ta;function Vd(){if(Ta)return ai;Ta=1;var e=si(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[e.ForwardRef]=r,i[e.Memo]=o;function a(g){return e.isMemo(g)?o:i[g.$$typeof]||t}var l=Object.defineProperty,c=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function m(g,d,y){if(typeof d!="string"){if(h){var x=p(d);x&&x!==h&&m(g,x,y)}var k=c(d);u&&(k=k.concat(u(d)));for(var S=a(g),w=a(d),C=0;C<k.length;++C){var T=k[C];if(!n[T]&&!(y&&y[T])&&!(w&&w[T])&&!(S&&S[T])){var b=f(d,T);try{l(g,T,b)}catch{}}}}return g}return ai=m,ai}Vd();var qd=!0;function Ca(e,t,n){var r="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):o&&(r+=o+" ")}),r}var li=function(t,n,r){var o=t.key+"-"+n.name;(r===!1||qd===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},ui=function(t,n,r){li(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 Wd(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 Hd={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,scale: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},Yd=!1,Kd=/[A-Z]|^ms/g,Gd=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wa=function(t){return t.charCodeAt(1)===45},Oa=function(t){return t!=null&&typeof t!="boolean"},ci=ga(function(e){return wa(e)?e:e.replace(Kd,"-$&").toLowerCase()}),Ra=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Gd,function(r,o,i){return Ht={name:o,styles:i,next:Ht},o})}return Hd[t]!==1&&!wa(t)&&typeof n=="number"&&n!==0?n+"px":n},Xd="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function ur(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return Ht={name:o.name,styles:o.styles,next:Ht},o.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)Ht={name:a.name,styles:a.styles,next:Ht},a=a.next;var l=i.styles+";";return l}return Jd(e,t,n)}case"function":{if(e!==void 0){var c=Ht,u=n(e);return Ht=c,ur(e,t,u)}break}}var f=n;if(t==null)return f;var p=t[f];return p!==void 0?p:f}function Jd(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ur(e,t,n[o])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var l=a;t!=null&&t[l]!==void 0?r+=i+"{"+t[l]+"}":Oa(l)&&(r+=ci(i)+":"+Ra(i,l)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&Yd)throw new Error(Xd);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var c=0;c<a.length;c++)Oa(a[c])&&(r+=ci(i)+":"+Ra(i,a[c])+";");else{var u=ur(e,t,a);switch(i){case"animation":case"animationName":{r+=ci(i)+":"+u+";";break}default:r+=i+"{"+u+"}"}}}}return r}var ka=/label:\s*([^\s;{]+)\s*(;|$)/g,Ht;function Kr(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";Ht=void 0;var i=e[0];if(i==null||i.raw===void 0)r=!1,o+=ur(n,t,i);else{var a=i;o+=a[0]}for(var l=1;l<e.length;l++)if(o+=ur(n,t,e[l]),r){var c=i;o+=c[l]}ka.lastIndex=0;for(var u="",f;(f=ka.exec(o))!==null;)u+="-"+f[1];var p=Wd(o)+u;return{name:p,styles:o,next:Ht}}var Qd=function(t){return t()},Pa=R.useInsertionEffect?R.useInsertionEffect:!1,_a=Pa||Qd,Ia=Pa||R.useLayoutEffect,Zd=!1,Aa=R.createContext(typeof HTMLElement<"u"?va({key:"css"}):null),ep=Aa.Provider,fi=function(t){return fe.forwardRef(function(n,r){var o=fe.useContext(Aa);return t(n,o,r)})},cr=R.createContext({}),di={}.hasOwnProperty,pi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",tp=function(t,n){var r={};for(var o in n)di.call(n,o)&&(r[o]=n[o]);return r[pi]=t,r},np=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return li(n,r,o),_a(function(){return ui(n,r,o)}),null},rp=fi(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var o=e[pi],i=[r],a="";typeof e.className=="string"?a=Ca(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var l=Kr(i,void 0,R.useContext(cr));a+=t.key+"-"+l.name;var c={};for(var u in e)di.call(e,u)&&u!=="css"&&u!==pi&&!Zd&&(c[u]=e[u]);return c.className=a,n&&(c.ref=n),R.createElement(R.Fragment,null,R.createElement(np,{cache:t,serialized:l,isStringTag:typeof o=="string"}),R.createElement(o,c))}),op=rp,Na=function(t,n){var r=arguments;if(n==null||!di.call(n,"css"))return R.createElement.apply(void 0,r);var o=r.length,i=new Array(o);i[0]=op,i[1]=tp(t,n);for(var a=2;a<o;a++)i[a]=r[a];return R.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(Na||(Na={}));var ip=fi(function(e,t){var n=e.styles,r=Kr([n],void 0,R.useContext(cr)),o=R.useRef();return Ia(function(){var i=t.key+"-global",a=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,c=document.querySelector('style[data-emotion="'+i+" "+r.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(l=!0,c.setAttribute("data-emotion",i),a.hydrate([c])),o.current=[a,l],function(){a.flush()}},[t]),Ia(function(){var i=o.current,a=i[0],l=i[1];if(l){i[1]=!1;return}if(r.next!==void 0&&ui(t,r.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",r,a,!1)},[t,r.name]),null});function mn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kr(t)}function Zt(){var e=mn.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var sp=/^((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|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|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)-.*))$/,ap=ga(function(e){return sp.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),lp=!1,up=ap,cp=function(t){return t!=="theme"},Fa=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?up:cp},$a=function(t,n,r){var o;if(n){var i=n.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},fp=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return li(n,r,o),_a(function(){return ui(n,r,o)}),null},dp=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,i,a;n!==void 0&&(i=n.label,a=n.target);var l=$a(t,n,r),c=l||Fa(o),u=!c("as");return function(){var f=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),f[0]==null||f[0].raw===void 0)p.push.apply(p,f);else{var h=f[0];p.push(h[0]);for(var m=f.length,g=1;g<m;g++)p.push(f[g],h[g])}var d=fi(function(y,x,k){var S=u&&y.as||o,w="",C=[],T=y;if(y.theme==null){T={};for(var b in y)T[b]=y[b];T.theme=R.useContext(cr)}typeof y.className=="string"?w=Ca(x.registered,C,y.className):y.className!=null&&(w=y.className+" ");var P=Kr(p.concat(C),x.registered,T);w+=x.key+"-"+P.name,a!==void 0&&(w+=" "+a);var I=u&&l===void 0?Fa(S):c,A={};for(var M in y)u&&M==="as"||I(M)&&(A[M]=y[M]);return A.className=w,k&&(A.ref=k),R.createElement(R.Fragment,null,R.createElement(fp,{cache:x,serialized:P,isStringTag:typeof S=="string"}),R.createElement(S,A))});return d.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",d.defaultProps=t.defaultProps,d.__emotion_real=d,d.__emotion_base=o,d.__emotion_styles=p,d.__emotion_forwardProp=l,Object.defineProperty(d,"toString",{value:function(){return a===void 0&&lp?"NO_COMPONENT_SELECTOR":"."+a}}),d.withComponent=function(y,x){var k=e(y,_({},n,x,{shouldForwardProp:$a(d,x,!0)}));return k.apply(void 0,p)},d}},pp=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],hi=dp.bind(null);pp.forEach(function(e){hi[e]=hi(e)});var Gr={exports:{}};/*
45
+ object-assign
46
+ (c) Sindre Sorhus
47
+ @license MIT
48
+ */var mi,Ma;function hp(){if(Ma)return mi;Ma=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},l=0;l<10;l++)a["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return mi=o()?Object.assign:function(i,a){for(var l,c=r(i),u,f=1;f<arguments.length;f++){l=Object(arguments[f]);for(var p in l)t.call(l,p)&&(c[p]=l[p]);if(e){u=e(l);for(var h=0;h<u.length;h++)n.call(l,u[h])&&(c[u[h]]=l[u[h]])}}return c},mi}var gi,Da;function yi(){if(Da)return gi;Da=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return gi=e,gi}var bi,La;function ja(){return La||(La=1,bi=Function.call.bind(Object.prototype.hasOwnProperty)),bi}var vi,Ba;function mp(){if(Ba)return vi;Ba=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=yi(),n={},r=ja();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,l,c,u){if(process.env.NODE_ENV!=="production"){for(var f in i)if(r(i,f)){var p;try{if(typeof i[f]!="function"){var h=Error((c||"React class")+": "+l+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}p=i[f](a,f,c,l,null,t)}catch(g){p=g}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var m=u?u():"";e("Failed "+l+" type: "+p.message+(m??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},vi=o,vi}var xi,za;function gp(){if(za)return xi;za=1;var e=si(),t=hp(),n=yi(),r=ja(),o=mp(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return xi=function(l,c){var u=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(v){var W=v&&(u&&v[u]||v[f]);if(typeof W=="function")return W}var h="<<anonymous>>",m={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:k(),arrayOf:S,element:w(),elementType:C(),instanceOf:T,node:A(),objectOf:P,oneOf:b,oneOfType:I,shape:D,exact:F};function g(v,W){return v===W?v!==0||1/v===1/W:v!==v&&W!==W}function d(v,W){this.message=v,this.data=W&&typeof W=="object"?W:{},this.stack=""}d.prototype=Error.prototype;function y(v){if(process.env.NODE_ENV!=="production")var W={},Z=0;function E(te,Q,oe,ee,ne,se,le){if(ee=ee||h,se=se||oe,le!==n){if(c){var H=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw H.name="Invariant Violation",H}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var ue=ee+":"+oe;!W[ue]&&Z<3&&(i("You are manually calling a React.PropTypes validation function for the `"+se+"` prop on `"+ee+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),W[ue]=!0,Z++)}}return Q[oe]==null?te?Q[oe]===null?new d("The "+ne+" `"+se+"` is marked as required "+("in `"+ee+"`, but its value is `null`.")):new d("The "+ne+" `"+se+"` is marked as required in "+("`"+ee+"`, but its value is `undefined`.")):null:v(Q,oe,ee,ne,se)}var K=E.bind(null,!1);return K.isRequired=E.bind(null,!0),K}function x(v){function W(Z,E,K,te,Q,oe){var ee=Z[E],ne=U(ee);if(ne!==v){var se=Y(ee);return new d("Invalid "+te+" `"+Q+"` of type "+("`"+se+"` supplied to `"+K+"`, expected ")+("`"+v+"`."),{expectedType:v})}return null}return y(W)}function k(){return y(a)}function S(v){function W(Z,E,K,te,Q){if(typeof v!="function")return new d("Property `"+Q+"` of component `"+K+"` has invalid PropType notation inside arrayOf.");var oe=Z[E];if(!Array.isArray(oe)){var ee=U(oe);return new d("Invalid "+te+" `"+Q+"` of type "+("`"+ee+"` supplied to `"+K+"`, expected an array."))}for(var ne=0;ne<oe.length;ne++){var se=v(oe,ne,K,te,Q+"["+ne+"]",n);if(se instanceof Error)return se}return null}return y(W)}function w(){function v(W,Z,E,K,te){var Q=W[Z];if(!l(Q)){var oe=U(Q);return new d("Invalid "+K+" `"+te+"` of type "+("`"+oe+"` supplied to `"+E+"`, expected a single ReactElement."))}return null}return y(v)}function C(){function v(W,Z,E,K,te){var Q=W[Z];if(!e.isValidElementType(Q)){var oe=U(Q);return new d("Invalid "+K+" `"+te+"` of type "+("`"+oe+"` supplied to `"+E+"`, expected a single ReactElement type."))}return null}return y(v)}function T(v){function W(Z,E,K,te,Q){if(!(Z[E]instanceof v)){var oe=v.name||h,ee=ie(Z[E]);return new d("Invalid "+te+" `"+Q+"` of type "+("`"+ee+"` supplied to `"+K+"`, expected ")+("instance of `"+oe+"`."))}return null}return y(W)}function b(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function W(Z,E,K,te,Q){for(var oe=Z[E],ee=0;ee<v.length;ee++)if(g(oe,v[ee]))return null;var ne=JSON.stringify(v,function(le,H){var ue=Y(H);return ue==="symbol"?String(H):H});return new d("Invalid "+te+" `"+Q+"` of value `"+String(oe)+"` "+("supplied to `"+K+"`, expected one of "+ne+"."))}return y(W)}function P(v){function W(Z,E,K,te,Q){if(typeof v!="function")return new d("Property `"+Q+"` of component `"+K+"` has invalid PropType notation inside objectOf.");var oe=Z[E],ee=U(oe);if(ee!=="object")return new d("Invalid "+te+" `"+Q+"` of type "+("`"+ee+"` supplied to `"+K+"`, expected an object."));for(var ne in oe)if(r(oe,ne)){var se=v(oe,ne,K,te,Q+"."+ne,n);if(se instanceof Error)return se}return null}return y(W)}function I(v){if(!Array.isArray(v))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var W=0;W<v.length;W++){var Z=v[W];if(typeof Z!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+z(Z)+" at index "+W+"."),a}function E(K,te,Q,oe,ee){for(var ne=[],se=0;se<v.length;se++){var le=v[se],H=le(K,te,Q,oe,ee,n);if(H==null)return null;H.data&&r(H.data,"expectedType")&&ne.push(H.data.expectedType)}var ue=ne.length>0?", expected one of type ["+ne.join(", ")+"]":"";return new d("Invalid "+oe+" `"+ee+"` supplied to "+("`"+Q+"`"+ue+"."))}return y(E)}function A(){function v(W,Z,E,K,te){return N(W[Z])?null:new d("Invalid "+K+" `"+te+"` supplied to "+("`"+E+"`, expected a ReactNode."))}return y(v)}function M(v,W,Z,E,K){return new d((v||"React class")+": "+W+" type `"+Z+"."+E+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+K+"`.")}function D(v){function W(Z,E,K,te,Q){var oe=Z[E],ee=U(oe);if(ee!=="object")return new d("Invalid "+te+" `"+Q+"` of type `"+ee+"` "+("supplied to `"+K+"`, expected `object`."));for(var ne in v){var se=v[ne];if(typeof se!="function")return M(K,te,Q,ne,Y(se));var le=se(oe,ne,K,te,Q+"."+ne,n);if(le)return le}return null}return y(W)}function F(v){function W(Z,E,K,te,Q){var oe=Z[E],ee=U(oe);if(ee!=="object")return new d("Invalid "+te+" `"+Q+"` of type `"+ee+"` "+("supplied to `"+K+"`, expected `object`."));var ne=t({},Z[E],v);for(var se in ne){var le=v[se];if(r(v,se)&&typeof le!="function")return M(K,te,Q,se,Y(le));if(!le)return new d("Invalid "+te+" `"+Q+"` key `"+se+"` supplied to `"+K+"`.\nBad object: "+JSON.stringify(Z[E],null," ")+`
49
+ Valid keys: `+JSON.stringify(Object.keys(v),null," "));var H=le(oe,se,K,te,Q+"."+se,n);if(H)return H}return null}return y(W)}function N(v){switch(typeof v){case"number":case"string":case"undefined":return!0;case"boolean":return!v;case"object":if(Array.isArray(v))return v.every(N);if(v===null||l(v))return!0;var W=p(v);if(W){var Z=W.call(v),E;if(W!==v.entries){for(;!(E=Z.next()).done;)if(!N(E.value))return!1}else for(;!(E=Z.next()).done;){var K=E.value;if(K&&!N(K[1]))return!1}}else return!1;return!0;default:return!1}}function $(v,W){return v==="symbol"?!0:W?W["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&W instanceof Symbol:!1}function U(v){var W=typeof v;return Array.isArray(v)?"array":v instanceof RegExp?"object":$(W,v)?"symbol":W}function Y(v){if(typeof v>"u"||v===null)return""+v;var W=U(v);if(W==="object"){if(v instanceof Date)return"date";if(v instanceof RegExp)return"regexp"}return W}function z(v){var W=Y(v);switch(W){case"array":case"object":return"an "+W;case"boolean":case"date":case"regexp":return"a "+W;default:return W}}function ie(v){return!v.constructor||!v.constructor.name?h:v.constructor.name}return m.checkPropTypes=o,m.resetWarningCache=o.resetWarningCache,m.PropTypes=m,m},xi}var Ei,Ua;function yp(){if(Ua)return Ei;Ua=1;var e=yi();function t(){}function n(){}return n.resetWarningCache=t,Ei=function(){function r(a,l,c,u,f,p){if(p!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},Ei}var Va;function bp(){if(Va)return Gr.exports;if(Va=1,process.env.NODE_ENV!=="production"){var e=si(),t=!0;Gr.exports=gp()(e.isElement,t)}else Gr.exports=yp()();return Gr.exports}var vp=bp();const s=on(vp);let Si;typeof document=="object"&&(Si=va({key:"css",prepend:!0}));function qa(e){const{injectFirst:t,children:n}=e;return t&&Si?B.jsx(ep,{value:Si,children:n}):n}process.env.NODE_ENV!=="production"&&(qa.propTypes={children:s.node,injectFirst:s.bool});function xp(e){return e==null||Object.keys(e).length===0}function Ti(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?o=>t(xp(o)?n:o):t;return B.jsx(ip,{styles:r})}process.env.NODE_ENV!=="production"&&(Ti.propTypes={defaultTheme:s.object,styles:s.oneOfType([s.array,s.string,s.object,s.func])});/**
50
+ * @mui/styled-engine v5.16.12
51
+ *
52
+ * @license MIT
53
+ * This source code is licensed under the MIT license found in the
54
+ * LICENSE file in the root directory of this source tree.
55
+ */function Wa(e,t){const n=hi(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const o=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${o})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
56
+ `)):r.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),n(...r)}:n}const Ep=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:Ti,StyledEngineProvider:qa,ThemeContext:cr,css:mn,default:Wa,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:Zt},Symbol.toStringTag,{value:"Module"}));function sn(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Ha(e){if(R.isValidElement(e)||!sn(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Ha(e[n])}),t}function Rt(e,t,n={clone:!0}){const r=n.clone?_({},e):e;return sn(e)&&sn(t)&&Object.keys(t).forEach(o=>{R.isValidElement(t[o])?r[o]=t[o]:sn(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&sn(e[o])?r[o]=Rt(e[o],t[o],n):n.clone?r[o]=sn(t[o])?Ha(t[o]):t[o]:r[o]=t[o]}),r}const Sp=Object.freeze(Object.defineProperty({__proto__:null,default:Rt,isPlainObject:sn},Symbol.toStringTag,{value:"Module"})),Tp=["values","unit","step"],Cp=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>_({},n,{[r.key]:r.val}),{})};function Ya(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=me(e,Tp),i=Cp(t),a=Object.keys(i);function l(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n})`}function c(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-r/100}${n})`}function u(h,m){const g=a.indexOf(m);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${n}) and (max-width:${(g!==-1&&typeof t[a[g]]=="number"?t[a[g]]:m)-r/100}${n})`}function f(h){return a.indexOf(h)+1<a.length?u(h,a[a.indexOf(h)+1]):l(h)}function p(h){const m=a.indexOf(h);return m===0?l(a[1]):m===a.length-1?c(a[m]):u(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return _({keys:a,values:i,up:l,down:c,between:u,only:f,not:p,unit:n},o)}const wp={borderRadius:4},an=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.string,s.object,s.array]):{};function fr(e,t){return t?Rt(e,t,{clone:!1}):e}const Ci={xs:0,sm:600,md:900,lg:1200,xl:1536},Ka={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ci[e]}px)`};function en(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const i=r.breakpoints||Ka;return t.reduce((a,l,c)=>(a[i.up(i.keys[c])]=n(t[c]),a),{})}if(typeof t=="object"){const i=r.breakpoints||Ka;return Object.keys(t).reduce((a,l)=>{if(Object.keys(i.values||Ci).indexOf(l)!==-1){const c=i.up(l);a[c]=n(t[l],l)}else{const c=l;a[c]=t[c]}return a},{})}return n(t)}function Op(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,o)=>{const i=e.up(o);return r[i]={},r},{}))||{}}function Rp(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function ce(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":hn(7));return e.charAt(0).toUpperCase()+e.slice(1)}const kp=Object.freeze(Object.defineProperty({__proto__:null,default:ce},Symbol.toStringTag,{value:"Module"}));function Xr(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 Jr(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Xr(e,n)||r,t&&(o=t(o,r,e)),o}function tt(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=a=>{if(a[t]==null)return null;const l=a[t],c=a.theme,u=Xr(c,r)||{};return en(a,l,p=>{let h=Jr(u,o,p);return p===h&&typeof p=="string"&&(h=Jr(u,o,`${t}${p==="default"?"":ce(p)}`,p)),n===!1?h:{[n]:h}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:an}:{},i.filterProps=[t],i}function Pp(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const _p={m:"margin",p:"padding"},Ip={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ga={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ap=Pp(e=>{if(e.length>2)if(Ga[e])e=Ga[e];else return[e];const[t,n]=e.split(""),r=_p[t],o=Ip[n]||"";return Array.isArray(o)?o.map(i=>r+i):[r+o]}),Qr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Zr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Np=[...Qr,...Zr];function dr(e,t,n,r){var o;const i=(o=Xr(e,t,!1))!=null?o:n;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${r} argument to be a number or a string, got ${a}.`),i*a):Array.isArray(i)?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>i.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(i)}.`,`${a} > ${i.length-1}, you need to add the missing values.`].join(`
57
+ `)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
58
+ `))),i[a]):typeof i=="function"?i:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${i}) is invalid.`,"It should be a number, an array or a function."].join(`
59
+ `)),()=>{})}function Xa(e){return dr(e,"spacing",8,"spacing")}function pr(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 Fp(e,t){return n=>e.reduce((r,o)=>(r[o]=pr(t,n),r),{})}function $p(e,t,n,r){if(t.indexOf(n)===-1)return null;const o=Ap(n),i=Fp(o,r),a=e[n];return en(e,a,i)}function Ja(e,t){const n=Xa(e.theme);return Object.keys(e).map(r=>$p(e,t,r,n)).reduce(fr,{})}function Ze(e){return Ja(e,Qr)}Ze.propTypes=process.env.NODE_ENV!=="production"?Qr.reduce((e,t)=>(e[t]=an,e),{}):{},Ze.filterProps=Qr;function et(e){return Ja(e,Zr)}et.propTypes=process.env.NODE_ENV!=="production"?Zr.reduce((e,t)=>(e[t]=an,e),{}):{},et.filterProps=Zr,process.env.NODE_ENV!=="production"&&Np.reduce((e,t)=>(e[t]=an,e),{});function Mp(e=8){if(e.mui)return e;const t=Xa({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return n.mui=!0,n}function eo(...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]?fr(o,t[i](r)):o,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,o)=>Object.assign(r,o.propTypes),{}):{},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Nt(e){return typeof e!="number"?e:`${e}px solid`}function Ft(e,t){return tt({prop:e,themeKey:"borders",transform:t})}const Dp=Ft("border",Nt),Lp=Ft("borderTop",Nt),jp=Ft("borderRight",Nt),Bp=Ft("borderBottom",Nt),zp=Ft("borderLeft",Nt),Up=Ft("borderColor"),Vp=Ft("borderTopColor"),qp=Ft("borderRightColor"),Wp=Ft("borderBottomColor"),Hp=Ft("borderLeftColor"),Yp=Ft("outline",Nt),Kp=Ft("outlineColor"),to=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=dr(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:pr(t,r)});return en(e,e.borderRadius,n)}return null};to.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:an}:{},to.filterProps=["borderRadius"],eo(Dp,Lp,jp,Bp,zp,Up,Vp,qp,Wp,Hp,to,Yp,Kp);const no=e=>{if(e.gap!==void 0&&e.gap!==null){const t=dr(e.theme,"spacing",8,"gap"),n=r=>({gap:pr(t,r)});return en(e,e.gap,n)}return null};no.propTypes=process.env.NODE_ENV!=="production"?{gap:an}:{},no.filterProps=["gap"];const ro=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=dr(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:pr(t,r)});return en(e,e.columnGap,n)}return null};ro.propTypes=process.env.NODE_ENV!=="production"?{columnGap:an}:{},ro.filterProps=["columnGap"];const oo=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=dr(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:pr(t,r)});return en(e,e.rowGap,n)}return null};oo.propTypes=process.env.NODE_ENV!=="production"?{rowGap:an}:{},oo.filterProps=["rowGap"];const Gp=tt({prop:"gridColumn"}),Xp=tt({prop:"gridRow"}),Jp=tt({prop:"gridAutoFlow"}),Qp=tt({prop:"gridAutoColumns"}),Zp=tt({prop:"gridAutoRows"}),eh=tt({prop:"gridTemplateColumns"}),th=tt({prop:"gridTemplateRows"}),nh=tt({prop:"gridTemplateAreas"}),rh=tt({prop:"gridArea"});eo(no,ro,oo,Gp,Xp,Jp,Qp,Zp,eh,th,nh,rh);function Dn(e,t){return t==="grey"?t:e}const oh=tt({prop:"color",themeKey:"palette",transform:Dn}),ih=tt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Dn}),sh=tt({prop:"backgroundColor",themeKey:"palette",transform:Dn});eo(oh,ih,sh);function kt(e){return e<=1&&e!==0?`${e*100}%`:e}const ah=tt({prop:"width",transform:kt}),wi=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])||Ci[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:kt(n)}};return en(e,e.maxWidth,t)}return null};wi.filterProps=["maxWidth"];const lh=tt({prop:"minWidth",transform:kt}),uh=tt({prop:"height",transform:kt}),ch=tt({prop:"maxHeight",transform:kt}),fh=tt({prop:"minHeight",transform:kt});tt({prop:"size",cssProperty:"width",transform:kt}),tt({prop:"size",cssProperty:"height",transform:kt});const dh=tt({prop:"boxSizing"});eo(ah,wi,lh,uh,ch,fh,dh);const hr={border:{themeKey:"borders",transform:Nt},borderTop:{themeKey:"borders",transform:Nt},borderRight:{themeKey:"borders",transform:Nt},borderBottom:{themeKey:"borders",transform:Nt},borderLeft:{themeKey:"borders",transform:Nt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Nt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:to},color:{themeKey:"palette",transform:Dn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Dn},backgroundColor:{themeKey:"palette",transform:Dn},p:{style:et},pt:{style:et},pr:{style:et},pb:{style:et},pl:{style:et},px:{style:et},py:{style:et},padding:{style:et},paddingTop:{style:et},paddingRight:{style:et},paddingBottom:{style:et},paddingLeft:{style:et},paddingX:{style:et},paddingY:{style:et},paddingInline:{style:et},paddingInlineStart:{style:et},paddingInlineEnd:{style:et},paddingBlock:{style:et},paddingBlockStart:{style:et},paddingBlockEnd:{style:et},m:{style:Ze},mt:{style:Ze},mr:{style:Ze},mb:{style:Ze},ml:{style:Ze},mx:{style:Ze},my:{style:Ze},margin:{style:Ze},marginTop:{style:Ze},marginRight:{style:Ze},marginBottom:{style:Ze},marginLeft:{style:Ze},marginX:{style:Ze},marginY:{style:Ze},marginInline:{style:Ze},marginInlineStart:{style:Ze},marginInlineEnd:{style:Ze},marginBlock:{style:Ze},marginBlockStart:{style:Ze},marginBlockEnd:{style:Ze},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:no},rowGap:{style:oo},columnGap:{style:ro},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:kt},maxWidth:{style:wi},minWidth:{transform:kt},height:{transform:kt},maxHeight:{transform:kt},minHeight:{transform:kt},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function ph(...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 hh(e,t){return typeof e=="function"?e(t):e}function Qa(){function e(n,r,o,i){const a={[n]:r,theme:o},l=i[n];if(!l)return{[n]:r};const{cssProperty:c=n,themeKey:u,transform:f,style:p}=l;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const h=Xr(o,u)||{};return p?p(a):en(a,r,g=>{let d=Jr(h,f,g);return g===d&&typeof g=="string"&&(d=Jr(h,f,`${n}${g==="default"?"":ce(g)}`,g)),c===!1?d:{[c]:d}})}function t(n){var r;const{sx:o,theme:i={}}=n||{};if(!o)return null;const a=(r=i.unstable_sxConfig)!=null?r:hr;function l(c){let u=c;if(typeof c=="function")u=c(i);else if(typeof c!="object")return c;if(!u)return null;const f=Op(i.breakpoints),p=Object.keys(f);let h=f;return Object.keys(u).forEach(m=>{const g=hh(u[m],i);if(g!=null)if(typeof g=="object")if(a[m])h=fr(h,e(m,g,i,a));else{const d=en({theme:i},g,y=>({[m]:y}));ph(d,g)?h[m]=t({sx:g,theme:i}):h=fr(h,d)}else h=fr(h,e(m,g,i,a))}),Rp(p,h)}return Array.isArray(o)?o.map(l):l(o)}return t}const mr=Qa();mr.filterProps=["sx"];function Za(e,t){const n=this;return n.vars&&typeof n.getColorSchemeSelector=="function"?{[n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:n.palette.mode===e?t:{}}const mh=["breakpoints","palette","spacing","shape"];function Oi(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=me(e,mh),l=Ya(n),c=Mp(o);let u=Rt({breakpoints:l,direction:"ltr",components:{},palette:_({mode:"light"},r),spacing:c,shape:_({},wp,i)},a);return u.applyStyles=Za,u=t.reduce((f,p)=>Rt(f,p),u),u.unstable_sxConfig=_({},hr,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(p){return mr({sx:p,theme:this})},u}const gh=Object.freeze(Object.defineProperty({__proto__:null,default:Oi,private_createBreakpoints:Ya,unstable_applyStyles:Za},Symbol.toStringTag,{value:"Module"}));function yh(e){return Object.keys(e).length===0}function el(e=null){const t=R.useContext(cr);return!t||yh(t)?e:t}const bh=Oi();function Ri(e=bh){return el(e)}function tl({styles:e,themeId:t,defaultTheme:n={}}){const r=Ri(n),o=typeof e=="function"?e(t&&r[t]||r):e;return B.jsx(Ti,{styles:o})}process.env.NODE_ENV!=="production"&&(tl.propTypes={defaultTheme:s.object,styles:s.oneOfType([s.array,s.func,s.number,s.object,s.string,s.bool]),themeId:s.string});const vh=["sx"],xh=e=>{var t,n;const r={systemProps:{},otherProps:{}},o=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:hr;return Object.keys(e).forEach(i=>{o[i]?r.systemProps[i]=e[i]:r.otherProps[i]=e[i]}),r};function ki(e){const{sx:t}=e,n=me(e,vh),{systemProps:r,otherProps:o}=xh(n);let i;return Array.isArray(t)?i=[r,...t]:typeof t=="function"?i=(...a)=>{const l=t(...a);return sn(l)?_({},r,l):r}:i=_({},r,t),_({},o,{sx:i})}const Eh=Object.freeze(Object.defineProperty({__proto__:null,default:mr,extendSxProp:ki,unstable_createStyleFunctionSx:Qa,unstable_defaultSxConfig:hr},Symbol.toStringTag,{value:"Module"})),nl=e=>e,Pi=(()=>{let e=nl;return{configure(t){e=t},generate(t){return e(t)},reset(){e=nl}}})();function rl(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=rl(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ee(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=rl(e))&&(r&&(r+=" "),r+=t);return r}const Sh=["className","component"];function Th(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=Wa("div",{shouldForwardProp:l=>l!=="theme"&&l!=="sx"&&l!=="as"})(mr);return R.forwardRef(function(c,u){const f=Ri(n),p=ki(c),{className:h,component:m="div"}=p,g=me(p,Sh);return B.jsx(i,_({as:m,ref:u,className:Ee(h,o?o(r):r),theme:t&&f[t]||f},g))})}const Ch={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 Ue(e,t,n="Mui"){const r=Ch[t];return r?`${n}-${r}`:`${Pi.generate(e)}-${t}`}function Ve(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ue(e,o,n)}),r}var io={exports:{}},$e={};/**
60
+ * @license React
61
+ * react-is.production.js
62
+ *
63
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
64
+ *
65
+ * This source code is licensed under the MIT license found in the
66
+ * LICENSE file in the root directory of this source tree.
67
+ */var ol;function wh(){if(ol)return $e;ol=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");function g(d){if(typeof d=="object"&&d!==null){var y=d.$$typeof;switch(y){case e:switch(d=d.type,d){case n:case o:case r:case c:case u:return d;default:switch(d=d&&d.$$typeof,d){case a:case l:case p:case f:return d;case i:return d;default:return y}}case t:return y}}}return $e.ContextConsumer=i,$e.ContextProvider=a,$e.Element=e,$e.ForwardRef=l,$e.Fragment=n,$e.Lazy=p,$e.Memo=f,$e.Portal=t,$e.Profiler=o,$e.StrictMode=r,$e.Suspense=c,$e.SuspenseList=u,$e.isContextConsumer=function(d){return g(d)===i},$e.isContextProvider=function(d){return g(d)===a},$e.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},$e.isForwardRef=function(d){return g(d)===l},$e.isFragment=function(d){return g(d)===n},$e.isLazy=function(d){return g(d)===p},$e.isMemo=function(d){return g(d)===f},$e.isPortal=function(d){return g(d)===t},$e.isProfiler=function(d){return g(d)===o},$e.isStrictMode=function(d){return g(d)===r},$e.isSuspense=function(d){return g(d)===c},$e.isSuspenseList=function(d){return g(d)===u},$e.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===n||d===o||d===r||d===c||d===u||d===h||typeof d=="object"&&d!==null&&(d.$$typeof===p||d.$$typeof===f||d.$$typeof===a||d.$$typeof===i||d.$$typeof===l||d.$$typeof===m||d.getModuleId!==void 0)},$e.typeOf=g,$e}var Me={};/**
68
+ * @license React
69
+ * react-is.development.js
70
+ *
71
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
72
+ *
73
+ * This source code is licensed under the MIT license found in the
74
+ * LICENSE file in the root directory of this source tree.
75
+ */var il;function Oh(){return il||(il=1,process.env.NODE_ENV!=="production"&&function(){function e(d){if(typeof d=="object"&&d!==null){var y=d.$$typeof;switch(y){case t:switch(d=d.type,d){case r:case i:case o:case u:case f:return d;default:switch(d=d&&d.$$typeof,d){case l:case c:case h:case p:return d;case a:return d;default:return y}}case n:return y}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=Symbol.for("react.client.reference");Me.ContextConsumer=a,Me.ContextProvider=l,Me.Element=t,Me.ForwardRef=c,Me.Fragment=r,Me.Lazy=h,Me.Memo=p,Me.Portal=n,Me.Profiler=i,Me.StrictMode=o,Me.Suspense=u,Me.SuspenseList=f,Me.isContextConsumer=function(d){return e(d)===a},Me.isContextProvider=function(d){return e(d)===l},Me.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},Me.isForwardRef=function(d){return e(d)===c},Me.isFragment=function(d){return e(d)===r},Me.isLazy=function(d){return e(d)===h},Me.isMemo=function(d){return e(d)===p},Me.isPortal=function(d){return e(d)===n},Me.isProfiler=function(d){return e(d)===i},Me.isStrictMode=function(d){return e(d)===o},Me.isSuspense=function(d){return e(d)===u},Me.isSuspenseList=function(d){return e(d)===f},Me.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===i||d===o||d===u||d===f||d===m||typeof d=="object"&&d!==null&&(d.$$typeof===h||d.$$typeof===p||d.$$typeof===l||d.$$typeof===a||d.$$typeof===c||d.$$typeof===g||d.getModuleId!==void 0)},Me.typeOf=e}()),Me}var sl;function Rh(){return sl||(sl=1,process.env.NODE_ENV==="production"?io.exports=wh():io.exports=Oh()),io.exports}var al=Rh();const kh=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function ll(e){const t=`${e}`.match(kh);return t&&t[1]||""}function ul(e,t=""){return e.displayName||e.name||ll(e)||t}function cl(e,t,n){const r=ul(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Ph(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return ul(e,"Component");if(typeof e=="object")switch(e.$$typeof){case al.ForwardRef:return cl(e,e.render,"ForwardRef");case al.Memo:return cl(e,e.type,"memo");default:return}}}const _h=Object.freeze(Object.defineProperty({__proto__:null,default:Ph,getFunctionName:ll},Symbol.toStringTag,{value:"Module"}));function gr(e,t){const n=_({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=_({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},!i||!Object.keys(i)?n[r]=o:!o||!Object.keys(o)?n[r]=i:(n[r]=_({},i),Object.keys(o).forEach(a=>{n[r][a]=gr(o[a],i[a])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Ih(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:gr(t.components[n].defaultProps,r)}const tn=typeof window<"u"?R.useLayoutEffect:R.useEffect;function Ah(e,t,n,r,o){const[i,a]=R.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return tn(()=>{let l=!0;if(!n)return;const c=n(e),u=()=>{l&&a(c.matches)};return u(),c.addListener(u),()=>{l=!1,c.removeListener(u)}},[e,n]),i}const fl=R.useSyncExternalStore;function Nh(e,t,n,r,o){const i=R.useCallback(()=>t,[t]),a=R.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:f}=r(e);return()=>f}return i},[i,e,r,o,n]),[l,c]=R.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const f=n(e);return[()=>f.matches,p=>(f.addListener(p),()=>{f.removeListener(p)})]},[i,n,e]);return fl(c,l,a)}function dl(e,t={}){const n=el(),r=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:o=!1,matchMedia:i=r?window.matchMedia:null,ssrMatchMedia:a=null,noSsr:l=!1}=Ih({name:"MuiUseMediaQuery",props:t,theme:n});process.env.NODE_ENV!=="production"&&typeof e=="function"&&n===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
76
+ `));let c=typeof e=="function"?e(n):e;c=c.replace(/^@media( ?)/m,"");const f=(fl!==void 0?Nh:Ah)(c,o,i,a,l);return process.env.NODE_ENV!=="production"&&R.useDebugValue({query:c,match:f}),f}function Fh(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}const $h=Object.freeze(Object.defineProperty({__proto__:null,default:Fh},Symbol.toStringTag,{value:"Module"}));function gn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function Mh(e){const{prototype:t={}}=e;return!!t.isReactComponent}function pl(e,t,n,r,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let l;const c=i.type;return typeof c=="function"&&!Mh(c)&&(l="Did you accidentally use a plain function component for an element instead?"),l!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const yr=gn(s.element,pl);yr.isRequired=gn(s.element.isRequired,pl);function Dh(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Lh(e,t,n,r,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let l;return typeof i=="function"&&!Dh(i)&&(l="Did you accidentally provide a plain function component instead?"),l!==void 0?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const _i=gn(s.elementType,Lh),jh="exact-prop: ​";function hl(e){return process.env.NODE_ENV==="production"?e:_({},e,{[jh]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function br(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const i=e[t],a=o||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${r} \`${a}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const nn=s.oneOfType([s.func,s.object]);function Ii(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function Ai(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 Bh(e,t){return process.env.NODE_ENV==="production"?()=>null:(n,r,o,i,a)=>{const l=o||"<<anonymous>>",c=a||r;return typeof n[r]<"u"?new Error(`The ${i} \`${c}\` of \`${l}\` is deprecated. ${t}`):null}}function so(e,t){var n,r;return R.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 vt(e){return e&&e.ownerDocument||document}function ln(e){return vt(e).defaultView||window}function zh(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?_({},t.propTypes):null;return o=>(i,a,l,c,u,...f)=>{const p=u||a,h=n==null?void 0:n[p];if(h){const m=h(i,a,l,c,u,...f);if(m)return m}return typeof i[a]<"u"&&!i[o]?new Error(`The prop \`${p}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}function ao(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let ml=0;function Uh(e){const[t,n]=R.useState(e),r=e||t;return R.useEffect(()=>{t==null&&(ml+=1,n(`mui-${ml}`))},[t]),r}const gl=R.useId;function Ni(e){if(gl!==void 0){const t=gl();return e??t}return Uh(e)}function Vh(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const i=o||t;return typeof e[t]<"u"?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function Fi({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=R.useRef(e!==void 0),[i,a]=R.useState(t),l=o?e:i;if(process.env.NODE_ENV!=="production"){R.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
77
+ `))},[r,n,e]);const{current:u}=R.useRef(t);R.useEffect(()=>{!o&&!Object.is(u,t)&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
78
+ `))},[JSON.stringify(t)])}const c=R.useCallback(u=>{o||a(u)},[]);return[l,c]}function yn(e){const t=R.useRef(e);return tn(()=>{t.current=e}),R.useRef((...n)=>(0,t.current)(...n)).current}function gt(...e){return R.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ao(n,t)})},e)}const yl={};function qh(e,t){const n=R.useRef(yl);return n.current===yl&&(n.current=e(t)),n}const Wh=[];function Hh(e){R.useEffect(e,Wh)}class lo{constructor(){this.currentId=null,this.clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new lo}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function bl(){const e=qh(lo.create).current;return Hh(e.disposeEffect),e}let uo=!0,$i=!1;const Yh=new lo,Kh={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 Gh(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Kh[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Xh(e){e.metaKey||e.altKey||e.ctrlKey||(uo=!0)}function Mi(){uo=!1}function Jh(){this.visibilityState==="hidden"&&$i&&(uo=!0)}function Qh(e){e.addEventListener("keydown",Xh,!0),e.addEventListener("mousedown",Mi,!0),e.addEventListener("pointerdown",Mi,!0),e.addEventListener("touchstart",Mi,!0),e.addEventListener("visibilitychange",Jh,!0)}function Zh(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return uo||Gh(t)}function vl(){const e=R.useCallback(o=>{o!=null&&Qh(o.ownerDocument)},[]),t=R.useRef(!1);function n(){return t.current?($i=!0,Yh.start(100,()=>{$i=!1}),t.current=!1,!0):!1}function r(o){return Zh(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function xl(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function em(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function tm(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const nm=Number.isInteger||tm;function El(e,t,n,r){const o=e[t];if(o==null||!nm(o)){const i=em(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Sl(e,t,...n){return e[t]===void 0?null:El(e,t,...n)}function Di(){return null}Sl.isRequired=El,Di.isRequired=Di;const Tl=process.env.NODE_ENV==="production"?Di:Sl;function Ke(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((i,a)=>{if(a){const l=t(a);l!==""&&i.push(l),n&&n[a]&&i.push(n[a])}return i},[]).join(" ")}),r}function co(e){return typeof e=="string"}function rm(e,t,n){return e===void 0||co(e)?t:_({},t,{ownerState:_({},t.ownerState,n)})}function Cl(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 wl(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 om(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const m=Ee(n==null?void 0:n.className,i,o==null?void 0:o.className,r==null?void 0:r.className),g=_({},n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),d=_({},n,o,r);return m.length>0&&(d.className=m),Object.keys(g).length>0&&(d.style=g),{props:d,internalRef:void 0}}const a=Cl(_({},o,r)),l=wl(r),c=wl(o),u=t(a),f=Ee(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=_({},u==null?void 0:u.style,n==null?void 0:n.style,o==null?void 0:o.style,r==null?void 0:r.style),h=_({},u,n,c,l);return f.length>0&&(h.className=f),Object.keys(p).length>0&&(h.style=p),{props:h,internalRef:u.ref}}function im(e,t,n){return typeof e=="function"?e(t,n):e}const sm=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Ln(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=me(e,sm),l=i?{}:im(r,o),{props:c,internalRef:u}=om(_({},a,{externalSlotProps:l})),f=gt(u,l==null?void 0:l.ref,(t=e.additionalProps)==null?void 0:t.ref);return rm(n,_({},c,{ref:f}),o)}function vr(e){if(parseInt(R.version,10)>=19){var t;return(e==null||(t=e.props)==null?void 0:t.ref)||null}return(e==null?void 0:e.ref)||null}const am=R.createContext();process.env.NODE_ENV!=="production"&&(s.node,s.bool);const Ol=()=>{const e=R.useContext(am);return e??!1},lm=R.createContext(void 0);process.env.NODE_ENV!=="production"&&(s.node,s.object);function um(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?gr(o.defaultProps,r):!o.styleOverrides&&!o.variants?gr(o,r):r}function cm({props:e,name:t}){const n=R.useContext(lm);return um({props:e,name:t,theme:{components:n}})}function fm(e,t){return _({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Je={},Li={exports:{}},Rl;function fo(){return Rl||(Rl=1,function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Li)),Li.exports}const dm=Qt(fd),pm=Qt($h);var kl;function hm(){if(kl)return Je;kl=1;var e=fo();Object.defineProperty(Je,"__esModule",{value:!0}),Je.alpha=g,Je.blend=T,Je.colorChannel=void 0,Je.darken=y,Je.decomposeColor=a,Je.emphasize=w,Je.getContrastRatio=m,Je.getLuminance=h,Je.hexToRgb=o,Je.hslToRgb=p,Je.lighten=k,Je.private_safeAlpha=d,Je.private_safeColorChannel=void 0,Je.private_safeDarken=x,Je.private_safeEmphasize=C,Je.private_safeLighten=S,Je.recomposeColor=u,Je.rgbToHex=f;var t=e(dm),n=e(pm);function r(b,P=0,I=1){return process.env.NODE_ENV!=="production"&&(b<P||b>I)&&console.error(`MUI: The value provided ${b} is out of range [${P}, ${I}].`),(0,n.default)(b,P,I)}function o(b){b=b.slice(1);const P=new RegExp(`.{1,${b.length>=6?2:1}}`,"g");let I=b.match(P);return I&&I[0].length===1&&(I=I.map(A=>A+A)),I?`rgb${I.length===4?"a":""}(${I.map((A,M)=>M<3?parseInt(A,16):Math.round(parseInt(A,16)/255*1e3)/1e3).join(", ")})`:""}function i(b){const P=b.toString(16);return P.length===1?`0${P}`:P}function a(b){if(b.type)return b;if(b.charAt(0)==="#")return a(o(b));const P=b.indexOf("("),I=b.substring(0,P);if(["rgb","rgba","hsl","hsla","color"].indexOf(I)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${b}\` color.
79
+ The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,t.default)(9,b));let A=b.substring(P+1,b.length-1),M;if(I==="color"){if(A=A.split(" "),M=A.shift(),A.length===4&&A[3].charAt(0)==="/"&&(A[3]=A[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(M)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${M}\` color space.
80
+ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,t.default)(10,M))}else A=A.split(",");return A=A.map(D=>parseFloat(D)),{type:I,values:A,colorSpace:M}}const l=b=>{const P=a(b);return P.values.slice(0,3).map((I,A)=>P.type.indexOf("hsl")!==-1&&A!==0?`${I}%`:I).join(" ")};Je.colorChannel=l;const c=(b,P)=>{try{return l(b)}catch{return P&&process.env.NODE_ENV!=="production"&&console.warn(P),b}};Je.private_safeColorChannel=c;function u(b){const{type:P,colorSpace:I}=b;let{values:A}=b;return P.indexOf("rgb")!==-1?A=A.map((M,D)=>D<3?parseInt(M,10):M):P.indexOf("hsl")!==-1&&(A[1]=`${A[1]}%`,A[2]=`${A[2]}%`),P.indexOf("color")!==-1?A=`${I} ${A.join(" ")}`:A=`${A.join(", ")}`,`${P}(${A})`}function f(b){if(b.indexOf("#")===0)return b;const{values:P}=a(b);return`#${P.map((I,A)=>i(A===3?Math.round(255*I):I)).join("")}`}function p(b){b=a(b);const{values:P}=b,I=P[0],A=P[1]/100,M=P[2]/100,D=A*Math.min(M,1-M),F=(U,Y=(U+I/30)%12)=>M-D*Math.max(Math.min(Y-3,9-Y,1),-1);let N="rgb";const $=[Math.round(F(0)*255),Math.round(F(8)*255),Math.round(F(4)*255)];return b.type==="hsla"&&(N+="a",$.push(P[3])),u({type:N,values:$})}function h(b){b=a(b);let P=b.type==="hsl"||b.type==="hsla"?a(p(b)).values:b.values;return P=P.map(I=>(b.type!=="color"&&(I/=255),I<=.03928?I/12.92:((I+.055)/1.055)**2.4)),Number((.2126*P[0]+.7152*P[1]+.0722*P[2]).toFixed(3))}function m(b,P){const I=h(b),A=h(P);return(Math.max(I,A)+.05)/(Math.min(I,A)+.05)}function g(b,P){return b=a(b),P=r(P),(b.type==="rgb"||b.type==="hsl")&&(b.type+="a"),b.type==="color"?b.values[3]=`/${P}`:b.values[3]=P,u(b)}function d(b,P,I){try{return g(b,P)}catch{return I&&process.env.NODE_ENV!=="production"&&console.warn(I),b}}function y(b,P){if(b=a(b),P=r(P),b.type.indexOf("hsl")!==-1)b.values[2]*=1-P;else if(b.type.indexOf("rgb")!==-1||b.type.indexOf("color")!==-1)for(let I=0;I<3;I+=1)b.values[I]*=1-P;return u(b)}function x(b,P,I){try{return y(b,P)}catch{return I&&process.env.NODE_ENV!=="production"&&console.warn(I),b}}function k(b,P){if(b=a(b),P=r(P),b.type.indexOf("hsl")!==-1)b.values[2]+=(100-b.values[2])*P;else if(b.type.indexOf("rgb")!==-1)for(let I=0;I<3;I+=1)b.values[I]+=(255-b.values[I])*P;else if(b.type.indexOf("color")!==-1)for(let I=0;I<3;I+=1)b.values[I]+=(1-b.values[I])*P;return u(b)}function S(b,P,I){try{return k(b,P)}catch{return I&&process.env.NODE_ENV!=="production"&&console.warn(I),b}}function w(b,P=.15){return h(b)>.5?y(b,P):k(b,P)}function C(b,P,I){try{return w(b,P)}catch{return I&&process.env.NODE_ENV!=="production"&&console.warn(I),b}}function T(b,P,I,A=1){const M=($,U)=>Math.round(($**(1/A)*(1-I)+U**(1/A)*I)**A),D=a(b),F=a(P),N=[M(D.values[0],F.values[0]),M(D.values[1],F.values[1]),M(D.values[2],F.values[2])];return u({type:"rgb",values:N})}return Je}var xt=hm();const mm=["mode","contrastThreshold","tonalOffset"],Pl={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:rr.white,default:rr.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}},ji={text:{primary:rr.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:rr.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 _l(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=xt.lighten(e.main,o):t==="dark"&&(e.dark=xt.darken(e.main,i)))}function gm(e="light"){return e==="dark"?{main:In[200],light:In[50],dark:In[400]}:{main:In[700],light:In[400],dark:In[800]}}function ym(e="light"){return e==="dark"?{main:_n[200],light:_n[50],dark:_n[400]}:{main:_n[500],light:_n[300],dark:_n[700]}}function bm(e="light"){return e==="dark"?{main:Pn[500],light:Pn[300],dark:Pn[700]}:{main:Pn[700],light:Pn[400],dark:Pn[800]}}function vm(e="light"){return e==="dark"?{main:An[400],light:An[300],dark:An[700]}:{main:An[700],light:An[500],dark:An[900]}}function xm(e="light"){return e==="dark"?{main:Nn[400],light:Nn[300],dark:Nn[700]}:{main:Nn[800],light:Nn[500],dark:Nn[900]}}function Em(e="light"){return e==="dark"?{main:or[400],light:or[300],dark:or[700]}:{main:"#ed6c02",light:or[500],dark:or[900]}}function Sm(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=me(e,mm),i=e.primary||gm(t),a=e.secondary||ym(t),l=e.error||bm(t),c=e.info||vm(t),u=e.success||xm(t),f=e.warning||Em(t);function p(d){const y=xt.getContrastRatio(d,ji.text.primary)>=n?ji.text.primary:Pl.text.primary;if(process.env.NODE_ENV!=="production"){const x=xt.getContrastRatio(d,y);x<3&&console.error([`MUI: The contrast ratio of ${x}:1 for ${y} on ${d}`,"falls below the WCAG recommended absolute minimum contrast ratio of 3:1.","https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
81
+ `))}return y}const h=({color:d,name:y,mainShade:x=500,lightShade:k=300,darkShade:S=700})=>{if(d=_({},d),!d.main&&d[x]&&(d.main=d[x]),!d.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
82
+ The color object needs to have a \`main\` property or a \`${x}\` property.`:hn(11,y?` (${y})`:"",x));if(typeof d.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
83
+ \`color.main\` should be a string, but \`${JSON.stringify(d.main)}\` was provided instead.
84
+
85
+ Did you intend to use one of the following approaches?
86
+
87
+ import { green } from "@mui/material/colors";
88
+
89
+ const theme1 = createTheme({ palette: {
90
+ primary: green,
91
+ } });
92
+
93
+ const theme2 = createTheme({ palette: {
94
+ primary: { main: green[500] },
95
+ } });`:hn(12,y?` (${y})`:"",JSON.stringify(d.main)));return _l(d,"light",k,r),_l(d,"dark",S,r),d.contrastText||(d.contrastText=p(d.main)),d},m={dark:ji,light:Pl};return process.env.NODE_ENV!=="production"&&(m[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),Rt(_({common:_({},rr),mode:t,primary:h({color:i,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:l,name:"error"}),warning:h({color:f,name:"warning"}),info:h({color:c,name:"info"}),success:h({color:u,name:"success"}),grey:cd,contrastThreshold:n,getContrastText:p,augmentColor:h,tonalOffset:r},m[t]),o)}const Tm=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Cm(e){return Math.round(e*1e5)/1e5}const Il={textTransform:"uppercase"},Al='"Roboto", "Helvetica", "Arial", sans-serif';function wm(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Al,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:f,pxToRem:p}=n,h=me(n,Tm);process.env.NODE_ENV!=="production"&&(typeof o!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof u!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=o/14,g=p||(x=>`${x/u*m}rem`),d=(x,k,S,w,C)=>_({fontFamily:r,fontWeight:x,fontSize:g(k),lineHeight:S},r===Al?{letterSpacing:`${Cm(w/k)}em`}:{},C,f),y={h1:d(i,96,1.167,-1.5),h2:d(i,60,1.2,-.5),h3:d(a,48,1.167,0),h4:d(a,34,1.235,.25),h5:d(a,24,1.334,0),h6:d(l,20,1.6,.15),subtitle1:d(a,16,1.75,.15),subtitle2:d(l,14,1.57,.1),body1:d(a,16,1.5,.15),body2:d(a,14,1.43,.15),button:d(l,14,1.75,.4,Il),caption:d(a,12,1.66,.4),overline:d(a,12,2.66,1,Il),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Rt(_({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:c},y),h,{clone:!1})}const Om=.2,Rm=.14,km=.12;function Ge(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Om})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Rm})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${km})`].join(",")}const Pm=["none",Ge(0,2,1,-1,0,1,1,0,0,1,3,0),Ge(0,3,1,-2,0,2,2,0,0,1,5,0),Ge(0,3,3,-2,0,3,4,0,0,1,8,0),Ge(0,2,4,-1,0,4,5,0,0,1,10,0),Ge(0,3,5,-1,0,5,8,0,0,1,14,0),Ge(0,3,5,-1,0,6,10,0,0,1,18,0),Ge(0,4,5,-2,0,7,10,1,0,2,16,1),Ge(0,5,5,-3,0,8,10,1,0,3,14,2),Ge(0,5,6,-3,0,9,12,1,0,3,16,2),Ge(0,6,6,-3,0,10,14,1,0,4,18,3),Ge(0,6,7,-4,0,11,15,1,0,4,20,3),Ge(0,7,8,-4,0,12,17,2,0,5,22,4),Ge(0,7,8,-4,0,13,19,2,0,5,24,4),Ge(0,7,9,-4,0,14,21,2,0,5,26,4),Ge(0,8,9,-5,0,15,22,2,0,6,28,5),Ge(0,8,10,-5,0,16,24,2,0,6,30,5),Ge(0,8,11,-5,0,17,26,2,0,6,32,5),Ge(0,9,11,-5,0,18,28,2,0,7,34,6),Ge(0,9,12,-6,0,19,29,2,0,7,36,6),Ge(0,10,13,-6,0,20,31,3,0,8,38,7),Ge(0,10,13,-6,0,21,33,3,0,8,40,7),Ge(0,10,14,-6,0,22,35,3,0,8,42,7),Ge(0,11,14,-7,0,23,36,3,0,9,44,8),Ge(0,11,15,-7,0,24,38,3,0,9,46,8)],_m=["duration","easing","delay"],Im={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)"},Am={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Nl(e){return`${Math.round(e)}ms`}function Nm(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Fm(e){const t=_({},Im,e.easing),n=_({},Am,e.duration);return _({getAutoHeightDuration:Nm,create:(o=["all"],i={})=>{const{duration:a=n.standard,easing:l=t.easeInOut,delay:c=0}=i,u=me(i,_m);if(process.env.NODE_ENV!=="production"){const f=h=>typeof h=="string",p=h=>!isNaN(parseFloat(h));!f(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!p(a)&&!f(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),f(l)||console.error('MUI: Argument "easing" must be a string.'),!p(c)&&!f(c)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
96
+ `)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(f=>`${f} ${typeof a=="string"?a:Nl(a)} ${l} ${typeof c=="string"?c:Nl(c)}`).join(",")}},e,{easing:t,duration:n})}const $m={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Mm=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Fl(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=me(e,Mm);if(e.vars)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name.":hn(18));const l=Sm(r),c=Oi(e);let u=Rt(c,{mixins:fm(c.breakpoints,n),palette:l,shadows:Pm.slice(),typography:wm(l,i),transitions:Fm(o),zIndex:_({},$m)});if(u=Rt(u,a),u=t.reduce((f,p)=>Rt(f,p),u),process.env.NODE_ENV!=="production"){const f=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],p=(h,m)=>{let g;for(g in h){const d=h[g];if(f.indexOf(g)!==-1&&Object.keys(d).length>0){if(process.env.NODE_ENV!=="production"){const y=Ue("",g);console.error([`MUI: The \`${m}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(h,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:d}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
97
+ `))}h[g]={}}}};Object.keys(u.components).forEach(h=>{const m=u.components[h].styleOverrides;m&&h.indexOf("Mui")===0&&p(m,h)})}return u.unstable_sxConfig=_({},hr,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(p){return mr({sx:p,theme:this})},u}const Bi=Fl();function zi(){const e=Ri(Bi);return process.env.NODE_ENV!=="production"&&R.useDebugValue(e),e[Lr]||e}var bn={},Ui={exports:{}},$l;function Dm(){return $l||($l=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(n){for(var r=1;r<arguments.length;r++){var o=arguments[r];for(var i in o)({}).hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ui)),Ui.exports}var Vi={exports:{}},Ml;function Lm(){return Ml||(Ml=1,function(e){function t(n,r){if(n==null)return{};var o={};for(var i in n)if({}.hasOwnProperty.call(n,i)){if(r.includes(i))continue;o[i]=n[i]}return o}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Vi)),Vi.exports}const jm=Qt(Ep),Bm=Qt(Sp),zm=Qt(kp),Um=Qt(_h),Vm=Qt(gh),qm=Qt(Eh);var Dl;function Wm(){if(Dl)return bn;Dl=1;var e=fo();Object.defineProperty(bn,"__esModule",{value:!0}),bn.default=T,bn.shouldForwardProp=y,bn.systemDefaultTheme=void 0;var t=e(Dm()),n=e(Lm()),r=m(jm),o=Bm,i=e(zm),a=e(Um),l=e(Vm),c=e(qm);const u=["ownerState"],f=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h(b){if(typeof WeakMap!="function")return null;var P=new WeakMap,I=new WeakMap;return(h=function(A){return A?I:P})(b)}function m(b,P){if(b&&b.__esModule)return b;if(b===null||typeof b!="object"&&typeof b!="function")return{default:b};var I=h(P);if(I&&I.has(b))return I.get(b);var A={__proto__:null},M=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var D in b)if(D!=="default"&&Object.prototype.hasOwnProperty.call(b,D)){var F=M?Object.getOwnPropertyDescriptor(b,D):null;F&&(F.get||F.set)?Object.defineProperty(A,D,F):A[D]=b[D]}return A.default=b,I&&I.set(b,A),A}function g(b){return Object.keys(b).length===0}function d(b){return typeof b=="string"&&b.charCodeAt(0)>96}function y(b){return b!=="ownerState"&&b!=="theme"&&b!=="sx"&&b!=="as"}const x=bn.systemDefaultTheme=(0,l.default)(),k=b=>b&&b.charAt(0).toLowerCase()+b.slice(1);function S({defaultTheme:b,theme:P,themeId:I}){return g(P)?b:P[I]||P}function w(b){return b?(P,I)=>I[b]:null}function C(b,P){let{ownerState:I}=P,A=(0,n.default)(P,u);const M=typeof b=="function"?b((0,t.default)({ownerState:I},A)):b;if(Array.isArray(M))return M.flatMap(D=>C(D,(0,t.default)({ownerState:I},A)));if(M&&typeof M=="object"&&Array.isArray(M.variants)){const{variants:D=[]}=M;let N=(0,n.default)(M,f);return D.forEach($=>{let U=!0;typeof $.props=="function"?U=$.props((0,t.default)({ownerState:I},A,I)):Object.keys($.props).forEach(Y=>{(I==null?void 0:I[Y])!==$.props[Y]&&A[Y]!==$.props[Y]&&(U=!1)}),U&&(Array.isArray(N)||(N=[N]),N.push(typeof $.style=="function"?$.style((0,t.default)({ownerState:I},A,I)):$.style))}),N}return M}function T(b={}){const{themeId:P,defaultTheme:I=x,rootShouldForwardProp:A=y,slotShouldForwardProp:M=y}=b,D=F=>(0,c.default)((0,t.default)({},F,{theme:S((0,t.default)({},F,{defaultTheme:I,themeId:P}))}));return D.__mui_systemSx=!0,(F,N={})=>{(0,r.internal_processStyles)(F,ee=>ee.filter(ne=>!(ne!=null&&ne.__mui_systemSx)));const{name:$,slot:U,skipVariantsResolver:Y,skipSx:z,overridesResolver:ie=w(k(U))}=N,v=(0,n.default)(N,p),W=Y!==void 0?Y:U&&U!=="Root"&&U!=="root"||!1,Z=z||!1;let E;process.env.NODE_ENV!=="production"&&$&&(E=`${$}-${k(U||"Root")}`);let K=y;U==="Root"||U==="root"?K=A:U?K=M:d(F)&&(K=void 0);const te=(0,r.default)(F,(0,t.default)({shouldForwardProp:K,label:E},v)),Q=ee=>typeof ee=="function"&&ee.__emotion_real!==ee||(0,o.isPlainObject)(ee)?ne=>C(ee,(0,t.default)({},ne,{theme:S({theme:ne.theme,defaultTheme:I,themeId:P})})):ee,oe=(ee,...ne)=>{let se=Q(ee);const le=ne?ne.map(Q):[];$&&ie&&le.push(q=>{const pe=S((0,t.default)({},q,{defaultTheme:I,themeId:P}));if(!pe.components||!pe.components[$]||!pe.components[$].styleOverrides)return null;const we=pe.components[$].styleOverrides,He={};return Object.entries(we).forEach(([it,st])=>{He[it]=C(st,(0,t.default)({},q,{theme:pe}))}),ie(q,He)}),$&&!W&&le.push(q=>{var pe;const we=S((0,t.default)({},q,{defaultTheme:I,themeId:P})),He=we==null||(pe=we.components)==null||(pe=pe[$])==null?void 0:pe.variants;return C({variants:He},(0,t.default)({},q,{theme:we}))}),Z||le.push(D);const H=le.length-ne.length;if(Array.isArray(ee)&&H>0){const q=new Array(H).fill("");se=[...ee,...q],se.raw=[...ee.raw,...q]}const ue=te(se,...le);if(process.env.NODE_ENV!=="production"){let q;$&&(q=`${$}${(0,i.default)(U||"")}`),q===void 0&&(q=`Styled(${(0,a.default)(F)})`),ue.displayName=q}return F.muiName&&(ue.muiName=F.muiName),ue};return te.withConfig&&(oe.withConfig=te.withConfig),oe}}return bn}var Hm=Wm();const Ym=on(Hm);function Ll(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const zt=e=>Ll(e)&&e!=="classes",de=Ym({themeId:Lr,defaultTheme:Bi,rootShouldForwardProp:zt}),jl=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};process.env.NODE_ENV!=="production"&&(s.node,s.object.isRequired);function Xe(e){return cm(e)}function Km(e){return Ue("MuiSvgIcon",e)}Ve("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Gm=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Xm=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${ce(t)}`,`fontSize${ce(n)}`]};return Ke(o,Km,r)},Jm=de("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ce(n.color)}`],t[`fontSize${ce(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,l,c,u,f,p,h,m,g;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||(a=i.pxToRem)==null?void 0:a.call(i,20))||"1.25rem",medium:((l=e.typography)==null||(c=l.pxToRem)==null?void 0:c.call(l,24))||"1.5rem",large:((u=e.typography)==null||(f=u.pxToRem)==null?void 0:f.call(u,35))||"2.1875rem"}[t.fontSize],color:(p=(h=(e.vars||e).palette)==null||(h=h[t.color])==null?void 0:h.main)!=null?p:{action:(m=(e.vars||e).palette)==null||(m=m.action)==null?void 0:m.active,disabled:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.disabled,inherit:void 0}[t.color]}}),po=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:l="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:f=!1,titleAccess:p,viewBox:h="0 0 24 24"}=r,m=me(r,Gm),g=R.isValidElement(o)&&o.type==="svg",d=_({},r,{color:a,component:l,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:h,hasSvgAsChild:g}),y={};f||(y.viewBox=h);const x=Xm(d);return B.jsxs(Jm,_({as:l,className:Ee(x.root,i),focusable:"false",color:u,"aria-hidden":p?void 0:!0,role:p?"img":void 0,ref:n},y,m,g&&o.props,{ownerState:d,children:[g?o.props.children:o,p?B.jsx("title",{children:p}):null]}))});process.env.NODE_ENV!=="production"&&(po.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),s.string]),component:s.elementType,fontSize:s.oneOfType([s.oneOf(["inherit","large","medium","small"]),s.string]),htmlColor:s.string,inheritViewBox:s.bool,shapeRendering:s.string,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),titleAccess:s.string,viewBox:s.string}),po.muiName="SvgIcon";function Bl(e,t){function n(r,o){return B.jsx(po,_({"data-testid":`${t}Icon`,ref:o},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=po.muiName,R.memo(R.forwardRef(n))}const Qm=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ce,createChainedFunction:Ii,createSvgIcon:Bl,debounce:Ai,deprecatedPropType:Bh,isMuiElement:so,ownerDocument:vt,ownerWindow:ln,requirePropFactory:zh,setRef:ao,unstable_ClassNameGenerator:{configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
98
+ `)),Pi.configure(e)}},unstable_useEnhancedEffect:tn,unstable_useId:Ni,unsupportedProp:Vh,useControlled:Fi,useEventCallback:yn,useForkRef:gt,useIsFocusVisible:vl},Symbol.toStringTag,{value:"Module"}));var ho={exports:{}},De={};/**
99
+ * @license React
100
+ * react-is.production.js
101
+ *
102
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
103
+ *
104
+ * This source code is licensed under the MIT license found in the
105
+ * LICENSE file in the root directory of this source tree.
106
+ */var zl;function Zm(){if(zl)return De;zl=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.for("react.client.reference");function g(d){if(typeof d=="object"&&d!==null){var y=d.$$typeof;switch(y){case e:switch(d=d.type,d){case n:case o:case r:case c:case u:return d;default:switch(d=d&&d.$$typeof,d){case a:case l:case p:case f:return d;case i:return d;default:return y}}case t:return y}}}return De.ContextConsumer=i,De.ContextProvider=a,De.Element=e,De.ForwardRef=l,De.Fragment=n,De.Lazy=p,De.Memo=f,De.Portal=t,De.Profiler=o,De.StrictMode=r,De.Suspense=c,De.SuspenseList=u,De.isContextConsumer=function(d){return g(d)===i},De.isContextProvider=function(d){return g(d)===a},De.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},De.isForwardRef=function(d){return g(d)===l},De.isFragment=function(d){return g(d)===n},De.isLazy=function(d){return g(d)===p},De.isMemo=function(d){return g(d)===f},De.isPortal=function(d){return g(d)===t},De.isProfiler=function(d){return g(d)===o},De.isStrictMode=function(d){return g(d)===r},De.isSuspense=function(d){return g(d)===c},De.isSuspenseList=function(d){return g(d)===u},De.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===n||d===o||d===r||d===c||d===u||d===h||typeof d=="object"&&d!==null&&(d.$$typeof===p||d.$$typeof===f||d.$$typeof===a||d.$$typeof===i||d.$$typeof===l||d.$$typeof===m||d.getModuleId!==void 0)},De.typeOf=g,De}var Le={};/**
107
+ * @license React
108
+ * react-is.development.js
109
+ *
110
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
111
+ *
112
+ * This source code is licensed under the MIT license found in the
113
+ * LICENSE file in the root directory of this source tree.
114
+ */var Ul;function eg(){return Ul||(Ul=1,process.env.NODE_ENV!=="production"&&function(){function e(d){if(typeof d=="object"&&d!==null){var y=d.$$typeof;switch(y){case t:switch(d=d.type,d){case r:case i:case o:case u:case f:return d;default:switch(d=d&&d.$$typeof,d){case l:case c:case h:case p:return d;case a:return d;default:return y}}case n:return y}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=Symbol.for("react.client.reference");Le.ContextConsumer=a,Le.ContextProvider=l,Le.Element=t,Le.ForwardRef=c,Le.Fragment=r,Le.Lazy=h,Le.Memo=p,Le.Portal=n,Le.Profiler=i,Le.StrictMode=o,Le.Suspense=u,Le.SuspenseList=f,Le.isContextConsumer=function(d){return e(d)===a},Le.isContextProvider=function(d){return e(d)===l},Le.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},Le.isForwardRef=function(d){return e(d)===c},Le.isFragment=function(d){return e(d)===r},Le.isLazy=function(d){return e(d)===h},Le.isMemo=function(d){return e(d)===p},Le.isPortal=function(d){return e(d)===n},Le.isProfiler=function(d){return e(d)===i},Le.isStrictMode=function(d){return e(d)===o},Le.isSuspense=function(d){return e(d)===u},Le.isSuspenseList=function(d){return e(d)===f},Le.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===r||d===i||d===o||d===u||d===f||d===m||typeof d=="object"&&d!==null&&(d.$$typeof===h||d.$$typeof===p||d.$$typeof===l||d.$$typeof===a||d.$$typeof===c||d.$$typeof===g||d.getModuleId!==void 0)},Le.typeOf=e}()),Le}var Vl;function tg(){return Vl||(Vl=1,process.env.NODE_ENV==="production"?ho.exports=Zm():ho.exports=eg()),ho.exports}var qi=tg();function Wi(e,t){return Wi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Wi(e,t)}function ql(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Wi(e,t)}const Wl={disabled:!1};var ng=process.env.NODE_ENV!=="production"?s.oneOfType([s.number,s.shape({enter:s.number,exit:s.number,appear:s.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&s.oneOfType([s.string,s.shape({enter:s.string,exit:s.string,active:s.string}),s.shape({enter:s.string,enterDone:s.string,enterActive:s.string,exit:s.string,exitDone:s.string,exitActive:s.string})]);const mo=fe.createContext(null);var rg=function(t){return t.scrollTop},xr="unmounted",vn="exited",xn="entering",jn="entered",Hi="exiting",Yt=function(e){ql(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=o,l=a&&!a.isMounting?r.enter:r.appear,c;return i.appearStatus=null,r.in?l?(c=vn,i.appearStatus=xn):c=jn:r.unmountOnExit||r.mountOnEnter?c=xr:c=vn,i.state={status:c},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var a=o.in;return a&&i.status===xr?{status:vn}: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 a=this.state.status;this.props.in?a!==xn&&a!==jn&&(i=xn):(a===xn||a===jn)&&(i=Hi)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,a,l;return i=a=l=o,o!=null&&typeof o!="number"&&(i=o.exit,a=o.enter,l=o.appear!==void 0?o.appear:a),{exit:i,enter:a,appear:l}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===xn){if(this.props.unmountOnExit||this.props.mountOnEnter){var a=this.props.nodeRef?this.props.nodeRef.current:er.findDOMNode(this);a&&rg(a)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===vn&&this.setState({status:xr})},n.performEnter=function(o){var i=this,a=this.props.enter,l=this.context?this.context.isMounting:o,c=this.props.nodeRef?[l]:[er.findDOMNode(this),l],u=c[0],f=c[1],p=this.getTimeouts(),h=l?p.appear:p.enter;if(!o&&!a||Wl.disabled){this.safeSetState({status:jn},function(){i.props.onEntered(u)});return}this.props.onEnter(u,f),this.safeSetState({status:xn},function(){i.props.onEntering(u,f),i.onTransitionEnd(h,function(){i.safeSetState({status:jn},function(){i.props.onEntered(u,f)})})})},n.performExit=function(){var o=this,i=this.props.exit,a=this.getTimeouts(),l=this.props.nodeRef?void 0:er.findDOMNode(this);if(!i||Wl.disabled){this.safeSetState({status:vn},function(){o.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Hi},function(){o.props.onExiting(l),o.onTransitionEnd(a.exit,function(){o.safeSetState({status:vn},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,a=!0;return this.nextCallback=function(l){a&&(a=!1,i.nextCallback=null,o(l))},this.nextCallback.cancel=function(){a=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var a=this.props.nodeRef?this.props.nodeRef.current:er.findDOMNode(this),l=o==null&&!this.props.addEndListener;if(!a||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var c=this.props.nodeRef?[this.nextCallback]:[a,this.nextCallback],u=c[0],f=c[1];this.props.addEndListener(u,f)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===xr)return null;var i=this.props,a=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=me(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return fe.createElement(mo.Provider,{value:null},typeof a=="function"?a(o,l):fe.cloneElement(fe.Children.only(a),l))},t}(fe.Component);Yt.contextType=mo,Yt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:s.shape({current:typeof Element>"u"?s.any:function(e,t,n,r,o,i){var a=e[t];return s.instanceOf(a&&"ownerDocument"in a?a.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:s.oneOfType([s.func.isRequired,s.element.isRequired]).isRequired,in:s.bool,mountOnEnter:s.bool,unmountOnExit:s.bool,appear:s.bool,enter:s.bool,exit:s.bool,timeout:function(t){var n=ng;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.apply(void 0,[t].concat(o))},addEndListener:s.func,onEnter:s.func,onEntering:s.func,onEntered:s.func,onExit:s.func,onExiting:s.func,onExited:s.func}:{};function Bn(){}Yt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Bn,onEntering:Bn,onEntered:Bn,onExit:Bn,onExiting:Bn,onExited:Bn},Yt.UNMOUNTED=xr,Yt.EXITED=vn,Yt.ENTERING=xn,Yt.ENTERED=jn,Yt.EXITING=Hi;function og(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yi(e,t){var n=function(i){return t&&fe.isValidElement(i)?t(i):i},r=Object.create(null);return e&&fe.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function ig(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var a,l={};for(var c in t){if(r[c])for(a=0;a<r[c].length;a++){var u=r[c][a];l[r[c][a]]=n(u)}l[c]=n(c)}for(a=0;a<o.length;a++)l[o[a]]=n(o[a]);return l}function En(e,t,n){return n[t]!=null?n[t]:e.props[t]}function sg(e,t){return Yi(e.children,function(n){return fe.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:En(n,"appear",e),enter:En(n,"enter",e),exit:En(n,"exit",e)})})}function ag(e,t,n){var r=Yi(e.children),o=ig(t,r);return Object.keys(o).forEach(function(i){var a=o[i];if(fe.isValidElement(a)){var l=i in t,c=i in r,u=t[i],f=fe.isValidElement(u)&&!u.props.in;c&&(!l||f)?o[i]=fe.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:En(a,"exit",e),enter:En(a,"enter",e)}):!c&&l&&!f?o[i]=fe.cloneElement(a,{in:!1}):c&&l&&fe.isValidElement(u)&&(o[i]=fe.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:En(a,"exit",e),enter:En(a,"enter",e)}))}}),o}var lg=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ug={component:"div",childFactory:function(t){return t}},Ki=function(e){ql(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var a=i.handleExited.bind(og(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,l=i.handleExited,c=i.firstRender;return{children:c?sg(o,l):ag(o,a,l),firstRender:!1}},n.handleExited=function(o,i){var a=Yi(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(l){var c=_({},l.children);return delete c[o.key],{children:c}}))},n.render=function(){var o=this.props,i=o.component,a=o.childFactory,l=me(o,["component","childFactory"]),c=this.state.contextValue,u=lg(this.state.children).map(a);return delete l.appear,delete l.enter,delete l.exit,i===null?fe.createElement(mo.Provider,{value:c},u):fe.createElement(mo.Provider,{value:c},fe.createElement(i,l,u))},t}(fe.Component);Ki.propTypes=process.env.NODE_ENV!=="production"?{component:s.any,children:s.node,appear:s.bool,enter:s.bool,exit:s.bool,childFactory:s.func}:{},Ki.defaultProps=ug;const Hl=e=>e.scrollTop;function go(e,t){var n,r;const{timeout:o,easing:i,style:a={}}=e;return{duration:(n=a.transitionDuration)!=null?n:typeof o=="number"?o:o[t.mode]||0,easing:(r=a.transitionTimingFunction)!=null?r:typeof i=="object"?i[t.mode]:i,delay:a.transitionDelay}}function cg(e){return Ue("MuiPaper",e)}Ve("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 fg=["className","component","elevation","square","variant"],dg=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ke(i,cg,o)},pg=de("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 _({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"&&_({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${xt.alpha("#fff",jl(t.elevation))}, ${xt.alpha("#fff",jl(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),Gi=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiPaper"}),{className:o,component:i="div",elevation:a=1,square:l=!1,variant:c="elevation"}=r,u=me(r,fg),f=_({},r,{component:i,elevation:a,square:l,variant:c}),p=dg(f);return process.env.NODE_ENV!=="production"&&zi().shadows[a]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${a}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${a}]\` is defined.`].join(`
115
+ `)),B.jsx(pg,_({as:i,ownerState:f,className:Ee(p.root,o),ref:n},u))});process.env.NODE_ENV!=="production"&&(Gi.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,elevation:gn(Tl,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["elevation","outlined"]),s.string])});function Yl(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:c,timeout:u}=e,[f,p]=R.useState(!1),h=Ee(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),m={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},g=Ee(n.child,f&&n.childLeaving,r&&n.childPulsate);return!l&&!f&&p(!0),R.useEffect(()=>{if(!l&&c!=null){const d=setTimeout(c,u);return()=>{clearTimeout(d)}}},[c,l,u]),B.jsx("span",{className:h,style:m,children:B.jsx("span",{className:g})})}process.env.NODE_ENV!=="production"&&(Yl.propTypes={classes:s.object.isRequired,className:s.string,in:s.bool,onExited:s.func,pulsate:s.bool,rippleSize:s.number,rippleX:s.number,rippleY:s.number,timeout:s.number.isRequired});const $t=Ve("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),hg=["center","classes","className"];let yo=e=>e,Kl,Gl,Xl,Jl;const Xi=550,mg=80,gg=Zt(Kl||(Kl=yo`
116
+ 0% {
117
+ transform: scale(0);
118
+ opacity: 0.1;
119
+ }
120
+
121
+ 100% {
122
+ transform: scale(1);
123
+ opacity: 0.3;
124
+ }
125
+ `)),yg=Zt(Gl||(Gl=yo`
126
+ 0% {
127
+ opacity: 1;
128
+ }
129
+
130
+ 100% {
131
+ opacity: 0;
132
+ }
133
+ `)),bg=Zt(Xl||(Xl=yo`
134
+ 0% {
135
+ transform: scale(1);
136
+ }
137
+
138
+ 50% {
139
+ transform: scale(0.92);
140
+ }
141
+
142
+ 100% {
143
+ transform: scale(1);
144
+ }
145
+ `)),vg=de("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),xg=de(Yl,{name:"MuiTouchRipple",slot:"Ripple"})(Jl||(Jl=yo`
146
+ opacity: 0;
147
+ position: absolute;
148
+
149
+ &.${0} {
150
+ opacity: 0.3;
151
+ transform: scale(1);
152
+ animation-name: ${0};
153
+ animation-duration: ${0}ms;
154
+ animation-timing-function: ${0};
155
+ }
156
+
157
+ &.${0} {
158
+ animation-duration: ${0}ms;
159
+ }
160
+
161
+ & .${0} {
162
+ opacity: 1;
163
+ display: block;
164
+ width: 100%;
165
+ height: 100%;
166
+ border-radius: 50%;
167
+ background-color: currentColor;
168
+ }
169
+
170
+ & .${0} {
171
+ opacity: 0;
172
+ animation-name: ${0};
173
+ animation-duration: ${0}ms;
174
+ animation-timing-function: ${0};
175
+ }
176
+
177
+ & .${0} {
178
+ position: absolute;
179
+ /* @noflip */
180
+ left: 0px;
181
+ top: 0;
182
+ animation-name: ${0};
183
+ animation-duration: 2500ms;
184
+ animation-timing-function: ${0};
185
+ animation-iteration-count: infinite;
186
+ animation-delay: 200ms;
187
+ }
188
+ `),$t.rippleVisible,gg,Xi,({theme:e})=>e.transitions.easing.easeInOut,$t.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,$t.child,$t.childLeaving,yg,Xi,({theme:e})=>e.transitions.easing.easeInOut,$t.childPulsate,bg,({theme:e})=>e.transitions.easing.easeInOut),Ql=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=r,l=me(r,hg),[c,u]=R.useState([]),f=R.useRef(0),p=R.useRef(null);R.useEffect(()=>{p.current&&(p.current(),p.current=null)},[c]);const h=R.useRef(!1),m=bl(),g=R.useRef(null),d=R.useRef(null),y=R.useCallback(w=>{const{pulsate:C,rippleX:T,rippleY:b,rippleSize:P,cb:I}=w;u(A=>[...A,B.jsx(xg,{classes:{ripple:Ee(i.ripple,$t.ripple),rippleVisible:Ee(i.rippleVisible,$t.rippleVisible),ripplePulsate:Ee(i.ripplePulsate,$t.ripplePulsate),child:Ee(i.child,$t.child),childLeaving:Ee(i.childLeaving,$t.childLeaving),childPulsate:Ee(i.childPulsate,$t.childPulsate)},timeout:Xi,pulsate:C,rippleX:T,rippleY:b,rippleSize:P},f.current)]),f.current+=1,p.current=I},[i]),x=R.useCallback((w={},C={},T=()=>{})=>{const{pulsate:b=!1,center:P=o||C.pulsate,fakeElement:I=!1}=C;if((w==null?void 0:w.type)==="mousedown"&&h.current){h.current=!1;return}(w==null?void 0:w.type)==="touchstart"&&(h.current=!0);const A=I?null:d.current,M=A?A.getBoundingClientRect():{width:0,height:0,left:0,top:0};let D,F,N;if(P||w===void 0||w.clientX===0&&w.clientY===0||!w.clientX&&!w.touches)D=Math.round(M.width/2),F=Math.round(M.height/2);else{const{clientX:$,clientY:U}=w.touches&&w.touches.length>0?w.touches[0]:w;D=Math.round($-M.left),F=Math.round(U-M.top)}if(P)N=Math.sqrt((2*M.width**2+M.height**2)/3),N%2===0&&(N+=1);else{const $=Math.max(Math.abs((A?A.clientWidth:0)-D),D)*2+2,U=Math.max(Math.abs((A?A.clientHeight:0)-F),F)*2+2;N=Math.sqrt($**2+U**2)}w!=null&&w.touches?g.current===null&&(g.current=()=>{y({pulsate:b,rippleX:D,rippleY:F,rippleSize:N,cb:T})},m.start(mg,()=>{g.current&&(g.current(),g.current=null)})):y({pulsate:b,rippleX:D,rippleY:F,rippleSize:N,cb:T})},[o,y,m]),k=R.useCallback(()=>{x({},{pulsate:!0})},[x]),S=R.useCallback((w,C)=>{if(m.clear(),(w==null?void 0:w.type)==="touchend"&&g.current){g.current(),g.current=null,m.start(0,()=>{S(w,C)});return}g.current=null,u(T=>T.length>0?T.slice(1):T),p.current=C},[m]);return R.useImperativeHandle(n,()=>({pulsate:k,start:x,stop:S}),[k,x,S]),B.jsx(vg,_({className:Ee($t.root,i.root,a),ref:d},l,{children:B.jsx(Ki,{component:null,exit:!0,children:c})}))});process.env.NODE_ENV!=="production"&&(Ql.propTypes={center:s.bool,classes:s.object,className:s.string});function Eg(e){return Ue("MuiButtonBase",e)}const Sg=Ve("MuiButtonBase",["root","disabled","focusVisible"]),Tg=["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"],Cg=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,a=Ke({root:["root",t&&"disabled",n&&"focusVisible"]},Eg,o);return n&&r&&(a.root+=` ${r}`),a},wg=de("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"},[`&.${Sg.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Ji=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:l,component:c="button",disabled:u=!1,disableRipple:f=!1,disableTouchRipple:p=!1,focusRipple:h=!1,LinkComponent:m="a",onBlur:g,onClick:d,onContextMenu:y,onDragLeave:x,onFocus:k,onFocusVisible:S,onKeyDown:w,onKeyUp:C,onMouseDown:T,onMouseLeave:b,onMouseUp:P,onTouchEnd:I,onTouchMove:A,onTouchStart:M,tabIndex:D=0,TouchRippleProps:F,touchRippleRef:N,type:$}=r,U=me(r,Tg),Y=R.useRef(null),z=R.useRef(null),ie=gt(z,N),{isFocusVisibleRef:v,onFocus:W,onBlur:Z,ref:E}=vl(),[K,te]=R.useState(!1);u&&K&&te(!1),R.useImperativeHandle(o,()=>({focusVisible:()=>{te(!0),Y.current.focus()}}),[]);const[Q,oe]=R.useState(!1);R.useEffect(()=>{oe(!0)},[]);const ee=Q&&!f&&!u;R.useEffect(()=>{K&&h&&!f&&Q&&z.current.pulsate()},[f,h,K,Q]);function ne(G,ve,Se=p){return yn(at=>(ve&&ve(at),!Se&&z.current&&z.current[G](at),!0))}const se=ne("start",T),le=ne("stop",y),H=ne("stop",x),ue=ne("stop",P),q=ne("stop",G=>{K&&G.preventDefault(),b&&b(G)}),pe=ne("start",M),we=ne("stop",I),He=ne("stop",A),it=ne("stop",G=>{Z(G),v.current===!1&&te(!1),g&&g(G)},!1),st=yn(G=>{Y.current||(Y.current=G.currentTarget),W(G),v.current===!0&&(te(!0),S&&S(G)),k&&k(G)}),dt=()=>{const G=Y.current;return c&&c!=="button"&&!(G.tagName==="A"&&G.href)},je=R.useRef(!1),ut=yn(G=>{h&&!je.current&&K&&z.current&&G.key===" "&&(je.current=!0,z.current.stop(G,()=>{z.current.start(G)})),G.target===G.currentTarget&&dt()&&G.key===" "&&G.preventDefault(),w&&w(G),G.target===G.currentTarget&&dt()&&G.key==="Enter"&&!u&&(G.preventDefault(),d&&d(G))}),ct=yn(G=>{h&&G.key===" "&&z.current&&K&&!G.defaultPrevented&&(je.current=!1,z.current.stop(G,()=>{z.current.pulsate(G)})),C&&C(G),d&&G.target===G.currentTarget&&dt()&&G.key===" "&&!G.defaultPrevented&&d(G)});let Be=c;Be==="button"&&(U.href||U.to)&&(Be=m);const pt={};Be==="button"?(pt.type=$===void 0?"button":$,pt.disabled=u):(!U.href&&!U.to&&(pt.role="button"),u&&(pt["aria-disabled"]=u));const jt=gt(n,E,Y);process.env.NODE_ENV!=="production"&&R.useEffect(()=>{ee&&!z.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
189
+ `))},[ee]);const L=_({},r,{centerRipple:i,component:c,disabled:u,disableRipple:f,disableTouchRipple:p,focusRipple:h,tabIndex:D,focusVisible:K}),V=Cg(L);return B.jsxs(wg,_({as:Be,className:Ee(V.root,l),ownerState:L,onBlur:it,onClick:d,onContextMenu:le,onFocus:st,onKeyDown:ut,onKeyUp:ct,onMouseDown:se,onMouseLeave:q,onMouseUp:ue,onDragLeave:H,onTouchEnd:we,onTouchMove:He,onTouchStart:pe,ref:jt,tabIndex:u?-1:D,type:$},pt,U,{children:[a,ee?B.jsx(Ql,_({ref:ie,center:i},F)):null]}))});process.env.NODE_ENV!=="production"&&(Ji.propTypes={action:nn,centerRipple:s.bool,children:s.node,classes:s.object,className:s.string,component:_i,disabled:s.bool,disableRipple:s.bool,disableTouchRipple:s.bool,focusRipple:s.bool,focusVisibleClassName:s.string,href:s.any,LinkComponent:s.elementType,onBlur:s.func,onClick:s.func,onContextMenu:s.func,onDragLeave:s.func,onFocus:s.func,onFocusVisible:s.func,onKeyDown:s.func,onKeyUp:s.func,onMouseDown:s.func,onMouseLeave:s.func,onMouseUp:s.func,onTouchEnd:s.func,onTouchMove:s.func,onTouchStart:s.func,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),tabIndex:s.number,TouchRippleProps:s.object,touchRippleRef:s.oneOfType([s.func,s.shape({current:s.shape({pulsate:s.func.isRequired,start:s.func.isRequired,stop:s.func.isRequired})})]),type:s.oneOfType([s.oneOf(["button","reset","submit"]),s.string])});function Og(e){return Ue("MuiIconButton",e)}const Rg=Ve("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),kg=["edge","children","className","color","disabled","disableFocusRipple","size"],Pg=e=>{const{classes:t,disabled:n,color:r,edge:o,size:i}=e,a={root:["root",n&&"disabled",r!=="default"&&`color${ce(r)}`,o&&`edge${ce(o)}`,`size${ce(i)}`]};return Ke(a,Og,t)},_g=de(Ji,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="default"&&t[`color${ce(n.color)}`],n.edge&&t[`edge${ce(n.edge)}`],t[`size${ce(n.size)}`]]}})(({theme:e,ownerState:t})=>_({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})`:xt.alpha(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 _({},t.color==="inherit"&&{color:"inherit"},t.color!=="inherit"&&t.color!=="default"&&_({color:r==null?void 0:r.main},!t.disableRipple&&{"&:hover":_({},r&&{backgroundColor:e.vars?`rgba(${r.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:xt.alpha(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)},{[`&.${Rg.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),bo=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiIconButton"}),{edge:o=!1,children:i,className:a,color:l="default",disabled:c=!1,disableFocusRipple:u=!1,size:f="medium"}=r,p=me(r,kg),h=_({},r,{edge:o,color:l,disabled:c,disableFocusRipple:u,size:f}),m=Pg(h);return B.jsx(_g,_({className:Ee(m.root,a),centerRipple:!0,focusRipple:!u,disabled:c,ref:n},p,{ownerState:h,children:i}))});process.env.NODE_ENV!=="production"&&(bo.propTypes={children:gn(s.node,e=>R.Children.toArray(e.children).some(n=>R.isValidElement(n)&&n.props.onClick)?new Error(["MUI: You are providing an onClick event listener to a child of a button element.","Prefer applying it to the IconButton directly.","This guarantees that the whole <button> will be responsive to click events."].join(`
190
+ `)):null),classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","default","primary","secondary","error","info","success","warning"]),s.string]),disabled:s.bool,disableFocusRipple:s.bool,disableRipple:s.bool,edge:s.oneOf(["end","start",!1]),size:s.oneOfType([s.oneOf(["small","medium","large"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function Ig(e){return Ue("MuiTypography",e)}Ve("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ag=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ng=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e,l={root:["root",i,e.align!=="inherit"&&`align${ce(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return Ke(l,Ig,a)},Fg=de("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${ce(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>_({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})),Zl={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},$g={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Mg=e=>$g[e]||e,Sn=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiTypography"}),o=Mg(r.color),i=ki(_({},r,{color:o})),{align:a="inherit",className:l,component:c,gutterBottom:u=!1,noWrap:f=!1,paragraph:p=!1,variant:h="body1",variantMapping:m=Zl}=i,g=me(i,Ag),d=_({},i,{align:a,color:o,className:l,component:c,gutterBottom:u,noWrap:f,paragraph:p,variant:h,variantMapping:m}),y=c||(p?"p":m[h]||Zl[h])||"span",x=Ng(d);return B.jsx(Fg,_({as:y,ref:n,ownerState:d,className:Ee(x.root,l)},g))});process.env.NODE_ENV!=="production"&&(Sn.propTypes={align:s.oneOf(["center","inherit","justify","left","right"]),children:s.node,classes:s.object,className:s.string,component:s.elementType,gutterBottom:s.bool,noWrap:s.bool,paragraph:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),s.string]),variantMapping:s.object});function Dg(e){return typeof e=="function"?e():e}const vo=R.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[a,l]=R.useState(null),c=gt(R.isValidElement(r)?vr(r):null,n);if(tn(()=>{i||l(Dg(o)||document.body)},[o,i]),tn(()=>{if(a&&!i)return ao(n,a),()=>{ao(n,null)}},[n,a,i]),i){if(R.isValidElement(r)){const u={ref:c};return R.cloneElement(r,u)}return B.jsx(R.Fragment,{children:r})}return B.jsx(R.Fragment,{children:a&&ad.createPortal(r,a)})});process.env.NODE_ENV!=="production"&&(vo.propTypes={children:s.node,container:s.oneOfType([br,s.func]),disablePortal:s.bool}),process.env.NODE_ENV!=="production"&&(vo.propTypes=hl(vo.propTypes));const Lg=["onChange","maxRows","minRows","style","value"];function xo(e){return parseInt(e,10)||0}const jg={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Bg(e){return e==null||Object.keys(e).length===0||e.outerHeightStyle===0&&!e.overflowing}const eu=R.forwardRef(function(t,n){const{onChange:r,maxRows:o,minRows:i=1,style:a,value:l}=t,c=me(t,Lg),{current:u}=R.useRef(l!=null),f=R.useRef(null),p=gt(n,f),h=R.useRef(null),m=R.useRef(null),g=R.useCallback(()=>{const x=f.current,S=ln(x).getComputedStyle(x);if(S.width==="0px")return{outerHeightStyle:0,overflowing:!1};const w=m.current;w.style.width=S.width,w.value=x.value||t.placeholder||"x",w.value.slice(-1)===`
191
+ `&&(w.value+=" ");const C=S.boxSizing,T=xo(S.paddingBottom)+xo(S.paddingTop),b=xo(S.borderBottomWidth)+xo(S.borderTopWidth),P=w.scrollHeight;w.value="x";const I=w.scrollHeight;let A=P;i&&(A=Math.max(Number(i)*I,A)),o&&(A=Math.min(Number(o)*I,A)),A=Math.max(A,I);const M=A+(C==="border-box"?T+b:0),D=Math.abs(A-P)<=1;return{outerHeightStyle:M,overflowing:D}},[o,i,t.placeholder]),d=R.useCallback(()=>{const x=g();if(Bg(x))return;const k=x.outerHeightStyle,S=f.current;h.current!==k&&(h.current=k,S.style.height=`${k}px`),S.style.overflow=x.overflowing?"hidden":""},[g]);tn(()=>{const x=()=>{d()};let k;const S=()=>{cancelAnimationFrame(k),k=requestAnimationFrame(()=>{x()})},w=Ai(x),C=f.current,T=ln(C);T.addEventListener("resize",w);let b;return typeof ResizeObserver<"u"&&(b=new ResizeObserver(process.env.NODE_ENV==="test"?S:x),b.observe(C)),()=>{w.clear(),cancelAnimationFrame(k),T.removeEventListener("resize",w),b&&b.disconnect()}},[g,d]),tn(()=>{d()});const y=x=>{u||d(),r&&r(x)};return B.jsxs(R.Fragment,{children:[B.jsx("textarea",_({value:l,onChange:y,ref:p,rows:i,style:a},c)),B.jsx("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:m,tabIndex:-1,style:_({},jg.shadow,a,{paddingTop:0,paddingBottom:0})})]})});process.env.NODE_ENV!=="production"&&(eu.propTypes={className:s.string,maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),onChange:s.func,placeholder:s.string,style:s.object,value:s.oneOfType([s.arrayOf(s.string),s.number,s.string])});function zn({props:e,states:t,muiFormControl:n}){return t.reduce((r,o)=>(r[o]=e[o],n&&typeof e[o]>"u"&&(r[o]=n[o]),r),{})}const Eo=R.createContext(void 0);process.env.NODE_ENV!=="production"&&(Eo.displayName="FormControlContext");function Un(){return R.useContext(Eo)}function tu(e){return B.jsx(tl,_({},e,{defaultTheme:Bi,themeId:Lr}))}process.env.NODE_ENV!=="production"&&(tu.propTypes={styles:s.oneOfType([s.array,s.func,s.number,s.object,s.string,s.bool])});function nu(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function So(e,t=!1){return e&&(nu(e.value)&&e.value!==""||t&&nu(e.defaultValue)&&e.defaultValue!=="")}function zg(e){return e.startAdornment}function Ug(e){return Ue("MuiInputBase",e)}const Vn=Ve("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Vg=["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"],To=(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${ce(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},Co=(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]},qg=e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:c,hiddenLabel:u,multiline:f,readOnly:p,size:h,startAdornment:m,type:g}=e,d={root:["root",`color${ce(n)}`,r&&"disabled",o&&"error",c&&"fullWidth",a&&"focused",l&&"formControl",h&&h!=="medium"&&`size${ce(h)}`,f&&"multiline",m&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",p&&"readOnly"],input:["input",r&&"disabled",g==="search"&&"inputTypeSearch",f&&"inputMultiline",h==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",p&&"readOnly"]};return Ke(d,Ug,t)},wo=de("div",{name:"MuiInputBase",slot:"Root",overridesResolver:To})(({theme:e,ownerState:t})=>_({},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",[`&.${Vn.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&_({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Oo=de("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Co})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=_({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 _({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] + .${Vn.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},[`&.${Vn.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"})}),Wg=B.jsx(tu,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Ro=R.forwardRef(function(t,n){var r;const o=Xe({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:l,className:c,components:u={},componentsProps:f={},defaultValue:p,disabled:h,disableInjectingGlobalStyles:m,endAdornment:g,fullWidth:d=!1,id:y,inputComponent:x="input",inputProps:k={},inputRef:S,maxRows:w,minRows:C,multiline:T=!1,name:b,onBlur:P,onChange:I,onClick:A,onFocus:M,onKeyDown:D,onKeyUp:F,placeholder:N,readOnly:$,renderSuffix:U,rows:Y,slotProps:z={},slots:ie={},startAdornment:v,type:W="text",value:Z}=o,E=me(o,Vg),K=k.value!=null?k.value:Z,{current:te}=R.useRef(K!=null),Q=R.useRef(),oe=R.useCallback(V=>{process.env.NODE_ENV!=="production"&&V&&V.nodeName!=="INPUT"&&!V.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
192
+ `))},[]),ee=gt(Q,S,k.ref,oe),[ne,se]=R.useState(!1),le=Un();process.env.NODE_ENV!=="production"&&R.useEffect(()=>{if(le)return le.registerEffect()},[le]);const H=zn({props:o,muiFormControl:le,states:["color","disabled","error","hiddenLabel","size","required","filled"]});H.focused=le?le.focused:ne,R.useEffect(()=>{!le&&h&&ne&&(se(!1),P&&P())},[le,h,ne,P]);const ue=le&&le.onFilled,q=le&&le.onEmpty,pe=R.useCallback(V=>{So(V)?ue&&ue():q&&q()},[ue,q]);tn(()=>{te&&pe({value:K})},[K,pe,te]);const we=V=>{if(H.disabled){V.stopPropagation();return}M&&M(V),k.onFocus&&k.onFocus(V),le&&le.onFocus?le.onFocus(V):se(!0)},He=V=>{P&&P(V),k.onBlur&&k.onBlur(V),le&&le.onBlur?le.onBlur(V):se(!1)},it=(V,...G)=>{if(!te){const ve=V.target||Q.current;if(ve==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":hn(1));pe({value:ve.value})}k.onChange&&k.onChange(V,...G),I&&I(V,...G)};R.useEffect(()=>{pe(Q.current)},[]);const st=V=>{Q.current&&V.currentTarget===V.target&&Q.current.focus(),A&&A(V)};let dt=x,je=k;T&&dt==="input"&&(Y?(process.env.NODE_ENV!=="production"&&(C||w)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),je=_({type:void 0,minRows:Y,maxRows:Y},je)):je=_({type:void 0,maxRows:w,minRows:C},je),dt=eu);const ut=V=>{pe(V.animationName==="mui-auto-fill-cancel"?Q.current:{value:"x"})};R.useEffect(()=>{le&&le.setAdornedStart(!!v)},[le,v]);const ct=_({},o,{color:H.color||"primary",disabled:H.disabled,endAdornment:g,error:H.error,focused:H.focused,formControl:le,fullWidth:d,hiddenLabel:H.hiddenLabel,multiline:T,size:H.size,startAdornment:v,type:W}),Be=qg(ct),pt=ie.root||u.Root||wo,jt=z.root||f.root||{},L=ie.input||u.Input||Oo;return je=_({},je,(r=z.input)!=null?r:f.input),B.jsxs(R.Fragment,{children:[!m&&Wg,B.jsxs(pt,_({},jt,!co(pt)&&{ownerState:_({},ct,jt.ownerState)},{ref:n,onClick:st},E,{className:Ee(Be.root,jt.className,c,$&&"MuiInputBase-readOnly"),children:[v,B.jsx(Eo.Provider,{value:null,children:B.jsx(L,_({ownerState:ct,"aria-invalid":H.error,"aria-describedby":i,autoComplete:a,autoFocus:l,defaultValue:p,disabled:H.disabled,id:y,onAnimationStart:ut,name:b,placeholder:N,readOnly:$,required:H.required,rows:Y,value:K,onKeyDown:D,onKeyUp:F,type:W},je,!co(L)&&{as:dt,ownerState:_({},ct,je.ownerState)},{ref:ee,className:Ee(Be.input,je.className,$&&"MuiInputBase-readOnly"),onBlur:He,onChange:it,onFocus:we}))}),g,U?U(_({},H,{startAdornment:v})):null]}))]})});process.env.NODE_ENV!=="production"&&(Ro.propTypes={"aria-describedby":s.string,autoComplete:s.string,autoFocus:s.bool,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["primary","secondary","error","info","success","warning"]),s.string]),components:s.shape({Input:s.elementType,Root:s.elementType}),componentsProps:s.shape({input:s.object,root:s.object}),defaultValue:s.any,disabled:s.bool,disableInjectingGlobalStyles:s.bool,endAdornment:s.node,error:s.bool,fullWidth:s.bool,id:s.string,inputComponent:_i,inputProps:s.object,inputRef:nn,margin:s.oneOf(["dense","none"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,onBlur:s.func,onChange:s.func,onClick:s.func,onFocus:s.func,onInvalid:s.func,onKeyDown:s.func,onKeyUp:s.func,placeholder:s.string,readOnly:s.bool,renderSuffix:s.func,required:s.bool,rows:s.oneOfType([s.number,s.string]),size:s.oneOfType([s.oneOf(["medium","small"]),s.string]),slotProps:s.shape({input:s.object,root:s.object}),slots:s.shape({input:s.elementType,root:s.elementType}),startAdornment:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any});function Hg(e){return Ue("MuiInput",e)}const Er=_({},Vn,Ve("MuiInput",["root","underline","input"]));function Yg(e){return Ue("MuiOutlinedInput",e)}const un=_({},Vn,Ve("MuiOutlinedInput",["root","notchedOutline","input"]));function Kg(e){return Ue("MuiFilledInput",e)}const Tn=_({},Vn,Ve("MuiFilledInput",["root","underline","input"])),Gg=Bl(B.jsx("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Xg=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Jg={entering:{opacity:1},entered:{opacity:1}},ru=R.forwardRef(function(t,n){const r=zi(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:l,easing:c,in:u,onEnter:f,onEntered:p,onEntering:h,onExit:m,onExited:g,onExiting:d,style:y,timeout:x=o,TransitionComponent:k=Yt}=t,S=me(t,Xg),w=R.useRef(null),C=gt(w,vr(l),n),T=N=>$=>{if(N){const U=w.current;$===void 0?N(U):N(U,$)}},b=T(h),P=T((N,$)=>{Hl(N);const U=go({style:y,timeout:x,easing:c},{mode:"enter"});N.style.webkitTransition=r.transitions.create("opacity",U),N.style.transition=r.transitions.create("opacity",U),f&&f(N,$)}),I=T(p),A=T(d),M=T(N=>{const $=go({style:y,timeout:x,easing:c},{mode:"exit"});N.style.webkitTransition=r.transitions.create("opacity",$),N.style.transition=r.transitions.create("opacity",$),m&&m(N)}),D=T(g),F=N=>{i&&i(w.current,N)};return B.jsx(k,_({appear:a,in:u,nodeRef:w,onEnter:P,onEntered:I,onEntering:b,onExit:M,onExited:D,onExiting:A,addEndListener:F,timeout:x},S,{children:(N,$)=>R.cloneElement(l,_({style:_({opacity:0,visibility:N==="exited"&&!u?"hidden":void 0},Jg[N],y,l.props.style),ref:C},$))}))});process.env.NODE_ENV!=="production"&&(ru.propTypes={addEndListener:s.func,appear:s.bool,children:yr.isRequired,easing:s.oneOfType([s.shape({enter:s.string,exit:s.string}),s.string]),in:s.bool,onEnter:s.func,onEntered:s.func,onEntering:s.func,onExit:s.func,onExited:s.func,onExiting:s.func,style:s.object,timeout:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])});function Qg(e){return Ue("MuiBackdrop",e)}Ve("MuiBackdrop",["root","invisible"]);const Zg=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],ey=e=>{const{classes:t,invisible:n}=e;return Ke({root:["root",n&&"invisible"]},Qg,t)},ty=de("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>_({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"})),ou=R.forwardRef(function(t,n){var r,o,i;const a=Xe({props:t,name:"MuiBackdrop"}),{children:l,className:c,component:u="div",components:f={},componentsProps:p={},invisible:h=!1,open:m,slotProps:g={},slots:d={},TransitionComponent:y=ru,transitionDuration:x}=a,k=me(a,Zg),S=_({},a,{component:u,invisible:h}),w=ey(S),C=(r=g.root)!=null?r:p.root;return B.jsx(y,_({in:m,timeout:x},k,{children:B.jsx(ty,_({"aria-hidden":!0},C,{as:(o=(i=d.root)!=null?i:f.Root)!=null?o:u,className:Ee(w.root,c,C==null?void 0:C.className),ownerState:_({},S,C==null?void 0:C.ownerState),classes:w,ref:n,children:l}))}))});process.env.NODE_ENV!=="production"&&(ou.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,components:s.shape({Root:s.elementType}),componentsProps:s.shape({root:s.object}),invisible:s.bool,open:s.bool.isRequired,slotProps:s.shape({root:s.object}),slots:s.shape({root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])});const ny=Ve("MuiBox",["root"]),ry=Fl(),Ut=Th({themeId:Lr,defaultTheme:ry,defaultClassName:ny.root,generateClassName:Pi.generate});process.env.NODE_ENV!=="production"&&(Ut.propTypes={children:s.node,component:s.elementType,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});function oy(e){return Ue("MuiButton",e)}const ko=Ve("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","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),iu=R.createContext({});process.env.NODE_ENV!=="production"&&(iu.displayName="ButtonGroupContext");const su=R.createContext(void 0);process.env.NODE_ENV!=="production"&&(su.displayName="ButtonGroupButtonContext");const iy=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],sy=e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e,l={root:["root",i,`${i}${ce(t)}`,`size${ce(o)}`,`${i}Size${ce(o)}`,`color${ce(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${ce(o)}`],endIcon:["icon","endIcon",`iconSize${ce(o)}`]},c=Ke(l,oy,a);return _({},a,c)},au=e=>_({},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}}),ay=de(Ji,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${ce(n.color)}`],t[`size${ce(n.size)}`],t[`${n.variant}Size${ce(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 _({},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":_({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:xt.alpha(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})`:xt.alpha(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})`:xt.alpha(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":_({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${ko.focusVisible}`]:_({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${ko.disabled}`]:_({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 ${xt.alpha(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"},[`&.${ko.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${ko.disabled}`]:{boxShadow:"none"}}),ly=de("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${ce(n.size)}`]]}})(({ownerState:e})=>_({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},au(e))),uy=de("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${ce(n.size)}`]]}})(({ownerState:e})=>_({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},au(e))),qn=R.forwardRef(function(t,n){const r=R.useContext(iu),o=R.useContext(su),i=gr(r,t),a=Xe({props:i,name:"MuiButton"}),{children:l,color:c="primary",component:u="button",className:f,disabled:p=!1,disableElevation:h=!1,disableFocusRipple:m=!1,endIcon:g,focusVisibleClassName:d,fullWidth:y=!1,size:x="medium",startIcon:k,type:S,variant:w="text"}=a,C=me(a,iy),T=_({},a,{color:c,component:u,disabled:p,disableElevation:h,disableFocusRipple:m,fullWidth:y,size:x,type:S,variant:w}),b=sy(T),P=k&&B.jsx(ly,{className:b.startIcon,ownerState:T,children:k}),I=g&&B.jsx(uy,{className:b.endIcon,ownerState:T,children:g}),A=o||"";return B.jsxs(ay,_({ownerState:T,className:Ee(r.className,b.root,f,A),component:u,disabled:p,focusRipple:!m,focusVisibleClassName:Ee(b.focusVisible,d),ref:n,type:S},C,{classes:b,children:[P,l,I]}))});process.env.NODE_ENV!=="production"&&(qn.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","primary","secondary","success","error","info","warning"]),s.string]),component:s.elementType,disabled:s.bool,disableElevation:s.bool,disableFocusRipple:s.bool,disableRipple:s.bool,endIcon:s.node,focusVisibleClassName:s.string,fullWidth:s.bool,href:s.string,size:s.oneOfType([s.oneOf(["small","medium","large"]),s.string]),startIcon:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.oneOfType([s.oneOf(["button","reset","submit"]),s.string]),variant:s.oneOfType([s.oneOf(["contained","outlined","text"]),s.string])});function cy(e){return Ue("MuiCircularProgress",e)}Ve("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const fy=["className","color","disableShrink","size","style","thickness","value","variant"];let Po=e=>e,lu,uu,cu,fu;const cn=44,dy=Zt(lu||(lu=Po`
193
+ 0% {
194
+ transform: rotate(0deg);
195
+ }
196
+
197
+ 100% {
198
+ transform: rotate(360deg);
199
+ }
200
+ `)),py=Zt(uu||(uu=Po`
201
+ 0% {
202
+ stroke-dasharray: 1px, 200px;
203
+ stroke-dashoffset: 0;
204
+ }
205
+
206
+ 50% {
207
+ stroke-dasharray: 100px, 200px;
208
+ stroke-dashoffset: -15px;
209
+ }
210
+
211
+ 100% {
212
+ stroke-dasharray: 100px, 200px;
213
+ stroke-dashoffset: -125px;
214
+ }
215
+ `)),hy=e=>{const{classes:t,variant:n,color:r,disableShrink:o}=e,i={root:["root",n,`color${ce(r)}`],svg:["svg"],circle:["circle",`circle${ce(n)}`,o&&"circleDisableShrink"]};return Ke(i,cy,t)},my=de("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`color${ce(n.color)}`]]}})(({ownerState:e,theme:t})=>_({display:"inline-block"},e.variant==="determinate"&&{transition:t.transitions.create("transform")},e.color!=="inherit"&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>e.variant==="indeterminate"&&mn(cu||(cu=Po`
216
+ animation: ${0} 1.4s linear infinite;
217
+ `),dy)),gy=de("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),yy=de("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.circle,t[`circle${ce(n.variant)}`],n.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>_({stroke:"currentColor"},e.variant==="determinate"&&{transition:t.transitions.create("stroke-dashoffset")},e.variant==="indeterminate"&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>e.variant==="indeterminate"&&!e.disableShrink&&mn(fu||(fu=Po`
218
+ animation: ${0} 1.4s ease-in-out infinite;
219
+ `),py)),du=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiCircularProgress"}),{className:o,color:i="primary",disableShrink:a=!1,size:l=40,style:c,thickness:u=3.6,value:f=0,variant:p="indeterminate"}=r,h=me(r,fy),m=_({},r,{color:i,disableShrink:a,size:l,thickness:u,value:f,variant:p}),g=hy(m),d={},y={},x={};if(p==="determinate"){const k=2*Math.PI*((cn-u)/2);d.strokeDasharray=k.toFixed(3),x["aria-valuenow"]=Math.round(f),d.strokeDashoffset=`${((100-f)/100*k).toFixed(3)}px`,y.transform="rotate(-90deg)"}return B.jsx(my,_({className:Ee(g.root,o),style:_({width:l,height:l},y,c),ownerState:m,ref:n,role:"progressbar"},x,h,{children:B.jsx(gy,{className:g.svg,ownerState:m,viewBox:`${cn/2} ${cn/2} ${cn} ${cn}`,children:B.jsx(yy,{className:g.circle,style:d,ownerState:m,cx:cn,cy:cn,r:(cn-u)/2,fill:"none",strokeWidth:u})})}))});process.env.NODE_ENV!=="production"&&(du.propTypes={classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","primary","secondary","error","info","success","warning"]),s.string]),disableShrink:gn(s.bool,e=>e.disableShrink&&e.variant&&e.variant!=="indeterminate"?new Error("MUI: You have provided the `disableShrink` prop with a variant other than `indeterminate`. This will have no effect."):null),size:s.oneOfType([s.number,s.string]),style:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),thickness:s.number,value:s.number,variant:s.oneOf(["determinate","indeterminate"])});function by(e){const t=vt(e);return t.body===e?ln(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Sr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function pu(e){return parseInt(ln(e).getComputedStyle(e).paddingRight,10)||0}function vy(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 hu(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,a=>{const l=i.indexOf(a)===-1,c=!vy(a);l&&c&&Sr(a,o)})}function Qi(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function xy(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(by(r)){const a=xl(vt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${pu(r)+a}px`;const l=vt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,c=>{n.push({value:c.style.paddingRight,property:"padding-right",el:c}),c.style.paddingRight=`${pu(c)+a}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=vt(r).body;else{const a=r.parentElement,l=ln(r);i=(a==null?void 0:a.nodeName)==="HTML"&&l.getComputedStyle(a).overflowY==="scroll"?a: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:a,property:l})=>{i?a.style.setProperty(l,i):a.style.removeProperty(l)})}}function Ey(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Sy{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&&Sr(t.modalRef,!1);const o=Ey(n);hu(n,t.mount,t.modalRef,o,!0);const i=Qi(this.containers,a=>a.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=Qi(this.containers,i=>i.modals.indexOf(t)!==-1),o=this.containers[r];o.restore||(o.restore=xy(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Qi(this.containers,a=>a.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&&Sr(t.modalRef,n),hu(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const a=i.modals[i.modals.length-1];a.modalRef&&Sr(a.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Ty=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Cy(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 wy(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 Oy(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||wy(e))}function Ry(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ty)).forEach((r,o)=>{const i=Cy(r);i===-1||!Oy(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 ky(){return!0}function _o(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Ry,isEnabled:a=ky,open:l}=e,c=R.useRef(!1),u=R.useRef(null),f=R.useRef(null),p=R.useRef(null),h=R.useRef(null),m=R.useRef(!1),g=R.useRef(null),d=gt(vr(t),g),y=R.useRef(null);R.useEffect(()=>{!l||!g.current||(m.current=!n)},[n,l]),R.useEffect(()=>{if(!l||!g.current)return;const S=vt(g.current);return g.current.contains(S.activeElement)||(g.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
220
+ `)),g.current.setAttribute("tabIndex","-1")),m.current&&g.current.focus()),()=>{o||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[l]),R.useEffect(()=>{if(!l||!g.current)return;const S=vt(g.current),w=b=>{y.current=b,!(r||!a()||b.key!=="Tab")&&S.activeElement===g.current&&b.shiftKey&&(c.current=!0,f.current&&f.current.focus())},C=()=>{const b=g.current;if(b===null)return;if(!S.hasFocus()||!a()||c.current){c.current=!1;return}if(b.contains(S.activeElement)||r&&S.activeElement!==u.current&&S.activeElement!==f.current)return;if(S.activeElement!==h.current)h.current=null;else if(h.current!==null)return;if(!m.current)return;let P=[];if((S.activeElement===u.current||S.activeElement===f.current)&&(P=i(g.current)),P.length>0){var I,A;const M=!!((I=y.current)!=null&&I.shiftKey&&((A=y.current)==null?void 0:A.key)==="Tab"),D=P[0],F=P[P.length-1];typeof D!="string"&&typeof F!="string"&&(M?F.focus():D.focus())}else b.focus()};S.addEventListener("focusin",C),S.addEventListener("keydown",w,!0);const T=setInterval(()=>{S.activeElement&&S.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(T),S.removeEventListener("focusin",C),S.removeEventListener("keydown",w,!0)}},[n,r,o,a,l,i]);const x=S=>{p.current===null&&(p.current=S.relatedTarget),m.current=!0,h.current=S.target;const w=t.props.onFocus;w&&w(S)},k=S=>{p.current===null&&(p.current=S.relatedTarget),m.current=!0};return B.jsxs(R.Fragment,{children:[B.jsx("div",{tabIndex:l?0:-1,onFocus:k,ref:u,"data-testid":"sentinelStart"}),R.cloneElement(t,{ref:d,onFocus:x}),B.jsx("div",{tabIndex:l?0:-1,onFocus:k,ref:f,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(_o.propTypes={children:yr,disableAutoFocus:s.bool,disableEnforceFocus:s.bool,disableRestoreFocus:s.bool,getTabbable:s.func,isEnabled:s.func,open:s.bool.isRequired}),process.env.NODE_ENV!=="production"&&(_o.propTypes=hl(_o.propTypes));function Py(e){return typeof e=="function"?e():e}function _y(e){return e?e.props.hasOwnProperty("in"):!1}const Iy=new Sy;function Ay(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=Iy,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:c,onClose:u,open:f,rootRef:p}=e,h=R.useRef({}),m=R.useRef(null),g=R.useRef(null),d=gt(g,p),[y,x]=R.useState(!f),k=_y(c);let S=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(S=!1);const w=()=>vt(m.current),C=()=>(h.current.modalRef=g.current,h.current.mount=m.current,h.current),T=()=>{o.mount(C(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},b=yn(()=>{const U=Py(t)||w().body;o.add(C(),U),g.current&&T()}),P=R.useCallback(()=>o.isTopModal(C()),[o]),I=yn(U=>{m.current=U,U&&(f&&P()?T():g.current&&Sr(g.current,S))}),A=R.useCallback(()=>{o.remove(C(),S)},[S,o]);R.useEffect(()=>()=>{A()},[A]),R.useEffect(()=>{f?b():(!k||!i)&&A()},[f,A,k,i,b]);const M=U=>Y=>{var z;(z=U.onKeyDown)==null||z.call(U,Y),!(Y.key!=="Escape"||Y.which===229||!P())&&(n||(Y.stopPropagation(),u&&u(Y,"escapeKeyDown")))},D=U=>Y=>{var z;(z=U.onClick)==null||z.call(U,Y),Y.target===Y.currentTarget&&u&&u(Y,"backdropClick")};return{getRootProps:(U={})=>{const Y=Cl(e);delete Y.onTransitionEnter,delete Y.onTransitionExited;const z=_({},Y,U);return _({role:"presentation"},z,{onKeyDown:M(z),ref:d})},getBackdropProps:(U={})=>{const Y=U;return _({"aria-hidden":!0},Y,{onClick:D(Y),open:f})},getTransitionProps:()=>{const U=()=>{x(!1),a&&a()},Y=()=>{x(!0),l&&l(),i&&A()};return{onEnter:Ii(U,c==null?void 0:c.props.onEnter),onExited:Ii(Y,c==null?void 0:c.props.onExited)}},rootRef:d,portalRef:I,isTopModal:P,exited:y,hasTransition:k}}function Ny(e){return Ue("MuiModal",e)}Ve("MuiModal",["root","hidden","backdrop"]);const Fy=["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"],$y=e=>{const{open:t,exited:n,classes:r}=e;return Ke({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Ny,r)},My=de("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})=>_({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Dy=de(ou,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Zi=R.forwardRef(function(t,n){var r,o,i,a,l,c;const u=Xe({name:"MuiModal",props:t}),{BackdropComponent:f=Dy,BackdropProps:p,className:h,closeAfterTransition:m=!1,children:g,container:d,component:y,components:x={},componentsProps:k={},disableAutoFocus:S=!1,disableEnforceFocus:w=!1,disableEscapeKeyDown:C=!1,disablePortal:T=!1,disableRestoreFocus:b=!1,disableScrollLock:P=!1,hideBackdrop:I=!1,keepMounted:A=!1,onBackdropClick:M,open:D,slotProps:F,slots:N}=u,$=me(u,Fy),U=_({},u,{closeAfterTransition:m,disableAutoFocus:S,disableEnforceFocus:w,disableEscapeKeyDown:C,disablePortal:T,disableRestoreFocus:b,disableScrollLock:P,hideBackdrop:I,keepMounted:A}),{getRootProps:Y,getBackdropProps:z,getTransitionProps:ie,portalRef:v,isTopModal:W,exited:Z,hasTransition:E}=Ay(_({},U,{rootRef:n})),K=_({},U,{exited:Z}),te=$y(K),Q={};if(g.props.tabIndex===void 0&&(Q.tabIndex="-1"),E){const{onEnter:ue,onExited:q}=ie();Q.onEnter=ue,Q.onExited=q}const oe=(r=(o=N==null?void 0:N.root)!=null?o:x.Root)!=null?r:My,ee=(i=(a=N==null?void 0:N.backdrop)!=null?a:x.Backdrop)!=null?i:f,ne=(l=F==null?void 0:F.root)!=null?l:k.root,se=(c=F==null?void 0:F.backdrop)!=null?c:k.backdrop,le=Ln({elementType:oe,externalSlotProps:ne,externalForwardedProps:$,getSlotProps:Y,additionalProps:{ref:n,as:y},ownerState:K,className:Ee(h,ne==null?void 0:ne.className,te==null?void 0:te.root,!K.open&&K.exited&&(te==null?void 0:te.hidden))}),H=Ln({elementType:ee,externalSlotProps:se,additionalProps:p,getSlotProps:ue=>z(_({},ue,{onClick:q=>{M&&M(q),ue!=null&&ue.onClick&&ue.onClick(q)}})),className:Ee(se==null?void 0:se.className,p==null?void 0:p.className,te==null?void 0:te.backdrop),ownerState:K});return!A&&!D&&(!E||Z)?null:B.jsx(vo,{ref:v,container:d,disablePortal:T,children:B.jsxs(oe,_({},le,{children:[!I&&f?B.jsx(ee,_({},H)):null,B.jsx(_o,{disableEnforceFocus:w,disableAutoFocus:S,disableRestoreFocus:b,isEnabled:W,open:D,children:R.cloneElement(g,Q)})]}))})});process.env.NODE_ENV!=="production"&&(Zi.propTypes={BackdropComponent:s.elementType,BackdropProps:s.object,children:yr.isRequired,classes:s.object,className:s.string,closeAfterTransition:s.bool,component:s.elementType,components:s.shape({Backdrop:s.elementType,Root:s.elementType}),componentsProps:s.shape({backdrop:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),container:s.oneOfType([br,s.func]),disableAutoFocus:s.bool,disableEnforceFocus:s.bool,disableEscapeKeyDown:s.bool,disablePortal:s.bool,disableRestoreFocus:s.bool,disableScrollLock:s.bool,hideBackdrop:s.bool,keepMounted:s.bool,onBackdropClick:s.func,onClose:s.func,onTransitionEnter:s.func,onTransitionExited:s.func,open:s.bool.isRequired,slotProps:s.shape({backdrop:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),slots:s.shape({backdrop:s.elementType,root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});const Ly=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],jy=e=>{const{classes:t,disableUnderline:n}=e,o=Ke({root:["root",!n&&"underline"],input:["input"]},Kg,t);return _({},t,o)},By=de(wo,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...To(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)",a=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 _({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:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${Tn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${Tn.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"},[`&.${Tn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Tn.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(.${Tn.disabled}, .${Tn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Tn.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&_({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}))}),zy=de(Oo,{name:"MuiFilledInput",slot:"Input",overridesResolver:Co})(({theme:e,ownerState:t})=>_({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})),Io=R.forwardRef(function(t,n){var r,o,i,a;const l=Xe({props:t,name:"MuiFilledInput"}),{components:c={},componentsProps:u,fullWidth:f=!1,inputComponent:p="input",multiline:h=!1,slotProps:m,slots:g={},type:d="text"}=l,y=me(l,Ly),x=_({},l,{fullWidth:f,inputComponent:p,multiline:h,type:d}),k=jy(l),S={root:{ownerState:x},input:{ownerState:x}},w=m??u?Rt(S,m??u):S,C=(r=(o=g.root)!=null?o:c.Root)!=null?r:By,T=(i=(a=g.input)!=null?a:c.Input)!=null?i:zy;return B.jsx(Ro,_({slots:{root:C,input:T},componentsProps:w,fullWidth:f,inputComponent:p,multiline:h,ref:n,type:d},y,{classes:k}))});process.env.NODE_ENV!=="production"&&(Io.propTypes={autoComplete:s.string,autoFocus:s.bool,classes:s.object,color:s.oneOfType([s.oneOf(["primary","secondary"]),s.string]),components:s.shape({Input:s.elementType,Root:s.elementType}),componentsProps:s.shape({input:s.object,root:s.object}),defaultValue:s.any,disabled:s.bool,disableUnderline:s.bool,endAdornment:s.node,error:s.bool,fullWidth:s.bool,hiddenLabel:s.bool,id:s.string,inputComponent:s.elementType,inputProps:s.object,inputRef:nn,margin:s.oneOf(["dense","none"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,onChange:s.func,placeholder:s.string,readOnly:s.bool,required:s.bool,rows:s.oneOfType([s.number,s.string]),slotProps:s.shape({input:s.object,root:s.object}),slots:s.shape({input:s.elementType,root:s.elementType}),startAdornment:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any}),Io.muiName="Input";function Uy(e){return Ue("MuiFormControl",e)}Ve("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Vy=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],qy=e=>{const{classes:t,margin:n,fullWidth:r}=e,o={root:["root",n!=="none"&&`margin${ce(n)}`,r&&"fullWidth"]};return Ke(o,Uy,t)},Wy=de("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>_({},t.root,t[`margin${ce(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>_({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%"})),mu=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:l="div",disabled:c=!1,error:u=!1,focused:f,fullWidth:p=!1,hiddenLabel:h=!1,margin:m="none",required:g=!1,size:d="medium",variant:y="outlined"}=r,x=me(r,Vy),k=_({},r,{color:a,component:l,disabled:c,error:u,fullWidth:p,hiddenLabel:h,margin:m,required:g,size:d,variant:y}),S=qy(k),[w,C]=R.useState(()=>{let F=!1;return o&&R.Children.forEach(o,N=>{if(!so(N,["Input","Select"]))return;const $=so(N,["Select"])?N.props.input:N;$&&zg($.props)&&(F=!0)}),F}),[T,b]=R.useState(()=>{let F=!1;return o&&R.Children.forEach(o,N=>{so(N,["Input","Select"])&&(So(N.props,!0)||So(N.props.inputProps,!0))&&(F=!0)}),F}),[P,I]=R.useState(!1);c&&P&&I(!1);const A=f!==void 0&&!c?f:P;let M;if(process.env.NODE_ENV!=="production"){const F=R.useRef(!1);M=()=>(F.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
221
+ `)),F.current=!0,()=>{F.current=!1})}const D=R.useMemo(()=>({adornedStart:w,setAdornedStart:C,color:a,disabled:c,error:u,filled:T,focused:A,fullWidth:p,hiddenLabel:h,size:d,onBlur:()=>{I(!1)},onEmpty:()=>{b(!1)},onFilled:()=>{b(!0)},onFocus:()=>{I(!0)},registerEffect:M,required:g,variant:y}),[w,a,c,u,T,A,p,h,M,g,d,y]);return B.jsx(Eo.Provider,{value:D,children:B.jsx(Wy,_({as:l,ownerState:k,className:Ee(S.root,i),ref:n},x,{children:o}))})});process.env.NODE_ENV!=="production"&&(mu.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["primary","secondary","error","info","success","warning"]),s.string]),component:s.elementType,disabled:s.bool,error:s.bool,focused:s.bool,fullWidth:s.bool,hiddenLabel:s.bool,margin:s.oneOf(["dense","none","normal"]),required:s.bool,size:s.oneOfType([s.oneOf(["medium","small"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOf(["filled","outlined","standard"])});function Hy(e){return Ue("MuiFormHelperText",e)}const gu=Ve("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var yu;const Yy=["children","className","component","disabled","error","filled","focused","margin","required","variant"],Ky=e=>{const{classes:t,contained:n,size:r,disabled:o,error:i,filled:a,focused:l,required:c}=e,u={root:["root",o&&"disabled",i&&"error",r&&`size${ce(r)}`,n&&"contained",l&&"focused",a&&"filled",c&&"required"]};return Ke(u,Hy,t)},Gy=de("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ce(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>_({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${gu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${gu.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),bu=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiFormHelperText"}),{children:o,className:i,component:a="p"}=r,l=me(r,Yy),c=Un(),u=zn({props:r,muiFormControl:c,states:["variant","size","disabled","error","filled","focused","required"]}),f=_({},r,{component:a,contained:u.variant==="filled"||u.variant==="outlined",variant:u.variant,size:u.size,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),p=Ky(f);return B.jsx(Gy,_({as:a,ownerState:f,className:Ee(p.root,i),ref:n},l,{children:o===" "?yu||(yu=B.jsx("span",{className:"notranslate",children:"​"})):o}))});process.env.NODE_ENV!=="production"&&(bu.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,disabled:s.bool,error:s.bool,filled:s.bool,focused:s.bool,margin:s.oneOf(["dense"]),required:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOfType([s.oneOf(["filled","outlined","standard"]),s.string])});function Xy(e){return Ue("MuiFormLabel",e)}const Tr=Ve("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),Jy=["children","className","color","component","disabled","error","filled","focused","required"],Qy=e=>{const{classes:t,color:n,focused:r,disabled:o,error:i,filled:a,required:l}=e,c={root:["root",`color${ce(n)}`,o&&"disabled",i&&"error",a&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",i&&"error"]};return Ke(c,Xy,t)},Zy=de("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>_({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>_({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Tr.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Tr.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Tr.error}`]:{color:(e.vars||e).palette.error.main}})),eb=de("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Tr.error}`]:{color:(e.vars||e).palette.error.main}})),vu=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiFormLabel"}),{children:o,className:i,component:a="label"}=r,l=me(r,Jy),c=Un(),u=zn({props:r,muiFormControl:c,states:["color","required","focused","disabled","error","filled"]}),f=_({},r,{color:u.color||"primary",component:a,disabled:u.disabled,error:u.error,filled:u.filled,focused:u.focused,required:u.required}),p=Qy(f);return B.jsxs(Zy,_({as:a,ownerState:f,className:Ee(p.root,i),ref:n},l,{children:[o,u.required&&B.jsxs(eb,{ownerState:f,"aria-hidden":!0,className:p.asterisk,children:[" ","*"]})]}))});process.env.NODE_ENV!=="production"&&(vu.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["error","info","primary","secondary","success","warning"]),s.string]),component:s.elementType,disabled:s.bool,error:s.bool,filled:s.bool,focused:s.bool,required:s.bool,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});const tb=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function es(e){return`scale(${e}, ${e**2})`}const nb={entering:{opacity:1,transform:es(1)},entered:{opacity:1,transform:"none"}},ts=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ns=R.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:a,in:l,onEnter:c,onEntered:u,onEntering:f,onExit:p,onExited:h,onExiting:m,style:g,timeout:d="auto",TransitionComponent:y=Yt}=t,x=me(t,tb),k=bl(),S=R.useRef(),w=zi(),C=R.useRef(null),T=gt(C,vr(i),n),b=$=>U=>{if($){const Y=C.current;U===void 0?$(Y):$(Y,U)}},P=b(f),I=b(($,U)=>{Hl($);const{duration:Y,delay:z,easing:ie}=go({style:g,timeout:d,easing:a},{mode:"enter"});let v;d==="auto"?(v=w.transitions.getAutoHeightDuration($.clientHeight),S.current=v):v=Y,$.style.transition=[w.transitions.create("opacity",{duration:v,delay:z}),w.transitions.create("transform",{duration:ts?v:v*.666,delay:z,easing:ie})].join(","),c&&c($,U)}),A=b(u),M=b(m),D=b($=>{const{duration:U,delay:Y,easing:z}=go({style:g,timeout:d,easing:a},{mode:"exit"});let ie;d==="auto"?(ie=w.transitions.getAutoHeightDuration($.clientHeight),S.current=ie):ie=U,$.style.transition=[w.transitions.create("opacity",{duration:ie,delay:Y}),w.transitions.create("transform",{duration:ts?ie:ie*.666,delay:ts?Y:Y||ie*.333,easing:z})].join(","),$.style.opacity=0,$.style.transform=es(.75),p&&p($)}),F=b(h),N=$=>{d==="auto"&&k.start(S.current||0,$),r&&r(C.current,$)};return B.jsx(y,_({appear:o,in:l,nodeRef:C,onEnter:I,onEntered:A,onEntering:P,onExit:D,onExited:F,onExiting:M,addEndListener:N,timeout:d==="auto"?null:d},x,{children:($,U)=>R.cloneElement(i,_({style:_({opacity:0,transform:es(.75),visibility:$==="exited"&&!l?"hidden":void 0},nb[$],g,i.props.style),ref:T},U))}))});process.env.NODE_ENV!=="production"&&(ns.propTypes={addEndListener:s.func,appear:s.bool,children:yr.isRequired,easing:s.oneOfType([s.shape({enter:s.string,exit:s.string}),s.string]),in:s.bool,onEnter:s.func,onEntered:s.func,onEntering:s.func,onExit:s.func,onExited:s.func,onExiting:s.func,style:s.object,timeout:s.oneOfType([s.oneOf(["auto"]),s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})])}),ns.muiSupportAuto=!0;const rb=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],ob=e=>{const{classes:t,disableUnderline:n}=e,o=Ke({root:["root",!n&&"underline"],input:["input"]},Hg,t);return _({},t,o)},ib=de(wo,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...To(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})`),_({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"},[`&.${Er.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Er.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(.${Er.disabled}, .${Er.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Er.disabled}:before`]:{borderBottomStyle:"dotted"}})}),sb=de(Oo,{name:"MuiInput",slot:"Input",overridesResolver:Co})({}),Ao=R.forwardRef(function(t,n){var r,o,i,a;const l=Xe({props:t,name:"MuiInput"}),{disableUnderline:c,components:u={},componentsProps:f,fullWidth:p=!1,inputComponent:h="input",multiline:m=!1,slotProps:g,slots:d={},type:y="text"}=l,x=me(l,rb),k=ob(l),w={root:{ownerState:{disableUnderline:c}}},C=g??f?Rt(g??f,w):w,T=(r=(o=d.root)!=null?o:u.Root)!=null?r:ib,b=(i=(a=d.input)!=null?a:u.Input)!=null?i:sb;return B.jsx(Ro,_({slots:{root:T,input:b},slotProps:C,fullWidth:p,inputComponent:h,multiline:m,ref:n,type:y},x,{classes:k}))});process.env.NODE_ENV!=="production"&&(Ao.propTypes={autoComplete:s.string,autoFocus:s.bool,classes:s.object,color:s.oneOfType([s.oneOf(["primary","secondary"]),s.string]),components:s.shape({Input:s.elementType,Root:s.elementType}),componentsProps:s.shape({input:s.object,root:s.object}),defaultValue:s.any,disabled:s.bool,disableUnderline:s.bool,endAdornment:s.node,error:s.bool,fullWidth:s.bool,id:s.string,inputComponent:s.elementType,inputProps:s.object,inputRef:nn,margin:s.oneOf(["dense","none"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,onChange:s.func,placeholder:s.string,readOnly:s.bool,required:s.bool,rows:s.oneOfType([s.number,s.string]),slotProps:s.shape({input:s.object,root:s.object}),slots:s.shape({input:s.elementType,root:s.elementType}),startAdornment:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any}),Ao.muiName="Input";function ab(e){return Ue("MuiInputLabel",e)}Ve("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const lb=["disableAnimation","margin","shrink","variant","className"],ub=e=>{const{classes:t,formControl:n,size:r,shrink:o,disableAnimation:i,variant:a,required:l}=e,c={root:["root",n&&"formControl",!i&&"animated",o&&"shrink",r&&r!=="normal"&&`size${ce(r)}`,a],asterisk:[l&&"asterisk"]},u=Ke(c,ab,t);return _({},t,u)},cb=de(vu,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Tr.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,n.focused&&t.focused,t[n.variant]]}})(({theme:e,ownerState:t})=>_({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&_({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&_({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&_({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),xu=R.forwardRef(function(t,n){const r=Xe({name:"MuiInputLabel",props:t}),{disableAnimation:o=!1,shrink:i,className:a}=r,l=me(r,lb),c=Un();let u=i;typeof u>"u"&&c&&(u=c.filled||c.focused||c.adornedStart);const f=zn({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),p=_({},r,{disableAnimation:o,formControl:c,shrink:u,size:f.size,variant:f.variant,required:f.required,focused:f.focused}),h=ub(p);return B.jsx(cb,_({"data-shrink":u,ownerState:p,ref:n,className:Ee(h.root,a)},l,{classes:h}))});process.env.NODE_ENV!=="production"&&(xu.propTypes={children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["error","info","primary","secondary","success","warning"]),s.string]),disableAnimation:s.bool,disabled:s.bool,error:s.bool,focused:s.bool,margin:s.oneOf(["dense"]),required:s.bool,shrink:s.bool,size:s.oneOfType([s.oneOf(["normal","small"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),variant:s.oneOf(["filled","outlined","standard"])});function fb(e){return Ue("MuiLinearProgress",e)}Ve("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const db=["className","color","value","valueBuffer","variant"];let Wn=e=>e,Eu,Su,Tu,Cu,wu,Ou;const rs=4,pb=Zt(Eu||(Eu=Wn`
222
+ 0% {
223
+ left: -35%;
224
+ right: 100%;
225
+ }
226
+
227
+ 60% {
228
+ left: 100%;
229
+ right: -90%;
230
+ }
231
+
232
+ 100% {
233
+ left: 100%;
234
+ right: -90%;
235
+ }
236
+ `)),hb=Zt(Su||(Su=Wn`
237
+ 0% {
238
+ left: -200%;
239
+ right: 100%;
240
+ }
241
+
242
+ 60% {
243
+ left: 107%;
244
+ right: -8%;
245
+ }
246
+
247
+ 100% {
248
+ left: 107%;
249
+ right: -8%;
250
+ }
251
+ `)),mb=Zt(Tu||(Tu=Wn`
252
+ 0% {
253
+ opacity: 1;
254
+ background-position: 0 -23px;
255
+ }
256
+
257
+ 60% {
258
+ opacity: 0;
259
+ background-position: 0 -23px;
260
+ }
261
+
262
+ 100% {
263
+ opacity: 1;
264
+ background-position: -200px -23px;
265
+ }
266
+ `)),gb=e=>{const{classes:t,variant:n,color:r}=e,o={root:["root",`color${ce(r)}`,n],dashed:["dashed",`dashedColor${ce(r)}`],bar1:["bar",`barColor${ce(r)}`,(n==="indeterminate"||n==="query")&&"bar1Indeterminate",n==="determinate"&&"bar1Determinate",n==="buffer"&&"bar1Buffer"],bar2:["bar",n!=="buffer"&&`barColor${ce(r)}`,n==="buffer"&&`color${ce(r)}`,(n==="indeterminate"||n==="query")&&"bar2Indeterminate",n==="buffer"&&"bar2Buffer"]};return Ke(o,fb,t)},os=(e,t)=>t==="inherit"?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:e.palette.mode==="light"?xt.lighten(e.palette[t].main,.62):xt.darken(e.palette[t].main,.5),yb=de("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`color${ce(n.color)}`],t[n.variant]]}})(({ownerState:e,theme:t})=>_({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:os(t,e.color)},e.color==="inherit"&&e.variant!=="buffer"&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},e.variant==="buffer"&&{backgroundColor:"transparent"},e.variant==="query"&&{transform:"rotate(180deg)"})),bb=de("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.dashed,t[`dashedColor${ce(n.color)}`]]}})(({ownerState:e,theme:t})=>{const n=os(t,e.color);return _({position:"absolute",marginTop:0,height:"100%",width:"100%"},e.color==="inherit"&&{opacity:.3},{backgroundImage:`radial-gradient(${n} 0%, ${n} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},mn(Cu||(Cu=Wn`
267
+ animation: ${0} 3s infinite linear;
268
+ `),mb)),vb=de("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${ce(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar1Indeterminate,n.variant==="determinate"&&t.bar1Determinate,n.variant==="buffer"&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>_({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.variant==="determinate"&&{transition:`transform .${rs}s linear`},e.variant==="buffer"&&{zIndex:1,transition:`transform .${rs}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&mn(wu||(wu=Wn`
269
+ width: auto;
270
+ animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
271
+ `),pb)),xb=de("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.bar,t[`barColor${ce(n.color)}`],(n.variant==="indeterminate"||n.variant==="query")&&t.bar2Indeterminate,n.variant==="buffer"&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>_({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},e.variant!=="buffer"&&{backgroundColor:e.color==="inherit"?"currentColor":(t.vars||t).palette[e.color].main},e.color==="inherit"&&{opacity:.3},e.variant==="buffer"&&{backgroundColor:os(t,e.color),transition:`transform .${rs}s linear`}),({ownerState:e})=>(e.variant==="indeterminate"||e.variant==="query")&&mn(Ou||(Ou=Wn`
272
+ width: auto;
273
+ animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
274
+ `),hb)),Ru=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiLinearProgress"}),{className:o,color:i="primary",value:a,valueBuffer:l,variant:c="indeterminate"}=r,u=me(r,db),f=_({},r,{color:i,variant:c}),p=gb(f),h=Ol(),m={},g={bar1:{},bar2:{}};if(c==="determinate"||c==="buffer")if(a!==void 0){m["aria-valuenow"]=Math.round(a),m["aria-valuemin"]=0,m["aria-valuemax"]=100;let d=a-100;h&&(d=-d),g.bar1.transform=`translateX(${d}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a value prop when using the determinate or buffer variant of LinearProgress .");if(c==="buffer")if(l!==void 0){let d=(l||0)-100;h&&(d=-d),g.bar2.transform=`translateX(${d}%)`}else process.env.NODE_ENV!=="production"&&console.error("MUI: You need to provide a valueBuffer prop when using the buffer variant of LinearProgress.");return B.jsxs(yb,_({className:Ee(p.root,o),ownerState:f,role:"progressbar"},m,{ref:n},u,{children:[c==="buffer"?B.jsx(bb,{className:p.dashed,ownerState:f}):null,B.jsx(vb,{className:p.bar1,ownerState:f,style:g.bar1}),c==="determinate"?null:B.jsx(xb,{className:p.bar2,ownerState:f,style:g.bar2})]}))});process.env.NODE_ENV!=="production"&&(Ru.propTypes={classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["inherit","primary","secondary"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.number,valueBuffer:s.number,variant:s.oneOf(["buffer","determinate","indeterminate","query"])});const ku=R.createContext({});process.env.NODE_ENV!=="production"&&(ku.displayName="ListContext");function Eb(e){return Ue("MuiList",e)}Ve("MuiList",["root","padding","dense","subheader"]);const Sb=["children","className","component","dense","disablePadding","subheader"],Tb=e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Ke({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},Eb,t)},Cb=de("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})=>_({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Pu=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:l=!1,disablePadding:c=!1,subheader:u}=r,f=me(r,Sb),p=R.useMemo(()=>({dense:l}),[l]),h=_({},r,{component:a,dense:l,disablePadding:c}),m=Tb(h);return B.jsx(ku.Provider,{value:p,children:B.jsxs(Cb,_({as:a,className:Ee(m.root,i),ref:n,ownerState:h},f,{children:[u,o]}))})});process.env.NODE_ENV!=="production"&&(Pu.propTypes={children:s.node,classes:s.object,className:s.string,component:s.elementType,dense:s.bool,disablePadding:s.bool,subheader:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object])});const wb=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function is(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function _u(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Iu(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 Cr(e,t,n,r,o,i){let a=!1,l=o(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const c=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!Iu(l,i)||c)l=o(e,l,n);else return l.focus(),!0}return!1}const Au=R.forwardRef(function(t,n){const{actions:r,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:l,disabledItemsFocusable:c=!1,disableListWrap:u=!1,onKeyDown:f,variant:p="selectedMenu"}=t,h=me(t,wb),m=R.useRef(null),g=R.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});tn(()=>{o&&m.current.focus()},[o]),R.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(S,{direction:w})=>{const C=!m.current.style.width;if(S.clientHeight<m.current.clientHeight&&C){const T=`${xl(vt(S))}px`;m.current.style[w==="rtl"?"paddingLeft":"paddingRight"]=T,m.current.style.width=`calc(100% + ${T})`}return m.current}}),[]);const d=S=>{const w=m.current,C=S.key,T=vt(w).activeElement;if(C==="ArrowDown")S.preventDefault(),Cr(w,T,u,c,is);else if(C==="ArrowUp")S.preventDefault(),Cr(w,T,u,c,_u);else if(C==="Home")S.preventDefault(),Cr(w,null,u,c,is);else if(C==="End")S.preventDefault(),Cr(w,null,u,c,_u);else if(C.length===1){const b=g.current,P=C.toLowerCase(),I=performance.now();b.keys.length>0&&(I-b.lastTime>500?(b.keys=[],b.repeating=!0,b.previousKeyMatched=!0):b.repeating&&P!==b.keys[0]&&(b.repeating=!1)),b.lastTime=I,b.keys.push(P);const A=T&&!b.repeating&&Iu(T,b);b.previousKeyMatched&&(A||Cr(w,T,!1,c,is,b))?S.preventDefault():b.previousKeyMatched=!1}f&&f(S)},y=gt(m,n);let x=-1;R.Children.forEach(a,(S,w)=>{if(!R.isValidElement(S)){x===w&&(x+=1,x>=a.length&&(x=-1));return}process.env.NODE_ENV!=="production"&&qi.isFragment(S)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
275
+ `)),S.props.disabled||(p==="selectedMenu"&&S.props.selected||x===-1)&&(x=w),x===w&&(S.props.disabled||S.props.muiSkipListHighlight||S.type.muiSkipListHighlight)&&(x+=1,x>=a.length&&(x=-1))});const k=R.Children.map(a,(S,w)=>{if(w===x){const C={};return i&&(C.autoFocus=!0),S.props.tabIndex===void 0&&p==="selectedMenu"&&(C.tabIndex=0),R.cloneElement(S,C)}return S});return B.jsx(Pu,_({role:"menu",ref:y,className:l,onKeyDown:d,tabIndex:o?0:-1},h,{children:k}))});process.env.NODE_ENV!=="production"&&(Au.propTypes={autoFocus:s.bool,autoFocusItem:s.bool,children:s.node,className:s.string,disabledItemsFocusable:s.bool,disableListWrap:s.bool,onKeyDown:s.func,variant:s.oneOf(["menu","selectedMenu"])});function Ob(e){return Ue("MuiPopover",e)}Ve("MuiPopover",["root","paper"]);const Rb=["onEntering"],kb=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Pb=["slotProps"];function Nu(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Fu(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function $u(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function No(e){return typeof e=="function"?e():e}const _b=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"]},Ob,t)},Ib=de(Zi,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Mu=de(Gi,{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}),Du=R.forwardRef(function(t,n){var r,o,i;const a=Xe({props:t,name:"MuiPopover"}),{action:l,anchorEl:c,anchorOrigin:u={vertical:"top",horizontal:"left"},anchorPosition:f,anchorReference:p="anchorEl",children:h,className:m,container:g,elevation:d=8,marginThreshold:y=16,open:x,PaperProps:k={},slots:S,slotProps:w,transformOrigin:C={vertical:"top",horizontal:"left"},TransitionComponent:T=ns,transitionDuration:b="auto",TransitionProps:{onEntering:P}={},disableScrollLock:I=!1}=a,A=me(a.TransitionProps,Rb),M=me(a,kb),D=(r=w==null?void 0:w.paper)!=null?r:k,F=R.useRef(),N=gt(F,D.ref),$=_({},a,{anchorOrigin:u,anchorReference:p,elevation:d,marginThreshold:y,externalPaperSlotProps:D,transformOrigin:C,TransitionComponent:T,transitionDuration:b,TransitionProps:A}),U=_b($),Y=R.useCallback(()=>{if(p==="anchorPosition")return process.env.NODE_ENV!=="production"&&(f||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),f;const ue=No(c),q=ue&&ue.nodeType===1?ue:vt(F.current).body,pe=q.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const we=q.getBoundingClientRect();process.env.NODE_ENV!=="test"&&we.top===0&&we.left===0&&we.right===0&&we.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
276
+ `))}return{top:pe.top+Nu(pe,u.vertical),left:pe.left+Fu(pe,u.horizontal)}},[c,u.horizontal,u.vertical,f,p]),z=R.useCallback(ue=>({vertical:Nu(ue,C.vertical),horizontal:Fu(ue,C.horizontal)}),[C.horizontal,C.vertical]),ie=R.useCallback(ue=>{const q={width:ue.offsetWidth,height:ue.offsetHeight},pe=z(q);if(p==="none")return{top:null,left:null,transformOrigin:$u(pe)};const we=Y();let He=we.top-pe.vertical,it=we.left-pe.horizontal;const st=He+q.height,dt=it+q.width,je=ln(No(c)),ut=je.innerHeight-y,ct=je.innerWidth-y;if(y!==null&&He<y){const Be=He-y;He-=Be,pe.vertical+=Be}else if(y!==null&&st>ut){const Be=st-ut;He-=Be,pe.vertical+=Be}if(process.env.NODE_ENV!=="production"&&q.height>ut&&q.height&&ut&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${q.height-ut}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
277
+ `)),y!==null&&it<y){const Be=it-y;it-=Be,pe.horizontal+=Be}else if(dt>ct){const Be=dt-ct;it-=Be,pe.horizontal+=Be}return{top:`${Math.round(He)}px`,left:`${Math.round(it)}px`,transformOrigin:$u(pe)}},[c,p,Y,z,y]),[v,W]=R.useState(x),Z=R.useCallback(()=>{const ue=F.current;if(!ue)return;const q=ie(ue);q.top!==null&&(ue.style.top=q.top),q.left!==null&&(ue.style.left=q.left),ue.style.transformOrigin=q.transformOrigin,W(!0)},[ie]);R.useEffect(()=>(I&&window.addEventListener("scroll",Z),()=>window.removeEventListener("scroll",Z)),[c,I,Z]);const E=(ue,q)=>{P&&P(ue,q),Z()},K=()=>{W(!1)};R.useEffect(()=>{x&&Z()}),R.useImperativeHandle(l,()=>x?{updatePosition:()=>{Z()}}:null,[x,Z]),R.useEffect(()=>{if(!x)return;const ue=Ai(()=>{Z()}),q=ln(c);return q.addEventListener("resize",ue),()=>{ue.clear(),q.removeEventListener("resize",ue)}},[c,x,Z]);let te=b;b==="auto"&&!T.muiSupportAuto&&(te=void 0);const Q=g||(c?vt(No(c)).body:void 0),oe=(o=S==null?void 0:S.root)!=null?o:Ib,ee=(i=S==null?void 0:S.paper)!=null?i:Mu,ne=Ln({elementType:ee,externalSlotProps:_({},D,{style:v?D.style:_({},D.style,{opacity:0})}),additionalProps:{elevation:d,ref:N},ownerState:$,className:Ee(U.paper,D==null?void 0:D.className)}),se=Ln({elementType:oe,externalSlotProps:(w==null?void 0:w.root)||{},externalForwardedProps:M,additionalProps:{ref:n,slotProps:{backdrop:{invisible:!0}},container:Q,open:x},ownerState:$,className:Ee(U.root,m)}),{slotProps:le}=se,H=me(se,Pb);return B.jsx(oe,_({},H,!co(oe)&&{slotProps:le,disableScrollLock:I},{children:B.jsx(T,_({appear:!0,in:x,onEntering:E,onExited:K,timeout:te},A,{children:B.jsx(ee,_({},ne,{children:h}))}))}))});process.env.NODE_ENV!=="production"&&(Du.propTypes={action:nn,anchorEl:gn(s.oneOfType([br,s.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=No(e.anchorEl);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
278
+ `))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
279
+ `))}return null}),anchorOrigin:s.shape({horizontal:s.oneOfType([s.oneOf(["center","left","right"]),s.number]).isRequired,vertical:s.oneOfType([s.oneOf(["bottom","center","top"]),s.number]).isRequired}),anchorPosition:s.shape({left:s.number.isRequired,top:s.number.isRequired}),anchorReference:s.oneOf(["anchorEl","anchorPosition","none"]),children:s.node,classes:s.object,className:s.string,container:s.oneOfType([br,s.func]),disableScrollLock:s.bool,elevation:Tl,marginThreshold:s.number,onClose:s.func,open:s.bool.isRequired,PaperProps:s.shape({component:_i}),slotProps:s.shape({paper:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),slots:s.shape({paper:s.elementType,root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),transformOrigin:s.shape({horizontal:s.oneOfType([s.oneOf(["center","left","right"]),s.number]).isRequired,vertical:s.oneOfType([s.oneOf(["bottom","center","top"]),s.number]).isRequired}),TransitionComponent:s.elementType,transitionDuration:s.oneOfType([s.oneOf(["auto"]),s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})]),TransitionProps:s.object});function Ab(e){return Ue("MuiMenu",e)}Ve("MuiMenu",["root","paper","list"]);const Nb=["onEntering"],Fb=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],$b={vertical:"top",horizontal:"right"},Mb={vertical:"top",horizontal:"left"},Db=e=>{const{classes:t}=e;return Ke({root:["root"],paper:["paper"],list:["list"]},Ab,t)},Lb=de(Du,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),jb=de(Mu,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Bb=de(Au,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Lu=R.forwardRef(function(t,n){var r,o;const i=Xe({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:l,className:c,disableAutoFocusItem:u=!1,MenuListProps:f={},onClose:p,open:h,PaperProps:m={},PopoverClasses:g,transitionDuration:d="auto",TransitionProps:{onEntering:y}={},variant:x="selectedMenu",slots:k={},slotProps:S={}}=i,w=me(i.TransitionProps,Nb),C=me(i,Fb),T=Ol(),b=_({},i,{autoFocus:a,disableAutoFocusItem:u,MenuListProps:f,onEntering:y,PaperProps:m,transitionDuration:d,TransitionProps:w,variant:x}),P=Db(b),I=a&&!u&&h,A=R.useRef(null),M=(z,ie)=>{A.current&&A.current.adjustStyleForScrollbar(z,{direction:T?"rtl":"ltr"}),y&&y(z,ie)},D=z=>{z.key==="Tab"&&(z.preventDefault(),p&&p(z,"tabKeyDown"))};let F=-1;R.Children.map(l,(z,ie)=>{R.isValidElement(z)&&(process.env.NODE_ENV!=="production"&&qi.isFragment(z)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
280
+ `)),z.props.disabled||(x==="selectedMenu"&&z.props.selected||F===-1)&&(F=ie))});const N=(r=k.paper)!=null?r:jb,$=(o=S.paper)!=null?o:m,U=Ln({elementType:k.root,externalSlotProps:S.root,ownerState:b,className:[P.root,c]}),Y=Ln({elementType:N,externalSlotProps:$,ownerState:b,className:P.paper});return B.jsx(Lb,_({onClose:p,anchorOrigin:{vertical:"bottom",horizontal:T?"right":"left"},transformOrigin:T?$b:Mb,slots:{paper:N,root:k.root},slotProps:{root:U,paper:Y},open:h,ref:n,transitionDuration:d,TransitionProps:_({onEntering:M},w),ownerState:b},C,{classes:g,children:B.jsx(Bb,_({onKeyDown:D,actions:A,autoFocus:a&&(F===-1||u),autoFocusItem:I,variant:x},f,{className:Ee(P.list,f.className),children:l}))}))});process.env.NODE_ENV!=="production"&&(Lu.propTypes={anchorEl:s.oneOfType([br,s.func]),autoFocus:s.bool,children:s.node,classes:s.object,className:s.string,disableAutoFocusItem:s.bool,MenuListProps:s.object,onClose:s.func,open:s.bool.isRequired,PaperProps:s.object,PopoverClasses:s.object,slotProps:s.shape({paper:s.oneOfType([s.func,s.object]),root:s.oneOfType([s.func,s.object])}),slots:s.shape({paper:s.elementType,root:s.elementType}),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),transitionDuration:s.oneOfType([s.oneOf(["auto"]),s.number,s.shape({appear:s.number,enter:s.number,exit:s.number})]),TransitionProps:s.object,variant:s.oneOf(["menu","selectedMenu"])});function zb(e){return Ue("MuiNativeSelect",e)}const ss=Ve("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Ub=["className","disabled","error","IconComponent","inputRef","variant"],Vb=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ce(n)}`,i&&"iconOpen",r&&"disabled"]};return Ke(l,zb,t)},ju=({ownerState:e,theme:t})=>_({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":_({},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"},[`&.${ss.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}}),qb=de("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:zt,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],n.error&&t.error,{[`&.${ss.multiple}`]:t.multiple}]}})(ju),Bu=({ownerState:e,theme:t})=>_({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${ss.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),Wb=de("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ce(n.variant)}`],n.open&&t.iconOpen]}})(Bu),zu=R.forwardRef(function(t,n){const{className:r,disabled:o,error:i,IconComponent:a,inputRef:l,variant:c="standard"}=t,u=me(t,Ub),f=_({},t,{disabled:o,variant:c,error:i}),p=Vb(f);return B.jsxs(R.Fragment,{children:[B.jsx(qb,_({ownerState:f,className:Ee(p.select,r),disabled:o,ref:l||n},u)),t.multiple?null:B.jsx(Wb,{as:a,ownerState:f,className:p.icon})]})});process.env.NODE_ENV!=="production"&&(zu.propTypes={children:s.node,classes:s.object,className:s.string,disabled:s.bool,error:s.bool,IconComponent:s.elementType.isRequired,inputRef:nn,multiple:s.bool,name:s.string,onChange:s.func,value:s.any,variant:s.oneOf(["standard","outlined","filled"])});var Uu;const Hb=["children","classes","className","label","notched"],Yb=de("fieldset",{shouldForwardProp:zt})({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%"}),Kb=de("legend",{shouldForwardProp:zt})(({ownerState:e,theme:t})=>_({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&&_({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 Vu(e){const{className:t,label:n,notched:r}=e,o=me(e,Hb),i=n!=null&&n!=="",a=_({},e,{notched:r,withLabel:i});return B.jsx(Yb,_({"aria-hidden":!0,className:t,ownerState:a},o,{children:B.jsx(Kb,{ownerState:a,children:i?B.jsx("span",{children:n}):Uu||(Uu=B.jsx("span",{className:"notranslate",children:"​"}))})}))}process.env.NODE_ENV!=="production"&&(Vu.propTypes={children:s.node,classes:s.object,className:s.string,label:s.node,notched:s.bool.isRequired,style:s.object});const Gb=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],Xb=e=>{const{classes:t}=e,r=Ke({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},Yg,t);return _({},t,r)},Jb=de(wo,{shouldForwardProp:e=>zt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:To})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return _({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${un.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${un.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${un.focused} .${un.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${un.error} .${un.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${un.disabled} .${un.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&_({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),Qb=de(Vu,{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}}),Zb=de(Oo,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Co})(({theme:e,ownerState:t})=>_({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})),Fo=R.forwardRef(function(t,n){var r,o,i,a,l;const c=Xe({props:t,name:"MuiOutlinedInput"}),{components:u={},fullWidth:f=!1,inputComponent:p="input",label:h,multiline:m=!1,notched:g,slots:d={},type:y="text"}=c,x=me(c,Gb),k=Xb(c),S=Un(),w=zn({props:c,muiFormControl:S,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),C=_({},c,{color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:S,fullWidth:f,hiddenLabel:w.hiddenLabel,multiline:m,size:w.size,type:y}),T=(r=(o=d.root)!=null?o:u.Root)!=null?r:Jb,b=(i=(a=d.input)!=null?a:u.Input)!=null?i:Zb;return B.jsx(Ro,_({slots:{root:T,input:b},renderSuffix:P=>B.jsx(Qb,{ownerState:C,className:k.notchedOutline,label:h!=null&&h!==""&&w.required?l||(l=B.jsxs(R.Fragment,{children:[h," ","*"]})):h,notched:typeof g<"u"?g:!!(P.startAdornment||P.filled||P.focused)}),fullWidth:f,inputComponent:p,multiline:m,ref:n,type:y},x,{classes:_({},k,{notchedOutline:null})}))});process.env.NODE_ENV!=="production"&&(Fo.propTypes={autoComplete:s.string,autoFocus:s.bool,classes:s.object,color:s.oneOfType([s.oneOf(["primary","secondary"]),s.string]),components:s.shape({Input:s.elementType,Root:s.elementType}),defaultValue:s.any,disabled:s.bool,endAdornment:s.node,error:s.bool,fullWidth:s.bool,id:s.string,inputComponent:s.elementType,inputProps:s.object,inputRef:nn,label:s.node,margin:s.oneOf(["dense","none"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,notched:s.bool,onChange:s.func,placeholder:s.string,readOnly:s.bool,required:s.bool,rows:s.oneOfType([s.number,s.string]),slots:s.shape({input:s.elementType,root:s.elementType}),startAdornment:s.node,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any}),Fo.muiName="Input";function ev(e){return Ue("MuiSelect",e)}const wr=Ve("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var qu;const tv=["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"],nv=de("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${wr.select}`]:t.select},{[`&.${wr.select}`]:t[n.variant]},{[`&.${wr.error}`]:t.error},{[`&.${wr.multiple}`]:t.multiple}]}})(ju,{[`&.${wr.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),rv=de("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ce(n.variant)}`],n.open&&t.iconOpen]}})(Bu),ov=de("input",{shouldForwardProp:e=>Ll(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 Wu(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function iv(e){return e==null||typeof e=="string"&&!e.trim()}const sv=e=>{const{classes:t,variant:n,disabled:r,multiple:o,open:i,error:a}=e,l={select:["select",n,r&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${ce(n)}`,i&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Ke(l,ev,t)},Hu=R.forwardRef(function(t,n){var r;const{"aria-describedby":o,"aria-label":i,autoFocus:a,autoWidth:l,children:c,className:u,defaultOpen:f,defaultValue:p,disabled:h,displayEmpty:m,error:g=!1,IconComponent:d,inputRef:y,labelId:x,MenuProps:k={},multiple:S,name:w,onBlur:C,onChange:T,onClose:b,onFocus:P,onOpen:I,open:A,readOnly:M,renderValue:D,SelectDisplayProps:F={},tabIndex:N,value:$,variant:U="standard"}=t,Y=me(t,tv),[z,ie]=Fi({controlled:$,default:p,name:"Select"}),[v,W]=Fi({controlled:A,default:f,name:"Select"}),Z=R.useRef(null),E=R.useRef(null),[K,te]=R.useState(null),{current:Q}=R.useRef(A!=null),[oe,ee]=R.useState(),ne=gt(n,y),se=R.useCallback(ae=>{E.current=ae,ae&&te(ae)},[]),le=K==null?void 0:K.parentNode;R.useImperativeHandle(ne,()=>({focus:()=>{E.current.focus()},node:Z.current,value:z}),[z]),R.useEffect(()=>{f&&v&&K&&!Q&&(ee(l?null:le.clientWidth),E.current.focus())},[K,l]),R.useEffect(()=>{a&&E.current.focus()},[a]),R.useEffect(()=>{if(!x)return;const ae=vt(E.current).getElementById(x);if(ae){const xe=()=>{getSelection().isCollapsed&&E.current.focus()};return ae.addEventListener("click",xe),()=>{ae.removeEventListener("click",xe)}}},[x]);const H=(ae,xe)=>{ae?I&&I(xe):b&&b(xe),Q||(ee(l?null:le.clientWidth),W(ae))},ue=ae=>{ae.button===0&&(ae.preventDefault(),E.current.focus(),H(!0,ae))},q=ae=>{H(!1,ae)},pe=R.Children.toArray(c),we=ae=>{const xe=pe.find(Ye=>Ye.props.value===ae.target.value);xe!==void 0&&(ie(xe.props.value),T&&T(ae,xe))},He=ae=>xe=>{let Ye;if(xe.currentTarget.hasAttribute("tabindex")){if(S){Ye=Array.isArray(z)?z.slice():[];const Ne=z.indexOf(ae.props.value);Ne===-1?Ye.push(ae.props.value):Ye.splice(Ne,1)}else Ye=ae.props.value;if(ae.props.onClick&&ae.props.onClick(xe),z!==Ye&&(ie(Ye),T)){const Ne=xe.nativeEvent||xe,pn=new Ne.constructor(Ne.type,Ne);Object.defineProperty(pn,"target",{writable:!0,value:{value:Ye,name:w}}),T(pn,ae)}S||H(!1,xe)}},it=ae=>{M||[" ","ArrowUp","ArrowDown","Enter"].indexOf(ae.key)!==-1&&(ae.preventDefault(),H(!0,ae))},st=K!==null&&v,dt=ae=>{!st&&C&&(Object.defineProperty(ae,"target",{writable:!0,value:{value:z,name:w}}),C(ae))};delete Y["aria-invalid"];let je,ut;const ct=[];let Be=!1,pt=!1;(So({value:z})||m)&&(D?je=D(z):Be=!0);const jt=pe.map(ae=>{if(!R.isValidElement(ae))return null;process.env.NODE_ENV!=="production"&&qi.isFragment(ae)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
281
+ `));let xe;if(S){if(!Array.isArray(z))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":hn(2));xe=z.some(Ye=>Wu(Ye,ae.props.value)),xe&&Be&&ct.push(ae.props.children)}else xe=Wu(z,ae.props.value),xe&&Be&&(ut=ae.props.children);return xe&&(pt=!0),R.cloneElement(ae,{"aria-selected":xe?"true":"false",onClick:He(ae),onKeyUp:Ye=>{Ye.key===" "&&Ye.preventDefault(),ae.props.onKeyUp&&ae.props.onKeyUp(Ye)},role:"option",selected:xe,value:void 0,"data-value":ae.props.value})});process.env.NODE_ENV!=="production"&&R.useEffect(()=>{if(!pt&&!S&&z!==""){const ae=pe.map(xe=>xe.props.value);console.warn([`MUI: You have provided an out-of-range value \`${z}\` for the select ${w?`(name="${w}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${ae.filter(xe=>xe!=null).map(xe=>`\`${xe}\``).join(", ")||'""'}.`].join(`
282
+ `))}},[pt,pe,S,w,z]),Be&&(S?ct.length===0?je=null:je=ct.reduce((ae,xe,Ye)=>(ae.push(xe),Ye<ct.length-1&&ae.push(", "),ae),[]):je=ut);let L=oe;!l&&Q&&K&&(L=le.clientWidth);let V;typeof N<"u"?V=N:V=h?null:0;const G=F.id||(w?`mui-component-select-${w}`:void 0),ve=_({},t,{variant:U,value:z,open:st,error:g}),Se=sv(ve),at=_({},k.PaperProps,(r=k.slotProps)==null?void 0:r.paper),Ct=Ni();return B.jsxs(R.Fragment,{children:[B.jsx(nv,_({ref:se,tabIndex:V,role:"combobox","aria-controls":Ct,"aria-disabled":h?"true":void 0,"aria-expanded":st?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[x,G].filter(Boolean).join(" ")||void 0,"aria-describedby":o,onKeyDown:it,onMouseDown:h||M?null:ue,onBlur:dt,onFocus:P},F,{ownerState:ve,className:Ee(F.className,Se.select,u),id:G,children:iv(je)?qu||(qu=B.jsx("span",{className:"notranslate",children:"​"})):je})),B.jsx(ov,_({"aria-invalid":g,value:Array.isArray(z)?z.join(","):z,name:w,ref:Z,"aria-hidden":!0,onChange:we,tabIndex:-1,disabled:h,className:Se.nativeInput,autoFocus:a,ownerState:ve},Y)),B.jsx(rv,{as:d,className:Se.icon,ownerState:ve}),B.jsx(Lu,_({id:`menu-${w||""}`,anchorEl:le,open:st,onClose:q,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},k,{MenuListProps:_({"aria-labelledby":x,role:"listbox","aria-multiselectable":S?"true":void 0,disableListWrap:!0,id:Ct},k.MenuListProps),slotProps:_({},k.slotProps,{paper:_({},at,{style:_({minWidth:L},at!=null?at.style:null)})}),children:jt}))]})});process.env.NODE_ENV!=="production"&&(Hu.propTypes={"aria-describedby":s.string,"aria-label":s.string,autoFocus:s.bool,autoWidth:s.bool,children:s.node,classes:s.object,className:s.string,defaultOpen:s.bool,defaultValue:s.any,disabled:s.bool,displayEmpty:s.bool,error:s.bool,IconComponent:s.elementType.isRequired,inputRef:nn,labelId:s.string,MenuProps:s.object,multiple:s.bool,name:s.string,onBlur:s.func,onChange:s.func,onClose:s.func,onFocus:s.func,onOpen:s.func,open:s.bool,readOnly:s.bool,renderValue:s.func,SelectDisplayProps:s.object,tabIndex:s.oneOfType([s.number,s.string]),type:s.any,value:s.any,variant:s.oneOf(["standard","outlined","filled"])});const av=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],lv=["root"],uv=e=>{const{classes:t}=e;return t},as={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>zt(e)&&e!=="variant",slot:"Root"},cv=de(Ao,as)(""),fv=de(Fo,as)(""),dv=de(Io,as)(""),ls=R.forwardRef(function(t,n){const r=Xe({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:l,defaultOpen:c=!1,displayEmpty:u=!1,IconComponent:f=Gg,id:p,input:h,inputProps:m,label:g,labelId:d,MenuProps:y,multiple:x=!1,native:k=!1,onClose:S,onOpen:w,open:C,renderValue:T,SelectDisplayProps:b,variant:P="outlined"}=r,I=me(r,av),A=k?zu:Hu,M=Un(),D=zn({props:r,muiFormControl:M,states:["variant","error"]}),F=D.variant||P,N=_({},r,{variant:F,classes:a}),$=uv(N),U=me($,lv),Y=h||{standard:B.jsx(cv,{ownerState:N}),outlined:B.jsx(fv,{label:g,ownerState:N}),filled:B.jsx(dv,{ownerState:N})}[F],z=gt(n,vr(Y));return B.jsx(R.Fragment,{children:R.cloneElement(Y,_({inputComponent:A,inputProps:_({children:i,error:D.error,IconComponent:f,variant:F,type:void 0,multiple:x},k?{id:p}:{autoWidth:o,defaultOpen:c,displayEmpty:u,labelId:d,MenuProps:y,onClose:S,onOpen:w,open:C,renderValue:T,SelectDisplayProps:_({id:p},b)},m,{classes:m?Rt(U,m.classes):U},h?h.props.inputProps:{})},(x&&k||u)&&F==="outlined"?{notched:!0}:{},{ref:z,className:Ee(Y.props.className,l,$.root)},!h&&{variant:F},I))})});process.env.NODE_ENV!=="production"&&(ls.propTypes={autoWidth:s.bool,children:s.node,classes:s.object,className:s.string,defaultOpen:s.bool,defaultValue:s.any,displayEmpty:s.bool,IconComponent:s.elementType,id:s.string,input:s.element,inputProps:s.object,label:s.node,labelId:s.string,MenuProps:s.object,multiple:s.bool,native:s.bool,onChange:s.func,onClose:s.func,onOpen:s.func,open:s.bool,renderValue:s.func,SelectDisplayProps:s.object,sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),value:s.oneOfType([s.oneOf([""]),s.any]),variant:s.oneOf(["filled","outlined","standard"])}),ls.muiName="Select";function pv(e){return Ue("MuiTextField",e)}Ve("MuiTextField",["root"]);const hv=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],mv={standard:Ao,filled:Io,outlined:Fo},gv=e=>{const{classes:t}=e;return Ke({root:["root"]},pv,t)},yv=de(mu,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Yu=R.forwardRef(function(t,n){const r=Xe({props:t,name:"MuiTextField"}),{autoComplete:o,autoFocus:i=!1,children:a,className:l,color:c="primary",defaultValue:u,disabled:f=!1,error:p=!1,FormHelperTextProps:h,fullWidth:m=!1,helperText:g,id:d,InputLabelProps:y,inputProps:x,InputProps:k,inputRef:S,label:w,maxRows:C,minRows:T,multiline:b=!1,name:P,onBlur:I,onChange:A,onFocus:M,placeholder:D,required:F=!1,rows:N,select:$=!1,SelectProps:U,type:Y,value:z,variant:ie="outlined"}=r,v=me(r,hv),W=_({},r,{autoFocus:i,color:c,disabled:f,error:p,fullWidth:m,multiline:b,required:F,select:$,variant:ie}),Z=gv(W);process.env.NODE_ENV!=="production"&&$&&!a&&console.error("MUI: `children` must be passed when using the `TextField` component with `select`.");const E={};ie==="outlined"&&(y&&typeof y.shrink<"u"&&(E.notched=y.shrink),E.label=w),$&&((!U||!U.native)&&(E.id=void 0),E["aria-describedby"]=void 0);const K=Ni(d),te=g&&K?`${K}-helper-text`:void 0,Q=w&&K?`${K}-label`:void 0,oe=mv[ie],ee=B.jsx(oe,_({"aria-describedby":te,autoComplete:o,autoFocus:i,defaultValue:u,fullWidth:m,multiline:b,name:P,rows:N,maxRows:C,minRows:T,type:Y,value:z,id:K,inputRef:S,onBlur:I,onChange:A,onFocus:M,placeholder:D,inputProps:x},E,k));return B.jsxs(yv,_({className:Ee(Z.root,l),disabled:f,error:p,fullWidth:m,ref:n,required:F,color:c,variant:ie,ownerState:W},v,{children:[w!=null&&w!==""&&B.jsx(xu,_({htmlFor:K,id:Q},y,{children:w})),$?B.jsx(ls,_({"aria-describedby":te,id:K,labelId:Q,value:z,input:ee},U,{children:a})):ee,g&&B.jsx(bu,_({id:te},h,{children:g}))]}))});process.env.NODE_ENV!=="production"&&(Yu.propTypes={autoComplete:s.string,autoFocus:s.bool,children:s.node,classes:s.object,className:s.string,color:s.oneOfType([s.oneOf(["primary","secondary","error","info","success","warning"]),s.string]),defaultValue:s.any,disabled:s.bool,error:s.bool,FormHelperTextProps:s.object,fullWidth:s.bool,helperText:s.node,id:s.string,InputLabelProps:s.object,inputProps:s.object,InputProps:s.object,inputRef:nn,label:s.node,margin:s.oneOf(["dense","none","normal"]),maxRows:s.oneOfType([s.number,s.string]),minRows:s.oneOfType([s.number,s.string]),multiline:s.bool,name:s.string,onBlur:s.func,onChange:s.func,onFocus:s.func,placeholder:s.string,required:s.bool,rows:s.oneOfType([s.number,s.string]),select:s.bool,SelectProps:s.object,size:s.oneOfType([s.oneOf(["medium","small"]),s.string]),sx:s.oneOfType([s.arrayOf(s.oneOfType([s.func,s.object,s.bool])),s.func,s.object]),type:s.string,value:s.any,variant:s.oneOf(["filled","outlined","standard"])});var Or={},us={};const bv=Qt(Qm);var Ku;function Gu(){return Ku||(Ku=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=bv}(us)),us}var Xu;function vv(){if(Xu)return Or;Xu=1;var e=fo();Object.defineProperty(Or,"__esModule",{value:!0}),Or.default=void 0;var t=e(Gu()),n=ei();return Or.default=(0,t.default)((0,n.jsx)("path",{d:"M20 2H4c-1.1 0-1.99.9-1.99 2L2 22l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2M6 9h12v2H6zm8 5H6v-2h8zm4-6H6V6h12z"}),"Chat"),Or}var xv=vv();const Ev=on(xv);function Ju(e,t){return function(){return e.apply(t,arguments)}}const{toString:Sv}=Object.prototype,{getPrototypeOf:cs}=Object,$o=(e=>t=>{const n=Sv.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Vt=e=>(e=e.toLowerCase(),t=>$o(t)===e),Mo=e=>t=>typeof t===e,{isArray:Hn}=Array,Rr=Mo("undefined");function Tv(e){return e!==null&&!Rr(e)&&e.constructor!==null&&!Rr(e.constructor)&&Pt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Qu=Vt("ArrayBuffer");function Cv(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Qu(e.buffer),t}const wv=Mo("string"),Pt=Mo("function"),Zu=Mo("number"),Do=e=>e!==null&&typeof e=="object",Ov=e=>e===!0||e===!1,Lo=e=>{if($o(e)!=="object")return!1;const t=cs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Rv=Vt("Date"),kv=Vt("File"),Pv=Vt("Blob"),_v=Vt("FileList"),Iv=e=>Do(e)&&Pt(e.pipe),Av=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Pt(e.append)&&((t=$o(e))==="formdata"||t==="object"&&Pt(e.toString)&&e.toString()==="[object FormData]"))},Nv=Vt("URLSearchParams"),[Fv,$v,Mv,Dv]=["ReadableStream","Request","Response","Headers"].map(Vt),Lv=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function kr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Hn(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let l;for(r=0;r<a;r++)l=i[r],t.call(null,e[l],l,e)}}function ec(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Cn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,tc=e=>!Rr(e)&&e!==Cn;function fs(){const{caseless:e}=tc(this)&&this||{},t={},n=(r,o)=>{const i=e&&ec(t,o)||o;Lo(t[i])&&Lo(r)?t[i]=fs(t[i],r):Lo(r)?t[i]=fs({},r):Hn(r)?t[i]=r.slice():t[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&kr(arguments[r],n);return t}const jv=(e,t,n,{allOwnKeys:r}={})=>(kr(t,(o,i)=>{n&&Pt(o)?e[i]=Ju(o,n):e[i]=o},{allOwnKeys:r}),e),Bv=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zv=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Uv=(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],(!r||r(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&cs(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Vv=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},qv=e=>{if(!e)return null;if(Hn(e))return e;let t=e.length;if(!Zu(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Wv=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&cs(Uint8Array)),Hv=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Yv=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Kv=Vt("HTMLFormElement"),Gv=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),nc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Xv=Vt("RegExp"),rc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};kr(n,(o,i)=>{let a;(a=t(o,i,e))!==!1&&(r[i]=a||o)}),Object.defineProperties(e,r)},Jv=e=>{rc(e,(t,n)=>{if(Pt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Pt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Qv=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return Hn(e)?r(e):r(String(e).split(t)),n},Zv=()=>{},e0=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ds="abcdefghijklmnopqrstuvwxyz",oc="0123456789",ic={DIGIT:oc,ALPHA:ds,ALPHA_DIGIT:ds+ds.toUpperCase()+oc},t0=(e=16,t=ic.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function n0(e){return!!(e&&Pt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const r0=e=>{const t=new Array(10),n=(r,o)=>{if(Do(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const i=Hn(r)?[]:{};return kr(r,(a,l)=>{const c=n(a,o+1);!Rr(c)&&(i[l]=c)}),t[o]=void 0,i}}return r};return n(e,0)},o0=Vt("AsyncFunction"),i0=e=>e&&(Do(e)||Pt(e))&&Pt(e.then)&&Pt(e.catch),sc=((e,t)=>e?setImmediate:t?((n,r)=>(Cn.addEventListener("message",({source:o,data:i})=>{o===Cn&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Cn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Pt(Cn.postMessage)),s0=typeof queueMicrotask<"u"?queueMicrotask.bind(Cn):typeof process<"u"&&process.nextTick||sc,j={isArray:Hn,isArrayBuffer:Qu,isBuffer:Tv,isFormData:Av,isArrayBufferView:Cv,isString:wv,isNumber:Zu,isBoolean:Ov,isObject:Do,isPlainObject:Lo,isReadableStream:Fv,isRequest:$v,isResponse:Mv,isHeaders:Dv,isUndefined:Rr,isDate:Rv,isFile:kv,isBlob:Pv,isRegExp:Xv,isFunction:Pt,isStream:Iv,isURLSearchParams:Nv,isTypedArray:Wv,isFileList:_v,forEach:kr,merge:fs,extend:jv,trim:Lv,stripBOM:Bv,inherits:zv,toFlatObject:Uv,kindOf:$o,kindOfTest:Vt,endsWith:Vv,toArray:qv,forEachEntry:Hv,matchAll:Yv,isHTMLForm:Kv,hasOwnProperty:nc,hasOwnProp:nc,reduceDescriptors:rc,freezeMethods:Jv,toObjectSet:Qv,toCamelCase:Gv,noop:Zv,toFiniteNumber:e0,findKey:ec,global:Cn,isContextDefined:tc,ALPHABET:ic,generateString:t0,isSpecCompliantForm:n0,toJSONObject:r0,isAsyncFn:o0,isThenable:i0,setImmediate:sc,asap:s0};function ye(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}j.inherits(ye,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.status}}});const ac=ye.prototype,lc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{lc[e]={value:e}}),Object.defineProperties(ye,lc),Object.defineProperty(ac,"isAxiosError",{value:!0}),ye.from=(e,t,n,r,o,i)=>{const a=Object.create(ac);return j.toFlatObject(e,a,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),ye.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const a0=null;function ps(e){return j.isPlainObject(e)||j.isArray(e)}function uc(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function cc(e,t,n){return e?e.concat(t).map(function(o,i){return o=uc(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function l0(e){return j.isArray(e)&&!e.some(ps)}const u0=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function jo(e,t,n){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=j.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(d,y){return!j.isUndefined(y[d])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,a=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(o))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(j.isDate(g))return g.toISOString();if(!c&&j.isBlob(g))throw new ye("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(g)||j.isTypedArray(g)?c&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function f(g,d,y){let x=g;if(g&&!y&&typeof g=="object"){if(j.endsWith(d,"{}"))d=r?d:d.slice(0,-2),g=JSON.stringify(g);else if(j.isArray(g)&&l0(g)||(j.isFileList(g)||j.endsWith(d,"[]"))&&(x=j.toArray(g)))return d=uc(d),x.forEach(function(S,w){!(j.isUndefined(S)||S===null)&&t.append(a===!0?cc([d],w,i):a===null?d:d+"[]",u(S))}),!1}return ps(g)?!0:(t.append(cc(y,d,i),u(g)),!1)}const p=[],h=Object.assign(u0,{defaultVisitor:f,convertValue:u,isVisitable:ps});function m(g,d){if(!j.isUndefined(g)){if(p.indexOf(g)!==-1)throw Error("Circular reference detected in "+d.join("."));p.push(g),j.forEach(g,function(x,k){(!(j.isUndefined(x)||x===null)&&o.call(t,x,j.isString(k)?k.trim():k,d,h))===!0&&m(x,d?d.concat(k):[k])}),p.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return m(e),t}function fc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function hs(e,t){this._pairs=[],e&&jo(e,this,t)}const dc=hs.prototype;dc.append=function(t,n){this._pairs.push([t,n])},dc.toString=function(t){const n=t?function(r){return t.call(this,r,fc)}:fc;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function c0(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function pc(e,t,n){if(!t)return e;const r=n&&n.encode||c0;j.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=j.isURLSearchParams(t)?t.toString():new hs(t,n).toString(r),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class hc{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(r){r!==null&&t(r)})}}const mc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},f0={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:hs,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},ms=typeof window<"u"&&typeof document<"u",gs=typeof navigator=="object"&&navigator||void 0,d0=ms&&(!gs||["ReactNative","NativeScript","NS"].indexOf(gs.product)<0),p0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",h0=ms&&window.location.href||"http://localhost",mt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ms,hasStandardBrowserEnv:d0,hasStandardBrowserWebWorkerEnv:p0,navigator:gs,origin:h0},Symbol.toStringTag,{value:"Module"})),...f0};function m0(e,t){return jo(e,new mt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return mt.isNode&&j.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function g0(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function y0(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}function gc(e){function t(n,r,o,i){let a=n[i++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),c=i>=n.length;return a=!a&&j.isArray(o)?o.length:a,c?(j.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!l):((!o[a]||!j.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],i)&&j.isArray(o[a])&&(o[a]=y0(o[a])),!l)}if(j.isFormData(e)&&j.isFunction(e.entries)){const n={};return j.forEachEntry(e,(r,o)=>{t(g0(r),o,n,0)}),n}return null}function b0(e,t,n){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const Pr={transitional:mc,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=j.isObject(t);if(i&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return o?JSON.stringify(gc(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t)||j.isReadableStream(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return m0(t,this.formSerializer).toString();if((l=j.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return jo(l?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),b0(t)):t}],transformResponse:[function(t){const n=this.transitional||Pr.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(j.isResponse(t)||j.isReadableStream(t))return t;if(t&&j.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?ye.from(l,ye.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mt.classes.FormData,Blob:mt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{Pr.headers[e]={}});const v0=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),x0=e=>{const t={};let n,r,o;return e&&e.split(`
283
+ `).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&v0[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},yc=Symbol("internals");function _r(e){return e&&String(e).trim().toLowerCase()}function Bo(e){return e===!1||e==null?e:j.isArray(e)?e.map(Bo):String(e)}function E0(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const S0=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ys(e,t,n,r,o){if(j.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!j.isString(t)){if(j.isString(r))return t.indexOf(r)!==-1;if(j.isRegExp(r))return r.test(t)}}function T0(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function C0(e,t){const n=j.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,a){return this[r].call(this,t,o,i,a)},configurable:!0})})}class Et{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(l,c,u){const f=_r(c);if(!f)throw new Error("header name must be a non-empty string");const p=j.findKey(o,f);(!p||o[p]===void 0||u===!0||u===void 0&&o[p]!==!1)&&(o[p||c]=Bo(l))}const a=(l,c)=>j.forEach(l,(u,f)=>i(u,f,c));if(j.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(j.isString(t)&&(t=t.trim())&&!S0(t))a(x0(t),n);else if(j.isHeaders(t))for(const[l,c]of t.entries())i(c,l,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=_r(t),t){const r=j.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return E0(o);if(j.isFunction(n))return n.call(this,o,r);if(j.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=_r(t),t){const r=j.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ys(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(a){if(a=_r(a),a){const l=j.findKey(r,a);l&&(!n||ys(r,r[l],l,n))&&(delete r[l],o=!0)}}return j.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||ys(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return j.forEach(this,(o,i)=>{const a=j.findKey(r,i);if(a){n[a]=Bo(o),delete n[i];return}const l=t?T0(i):String(i).trim();l!==i&&delete n[i],n[l]=Bo(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return j.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&j.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
284
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[yc]=this[yc]={accessors:{}}).accessors,o=this.prototype;function i(a){const l=_r(a);r[l]||(C0(o,a),r[l]=!0)}return j.isArray(t)?t.forEach(i):i(t),this}}Et.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),j.reduceDescriptors(Et.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),j.freezeMethods(Et);function bs(e,t){const n=this||Pr,r=t||n,o=Et.from(r.headers);let i=r.data;return j.forEach(e,function(l){i=l.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function bc(e){return!!(e&&e.__CANCEL__)}function Yn(e,t,n){ye.call(this,e??"canceled",ye.ERR_CANCELED,t,n),this.name="CanceledError"}j.inherits(Yn,ye,{__CANCEL__:!0});function vc(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ye("Request failed with status code "+n.status,[ye.ERR_BAD_REQUEST,ye.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function w0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function O0(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,a;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),f=r[i];a||(a=u),n[o]=c,r[o]=u;let p=i,h=0;for(;p!==o;)h+=n[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-a<t)return;const m=f&&u-f;return m?Math.round(h*1e3/m):void 0}}function R0(e,t){let n=0,r=1e3/t,o,i;const a=(u,f=Date.now())=>{n=f,o=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const f=Date.now(),p=f-n;p>=r?a(u,f):(o=u,i||(i=setTimeout(()=>{i=null,a(o)},r-p)))},()=>o&&a(o)]}const zo=(e,t,n=3)=>{let r=0;const o=O0(50,250);return R0(i=>{const a=i.loaded,l=i.lengthComputable?i.total:void 0,c=a-r,u=o(c),f=a<=l;r=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&f?(l-a)/u:void 0,event:i,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},xc=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ec=e=>(...t)=>j.asap(()=>e(...t)),k0=mt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,mt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(mt.origin),mt.navigator&&/(msie|trident)/i.test(mt.navigator.userAgent)):()=>!0,P0=mt.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];j.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),j.isString(r)&&a.push("path="+r),j.isString(o)&&a.push("domain="+o),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function _0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function I0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Sc(e,t){return e&&!_0(t)?I0(e,t):t}const Tc=e=>e instanceof Et?{...e}:e;function wn(e,t){t=t||{};const n={};function r(u,f,p,h){return j.isPlainObject(u)&&j.isPlainObject(f)?j.merge.call({caseless:h},u,f):j.isPlainObject(f)?j.merge({},f):j.isArray(f)?f.slice():f}function o(u,f,p,h){if(j.isUndefined(f)){if(!j.isUndefined(u))return r(void 0,u,p,h)}else return r(u,f,p,h)}function i(u,f){if(!j.isUndefined(f))return r(void 0,f)}function a(u,f){if(j.isUndefined(f)){if(!j.isUndefined(u))return r(void 0,u)}else return r(void 0,f)}function l(u,f,p){if(p in t)return r(u,f);if(p in e)return r(void 0,u)}const c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(u,f,p)=>o(Tc(u),Tc(f),p,!0)};return j.forEach(Object.keys(Object.assign({},e,t)),function(f){const p=c[f]||o,h=p(e[f],t[f],f);j.isUndefined(h)&&p!==l||(n[f]=h)}),n}const Cc=e=>{const t=wn({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:l}=t;t.headers=a=Et.from(a),t.url=pc(Sc(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(j.isFormData(n)){if(mt.hasStandardBrowserEnv||mt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[u,...f]=c?c.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([u||"multipart/form-data",...f].join("; "))}}if(mt.hasStandardBrowserEnv&&(r&&j.isFunction(r)&&(r=r(t)),r||r!==!1&&k0(t.url))){const u=o&&i&&P0.read(i);u&&a.set(o,u)}return t},A0=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=Cc(e);let i=o.data;const a=Et.from(o.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=o,f,p,h,m,g;function d(){m&&m(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(f),o.signal&&o.signal.removeEventListener("abort",f)}let y=new XMLHttpRequest;y.open(o.method.toUpperCase(),o.url,!0),y.timeout=o.timeout;function x(){if(!y)return;const S=Et.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),C={data:!l||l==="text"||l==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:S,config:e,request:y};vc(function(b){n(b),d()},function(b){r(b),d()},C),y=null}"onloadend"in y?y.onloadend=x:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(x)},y.onabort=function(){y&&(r(new ye("Request aborted",ye.ECONNABORTED,e,y)),y=null)},y.onerror=function(){r(new ye("Network Error",ye.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let w=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const C=o.transitional||mc;o.timeoutErrorMessage&&(w=o.timeoutErrorMessage),r(new ye(w,C.clarifyTimeoutError?ye.ETIMEDOUT:ye.ECONNABORTED,e,y)),y=null},i===void 0&&a.setContentType(null),"setRequestHeader"in y&&j.forEach(a.toJSON(),function(w,C){y.setRequestHeader(C,w)}),j.isUndefined(o.withCredentials)||(y.withCredentials=!!o.withCredentials),l&&l!=="json"&&(y.responseType=o.responseType),u&&([h,g]=zo(u,!0),y.addEventListener("progress",h)),c&&y.upload&&([p,m]=zo(c),y.upload.addEventListener("progress",p),y.upload.addEventListener("loadend",m)),(o.cancelToken||o.signal)&&(f=S=>{y&&(r(!S||S.type?new Yn(null,e,y):S),y.abort(),y=null)},o.cancelToken&&o.cancelToken.subscribe(f),o.signal&&(o.signal.aborted?f():o.signal.addEventListener("abort",f)));const k=w0(o.url);if(k&&mt.protocols.indexOf(k)===-1){r(new ye("Unsupported protocol "+k+":",ye.ERR_BAD_REQUEST,e));return}y.send(i||null)})},N0=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(u){if(!o){o=!0,l();const f=u instanceof Error?u:this.reason;r.abort(f instanceof ye?f:new Yn(f instanceof Error?f.message:f))}};let a=t&&setTimeout(()=>{a=null,i(new ye(`timeout ${t} of ms exceeded`,ye.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>j.asap(l),c}},F0=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},$0=async function*(e,t){for await(const n of M0(e))yield*F0(n,t)},M0=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},wc=(e,t,n,r)=>{const o=$0(e,t);let i=0,a,l=c=>{a||(a=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:u,value:f}=await o.next();if(u){l(),c.close();return}let p=f.byteLength;if(n){let h=i+=p;n(h)}c.enqueue(new Uint8Array(f))}catch(u){throw l(u),u}},cancel(c){return l(c),o.return()}},{highWaterMark:2})},Uo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Oc=Uo&&typeof ReadableStream=="function",D0=Uo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Rc=(e,...t)=>{try{return!!e(...t)}catch{return!1}},L0=Oc&&Rc(()=>{let e=!1;const t=new Request(mt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),kc=64*1024,vs=Oc&&Rc(()=>j.isReadableStream(new Response("").body)),Vo={stream:vs&&(e=>e.body)};Uo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Vo[t]&&(Vo[t]=j.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ye(`Response type '${t}' is not supported`,ye.ERR_NOT_SUPPORT,r)})})})(new Response);const j0=async e=>{if(e==null)return 0;if(j.isBlob(e))return e.size;if(j.isSpecCompliantForm(e))return(await new Request(mt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(j.isArrayBufferView(e)||j.isArrayBuffer(e))return e.byteLength;if(j.isURLSearchParams(e)&&(e=e+""),j.isString(e))return(await D0(e)).byteLength},B0=async(e,t)=>{const n=j.toFiniteNumber(e.getContentLength());return n??j0(t)},xs={http:a0,xhr:A0,fetch:Uo&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:a,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:f,withCredentials:p="same-origin",fetchOptions:h}=Cc(e);u=u?(u+"").toLowerCase():"text";let m=N0([o,i&&i.toAbortSignal()],a),g;const d=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let y;try{if(c&&L0&&n!=="get"&&n!=="head"&&(y=await B0(f,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),T;if(j.isFormData(r)&&(T=C.headers.get("content-type"))&&f.setContentType(T),C.body){const[b,P]=xc(y,zo(Ec(c)));r=wc(C.body,kc,b,P)}}j.isString(p)||(p=p?"include":"omit");const x="credentials"in Request.prototype;g=new Request(t,{...h,signal:m,method:n.toUpperCase(),headers:f.normalize().toJSON(),body:r,duplex:"half",credentials:x?p:void 0});let k=await fetch(g);const S=vs&&(u==="stream"||u==="response");if(vs&&(l||S&&d)){const C={};["status","statusText","headers"].forEach(I=>{C[I]=k[I]});const T=j.toFiniteNumber(k.headers.get("content-length")),[b,P]=l&&xc(T,zo(Ec(l),!0))||[];k=new Response(wc(k.body,kc,b,()=>{P&&P(),d&&d()}),C)}u=u||"text";let w=await Vo[j.findKey(Vo,u)||"text"](k,e);return!S&&d&&d(),await new Promise((C,T)=>{vc(C,T,{data:w,headers:Et.from(k.headers),status:k.status,statusText:k.statusText,config:e,request:g})})}catch(x){throw d&&d(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new ye("Network Error",ye.ERR_NETWORK,e,g),{cause:x.cause||x}):ye.from(x,x&&x.code,e,g)}})};j.forEach(xs,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Pc=e=>`- ${e}`,z0=e=>j.isFunction(e)||e===null||e===!1,_c={getAdapter:e=>{e=j.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){n=e[i];let a;if(r=n,!z0(n)&&(r=xs[(a=String(n)).toLowerCase()],r===void 0))throw new ye(`Unknown adapter '${a}'`);if(r)break;o[a||"#"+i]=r}if(!r){const i=Object.entries(o).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since :
285
+ `+i.map(Pc).join(`
286
+ `):" "+Pc(i[0]):"as no adapter specified";throw new ye("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:xs};function Es(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yn(null,e)}function Ic(e){return Es(e),e.headers=Et.from(e.headers),e.data=bs.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_c.getAdapter(e.adapter||Pr.adapter)(e).then(function(r){return Es(e),r.data=bs.call(e,e.transformResponse,r),r.headers=Et.from(r.headers),r},function(r){return bc(r)||(Es(e),r&&r.response&&(r.response.data=bs.call(e,e.transformResponse,r.response),r.response.headers=Et.from(r.response.headers))),Promise.reject(r)})}const Ac="1.7.9",qo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{qo[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Nc={};qo.transitional=function(t,n,r){function o(i,a){return"[Axios v"+Ac+"] Transitional option '"+i+"'"+a+(r?". "+r:"")}return(i,a,l)=>{if(t===!1)throw new ye(o(a," has been removed"+(n?" in "+n:"")),ye.ERR_DEPRECATED);return n&&!Nc[a]&&(Nc[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,l):!0}},qo.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function U0(e,t,n){if(typeof e!="object")throw new ye("options must be an object",ye.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const l=e[i],c=l===void 0||a(l,i,e);if(c!==!0)throw new ye("option "+i+" must be "+c,ye.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ye("Unknown option "+i,ye.ERR_BAD_OPTION)}}const Wo={assertOptions:U0,validators:qo},Kt=Wo.validators;class On{constructor(t){this.defaults=t,this.interceptors={request:new hc,response:new hc}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=`
287
+ `+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=wn(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Wo.assertOptions(r,{silentJSONParsing:Kt.transitional(Kt.boolean),forcedJSONParsing:Kt.transitional(Kt.boolean),clarifyTimeoutError:Kt.transitional(Kt.boolean)},!1),o!=null&&(j.isFunction(o)?n.paramsSerializer={serialize:o}:Wo.assertOptions(o,{encode:Kt.function,serialize:Kt.function},!0)),Wo.assertOptions(n,{baseUrl:Kt.spelling("baseURL"),withXsrfToken:Kt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&j.merge(i.common,i[n.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],g=>{delete i[g]}),n.headers=Et.concat(a,i);const l=[];let c=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(c=c&&d.synchronous,l.unshift(d.fulfilled,d.rejected))});const u=[];this.interceptors.response.forEach(function(d){u.push(d.fulfilled,d.rejected)});let f,p=0,h;if(!c){const g=[Ic.bind(this),void 0];for(g.unshift.apply(g,l),g.push.apply(g,u),h=g.length,f=Promise.resolve(n);p<h;)f=f.then(g[p++],g[p++]);return f}h=l.length;let m=n;for(p=0;p<h;){const g=l[p++],d=l[p++];try{m=g(m)}catch(y){d.call(this,y);break}}try{f=Ic.call(this,m)}catch(g){return Promise.reject(g)}for(p=0,h=u.length;p<h;)f=f.then(u[p++],u[p++]);return f}getUri(t){t=wn(this.defaults,t);const n=Sc(t.baseURL,t.url);return pc(n,t.params,t.paramsSerializer)}}j.forEach(["delete","get","head","options"],function(t){On.prototype[t]=function(n,r){return this.request(wn(r||{},{method:t,url:n,data:(r||{}).data}))}}),j.forEach(["post","put","patch"],function(t){function n(r){return function(i,a,l){return this.request(wn(l||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}On.prototype[t]=n(),On.prototype[t+"Form"]=n(!0)});class Ss{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const a=new Promise(l=>{r.subscribe(l),i=l}).then(o);return a.cancel=function(){r.unsubscribe(i)},a},t(function(i,a,l){r.reason||(r.reason=new Yn(i,a,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ss(function(o){t=o}),cancel:t}}}function V0(e){return function(n){return e.apply(null,n)}}function q0(e){return j.isObject(e)&&e.isAxiosError===!0}const Ts={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ts).forEach(([e,t])=>{Ts[t]=e});function Fc(e){const t=new On(e),n=Ju(On.prototype.request,t);return j.extend(n,On.prototype,t,{allOwnKeys:!0}),j.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Fc(wn(e,o))},n}const Qe=Fc(Pr);Qe.Axios=On,Qe.CanceledError=Yn,Qe.CancelToken=Ss,Qe.isCancel=bc,Qe.VERSION=Ac,Qe.toFormData=jo,Qe.AxiosError=ye,Qe.Cancel=Qe.CanceledError,Qe.all=function(t){return Promise.all(t)},Qe.spread=V0,Qe.isAxiosError=q0,Qe.mergeConfig=wn,Qe.AxiosHeaders=Et,Qe.formToJSON=e=>gc(j.isHTMLForm(e)?new FormData(e):e),Qe.getAdapter=_c.getAdapter,Qe.HttpStatusCode=Ts,Qe.default=Qe;const $c=["http","https","mailto","tel"];function W0(e){const t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;const r=t.indexOf(":");if(r===-1)return t;let o=-1;for(;++o<$c.length;){const i=$c[o];if(r===i.length&&t.slice(0,i.length).toLowerCase()===i)return t}return o=t.indexOf("?"),o!==-1&&r>o||(o=t.indexOf("#"),o!==-1&&r>o)?t:"javascript:void(0)"}/*!
288
+ * Determine if an object is a Buffer
289
+ *
290
+ * @author Feross Aboukhadijeh <https://feross.org>
291
+ * @license MIT
292
+ */var Cs,Mc;function H0(){return Mc||(Mc=1,Cs=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}),Cs}var Y0=H0();const Dc=on(Y0);function Ir(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Lc(e.position):"start"in e||"end"in e?Lc(e):"line"in e||"column"in e?ws(e):""}function ws(e){return jc(e&&e.line)+":"+jc(e&&e.column)}function Lc(e){return ws(e&&e.start)+"-"+ws(e&&e.end)}function jc(e){return e&&typeof e=="number"?e:1}class Mt extends Error{constructor(t,n,r){const o=[null,null];let i={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){const a=r.indexOf(":");a===-1?o[1]=r:(o[0]=r.slice(0,a),o[1]=r.slice(a+1))}n&&("type"in n||"position"in n?n.position&&(i=n.position):"start"in n||"end"in n?i=n:("line"in n||"column"in n)&&(i.start=n)),this.name=Ir(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=i.start.line,this.column=i.start.column,this.position=i,this.source=o[0],this.ruleId=o[1],this.file,this.actual,this.expected,this.url,this.note}}Mt.prototype.file="",Mt.prototype.name="",Mt.prototype.reason="",Mt.prototype.message="",Mt.prototype.stack="",Mt.prototype.fatal=null,Mt.prototype.column=null,Mt.prototype.line=null,Mt.prototype.source=null,Mt.prototype.ruleId=null,Mt.prototype.position=null;const Gt={basename:K0,dirname:G0,extname:X0,join:J0,sep:"/"};function K0(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ar(e);let n=0,r=-1,o=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;o--;)if(e.charCodeAt(o)===47){if(i){n=o+1;break}}else r<0&&(i=!0,r=o+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,l=t.length-1;for(;o--;)if(e.charCodeAt(o)===47){if(i){n=o+1;break}}else a<0&&(i=!0,a=o+1),l>-1&&(e.charCodeAt(o)===t.charCodeAt(l--)?l<0&&(r=o):(l=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function G0(e){if(Ar(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function X0(e){Ar(e);let t=e.length,n=-1,r=0,o=-1,i=0,a;for(;t--;){const l=e.charCodeAt(t);if(l===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),l===46?o<0?o=t:i!==1&&(i=1):o>-1&&(i=-1)}return o<0||n<0||i===0||i===1&&o===n-1&&o===r+1?"":e.slice(o,n)}function J0(...e){let t=-1,n;for(;++t<e.length;)Ar(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":Q0(n)}function Q0(e){Ar(e);const t=e.charCodeAt(0)===47;let n=Z0(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function Z0(e,t){let n="",r=0,o=-1,i=0,a=-1,l,c;for(;++a<=e.length;){if(a<e.length)l=e.charCodeAt(a);else{if(l===47)break;l=47}if(l===47){if(!(o===a-1||i===1))if(o!==a-1&&i===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),o=a,i=0;continue}}else if(n.length>0){n="",r=0,o=a,i=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),r=a-o-1;o=a,i=0}else l===46&&i>-1?i++:i=-1}return n}function Ar(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const ex={cwd:tx};function tx(){return"/"}function Os(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function nx(e){if(typeof e=="string")e=new URL(e);else if(!Os(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return rx(e)}function rx(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.charCodeAt(n)===37&&t.charCodeAt(n+1)===50){const r=t.charCodeAt(n+2);if(r===70||r===102){const o=new TypeError("File URL path must not include encoded / characters");throw o.code="ERR_INVALID_FILE_URL_PATH",o}}return decodeURIComponent(t)}const Rs=["history","path","basename","stem","extname","dirname"];class Bc{constructor(t){let n;t?typeof t=="string"||ox(t)?n={value:t}:Os(t)?n={path:t}:n=t:n={},this.data={},this.messages=[],this.history=[],this.cwd=ex.cwd(),this.value,this.stored,this.result,this.map;let r=-1;for(;++r<Rs.length;){const i=Rs[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let o;for(o in n)Rs.includes(o)||(this[o]=n[o])}get path(){return this.history[this.history.length-1]}set path(t){Os(t)&&(t=nx(t)),Ps(t,"path"),this.path!==t&&this.history.push(t)}get dirname(){return typeof this.path=="string"?Gt.dirname(this.path):void 0}set dirname(t){zc(this.basename,"dirname"),this.path=Gt.join(t||"",this.basename)}get basename(){return typeof this.path=="string"?Gt.basename(this.path):void 0}set basename(t){Ps(t,"basename"),ks(t,"basename"),this.path=Gt.join(this.dirname||"",t)}get extname(){return typeof this.path=="string"?Gt.extname(this.path):void 0}set extname(t){if(ks(t,"extname"),zc(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Gt.join(this.dirname,this.stem+(t||""))}get stem(){return typeof this.path=="string"?Gt.basename(this.path,this.extname):void 0}set stem(t){Ps(t,"stem"),ks(t,"stem"),this.path=Gt.join(this.dirname||"",t+(this.extname||""))}toString(t){return(this.value||"").toString(t||void 0)}message(t,n,r){const o=new Mt(t,n,r);return this.path&&(o.name=this.path+":"+o.name,o.file=this.path),o.fatal=!1,this.messages.push(o),o}info(t,n,r){const o=this.message(t,n,r);return o.fatal=null,o}fail(t,n,r){const o=this.message(t,n,r);throw o.fatal=!0,o}}function ks(e,t){if(e&&e.includes(Gt.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Gt.sep+"`")}function Ps(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function zc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function ox(e){return Dc(e)}function Uc(e){if(e)throw e}var _s,Vc;function ix(){if(Vc)return _s;Vc=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(u){return typeof Array.isArray=="function"?Array.isArray(u):t.call(u)==="[object Array]"},i=function(u){if(!u||t.call(u)!=="[object Object]")return!1;var f=e.call(u,"constructor"),p=u.constructor&&u.constructor.prototype&&e.call(u.constructor.prototype,"isPrototypeOf");if(u.constructor&&!f&&!p)return!1;var h;for(h in u);return typeof h>"u"||e.call(u,h)},a=function(u,f){n&&f.name==="__proto__"?n(u,f.name,{enumerable:!0,configurable:!0,value:f.newValue,writable:!0}):u[f.name]=f.newValue},l=function(u,f){if(f==="__proto__")if(e.call(u,f)){if(r)return r(u,f).value}else return;return u[f]};return _s=function c(){var u,f,p,h,m,g,d=arguments[0],y=1,x=arguments.length,k=!1;for(typeof d=="boolean"&&(k=d,d=arguments[1]||{},y=2),(d==null||typeof d!="object"&&typeof d!="function")&&(d={});y<x;++y)if(u=arguments[y],u!=null)for(f in u)p=l(d,f),h=l(u,f),d!==h&&(k&&h&&(i(h)||(m=o(h)))?(m?(m=!1,g=p&&o(p)?p:[]):g=p&&i(p)?p:{},a(d,{name:f,newValue:c(k,g,h)})):typeof h<"u"&&a(d,{name:f,newValue:h}));return d},_s}var sx=ix();const qc=on(sx);function Is(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function ax(){const e=[],t={run:n,use:r};return t;function n(...o){let i=-1;const a=o.pop();if(typeof a!="function")throw new TypeError("Expected function as last argument, not "+a);l(null,...o);function l(c,...u){const f=e[++i];let p=-1;if(c){a(c);return}for(;++p<o.length;)(u[p]===null||u[p]===void 0)&&(u[p]=o[p]);o=u,f?lx(f,l)(...u):a(null,...u)}}function r(o){if(typeof o!="function")throw new TypeError("Expected `middelware` to be a function, not "+o);return e.push(o),t}}function lx(e,t){let n;return r;function r(...a){const l=e.length>a.length;let c;l&&a.push(o);try{c=e.apply(this,a)}catch(u){const f=u;if(l&&n)throw f;return o(f)}l||(c&&c.then&&typeof c.then=="function"?c.then(i,o):c instanceof Error?o(c):i(c))}function o(a,...l){n||(n=!0,t(a,...l))}function i(a){o(null,a)}}const ux=Hc().freeze(),Wc={}.hasOwnProperty;function Hc(){const e=ax(),t=[];let n={},r,o=-1;return i.data=a,i.Parser=void 0,i.Compiler=void 0,i.freeze=l,i.attachers=t,i.use=c,i.parse=u,i.stringify=f,i.run=p,i.runSync=h,i.process=m,i.processSync=g,i;function i(){const d=Hc();let y=-1;for(;++y<t.length;)d.use(...t[y]);return d.data(qc(!0,{},n)),d}function a(d,y){return typeof d=="string"?arguments.length===2?(Fs("data",r),n[d]=y,i):Wc.call(n,d)&&n[d]||null:d?(Fs("data",r),n=d,i):n}function l(){if(r)return i;for(;++o<t.length;){const[d,...y]=t[o];if(y[0]===!1)continue;y[0]===!0&&(y[0]=void 0);const x=d.call(i,...y);typeof x=="function"&&e.use(x)}return r=!0,o=Number.POSITIVE_INFINITY,i}function c(d,...y){let x;if(Fs("use",r),d!=null)if(typeof d=="function")C(d,...y);else if(typeof d=="object")Array.isArray(d)?w(d):S(d);else throw new TypeError("Expected usable value, not `"+d+"`");return x&&(n.settings=Object.assign(n.settings||{},x)),i;function k(T){if(typeof T=="function")C(T);else if(typeof T=="object")if(Array.isArray(T)){const[b,...P]=T;C(b,...P)}else S(T);else throw new TypeError("Expected usable value, not `"+T+"`")}function S(T){w(T.plugins),T.settings&&(x=Object.assign(x||{},T.settings))}function w(T){let b=-1;if(T!=null)if(Array.isArray(T))for(;++b<T.length;){const P=T[b];k(P)}else throw new TypeError("Expected a list of plugins, not `"+T+"`")}function C(T,b){let P=-1,I;for(;++P<t.length;)if(t[P][0]===T){I=t[P];break}I?(Is(I[1])&&Is(b)&&(b=qc(!0,I[1],b)),I[1]=b):t.push([...arguments])}}function u(d){i.freeze();const y=Nr(d),x=i.Parser;return As("parse",x),Yc(x,"parse")?new x(String(y),y).parse():x(String(y),y)}function f(d,y){i.freeze();const x=Nr(y),k=i.Compiler;return Ns("stringify",k),Kc(d),Yc(k,"compile")?new k(d,x).compile():k(d,x)}function p(d,y,x){if(Kc(d),i.freeze(),!x&&typeof y=="function"&&(x=y,y=void 0),!x)return new Promise(k);k(null,x);function k(S,w){e.run(d,Nr(y),C);function C(T,b,P){b=b||d,T?w(T):S?S(b):x(null,b,P)}}}function h(d,y){let x,k;return i.run(d,y,S),Gc("runSync","run",k),x;function S(w,C){Uc(w),x=C,k=!0}}function m(d,y){if(i.freeze(),As("process",i.Parser),Ns("process",i.Compiler),!y)return new Promise(x);x(null,y);function x(k,S){const w=Nr(d);i.run(i.parse(w),w,(T,b,P)=>{if(T||!b||!P)C(T);else{const I=i.stringify(b,P);I==null||(dx(I)?P.value=I:P.result=I),C(T,P)}});function C(T,b){T||!b?S(T):k?k(b):y(null,b)}}}function g(d){let y;i.freeze(),As("processSync",i.Parser),Ns("processSync",i.Compiler);const x=Nr(d);return i.process(x,k),Gc("processSync","process",y),x;function k(S){y=!0,Uc(S)}}}function Yc(e,t){return typeof e=="function"&&e.prototype&&(cx(e.prototype)||t in e.prototype)}function cx(e){let t;for(t in e)if(Wc.call(e,t))return!0;return!1}function As(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Ns(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function Fs(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Kc(e){if(!Is(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Gc(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Nr(e){return fx(e)?e:new Bc(e)}function fx(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function dx(e){return typeof e=="string"||Dc(e)}const px={};function hx(e,t){const n=px,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,o=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return Xc(e,r,o)}function Xc(e,t,n){if(mx(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Jc(e.children,t,n)}return Array.isArray(e)?Jc(e,t,n):""}function Jc(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=Xc(e[o],t,n);return r.join("")}function mx(e){return!!(e&&typeof e=="object")}function Xt(e,t,n,r){const o=e.length;let i=0,a;if(t<0?t=-t>o?0:o+t:t=t>o?o:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function Dt(e,t){return e.length>0?(Xt(e,e.length,0,t),e):t}const Qc={}.hasOwnProperty;function gx(e){const t={};let n=-1;for(;++n<e.length;)yx(t,e[n]);return t}function yx(e,t){let n;for(n in t){const o=(Qc.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let a;if(i)for(a in i){Qc.call(o,a)||(o[a]=[]);const l=i[a];bx(o[a],Array.isArray(l)?l:l?[l]:[])}}}function bx(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Xt(e,0,0,r)}const vx=/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Jt=fn(/[A-Za-z]/),_t=fn(/[\dA-Za-z]/),xx=fn(/[#-'*+\--9=?A-Z^-~]/);function $s(e){return e!==null&&(e<32||e===127)}const Ms=fn(/\d/),Ex=fn(/[\dA-Fa-f]/),Sx=fn(/[!-/:-@[-`{-~]/);function he(e){return e!==null&&e<-2}function St(e){return e!==null&&(e<0||e===32)}function ke(e){return e===-2||e===-1||e===32}const Tx=fn(vx),Cx=fn(/\s/);function fn(e){return t;function t(n){return n!==null&&e.test(String.fromCharCode(n))}}function qe(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return a;function a(c){return ke(c)?(e.enter(n),l(c)):t(c)}function l(c){return ke(c)&&i++<o?(e.consume(c),l):(e.exit(n),t(c))}}const wx={tokenize:Ox};function Ox(e){const t=e.attempt(this.parser.constructs.contentInitial,r,o);let n;return t;function r(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),qe(e,t,"linePrefix")}function o(l){return e.enter("paragraph"),i(l)}function i(l){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,a(l)}function a(l){if(l===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(l);return}return he(l)?(e.consume(l),e.exit("chunkText"),i):(e.consume(l),a)}}const Rx={tokenize:kx},Zc={tokenize:Px};function kx(e){const t=this,n=[];let r=0,o,i,a;return l;function l(S){if(r<n.length){const w=n[r];return t.containerState=w[1],e.attempt(w[0].continuation,c,u)(S)}return u(S)}function c(S){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,o&&k();const w=t.events.length;let C=w,T;for(;C--;)if(t.events[C][0]==="exit"&&t.events[C][1].type==="chunkFlow"){T=t.events[C][1].end;break}x(r);let b=w;for(;b<t.events.length;)t.events[b][1].end=Object.assign({},T),b++;return Xt(t.events,C+1,0,t.events.slice(w)),t.events.length=b,u(S)}return l(S)}function u(S){if(r===n.length){if(!o)return h(S);if(o.currentConstruct&&o.currentConstruct.concrete)return g(S);t.interrupt=!!(o.currentConstruct&&!o._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Zc,f,p)(S)}function f(S){return o&&k(),x(r),h(S)}function p(S){return t.parser.lazy[t.now().line]=r!==n.length,a=t.now().offset,g(S)}function h(S){return t.containerState={},e.attempt(Zc,m,g)(S)}function m(S){return r++,n.push([t.currentConstruct,t.containerState]),h(S)}function g(S){if(S===null){o&&k(),x(0),e.consume(S);return}return o=o||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:i,_tokenizer:o}),d(S)}function d(S){if(S===null){y(e.exit("chunkFlow"),!0),x(0),e.consume(S);return}return he(S)?(e.consume(S),y(e.exit("chunkFlow")),r=0,t.interrupt=void 0,l):(e.consume(S),d)}function y(S,w){const C=t.sliceStream(S);if(w&&C.push(null),S.previous=i,i&&(i.next=S),i=S,o.defineSkip(S.start),o.write(C),t.parser.lazy[S.start.line]){let T=o.events.length;for(;T--;)if(o.events[T][1].start.offset<a&&(!o.events[T][1].end||o.events[T][1].end.offset>a))return;const b=t.events.length;let P=b,I,A;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){if(I){A=t.events[P][1].end;break}I=!0}for(x(r),T=b;T<t.events.length;)t.events[T][1].end=Object.assign({},A),T++;Xt(t.events,P+1,0,t.events.slice(b)),t.events.length=T}}function x(S){let w=n.length;for(;w-- >S;){const C=n[w];t.containerState=C[1],C[0].exit.call(t,e)}n.length=S}function k(){o.write([null]),i=void 0,o=void 0,t.containerState._closeFlow=void 0}}function Px(e,t,n){return qe(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ef(e){if(e===null||St(e)||Cx(e))return 1;if(Tx(e))return 2}function Ds(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Ls={name:"attention",tokenize:Ix,resolveAll:_x};function _x(e,t){let n=-1,r,o,i,a,l,c,u,f;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p=Object.assign({},e[r][1].end),h=Object.assign({},e[n][1].start);tf(p,-c),tf(h,c),a={type:c>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[r][1].end)},l={type:c>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:h},i={type:c>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o={type:c>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},l.end),u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Dt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Dt(u,[["enter",o,t],["enter",a,t],["exit",a,t],["enter",i,t]]),u=Dt(u,Ds(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Dt(u,[["exit",i,t],["enter",l,t],["exit",l,t],["exit",o,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,u=Dt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Xt(e,r-1,n-r+3,u),n=r+u.length-f-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function Ix(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=ef(r);let i;return a;function a(c){return i=c,e.enter("attentionSequence"),l(c)}function l(c){if(c===i)return e.consume(c),l;const u=e.exit("attentionSequence"),f=ef(c),p=!f||f===2&&o||n.includes(c),h=!o||o===2&&f||n.includes(r);return u._open=!!(i===42?p:p&&(o||!h)),u._close=!!(i===42?h:h&&(f||!p)),t(c)}}function tf(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Ax={name:"autolink",tokenize:Nx};function Nx(e,t,n){let r=0;return o;function o(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(m){return Jt(m)?(e.consume(m),a):u(m)}function a(m){return m===43||m===45||m===46||_t(m)?(r=1,l(m)):u(m)}function l(m){return m===58?(e.consume(m),r=0,c):(m===43||m===45||m===46||_t(m))&&r++<32?(e.consume(m),l):(r=0,u(m))}function c(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||$s(m)?n(m):(e.consume(m),c)}function u(m){return m===64?(e.consume(m),f):xx(m)?(e.consume(m),u):n(m)}function f(m){return _t(m)?p(m):n(m)}function p(m){return m===46?(e.consume(m),r=0,f):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):h(m)}function h(m){if((m===45||_t(m))&&r++<63){const g=m===45?h:p;return e.consume(m),g}return n(m)}}const Ho={tokenize:Fx,partial:!0};function Fx(e,t,n){return r;function r(i){return ke(i)?qe(e,o,"linePrefix")(i):o(i)}function o(i){return i===null||he(i)?t(i):n(i)}}const nf={name:"blockQuote",tokenize:$x,continuation:{tokenize:Mx},exit:Dx};function $x(e,t,n){const r=this;return o;function o(a){if(a===62){const l=r.containerState;return l.open||(e.enter("blockQuote",{_container:!0}),l.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(a),e.exit("blockQuoteMarker"),i}return n(a)}function i(a){return ke(a)?(e.enter("blockQuotePrefixWhitespace"),e.consume(a),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(a))}}function Mx(e,t,n){const r=this;return o;function o(a){return ke(a)?qe(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a):i(a)}function i(a){return e.attempt(nf,t,n)(a)}}function Dx(e){e.exit("blockQuote")}const rf={name:"characterEscape",tokenize:Lx};function Lx(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),o}function o(i){return Sx(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const of=document.createElement("i");function js(e){const t="&"+e+";";of.innerHTML=t;const n=of.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}const sf={name:"characterReference",tokenize:jx};function jx(e,t,n){const r=this;let o=0,i,a;return l;function l(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),c}function c(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),i=31,a=_t,f(p))}function u(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,a=Ex,f):(e.enter("characterReferenceValue"),i=7,a=Ms,f(p))}function f(p){if(p===59&&o){const h=e.exit("characterReferenceValue");return a===_t&&!js(r.sliceSerialize(h))?n(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return a(p)&&o++<i?(e.consume(p),f):n(p)}}const af={tokenize:zx,partial:!0},lf={name:"codeFenced",tokenize:Bx,concrete:!0};function Bx(e,t,n){const r=this,o={tokenize:C,partial:!0};let i=0,a=0,l;return c;function c(T){return u(T)}function u(T){const b=r.events[r.events.length-1];return i=b&&b[1].type==="linePrefix"?b[2].sliceSerialize(b[1],!0).length:0,l=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),f(T)}function f(T){return T===l?(a++,e.consume(T),f):a<3?n(T):(e.exit("codeFencedFenceSequence"),ke(T)?qe(e,p,"whitespace")(T):p(T))}function p(T){return T===null||he(T)?(e.exit("codeFencedFence"),r.interrupt?t(T):e.check(af,d,w)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===null||he(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(T)):ke(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),qe(e,m,"whitespace")(T)):T===96&&T===l?n(T):(e.consume(T),h)}function m(T){return T===null||he(T)?p(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(T))}function g(T){return T===null||he(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(T)):T===96&&T===l?n(T):(e.consume(T),g)}function d(T){return e.attempt(o,w,y)(T)}function y(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),x}function x(T){return i>0&&ke(T)?qe(e,k,"linePrefix",i+1)(T):k(T)}function k(T){return T===null||he(T)?e.check(af,d,w)(T):(e.enter("codeFlowValue"),S(T))}function S(T){return T===null||he(T)?(e.exit("codeFlowValue"),k(T)):(e.consume(T),S)}function w(T){return e.exit("codeFenced"),t(T)}function C(T,b,P){let I=0;return A;function A($){return T.enter("lineEnding"),T.consume($),T.exit("lineEnding"),M}function M($){return T.enter("codeFencedFence"),ke($)?qe(T,D,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):D($)}function D($){return $===l?(T.enter("codeFencedFenceSequence"),F($)):P($)}function F($){return $===l?(I++,T.consume($),F):I>=a?(T.exit("codeFencedFenceSequence"),ke($)?qe(T,N,"whitespace")($):N($)):P($)}function N($){return $===null||he($)?(T.exit("codeFencedFence"),b($)):P($)}}}function zx(e,t,n){const r=this;return o;function o(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const Bs={name:"codeIndented",tokenize:Vx},Ux={tokenize:qx,partial:!0};function Vx(e,t,n){const r=this;return o;function o(u){return e.enter("codeIndented"),qe(e,i,"linePrefix",5)(u)}function i(u){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(u):n(u)}function a(u){return u===null?c(u):he(u)?e.attempt(Ux,a,c)(u):(e.enter("codeFlowValue"),l(u))}function l(u){return u===null||he(u)?(e.exit("codeFlowValue"),a(u)):(e.consume(u),l)}function c(u){return e.exit("codeIndented"),t(u)}}function qx(e,t,n){const r=this;return o;function o(a){return r.parser.lazy[r.now().line]?n(a):he(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),o):qe(e,i,"linePrefix",5)(a)}function i(a){const l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):he(a)?o(a):n(a)}}const Wx={name:"codeText",tokenize:Kx,resolve:Hx,previous:Yx};function Hx(e){let t=e.length-4,n=3,r,o;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)o===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(o=r):(r===t||e[r][1].type==="lineEnding")&&(e[o][1].type="codeTextData",r!==o+2&&(e[o][1].end=e[r-1][1].end,e.splice(o+2,r-o-2),t-=r-o-2,r=o+2),o=void 0);return e}function Yx(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Kx(e,t,n){let r=0,o,i;return a;function a(p){return e.enter("codeText"),e.enter("codeTextSequence"),l(p)}function l(p){return p===96?(e.consume(p),r++,l):(e.exit("codeTextSequence"),c(p))}function c(p){return p===null?n(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),c):p===96?(i=e.enter("codeTextSequence"),o=0,f(p)):he(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("codeTextData"),u(p))}function u(p){return p===null||p===32||p===96||he(p)?(e.exit("codeTextData"),c(p)):(e.consume(p),u)}function f(p){return p===96?(e.consume(p),o++,f):o===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(i.type="codeTextData",u(p))}}function uf(e){const t={};let n=-1,r,o,i,a,l,c,u;for(;++n<e.length;){for(;n in t;)n=t[n];if(r=e[n],n&&r[1].type==="chunkFlow"&&e[n-1][1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,i=0,i<c.length&&c[i][1].type==="lineEndingBlank"&&(i+=2),i<c.length&&c[i][1].type==="content"))for(;++i<c.length&&c[i][1].type!=="content";)c[i][1].type==="chunkText"&&(c[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,Gx(e,n)),n=t[n],u=!0);else if(r[1]._container){for(i=n,o=void 0;i--&&(a=e[i],a[1].type==="lineEnding"||a[1].type==="lineEndingBlank");)a[0]==="enter"&&(o&&(e[o][1].type="lineEndingBlank"),a[1].type="lineEnding",o=i);o&&(r[1].end=Object.assign({},e[o][1].start),l=e.slice(o,n),l.unshift(r),Xt(e,o,n-o+1,l))}}return!u}function Gx(e,t){const n=e[t][1],r=e[t][2];let o=t-1;const i=[],a=n._tokenizer||r.parser[n.contentType](n.start),l=a.events,c=[],u={};let f,p,h=-1,m=n,g=0,d=0;const y=[d];for(;m;){for(;e[++o][1]!==m;);i.push(o),m._tokenizer||(f=r.sliceStream(m),m.next||f.push(null),p&&a.defineSkip(m.start),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=!0),a.write(f),m._isInFirstContentOfListItem&&(a._gfmTasklistFirstContentOfListItem=void 0)),p=m,m=m.next}for(m=n;++h<l.length;)l[h][0]==="exit"&&l[h-1][0]==="enter"&&l[h][1].type===l[h-1][1].type&&l[h][1].start.line!==l[h][1].end.line&&(d=h+1,y.push(d),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(a.events=[],m?(m._tokenizer=void 0,m.previous=void 0):y.pop(),h=y.length;h--;){const x=l.slice(y[h],y[h+1]),k=i.pop();c.unshift([k,k+x.length-1]),Xt(e,k,2,x)}for(h=-1;++h<c.length;)u[g+c[h][0]]=g+c[h][1],g+=c[h][1]-c[h][0]-1;return u}const Xx={tokenize:Zx,resolve:Qx},Jx={tokenize:eE,partial:!0};function Qx(e){return uf(e),e}function Zx(e,t){let n;return r;function r(l){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),o(l)}function o(l){return l===null?i(l):he(l)?e.check(Jx,a,i)(l):(e.consume(l),o)}function i(l){return e.exit("chunkContent"),e.exit("content"),t(l)}function a(l){return e.consume(l),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,o}}function eE(e,t,n){const r=this;return o;function o(a){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),qe(e,i,"linePrefix")}function i(a){if(a===null||he(a))return n(a);const l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function cf(e,t,n,r,o,i,a,l,c){const u=c||Number.POSITIVE_INFINITY;let f=0;return p;function p(x){return x===60?(e.enter(r),e.enter(o),e.enter(i),e.consume(x),e.exit(i),h):x===null||x===32||x===41||$s(x)?n(x):(e.enter(r),e.enter(a),e.enter(l),e.enter("chunkString",{contentType:"string"}),d(x))}function h(x){return x===62?(e.enter(i),e.consume(x),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),m(x))}function m(x){return x===62?(e.exit("chunkString"),e.exit(l),h(x)):x===null||x===60||he(x)?n(x):(e.consume(x),x===92?g:m)}function g(x){return x===60||x===62||x===92?(e.consume(x),m):m(x)}function d(x){return!f&&(x===null||x===41||St(x))?(e.exit("chunkString"),e.exit(l),e.exit(a),e.exit(r),t(x)):f<u&&x===40?(e.consume(x),f++,d):x===41?(e.consume(x),f--,d):x===null||x===32||x===40||$s(x)?n(x):(e.consume(x),x===92?y:d)}function y(x){return x===40||x===41||x===92?(e.consume(x),d):d(x)}}function ff(e,t,n,r,o,i){const a=this;let l=0,c;return u;function u(m){return e.enter(r),e.enter(o),e.consume(m),e.exit(o),e.enter(i),f}function f(m){return l>999||m===null||m===91||m===93&&!c||m===94&&!l&&"_hiddenFootnoteSupport"in a.parser.constructs?n(m):m===93?(e.exit(i),e.enter(o),e.consume(m),e.exit(o),e.exit(r),t):he(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===null||m===91||m===93||he(m)||l++>999?(e.exit("chunkString"),f(m)):(e.consume(m),c||(c=!ke(m)),m===92?h:p)}function h(m){return m===91||m===92||m===93?(e.consume(m),l++,p):p(m)}}function df(e,t,n,r,o,i){let a;return l;function l(h){return h===34||h===39||h===40?(e.enter(r),e.enter(o),e.consume(h),e.exit(o),a=h===40?41:h,c):n(h)}function c(h){return h===a?(e.enter(o),e.consume(h),e.exit(o),e.exit(r),t):(e.enter(i),u(h))}function u(h){return h===a?(e.exit(i),c(a)):h===null?n(h):he(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),qe(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===a||h===null||he(h)?(e.exit("chunkString"),u(h)):(e.consume(h),h===92?p:f)}function p(h){return h===a||h===92?(e.consume(h),f):f(h)}}function Fr(e,t){let n;return r;function r(o){return he(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):ke(o)?qe(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function Kn(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tE={name:"definition",tokenize:rE},nE={tokenize:oE,partial:!0};function rE(e,t,n){const r=this;let o;return i;function i(m){return e.enter("definition"),a(m)}function a(m){return ff.call(r,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function l(m){return o=Kn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),c):n(m)}function c(m){return St(m)?Fr(e,u)(m):u(m)}function u(m){return cf(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function f(m){return e.attempt(nE,p,p)(m)}function p(m){return ke(m)?qe(e,h,"whitespace")(m):h(m)}function h(m){return m===null||he(m)?(e.exit("definition"),r.parser.defined.push(o),t(m)):n(m)}}function oE(e,t,n){return r;function r(l){return St(l)?Fr(e,o)(l):n(l)}function o(l){return df(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(l)}function i(l){return ke(l)?qe(e,a,"whitespace")(l):a(l)}function a(l){return l===null||he(l)?t(l):n(l)}}const iE={name:"hardBreakEscape",tokenize:sE};function sE(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),o}function o(i){return he(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const aE={name:"headingAtx",tokenize:uE,resolve:lE};function lE(e,t){let n=e.length-2,r=3,o,i;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(o={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Xt(e,r,n-r+1,[["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t]])),e}function uE(e,t,n){let r=0;return o;function o(f){return e.enter("atxHeading"),i(f)}function i(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||St(f)?(e.exit("atxHeadingSequence"),l(f)):n(f)}function l(f){return f===35?(e.enter("atxHeadingSequence"),c(f)):f===null||he(f)?(e.exit("atxHeading"),t(f)):ke(f)?qe(e,l,"whitespace")(f):(e.enter("atxHeadingText"),u(f))}function c(f){return f===35?(e.consume(f),c):(e.exit("atxHeadingSequence"),l(f))}function u(f){return f===null||f===35||St(f)?(e.exit("atxHeadingText"),l(f)):(e.consume(f),u)}}const cE=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],pf=["pre","script","style","textarea"],fE={name:"htmlFlow",tokenize:mE,resolveTo:hE,concrete:!0},dE={tokenize:yE,partial:!0},pE={tokenize:gE,partial:!0};function hE(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function mE(e,t,n){const r=this;let o,i,a,l,c;return u;function u(E){return f(E)}function f(E){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(E),p}function p(E){return E===33?(e.consume(E),h):E===47?(e.consume(E),i=!0,d):E===63?(e.consume(E),o=3,r.interrupt?t:v):Jt(E)?(e.consume(E),a=String.fromCharCode(E),y):n(E)}function h(E){return E===45?(e.consume(E),o=2,m):E===91?(e.consume(E),o=5,l=0,g):Jt(E)?(e.consume(E),o=4,r.interrupt?t:v):n(E)}function m(E){return E===45?(e.consume(E),r.interrupt?t:v):n(E)}function g(E){const K="CDATA[";return E===K.charCodeAt(l++)?(e.consume(E),l===K.length?r.interrupt?t:D:g):n(E)}function d(E){return Jt(E)?(e.consume(E),a=String.fromCharCode(E),y):n(E)}function y(E){if(E===null||E===47||E===62||St(E)){const K=E===47,te=a.toLowerCase();return!K&&!i&&pf.includes(te)?(o=1,r.interrupt?t(E):D(E)):cE.includes(a.toLowerCase())?(o=6,K?(e.consume(E),x):r.interrupt?t(E):D(E)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(E):i?k(E):S(E))}return E===45||_t(E)?(e.consume(E),a+=String.fromCharCode(E),y):n(E)}function x(E){return E===62?(e.consume(E),r.interrupt?t:D):n(E)}function k(E){return ke(E)?(e.consume(E),k):A(E)}function S(E){return E===47?(e.consume(E),A):E===58||E===95||Jt(E)?(e.consume(E),w):ke(E)?(e.consume(E),S):A(E)}function w(E){return E===45||E===46||E===58||E===95||_t(E)?(e.consume(E),w):C(E)}function C(E){return E===61?(e.consume(E),T):ke(E)?(e.consume(E),C):S(E)}function T(E){return E===null||E===60||E===61||E===62||E===96?n(E):E===34||E===39?(e.consume(E),c=E,b):ke(E)?(e.consume(E),T):P(E)}function b(E){return E===c?(e.consume(E),c=null,I):E===null||he(E)?n(E):(e.consume(E),b)}function P(E){return E===null||E===34||E===39||E===47||E===60||E===61||E===62||E===96||St(E)?C(E):(e.consume(E),P)}function I(E){return E===47||E===62||ke(E)?S(E):n(E)}function A(E){return E===62?(e.consume(E),M):n(E)}function M(E){return E===null||he(E)?D(E):ke(E)?(e.consume(E),M):n(E)}function D(E){return E===45&&o===2?(e.consume(E),U):E===60&&o===1?(e.consume(E),Y):E===62&&o===4?(e.consume(E),W):E===63&&o===3?(e.consume(E),v):E===93&&o===5?(e.consume(E),ie):he(E)&&(o===6||o===7)?(e.exit("htmlFlowData"),e.check(dE,Z,F)(E)):E===null||he(E)?(e.exit("htmlFlowData"),F(E)):(e.consume(E),D)}function F(E){return e.check(pE,N,Z)(E)}function N(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),$}function $(E){return E===null||he(E)?F(E):(e.enter("htmlFlowData"),D(E))}function U(E){return E===45?(e.consume(E),v):D(E)}function Y(E){return E===47?(e.consume(E),a="",z):D(E)}function z(E){if(E===62){const K=a.toLowerCase();return pf.includes(K)?(e.consume(E),W):D(E)}return Jt(E)&&a.length<8?(e.consume(E),a+=String.fromCharCode(E),z):D(E)}function ie(E){return E===93?(e.consume(E),v):D(E)}function v(E){return E===62?(e.consume(E),W):E===45&&o===2?(e.consume(E),v):D(E)}function W(E){return E===null||he(E)?(e.exit("htmlFlowData"),Z(E)):(e.consume(E),W)}function Z(E){return e.exit("htmlFlow"),t(E)}}function gE(e,t,n){const r=this;return o;function o(a){return he(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):n(a)}function i(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function yE(e,t,n){return r;function r(o){return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),e.attempt(Ho,t,n)}}const bE={name:"htmlText",tokenize:vE};function vE(e,t,n){const r=this;let o,i,a;return l;function l(v){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(v),c}function c(v){return v===33?(e.consume(v),u):v===47?(e.consume(v),C):v===63?(e.consume(v),S):Jt(v)?(e.consume(v),P):n(v)}function u(v){return v===45?(e.consume(v),f):v===91?(e.consume(v),i=0,g):Jt(v)?(e.consume(v),k):n(v)}function f(v){return v===45?(e.consume(v),m):n(v)}function p(v){return v===null?n(v):v===45?(e.consume(v),h):he(v)?(a=p,Y(v)):(e.consume(v),p)}function h(v){return v===45?(e.consume(v),m):p(v)}function m(v){return v===62?U(v):v===45?h(v):p(v)}function g(v){const W="CDATA[";return v===W.charCodeAt(i++)?(e.consume(v),i===W.length?d:g):n(v)}function d(v){return v===null?n(v):v===93?(e.consume(v),y):he(v)?(a=d,Y(v)):(e.consume(v),d)}function y(v){return v===93?(e.consume(v),x):d(v)}function x(v){return v===62?U(v):v===93?(e.consume(v),x):d(v)}function k(v){return v===null||v===62?U(v):he(v)?(a=k,Y(v)):(e.consume(v),k)}function S(v){return v===null?n(v):v===63?(e.consume(v),w):he(v)?(a=S,Y(v)):(e.consume(v),S)}function w(v){return v===62?U(v):S(v)}function C(v){return Jt(v)?(e.consume(v),T):n(v)}function T(v){return v===45||_t(v)?(e.consume(v),T):b(v)}function b(v){return he(v)?(a=b,Y(v)):ke(v)?(e.consume(v),b):U(v)}function P(v){return v===45||_t(v)?(e.consume(v),P):v===47||v===62||St(v)?I(v):n(v)}function I(v){return v===47?(e.consume(v),U):v===58||v===95||Jt(v)?(e.consume(v),A):he(v)?(a=I,Y(v)):ke(v)?(e.consume(v),I):U(v)}function A(v){return v===45||v===46||v===58||v===95||_t(v)?(e.consume(v),A):M(v)}function M(v){return v===61?(e.consume(v),D):he(v)?(a=M,Y(v)):ke(v)?(e.consume(v),M):I(v)}function D(v){return v===null||v===60||v===61||v===62||v===96?n(v):v===34||v===39?(e.consume(v),o=v,F):he(v)?(a=D,Y(v)):ke(v)?(e.consume(v),D):(e.consume(v),N)}function F(v){return v===o?(e.consume(v),o=void 0,$):v===null?n(v):he(v)?(a=F,Y(v)):(e.consume(v),F)}function N(v){return v===null||v===34||v===39||v===60||v===61||v===96?n(v):v===47||v===62||St(v)?I(v):(e.consume(v),N)}function $(v){return v===47||v===62||St(v)?I(v):n(v)}function U(v){return v===62?(e.consume(v),e.exit("htmlTextData"),e.exit("htmlText"),t):n(v)}function Y(v){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),z}function z(v){return ke(v)?qe(e,ie,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):ie(v)}function ie(v){return e.enter("htmlTextData"),a(v)}}const zs={name:"labelEnd",tokenize:wE,resolveTo:CE,resolveAll:TE},xE={tokenize:OE},EE={tokenize:RE},SE={tokenize:kE};function TE(e){let t=-1;for(;++t<e.length;){const n=e[t][1];(n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd")&&(e.splice(t+1,n.type==="labelImage"?4:2),n.type="data",t++)}return e}function CE(e,t){let n=e.length,r=0,o,i,a,l;for(;n--;)if(o=e[n][1],i){if(o.type==="link"||o.type==="labelLink"&&o._inactive)break;e[n][0]==="enter"&&o.type==="labelLink"&&(o._inactive=!0)}else if(a){if(e[n][0]==="enter"&&(o.type==="labelImage"||o.type==="labelLink")&&!o._balanced&&(i=n,o.type!=="labelLink")){r=2;break}}else o.type==="labelEnd"&&(a=n);const c={type:e[i][1].type==="labelLink"?"link":"image",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)},u={type:"label",start:Object.assign({},e[i][1].start),end:Object.assign({},e[a][1].end)},f={type:"labelText",start:Object.assign({},e[i+r+2][1].end),end:Object.assign({},e[a-2][1].start)};return l=[["enter",c,t],["enter",u,t]],l=Dt(l,e.slice(i+1,i+r+3)),l=Dt(l,[["enter",f,t]]),l=Dt(l,Ds(t.parser.constructs.insideSpan.null,e.slice(i+r+4,a-3),t)),l=Dt(l,[["exit",f,t],e[a-2],e[a-1],["exit",u,t]]),l=Dt(l,e.slice(a+1)),l=Dt(l,[["exit",c,t]]),Xt(e,i,e.length,l),e}function wE(e,t,n){const r=this;let o=r.events.length,i,a;for(;o--;)if((r.events[o][1].type==="labelImage"||r.events[o][1].type==="labelLink")&&!r.events[o][1]._balanced){i=r.events[o][1];break}return l;function l(h){return i?i._inactive?p(h):(a=r.parser.defined.includes(Kn(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(h),e.exit("labelMarker"),e.exit("labelEnd"),c):n(h)}function c(h){return h===40?e.attempt(xE,f,a?f:p)(h):h===91?e.attempt(EE,f,a?u:p)(h):a?f(h):p(h)}function u(h){return e.attempt(SE,f,p)(h)}function f(h){return t(h)}function p(h){return i._balanced=!0,n(h)}}function OE(e,t,n){return r;function r(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),o}function o(p){return St(p)?Fr(e,i)(p):i(p)}function i(p){return p===41?f(p):cf(e,a,l,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function a(p){return St(p)?Fr(e,c)(p):f(p)}function l(p){return n(p)}function c(p){return p===34||p===39||p===40?df(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):f(p)}function u(p){return St(p)?Fr(e,f)(p):f(p)}function f(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):n(p)}}function RE(e,t,n){const r=this;return o;function o(l){return ff.call(r,e,i,a,"reference","referenceMarker","referenceString")(l)}function i(l){return r.parser.defined.includes(Kn(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(l):n(l)}function a(l){return n(l)}}function kE(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),o}function o(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const PE={name:"labelStartImage",tokenize:_E,resolveAll:zs.resolveAll};function _E(e,t,n){const r=this;return o;function o(l){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(l),e.exit("labelImageMarker"),i}function i(l){return l===91?(e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelImage"),a):n(l)}function a(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const IE={name:"labelStartLink",tokenize:AE,resolveAll:zs.resolveAll};function AE(e,t,n){const r=this;return o;function o(a){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(a),e.exit("labelMarker"),e.exit("labelLink"),i}function i(a){return a===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(a):t(a)}}const Us={name:"lineEnding",tokenize:NE};function NE(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),qe(e,t,"linePrefix")}}const Yo={name:"thematicBreak",tokenize:FE};function FE(e,t,n){let r=0,o;return i;function i(u){return e.enter("thematicBreak"),a(u)}function a(u){return o=u,l(u)}function l(u){return u===o?(e.enter("thematicBreakSequence"),c(u)):r>=3&&(u===null||he(u))?(e.exit("thematicBreak"),t(u)):n(u)}function c(u){return u===o?(e.consume(u),r++,c):(e.exit("thematicBreakSequence"),ke(u)?qe(e,l,"whitespace")(u):l(u))}}const Tt={name:"list",tokenize:DE,continuation:{tokenize:LE},exit:BE},$E={tokenize:zE,partial:!0},ME={tokenize:jE,partial:!0};function DE(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&o[1].type==="linePrefix"?o[2].sliceSerialize(o[1],!0).length:0,a=0;return l;function l(m){const g=r.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(g==="listUnordered"?!r.containerState.marker||m===r.containerState.marker:Ms(m)){if(r.containerState.type||(r.containerState.type=g,e.enter(g,{_container:!0})),g==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Yo,n,u)(m):u(m);if(!r.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(m)}return n(m)}function c(m){return Ms(m)&&++a<10?(e.consume(m),c):(!r.interrupt||a<2)&&(r.containerState.marker?m===r.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),u(m)):n(m)}function u(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||m,e.check(Ho,r.interrupt?n:f,e.attempt($E,h,p))}function f(m){return r.containerState.initialBlankLine=!0,i++,h(m)}function p(m){return ke(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),h):n(m)}function h(m){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function LE(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Ho,o,i);function o(l){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,qe(e,t,"listItemIndent",r.containerState.size+1)(l)}function i(l){return r.containerState.furtherBlankLines||!ke(l)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(l)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ME,t,a)(l))}function a(l){return r.containerState._closeFlow=!0,r.interrupt=void 0,qe(e,e.attempt(Tt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l)}}function jE(e,t,n){const r=this;return qe(e,o,"listItemIndent",r.containerState.size+1);function o(i){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(i):n(i)}}function BE(e){e.exit(this.containerState.type)}function zE(e,t,n){const r=this;return qe(e,o,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function o(i){const a=r.events[r.events.length-1];return!ke(i)&&a&&a[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const hf={name:"setextUnderline",tokenize:VE,resolveTo:UE};function UE(e,t){let n=e.length,r,o,i;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(o=n)}else e[n][1].type==="content"&&e.splice(n,1),!i&&e[n][1].type==="definition"&&(i=n);const a={type:"setextHeading",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[o][1].type="setextHeadingText",i?(e.splice(o,0,["enter",a,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[i][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function VE(e,t,n){const r=this;let o;return i;function i(u){let f=r.events.length,p;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){p=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter("setextHeadingLine"),o=u,a(u)):n(u)}function a(u){return e.enter("setextHeadingLineSequence"),l(u)}function l(u){return u===o?(e.consume(u),l):(e.exit("setextHeadingLineSequence"),ke(u)?qe(e,c,"lineSuffix")(u):c(u))}function c(u){return u===null||he(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const qE={tokenize:WE};function WE(e){const t=this,n=e.attempt(Ho,r,e.attempt(this.parser.constructs.flowInitial,o,qe(e,e.attempt(this.parser.constructs.flow,o,e.attempt(Xx,o)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function o(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const HE={resolveAll:gf()},YE=mf("string"),KE=mf("text");function mf(e){return{tokenize:t,resolveAll:gf(e==="text"?GE:void 0)};function t(n){const r=this,o=this.parser.constructs[e],i=n.attempt(o,a,l);return a;function a(f){return u(f)?i(f):l(f)}function l(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),c}function c(f){return u(f)?(n.exit("data"),i(f)):(n.consume(f),c)}function u(f){if(f===null)return!0;const p=o[f];let h=-1;if(p)for(;++h<p.length;){const m=p[h];if(!m.previous||m.previous.call(r,r.previous))return!0}return!1}}}function gf(e){return t;function t(n,r){let o=-1,i;for(;++o<=n.length;)i===void 0?n[o]&&n[o][1].type==="data"&&(i=o,o++):(!n[o]||n[o][1].type!=="data")&&(o!==i+2&&(n[i][1].end=n[o-1][1].end,n.splice(i+2,o-i-2),o=i+2),i=void 0);return e?e(n,r):n}}function GE(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],o=t.sliceStream(r);let i=o.length,a=-1,l=0,c;for(;i--;){const u=o[i];if(typeof u=="string"){for(a=u.length;u.charCodeAt(a-1)===32;)l++,a--;if(a)break;a=-1}else if(u===-2)c=!0,l++;else if(u!==-1){i++;break}}if(l){const u={type:n===e.length||c||l<2?"lineSuffix":"hardBreakTrailing",start:{line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,_index:r.start._index+i,_bufferIndex:i?a:r.start._bufferIndex+a},end:Object.assign({},r.end)};r.end=Object.assign({},u.start),r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}function XE(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const o={},i=[];let a=[],l=[];const c={consume:k,enter:S,exit:w,attempt:b(C),check:b(T),interrupt:b(T,{interrupt:!0})},u={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:h,now:g,defineSkip:d,write:p};let f=t.tokenize.call(u,c);return t.resolveAll&&i.push(t),u;function p(M){return a=Dt(a,M),y(),a[a.length-1]!==null?[]:(P(t,0),u.events=Ds(i,u.events,u),u.events)}function h(M,D){return QE(m(M),D)}function m(M){return JE(a,M)}function g(){const{line:M,column:D,offset:F,_index:N,_bufferIndex:$}=r;return{line:M,column:D,offset:F,_index:N,_bufferIndex:$}}function d(M){o[M.line]=M.column,A()}function y(){let M;for(;r._index<a.length;){const D=a[r._index];if(typeof D=="string")for(M=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===M&&r._bufferIndex<D.length;)x(D.charCodeAt(r._bufferIndex));else x(D)}}function x(M){f=f(M)}function k(M){he(M)?(r.line++,r.column=1,r.offset+=M===-3?2:1,A()):M!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=M}function S(M,D){const F=D||{};return F.type=M,F.start=g(),u.events.push(["enter",F,u]),l.push(F),F}function w(M){const D=l.pop();return D.end=g(),u.events.push(["exit",D,u]),D}function C(M,D){P(M,D.from)}function T(M,D){D.restore()}function b(M,D){return F;function F(N,$,U){let Y,z,ie,v;return Array.isArray(N)?Z(N):"tokenize"in N?Z([N]):W(N);function W(Q){return oe;function oe(ee){const ne=ee!==null&&Q[ee],se=ee!==null&&Q.null,le=[...Array.isArray(ne)?ne:ne?[ne]:[],...Array.isArray(se)?se:se?[se]:[]];return Z(le)(ee)}}function Z(Q){return Y=Q,z=0,Q.length===0?U:E(Q[z])}function E(Q){return oe;function oe(ee){return v=I(),ie=Q,Q.partial||(u.currentConstruct=Q),Q.name&&u.parser.constructs.disable.null.includes(Q.name)?te():Q.tokenize.call(D?Object.assign(Object.create(u),D):u,c,K,te)(ee)}}function K(Q){return M(ie,v),$}function te(Q){return v.restore(),++z<Y.length?E(Y[z]):U}}}function P(M,D){M.resolveAll&&!i.includes(M)&&i.push(M),M.resolve&&Xt(u.events,D,u.events.length-D,M.resolve(u.events.slice(D),u)),M.resolveTo&&(u.events=M.resolveTo(u.events,u))}function I(){const M=g(),D=u.previous,F=u.currentConstruct,N=u.events.length,$=Array.from(l);return{restore:U,from:N};function U(){r=M,u.previous=D,u.currentConstruct=F,u.events.length=N,l=$,A()}}function A(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}function JE(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let a;if(n===o)a=[e[n].slice(r,i)];else{if(a=e.slice(n,o),r>-1){const l=a[0];typeof l=="string"?a[0]=l.slice(r):a.shift()}i>0&&a.push(e[o].slice(0,i))}return a}function QE(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let a;if(typeof i=="string")a=i;else switch(i){case-5:{a="\r";break}case-4:{a=`
293
+ `;break}case-3:{a=`\r
294
+ `;break}case-2:{a=t?" ":" ";break}case-1:{if(!t&&o)continue;a=" ";break}default:a=String.fromCharCode(i)}o=i===-2,r.push(a)}return r.join("")}const ZE=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:tE},disable:{null:[]},document:{42:Tt,43:Tt,45:Tt,48:Tt,49:Tt,50:Tt,51:Tt,52:Tt,53:Tt,54:Tt,55:Tt,56:Tt,57:Tt,62:nf},flow:{35:aE,42:Yo,45:[hf,Yo],60:fE,61:hf,95:Yo,96:lf,126:lf},flowInitial:{[-2]:Bs,[-1]:Bs,32:Bs},insideSpan:{null:[Ls,HE]},string:{38:sf,92:rf},text:{[-5]:Us,[-4]:Us,[-3]:Us,33:PE,38:sf,42:Ls,60:[Ax,bE],91:IE,92:[iE,rf],93:zs,95:Ls,96:Wx}},Symbol.toStringTag,{value:"Module"}));function e1(e){const n=gx([ZE,...(e||{}).extensions||[]]),r={defined:[],lazy:{},constructs:n,content:o(wx),document:o(Rx),flow:o(qE),string:o(YE),text:o(KE)};return r;function o(i){return a;function a(l){return XE(r,i,l)}}}const yf=/[\0\t\n\r]/g;function t1(){let e=1,t="",n=!0,r;return o;function o(i,a,l){const c=[];let u,f,p,h,m;for(i=t+i.toString(a),p=0,t="",n&&(i.charCodeAt(0)===65279&&p++,n=void 0);p<i.length;){if(yf.lastIndex=p,u=yf.exec(i),h=u&&u.index!==void 0?u.index:i.length,m=i.charCodeAt(h),!u){t=i.slice(p);break}if(m===10&&p===h&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),p<h&&(c.push(i.slice(p,h)),e+=h-p),m){case 0:{c.push(65533),e++;break}case 9:{for(f=Math.ceil(e/4)*4,c.push(-2);e++<f;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}p=h+1}return l&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}function n1(e){for(;!uf(e););return e}function bf(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCharCode(n)}const r1=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function o1(e){return e.replace(r1,i1)}function i1(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const o=n.charCodeAt(1),i=o===120||o===88;return bf(n.slice(i?2:1),i?16:10)}return js(n)||e}const vf={}.hasOwnProperty,s1=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),a1(n)(n1(e1(n).document().write(t1()(e,t,!0))))};function a1(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(dt),autolinkProtocol:M,autolinkEmail:M,atxHeading:l(we),blockQuote:l(le),characterEscape:M,characterReference:M,codeFenced:l(H),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:l(H,c),codeText:l(ue,c),codeTextData:M,data:M,codeFlowValue:M,definition:l(q),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:l(pe),hardBreakEscape:l(He),hardBreakTrailing:l(He),htmlFlow:l(it,c),htmlFlowData:M,htmlText:l(it,c),htmlTextData:M,image:l(st),label:c,link:l(dt),listItem:l(ut),listItemValue:g,listOrdered:l(je,m),listUnordered:l(je),paragraph:l(ct),reference:te,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:l(we),strong:l(Be),thematicBreak:l(jt)},exit:{atxHeading:f(),atxHeadingSequence:b,autolink:f(),autolinkEmail:se,autolinkProtocol:ne,blockQuote:f(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:oe,characterReferenceMarkerNumeric:oe,characterReferenceValue:ee,codeFenced:f(k),codeFencedFence:x,codeFencedFenceInfo:d,codeFencedFenceMeta:y,codeFlowValue:D,codeIndented:f(S),codeText:f(Y),codeTextData:D,data:D,definition:f(),definitionDestinationString:T,definitionLabelString:w,definitionTitleString:C,emphasis:f(),hardBreakEscape:f(N),hardBreakTrailing:f(N),htmlFlow:f($),htmlFlowData:D,htmlText:f(U),htmlTextData:D,image:f(ie),label:W,labelText:v,lineEnding:F,link:f(z),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:Q,resourceDestinationString:Z,resourceTitleString:E,resource:K,setextHeading:f(A),setextHeadingLineSequence:I,setextHeadingText:P,strong:f(),thematicBreak:f()}};xf(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(L){let V={type:"root",children:[]};const G={stack:[V],tokenStack:[],config:t,enter:u,exit:p,buffer:c,resume:h,setData:i,getData:a},ve=[];let Se=-1;for(;++Se<L.length;)if(L[Se][1].type==="listOrdered"||L[Se][1].type==="listUnordered")if(L[Se][0]==="enter")ve.push(Se);else{const at=ve.pop();Se=o(L,at,Se)}for(Se=-1;++Se<L.length;){const at=t[L[Se][0]];vf.call(at,L[Se][1].type)&&at[L[Se][1].type].call(Object.assign({sliceSerialize:L[Se][2].sliceSerialize},G),L[Se][1])}if(G.tokenStack.length>0){const at=G.tokenStack[G.tokenStack.length-1];(at[1]||Ef).call(G,void 0,at[0])}for(V.position={start:dn(L.length>0?L[0][1].start:{line:1,column:1,offset:0}),end:dn(L.length>0?L[L.length-2][1].end:{line:1,column:1,offset:0})},Se=-1;++Se<t.transforms.length;)V=t.transforms[Se](V)||V;return V}function o(L,V,G){let ve=V-1,Se=-1,at=!1,Ct,ae,xe,Ye;for(;++ve<=G;){const Ne=L[ve];if(Ne[1].type==="listUnordered"||Ne[1].type==="listOrdered"||Ne[1].type==="blockQuote"?(Ne[0]==="enter"?Se++:Se--,Ye=void 0):Ne[1].type==="lineEndingBlank"?Ne[0]==="enter"&&(Ct&&!Ye&&!Se&&!xe&&(xe=ve),Ye=void 0):Ne[1].type==="linePrefix"||Ne[1].type==="listItemValue"||Ne[1].type==="listItemMarker"||Ne[1].type==="listItemPrefix"||Ne[1].type==="listItemPrefixWhitespace"||(Ye=void 0),!Se&&Ne[0]==="enter"&&Ne[1].type==="listItemPrefix"||Se===-1&&Ne[0]==="exit"&&(Ne[1].type==="listUnordered"||Ne[1].type==="listOrdered")){if(Ct){let pn=ve;for(ae=void 0;pn--;){const At=L[pn];if(At[1].type==="lineEnding"||At[1].type==="lineEndingBlank"){if(At[0]==="exit")continue;ae&&(L[ae][1].type="lineEndingBlank",at=!0),At[1].type="lineEnding",ae=pn}else if(!(At[1].type==="linePrefix"||At[1].type==="blockQuotePrefix"||At[1].type==="blockQuotePrefixWhitespace"||At[1].type==="blockQuoteMarker"||At[1].type==="listItemIndent"))break}xe&&(!ae||xe<ae)&&(Ct._spread=!0),Ct.end=Object.assign({},ae?L[ae][1].start:Ne[1].end),L.splice(ae||ve,0,["exit",Ct,Ne[2]]),ve++,G++}Ne[1].type==="listItemPrefix"&&(Ct={type:"listItem",_spread:!1,start:Object.assign({},Ne[1].start),end:void 0},L.splice(ve,0,["enter",Ct,Ne[2]]),ve++,G++,xe=void 0,Ye=!0)}}return L[V][1]._spread=at,G}function i(L,V){n[L]=V}function a(L){return n[L]}function l(L,V){return G;function G(ve){u.call(this,L(ve),ve),V&&V.call(this,ve)}}function c(){this.stack.push({type:"fragment",children:[]})}function u(L,V,G){return this.stack[this.stack.length-1].children.push(L),this.stack.push(L),this.tokenStack.push([V,G]),L.position={start:dn(V.start)},L}function f(L){return V;function V(G){L&&L.call(this,G),p.call(this,G)}}function p(L,V){const G=this.stack.pop(),ve=this.tokenStack.pop();if(ve)ve[0].type!==L.type&&(V?V.call(this,L,ve[0]):(ve[1]||Ef).call(this,L,ve[0]));else throw new Error("Cannot close `"+L.type+"` ("+Ir({start:L.start,end:L.end})+"): it’s not open");return G.position.end=dn(L.end),G}function h(){return hx(this.stack.pop())}function m(){i("expectingFirstListItemValue",!0)}function g(L){if(a("expectingFirstListItemValue")){const V=this.stack[this.stack.length-2];V.start=Number.parseInt(this.sliceSerialize(L),10),i("expectingFirstListItemValue")}}function d(){const L=this.resume(),V=this.stack[this.stack.length-1];V.lang=L}function y(){const L=this.resume(),V=this.stack[this.stack.length-1];V.meta=L}function x(){a("flowCodeInside")||(this.buffer(),i("flowCodeInside",!0))}function k(){const L=this.resume(),V=this.stack[this.stack.length-1];V.value=L.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),i("flowCodeInside")}function S(){const L=this.resume(),V=this.stack[this.stack.length-1];V.value=L.replace(/(\r?\n|\r)$/g,"")}function w(L){const V=this.resume(),G=this.stack[this.stack.length-1];G.label=V,G.identifier=Kn(this.sliceSerialize(L)).toLowerCase()}function C(){const L=this.resume(),V=this.stack[this.stack.length-1];V.title=L}function T(){const L=this.resume(),V=this.stack[this.stack.length-1];V.url=L}function b(L){const V=this.stack[this.stack.length-1];if(!V.depth){const G=this.sliceSerialize(L).length;V.depth=G}}function P(){i("setextHeadingSlurpLineEnding",!0)}function I(L){const V=this.stack[this.stack.length-1];V.depth=this.sliceSerialize(L).charCodeAt(0)===61?1:2}function A(){i("setextHeadingSlurpLineEnding")}function M(L){const V=this.stack[this.stack.length-1];let G=V.children[V.children.length-1];(!G||G.type!=="text")&&(G=pt(),G.position={start:dn(L.start)},V.children.push(G)),this.stack.push(G)}function D(L){const V=this.stack.pop();V.value+=this.sliceSerialize(L),V.position.end=dn(L.end)}function F(L){const V=this.stack[this.stack.length-1];if(a("atHardBreak")){const G=V.children[V.children.length-1];G.position.end=dn(L.end),i("atHardBreak");return}!a("setextHeadingSlurpLineEnding")&&t.canContainEols.includes(V.type)&&(M.call(this,L),D.call(this,L))}function N(){i("atHardBreak",!0)}function $(){const L=this.resume(),V=this.stack[this.stack.length-1];V.value=L}function U(){const L=this.resume(),V=this.stack[this.stack.length-1];V.value=L}function Y(){const L=this.resume(),V=this.stack[this.stack.length-1];V.value=L}function z(){const L=this.stack[this.stack.length-1];if(a("inReference")){const V=a("referenceType")||"shortcut";L.type+="Reference",L.referenceType=V,delete L.url,delete L.title}else delete L.identifier,delete L.label;i("referenceType")}function ie(){const L=this.stack[this.stack.length-1];if(a("inReference")){const V=a("referenceType")||"shortcut";L.type+="Reference",L.referenceType=V,delete L.url,delete L.title}else delete L.identifier,delete L.label;i("referenceType")}function v(L){const V=this.sliceSerialize(L),G=this.stack[this.stack.length-2];G.label=o1(V),G.identifier=Kn(V).toLowerCase()}function W(){const L=this.stack[this.stack.length-1],V=this.resume(),G=this.stack[this.stack.length-1];if(i("inReference",!0),G.type==="link"){const ve=L.children;G.children=ve}else G.alt=V}function Z(){const L=this.resume(),V=this.stack[this.stack.length-1];V.url=L}function E(){const L=this.resume(),V=this.stack[this.stack.length-1];V.title=L}function K(){i("inReference")}function te(){i("referenceType","collapsed")}function Q(L){const V=this.resume(),G=this.stack[this.stack.length-1];G.label=V,G.identifier=Kn(this.sliceSerialize(L)).toLowerCase(),i("referenceType","full")}function oe(L){i("characterReferenceType",L.type)}function ee(L){const V=this.sliceSerialize(L),G=a("characterReferenceType");let ve;G?(ve=bf(V,G==="characterReferenceMarkerNumeric"?10:16),i("characterReferenceType")):ve=js(V);const Se=this.stack.pop();Se.value+=ve,Se.position.end=dn(L.end)}function ne(L){D.call(this,L);const V=this.stack[this.stack.length-1];V.url=this.sliceSerialize(L)}function se(L){D.call(this,L);const V=this.stack[this.stack.length-1];V.url="mailto:"+this.sliceSerialize(L)}function le(){return{type:"blockquote",children:[]}}function H(){return{type:"code",lang:null,meta:null,value:""}}function ue(){return{type:"inlineCode",value:""}}function q(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function pe(){return{type:"emphasis",children:[]}}function we(){return{type:"heading",depth:void 0,children:[]}}function He(){return{type:"break"}}function it(){return{type:"html",value:""}}function st(){return{type:"image",title:null,url:"",alt:null}}function dt(){return{type:"link",title:null,url:"",children:[]}}function je(L){return{type:"list",ordered:L.type==="listOrdered",start:null,spread:L._spread,children:[]}}function ut(L){return{type:"listItem",spread:L._spread,checked:null,children:[]}}function ct(){return{type:"paragraph",children:[]}}function Be(){return{type:"strong",children:[]}}function pt(){return{type:"text",value:""}}function jt(){return{type:"thematicBreak"}}}function dn(e){return{line:e.line,column:e.column,offset:e.offset}}function xf(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?xf(e,r):l1(e,r)}}function l1(e,t){let n;for(n in t)if(vf.call(t,n)){if(n==="canContainEols"){const r=t[n];r&&e[n].push(...r)}else if(n==="transforms"){const r=t[n];r&&e[n].push(...r)}else if(n==="enter"||n==="exit"){const r=t[n];r&&Object.assign(e[n],r)}}}function Ef(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ir({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ir({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ir({start:t.start,end:t.end})+") is still open")}function u1(e){Object.assign(this,{Parser:n=>{const r=this.data("settings");return s1(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function c1(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function f1(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
295
+ `}]}function d1(e,t){const n=t.value?t.value+`
296
+ `:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,o={};r&&(o.className=["language-"+r]);let i={type:"element",tagName:"code",properties:o,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function p1(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function h1(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Gn(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let a="";if(i===37&&_t(e.charCodeAt(n+1))&&_t(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(a=String.fromCharCode(i));else if(i>55295&&i<57344){const l=e.charCodeAt(n+1);i<56320&&l>56319&&l<57344?(a=String.fromCharCode(i,l),o=1):a="�"}else a=String.fromCharCode(i);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+o+1,a=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function Sf(e,t){const n=String(t.identifier).toUpperCase(),r=Gn(n.toLowerCase()),o=e.footnoteOrder.indexOf(n);let i;o===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,i=e.footnoteOrder.length):(e.footnoteCounts[n]++,i=o+1);const a=e.footnoteCounts[n],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function m1(e,t){const n=e.footnoteById;let r=1;for(;r in n;)r++;const o=String(r);return n[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:t.children}],position:t.position},Sf(e,{type:"footnoteReference",identifier:o,position:t.position})}function g1(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function y1(e,t){if(e.dangerous){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Tf(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};const o=e.all(t),i=o[0];i&&i.type==="text"?i.value="["+i.value:o.unshift({type:"text",value:"["});const a=o[o.length-1];return a&&a.type==="text"?a.value+=r:o.push({type:"text",value:r}),o}function b1(e,t){const n=e.definition(t.identifier);if(!n)return Tf(e,t);const r={src:Gn(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);const o={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,o),e.applyData(t,o)}function v1(e,t){const n={src:Gn(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function x1(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function E1(e,t){const n=e.definition(t.identifier);if(!n)return Tf(e,t);const r={href:Gn(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);const o={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function S1(e,t){const n={href:Gn(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function T1(e,t,n){const r=e.all(t),o=n?C1(n):Cf(t),i={},a=[];if(typeof t.checked=="boolean"){const f=r[0];let p;f&&f.type==="element"&&f.tagName==="p"?p=f:(p={type:"element",tagName:"p",properties:{},children:[]},r.unshift(p)),p.children.length>0&&p.children.unshift({type:"text",value:" "}),p.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let l=-1;for(;++l<r.length;){const f=r[l];(o||l!==0||f.type!=="element"||f.tagName!=="p")&&a.push({type:"text",value:`
297
+ `}),f.type==="element"&&f.tagName==="p"&&!o?a.push(...f.children):a.push(f)}const c=r[r.length-1];c&&(o||c.type!=="element"||c.tagName!=="p")&&a.push({type:"text",value:`
298
+ `});const u={type:"element",tagName:"li",properties:i,children:a};return e.patch(t,u),e.applyData(t,u)}function C1(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Cf(n[r])}return t}function Cf(e){const t=e.spread;return t??e.children.length>1}function w1(e,t){const n={},r=e.all(t);let o=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++o<r.length;){const a=r[o];if(a.type==="element"&&a.tagName==="li"&&a.properties&&Array.isArray(a.properties.className)&&a.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function O1(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function R1(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function k1(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Vs=wf("start"),qs=wf("end");function P1(e){return{start:Vs(e),end:qs(e)}}function wf(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};return{line:r.line||null,column:r.column||null,offset:r.offset>-1?r.offset:null}}}function _1(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const a={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],a),o.push(a)}if(n.length>0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=Vs(t.children[1]),c=qs(t.children[t.children.length-1]);l.line&&c.line&&(a.position={start:l,end:c}),o.push(a)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)}function I1(e,t,n){const r=n?n.children:void 0,i=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,l=a?a.length:t.children.length;let c=-1;const u=[];for(;++c<l;){const p=t.children[c],h={},m=a?a[c]:void 0;m&&(h.align=m);let g={type:"element",tagName:i,properties:h,children:[]};p&&(g.children=e.all(p),e.patch(p,g),g=e.applyData(t,g)),u.push(g)}const f={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,f),e.applyData(t,f)}function A1(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Of=9,Rf=32;function N1(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(kf(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(kf(t.slice(o),o>0,!1)),i.join("")}function kf(e,t,n){let r=0,o=e.length;if(t){let i=e.codePointAt(r);for(;i===Of||i===Rf;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(o-1);for(;i===Of||i===Rf;)o--,i=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}function F1(e,t){const n={type:"text",value:N1(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function $1(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const M1={blockquote:c1,break:f1,code:d1,delete:p1,emphasis:h1,footnoteReference:Sf,footnote:m1,heading:g1,html:y1,imageReference:b1,image:v1,inlineCode:x1,linkReference:E1,link:S1,listItem:T1,list:w1,paragraph:O1,root:R1,strong:k1,table:_1,tableCell:A1,tableRow:I1,text:F1,thematicBreak:$1,toml:Ko,yaml:Ko,definition:Ko,footnoteDefinition:Ko};function Ko(){return null}const Pf=function(e){if(e==null)return B1;if(typeof e=="string")return j1(e);if(typeof e=="object")return Array.isArray(e)?D1(e):L1(e);if(typeof e=="function")return Go(e);throw new Error("Expected function, string, or object as test")};function D1(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Pf(e[n]);return Go(r);function r(...o){let i=-1;for(;++i<t.length;)if(t[i].call(this,...o))return!0;return!1}}function L1(e){return Go(t);function t(n){let r;for(r in e)if(n[r]!==e[r])return!1;return!0}}function j1(e){return Go(t);function t(n){return n&&n.type===e}}function Go(e){return t;function t(n,...r){return!!(n&&typeof n=="object"&&"type"in n&&e.call(this,n,...r))}}function B1(){return!0}function pT(e){return e}const z1=!0,_f=!1,U1="skip",V1=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null);const o=Pf(t),i=r?-1:1;a(e,void 0,[])();function a(l,c,u){const f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(l.type+(h?"<"+h+">":""))+")"})}return p;function p(){let h=[],m,g,d;if((!t||o(l,c,u[u.length-1]||null))&&(h=q1(n(l,u)),h[0]===_f))return h;if(l.children&&h[0]!==U1)for(g=(r?l.children.length:-1)+i,d=u.concat(l);g>-1&&g<l.children.length;){if(m=a(l.children[g],g,d)(),m[0]===_f)return m;g=typeof m[1]=="number"?m[1]:g+i}return h}}};function q1(e){return Array.isArray(e)?e:typeof e=="number"?[z1,e]:[e]}const Ws=function(e,t,n,r){typeof t=="function"&&typeof n!="function"&&(r=n,n=t,t=null),V1(e,t,o,r);function o(i,a){const l=a[a.length-1];return n(i,l?l.children.indexOf(i):null,l)}};function W1(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}const If={}.hasOwnProperty;function H1(e){const t=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return Ws(e,"definition",r=>{const o=Af(r.identifier);o&&!If.call(t,o)&&(t[o]=r)}),n;function n(r){const o=Af(r);return o&&If.call(t,o)?t[o]:null}}function Af(e){return String(e||"").toUpperCase()}const Xo={}.hasOwnProperty;function Y1(e,t){const n=t||{},r=n.allowDangerousHtml||!1,o={};return a.dangerous=r,a.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,a.footnoteLabel=n.footnoteLabel||"Footnotes",a.footnoteLabelTagName=n.footnoteLabelTagName||"h2",a.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},a.footnoteBackLabel=n.footnoteBackLabel||"Back to content",a.unknownHandler=n.unknownHandler,a.passThrough=n.passThrough,a.handlers={...M1,...n.handlers},a.definition=H1(e),a.footnoteById=o,a.footnoteOrder=[],a.footnoteCounts={},a.patch=K1,a.applyData=G1,a.one=l,a.all=c,a.wrap=J1,a.augment=i,Ws(e,"footnoteDefinition",u=>{const f=String(u.identifier).toUpperCase();Xo.call(o,f)||(o[f]=u)}),a;function i(u,f){if(u&&"data"in u&&u.data){const p=u.data;p.hName&&(f.type!=="element"&&(f={type:"element",tagName:"",properties:{},children:[]}),f.tagName=p.hName),f.type==="element"&&p.hProperties&&(f.properties={...f.properties,...p.hProperties}),"children"in f&&f.children&&p.hChildren&&(f.children=p.hChildren)}if(u){const p="type"in u?u:{position:u};W1(p)||(f.position={start:Vs(p),end:qs(p)})}return f}function a(u,f,p,h){return Array.isArray(p)&&(h=p,p={}),i(u,{type:"element",tagName:f,properties:p||{},children:h||[]})}function l(u,f){return Nf(a,u,f)}function c(u){return Hs(a,u)}}function K1(e,t){e.position&&(t.position=P1(e))}function G1(e,t){let n=t;if(e&&e.data){const r=e.data.hName,o=e.data.hChildren,i=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&i&&(n.properties={...n.properties,...i}),"children"in n&&n.children&&o!==null&&o!==void 0&&(n.children=o)}return n}function Nf(e,t,n){const r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return Xo.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?{...t,children:Hs(e,t)}:t:e.unknownHandler?e.unknownHandler(e,t,n):X1(e,t)}function Hs(e,t){const n=[];if("children"in t){const r=t.children;let o=-1;for(;++o<r.length;){const i=Nf(e,r[o],t);if(i){if(o&&r[o-1].type==="break"&&(!Array.isArray(i)&&i.type==="text"&&(i.value=i.value.replace(/^\s+/,"")),!Array.isArray(i)&&i.type==="element")){const a=i.children[0];a&&a.type==="text"&&(a.value=a.value.replace(/^\s+/,""))}Array.isArray(i)?n.push(...i):n.push(i)}}}return n}function X1(e,t){const n=t.data||{},r="value"in t&&!(Xo.call(n,"hProperties")||Xo.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:Hs(e,t)};return e.patch(t,r),e.applyData(t,r)}function J1(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
299
+ `});++r<e.length;)r&&n.push({type:"text",value:`
300
+ `}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
301
+ `}),n}function Q1(e){const t=[];let n=-1;for(;++n<e.footnoteOrder.length;){const r=e.footnoteById[e.footnoteOrder[n]];if(!r)continue;const o=e.all(r),i=String(r.identifier).toUpperCase(),a=Gn(i.toLowerCase());let l=0;const c=[];for(;++l<=e.footnoteCounts[i];){const p={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"↩"}]};l>1&&p.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),c.length>0&&c.push({type:"text",value:" "}),c.push(p)}const u=o[o.length-1];if(u&&u.type==="element"&&u.tagName==="p"){const p=u.children[u.children.length-1];p&&p.type==="text"?p.value+=" ":u.children.push({type:"text",value:" "}),u.children.push(...c)}else o.push(...c);const f={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+a},children:e.wrap(o,!0)};e.patch(r,f),t.push(f)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(e.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:`
302
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(t,!0)},{type:"text",value:`
303
+ `}]}}function Ff(e,t){const n=Y1(e,t),r=n.one(e,null),o=Q1(n);return o&&r.children.push({type:"text",value:`
304
+ `},o),Array.isArray(r)?{type:"root",children:r}:r}const Z1=function(e,t){return e&&"run"in e?eS(e,t):tS(e||t)};function eS(e,t){return(n,r,o)=>{e.run(Ff(n,t),r,i=>{o(i)})}}function tS(e){return t=>Ff(t,e)}class $r{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}$r.prototype.property={},$r.prototype.normal={},$r.prototype.space=null;function $f(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new $r(n,r,t)}function Ys(e){return e.toLowerCase()}class Lt{constructor(t,n){this.property=t,this.attribute=n}}Lt.prototype.space=null,Lt.prototype.boolean=!1,Lt.prototype.booleanish=!1,Lt.prototype.overloadedBoolean=!1,Lt.prototype.number=!1,Lt.prototype.commaSeparated=!1,Lt.prototype.spaceSeparated=!1,Lt.prototype.commaOrSpaceSeparated=!1,Lt.prototype.mustUseProperty=!1,Lt.prototype.defined=!1;let nS=0;const be=Rn(),ot=Rn(),Mf=Rn(),J=Rn(),We=Rn(),Xn=Rn(),It=Rn();function Rn(){return 2**++nS}const Ks=Object.freeze(Object.defineProperty({__proto__:null,boolean:be,booleanish:ot,commaOrSpaceSeparated:It,commaSeparated:Xn,number:J,overloadedBoolean:Mf,spaceSeparated:We},Symbol.toStringTag,{value:"Module"})),Gs=Object.keys(Ks);class Xs extends Lt{constructor(t,n,r,o){let i=-1;if(super(t,n),Df(this,"space",o),typeof r=="number")for(;++i<Gs.length;){const a=Gs[i];Df(this,Gs[i],(r&Ks[a])===Ks[a])}}}Xs.prototype.defined=!0;function Df(e,t,n){n&&(e[t]=n)}const rS={}.hasOwnProperty;function Jn(e){const t={},n={};let r;for(r in e.properties)if(rS.call(e.properties,r)){const o=e.properties[r],i=new Xs(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Ys(r)]=r,n[Ys(i.attribute)]=r}return new $r(t,n,e.space)}const Lf=Jn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),jf=Jn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Bf(e,t){return t in e?e[t]:t}function zf(e,t){return Bf(e,t.toLowerCase())}const Uf=Jn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:zf,properties:{xmlns:null,xmlnsXLink:null}}),Vf=Jn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ot,ariaAutoComplete:null,ariaBusy:ot,ariaChecked:ot,ariaColCount:J,ariaColIndex:J,ariaColSpan:J,ariaControls:We,ariaCurrent:null,ariaDescribedBy:We,ariaDetails:null,ariaDisabled:ot,ariaDropEffect:We,ariaErrorMessage:null,ariaExpanded:ot,ariaFlowTo:We,ariaGrabbed:ot,ariaHasPopup:null,ariaHidden:ot,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:We,ariaLevel:J,ariaLive:null,ariaModal:ot,ariaMultiLine:ot,ariaMultiSelectable:ot,ariaOrientation:null,ariaOwns:We,ariaPlaceholder:null,ariaPosInSet:J,ariaPressed:ot,ariaReadOnly:ot,ariaRelevant:null,ariaRequired:ot,ariaRoleDescription:We,ariaRowCount:J,ariaRowIndex:J,ariaRowSpan:J,ariaSelected:ot,ariaSetSize:J,ariaSort:null,ariaValueMax:J,ariaValueMin:J,ariaValueNow:J,ariaValueText:null,role:null}}),oS=Jn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:zf,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Xn,acceptCharset:We,accessKey:We,action:null,allow:null,allowFullScreen:be,allowPaymentRequest:be,allowUserMedia:be,alt:null,as:null,async:be,autoCapitalize:null,autoComplete:We,autoFocus:be,autoPlay:be,blocking:We,capture:null,charSet:null,checked:be,cite:null,className:We,cols:J,colSpan:null,content:null,contentEditable:ot,controls:be,controlsList:We,coords:J|Xn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:be,defer:be,dir:null,dirName:null,disabled:be,download:Mf,draggable:ot,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:be,formTarget:null,headers:We,height:J,hidden:be,high:J,href:null,hrefLang:null,htmlFor:We,httpEquiv:We,id:null,imageSizes:null,imageSrcSet:null,inert:be,inputMode:null,integrity:null,is:null,isMap:be,itemId:null,itemProp:We,itemRef:We,itemScope:be,itemType:We,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:be,low:J,manifest:null,max:null,maxLength:J,media:null,method:null,min:null,minLength:J,multiple:be,muted:be,name:null,nonce:null,noModule:be,noValidate:be,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:be,optimum:J,pattern:null,ping:We,placeholder:null,playsInline:be,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:be,referrerPolicy:null,rel:We,required:be,reversed:be,rows:J,rowSpan:J,sandbox:We,scope:null,scoped:be,seamless:be,selected:be,shadowRootClonable:be,shadowRootDelegatesFocus:be,shadowRootMode:null,shape:null,size:J,sizes:null,slot:null,span:J,spellCheck:ot,src:null,srcDoc:null,srcLang:null,srcSet:null,start:J,step:null,style:null,tabIndex:J,target:null,title:null,translate:null,type:null,typeMustMatch:be,useMap:null,value:ot,width:J,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:We,axis:null,background:null,bgColor:null,border:J,borderColor:null,bottomMargin:J,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:be,declare:be,event:null,face:null,frame:null,frameBorder:null,hSpace:J,leftMargin:J,link:null,longDesc:null,lowSrc:null,marginHeight:J,marginWidth:J,noResize:be,noHref:be,noShade:be,noWrap:be,object:null,profile:null,prompt:null,rev:null,rightMargin:J,rules:null,scheme:null,scrolling:ot,standby:null,summary:null,text:null,topMargin:J,valueType:null,version:null,vAlign:null,vLink:null,vSpace:J,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:be,disableRemotePlayback:be,prefix:null,property:null,results:J,security:null,unselectable:null}}),iS=Jn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:Bf,properties:{about:It,accentHeight:J,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:J,amplitude:J,arabicForm:null,ascent:J,attributeName:null,attributeType:null,azimuth:J,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:J,by:null,calcMode:null,capHeight:J,className:We,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:J,diffuseConstant:J,direction:null,display:null,dur:null,divisor:J,dominantBaseline:null,download:be,dx:null,dy:null,edgeMode:null,editable:null,elevation:J,enableBackground:null,end:null,event:null,exponent:J,externalResourcesRequired:null,fill:null,fillOpacity:J,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Xn,g2:Xn,glyphName:Xn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:J,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:J,horizOriginX:J,horizOriginY:J,id:null,ideographic:J,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:J,k:J,k1:J,k2:J,k3:J,k4:J,kernelMatrix:It,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:J,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:J,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:J,overlineThickness:J,paintOrder:null,panose1:null,path:null,pathLength:J,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:We,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:J,pointsAtY:J,pointsAtZ:J,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:It,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:It,rev:It,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:It,requiredFeatures:It,requiredFonts:It,requiredFormats:It,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:J,specularExponent:J,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:J,strikethroughThickness:J,string:null,stroke:null,strokeDashArray:It,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:J,strokeOpacity:J,strokeWidth:null,style:null,surfaceScale:J,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:It,tabIndex:J,tableValues:null,target:null,targetX:J,targetY:J,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:It,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:J,underlineThickness:J,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:J,values:null,vAlphabetic:J,vMathematical:J,vectorEffect:null,vHanging:J,vIdeographic:J,version:null,vertAdvY:J,vertOriginX:J,vertOriginY:J,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:J,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),sS=/^data[-\w.:]+$/i,qf=/-[a-z]/g,aS=/[A-Z]/g;function lS(e,t){const n=Ys(t);let r=t,o=Lt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&sS.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(qf,cS);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!qf.test(i)){let a=i.replace(aS,uS);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}o=Xs}return new o(r,t)}function uS(e){return"-"+e.toLowerCase()}function cS(e){return e.charAt(1).toUpperCase()}const Wf={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},fS=$f([jf,Lf,Uf,Vf,oS],"html"),dS=$f([jf,Lf,Uf,Vf,iS],"svg");function pS(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return t=>{Ws(t,"element",(n,r,o)=>{const i=o;let a;if(e.allowedElements?a=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(a=e.disallowedElements.includes(n.tagName)),!a&&e.allowElement&&typeof r=="number"&&(a=!e.allowElement(n,r,i)),a&&typeof r=="number")return e.unwrapDisallowed&&n.children?i.children.splice(r,1,...n.children):i.children.splice(r,1),r})}}var Jo={exports:{}},Ie={};/**
305
+ * @license React
306
+ * react-is.production.min.js
307
+ *
308
+ * Copyright (c) Facebook, Inc. and its affiliates.
309
+ *
310
+ * This source code is licensed under the MIT license found in the
311
+ * LICENSE file in the root directory of this source tree.
312
+ */var Hf;function hS(){if(Hf)return Ie;Hf=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function d(y){if(typeof y=="object"&&y!==null){var x=y.$$typeof;switch(x){case e:switch(y=y.type,y){case n:case o:case r:case u:case f:return y;default:switch(y=y&&y.$$typeof,y){case l:case a:case c:case h:case p:case i:return y;default:return x}}case t:return x}}}return Ie.ContextConsumer=a,Ie.ContextProvider=i,Ie.Element=e,Ie.ForwardRef=c,Ie.Fragment=n,Ie.Lazy=h,Ie.Memo=p,Ie.Portal=t,Ie.Profiler=o,Ie.StrictMode=r,Ie.Suspense=u,Ie.SuspenseList=f,Ie.isAsyncMode=function(){return!1},Ie.isConcurrentMode=function(){return!1},Ie.isContextConsumer=function(y){return d(y)===a},Ie.isContextProvider=function(y){return d(y)===i},Ie.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},Ie.isForwardRef=function(y){return d(y)===c},Ie.isFragment=function(y){return d(y)===n},Ie.isLazy=function(y){return d(y)===h},Ie.isMemo=function(y){return d(y)===p},Ie.isPortal=function(y){return d(y)===t},Ie.isProfiler=function(y){return d(y)===o},Ie.isStrictMode=function(y){return d(y)===r},Ie.isSuspense=function(y){return d(y)===u},Ie.isSuspenseList=function(y){return d(y)===f},Ie.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===n||y===o||y===r||y===u||y===f||y===m||typeof y=="object"&&y!==null&&(y.$$typeof===h||y.$$typeof===p||y.$$typeof===i||y.$$typeof===a||y.$$typeof===c||y.$$typeof===g||y.getModuleId!==void 0)},Ie.typeOf=d,Ie}var Ae={};/**
313
+ * @license React
314
+ * react-is.development.js
315
+ *
316
+ * Copyright (c) Facebook, Inc. and its affiliates.
317
+ *
318
+ * This source code is licensed under the MIT license found in the
319
+ * LICENSE file in the root directory of this source tree.
320
+ */var Yf;function mS(){return Yf||(Yf=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),g=!1,d=!1,y=!1,x=!1,k=!1,S;S=Symbol.for("react.module.reference");function w(q){return!!(typeof q=="string"||typeof q=="function"||q===n||q===o||k||q===r||q===u||q===f||x||q===m||g||d||y||typeof q=="object"&&q!==null&&(q.$$typeof===h||q.$$typeof===p||q.$$typeof===i||q.$$typeof===a||q.$$typeof===c||q.$$typeof===S||q.getModuleId!==void 0))}function C(q){if(typeof q=="object"&&q!==null){var pe=q.$$typeof;switch(pe){case e:var we=q.type;switch(we){case n:case o:case r:case u:case f:return we;default:var He=we&&we.$$typeof;switch(He){case l:case a:case c:case h:case p:case i:return He;default:return pe}}case t:return pe}}}var T=a,b=i,P=e,I=c,A=n,M=h,D=p,F=t,N=o,$=r,U=u,Y=f,z=!1,ie=!1;function v(q){return z||(z=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function W(q){return ie||(ie=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Z(q){return C(q)===a}function E(q){return C(q)===i}function K(q){return typeof q=="object"&&q!==null&&q.$$typeof===e}function te(q){return C(q)===c}function Q(q){return C(q)===n}function oe(q){return C(q)===h}function ee(q){return C(q)===p}function ne(q){return C(q)===t}function se(q){return C(q)===o}function le(q){return C(q)===r}function H(q){return C(q)===u}function ue(q){return C(q)===f}Ae.ContextConsumer=T,Ae.ContextProvider=b,Ae.Element=P,Ae.ForwardRef=I,Ae.Fragment=A,Ae.Lazy=M,Ae.Memo=D,Ae.Portal=F,Ae.Profiler=N,Ae.StrictMode=$,Ae.Suspense=U,Ae.SuspenseList=Y,Ae.isAsyncMode=v,Ae.isConcurrentMode=W,Ae.isContextConsumer=Z,Ae.isContextProvider=E,Ae.isElement=K,Ae.isForwardRef=te,Ae.isFragment=Q,Ae.isLazy=oe,Ae.isMemo=ee,Ae.isPortal=ne,Ae.isProfiler=se,Ae.isStrictMode=le,Ae.isSuspense=H,Ae.isSuspenseList=ue,Ae.isValidElementType=w,Ae.typeOf=C}()),Ae}var Kf;function gS(){return Kf||(Kf=1,process.env.NODE_ENV==="production"?Jo.exports=hS():Jo.exports=mS()),Jo.exports}var yS=gS();const bS=on(yS);function vS(e){const t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function xS(e){return e.join(" ").trim()}function ES(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var Qo={exports:{}},Js,Gf;function SS(){if(Gf)return Js;Gf=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,c=`
321
+ `,u="/",f="*",p="",h="comment",m="declaration";Js=function(d,y){if(typeof d!="string")throw new TypeError("First argument must be a string");if(!d)return[];y=y||{};var x=1,k=1;function S(F){var N=F.match(t);N&&(x+=N.length);var $=F.lastIndexOf(c);k=~$?F.length-$:k+F.length}function w(){var F={line:x,column:k};return function(N){return N.position=new C(F),P(),N}}function C(F){this.start=F,this.end={line:x,column:k},this.source=y.source}C.prototype.content=d;function T(F){var N=new Error(y.source+":"+x+":"+k+": "+F);if(N.reason=F,N.filename=y.source,N.line=x,N.column=k,N.source=d,!y.silent)throw N}function b(F){var N=F.exec(d);if(N){var $=N[0];return S($),d=d.slice($.length),N}}function P(){b(n)}function I(F){var N;for(F=F||[];N=A();)N!==!1&&F.push(N);return F}function A(){var F=w();if(!(u!=d.charAt(0)||f!=d.charAt(1))){for(var N=2;p!=d.charAt(N)&&(f!=d.charAt(N)||u!=d.charAt(N+1));)++N;if(N+=2,p===d.charAt(N-1))return T("End of comment missing");var $=d.slice(2,N-2);return k+=2,S($),d=d.slice(N),k+=2,F({type:h,comment:$})}}function M(){var F=w(),N=b(r);if(N){if(A(),!b(o))return T("property missing ':'");var $=b(i),U=F({type:m,property:g(N[0].replace(e,p)),value:$?g($[0].replace(e,p)):p});return b(a),U}}function D(){var F=[];I(F);for(var N;N=M();)N!==!1&&(F.push(N),I(F));return F}return P(),D()};function g(d){return d?d.replace(l,p):p}return Js}var Xf;function TS(){if(Xf)return Qo.exports;Xf=1;var e=SS();function t(n,r){var o=null;if(!n||typeof n!="string")return o;for(var i,a=e(n),l=typeof r=="function",c,u,f=0,p=a.length;f<p;f++)i=a[f],c=i.property,u=i.value,l?r(c,u,i):u&&(o||(o={}),o[c]=u);return o}return Qo.exports=t,Qo.exports.default=t,Qo.exports}var CS=TS();const wS=on(CS),Qs={}.hasOwnProperty,OS=new Set(["table","thead","tbody","tfoot","tr"]);function Jf(e,t){const n=[];let r=-1,o;for(;++r<t.children.length;)o=t.children[r],o.type==="element"?n.push(RS(e,o,r,t)):o.type==="text"?(t.type!=="element"||!OS.has(t.tagName)||!vS(o))&&n.push(o.value):o.type==="raw"&&!e.options.skipHtml&&n.push(o.value);return n}function RS(e,t,n,r){const o=e.options,i=o.transformLinkUri===void 0?W0:o.transformLinkUri,a=e.schema,l=t.tagName,c={};let u=a,f;if(a.space==="html"&&l==="svg"&&(u=dS,e.schema=u),t.properties)for(f in t.properties)Qs.call(t.properties,f)&&PS(c,f,t.properties[f],e);(l==="ol"||l==="ul")&&e.listDepth++;const p=Jf(e,t);(l==="ol"||l==="ul")&&e.listDepth--,e.schema=a;const h=t.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=o.components&&Qs.call(o.components,l)?o.components[l]:l,g=typeof m=="string"||m===fe.Fragment;if(!bS.isValidElementType(m))throw new TypeError(`Component for name \`${l}\` not defined or is not renderable`);if(c.key=n,l==="a"&&o.linkTarget&&(c.target=typeof o.linkTarget=="function"?o.linkTarget(String(c.href||""),t.children,typeof c.title=="string"?c.title:null):o.linkTarget),l==="a"&&i&&(c.href=i(String(c.href||""),t.children,typeof c.title=="string"?c.title:null)),!g&&l==="code"&&r.type==="element"&&r.tagName!=="pre"&&(c.inline=!0),!g&&(l==="h1"||l==="h2"||l==="h3"||l==="h4"||l==="h5"||l==="h6")&&(c.level=Number.parseInt(l.charAt(1),10)),l==="img"&&o.transformImageUri&&(c.src=o.transformImageUri(String(c.src||""),String(c.alt||""),typeof c.title=="string"?c.title:null)),!g&&l==="li"&&r.type==="element"){const d=kS(t);c.checked=d&&d.properties?!!d.properties.checked:null,c.index=Zs(r,t),c.ordered=r.tagName==="ol"}return!g&&(l==="ol"||l==="ul")&&(c.ordered=l==="ol",c.depth=e.listDepth),(l==="td"||l==="th")&&(c.align&&(c.style||(c.style={}),c.style.textAlign=c.align,delete c.align),g||(c.isHeader=l==="th")),!g&&l==="tr"&&r.type==="element"&&(c.isHeader=r.tagName==="thead"),o.sourcePos&&(c["data-sourcepos"]=AS(h)),!g&&o.rawSourcePos&&(c.sourcePosition=t.position),!g&&o.includeElementIndex&&(c.index=Zs(r,t),c.siblingCount=Zs(r)),g||(c.node=t),p.length>0?fe.createElement(m,c,p):fe.createElement(m,c)}function kS(e){let t=-1;for(;++t<e.children.length;){const n=e.children[t];if(n.type==="element"&&n.tagName==="input")return n}return null}function Zs(e,t){let n=-1,r=0;for(;++n<e.children.length&&e.children[n]!==t;)e.children[n].type==="element"&&r++;return r}function PS(e,t,n,r){const o=lS(r.schema,t);let i=n;i==null||i!==i||(Array.isArray(i)&&(i=o.commaSeparated?ES(i):xS(i)),o.property==="style"&&typeof i=="string"&&(i=_S(i)),o.space&&o.property?e[Qs.call(Wf,o.property)?Wf[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function _S(e){const t={};try{wS(e,n)}catch{}return t;function n(r,o){const i=r.slice(0,4)==="-ms-"?`ms-${r.slice(4)}`:r;t[i.replace(/-([a-z])/g,IS)]=o}}function IS(e,t){return t.toUpperCase()}function AS(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(String).join("")}const Qf={}.hasOwnProperty,NS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Zo={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function ea(e){for(const i in Zo)if(Qf.call(Zo,i)&&Qf.call(e,i)){const a=Zo[i];console.warn(`[react-markdown] Warning: please ${a.to?`use \`${a.to}\` instead of`:"remove"} \`${i}\` (see <${NS}#${a.id}> for more info)`),delete Zo[i]}const t=ux().use(u1).use(e.remarkPlugins||[]).use(Z1,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(pS,e),n=new Bc;typeof e.children=="string"?n.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let o=fe.createElement(fe.Fragment,{},Jf({options:e,schema:fS,listDepth:0},r));return e.className&&(o=fe.createElement("div",{className:e.className},o)),o}ea.propTypes={children:s.string,className:s.string,allowElement:s.func,allowedElements:s.arrayOf(s.string),disallowedElements:s.arrayOf(s.string),unwrapDisallowed:s.bool,remarkPlugins:s.arrayOf(s.oneOfType([s.object,s.func,s.arrayOf(s.oneOfType([s.bool,s.string,s.object,s.func,s.arrayOf(s.any)]))])),rehypePlugins:s.arrayOf(s.oneOfType([s.object,s.func,s.arrayOf(s.oneOfType([s.bool,s.string,s.object,s.func,s.arrayOf(s.any)]))])),sourcePos:s.bool,rawSourcePos:s.bool,skipHtml:s.bool,includeElementIndex:s.bool,transformLinkUri:s.oneOfType([s.func,s.bool]),linkTarget:s.oneOfType([s.func,s.string]),transformImageUri:s.func,components:s.object};var Mr={},Zf;function FS(){if(Zf)return Mr;Zf=1;var e=fo();Object.defineProperty(Mr,"__esModule",{value:!0}),Mr.default=void 0;var t=e(Gu()),n=ei();return Mr.default=(0,t.default)((0,n.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"),Mr}var $S=FS();const MS=on($S),DS=({chatbotId:e,open:t,onClose:n})=>{const[r,o]=fe.useState(null),[i,a]=fe.useState(!1),[l,c]=fe.useState(null),u=async()=>{a(!0),c(null);try{const f=await Qe.get(`https://rag-flask-api.onrender.com/summary/${e}`);f.status===200&&f.data.summary?o(f.data.summary):c("Summary not found for this chatbot.")}catch(f){c("Failed to fetch summary. Please try again."),console.error("Error fetching summary:",f)}finally{a(!1)}};return fe.useEffect(()=>{t&&u()},[t]),B.jsx(Zi,{open:t,onClose:n,"aria-labelledby":"summary-modal-title","aria-describedby":"summary-modal-description",children:B.jsxs(Ut,{sx:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"80%",maxWidth:600,bgcolor:"background.paper",borderRadius:4,boxShadow:24,p:4},children:[B.jsxs(Ut,{sx:{display:"flex",justifyContent:"space-between",mb:2},children:[B.jsx(Sn,{id:"summary-modal-title",variant:"h6",component:"h2",children:"Document Summary"}),B.jsx(bo,{onClick:n,children:B.jsx(MS,{})})]}),i?B.jsx(Ut,{sx:{display:"flex",justifyContent:"center",my:4},children:B.jsx(du,{})}):l?B.jsx(Sn,{color:"error",children:l}):B.jsx(Ut,{sx:{maxHeight:300,overflowY:"auto",padding:2,border:"1px solid #ddd",borderRadius:2,backgroundColor:"#f9f9f9"},children:B.jsx(ea,{children:r})}),B.jsx(qn,{variant:"contained",sx:{mt:2},onClick:n,fullWidth:!0,children:"Close"})]})})},LS=({chatbotId:e})=>{if(!e||typeof e!="string")throw new Error("A valid chatbotId prop must be provided.");fe.useEffect(()=>{e.trim()||console.error("Chatbot ID is required to initialize.")},[e]);const t=`
322
+ You are an intelligent assistant designed to provide helpful and informative responses tailored to the needs of students. Your responses will be based on the context provided by a Retrieval-Augmented Generation (RAG) model, which combines both retrieval and generation techniques to deliver accurate answers.
323
+
324
+ Let’s take a look at the information you have:
325
+ - **Information**: {context}
326
+
327
+ - **Previous interactions (History)**: {history}
328
+
329
+ - **Question**: {question}
330
+
331
+ Your goal is to engage with the student and give a clear, concise, and accurate answer to their question based on the information above. If the question can be answered with specific details, make sure to include those. If the answer isn't straightforward, take a moment to provide a brief explanation or rationale to help the student understand.
332
+
333
+ If you're unsure or can't find relevant information to respond, feel free to say, "I don't know." It's always okay to admit when you need more information!
334
+
335
+ Please format your response like this:
336
+ - Start with a direct answer to the question.
337
+ - If needed, share any additional context or details that might help.
338
+ `,[n,r]=fe.useState(!1),[o,i]=fe.useState(""),[a,l]=fe.useState(t),[c,u]=fe.useState(""),[f,p]=fe.useState(()=>localStorage.getItem("conversationId")||null),[h,m]=fe.useState(!1),g=dl("(max-width:600px)"),d=dl("(min-width:601px) and (max-width:960px)"),[y,x]=fe.useState(()=>{const z=localStorage.getItem("responses");return z?JSON.parse(z):[]}),[k,S]=fe.useState(!1),[w,C]=fe.useState(null),[T,b]=fe.useState(null),P="Please introduce yourself as a friendly assistant who is here to help with questions about the topic we're discussing. Let the user know that you're ready to assist them with any questions they might have. You are speaking with a student and have been trained by the teacher";if(!e.trim()){C("Chatbot ID is required. Please pass a valid chatbotId.");return}const I=()=>{r(!n),console.log("Chat toggled. Is open:",!n)},A=async()=>{if(!e.trim()){C("Please enter a chatbot ID before starting a conversation.");return}S(!0),C(null);try{const z=new FormData;z.append("chatbot_id",e);const ie=await Qe.post("https://rag-flask-api.onrender.com/start_conversation",z,{headers:{"Content-Type":"multipart/form-data"}});if(ie.data.conversation_id){const v=ie.data.conversation_id;p(v),localStorage.setItem("conversationId",v),console.log("Conversation started. ID:",v),await M(P,v)}else throw new Error("Failed to retrieve conversation ID from server.")}catch(z){C("Error starting conversation. Please try again."),console.error("Error starting conversation:",z),p(null)}finally{S(!1)}},M=async(z,ie=f)=>{const v=ie||f;if(!v){C("No conversation ID found. Please start a conversation first.");return}Y(),S(!0),C(null);try{const W=new FormData;W.append("question",z),W.append("chatbot_id",e),W.append("conversation_id",v),W.append("custom_prompt_template",a),console.log("Sending message to /ask_test:",z);const Z=await Qe.post("https://rag-flask-api.onrender.com/ask_test",W,{headers:{"Content-Type":"multipart/form-data"}});console.log("Response received:",Z.data);const E=z===P?{answer:Z.data.answer}:{question:z,answer:Z.data.answer};Z.data.context&&i(Z.data.context),x(K=>{const te=[...K,E];return localStorage.setItem("responses",JSON.stringify(te)),te})}catch(W){C("Error sending message. Please try again."),console.error("Error sending message:",W)}finally{S(!1)}},D=fe.useRef(null),F=async()=>{c.trim()&&(f?console.log("Using existing conversation ID:",f):(console.log("No conversation ID found. Starting conversation..."),await A()),await M(c),u(""),N())},N=()=>{D.current&&D.current.scrollIntoView({behavior:"smooth"})};fe.useEffect(()=>{N()},[y]);const $=async()=>{S(!0),C(null);try{const z=new FormData;z.append("conversation_id",f),z.append("chatbot_id",e),await Qe.post("https://rag-flask-api.onrender.com/end_conversation",z,{headers:{"Content-Type":"multipart/form-data"}}),p(null),x([]),u(""),localStorage.removeItem("conversationId"),localStorage.removeItem("responses"),console.log("Conversation ended. State reset.")}catch(z){C("Error ending conversation. Please try again."),console.error("Error ending conversation:",z)}finally{S(!1)}},U=z=>{z.key==="Enter"&&(z.preventDefault(),F())},Y=()=>{T&&(clearTimeout(T),console.log("Inactivity timer reset.")),b(setTimeout($,144e5))};return fe.useEffect(()=>{const z=["click","keypress","mousemove"],ie=()=>Y();return z.forEach(v=>{window.addEventListener(v,ie)}),()=>{z.forEach(v=>{window.removeEventListener(v,ie)}),clearTimeout(T)}},[T]),B.jsxs(B.Fragment,{children:[n?null:B.jsx(bo,{onClick:I,sx:{position:"fixed",bottom:20,right:20,bgcolor:"#CDDAFF",color:"white",width:60,height:60,borderRadius:"50%",boxShadow:"0px 4px 15px rgba(0, 0, 0, 0.3)","&:hover":{bgcolor:"#0B53C0"},transition:"background-color 0.3s, transform 0.3s","&:active":{transform:"scale(0.95)"}},children:B.jsx(Ev,{fontSize:"large"})}),n&&B.jsxs(Gi,{elevation:3,sx:{position:"fixed",bottom:g?0:20,right:g?0:20,width:g?"80%":d?"60%":650,height:g?"50%":d?"55%":700,p:g?1:2,display:"flex",flexDirection:"column",borderRadius:g?0:"16px",backgroundColor:"#F0F4FF",boxShadow:"0px 10px 30px rgba(0, 0, 0, 0.2)"},children:[B.jsxs(Ut,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2},children:[B.jsx(Sn,{variant:"h6",sx:{fontFamily:"Staatliches, Arial, sans-serif",fontWeight:"bold",color:"black",fontSize:g?"1rem":"1.25rem"},children:"AI Study Bot"}),B.jsx(bo,{onClick:I,sx:{position:"absolute",top:10,right:10,width:40,height:40,bgcolor:"#CDDAFF",color:"black","&:hover":{bgcolor:"#0B53C0",color:"white"}},children:"X"})]}),B.jsxs(Ut,{sx:{flexGrow:1,overflowY:"auto",padding:2},children:[k&&B.jsx(Ru,{sx:{position:"absolute",top:0,left:0,width:"100%","& .MuiLinearProgress-bar":{backgroundColor:"#0B53C0"}}}),y.length>0&&y.map((z,ie)=>B.jsxs(Ut,{sx:{display:"flex",flexDirection:"column",alignItems:z.question?"flex-end":"flex-start",mb:2},children:[z.question&&B.jsx(Ut,{sx:{maxWidth:"70%",bgcolor:"#f0f0f0",color:"#555",borderRadius:"15px",p:1,px:2,mb:2,alignSelf:"flex-end",boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.1)"},children:B.jsx(Sn,{variant:"body1",sx:{fontFamily:"Gabarito, Arial, sans-serif",fontSize:"1rem",color:"#555"},children:z.question})}),z.answer&&B.jsx(Ut,{sx:{maxWidth:"70%",bgcolor:"#CDDAFF",color:"black",borderRadius:"15px",p:1,px:2,alignSelf:"flex-start",boxShadow:"0px 2px 5px rgba(0, 0, 0, 0.2)",mb:.3,"&:hover":{bgcolor:"#0B53C0",color:"white"}},children:B.jsx(Sn,{variant:"body1",sx:{fontFamily:"Gabarito, Arial, sans-serif",fontSize:"1rem",color:"inherit",transition:"color 0.3s ease"},children:B.jsx(ea,{children:z.answer})})})]},ie)),B.jsx("div",{ref:D}),w&&B.jsx(Sn,{color:"error",children:w})]}),B.jsxs(Ut,{sx:{mt:2,display:"flex",gap:1},children:[B.jsx(Yu,{variant:"outlined",placeholder:"Type your message...",fullWidth:!0,size:"small",value:c,onChange:z=>u(z.target.value),onKeyDown:U,sx:{fontFamily:"Gabarito, Arial, sans-serif","& .MuiOutlinedInput-root":{fontFamily:"Gabarito, Arial, sans-serif",borderRadius:"20px","& fieldset":{borderColor:"#ccc"},"&:hover fieldset":{borderColor:"#185cc4"}}}}),B.jsx(qn,{variant:"contained",onClick:F,sx:{backgroundColor:"#CDDAFF",color:"black",fontFamily:"Staatliches, sans-serif",fontSize:"1.25rem","&:hover":{backgroundColor:"#0B53C0",color:"white",border:"0px solid #0B53C0"}},children:"Send"})]}),B.jsx(qn,{variant:"outlined",onClick:()=>m(!0),sx:{mt:2,color:"black",fontFamily:"Staatliches, sans-serif",borderColor:"#CDDAFF","&:hover":{borderColor:"#0B53C0",color:"#0B53C0"}},children:"View Document Summary"}),f?B.jsx(qn,{variant:"contained",onClick:$,sx:{backgroundColor:"#CDDAFF",color:"black",fontFamily:"Staatliches, sans-serif",fontSize:"1.25rem",mt:2,"&:hover":{backgroundColor:"#0B53C0",color:"white",border:"0px solid #0B53C0"}},children:"End Conversation"}):B.jsx(qn,{variant:"contained",onClick:A,sx:{backgroundColor:"#CDDAFF",color:"black",fontFamily:"Staatliches, sans-serif",fontSize:"1.25rem",mt:2,"&:hover":{backgroundColor:"#0B53C0",color:"white",border:"0px solid #0B53C0"}},children:"Start Conversation"})]}),B.jsx(DS,{chatbotId:e,open:h,onClose:()=>m(!1)})]})};rn.ChatbotInterface=LS,Object.defineProperty(rn,Symbol.toStringTag,{value:"Module"})});
339
+ //# sourceMappingURL=chatbot-interface.umd.js.map