bonuspluscomponents 0.0.28 → 0.0.30
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.
- package/dist/bonuspluscomponents.cjs.js +218 -10
- package/dist/bonuspluscomponents.es.js +8262 -384
- package/dist/bonuspluscomponents.umd.js +218 -10
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(Ze,ie){typeof exports=="object"&&typeof module<"u"?ie(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],ie):(Ze=typeof globalThis<"u"?globalThis:Ze||self,ie(Ze.bonuspluscomponents={},Ze.React))})(this,function(Ze,ie){"use strict";function us(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const P=us(ie);function cs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ls(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){if(this instanceof n){var o=[null];o.push.apply(o,arguments);var i=Function.bind.apply(t,o);return new i}return t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Wr={exports:{}},Mt={};/**
|
|
2
2
|
* @license React
|
|
3
3
|
* react-jsx-runtime.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var po;function fs(){if(po)return Mt;po=1;var e=ie,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=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(s,c,u){var l,f={},d=null,g=null;u!==void 0&&(d=""+u),c.key!==void 0&&(d=""+c.key),c.ref!==void 0&&(g=c.ref);for(l in c)n.call(c,l)&&!i.hasOwnProperty(l)&&(f[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)f[l]===void 0&&(f[l]=c[l]);return{$$typeof:t,type:s,key:d,ref:g,props:f,_owner:o.current}}return Mt.Fragment=r,Mt.jsx=a,Mt.jsxs=a,Mt}var Dt={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,14 +14,222 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var
|
|
18
|
-
`+
|
|
19
|
-
`)
|
|
20
|
-
`),
|
|
21
|
-
`+
|
|
17
|
+
*/var mo;function ds(){return mo||(mo=1,process.env.NODE_ENV!=="production"&&function(){var e=ie,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=Symbol.iterator,p="@@iterator";function y(h){if(h===null||typeof h!="object")return null;var T=v&&h[v]||h[p];return typeof T=="function"?T:null}var E=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(h){{for(var T=arguments.length,N=new Array(T>1?T-1:0),B=1;B<T;B++)N[B-1]=arguments[B];S("error",h,N)}}function S(h,T,N){{var B=E.ReactDebugCurrentFrame,oe=B.getStackAddendum();oe!==""&&(T+="%s",N=N.concat([oe]));var me=N.map(function(J){return String(J)});me.unshift("Warning: "+T),Function.prototype.apply.call(console[h],console,me)}}var b=!1,m=!1,C=!1,R=!1,V=!1,D;D=Symbol.for("react.module.reference");function $(h){return!!(typeof h=="string"||typeof h=="function"||h===n||h===i||V||h===o||h===u||h===l||R||h===g||b||m||C||typeof h=="object"&&h!==null&&(h.$$typeof===d||h.$$typeof===f||h.$$typeof===a||h.$$typeof===s||h.$$typeof===c||h.$$typeof===D||h.getModuleId!==void 0))}function z(h,T,N){var B=h.displayName;if(B)return B;var oe=T.displayName||T.name||"";return oe!==""?N+"("+oe+")":N}function X(h){return h.displayName||"Context"}function Z(h){if(h==null)return null;if(typeof h.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case n:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case l:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case s:var T=h;return X(T)+".Consumer";case a:var N=h;return X(N._context)+".Provider";case c:return z(h,h.render,"ForwardRef");case f:var B=h.displayName||null;return B!==null?B:Z(h.type)||"Memo";case d:{var oe=h,me=oe._payload,J=oe._init;try{return Z(J(me))}catch{return null}}}return null}var Q=Object.assign,pe=0,ne,ge,he,Le,O,A,Y;function W(){}W.__reactDisabledLog=!0;function I(){{if(pe===0){ne=console.log,ge=console.info,he=console.warn,Le=console.error,O=console.group,A=console.groupCollapsed,Y=console.groupEnd;var h={configurable:!0,enumerable:!0,value:W,writable:!0};Object.defineProperties(console,{info:h,log:h,warn:h,error:h,group:h,groupCollapsed:h,groupEnd:h})}pe++}}function q(){{if(pe--,pe===0){var h={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Q({},h,{value:ne}),info:Q({},h,{value:ge}),warn:Q({},h,{value:he}),error:Q({},h,{value:Le}),group:Q({},h,{value:O}),groupCollapsed:Q({},h,{value:A}),groupEnd:Q({},h,{value:Y})})}pe<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var M=E.ReactCurrentDispatcher,F;function U(h,T,N){{if(F===void 0)try{throw Error()}catch(oe){var B=oe.stack.trim().match(/\n( *(at )?)/);F=B&&B[1]||""}return`
|
|
18
|
+
`+F+h}}var L=!1,K;{var Se=typeof WeakMap=="function"?WeakMap:Map;K=new Se}function _(h,T){if(!h||L)return"";{var N=K.get(h);if(N!==void 0)return N}var B;L=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var me;me=M.current,M.current=null,I();try{if(T){var J=function(){throw Error()};if(Object.defineProperty(J.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(J,[])}catch(Je){B=Je}Reflect.construct(h,[],J)}else{try{J.call()}catch(Je){B=Je}h.call(J.prototype)}}else{try{throw Error()}catch(Je){B=Je}h()}}catch(Je){if(Je&&B&&typeof Je.stack=="string"){for(var H=Je.stack.split(`
|
|
19
|
+
`),$e=B.stack.split(`
|
|
20
|
+
`),_e=H.length-1,Te=$e.length-1;_e>=1&&Te>=0&&H[_e]!==$e[Te];)Te--;for(;_e>=1&&Te>=0;_e--,Te--)if(H[_e]!==$e[Te]){if(_e!==1||Te!==1)do if(_e--,Te--,Te<0||H[_e]!==$e[Te]){var Fe=`
|
|
21
|
+
`+H[_e].replace(" at new "," at ");return h.displayName&&Fe.includes("<anonymous>")&&(Fe=Fe.replace("<anonymous>",h.displayName)),typeof h=="function"&&K.set(h,Fe),Fe}while(_e>=1&&Te>=0);break}}}finally{L=!1,M.current=me,q(),Error.prepareStackTrace=oe}var kt=h?h.displayName||h.name:"",ss=kt?U(kt):"";return typeof h=="function"&&K.set(h,ss),ss}function Oe(h,T,N){return _(h,!1)}function j(h){var T=h.prototype;return!!(T&&T.isReactComponent)}function Ae(h,T,N){if(h==null)return"";if(typeof h=="function")return _(h,j(h));if(typeof h=="string")return U(h);switch(h){case u:return U("Suspense");case l:return U("SuspenseList")}if(typeof h=="object")switch(h.$$typeof){case c:return Oe(h.render);case f:return Ae(h.type,T,N);case d:{var B=h,oe=B._payload,me=B._init;try{return Ae(me(oe),T,N)}catch{}}}return""}var We=Object.prototype.hasOwnProperty,pt={},zr=E.ReactDebugCurrentFrame;function $t(h){if(h){var T=h._owner,N=Ae(h.type,h._source,T?T.type:null);zr.setExtraStackFrame(N)}else zr.setExtraStackFrame(null)}function tr(h,T,N,B,oe){{var me=Function.call.bind(We);for(var J in h)if(me(h,J)){var H=void 0;try{if(typeof h[J]!="function"){var $e=Error((B||"React class")+": "+N+" type `"+J+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof h[J]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw $e.name="Invariant Violation",$e}H=h[J](T,J,B,N,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_e){H=_e}H&&!(H instanceof Error)&&($t(oe),x("%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).",B||"React class",N,J,typeof H),$t(null)),H instanceof Error&&!(H.message in pt)&&(pt[H.message]=!0,$t(oe),x("Failed %s type: %s",N,H.message),$t(null))}}}var rr=Array.isArray;function nr(h){return rr(h)}function so(h){{var T=typeof Symbol=="function"&&Symbol.toStringTag,N=T&&h[Symbol.toStringTag]||h.constructor.name||"Object";return N}}function jt(h){try{return it(h),!1}catch{return!0}}function it(h){return""+h}function Fr(h){if(jt(h))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",so(h)),it(h)}var at=E.ReactCurrentOwner,uo={key:!0,ref:!0,__self:!0,__source:!0},G,or,ir;ir={};function Br(h){if(We.call(h,"ref")){var T=Object.getOwnPropertyDescriptor(h,"ref").get;if(T&&T.isReactWarning)return!1}return h.ref!==void 0}function es(h){if(We.call(h,"key")){var T=Object.getOwnPropertyDescriptor(h,"key").get;if(T&&T.isReactWarning)return!1}return h.key!==void 0}function Jd(h,T){if(typeof h.ref=="string"&&at.current&&T&&at.current.stateNode!==T){var N=Z(at.current.type);ir[N]||(x('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',Z(at.current.type),h.ref),ir[N]=!0)}}function Zd(h,T){{var N=function(){G||(G=!0,x("%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)",T))};N.isReactWarning=!0,Object.defineProperty(h,"key",{get:N,configurable:!0})}}function Qd(h,T){{var N=function(){or||(or=!0,x("%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)",T))};N.isReactWarning=!0,Object.defineProperty(h,"ref",{get:N,configurable:!0})}}var ep=function(h,T,N,B,oe,me,J){var H={$$typeof:t,type:h,key:T,ref:N,props:J,_owner:me};return H._store={},Object.defineProperty(H._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(H,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(H,"_source",{configurable:!1,enumerable:!1,writable:!1,value:oe}),Object.freeze&&(Object.freeze(H.props),Object.freeze(H)),H};function tp(h,T,N,B,oe){{var me,J={},H=null,$e=null;N!==void 0&&(Fr(N),H=""+N),es(T)&&(Fr(T.key),H=""+T.key),Br(T)&&($e=T.ref,Jd(T,oe));for(me in T)We.call(T,me)&&!uo.hasOwnProperty(me)&&(J[me]=T[me]);if(h&&h.defaultProps){var _e=h.defaultProps;for(me in _e)J[me]===void 0&&(J[me]=_e[me])}if(H||$e){var Te=typeof h=="function"?h.displayName||h.name||"Unknown":h;H&&Zd(J,Te),$e&&Qd(J,Te)}return ep(h,H,$e,oe,B,at.current,J)}}var co=E.ReactCurrentOwner,ts=E.ReactDebugCurrentFrame;function It(h){if(h){var T=h._owner,N=Ae(h.type,h._source,T?T.type:null);ts.setExtraStackFrame(N)}else ts.setExtraStackFrame(null)}var lo;lo=!1;function fo(h){return typeof h=="object"&&h!==null&&h.$$typeof===t}function rs(){{if(co.current){var h=Z(co.current.type);if(h)return`
|
|
22
22
|
|
|
23
|
-
Check the render method of \``+
|
|
23
|
+
Check the render method of \``+h+"`."}return""}}function rp(h){{if(h!==void 0){var T=h.fileName.replace(/^.*[\\\/]/,""),N=h.lineNumber;return`
|
|
24
24
|
|
|
25
|
-
Check your code at `+
|
|
25
|
+
Check your code at `+T+":"+N+"."}return""}}var ns={};function np(h){{var T=rs();if(!T){var N=typeof h=="string"?h:h.displayName||h.name;N&&(T=`
|
|
26
26
|
|
|
27
|
-
Check the top-level render call using <`+t+">.")}return r}}function Re(e,r){{if(!e._store||e._store.validated||e.key!=null)return;e._store.validated=!0;var t=ar(r);if(_e[t])return;_e[t]=!0;var n="";e&&e._owner&&e._owner!==H.current&&(n=" It was passed a child from "+g(e._owner.type)+"."),S(e),c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',t,n),S(null)}}function Te(e,r){{if(typeof e!="object")return;if(z(e))for(var t=0;t<e.length;t++){var n=e[t];Z(n)&&Re(n,r)}else if(Z(e))e._store&&(e._store.validated=!0);else if(e){var i=ke(e);if(typeof i=="function"&&i!==e.entries)for(var u=i.call(e),o;!(o=u.next()).done;)Z(o.value)&&Re(o.value,r)}}}function or(e){{var r=e.type;if(r==null||typeof r=="string")return;var t;if(typeof r=="function")t=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===l||r.$$typeof===b))t=r.propTypes;else return;if(t){var n=g(r);qe(t,e.props,"prop",n,e)}else if(r.PropTypes!==void 0&&!X){X=!0;var i=g(r);c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ir(e){{for(var r=Object.keys(e.props),t=0;t<r.length;t++){var n=r[t];if(n!=="children"&&n!=="key"){S(e),c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",n),S(null);break}}e.ref!==null&&(S(e),c("Invalid attribute `ref` supplied to `React.Fragment`."),S(null))}}function Oe(e,r,t,n,i,u){{var o=Ye(e);if(!o){var a="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(a+=" 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 d=nr(i);d?a+=d:a+=Ee();var s;e===null?s="null":z(e)?s="array":e!==void 0&&e.$$typeof===k?(s="<"+(g(e.type)||"Unknown")+" />",a=" Did you accidentally export a JSX literal instead of a component?"):s=typeof e,c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",s,a)}var f=tr(e,r,t,i,u);if(f==null)return f;if(o){var p=r.children;if(p!==void 0)if(n)if(z(p)){for(var P=0;P<p.length;P++)Te(p[P],e);Object.freeze&&Object.freeze(p)}else c("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 Te(p,e)}return e===T?ir(f):or(f),f}}function ur(e,r,t){return Oe(e,r,t,!0)}function sr(e,r,t){return Oe(e,r,t,!1)}var fr=sr,lr=ur;x.Fragment=T,x.jsx=fr,x.jsxs=lr}()),x}({}).NODE_ENV==="production"?U.exports=Se():U.exports=Pe();var we=U.exports;const cr="",xe=({number:j})=>we.jsx("div",{children:j});m.TestComponent=xe,Object.defineProperty(m,Symbol.toStringTag,{value:"Module"})});
|
|
27
|
+
Check the top-level render call using <`+N+">.")}return T}}function os(h,T){{if(!h._store||h._store.validated||h.key!=null)return;h._store.validated=!0;var N=np(T);if(ns[N])return;ns[N]=!0;var B="";h&&h._owner&&h._owner!==co.current&&(B=" It was passed a child from "+Z(h._owner.type)+"."),It(h),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',N,B),It(null)}}function is(h,T){{if(typeof h!="object")return;if(nr(h))for(var N=0;N<h.length;N++){var B=h[N];fo(B)&&os(B,T)}else if(fo(h))h._store&&(h._store.validated=!0);else if(h){var oe=y(h);if(typeof oe=="function"&&oe!==h.entries)for(var me=oe.call(h),J;!(J=me.next()).done;)fo(J.value)&&os(J.value,T)}}}function op(h){{var T=h.type;if(T==null||typeof T=="string")return;var N;if(typeof T=="function")N=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===c||T.$$typeof===f))N=T.propTypes;else return;if(N){var B=Z(T);tr(N,h.props,"prop",B,h)}else if(T.PropTypes!==void 0&&!lo){lo=!0;var oe=Z(T);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",oe||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ip(h){{for(var T=Object.keys(h.props),N=0;N<T.length;N++){var B=T[N];if(B!=="children"&&B!=="key"){It(h),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),It(null);break}}h.ref!==null&&(It(h),x("Invalid attribute `ref` supplied to `React.Fragment`."),It(null))}}function as(h,T,N,B,oe,me){{var J=$(h);if(!J){var H="";(h===void 0||typeof h=="object"&&h!==null&&Object.keys(h).length===0)&&(H+=" 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 $e=rp(oe);$e?H+=$e:H+=rs();var _e;h===null?_e="null":nr(h)?_e="array":h!==void 0&&h.$$typeof===t?(_e="<"+(Z(h.type)||"Unknown")+" />",H=" Did you accidentally export a JSX literal instead of a component?"):_e=typeof h,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_e,H)}var Te=tp(h,T,N,oe,me);if(Te==null)return Te;if(J){var Fe=T.children;if(Fe!==void 0)if(B)if(nr(Fe)){for(var kt=0;kt<Fe.length;kt++)is(Fe[kt],h);Object.freeze&&Object.freeze(Fe)}else x("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 is(Fe,h)}return h===n?ip(Te):op(Te),Te}}function ap(h,T,N){return as(h,T,N,!0)}function sp(h,T,N){return as(h,T,N,!1)}var up=sp,cp=ap;Dt.Fragment=n,Dt.jsx=up,Dt.jsxs=cp}()),Dt}process.env.NODE_ENV==="production"?Wr.exports=fs():Wr.exports=ds();var ee=Wr.exports;const lp="",ps=({number:e})=>ee.jsx("div",{children:e});function Ce(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];if(process.env.NODE_ENV!=="production"){var o=_s[e],i=o?typeof o=="function"?o.apply(null,r):o:"unknown error nr: "+e;throw Error("[Immer] "+i)}throw Error("[Immer] minified error nr: "+e+(r.length?" "+r.map(function(a){return"'"+a+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Qe(e){return!!e&&!!e[ve]}function Ge(e){var t;return!!e&&(function(r){if(!r||typeof r!="object")return!1;var n=Object.getPrototypeOf(r);if(n===null)return!0;var o=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return o===Object||typeof o=="function"&&Function.toString.call(o)===ws}(e)||Array.isArray(e)||!!e[xo]||!!(!((t=e.constructor)===null||t===void 0)&&t[xo])||Ur(e)||Yr(e))}function st(e,t,r){r===void 0&&(r=!1),mt(e)===0?(r?Object.keys:yt)(e).forEach(function(n){r&&typeof n=="symbol"||t(n,e[n],e)}):e.forEach(function(n,o){return t(o,n,e)})}function mt(e){var t=e[ve];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ur(e)?2:Yr(e)?3:0}function ht(e,t){return mt(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function ms(e,t){return mt(e)===2?e.get(t):e[t]}function ho(e,t,r){var n=mt(e);n===2?e.set(t,r):n===3?e.add(r):e[t]=r}function vo(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function Ur(e){return Es&&e instanceof Map}function Yr(e){return Ss&&e instanceof Set}function et(e){return e.o||e.t}function qr(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Oo(e);delete t[ve];for(var r=yt(t),n=0;n<r.length;n++){var o=r[n],i=t[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Kr(e,t){return t===void 0&&(t=!1),Gr(e)||Qe(e)||!Ge(e)||(mt(e)>1&&(e.set=e.add=e.clear=e.delete=hs),Object.freeze(e),t&&st(e,function(r,n){return Kr(n,!0)},!0)),e}function hs(){Ce(2)}function Gr(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function Ue(e){var t=nn[e];return t||Ce(18,e),t}function vs(e,t){nn[e]||(nn[e]=t)}function Hr(){return process.env.NODE_ENV==="production"||vt||Ce(0),vt}function Xr(e,t){t&&(Ue("Patches"),e.u=[],e.s=[],e.v=t)}function ar(e){Jr(e),e.p.forEach(ys),e.p=null}function Jr(e){e===vt&&(vt=e.l)}function yo(e){return vt={p:[],l:vt,h:e,m:!0,_:0}}function ys(e){var t=e[ve];t.i===0||t.i===1?t.j():t.g=!0}function Zr(e,t){t._=t.p.length;var r=t.p[0],n=e!==void 0&&e!==r;return t.h.O||Ue("ES5").S(t,e,n),n?(r[ve].P&&(ar(t),Ce(4)),Ge(e)&&(e=sr(t,e),t.l||ur(t,e)),t.u&&Ue("Patches").M(r[ve].t,e,t.u,t.s)):e=sr(t,r,[]),ar(t),t.u&&t.v(t.u,t.s),e!==wo?e:void 0}function sr(e,t,r){if(Gr(t))return t;var n=t[ve];if(!n)return st(t,function(s,c){return go(e,n,t,s,c,r)},!0),t;if(n.A!==e)return t;if(!n.P)return ur(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var o=n.i===4||n.i===5?n.o=qr(n.k):n.o,i=o,a=!1;n.i===3&&(i=new Set(o),o.clear(),a=!0),st(i,function(s,c){return go(e,n,o,s,c,r,a)}),ur(e,o,!1),r&&e.u&&Ue("Patches").N(n,r,e.u,e.s)}return n.o}function go(e,t,r,n,o,i,a){if(process.env.NODE_ENV!=="production"&&o===r&&Ce(5),Qe(o)){var s=sr(e,o,i&&t&&t.i!==3&&!ht(t.R,n)?i.concat(n):void 0);if(ho(r,n,s),!Qe(s))return;e.m=!1}else a&&r.add(o);if(Ge(o)&&!Gr(o)){if(!e.h.D&&e._<1)return;sr(e,o),t&&t.A.l||ur(e,o)}}function ur(e,t,r){r===void 0&&(r=!1),!e.l&&e.h.D&&e.m&&Kr(t,r)}function Qr(e,t){var r=e[ve];return(r?et(r):e)[t]}function bo(e,t){if(t in e)for(var r=Object.getPrototypeOf(e);r;){var n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function tt(e){e.P||(e.P=!0,e.l&&tt(e.l))}function en(e){e.o||(e.o=qr(e.t))}function tn(e,t,r){var n=Ur(t)?Ue("MapSet").F(t,r):Yr(t)?Ue("MapSet").T(t,r):e.O?function(o,i){var a=Array.isArray(o),s={i:a?1:0,A:i?i.A:Hr(),P:!1,I:!1,R:{},l:i,t:o,k:null,o:null,j:null,C:!1},c=s,u=Vt;a&&(c=[s],u=Lt);var l=Proxy.revocable(c,u),f=l.revoke,d=l.proxy;return s.k=d,s.j=f,d}(t,r):Ue("ES5").J(t,r);return(r?r.A:Hr()).p.push(n),n}function gs(e){return Qe(e)||Ce(22,e),function t(r){if(!Ge(r))return r;var n,o=r[ve],i=mt(r);if(o){if(!o.P&&(o.i<4||!Ue("ES5").K(o)))return o.t;o.I=!0,n=Eo(r,i),o.I=!1}else n=Eo(r,i);return st(n,function(a,s){o&&ms(o.t,a)===s||ho(n,a,t(s))}),i===3?new Set(n):n}(e)}function Eo(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return qr(e)}function bs(){function e(a,s){var c=i[a];return c?c.enumerable=s:i[a]=c={configurable:!0,enumerable:s,get:function(){var u=this[ve];return process.env.NODE_ENV!=="production"&&o(u),Vt.get(u,a)},set:function(u){var l=this[ve];process.env.NODE_ENV!=="production"&&o(l),Vt.set(l,a,u)}},c}function t(a){for(var s=a.length-1;s>=0;s--){var c=a[s][ve];if(!c.P)switch(c.i){case 5:n(c)&&tt(c);break;case 4:r(c)&&tt(c)}}}function r(a){for(var s=a.t,c=a.k,u=yt(c),l=u.length-1;l>=0;l--){var f=u[l];if(f!==ve){var d=s[f];if(d===void 0&&!ht(s,f))return!0;var g=c[f],v=g&&g[ve];if(v?v.t!==d:!vo(g,d))return!0}}var p=!!s[ve];return u.length!==yt(s).length+(p?0:1)}function n(a){var s=a.k;if(s.length!==a.t.length)return!0;var c=Object.getOwnPropertyDescriptor(s,s.length-1);if(c&&!c.get)return!0;for(var u=0;u<s.length;u++)if(!s.hasOwnProperty(u))return!0;return!1}function o(a){a.g&&Ce(3,JSON.stringify(et(a)))}var i={};vs("ES5",{J:function(a,s){var c=Array.isArray(a),u=function(f,d){if(f){for(var g=Array(d.length),v=0;v<d.length;v++)Object.defineProperty(g,""+v,e(v,!0));return g}var p=Oo(d);delete p[ve];for(var y=yt(p),E=0;E<y.length;E++){var x=y[E];p[x]=e(x,f||!!p[x].enumerable)}return Object.create(Object.getPrototypeOf(d),p)}(c,a),l={i:c?5:4,A:s?s.A:Hr(),P:!1,I:!1,R:{},l:s,t:a,k:u,o:null,g:!1,C:!1};return Object.defineProperty(u,ve,{value:l,writable:!0}),u},S:function(a,s,c){c?Qe(s)&&s[ve].A===a&&t(a.p):(a.u&&function u(l){if(l&&typeof l=="object"){var f=l[ve];if(f){var d=f.t,g=f.k,v=f.R,p=f.i;if(p===4)st(g,function(b){b!==ve&&(d[b]!==void 0||ht(d,b)?v[b]||u(g[b]):(v[b]=!0,tt(f)))}),st(d,function(b){g[b]!==void 0||ht(g,b)||(v[b]=!1,tt(f))});else if(p===5){if(n(f)&&(tt(f),v.length=!0),g.length<d.length)for(var y=g.length;y<d.length;y++)v[y]=!1;else for(var E=d.length;E<g.length;E++)v[E]=!0;for(var x=Math.min(g.length,d.length),S=0;S<x;S++)g.hasOwnProperty(S)||(v[S]=!0),v[S]===void 0&&u(g[S])}}}}(a.p[0]),t(a.p))},K:function(a){return a.i===4?r(a):n(a)}})}var So,vt,rn=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",Es=typeof Map<"u",Ss=typeof Set<"u",_o=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",wo=rn?Symbol.for("immer-nothing"):((So={})["immer-nothing"]=!0,So),xo=rn?Symbol.for("immer-draftable"):"__$immer_draftable",ve=rn?Symbol.for("immer-state"):"__$immer_state",_s={0:"Illegal state",1:"Immer drafts cannot have computed properties",2:"This object has been frozen and should not be mutated",3:function(e){return"Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+e},4:"An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.",5:"Immer forbids circular references",6:"The first or second argument to `produce` must be a function",7:"The third argument to `produce` must be a function or undefined",8:"First argument to `createDraft` must be a plain object, an array, or an immerable object",9:"First argument to `finishDraft` must be a draft returned by `createDraft`",10:"The given draft is already finalized",11:"Object.defineProperty() cannot be used on an Immer draft",12:"Object.setPrototypeOf() cannot be used on an Immer draft",13:"Immer only supports deleting array indices",14:"Immer only supports setting array indices and the 'length' property",15:function(e){return"Cannot apply patch, path doesn't resolve: "+e},16:'Sets cannot have "replace" patches.',17:function(e){return"Unsupported patch operation: "+e},18:function(e){return"The plugin for '"+e+"' has not been loaded into Immer. To enable the plugin, import and call `enable"+e+"()` when initializing your application."},20:"Cannot use proxies if Proxy, Proxy.revocable or Reflect are not available",21:function(e){return"produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '"+e+"'"},22:function(e){return"'current' expects a draft, got: "+e},23:function(e){return"'original' expects a draft, got: "+e},24:"Patching reserved attributes like __proto__, prototype and constructor is not allowed"},ws=""+Object.prototype.constructor,yt=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Oo=Object.getOwnPropertyDescriptors||function(e){var t={};return yt(e).forEach(function(r){t[r]=Object.getOwnPropertyDescriptor(e,r)}),t},nn={},Vt={get:function(e,t){if(t===ve)return e;var r=et(e);if(!ht(r,t))return function(o,i,a){var s,c=bo(i,a);return c?"value"in c?c.value:(s=c.get)===null||s===void 0?void 0:s.call(o.k):void 0}(e,r,t);var n=r[t];return e.I||!Ge(n)?n:n===Qr(e.t,t)?(en(e),e.o[t]=tn(e.A.h,n,e)):n},has:function(e,t){return t in et(e)},ownKeys:function(e){return Reflect.ownKeys(et(e))},set:function(e,t,r){var n=bo(et(e),t);if(n!=null&&n.set)return n.set.call(e.k,r),!0;if(!e.P){var o=Qr(et(e),t),i=o==null?void 0:o[ve];if(i&&i.t===r)return e.o[t]=r,e.R[t]=!1,!0;if(vo(r,o)&&(r!==void 0||ht(e.t,t)))return!0;en(e),tt(e)}return e.o[t]===r&&(r!==void 0||t in e.o)||Number.isNaN(r)&&Number.isNaN(e.o[t])||(e.o[t]=r,e.R[t]=!0),!0},deleteProperty:function(e,t){return Qr(e.t,t)!==void 0||t in e.t?(e.R[t]=!1,en(e),tt(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var r=et(e),n=Reflect.getOwnPropertyDescriptor(r,t);return n&&{writable:!0,configurable:e.i!==1||t!=="length",enumerable:n.enumerable,value:r[t]}},defineProperty:function(){Ce(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){Ce(12)}},Lt={};st(Vt,function(e,t){Lt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),Lt.deleteProperty=function(e,t){return process.env.NODE_ENV!=="production"&&isNaN(parseInt(t))&&Ce(13),Lt.set.call(this,e,t,void 0)},Lt.set=function(e,t,r){return process.env.NODE_ENV!=="production"&&t!=="length"&&isNaN(parseInt(t))&&Ce(14),Vt.set.call(this,e[0],t,r,e[0])};var xs=function(){function e(r){var n=this;this.O=_o,this.D=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var s=i;i=o;var c=n;return function(p){var y=this;p===void 0&&(p=s);for(var E=arguments.length,x=Array(E>1?E-1:0),S=1;S<E;S++)x[S-1]=arguments[S];return c.produce(p,function(b){var m;return(m=i).call.apply(m,[y,b].concat(x))})}}var u;if(typeof i!="function"&&Ce(6),a!==void 0&&typeof a!="function"&&Ce(7),Ge(o)){var l=yo(n),f=tn(n,o,void 0),d=!0;try{u=i(f),d=!1}finally{d?ar(l):Jr(l)}return typeof Promise<"u"&&u instanceof Promise?u.then(function(p){return Xr(l,a),Zr(p,l)},function(p){throw ar(l),p}):(Xr(l,a),Zr(u,l))}if(!o||typeof o!="object"){if((u=i(o))===void 0&&(u=o),u===wo&&(u=void 0),n.D&&Kr(u,!0),a){var g=[],v=[];Ue("Patches").M(o,u,g,v),a(g,v)}return u}Ce(21,o)},this.produceWithPatches=function(o,i){if(typeof o=="function")return function(u){for(var l=arguments.length,f=Array(l>1?l-1:0),d=1;d<l;d++)f[d-1]=arguments[d];return n.produceWithPatches(u,function(g){return o.apply(void 0,[g].concat(f))})};var a,s,c=n.produce(o,i,function(u,l){a=u,s=l});return typeof Promise<"u"&&c instanceof Promise?c.then(function(u){return[u,a,s]}):[c,a,s]},typeof(r==null?void 0:r.useProxies)=="boolean"&&this.setUseProxies(r.useProxies),typeof(r==null?void 0:r.autoFreeze)=="boolean"&&this.setAutoFreeze(r.autoFreeze)}var t=e.prototype;return t.createDraft=function(r){Ge(r)||Ce(8),Qe(r)&&(r=gs(r));var n=yo(this),o=tn(this,r,void 0);return o[ve].C=!0,Jr(n),o},t.finishDraft=function(r,n){var o=r&&r[ve];process.env.NODE_ENV!=="production"&&(o&&o.C||Ce(9),o.I&&Ce(10));var i=o.A;return Xr(i,n),Zr(void 0,i)},t.setAutoFreeze=function(r){this.D=r},t.setUseProxies=function(r){r&&!_o&&Ce(20),this.O=r},t.applyPatches=function(r,n){var o;for(o=n.length-1;o>=0;o--){var i=n[o];if(i.path.length===0&&i.op==="replace"){r=i.value;break}}o>-1&&(n=n.slice(o+1));var a=Ue("Patches").$;return Qe(r)?a(r,n):this.produce(r,function(s){return a(s,n)})},e}(),Ie=new xs,To=Ie.produce;Ie.produceWithPatches.bind(Ie),Ie.setAutoFreeze.bind(Ie),Ie.setUseProxies.bind(Ie),Ie.applyPatches.bind(Ie),Ie.createDraft.bind(Ie),Ie.finishDraft.bind(Ie);function zt(e){"@babel/helpers - typeof";return zt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zt(e)}function Os(e,t){if(zt(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(zt(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Ts(e){var t=Os(e,"string");return zt(t)==="symbol"?t:String(t)}function Cs(e,t,r){return t=Ts(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Co(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function Ro(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Co(Object(r),!0).forEach(function(n){Cs(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Co(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Pe(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Po=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),on=function(){return Math.random().toString(36).substring(7).split("").join(".")},ut={INIT:"@@redux/INIT"+on(),REPLACE:"@@redux/REPLACE"+on(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+on()}};function No(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Rs(e){if(e===void 0)return"undefined";if(e===null)return"null";var t=typeof e;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(e))return"array";if(As(e))return"date";if(Ns(e))return"error";var r=Ps(e);switch(r){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return r}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function Ps(e){return typeof e.constructor=="function"?e.constructor.name:null}function Ns(e){return e instanceof Error||typeof e.message=="string"&&e.constructor&&typeof e.constructor.stackTraceLimit=="number"}function As(e){return e instanceof Date?!0:typeof e.toDateString=="function"&&typeof e.getDate=="function"&&typeof e.setDate=="function"}function ct(e){var t=typeof e;return process.env.NODE_ENV!=="production"&&(t=Rs(e)),t}function Ao(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?Pe(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?Pe(1):"Expected the enhancer to be a function. Instead, received: '"+ct(r)+"'");return r(Ao)(e,t)}if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?Pe(2):"Expected the root reducer to be a function. Instead, received: '"+ct(e)+"'");var o=e,i=t,a=[],s=a,c=!1;function u(){s===a&&(s=a.slice())}function l(){if(c)throw new Error(process.env.NODE_ENV==="production"?Pe(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return i}function f(p){if(typeof p!="function")throw new Error(process.env.NODE_ENV==="production"?Pe(4):"Expected the listener to be a function. Instead, received: '"+ct(p)+"'");if(c)throw new Error(process.env.NODE_ENV==="production"?Pe(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var y=!0;return u(),s.push(p),function(){if(y){if(c)throw new Error(process.env.NODE_ENV==="production"?Pe(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");y=!1,u();var x=s.indexOf(p);s.splice(x,1),a=null}}}function d(p){if(!No(p))throw new Error(process.env.NODE_ENV==="production"?Pe(7):"Actions must be plain objects. Instead, the actual type was: '"+ct(p)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof p.type>"u")throw new Error(process.env.NODE_ENV==="production"?Pe(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(c)throw new Error(process.env.NODE_ENV==="production"?Pe(9):"Reducers may not dispatch actions.");try{c=!0,i=o(i,p)}finally{c=!1}for(var y=a=s,E=0;E<y.length;E++){var x=y[E];x()}return p}function g(p){if(typeof p!="function")throw new Error(process.env.NODE_ENV==="production"?Pe(10):"Expected the nextReducer to be a function. Instead, received: '"+ct(p));o=p,d({type:ut.REPLACE})}function v(){var p,y=f;return p={subscribe:function(x){if(typeof x!="object"||x===null)throw new Error(process.env.NODE_ENV==="production"?Pe(11):"Expected the observer to be an object. Instead, received: '"+ct(x)+"'");function S(){x.next&&x.next(l())}S();var b=y(S);return{unsubscribe:b}}},p[Po]=function(){return this},p}return d({type:ut.INIT}),n={dispatch:d,subscribe:f,getState:l,replaceReducer:g},n[Po]=v,n}function $o(e){typeof console<"u"&&typeof console.error=="function"&&console.error(e);try{throw new Error(e)}catch{}}function $s(e,t,r,n){var o=Object.keys(t),i=r&&r.type===ut.INIT?"preloadedState argument passed to createStore":"previous state received by the reducer";if(o.length===0)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";if(!No(e))return"The "+i+' has unexpected type of "'+ct(e)+'". Expected argument to be an object with the following '+('keys: "'+o.join('", "')+'"');var a=Object.keys(e).filter(function(s){return!t.hasOwnProperty(s)&&!n[s]});if(a.forEach(function(s){n[s]=!0}),!(r&&r.type===ut.REPLACE)&&a.length>0)return"Unexpected "+(a.length>1?"keys":"key")+" "+('"'+a.join('", "')+'" found in '+i+". ")+"Expected to find one of the known reducer keys instead: "+('"'+o.join('", "')+'". Unexpected keys will be ignored.')}function js(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:ut.INIT});if(typeof n>"u")throw new Error(process.env.NODE_ENV==="production"?Pe(12):'The slice reducer for key "'+t+`" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.`);if(typeof r(void 0,{type:ut.PROBE_UNKNOWN_ACTION()})>"u")throw new Error(process.env.NODE_ENV==="production"?Pe(13):'The slice reducer for key "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle '"+ut.INIT+`' or other actions in "redux/*" `)+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.")})}function Is(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var o=t[n];process.env.NODE_ENV!=="production"&&typeof e[o]>"u"&&$o('No reducer provided for key "'+o+'"'),typeof e[o]=="function"&&(r[o]=e[o])}var i=Object.keys(r),a;process.env.NODE_ENV!=="production"&&(a={});var s;try{js(r)}catch(c){s=c}return function(u,l){if(u===void 0&&(u={}),s)throw s;if(process.env.NODE_ENV!=="production"){var f=$s(u,r,l,a);f&&$o(f)}for(var d=!1,g={},v=0;v<i.length;v++){var p=i[v],y=r[p],E=u[p],x=y(E,l);if(typeof x>"u"){var S=l&&l.type;throw new Error(process.env.NODE_ENV==="production"?Pe(14):"When called with an action of type "+(S?'"'+String(S)+'"':"(unknown type)")+', the slice reducer for key "'+p+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.')}g[p]=x,d=d||x!==E}return d=d||i.length!==Object.keys(u).length,d?g:u}}function cr(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.length===0?function(n){return n}:t.length===1?t[0]:t.reduce(function(n,o){return function(){return n(o.apply(void 0,arguments))}})}function ks(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var o=n.apply(void 0,arguments),i=function(){throw new Error(process.env.NODE_ENV==="production"?Pe(15):"Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},a={getState:o.getState,dispatch:function(){return i.apply(void 0,arguments)}},s=t.map(function(c){return c(a)});return i=cr.apply(void 0,s)(o.dispatch),Ro(Ro({},o),{},{dispatch:i})}}}function jo(e){var t=function(n){var o=n.dispatch,i=n.getState;return function(a){return function(s){return typeof s=="function"?s(o,i,e):a(s)}}};return t}var Io=jo();Io.withExtraArgument=jo;const ko=Io;var Mo=globalThis&&globalThis.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ms=globalThis&&globalThis.__generator||function(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(u){return function(l){return c([u,l])}}function c(u){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,o&&(i=u[0]&2?o.return:u[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,u[1])).done)return i;switch(o=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,o=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=t.call(e,r)}catch(l){u=[6,l],o=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}},gt=globalThis&&globalThis.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e},Ds=Object.defineProperty,Vs=Object.defineProperties,Ls=Object.getOwnPropertyDescriptors,Do=Object.getOwnPropertySymbols,zs=Object.prototype.hasOwnProperty,Fs=Object.prototype.propertyIsEnumerable,Vo=function(e,t,r){return t in e?Ds(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r},rt=function(e,t){for(var r in t||(t={}))zs.call(t,r)&&Vo(e,r,t[r]);if(Do)for(var n=0,o=Do(t);n<o.length;n++){var r=o[n];Fs.call(t,r)&&Vo(e,r,t[r])}return e},an=function(e,t){return Vs(e,Ls(t))},Bs=function(e,t,r){return new Promise(function(n,o){var i=function(c){try{s(r.next(c))}catch(u){o(u)}},a=function(c){try{s(r.throw(c))}catch(u){o(u)}},s=function(c){return c.done?n(c.value):Promise.resolve(c.value).then(i,a)};s((r=r.apply(e,t)).next())})},Ws=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(arguments.length!==0)return typeof arguments[0]=="object"?cr:cr.apply(null,arguments)};function Lo(e){if(typeof e!="object"||e===null)return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(var r=t;Object.getPrototypeOf(r)!==null;)r=Object.getPrototypeOf(r);return t===r}function zo(e,t){var r=0;return{measureTime:function(n){var o=Date.now();try{return n()}finally{var i=Date.now();r+=i-o}},warnIfExceeded:function(){r>e&&console.warn(t+" took "+r+"ms, which is more than the warning threshold of "+e+`ms.
|
|
28
|
+
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
|
|
29
|
+
It is disabled in production builds, so you don't need to worry about that.`)}}}var Us=function(e){Mo(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,gt([void 0],r[0].concat(this)))):new(t.bind.apply(t,gt([void 0],r.concat(this))))},t}(Array),Ys=function(e){Mo(t,e);function t(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=e.apply(this,r)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return e.prototype.concat.apply(this,r)},t.prototype.prepend=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return r.length===1&&Array.isArray(r[0])?new(t.bind.apply(t,gt([void 0],r[0].concat(this)))):new(t.bind.apply(t,gt([void 0],r.concat(this))))},t}(Array);function sn(e){return Ge(e)?To(e,function(){}):e}var qs=process.env.NODE_ENV==="production",Fo="Invariant failed";function Bo(e,t){if(!e)throw qs?new Error(Fo):new Error(Fo+": "+(t||""))}function Ks(e,t,r,n){return JSON.stringify(e,Gs(t,n),r)}function Gs(e,t){var r=[],n=[];return t||(t=function(o,i){return r[0]===i?"[Circular ~]":"[Circular ~."+n.slice(0,r.indexOf(i)).join(".")+"]"}),function(o,i){if(r.length>0){var a=r.indexOf(this);~a?r.splice(a+1):r.push(this),~a?n.splice(a,1/0,o):n.push(o),~r.indexOf(i)&&(i=t.call(this,o,i))}else r.push(i);return e==null?i:e.call(this,o,i)}}function Hs(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function Xs(e,t,r){var n=Wo(e,t,r);return{detectMutations:function(){return Uo(e,t,n,r)}}}function Wo(e,t,r,n){t===void 0&&(t=[]),n===void 0&&(n="");var o={value:r};if(!e(r)){o.children={};for(var i in r){var a=n?n+"."+i:i;t.length&&t.indexOf(a)!==-1||(o.children[i]=Wo(e,t,r[i],a))}}return o}function Uo(e,t,r,n,o,i){t===void 0&&(t=[]),o===void 0&&(o=!1),i===void 0&&(i="");var a=r?r.value:void 0,s=a===n;if(o&&!s&&!Number.isNaN(n))return{wasMutated:!0,path:i};if(e(a)||e(n))return{wasMutated:!1};var c={};for(var u in r.children)c[u]=!0;for(var u in n)c[u]=!0;var l=t.length>0,f=function(g){var v=i?i+"."+g:g;if(l){var p=t.some(function(E){return E instanceof RegExp?E.test(v):v===E});if(p)return"continue"}var y=Uo(e,t,r.children[g],n[g],s,v);if(y.wasMutated)return{value:y}};for(var u in c){var d=f(u);if(typeof d=="object")return d.value}return{wasMutated:!1}}function Js(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(c){return function(u){return c(u)}}};var t=e.isImmutable,r=t===void 0?Hs:t,n=e.ignoredPaths,o=e.warnAfter,i=o===void 0?32:o,a=e.ignore;n=n||a;var s=Xs.bind(null,r,n);return function(c){var u=c.getState,l=u(),f=s(l),d;return function(g){return function(v){var p=zo(i,"ImmutableStateInvariantMiddleware");p.measureTime(function(){l=u(),d=f.detectMutations(),f=s(l),Bo(!d.wasMutated,"A state mutation was detected between dispatches, in the path '"+(d.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var y=g(v);return p.measureTime(function(){l=u(),d=f.detectMutations(),f=s(l),d.wasMutated&&Bo(!d.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(d.path||"")+". Take a look at the reducer(s) handling the action "+Ks(v)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),p.warnIfExceeded(),y}}}}function Yo(e){var t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||Lo(e)}function un(e,t,r,n,o,i){t===void 0&&(t=""),r===void 0&&(r=Yo),o===void 0&&(o=[]);var a;if(!r(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null||i!=null&&i.has(e))return!1;for(var s=n!=null?n(e):Object.entries(e),c=o.length>0,u=function(y,E){var x=t?t+"."+y:y;if(c){var S=o.some(function(b){return b instanceof RegExp?b.test(x):x===b});if(S)return"continue"}if(!r(E))return{value:{keyPath:x,value:E}};if(typeof E=="object"&&(a=un(E,x,r,n,o,i),a))return{value:a}},l=0,f=s;l<f.length;l++){var d=f[l],g=d[0],v=d[1],p=u(g,v);if(typeof p=="object")return p.value}return i&&qo(e)&&i.add(e),!1}function qo(e){if(!Object.isFrozen(e))return!1;for(var t=0,r=Object.values(e);t<r.length;t++){var n=r[t];if(!(typeof n!="object"||n===null)&&!qo(n))return!1}return!0}function Zs(e){if(e===void 0&&(e={}),process.env.NODE_ENV==="production")return function(){return function(S){return function(b){return S(b)}}};var t=e.isSerializable,r=t===void 0?Yo:t,n=e.getEntries,o=e.ignoredActions,i=o===void 0?[]:o,a=e.ignoredActionPaths,s=a===void 0?["meta.arg","meta.baseQueryMeta"]:a,c=e.ignoredPaths,u=c===void 0?[]:c,l=e.warnAfter,f=l===void 0?32:l,d=e.ignoreState,g=d===void 0?!1:d,v=e.ignoreActions,p=v===void 0?!1:v,y=e.disableCache,E=y===void 0?!1:y,x=!E&&WeakSet?new WeakSet:void 0;return function(S){return function(b){return function(m){var C=b(m),R=zo(f,"SerializableStateInvariantMiddleware");return!p&&!(i.length&&i.indexOf(m.type)!==-1)&&R.measureTime(function(){var V=un(m,"",r,n,s,x);if(V){var D=V.keyPath,$=V.value;console.error("A non-serializable value was detected in an action, in the path: `"+D+"`. Value:",$,`
|
|
30
|
+
Take a look at the logic that dispatched this action: `,m,`
|
|
31
|
+
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
|
|
32
|
+
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),g||(R.measureTime(function(){var V=S.getState(),D=un(V,"",r,n,u,x);if(D){var $=D.keyPath,z=D.value;console.error("A non-serializable value was detected in the state, in the path: `"+$+"`. Value:",z,`
|
|
33
|
+
Take a look at the reducer(s) handling this action type: `+m.type+`.
|
|
34
|
+
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),R.warnIfExceeded()),C}}}}function cn(e){return typeof e=="boolean"}function Qs(){return function(t){return eu(t)}}function eu(e){e===void 0&&(e={});var t=e.thunk,r=t===void 0?!0:t,n=e.immutableCheck,o=n===void 0?!0:n,i=e.serializableCheck,a=i===void 0?!0:i,s=new Us;if(r&&(cn(r)?s.push(ko):s.push(ko.withExtraArgument(r.extraArgument))),process.env.NODE_ENV!=="production"){if(o){var c={};cn(o)||(c=o),s.unshift(Js(c))}if(a){var u={};cn(a)||(u=a),s.push(Zs(u))}}return s}var ln=process.env.NODE_ENV==="production";function tu(e){var t=Qs(),r=e||{},n=r.reducer,o=n===void 0?void 0:n,i=r.middleware,a=i===void 0?t():i,s=r.devTools,c=s===void 0?!0:s,u=r.preloadedState,l=u===void 0?void 0:u,f=r.enhancers,d=f===void 0?void 0:f,g;if(typeof o=="function")g=o;else if(Lo(o))g=Is(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var v=a;if(typeof v=="function"&&(v=v(t),!ln&&!Array.isArray(v)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(!ln&&v.some(function(b){return typeof b!="function"}))throw new Error("each middleware provided to configureStore must be a function");var p=ks.apply(void 0,v),y=cr;c&&(y=Ws(rt({trace:!ln},typeof c=="object"&&c)));var E=new Ys(p),x=E;Array.isArray(d)?x=gt([p],d):typeof d=="function"&&(x=d(E));var S=y.apply(void 0,x);return Ao(g,l,S)}function nt(e,t){function r(){for(var n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];if(t){var i=t.apply(void 0,n);if(!i)throw new Error("prepareAction did not return an object");return rt(rt({type:e,payload:i.payload},"meta"in i&&{meta:i.meta}),"error"in i&&{error:i.error})}return{type:e,payload:n[0]}}return r.toString=function(){return""+e},r.type=e,r.match=function(n){return n.type===e},r}function Ko(e){var t={},r=[],n,o={addCase:function(i,a){if(process.env.NODE_ENV!=="production"){if(r.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(n)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}var s=typeof i=="string"?i:i.type;if(s in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[s]=a,o},addMatcher:function(i,a){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:i,reducer:a}),o},addDefaultCase:function(i){if(process.env.NODE_ENV!=="production"&&n)throw new Error("`builder.addDefaultCase` can only be called once");return n=i,o}};return e(o),[t,r,n]}function ru(e){return typeof e=="function"}var Go=!1;function nu(e,t,r,n){r===void 0&&(r=[]),process.env.NODE_ENV!=="production"&&typeof t=="object"&&(Go||(Go=!0,console.warn("The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer")));var o=typeof t=="function"?Ko(t):[t,r,n],i=o[0],a=o[1],s=o[2],c;if(ru(e))c=function(){return sn(e())};else{var u=sn(e);c=function(){return u}}function l(f,d){f===void 0&&(f=c());var g=gt([i[d.type]],a.filter(function(v){var p=v.matcher;return p(d)}).map(function(v){var p=v.reducer;return p}));return g.filter(function(v){return!!v}).length===0&&(g=[s]),g.reduce(function(v,p){if(p)if(Qe(v)){var y=v,E=p(y,d);return E===void 0?v:E}else{if(Ge(v))return To(v,function(x){return p(x,d)});var E=p(v,d);if(E===void 0){if(v===null)return v;throw Error("A case reducer on a non-draftable value must not return undefined")}return E}return v},f)}return l.getInitialState=c,l}var Ho=!1;function ou(e,t){return e+"/"+t}function Xo(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u"&&process.env.NODE_ENV==="development"&&e.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");var r=typeof e.initialState=="function"?e.initialState:sn(e.initialState),n=e.reducers||{},o=Object.keys(n),i={},a={},s={};o.forEach(function(l){var f=n[l],d=ou(t,l),g,v;"reducer"in f?(g=f.reducer,v=f.prepare):g=f,i[l]=g,a[d]=g,s[l]=v?nt(d,v):nt(d)});function c(){process.env.NODE_ENV!=="production"&&typeof e.extraReducers=="object"&&(Ho||(Ho=!0,console.warn("The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice")));var l=typeof e.extraReducers=="function"?Ko(e.extraReducers):[e.extraReducers],f=l[0],d=f===void 0?{}:f,g=l[1],v=g===void 0?[]:g,p=l[2],y=p===void 0?void 0:p,E=rt(rt({},d),a);return nu(r,function(x){for(var S in E)x.addCase(S,E[S]);for(var b=0,m=v;b<m.length;b++){var C=m[b];x.addMatcher(C.matcher,C.reducer)}y&&x.addDefaultCase(y)})}var u;return{name:t,reducer:function(l,f){return u||(u=c()),u(l,f)},actions:s,caseReducers:i,getInitialState:function(){return u||(u=c()),u.getInitialState()}}}var iu="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW",au=function(e){e===void 0&&(e=21);for(var t="",r=e;r--;)t+=iu[Math.random()*64|0];return t},su=["name","message","stack","code"],fn=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),Jo=function(){function e(t,r){this.payload=t,this.meta=r}return e}(),uu=function(e){if(typeof e=="object"&&e!==null){for(var t={},r=0,n=su;r<n.length;r++){var o=n[r];typeof e[o]=="string"&&(t[o]=e[o])}return t}return{message:String(e)}},cu=function(){function e(t,r,n){var o=nt(t+"/fulfilled",function(l,f,d,g){return{payload:l,meta:an(rt({},g||{}),{arg:d,requestId:f,requestStatus:"fulfilled"})}}),i=nt(t+"/pending",function(l,f,d){return{payload:void 0,meta:an(rt({},d||{}),{arg:f,requestId:l,requestStatus:"pending"})}}),a=nt(t+"/rejected",function(l,f,d,g,v){return{payload:g,error:(n&&n.serializeError||uu)(l||"Rejected"),meta:an(rt({},v||{}),{arg:d,requestId:f,rejectedWithValue:!!g,requestStatus:"rejected",aborted:(l==null?void 0:l.name)==="AbortError",condition:(l==null?void 0:l.name)==="ConditionError"})}}),s=!1,c=typeof AbortController<"u"?AbortController:function(){function l(){this.signal={aborted:!1,addEventListener:function(){},dispatchEvent:function(){return!1},onabort:function(){},removeEventListener:function(){},reason:void 0,throwIfAborted:function(){}}}return l.prototype.abort=function(){process.env.NODE_ENV!=="production"&&(s||(s=!0,console.info("This platform does not implement AbortController. \nIf you want to use the AbortController to react to `abort` events, please consider importing a polyfill like 'abortcontroller-polyfill/dist/abortcontroller-polyfill-only'.")))},l}();function u(l){return function(f,d,g){var v=n!=null&&n.idGenerator?n.idGenerator(l):au(),p=new c,y;function E(S){y=S,p.abort()}var x=function(){return Bs(this,null,function(){var S,b,m,C,R,V,D;return Ms(this,function($){switch($.label){case 0:return $.trys.push([0,4,,5]),C=(S=n==null?void 0:n.condition)==null?void 0:S.call(n,l,{getState:d,extra:g}),fu(C)?[4,C]:[3,2];case 1:C=$.sent(),$.label=2;case 2:if(C===!1||p.signal.aborted)throw{name:"ConditionError",message:"Aborted due to condition callback returning false."};return R=new Promise(function(z,X){return p.signal.addEventListener("abort",function(){return X({name:"AbortError",message:y||"Aborted"})})}),f(i(v,l,(b=n==null?void 0:n.getPendingMeta)==null?void 0:b.call(n,{requestId:v,arg:l},{getState:d,extra:g}))),[4,Promise.race([R,Promise.resolve(r(l,{dispatch:f,getState:d,extra:g,requestId:v,signal:p.signal,abort:E,rejectWithValue:function(z,X){return new fn(z,X)},fulfillWithValue:function(z,X){return new Jo(z,X)}})).then(function(z){if(z instanceof fn)throw z;return z instanceof Jo?o(z.payload,v,l,z.meta):o(z,v,l)})])];case 3:return m=$.sent(),[3,5];case 4:return V=$.sent(),m=V instanceof fn?a(null,v,l,V.payload,V.meta):a(V,v,l),[3,5];case 5:return D=n&&!n.dispatchConditionRejection&&a.match(m)&&m.meta.condition,D||f(m),[2,m]}})})}();return Object.assign(x,{abort:E,requestId:v,arg:l,unwrap:function(){return x.then(lu)}})}}return Object.assign(u,{pending:i,rejected:a,fulfilled:o,typePrefix:t})}return e.withTypes=function(){return e},e}();function lu(e){if(e.meta&&e.meta.rejectedWithValue)throw e.payload;if(e.error)throw e.error;return e.payload}function fu(e){return e!==null&&typeof e=="object"&&typeof e.then=="function"}var dn="listenerMiddleware";nt(dn+"/add"),nt(dn+"/removeAll"),nt(dn+"/remove");var Zo;typeof queueMicrotask=="function"&&queueMicrotask.bind(typeof window<"u"?window:typeof global<"u"?global:globalThis),bs();function ke(e,t){if(e==null)return{};var r={},n=Object.keys(e),o,i;for(i=0;i<n.length;i++)o=n[i],!(t.indexOf(o)>=0)&&(r[o]=e[o]);return r}function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},k.apply(this,arguments)}var pn={exports:{}},lr={exports:{}},ae={};/** @license React v16.13.1
|
|
35
|
+
* react-is.production.min.js
|
|
36
|
+
*
|
|
37
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
38
|
+
*
|
|
39
|
+
* This source code is licensed under the MIT license found in the
|
|
40
|
+
* LICENSE file in the root directory of this source tree.
|
|
41
|
+
*/var Qo;function du(){if(Qo)return ae;Qo=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=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,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function S(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case t:switch(m=m.type,m){case c:case u:case n:case i:case o:case f:return m;default:switch(m=m&&m.$$typeof,m){case s:case l:case v:case g:case a:return m;default:return C}}case r:return C}}}function b(m){return S(m)===u}return ae.AsyncMode=c,ae.ConcurrentMode=u,ae.ContextConsumer=s,ae.ContextProvider=a,ae.Element=t,ae.ForwardRef=l,ae.Fragment=n,ae.Lazy=v,ae.Memo=g,ae.Portal=r,ae.Profiler=i,ae.StrictMode=o,ae.Suspense=f,ae.isAsyncMode=function(m){return b(m)||S(m)===c},ae.isConcurrentMode=b,ae.isContextConsumer=function(m){return S(m)===s},ae.isContextProvider=function(m){return S(m)===a},ae.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},ae.isForwardRef=function(m){return S(m)===l},ae.isFragment=function(m){return S(m)===n},ae.isLazy=function(m){return S(m)===v},ae.isMemo=function(m){return S(m)===g},ae.isPortal=function(m){return S(m)===r},ae.isProfiler=function(m){return S(m)===i},ae.isStrictMode=function(m){return S(m)===o},ae.isSuspense=function(m){return S(m)===f},ae.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===u||m===i||m===o||m===f||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===v||m.$$typeof===g||m.$$typeof===a||m.$$typeof===s||m.$$typeof===l||m.$$typeof===y||m.$$typeof===E||m.$$typeof===x||m.$$typeof===p)},ae.typeOf=S,ae}var se={};/** @license React v16.13.1
|
|
42
|
+
* react-is.development.js
|
|
43
|
+
*
|
|
44
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
45
|
+
*
|
|
46
|
+
* This source code is licensed under the MIT license found in the
|
|
47
|
+
* LICENSE file in the root directory of this source tree.
|
|
48
|
+
*/var ei;function pu(){return ei||(ei=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=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,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function S(_){return typeof _=="string"||typeof _=="function"||_===n||_===u||_===i||_===o||_===f||_===d||typeof _=="object"&&_!==null&&(_.$$typeof===v||_.$$typeof===g||_.$$typeof===a||_.$$typeof===s||_.$$typeof===l||_.$$typeof===y||_.$$typeof===E||_.$$typeof===x||_.$$typeof===p)}function b(_){if(typeof _=="object"&&_!==null){var Oe=_.$$typeof;switch(Oe){case t:var j=_.type;switch(j){case c:case u:case n:case i:case o:case f:return j;default:var Ae=j&&j.$$typeof;switch(Ae){case s:case l:case v:case g:case a:return Ae;default:return Oe}}case r:return Oe}}}var m=c,C=u,R=s,V=a,D=t,$=l,z=n,X=v,Z=g,Q=r,pe=i,ne=o,ge=f,he=!1;function Le(_){return he||(he=!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.")),O(_)||b(_)===c}function O(_){return b(_)===u}function A(_){return b(_)===s}function Y(_){return b(_)===a}function W(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function I(_){return b(_)===l}function q(_){return b(_)===n}function M(_){return b(_)===v}function F(_){return b(_)===g}function U(_){return b(_)===r}function L(_){return b(_)===i}function K(_){return b(_)===o}function Se(_){return b(_)===f}se.AsyncMode=m,se.ConcurrentMode=C,se.ContextConsumer=R,se.ContextProvider=V,se.Element=D,se.ForwardRef=$,se.Fragment=z,se.Lazy=X,se.Memo=Z,se.Portal=Q,se.Profiler=pe,se.StrictMode=ne,se.Suspense=ge,se.isAsyncMode=Le,se.isConcurrentMode=O,se.isContextConsumer=A,se.isContextProvider=Y,se.isElement=W,se.isForwardRef=I,se.isFragment=q,se.isLazy=M,se.isMemo=F,se.isPortal=U,se.isProfiler=L,se.isStrictMode=K,se.isSuspense=Se,se.isValidElementType=S,se.typeOf=b}()),se}var ti;function ri(){return ti||(ti=1,process.env.NODE_ENV==="production"?lr.exports=du():lr.exports=pu()),lr.exports}/*
|
|
49
|
+
object-assign
|
|
50
|
+
(c) Sindre Sorhus
|
|
51
|
+
@license MIT
|
|
52
|
+
*/var mn,ni;function mu(){if(ni)return mn;ni=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(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={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(l){return a[l]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(l){u[l]=l}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return mn=o()?Object.assign:function(i,a){for(var s,c=n(i),u,l=1;l<arguments.length;l++){s=Object(arguments[l]);for(var f in s)t.call(s,f)&&(c[f]=s[f]);if(e){u=e(s);for(var d=0;d<u.length;d++)r.call(s,u[d])&&(c[u[d]]=s[u[d]])}}return c},mn}var hn,oi;function vn(){if(oi)return hn;oi=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return hn=e,hn}var yn,ii;function ai(){return ii||(ii=1,yn=Function.call.bind(Object.prototype.hasOwnProperty)),yn}var gn,si;function hu(){if(si)return gn;si=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=vn(),r={},n=ai();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function o(i,a,s,c,u){if(process.env.NODE_ENV!=="production"){for(var l in i)if(n(i,l)){var f;try{if(typeof i[l]!="function"){var d=Error((c||"React class")+": "+s+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw d.name="Invariant Violation",d}f=i[l](a,l,c,s,null,t)}catch(v){f=v}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in r)){r[f.message]=!0;var g=u?u():"";e("Failed "+s+" type: "+f.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},gn=o,gn}var bn,ui;function vu(){if(ui)return bn;ui=1;var e=ri(),t=mu(),r=vn(),n=ai(),o=hu(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return bn=function(s,c){var u=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function f(O){var A=O&&(u&&O[u]||O[l]);if(typeof A=="function")return A}var d="<<anonymous>>",g={array:E("array"),bigint:E("bigint"),bool:E("boolean"),func:E("function"),number:E("number"),object:E("object"),string:E("string"),symbol:E("symbol"),any:x(),arrayOf:S,element:b(),elementType:m(),instanceOf:C,node:$(),objectOf:V,oneOf:R,oneOfType:D,shape:X,exact:Z};function v(O,A){return O===A?O!==0||1/O===1/A:O!==O&&A!==A}function p(O,A){this.message=O,this.data=A&&typeof A=="object"?A:{},this.stack=""}p.prototype=Error.prototype;function y(O){if(process.env.NODE_ENV!=="production")var A={},Y=0;function W(q,M,F,U,L,K,Se){if(U=U||d,K=K||F,Se!==r){if(c){var _=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 _.name="Invariant Violation",_}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Oe=U+":"+F;!A[Oe]&&Y<3&&(i("You are manually calling a React.PropTypes validation function for the `"+K+"` prop on `"+U+"`. 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."),A[Oe]=!0,Y++)}}return M[F]==null?q?M[F]===null?new p("The "+L+" `"+K+"` is marked as required "+("in `"+U+"`, but its value is `null`.")):new p("The "+L+" `"+K+"` is marked as required in "+("`"+U+"`, but its value is `undefined`.")):null:O(M,F,U,L,K)}var I=W.bind(null,!1);return I.isRequired=W.bind(null,!0),I}function E(O){function A(Y,W,I,q,M,F){var U=Y[W],L=ne(U);if(L!==O){var K=ge(U);return new p("Invalid "+q+" `"+M+"` of type "+("`"+K+"` supplied to `"+I+"`, expected ")+("`"+O+"`."),{expectedType:O})}return null}return y(A)}function x(){return y(a)}function S(O){function A(Y,W,I,q,M){if(typeof O!="function")return new p("Property `"+M+"` of component `"+I+"` has invalid PropType notation inside arrayOf.");var F=Y[W];if(!Array.isArray(F)){var U=ne(F);return new p("Invalid "+q+" `"+M+"` of type "+("`"+U+"` supplied to `"+I+"`, expected an array."))}for(var L=0;L<F.length;L++){var K=O(F,L,I,q,M+"["+L+"]",r);if(K instanceof Error)return K}return null}return y(A)}function b(){function O(A,Y,W,I,q){var M=A[Y];if(!s(M)){var F=ne(M);return new p("Invalid "+I+" `"+q+"` of type "+("`"+F+"` supplied to `"+W+"`, expected a single ReactElement."))}return null}return y(O)}function m(){function O(A,Y,W,I,q){var M=A[Y];if(!e.isValidElementType(M)){var F=ne(M);return new p("Invalid "+I+" `"+q+"` of type "+("`"+F+"` supplied to `"+W+"`, expected a single ReactElement type."))}return null}return y(O)}function C(O){function A(Y,W,I,q,M){if(!(Y[W]instanceof O)){var F=O.name||d,U=Le(Y[W]);return new p("Invalid "+q+" `"+M+"` of type "+("`"+U+"` supplied to `"+I+"`, expected ")+("instance of `"+F+"`."))}return null}return y(A)}function R(O){if(!Array.isArray(O))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 A(Y,W,I,q,M){for(var F=Y[W],U=0;U<O.length;U++)if(v(F,O[U]))return null;var L=JSON.stringify(O,function(Se,_){var Oe=ge(_);return Oe==="symbol"?String(_):_});return new p("Invalid "+q+" `"+M+"` of value `"+String(F)+"` "+("supplied to `"+I+"`, expected one of "+L+"."))}return y(A)}function V(O){function A(Y,W,I,q,M){if(typeof O!="function")return new p("Property `"+M+"` of component `"+I+"` has invalid PropType notation inside objectOf.");var F=Y[W],U=ne(F);if(U!=="object")return new p("Invalid "+q+" `"+M+"` of type "+("`"+U+"` supplied to `"+I+"`, expected an object."));for(var L in F)if(n(F,L)){var K=O(F,L,I,q,M+"."+L,r);if(K instanceof Error)return K}return null}return y(A)}function D(O){if(!Array.isArray(O))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var A=0;A<O.length;A++){var Y=O[A];if(typeof Y!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+he(Y)+" at index "+A+"."),a}function W(I,q,M,F,U){for(var L=[],K=0;K<O.length;K++){var Se=O[K],_=Se(I,q,M,F,U,r);if(_==null)return null;_.data&&n(_.data,"expectedType")&&L.push(_.data.expectedType)}var Oe=L.length>0?", expected one of type ["+L.join(", ")+"]":"";return new p("Invalid "+F+" `"+U+"` supplied to "+("`"+M+"`"+Oe+"."))}return y(W)}function $(){function O(A,Y,W,I,q){return Q(A[Y])?null:new p("Invalid "+I+" `"+q+"` supplied to "+("`"+W+"`, expected a ReactNode."))}return y(O)}function z(O,A,Y,W,I){return new p((O||"React class")+": "+A+" type `"+Y+"."+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+I+"`.")}function X(O){function A(Y,W,I,q,M){var F=Y[W],U=ne(F);if(U!=="object")return new p("Invalid "+q+" `"+M+"` of type `"+U+"` "+("supplied to `"+I+"`, expected `object`."));for(var L in O){var K=O[L];if(typeof K!="function")return z(I,q,M,L,ge(K));var Se=K(F,L,I,q,M+"."+L,r);if(Se)return Se}return null}return y(A)}function Z(O){function A(Y,W,I,q,M){var F=Y[W],U=ne(F);if(U!=="object")return new p("Invalid "+q+" `"+M+"` of type `"+U+"` "+("supplied to `"+I+"`, expected `object`."));var L=t({},Y[W],O);for(var K in L){var Se=O[K];if(n(O,K)&&typeof Se!="function")return z(I,q,M,K,ge(Se));if(!Se)return new p("Invalid "+q+" `"+M+"` key `"+K+"` supplied to `"+I+"`.\nBad object: "+JSON.stringify(Y[W],null," ")+`
|
|
53
|
+
Valid keys: `+JSON.stringify(Object.keys(O),null," "));var _=Se(F,K,I,q,M+"."+K,r);if(_)return _}return null}return y(A)}function Q(O){switch(typeof O){case"number":case"string":case"undefined":return!0;case"boolean":return!O;case"object":if(Array.isArray(O))return O.every(Q);if(O===null||s(O))return!0;var A=f(O);if(A){var Y=A.call(O),W;if(A!==O.entries){for(;!(W=Y.next()).done;)if(!Q(W.value))return!1}else for(;!(W=Y.next()).done;){var I=W.value;if(I&&!Q(I[1]))return!1}}else return!1;return!0;default:return!1}}function pe(O,A){return O==="symbol"?!0:A?A["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&A instanceof Symbol:!1}function ne(O){var A=typeof O;return Array.isArray(O)?"array":O instanceof RegExp?"object":pe(A,O)?"symbol":A}function ge(O){if(typeof O>"u"||O===null)return""+O;var A=ne(O);if(A==="object"){if(O instanceof Date)return"date";if(O instanceof RegExp)return"regexp"}return A}function he(O){var A=ge(O);switch(A){case"array":case"object":return"an "+A;case"boolean":case"date":case"regexp":return"a "+A;default:return A}}function Le(O){return!O.constructor||!O.constructor.name?d:O.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},bn}var En,ci;function yu(){if(ci)return En;ci=1;var e=vn();function t(){}function r(){}return r.resetWarningCache=t,En=function(){function n(a,s,c,u,l,f){if(f!==e){var d=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 d.name="Invariant Violation",d}}n.isRequired=n;function o(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},En}if(process.env.NODE_ENV!=="production"){var gu=ri(),bu=!0;pn.exports=vu()(gu.isElement,bu)}else pn.exports=yu()();var Eu=pn.exports;const w=cs(Eu);function li(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=li(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Me(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=li(e))&&(n&&(n+=" "),n+=t);return n}function Su(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...n){return e(...n)||t(...n)}}function bt(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function fi(e){if(!bt(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=fi(e[r])}),t}function He(e,t,r={clone:!0}){const n=r.clone?k({},e):e;return bt(e)&&bt(t)&&Object.keys(t).forEach(o=>{o!=="__proto__"&&(bt(t[o])&&o in e&&bt(e[o])?n[o]=He(e[o],t[o],r):r.clone?n[o]=bt(t[o])?fi(t[o]):t[o]:n[o]=t[o])}),n}function _u(e){const{prototype:t={}}=e;return!!t.isReactComponent}function wu(e,t,r,n,o){const i=e[t],a=o||t;if(i==null||typeof window>"u")return null;let s;return typeof i=="function"&&!_u(i)&&(s="Did you accidentally provide a plain function component instead?"),s!==void 0?new Error(`Invalid ${n} \`${a}\` supplied to \`${r}\`. Expected an element type that can hold a ref. ${s} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const xu=Su(w.elementType,wu);function Et(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Sn={exports:{}},ue={};/**
|
|
54
|
+
* @license React
|
|
55
|
+
* react-is.production.min.js
|
|
56
|
+
*
|
|
57
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
58
|
+
*
|
|
59
|
+
* This source code is licensed under the MIT license found in the
|
|
60
|
+
* LICENSE file in the root directory of this source tree.
|
|
61
|
+
*/var di;function Ou(){if(di)return ue;di=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v;v=Symbol.for("react.module.reference");function p(y){if(typeof y=="object"&&y!==null){var E=y.$$typeof;switch(E){case e:switch(y=y.type,y){case r:case o:case n:case u:case l:return y;default:switch(y=y&&y.$$typeof,y){case s:case a:case c:case d:case f:case i:return y;default:return E}}case t:return E}}}return ue.ContextConsumer=a,ue.ContextProvider=i,ue.Element=e,ue.ForwardRef=c,ue.Fragment=r,ue.Lazy=d,ue.Memo=f,ue.Portal=t,ue.Profiler=o,ue.StrictMode=n,ue.Suspense=u,ue.SuspenseList=l,ue.isAsyncMode=function(){return!1},ue.isConcurrentMode=function(){return!1},ue.isContextConsumer=function(y){return p(y)===a},ue.isContextProvider=function(y){return p(y)===i},ue.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},ue.isForwardRef=function(y){return p(y)===c},ue.isFragment=function(y){return p(y)===r},ue.isLazy=function(y){return p(y)===d},ue.isMemo=function(y){return p(y)===f},ue.isPortal=function(y){return p(y)===t},ue.isProfiler=function(y){return p(y)===o},ue.isStrictMode=function(y){return p(y)===n},ue.isSuspense=function(y){return p(y)===u},ue.isSuspenseList=function(y){return p(y)===l},ue.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===o||y===n||y===u||y===l||y===g||typeof y=="object"&&y!==null&&(y.$$typeof===d||y.$$typeof===f||y.$$typeof===i||y.$$typeof===a||y.$$typeof===c||y.$$typeof===v||y.getModuleId!==void 0)},ue.typeOf=p,ue}var ce={};/**
|
|
62
|
+
* @license React
|
|
63
|
+
* react-is.development.js
|
|
64
|
+
*
|
|
65
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
66
|
+
*
|
|
67
|
+
* This source code is licensed under the MIT license found in the
|
|
68
|
+
* LICENSE file in the root directory of this source tree.
|
|
69
|
+
*/var pi;function Tu(){return pi||(pi=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),v=!1,p=!1,y=!1,E=!1,x=!1,S;S=Symbol.for("react.module.reference");function b(j){return!!(typeof j=="string"||typeof j=="function"||j===r||j===o||x||j===n||j===u||j===l||E||j===g||v||p||y||typeof j=="object"&&j!==null&&(j.$$typeof===d||j.$$typeof===f||j.$$typeof===i||j.$$typeof===a||j.$$typeof===c||j.$$typeof===S||j.getModuleId!==void 0))}function m(j){if(typeof j=="object"&&j!==null){var Ae=j.$$typeof;switch(Ae){case e:var We=j.type;switch(We){case r:case o:case n:case u:case l:return We;default:var pt=We&&We.$$typeof;switch(pt){case s:case a:case c:case d:case f:case i:return pt;default:return Ae}}case t:return Ae}}}var C=a,R=i,V=e,D=c,$=r,z=d,X=f,Z=t,Q=o,pe=n,ne=u,ge=l,he=!1,Le=!1;function O(j){return he||(he=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function A(j){return Le||(Le=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Y(j){return m(j)===a}function W(j){return m(j)===i}function I(j){return typeof j=="object"&&j!==null&&j.$$typeof===e}function q(j){return m(j)===c}function M(j){return m(j)===r}function F(j){return m(j)===d}function U(j){return m(j)===f}function L(j){return m(j)===t}function K(j){return m(j)===o}function Se(j){return m(j)===n}function _(j){return m(j)===u}function Oe(j){return m(j)===l}ce.ContextConsumer=C,ce.ContextProvider=R,ce.Element=V,ce.ForwardRef=D,ce.Fragment=$,ce.Lazy=z,ce.Memo=X,ce.Portal=Z,ce.Profiler=Q,ce.StrictMode=pe,ce.Suspense=ne,ce.SuspenseList=ge,ce.isAsyncMode=O,ce.isConcurrentMode=A,ce.isContextConsumer=Y,ce.isContextProvider=W,ce.isElement=I,ce.isForwardRef=q,ce.isFragment=M,ce.isLazy=F,ce.isMemo=U,ce.isPortal=L,ce.isProfiler=K,ce.isStrictMode=Se,ce.isSuspense=_,ce.isSuspenseList=Oe,ce.isValidElementType=b,ce.typeOf=m}()),ce}process.env.NODE_ENV==="production"?Sn.exports=Ou():Sn.exports=Tu();var mi=Sn.exports;const Cu=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Ru(e){const t=`${e}`.match(Cu);return t&&t[1]||""}function hi(e,t=""){return e.displayName||e.name||Ru(e)||t}function yi(e,t,r){const n=hi(t);return e.displayName||(n!==""?`${r}(${n})`:r)}function Pu(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return hi(e,"Component");if(typeof e=="object")switch(e.$$typeof){case mi.ForwardRef:return yi(e,e.render,"ForwardRef");case mi.Memo:return yi(e,e.type,"memo");default:return}}}const Nu=w.oneOfType([w.func,w.object]);function we(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":Et(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Au(...e){return e.reduce((t,r)=>r==null?t:function(...o){t.apply(this,o),r.apply(this,o)},()=>{})}function $u(e,t=166){let r;function n(...o){const i=()=>{e.apply(this,o)};clearTimeout(r),r=setTimeout(i,t)}return n.clear=()=>{clearTimeout(r)},n}function ju(e,t){return process.env.NODE_ENV==="production"?()=>null:(r,n,o,i,a)=>{const s=o||"<<anonymous>>",c=a||n;return typeof r[n]<"u"?new Error(`The ${i} \`${c}\` of \`${s}\` is deprecated. ${t}`):null}}function Iu(e,t){return P.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function gi(e){return e&&e.ownerDocument||document}function ku(e){return gi(e).defaultView||window}function Mu(e,t){if(process.env.NODE_ENV==="production")return()=>null;const r=t?k({},t.propTypes):null;return o=>(i,a,s,c,u,...l)=>{const f=u||a,d=r==null?void 0:r[f];if(d){const g=d(i,a,s,c,u,...l);if(g)return g}return typeof i[a]<"u"&&!i[o]?new Error(`The prop \`${f}\` of \`${e}\` can only be used together with the \`${o}\` prop.`):null}}function bi(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const Ei=typeof window<"u"?P.useLayoutEffect:P.useEffect;let Si=0;function Du(e){const[t,r]=P.useState(e),n=e||t;return P.useEffect(()=>{t==null&&(Si+=1,r(`mui-${Si}`))},[t]),n}const _i=P["useId".toString()];function Vu(e){if(_i!==void 0){const t=_i();return e??t}return Du(e)}function Lu(e,t,r,n,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 zu({controlled:e,default:t,name:r,state:n="value"}){const{current:o}=P.useRef(e!==void 0),[i,a]=P.useState(t),s=o?e:i;if(process.env.NODE_ENV!=="production"){P.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${n} state of ${r} to be ${o?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${r} 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(`
|
|
70
|
+
`))},[n,r,e]);const{current:u}=P.useRef(t);P.useEffect(()=>{!o&&u!==t&&console.error([`MUI: A component is changing the default ${n} state of an uncontrolled ${r} after being initialized. To suppress this warning opt to use a controlled ${r}.`].join(`
|
|
71
|
+
`))},[JSON.stringify(t)])}const c=P.useCallback(u=>{o||a(u)},[]);return[s,c]}function Ft(e){const t=P.useRef(e);return Ei(()=>{t.current=e}),P.useCallback((...r)=>(0,t.current)(...r),[])}function _n(...e){return P.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(r=>{bi(r,t)})},e)}let fr=!0,wn=!1,wi;const Fu={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 Bu(e){const{type:t,tagName:r}=e;return!!(r==="INPUT"&&Fu[t]&&!e.readOnly||r==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Wu(e){e.metaKey||e.altKey||e.ctrlKey||(fr=!0)}function xn(){fr=!1}function Uu(){this.visibilityState==="hidden"&&wn&&(fr=!0)}function Yu(e){e.addEventListener("keydown",Wu,!0),e.addEventListener("mousedown",xn,!0),e.addEventListener("pointerdown",xn,!0),e.addEventListener("touchstart",xn,!0),e.addEventListener("visibilitychange",Uu,!0)}function qu(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return fr||Bu(t)}function xi(){const e=P.useCallback(o=>{o!=null&&Yu(o.ownerDocument)},[]),t=P.useRef(!1);function r(){return t.current?(wn=!0,window.clearTimeout(wi),wi=window.setTimeout(()=>{wn=!1},100),t.current=!1,!0):!1}function n(o){return qu(o)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:n,onBlur:r,ref:e}}function On(e,t){const r=k({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=k({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},!i||!Object.keys(i)?r[n]=o:!o||!Object.keys(o)?r[n]=i:(r[n]=k({},i),Object.keys(o).forEach(a=>{r[n][a]=On(o[a],i[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}function Tn(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((i,a)=>{if(a){const s=t(a);s!==""&&i.push(s),r&&r[a]&&i.push(r[a])}return i},[]).join(" ")}),n}const Oi=e=>e,Ti=(()=>{let e=Oi;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Oi}}})(),Ku={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function Bt(e,t,r="Mui"){const n=Ku[t];return n?`${r}-${n}`:`${Ti.generate(e)}-${t}`}function dr(e,t,r="Mui"){const n={};return t.forEach(o=>{n[o]=Bt(e,o,r)}),n}function Ci(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Gu=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Hu=Ci(function(e){return Gu.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function Xu(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 Ju(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 Zu=function(){function e(r){var n=this;this._insertTag=function(o){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(o,i),n.tags.push(o)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ju(this));var o=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var i=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;i&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
72
|
+
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!i}if(this.isSpeedy){var a=Xu(o);try{a.insertRule(n,a.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else o.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ne="-ms-",pr="-moz-",te="-webkit-",Cn="comm",Rn="rule",Pn="decl",Qu="@import",Ri="@keyframes",ec="@layer",tc=Math.abs,mr=String.fromCharCode,rc=Object.assign;function nc(e,t){return Re(e,0)^45?(((t<<2^Re(e,0))<<2^Re(e,1))<<2^Re(e,2))<<2^Re(e,3):0}function Pi(e){return e.trim()}function oc(e,t){return(e=t.exec(e))?e[0]:e}function re(e,t,r){return e.replace(t,r)}function Nn(e,t){return e.indexOf(t)}function Re(e,t){return e.charCodeAt(t)|0}function Wt(e,t,r){return e.slice(t,r)}function Ye(e){return e.length}function An(e){return e.length}function hr(e,t){return t.push(e),e}function ic(e,t){return e.map(t).join("")}var vr=1,St=1,Ni=0,je=0,xe=0,_t="";function yr(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:vr,column:St,length:a,return:""}}function Ut(e,t){return rc(yr("",null,null,"",null,null,0),e,{length:-e.length},t)}function ac(){return xe}function sc(){return xe=je>0?Re(_t,--je):0,St--,xe===10&&(St=1,vr--),xe}function De(){return xe=je<Ni?Re(_t,je++):0,St++,xe===10&&(St=1,vr++),xe}function qe(){return Re(_t,je)}function gr(){return je}function Yt(e,t){return Wt(_t,e,t)}function qt(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 Ai(e){return vr=St=1,Ni=Ye(_t=e),je=0,[]}function $i(e){return _t="",e}function br(e){return Pi(Yt(je-1,$n(e===91?e+2:e===40?e+1:e)))}function uc(e){for(;(xe=qe())&&xe<33;)De();return qt(e)>2||qt(xe)>3?"":" "}function cc(e,t){for(;--t&&De()&&!(xe<48||xe>102||xe>57&&xe<65||xe>70&&xe<97););return Yt(e,gr()+(t<6&&qe()==32&&De()==32))}function $n(e){for(;De();)switch(xe){case e:return je;case 34:case 39:e!==34&&e!==39&&$n(xe);break;case 40:e===41&&$n(e);break;case 92:De();break}return je}function lc(e,t){for(;De()&&e+xe!==47+10;)if(e+xe===42+42&&qe()===47)break;return"/*"+Yt(t,je-1)+"*"+mr(e===47?e:De())}function fc(e){for(;!qt(qe());)De();return Yt(e,je)}function dc(e){return $i(Er("",null,null,null,[""],e=Ai(e),0,[0],e))}function Er(e,t,r,n,o,i,a,s,c){for(var u=0,l=0,f=a,d=0,g=0,v=0,p=1,y=1,E=1,x=0,S="",b=o,m=i,C=n,R=S;y;)switch(v=x,x=De()){case 40:if(v!=108&&Re(R,f-1)==58){Nn(R+=re(br(x),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:R+=br(x);break;case 9:case 10:case 13:case 32:R+=uc(v);break;case 92:R+=cc(gr()-1,7);continue;case 47:switch(qe()){case 42:case 47:hr(pc(lc(De(),gr()),t,r),c);break;default:R+="/"}break;case 123*p:s[u++]=Ye(R)*E;case 125*p:case 59:case 0:switch(x){case 0:case 125:y=0;case 59+l:E==-1&&(R=re(R,/\f/g,"")),g>0&&Ye(R)-f&&hr(g>32?Ii(R+";",n,r,f-1):Ii(re(R," ","")+";",n,r,f-2),c);break;case 59:R+=";";default:if(hr(C=ji(R,t,r,u,l,o,s,S,b=[],m=[],f),i),x===123)if(l===0)Er(R,t,C,C,b,i,f,s,m);else switch(d===99&&Re(R,3)===110?100:d){case 100:case 108:case 109:case 115:Er(e,C,C,n&&hr(ji(e,C,C,0,0,o,s,S,o,b=[],f),m),o,m,f,s,n?b:m);break;default:Er(R,C,C,C,[""],m,0,s,m)}}u=l=g=0,p=E=1,S=R="",f=a;break;case 58:f=1+Ye(R),g=v;default:if(p<1){if(x==123)--p;else if(x==125&&p++==0&&sc()==125)continue}switch(R+=mr(x),x*p){case 38:E=l>0?1:(R+="\f",-1);break;case 44:s[u++]=(Ye(R)-1)*E,E=1;break;case 64:qe()===45&&(R+=br(De())),d=qe(),l=f=Ye(S=R+=fc(gr())),x++;break;case 45:v===45&&Ye(R)==2&&(p=0)}}return i}function ji(e,t,r,n,o,i,a,s,c,u,l){for(var f=o-1,d=o===0?i:[""],g=An(d),v=0,p=0,y=0;v<n;++v)for(var E=0,x=Wt(e,f+1,f=tc(p=a[v])),S=e;E<g;++E)(S=Pi(p>0?d[E]+" "+x:re(x,/&\f/g,d[E])))&&(c[y++]=S);return yr(e,t,r,o===0?Rn:s,c,u,l)}function pc(e,t,r){return yr(e,t,r,Cn,mr(ac()),Wt(e,2,-2),0)}function Ii(e,t,r,n){return yr(e,t,r,Pn,Wt(e,0,n),Wt(e,n+1,-1),n)}function wt(e,t){for(var r="",n=An(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function mc(e,t,r,n){switch(e.type){case ec:if(e.children.length)break;case Qu:case Pn:return e.return=e.return||e.value;case Cn:return"";case Ri:return e.return=e.value+"{"+wt(e.children,n)+"}";case Rn:e.value=e.props.join(",")}return Ye(r=wt(e.children,n))?e.return=e.value+"{"+r+"}":""}function hc(e){var t=An(e);return function(r,n,o,i){for(var a="",s=0;s<t;s++)a+=e[s](r,n,o,i)||"";return a}}function vc(e){return function(t){t.root||(t=t.return)&&e(t)}}var yc=function(t,r,n){for(var o=0,i=0;o=i,i=qe(),o===38&&i===12&&(r[n]=1),!qt(i);)De();return Yt(t,je)},gc=function(t,r){var n=-1,o=44;do switch(qt(o)){case 0:o===38&&qe()===12&&(r[n]=1),t[n]+=yc(je-1,r,n);break;case 2:t[n]+=br(o);break;case 4:if(o===44){t[++n]=qe()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=mr(o)}while(o=De());return t},bc=function(t,r){return $i(gc(Ai(t),r))},ki=new WeakMap,Ec=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,o=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!ki.get(n))&&!o){ki.set(t,!0);for(var i=[],a=bc(r,i),s=n.props,c=0,u=0;c<a.length;c++)for(var l=0;l<s.length;l++,u++)t.props[u]=i[c]?a[c].replace(/&\f/g,s[l]):s[l]+" "+a[c]}}},Sc=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},_c="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",wc=function(t){return t.type==="comm"&&t.children.indexOf(_c)>-1},xc=function(t){return function(r,n,o){if(!(r.type!=="rule"||t.compat)){var i=r.value.match(/(:first|:nth|:nth-last)-child/g);if(i){for(var a=!!r.parent,s=a?r.parent.children:o,c=s.length-1;c>=0;c--){var u=s[c];if(u.line<r.line)break;if(u.column<r.column){if(wc(u))return;break}}i.forEach(function(l){console.error('The pseudo class "'+l+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+l.split("-child")[0]+'-of-type".')})}}}},Mi=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Oc=function(t,r){for(var n=t-1;n>=0;n--)if(!Mi(r[n]))return!0;return!1},Di=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},Tc=function(t,r,n){Mi(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Di(t)):Oc(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Di(t)))};function Vi(e,t){switch(nc(e,t)){case 5103:return te+"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 te+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return te+e+pr+e+Ne+e+e;case 6828:case 4268:return te+e+Ne+e+e;case 6165:return te+e+Ne+"flex-"+e+e;case 5187:return te+e+re(e,/(\w+).+(:[^]+)/,te+"box-$1$2"+Ne+"flex-$1$2")+e;case 5443:return te+e+Ne+"flex-item-"+re(e,/flex-|-self/,"")+e;case 4675:return te+e+Ne+"flex-line-pack"+re(e,/align-content|flex-|-self/,"")+e;case 5548:return te+e+Ne+re(e,"shrink","negative")+e;case 5292:return te+e+Ne+re(e,"basis","preferred-size")+e;case 6060:return te+"box-"+re(e,"-grow","")+te+e+Ne+re(e,"grow","positive")+e;case 4554:return te+re(e,/([^-])(transform)/g,"$1"+te+"$2")+e;case 6187:return re(re(re(e,/(zoom-|grab)/,te+"$1"),/(image-set)/,te+"$1"),e,"")+e;case 5495:case 3959:return re(e,/(image-set\([^]*)/,te+"$1$`$1");case 4968:return re(re(e,/(.+:)(flex-)?(.*)/,te+"box-pack:$3"+Ne+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+te+e+e;case 4095:case 3583:case 4068:case 2532:return re(e,/(.+)-inline(.+)/,te+"$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(Ye(e)-1-t>6)switch(Re(e,t+1)){case 109:if(Re(e,t+4)!==45)break;case 102:return re(e,/(.+:)(.+)-([^]+)/,"$1"+te+"$2-$3$1"+pr+(Re(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Nn(e,"stretch")?Vi(re(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Re(e,t+1)!==115)break;case 6444:switch(Re(e,Ye(e)-3-(~Nn(e,"!important")&&10))){case 107:return re(e,":",":"+te)+e;case 101:return re(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+te+(Re(e,14)===45?"inline-":"")+"box$3$1"+te+"$2$3$1"+Ne+"$2box$3")+e}break;case 5936:switch(Re(e,t+11)){case 114:return te+e+Ne+re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return te+e+Ne+re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return te+e+Ne+re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return te+e+Ne+e+e}return e}var Cc=function(t,r,n,o){if(t.length>-1&&!t.return)switch(t.type){case Pn:t.return=Vi(t.value,t.length);break;case Ri:return wt([Ut(t,{value:re(t.value,"@","@"+te)})],o);case Rn:if(t.length)return ic(t.props,function(i){switch(oc(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return wt([Ut(t,{props:[re(i,/:(read-\w+)/,":"+pr+"$1")]})],o);case"::placeholder":return wt([Ut(t,{props:[re(i,/:(plac\w+)/,":"+te+"input-$1")]}),Ut(t,{props:[re(i,/:(plac\w+)/,":"+pr+"$1")]}),Ut(t,{props:[re(i,/:(plac\w+)/,Ne+"input-$1")]})],o)}return""})}},Rc=[Cc],Pc=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
73
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(p){var y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||Rc;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var i={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(p){for(var y=p.getAttribute("data-emotion").split(" "),E=1;E<y.length;E++)i[y[E]]=!0;s.push(p)});var c,u=[Ec,Sc];process.env.NODE_ENV!=="production"&&u.push(xc({get compat(){return v.compat}}),Tc);{var l,f=[mc,process.env.NODE_ENV!=="production"?function(p){p.root||(p.return?l.insert(p.return):p.value&&p.type!==Cn&&l.insert(p.value+"{}"))}:vc(function(p){l.insert(p)})],d=hc(u.concat(o,f)),g=function(y){return wt(dc(y),d)};c=function(y,E,x,S){l=x,process.env.NODE_ENV!=="production"&&E.map!==void 0&&(l={insert:function(m){x.insert(m+E.map)}}),g(y?y+"{"+E.styles+"}":E.styles),S&&(v.inserted[E.name]=!0)}}var v={key:r,sheet:new Zu({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:c};return v.sheet.hydrate(s),v},jn={exports:{}},le={};/** @license React v16.13.1
|
|
74
|
+
* react-is.production.min.js
|
|
75
|
+
*
|
|
76
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
77
|
+
*
|
|
78
|
+
* This source code is licensed under the MIT license found in the
|
|
79
|
+
* LICENSE file in the root directory of this source tree.
|
|
80
|
+
*/var Li;function Nc(){if(Li)return le;Li=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=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,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function S(m){if(typeof m=="object"&&m!==null){var C=m.$$typeof;switch(C){case t:switch(m=m.type,m){case c:case u:case n:case i:case o:case f:return m;default:switch(m=m&&m.$$typeof,m){case s:case l:case v:case g:case a:return m;default:return C}}case r:return C}}}function b(m){return S(m)===u}return le.AsyncMode=c,le.ConcurrentMode=u,le.ContextConsumer=s,le.ContextProvider=a,le.Element=t,le.ForwardRef=l,le.Fragment=n,le.Lazy=v,le.Memo=g,le.Portal=r,le.Profiler=i,le.StrictMode=o,le.Suspense=f,le.isAsyncMode=function(m){return b(m)||S(m)===c},le.isConcurrentMode=b,le.isContextConsumer=function(m){return S(m)===s},le.isContextProvider=function(m){return S(m)===a},le.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},le.isForwardRef=function(m){return S(m)===l},le.isFragment=function(m){return S(m)===n},le.isLazy=function(m){return S(m)===v},le.isMemo=function(m){return S(m)===g},le.isPortal=function(m){return S(m)===r},le.isProfiler=function(m){return S(m)===i},le.isStrictMode=function(m){return S(m)===o},le.isSuspense=function(m){return S(m)===f},le.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===u||m===i||m===o||m===f||m===d||typeof m=="object"&&m!==null&&(m.$$typeof===v||m.$$typeof===g||m.$$typeof===a||m.$$typeof===s||m.$$typeof===l||m.$$typeof===y||m.$$typeof===E||m.$$typeof===x||m.$$typeof===p)},le.typeOf=S,le}var fe={};/** @license React v16.13.1
|
|
81
|
+
* react-is.development.js
|
|
82
|
+
*
|
|
83
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
84
|
+
*
|
|
85
|
+
* This source code is licensed under the MIT license found in the
|
|
86
|
+
* LICENSE file in the root directory of this source tree.
|
|
87
|
+
*/var zi;function Ac(){return zi||(zi=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=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,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,d=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,x=e?Symbol.for("react.scope"):60119;function S(_){return typeof _=="string"||typeof _=="function"||_===n||_===u||_===i||_===o||_===f||_===d||typeof _=="object"&&_!==null&&(_.$$typeof===v||_.$$typeof===g||_.$$typeof===a||_.$$typeof===s||_.$$typeof===l||_.$$typeof===y||_.$$typeof===E||_.$$typeof===x||_.$$typeof===p)}function b(_){if(typeof _=="object"&&_!==null){var Oe=_.$$typeof;switch(Oe){case t:var j=_.type;switch(j){case c:case u:case n:case i:case o:case f:return j;default:var Ae=j&&j.$$typeof;switch(Ae){case s:case l:case v:case g:case a:return Ae;default:return Oe}}case r:return Oe}}}var m=c,C=u,R=s,V=a,D=t,$=l,z=n,X=v,Z=g,Q=r,pe=i,ne=o,ge=f,he=!1;function Le(_){return he||(he=!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.")),O(_)||b(_)===c}function O(_){return b(_)===u}function A(_){return b(_)===s}function Y(_){return b(_)===a}function W(_){return typeof _=="object"&&_!==null&&_.$$typeof===t}function I(_){return b(_)===l}function q(_){return b(_)===n}function M(_){return b(_)===v}function F(_){return b(_)===g}function U(_){return b(_)===r}function L(_){return b(_)===i}function K(_){return b(_)===o}function Se(_){return b(_)===f}fe.AsyncMode=m,fe.ConcurrentMode=C,fe.ContextConsumer=R,fe.ContextProvider=V,fe.Element=D,fe.ForwardRef=$,fe.Fragment=z,fe.Lazy=X,fe.Memo=Z,fe.Portal=Q,fe.Profiler=pe,fe.StrictMode=ne,fe.Suspense=ge,fe.isAsyncMode=Le,fe.isConcurrentMode=O,fe.isContextConsumer=A,fe.isContextProvider=Y,fe.isElement=W,fe.isForwardRef=I,fe.isFragment=q,fe.isLazy=M,fe.isMemo=F,fe.isPortal=U,fe.isProfiler=L,fe.isStrictMode=K,fe.isSuspense=Se,fe.isValidElementType=S,fe.typeOf=b}()),fe}process.env.NODE_ENV==="production"?jn.exports=Nc():jn.exports=Ac();var $c=jn.exports,Fi=$c,jc={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ic={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Bi={};Bi[Fi.ForwardRef]=jc,Bi[Fi.Memo]=Ic;var kc=!0;function In(e,t,r){var n="";return r.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):n+=o+" "}),n}var Sr=function(t,r,n){var o=t.key+"-"+r.name;(n===!1||kc===!1)&&t.registered[o]===void 0&&(t.registered[o]=r.styles)},_r=function(t,r,n){Sr(t,r,n);var o=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+o:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Mc(e){for(var t=0,r,n=0,o=e.length;o>=4;++n,o-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&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 Dc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Wi=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
88
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
89
|
+
You can read more about this here:
|
|
90
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Vc="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Lc=/[A-Z]|^ms/g,Ui=/_EMO_([^_]+?)_([^]*?)_EMO_/g,kn=function(t){return t.charCodeAt(1)===45},Yi=function(t){return t!=null&&typeof t!="boolean"},Mn=Ci(function(e){return kn(e)?e:e.replace(Lc,"-$&").toLowerCase()}),wr=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ui,function(n,o,i){return Be={name:o,styles:i,next:Be},o})}return Dc[t]!==1&&!kn(t)&&typeof r=="number"&&r!==0?r+"px":r};if(process.env.NODE_ENV!=="production"){var zc=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Fc=["normal","none","initial","inherit","unset"],Bc=wr,Wc=/^-ms-/,Uc=/-(.)/g,qi={};wr=function(t,r){if(t==="content"&&(typeof r!="string"||Fc.indexOf(r)===-1&&!zc.test(r)&&(r.charAt(0)!==r.charAt(r.length-1)||r.charAt(0)!=='"'&&r.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+r+"\"'`");var n=Bc(t,r);return n!==""&&!kn(t)&&t.indexOf("-")!==-1&&qi[t]===void 0&&(qi[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Wc,"ms-").replace(Uc,function(o,i){return i.toUpperCase()})+"?")),n}}var Ki="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Kt(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(Ki);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return Be={name:r.name,styles:r.styles,next:Be},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)Be={name:n.name,styles:n.styles,next:Be},n=n.next;var o=r.styles+";";return process.env.NODE_ENV!=="production"&&r.map!==void 0&&(o+=r.map),o}return Yc(e,t,r)}case"function":{if(e!==void 0){var i=Be,a=r(e);return Be=i,Kt(e,t,a)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var s=[],c=r.replace(Ui,function(l,f,d){var g="animation"+s.length;return s.push("const "+g+" = keyframes`"+d.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+g+"}"});s.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(s,["`"+c+"`"]).join(`
|
|
91
|
+
`)+`
|
|
92
|
+
|
|
93
|
+
You should wrap it with \`css\` like this:
|
|
94
|
+
|
|
95
|
+
`+("css`"+c+"`"))}break}if(t==null)return r;var u=t[r];return u!==void 0?u:r}function Yc(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=Kt(e,t,r[o])+";";else for(var i in r){var a=r[i];if(typeof a!="object")t!=null&&t[a]!==void 0?n+=i+"{"+t[a]+"}":Yi(a)&&(n+=Mn(i)+":"+wr(i,a)+";");else{if(i==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(Ki);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)Yi(a[s])&&(n+=Mn(i)+":"+wr(i,a[s])+";");else{var c=Kt(e,t,a);switch(i){case"animation":case"animationName":{n+=Mn(i)+":"+c+";";break}default:process.env.NODE_ENV!=="production"&&i==="undefined"&&console.error(Vc),n+=i+"{"+c+"}"}}}}return n}var Gi=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Hi;process.env.NODE_ENV!=="production"&&(Hi=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var Be,xt=function(t,r,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,i="";Be=void 0;var a=t[0];a==null||a.raw===void 0?(o=!1,i+=Kt(n,r,a)):(process.env.NODE_ENV!=="production"&&a[0]===void 0&&console.error(Wi),i+=a[0]);for(var s=1;s<t.length;s++)i+=Kt(n,r,t[s]),o&&(process.env.NODE_ENV!=="production"&&a[s]===void 0&&console.error(Wi),i+=a[s]);var c;process.env.NODE_ENV!=="production"&&(i=i.replace(Hi,function(d){return c=d,""})),Gi.lastIndex=0;for(var u="",l;(l=Gi.exec(i))!==null;)u+="-"+l[1];var f=Mc(i)+u;return process.env.NODE_ENV!=="production"?{name:f,styles:i,map:c,next:Be,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:f,styles:i,next:Be}},qc=function(t){return t()},Xi=P["useInsertionEffect"]?P["useInsertionEffect"]:!1,Dn=Xi||qc,Ji=Xi||P.useLayoutEffect,Kc={}.hasOwnProperty,Vn=P.createContext(typeof HTMLElement<"u"?Pc({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Vn.displayName="EmotionCacheContext"),Vn.Provider;var xr=function(t){return ie.forwardRef(function(r,n){var o=ie.useContext(Vn);return t(r,o,n)})},Ot=P.createContext({});process.env.NODE_ENV!=="production"&&(Ot.displayName="EmotionThemeContext");var Zi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Qi="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Gc=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Sr(r,n,o),Dn(function(){return _r(r,n,o)}),null},Hc=xr(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var o=e[Zi],i=[n],a="";typeof e.className=="string"?a=In(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var s=xt(i,void 0,P.useContext(Ot));if(process.env.NODE_ENV!=="production"&&s.name.indexOf("-")===-1){var c=e[Qi];c&&(s=xt([s,"label:"+c+";"]))}a+=t.key+"-"+s.name;var u={};for(var l in e)Kc.call(e,l)&&l!=="css"&&l!==Zi&&(process.env.NODE_ENV==="production"||l!==Qi)&&(u[l]=e[l]);return u.ref=r,u.className=a,P.createElement(P.Fragment,null,P.createElement(Gc,{cache:t,serialized:s,isStringTag:typeof o=="string"}),P.createElement(o,u))});process.env.NODE_ENV!=="production"&&(Hc.displayName="EmotionCssPropInternal");var Xc={name:"@emotion/react",version:"11.11.1",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.2","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.0","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},ea=!1,Jc=xr(function(e,t){process.env.NODE_ENV!=="production"&&!ea&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),ea=!0);var r=e.styles,n=xt([r],void 0,P.useContext(Ot)),o=P.useRef();return Ji(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}),s=!1,c=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),c!==null&&(s=!0,c.setAttribute("data-emotion",i),a.hydrate([c])),o.current=[a,s],function(){a.flush()}},[t]),Ji(function(){var i=o.current,a=i[0],s=i[1];if(s){i[1]=!1;return}if(n.next!==void 0&&_r(t,n.next,!0),a.tags.length){var c=a.tags[a.tags.length-1].nextElementSibling;a.before=c,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});process.env.NODE_ENV!=="production"&&(Jc.displayName="EmotionGlobal");function Zc(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xt(t)}var Ln=function(){var t=Zc.apply(void 0,arguments),r="animation-"+t.name;return{name:r,styles:"@keyframes "+r+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Qc=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var i=t[n];if(i!=null){var a=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))a=e(i);else{process.env.NODE_ENV!=="production"&&i.styles!==void 0&&i.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="";for(var s in i)i[s]&&s&&(a&&(a+=" "),a+=s)}break}default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function el(e,t,r){var n=[],o=In(e,n,r);return n.length<2?r:o+t(n)}var tl=function(t){var r=t.cache,n=t.serializedArr;return Dn(function(){for(var o=0;o<n.length;o++)_r(r,n[o],!1)}),null},rl=xr(function(e,t){var r=!1,n=[],o=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f];var d=xt(l,t.registered);return n.push(d),Sr(t,d,!1),t.key+"-"+d.name},i=function(){if(r&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var u=arguments.length,l=new Array(u),f=0;f<u;f++)l[f]=arguments[f];return el(t.registered,o,Qc(l))},a={css:o,cx:i,theme:P.useContext(Ot)},s=e.children(a);return r=!0,P.createElement(P.Fragment,null,P.createElement(tl,{cache:t,serializedArr:n}),s)});if(process.env.NODE_ENV!=="production"&&(rl.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var ta=!0,nl=typeof jest<"u"||typeof vi<"u";if(ta&&!nl){var ra=typeof globalThis<"u"?globalThis:ta?window:global,na="__EMOTION_REACT_"+Xc.version.split(".")[0]+"__";ra[na]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),ra[na]=!0}}var ol=Hu,il=function(t){return t!=="theme"},oa=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ol:il},ia=function(t,r,n){var o;if(r){var i=r.shouldForwardProp;o=t.__emotion_forwardProp&&i?function(a){return t.__emotion_forwardProp(a)&&i(a)}:i}return typeof o!="function"&&n&&(o=t.__emotion_forwardProp),o},aa=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
96
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
97
|
+
You can read more about this here:
|
|
98
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,al=function(t){var r=t.cache,n=t.serialized,o=t.isStringTag;return Sr(r,n,o),Dn(function(){return _r(r,n,o)}),null},sl=function e(t,r){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
99
|
+
You may have forgotten to import it.`);var n=t.__emotion_real===t,o=n&&t.__emotion_base||t,i,a;r!==void 0&&(i=r.label,a=r.target);var s=ia(t,r,n),c=s||oa(o),u=!c("as");return function(){var l=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&f.push("label:"+i+";"),l[0]==null||l[0].raw===void 0)f.push.apply(f,l);else{process.env.NODE_ENV!=="production"&&l[0][0]===void 0&&console.error(aa),f.push(l[0][0]);for(var d=l.length,g=1;g<d;g++)process.env.NODE_ENV!=="production"&&l[0][g]===void 0&&console.error(aa),f.push(l[g],l[0][g])}var v=xr(function(p,y,E){var x=u&&p.as||o,S="",b=[],m=p;if(p.theme==null){m={};for(var C in p)m[C]=p[C];m.theme=P.useContext(Ot)}typeof p.className=="string"?S=In(y.registered,b,p.className):p.className!=null&&(S=p.className+" ");var R=xt(f.concat(b),y.registered,m);S+=y.key+"-"+R.name,a!==void 0&&(S+=" "+a);var V=u&&s===void 0?oa(x):c,D={};for(var $ in p)u&&$==="as"||V($)&&(D[$]=p[$]);return D.className=S,D.ref=E,P.createElement(P.Fragment,null,P.createElement(al,{cache:y,serialized:R,isStringTag:typeof x=="string"}),P.createElement(x,D))});return v.displayName=i!==void 0?i:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=o,v.__emotion_styles=f,v.__emotion_forwardProp=s,Object.defineProperty(v,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),v.withComponent=function(p,y){return e(p,k({},r,y,{shouldForwardProp:ia(v,y,!0)})).apply(void 0,f)},v}},ul=["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"],zn=sl.bind();ul.forEach(function(e){zn[e]=zn(e)});/**
|
|
100
|
+
* @mui/styled-engine v5.13.2
|
|
101
|
+
*
|
|
102
|
+
* @license MIT
|
|
103
|
+
* This source code is licensed under the MIT license found in the
|
|
104
|
+
* LICENSE file in the root directory of this source tree.
|
|
105
|
+
*/function cl(e,t){const r=zn(e,t);return process.env.NODE_ENV!=="production"?(...n)=>{const o=typeof e=="string"?`"${e}"`:"component";return n.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(`
|
|
106
|
+
`)):n.some(i=>i===void 0)&&console.error(`MUI: the styled(${o})(...args) API requires all its args to be defined.`),r(...n)}:r}const ll=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},fl=["values","unit","step"],dl=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>k({},r,{[n.key]:n.val}),{})};function pl(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=ke(e,fl),i=dl(t),a=Object.keys(i);function s(d){return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r})`}function c(d){return`@media (max-width:${(typeof t[d]=="number"?t[d]:d)-n/100}${r})`}function u(d,g){const v=a.indexOf(g);return`@media (min-width:${typeof t[d]=="number"?t[d]:d}${r}) and (max-width:${(v!==-1&&typeof t[a[v]]=="number"?t[a[v]]:g)-n/100}${r})`}function l(d){return a.indexOf(d)+1<a.length?u(d,a[a.indexOf(d)+1]):s(d)}function f(d){const g=a.indexOf(d);return g===0?s(a[1]):g===a.length-1?c(a[g]):u(d,a[a.indexOf(d)+1]).replace("@media","@media not all and")}return k({keys:a,values:i,up:s,down:c,between:u,only:l,not:f,unit:r},o)}const ml={borderRadius:4},ot=process.env.NODE_ENV!=="production"?w.oneOfType([w.number,w.string,w.object,w.array]):{};function Gt(e,t){return t?He(e,t,{clone:!1}):e}const Fn={xs:0,sm:600,md:900,lg:1200,xl:1536},sa={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Fn[e]}px)`};function Xe(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||sa;return t.reduce((a,s,c)=>(a[i.up(i.keys[c])]=r(t[c]),a),{})}if(typeof t=="object"){const i=n.breakpoints||sa;return Object.keys(t).reduce((a,s)=>{if(Object.keys(i.values||Fn).indexOf(s)!==-1){const c=i.up(s);a[c]=r(t[s],s)}else{const c=s;a[c]=t[c]}return a},{})}return r(t)}function hl(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,o)=>{const i=e.up(o);return n[i]={},n},{}))||{}}function vl(e,t){return e.reduce((r,n)=>{const o=r[n];return(!o||Object.keys(o).length===0)&&delete r[n],r},t)}function Or(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((o,i)=>o&&o[i]?o[i]:null,e);if(n!=null)return n}return t.split(".").reduce((n,o)=>n&&n[o]!=null?n[o]:null,e)}function Tr(e,t,r,n=r){let o;return typeof e=="function"?o=e(r):Array.isArray(e)?o=e[r]||n:o=Or(e,r)||n,t&&(o=t(o,n,e)),o}function de(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=a=>{if(a[t]==null)return null;const s=a[t],c=a.theme,u=Or(c,n)||{};return Xe(a,s,f=>{let d=Tr(u,o,f);return f===d&&typeof f=="string"&&(d=Tr(u,o,`${t}${f==="default"?"":we(f)}`,f)),r===!1?d:{[r]:d}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:ot}:{},i.filterProps=[t],i}function yl(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const gl={m:"margin",p:"padding"},bl={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ua={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},El=yl(e=>{if(e.length>2)if(ua[e])e=ua[e];else return[e];const[t,r]=e.split(""),n=gl[t],o=bl[r]||"";return Array.isArray(o)?o.map(i=>n+i):[n+o]}),Cr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Rr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Sl=[...Cr,...Rr];function Ht(e,t,r,n){var o;const i=(o=Or(e,t,!1))!=null?o:r;return typeof i=="number"?a=>typeof a=="string"?a:(process.env.NODE_ENV!=="production"&&typeof a!="number"&&console.error(`MUI: Expected ${n} 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(`
|
|
107
|
+
`)):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(`
|
|
108
|
+
`))),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(`
|
|
109
|
+
`)),()=>{})}function ca(e){return Ht(e,"spacing",8,"spacing")}function Xt(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function _l(e,t){return r=>e.reduce((n,o)=>(n[o]=Xt(t,r),n),{})}function wl(e,t,r,n){if(t.indexOf(r)===-1)return null;const o=El(r),i=_l(o,n),a=e[r];return Xe(e,a,i)}function la(e,t){const r=ca(e.theme);return Object.keys(e).map(n=>wl(e,t,n,r)).reduce(Gt,{})}function be(e){return la(e,Cr)}be.propTypes=process.env.NODE_ENV!=="production"?Cr.reduce((e,t)=>(e[t]=ot,e),{}):{},be.filterProps=Cr;function Ee(e){return la(e,Rr)}Ee.propTypes=process.env.NODE_ENV!=="production"?Rr.reduce((e,t)=>(e[t]=ot,e),{}):{},Ee.filterProps=Rr,process.env.NODE_ENV!=="production"&&Sl.reduce((e,t)=>(e[t]=ot,e),{});function xl(e=8){if(e.mui)return e;const t=ca({spacing:e}),r=(...n)=>(process.env.NODE_ENV!=="production"&&(n.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${n.length}`)),(n.length===0?[1]:n).map(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return r.mui=!0,r}function Pr(...e){const t=e.reduce((n,o)=>(o.filterProps.forEach(i=>{n[i]=o}),n),{}),r=n=>Object.keys(n).reduce((o,i)=>t[i]?Gt(o,t[i](n)):o,{});return r.propTypes=process.env.NODE_ENV!=="production"?e.reduce((n,o)=>Object.assign(n,o.propTypes),{}):{},r.filterProps=e.reduce((n,o)=>n.concat(o.filterProps),[]),r}function Ke(e){return typeof e!="number"?e:`${e}px solid`}const Ol=de({prop:"border",themeKey:"borders",transform:Ke}),Tl=de({prop:"borderTop",themeKey:"borders",transform:Ke}),Cl=de({prop:"borderRight",themeKey:"borders",transform:Ke}),Rl=de({prop:"borderBottom",themeKey:"borders",transform:Ke}),Pl=de({prop:"borderLeft",themeKey:"borders",transform:Ke}),Nl=de({prop:"borderColor",themeKey:"palette"}),Al=de({prop:"borderTopColor",themeKey:"palette"}),$l=de({prop:"borderRightColor",themeKey:"palette"}),jl=de({prop:"borderBottomColor",themeKey:"palette"}),Il=de({prop:"borderLeftColor",themeKey:"palette"}),Nr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Ht(e.theme,"shape.borderRadius",4,"borderRadius"),r=n=>({borderRadius:Xt(t,n)});return Xe(e,e.borderRadius,r)}return null};Nr.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ot}:{},Nr.filterProps=["borderRadius"],Pr(Ol,Tl,Cl,Rl,Pl,Nl,Al,$l,jl,Il,Nr);const Ar=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Ht(e.theme,"spacing",8,"gap"),r=n=>({gap:Xt(t,n)});return Xe(e,e.gap,r)}return null};Ar.propTypes=process.env.NODE_ENV!=="production"?{gap:ot}:{},Ar.filterProps=["gap"];const $r=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Ht(e.theme,"spacing",8,"columnGap"),r=n=>({columnGap:Xt(t,n)});return Xe(e,e.columnGap,r)}return null};$r.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ot}:{},$r.filterProps=["columnGap"];const jr=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Ht(e.theme,"spacing",8,"rowGap"),r=n=>({rowGap:Xt(t,n)});return Xe(e,e.rowGap,r)}return null};jr.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ot}:{},jr.filterProps=["rowGap"];const kl=de({prop:"gridColumn"}),Ml=de({prop:"gridRow"}),Dl=de({prop:"gridAutoFlow"}),Vl=de({prop:"gridAutoColumns"}),Ll=de({prop:"gridAutoRows"}),zl=de({prop:"gridTemplateColumns"}),Fl=de({prop:"gridTemplateRows"}),Bl=de({prop:"gridTemplateAreas"}),Wl=de({prop:"gridArea"});Pr(Ar,$r,jr,kl,Ml,Dl,Vl,Ll,zl,Fl,Bl,Wl);function Tt(e,t){return t==="grey"?t:e}const Ul=de({prop:"color",themeKey:"palette",transform:Tt}),Yl=de({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Tt}),ql=de({prop:"backgroundColor",themeKey:"palette",transform:Tt});Pr(Ul,Yl,ql);function Ve(e){return e<=1&&e!==0?`${e*100}%`:e}const Kl=de({prop:"width",transform:Ve}),Bn=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n;return{maxWidth:((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||Fn[r]||Ve(r)}};return Xe(e,e.maxWidth,t)}return null};Bn.filterProps=["maxWidth"];const Gl=de({prop:"minWidth",transform:Ve}),Hl=de({prop:"height",transform:Ve}),Xl=de({prop:"maxHeight",transform:Ve}),Jl=de({prop:"minHeight",transform:Ve});de({prop:"size",cssProperty:"width",transform:Ve}),de({prop:"size",cssProperty:"height",transform:Ve});const Zl=de({prop:"boxSizing"});Pr(Kl,Bn,Gl,Hl,Xl,Jl,Zl);const Wn={border:{themeKey:"borders",transform:Ke},borderTop:{themeKey:"borders",transform:Ke},borderRight:{themeKey:"borders",transform:Ke},borderBottom:{themeKey:"borders",transform:Ke},borderLeft:{themeKey:"borders",transform:Ke},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Nr},color:{themeKey:"palette",transform:Tt},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Tt},backgroundColor:{themeKey:"palette",transform:Tt},p:{style:Ee},pt:{style:Ee},pr:{style:Ee},pb:{style:Ee},pl:{style:Ee},px:{style:Ee},py:{style:Ee},padding:{style:Ee},paddingTop:{style:Ee},paddingRight:{style:Ee},paddingBottom:{style:Ee},paddingLeft:{style:Ee},paddingX:{style:Ee},paddingY:{style:Ee},paddingInline:{style:Ee},paddingInlineStart:{style:Ee},paddingInlineEnd:{style:Ee},paddingBlock:{style:Ee},paddingBlockStart:{style:Ee},paddingBlockEnd:{style:Ee},m:{style:be},mt:{style:be},mr:{style:be},mb:{style:be},ml:{style:be},mx:{style:be},my:{style:be},margin:{style:be},marginTop:{style:be},marginRight:{style:be},marginBottom:{style:be},marginLeft:{style:be},marginX:{style:be},marginY:{style:be},marginInline:{style:be},marginInlineStart:{style:be},marginInlineEnd:{style:be},marginBlock:{style:be},marginBlockStart:{style:be},marginBlockEnd:{style:be},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:Ar},rowGap:{style:jr},columnGap:{style:$r},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ve},maxWidth:{style:Bn},minWidth:{transform:Ve},height:{transform:Ve},maxHeight:{transform:Ve},minHeight:{transform:Ve},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Ql(...e){const t=e.reduce((n,o)=>n.concat(Object.keys(o)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function ef(e,t){return typeof e=="function"?e(t):e}function tf(){function e(r,n,o,i){const a={[r]:n,theme:o},s=i[r];if(!s)return{[r]:n};const{cssProperty:c=r,themeKey:u,transform:l,style:f}=s;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const d=Or(o,u)||{};return f?f(a):Xe(a,n,v=>{let p=Tr(d,l,v);return v===p&&typeof v=="string"&&(p=Tr(d,l,`${r}${v==="default"?"":we(v)}`,v)),c===!1?p:{[c]:p}})}function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=(n=i.unstable_sxConfig)!=null?n:Wn;function s(c){let u=c;if(typeof c=="function")u=c(i);else if(typeof c!="object")return c;if(!u)return null;const l=hl(i.breakpoints),f=Object.keys(l);let d=l;return Object.keys(u).forEach(g=>{const v=ef(u[g],i);if(v!=null)if(typeof v=="object")if(a[g])d=Gt(d,e(g,v,i,a));else{const p=Xe({theme:i},v,y=>({[g]:y}));Ql(p,v)?d[g]=t({sx:v,theme:i}):d=Gt(d,p)}else d=Gt(d,e(g,v,i,a))}),vl(f,d)}return Array.isArray(o)?o.map(s):s(o)}return t}const fa=tf();fa.filterProps=["sx"];const Un=fa,rf=["breakpoints","palette","spacing","shape"];function Yn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=ke(e,rf),s=pl(r),c=xl(o);let u=He({breakpoints:s,direction:"ltr",components:{},palette:k({mode:"light"},n),spacing:c,shape:k({},ml,i)},a);return u=t.reduce((l,f)=>He(l,f),u),u.unstable_sxConfig=k({},Wn,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(f){return Un({sx:f,theme:this})},u}function nf(e){return Object.keys(e).length===0}function of(e=null){const t=P.useContext(Ot);return!t||nf(t)?e:t}const af=Yn();function sf(e=af){return of(e)}const uf=["variant"];function da(e){return e.length===0}function pa(e){const{variant:t}=e,r=ke(e,uf);let n=t||"";return Object.keys(r).sort().forEach(o=>{o==="color"?n+=da(n)?e[o]:we(e[o]):n+=`${da(n)?o:we(o)}${we(e[o].toString())}`}),n}const cf=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function lf(e){return Object.keys(e).length===0}function ff(e){return typeof e=="string"&&e.charCodeAt(0)>96}const df=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,pf=(e,t)=>{let r=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(r=t.components[e].variants);const n={};return r.forEach(o=>{const i=pa(o.props);n[i]=o.style}),n},mf=(e,t,r,n)=>{var o;const{ownerState:i={}}=e,a=[],s=r==null||(o=r.components)==null||(o=o[n])==null?void 0:o.variants;return s&&s.forEach(c=>{let u=!0;Object.keys(c.props).forEach(l=>{i[l]!==c.props[l]&&e[l]!==c.props[l]&&(u=!1)}),u&&a.push(t[pa(c.props)])}),a};function Ir(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const hf=Yn(),vf=e=>e.charAt(0).toLowerCase()+e.slice(1);function Jt({defaultTheme:e,theme:t,themeId:r}){return lf(t)?e:t[r]||t}function yf(e={}){const{themeId:t,defaultTheme:r=hf,rootShouldForwardProp:n=Ir,slotShouldForwardProp:o=Ir}=e,i=a=>Un(k({},a,{theme:Jt(k({},a,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(a,s={})=>{ll(a,b=>b.filter(m=>!(m!=null&&m.__mui_systemSx)));const{name:c,slot:u,skipVariantsResolver:l,skipSx:f,overridesResolver:d}=s,g=ke(s,cf),v=l!==void 0?l:u&&u!=="Root"||!1,p=f||!1;let y;process.env.NODE_ENV!=="production"&&c&&(y=`${c}-${vf(u||"Root")}`);let E=Ir;u==="Root"?E=n:u?E=o:ff(a)&&(E=void 0);const x=cl(a,k({shouldForwardProp:E,label:y},g)),S=(b,...m)=>{const C=m?m.map($=>typeof $=="function"&&$.__emotion_real!==$?z=>$(k({},z,{theme:Jt(k({},z,{defaultTheme:r,themeId:t}))})):$):[];let R=b;c&&d&&C.push($=>{const z=Jt(k({},$,{defaultTheme:r,themeId:t})),X=df(c,z);if(X){const Z={};return Object.entries(X).forEach(([Q,pe])=>{Z[Q]=typeof pe=="function"?pe(k({},$,{theme:z})):pe}),d($,Z)}return null}),c&&!v&&C.push($=>{const z=Jt(k({},$,{defaultTheme:r,themeId:t}));return mf($,pf(c,z),z,c)}),p||C.push(i);const V=C.length-m.length;if(Array.isArray(b)&&V>0){const $=new Array(V).fill("");R=[...b,...$],R.raw=[...b.raw,...$]}else typeof b=="function"&&b.__emotion_real!==b&&(R=$=>b(k({},$,{theme:Jt(k({},$,{defaultTheme:r,themeId:t}))})));const D=x(R,...C);if(process.env.NODE_ENV!=="production"){let $;c&&($=`${c}${u||""}`),$===void 0&&($=`Styled(${Pu(a)})`),D.displayName=$}return a.muiName&&(D.muiName=a.muiName),D};return x.withConfig&&(S.withConfig=x.withConfig),S}}function gf(e){const{theme:t,name:r,props:n}=e;return!t||!t.components||!t.components[r]||!t.components[r].defaultProps?n:On(t.components[r].defaultProps,n)}function bf({props:e,name:t,defaultTheme:r,themeId:n}){let o=sf(r);return n&&(o=o[n]||o),gf({theme:o,name:t,props:e})}function qn(e,t=0,r=1){return process.env.NODE_ENV!=="production"&&(e<t||e>r)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${r}].`),Math.min(Math.max(t,e),r)}function Ef(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,o)=>o<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function lt(e){if(e.type)return e;if(e.charAt(0)==="#")return lt(Ef(e));const t=e.indexOf("("),r=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(r)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
110
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:Et(9,e));let n=e.substring(t+1,e.length-1),o;if(r==="color"){if(n=n.split(" "),o=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
111
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:Et(10,o))}else n=n.split(",");return n=n.map(i=>parseFloat(i)),{type:r,values:n,colorSpace:o}}function kr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.indexOf("rgb")!==-1?n=n.map((o,i)=>i<3?parseInt(o,10):o):t.indexOf("hsl")!==-1&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.indexOf("color")!==-1?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Sf(e){e=lt(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(u,l=(u+r/30)%12)=>o-i*Math.max(Math.min(l-3,9-l,1),-1);let s="rgb";const c=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(s+="a",c.push(t[3])),kr({type:s,values:c})}function ma(e){e=lt(e);let t=e.type==="hsl"||e.type==="hsla"?lt(Sf(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function ha(e,t){const r=ma(e),n=ma(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function Mr(e,t){return e=lt(e),t=qn(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,kr(e)}function _f(e,t){if(e=lt(e),t=qn(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]*=1-t;return kr(e)}function wf(e,t){if(e=lt(e),t=qn(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.indexOf("color")!==-1)for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return kr(e)}function xf(e,t){return k({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Zt={black:"#000",white:"#fff"},Of={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"},Ct={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"},Rt={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"},Qt={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"},Pt={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"},Nt={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"},At={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"},Tf=["mode","contrastThreshold","tonalOffset"],va={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:Zt.white,default:Zt.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}},Kn={text:{primary:Zt.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:Zt.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 ya(e,t,r,n){const o=n.light||n,i=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=wf(e.main,o):t==="dark"&&(e.dark=_f(e.main,i)))}function Cf(e="light"){return e==="dark"?{main:Pt[200],light:Pt[50],dark:Pt[400]}:{main:Pt[700],light:Pt[400],dark:Pt[800]}}function Rf(e="light"){return e==="dark"?{main:Ct[200],light:Ct[50],dark:Ct[400]}:{main:Ct[500],light:Ct[300],dark:Ct[700]}}function Pf(e="light"){return e==="dark"?{main:Rt[500],light:Rt[300],dark:Rt[700]}:{main:Rt[700],light:Rt[400],dark:Rt[800]}}function Nf(e="light"){return e==="dark"?{main:Nt[400],light:Nt[300],dark:Nt[700]}:{main:Nt[700],light:Nt[500],dark:Nt[900]}}function Af(e="light"){return e==="dark"?{main:At[400],light:At[300],dark:At[700]}:{main:At[800],light:At[500],dark:At[900]}}function $f(e="light"){return e==="dark"?{main:Qt[400],light:Qt[300],dark:Qt[700]}:{main:"#ed6c02",light:Qt[500],dark:Qt[900]}}function jf(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=ke(e,Tf),i=e.primary||Cf(t),a=e.secondary||Rf(t),s=e.error||Pf(t),c=e.info||Nf(t),u=e.success||Af(t),l=e.warning||$f(t);function f(p){const y=ha(p,Kn.text.primary)>=r?Kn.text.primary:va.text.primary;if(process.env.NODE_ENV!=="production"){const E=ha(p,y);E<3&&console.error([`MUI: The contrast ratio of ${E}:1 for ${y} on ${p}`,"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(`
|
|
112
|
+
`))}return y}const d=({color:p,name:y,mainShade:E=500,lightShade:x=300,darkShade:S=700})=>{if(p=k({},p),!p.main&&p[E]&&(p.main=p[E]),!p.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
113
|
+
The color object needs to have a \`main\` property or a \`${E}\` property.`:Et(11,y?` (${y})`:"",E));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${y?` (${y})`:""} provided to augmentColor(color) is invalid.
|
|
114
|
+
\`color.main\` should be a string, but \`${JSON.stringify(p.main)}\` was provided instead.
|
|
115
|
+
|
|
116
|
+
Did you intend to use one of the following approaches?
|
|
117
|
+
|
|
118
|
+
import { green } from "@mui/material/colors";
|
|
119
|
+
|
|
120
|
+
const theme1 = createTheme({ palette: {
|
|
121
|
+
primary: green,
|
|
122
|
+
} });
|
|
123
|
+
|
|
124
|
+
const theme2 = createTheme({ palette: {
|
|
125
|
+
primary: { main: green[500] },
|
|
126
|
+
} });`:Et(12,y?` (${y})`:"",JSON.stringify(p.main)));return ya(p,"light",x,n),ya(p,"dark",S,n),p.contrastText||(p.contrastText=f(p.main)),p},g={dark:Kn,light:va};return process.env.NODE_ENV!=="production"&&(g[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),He(k({common:k({},Zt),mode:t,primary:d({color:i,name:"primary"}),secondary:d({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:d({color:s,name:"error"}),warning:d({color:l,name:"warning"}),info:d({color:c,name:"info"}),success:d({color:u,name:"success"}),grey:Of,contrastThreshold:r,getContrastText:f,augmentColor:d,tonalOffset:n},g[t]),o)}const If=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function kf(e){return Math.round(e*1e5)/1e5}const ga={textTransform:"uppercase"},ba='"Roboto", "Helvetica", "Arial", sans-serif';function Mf(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=ba,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:u=16,allVariants:l,pxToRem:f}=r,d=ke(r,If);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 g=o/14,v=f||(E=>`${E/u*g}rem`),p=(E,x,S,b,m)=>k({fontFamily:n,fontWeight:E,fontSize:v(x),lineHeight:S},n===ba?{letterSpacing:`${kf(b/x)}em`}:{},m,l),y={h1:p(i,96,1.167,-1.5),h2:p(i,60,1.2,-.5),h3:p(a,48,1.167,0),h4:p(a,34,1.235,.25),h5:p(a,24,1.334,0),h6:p(s,20,1.6,.15),subtitle1:p(a,16,1.75,.15),subtitle2:p(s,14,1.57,.1),body1:p(a,16,1.5,.15),body2:p(a,14,1.43,.15),button:p(s,14,1.75,.4,ga),caption:p(a,12,1.66,.4),overline:p(a,12,2.66,1,ga),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return He(k({htmlFontSize:u,pxToRem:v,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:c},y),d,{clone:!1})}const Df=.2,Vf=.14,Lf=.12;function ye(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Df})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Vf})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Lf})`].join(",")}const zf=["none",ye(0,2,1,-1,0,1,1,0,0,1,3,0),ye(0,3,1,-2,0,2,2,0,0,1,5,0),ye(0,3,3,-2,0,3,4,0,0,1,8,0),ye(0,2,4,-1,0,4,5,0,0,1,10,0),ye(0,3,5,-1,0,5,8,0,0,1,14,0),ye(0,3,5,-1,0,6,10,0,0,1,18,0),ye(0,4,5,-2,0,7,10,1,0,2,16,1),ye(0,5,5,-3,0,8,10,1,0,3,14,2),ye(0,5,6,-3,0,9,12,1,0,3,16,2),ye(0,6,6,-3,0,10,14,1,0,4,18,3),ye(0,6,7,-4,0,11,15,1,0,4,20,3),ye(0,7,8,-4,0,12,17,2,0,5,22,4),ye(0,7,8,-4,0,13,19,2,0,5,24,4),ye(0,7,9,-4,0,14,21,2,0,5,26,4),ye(0,8,9,-5,0,15,22,2,0,6,28,5),ye(0,8,10,-5,0,16,24,2,0,6,30,5),ye(0,8,11,-5,0,17,26,2,0,6,32,5),ye(0,9,11,-5,0,18,28,2,0,7,34,6),ye(0,9,12,-6,0,19,29,2,0,7,36,6),ye(0,10,13,-6,0,20,31,3,0,8,38,7),ye(0,10,13,-6,0,21,33,3,0,8,40,7),ye(0,10,14,-6,0,22,35,3,0,8,42,7),ye(0,11,14,-7,0,23,36,3,0,9,44,8),ye(0,11,15,-7,0,24,38,3,0,9,46,8)],Ff=["duration","easing","delay"],Bf={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)"},Wf={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Ea(e){return`${Math.round(e)}ms`}function Uf(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Yf(e){const t=k({},Bf,e.easing),r=k({},Wf,e.duration);return k({getAutoHeightDuration:Uf,create:(o=["all"],i={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:c=0}=i,u=ke(i,Ff);if(process.env.NODE_ENV!=="production"){const l=d=>typeof d=="string",f=d=>!isNaN(parseFloat(d));!l(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(a)&&!l(a)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`),l(s)||console.error('MUI: Argument "easing" must be a string.'),!f(c)&&!l(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(`
|
|
127
|
+
`)),Object.keys(u).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(l=>`${l} ${typeof a=="string"?a:Ea(a)} ${s} ${typeof c=="string"?c:Ea(c)}`).join(",")}},e,{easing:t,duration:r})}const qf={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Kf=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Gf(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=ke(e,Kf);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.":Et(18));const s=jf(n),c=Yn(e);let u=He(c,{mixins:xf(c.breakpoints,r),palette:s,shadows:zf.slice(),typography:Mf(s,i),transitions:Yf(o),zIndex:k({},qf)});if(u=He(u,a),u=t.reduce((l,f)=>He(l,f),u),process.env.NODE_ENV!=="production"){const l=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],f=(d,g)=>{let v;for(v in d){const p=d[v];if(l.indexOf(v)!==-1&&Object.keys(p).length>0){if(process.env.NODE_ENV!=="production"){const y=Bt("",v);console.error([`MUI: The \`${g}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(d,null,2),"",`Instead, you need to use the '&.${y}' syntax:`,JSON.stringify({root:{[`&.${y}`]:p}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
128
|
+
`))}d[v]={}}}};Object.keys(u.components).forEach(d=>{const g=u.components[d].styleOverrides;g&&d.indexOf("Mui")===0&&f(g,d)})}return u.unstable_sxConfig=k({},Wn,a==null?void 0:a.unstable_sxConfig),u.unstable_sx=function(f){return Un({sx:f,theme:this})},u}const Sa=Gf(),_a="$$material",wa=e=>Ir(e)&&e!=="classes",ft=yf({themeId:_a,defaultTheme:Sa,rootShouldForwardProp:wa});function Dr({props:e,name:t}){return bf({props:e,name:t,defaultTheme:Sa,themeId:_a})}function Gn(e,t){return Gn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,o){return n.__proto__=o,n},Gn(e,t)}function Hf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Gn(e,t)}const xa=ie.createContext(null);function Xf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hn(e,t){var r=function(i){return t&&ie.isValidElement(i)?t(i):i},n=Object.create(null);return e&&ie.Children.map(e,function(o){return o}).forEach(function(o){n[o.key]=r(o)}),n}function Jf(e,t){e=e||{},t=t||{};function r(l){return l in t?t[l]:e[l]}var n=Object.create(null),o=[];for(var i in e)i in t?o.length&&(n[i]=o,o=[]):o.push(i);var a,s={};for(var c in t){if(n[c])for(a=0;a<n[c].length;a++){var u=n[c][a];s[n[c][a]]=r(u)}s[c]=r(c)}for(a=0;a<o.length;a++)s[o[a]]=r(o[a]);return s}function dt(e,t,r){return r[t]!=null?r[t]:e.props[t]}function Zf(e,t){return Hn(e.children,function(r){return ie.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:dt(r,"appear",e),enter:dt(r,"enter",e),exit:dt(r,"exit",e)})})}function Qf(e,t,r){var n=Hn(e.children),o=Jf(t,n);return Object.keys(o).forEach(function(i){var a=o[i];if(ie.isValidElement(a)){var s=i in t,c=i in n,u=t[i],l=ie.isValidElement(u)&&!u.props.in;c&&(!s||l)?o[i]=ie.cloneElement(a,{onExited:r.bind(null,a),in:!0,exit:dt(a,"exit",e),enter:dt(a,"enter",e)}):!c&&s&&!l?o[i]=ie.cloneElement(a,{in:!1}):c&&s&&ie.isValidElement(u)&&(o[i]=ie.cloneElement(a,{onExited:r.bind(null,a),in:u.props.in,exit:dt(a,"exit",e),enter:dt(a,"enter",e)}))}}),o}var ed=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},td={component:"div",childFactory:function(t){return t}},Xn=function(e){Hf(t,e);function t(n,o){var i;i=e.call(this,n,o)||this;var a=i.handleExited.bind(Xf(i));return i.state={contextValue:{isMounting:!0},handleExited:a,firstRender:!0},i}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(o,i){var a=i.children,s=i.handleExited,c=i.firstRender;return{children:c?Zf(o,s):Qf(o,a,s),firstRender:!1}},r.handleExited=function(o,i){var a=Hn(this.props.children);o.key in a||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(s){var c=k({},s.children);return delete c[o.key],{children:c}}))},r.render=function(){var o=this.props,i=o.component,a=o.childFactory,s=ke(o,["component","childFactory"]),c=this.state.contextValue,u=ed(this.state.children).map(a);return delete s.appear,delete s.enter,delete s.exit,i===null?ie.createElement(xa.Provider,{value:c},u):ie.createElement(xa.Provider,{value:c},ie.createElement(i,s,u))},t}(ie.Component);Xn.propTypes=process.env.NODE_ENV!=="production"?{component:w.any,children:w.node,appear:w.bool,enter:w.bool,exit:w.bool,childFactory:w.func}:{},Xn.defaultProps=td;const rd=Xn;function Oa(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:s,onExited:c,timeout:u}=e,[l,f]=P.useState(!1),d=Me(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),g={width:a,height:a,top:-(a/2)+i,left:-(a/2)+o},v=Me(r.child,l&&r.childLeaving,n&&r.childPulsate);return!s&&!l&&f(!0),P.useEffect(()=>{if(!s&&c!=null){const p=setTimeout(c,u);return()=>{clearTimeout(p)}}},[c,s,u]),ee.jsx("span",{className:d,style:g,children:ee.jsx("span",{className:v})})}process.env.NODE_ENV!=="production"&&(Oa.propTypes={classes:w.object.isRequired,className:w.string,in:w.bool,onExited:w.func,pulsate:w.bool,rippleSize:w.number,rippleX:w.number,rippleY:w.number,timeout:w.number.isRequired});const ze=dr("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),nd=["center","classes","className"];let Vr=e=>e,Ta,Ca,Ra,Pa;const Jn=550,od=80,id=Ln(Ta||(Ta=Vr`
|
|
129
|
+
0% {
|
|
130
|
+
transform: scale(0);
|
|
131
|
+
opacity: 0.1;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
100% {
|
|
135
|
+
transform: scale(1);
|
|
136
|
+
opacity: 0.3;
|
|
137
|
+
}
|
|
138
|
+
`)),ad=Ln(Ca||(Ca=Vr`
|
|
139
|
+
0% {
|
|
140
|
+
opacity: 1;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
100% {
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
`)),sd=Ln(Ra||(Ra=Vr`
|
|
147
|
+
0% {
|
|
148
|
+
transform: scale(1);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
50% {
|
|
152
|
+
transform: scale(0.92);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
100% {
|
|
156
|
+
transform: scale(1);
|
|
157
|
+
}
|
|
158
|
+
`)),ud=ft("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),cd=ft(Oa,{name:"MuiTouchRipple",slot:"Ripple"})(Pa||(Pa=Vr`
|
|
159
|
+
opacity: 0;
|
|
160
|
+
position: absolute;
|
|
161
|
+
|
|
162
|
+
&.${0} {
|
|
163
|
+
opacity: 0.3;
|
|
164
|
+
transform: scale(1);
|
|
165
|
+
animation-name: ${0};
|
|
166
|
+
animation-duration: ${0}ms;
|
|
167
|
+
animation-timing-function: ${0};
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&.${0} {
|
|
171
|
+
animation-duration: ${0}ms;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
& .${0} {
|
|
175
|
+
opacity: 1;
|
|
176
|
+
display: block;
|
|
177
|
+
width: 100%;
|
|
178
|
+
height: 100%;
|
|
179
|
+
border-radius: 50%;
|
|
180
|
+
background-color: currentColor;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
& .${0} {
|
|
184
|
+
opacity: 0;
|
|
185
|
+
animation-name: ${0};
|
|
186
|
+
animation-duration: ${0}ms;
|
|
187
|
+
animation-timing-function: ${0};
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
& .${0} {
|
|
191
|
+
position: absolute;
|
|
192
|
+
/* @noflip */
|
|
193
|
+
left: 0px;
|
|
194
|
+
top: 0;
|
|
195
|
+
animation-name: ${0};
|
|
196
|
+
animation-duration: 2500ms;
|
|
197
|
+
animation-timing-function: ${0};
|
|
198
|
+
animation-iteration-count: infinite;
|
|
199
|
+
animation-delay: 200ms;
|
|
200
|
+
}
|
|
201
|
+
`),ze.rippleVisible,id,Jn,({theme:e})=>e.transitions.easing.easeInOut,ze.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,ze.child,ze.childLeaving,ad,Jn,({theme:e})=>e.transitions.easing.easeInOut,ze.childPulsate,sd,({theme:e})=>e.transitions.easing.easeInOut),Na=P.forwardRef(function(t,r){const n=Dr({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,s=ke(n,nd),[c,u]=P.useState([]),l=P.useRef(0),f=P.useRef(null);P.useEffect(()=>{f.current&&(f.current(),f.current=null)},[c]);const d=P.useRef(!1),g=P.useRef(0),v=P.useRef(null),p=P.useRef(null);P.useEffect(()=>()=>{g.current&&clearTimeout(g.current)},[]);const y=P.useCallback(b=>{const{pulsate:m,rippleX:C,rippleY:R,rippleSize:V,cb:D}=b;u($=>[...$,ee.jsx(cd,{classes:{ripple:Me(i.ripple,ze.ripple),rippleVisible:Me(i.rippleVisible,ze.rippleVisible),ripplePulsate:Me(i.ripplePulsate,ze.ripplePulsate),child:Me(i.child,ze.child),childLeaving:Me(i.childLeaving,ze.childLeaving),childPulsate:Me(i.childPulsate,ze.childPulsate)},timeout:Jn,pulsate:m,rippleX:C,rippleY:R,rippleSize:V},l.current)]),l.current+=1,f.current=D},[i]),E=P.useCallback((b={},m={},C=()=>{})=>{const{pulsate:R=!1,center:V=o||m.pulsate,fakeElement:D=!1}=m;if((b==null?void 0:b.type)==="mousedown"&&d.current){d.current=!1;return}(b==null?void 0:b.type)==="touchstart"&&(d.current=!0);const $=D?null:p.current,z=$?$.getBoundingClientRect():{width:0,height:0,left:0,top:0};let X,Z,Q;if(V||b===void 0||b.clientX===0&&b.clientY===0||!b.clientX&&!b.touches)X=Math.round(z.width/2),Z=Math.round(z.height/2);else{const{clientX:pe,clientY:ne}=b.touches&&b.touches.length>0?b.touches[0]:b;X=Math.round(pe-z.left),Z=Math.round(ne-z.top)}if(V)Q=Math.sqrt((2*z.width**2+z.height**2)/3),Q%2===0&&(Q+=1);else{const pe=Math.max(Math.abs(($?$.clientWidth:0)-X),X)*2+2,ne=Math.max(Math.abs(($?$.clientHeight:0)-Z),Z)*2+2;Q=Math.sqrt(pe**2+ne**2)}b!=null&&b.touches?v.current===null&&(v.current=()=>{y({pulsate:R,rippleX:X,rippleY:Z,rippleSize:Q,cb:C})},g.current=setTimeout(()=>{v.current&&(v.current(),v.current=null)},od)):y({pulsate:R,rippleX:X,rippleY:Z,rippleSize:Q,cb:C})},[o,y]),x=P.useCallback(()=>{E({},{pulsate:!0})},[E]),S=P.useCallback((b,m)=>{if(clearTimeout(g.current),(b==null?void 0:b.type)==="touchend"&&v.current){v.current(),v.current=null,g.current=setTimeout(()=>{S(b,m)});return}v.current=null,u(C=>C.length>0?C.slice(1):C),f.current=m},[]);return P.useImperativeHandle(r,()=>({pulsate:x,start:E,stop:S}),[x,E,S]),ee.jsx(ud,k({className:Me(ze.root,i.root,a),ref:p},s,{children:ee.jsx(rd,{component:null,exit:!0,children:c})}))});process.env.NODE_ENV!=="production"&&(Na.propTypes={center:w.bool,classes:w.object,className:w.string});const ld=Na;function fd(e){return Bt("MuiButtonBase",e)}const dd=dr("MuiButtonBase",["root","disabled","focusVisible"]),pd=["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"],md=e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,a=Tn({root:["root",t&&"disabled",r&&"focusVisible"]},fd,o);return r&&n&&(a.root+=` ${n}`),a},hd=ft("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"},[`&.${dd.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Aa=P.forwardRef(function(t,r){const n=Dr({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:c="button",disabled:u=!1,disableRipple:l=!1,disableTouchRipple:f=!1,focusRipple:d=!1,LinkComponent:g="a",onBlur:v,onClick:p,onContextMenu:y,onDragLeave:E,onFocus:x,onFocusVisible:S,onKeyDown:b,onKeyUp:m,onMouseDown:C,onMouseLeave:R,onMouseUp:V,onTouchEnd:D,onTouchMove:$,onTouchStart:z,tabIndex:X=0,TouchRippleProps:Z,touchRippleRef:Q,type:pe}=n,ne=ke(n,pd),ge=P.useRef(null),he=P.useRef(null),Le=_n(he,Q),{isFocusVisibleRef:O,onFocus:A,onBlur:Y,ref:W}=xi(),[I,q]=P.useState(!1);u&&I&&q(!1),P.useImperativeHandle(o,()=>({focusVisible:()=>{q(!0),ge.current.focus()}}),[]);const[M,F]=P.useState(!1);P.useEffect(()=>{F(!0)},[]);const U=M&&!l&&!u;P.useEffect(()=>{I&&d&&!l&&M&&he.current.pulsate()},[l,d,I,M]);function L(G,or,ir=f){return Ft(Br=>(or&&or(Br),!ir&&he.current&&he.current[G](Br),!0))}const K=L("start",C),Se=L("stop",y),_=L("stop",E),Oe=L("stop",V),j=L("stop",G=>{I&&G.preventDefault(),R&&R(G)}),Ae=L("start",z),We=L("stop",D),pt=L("stop",$),zr=L("stop",G=>{Y(G),O.current===!1&&q(!1),v&&v(G)},!1),$t=Ft(G=>{ge.current||(ge.current=G.currentTarget),A(G),O.current===!0&&(q(!0),S&&S(G)),x&&x(G)}),tr=()=>{const G=ge.current;return c&&c!=="button"&&!(G.tagName==="A"&&G.href)},rr=P.useRef(!1),nr=Ft(G=>{d&&!rr.current&&I&&he.current&&G.key===" "&&(rr.current=!0,he.current.stop(G,()=>{he.current.start(G)})),G.target===G.currentTarget&&tr()&&G.key===" "&&G.preventDefault(),b&&b(G),G.target===G.currentTarget&&tr()&&G.key==="Enter"&&!u&&(G.preventDefault(),p&&p(G))}),so=Ft(G=>{d&&G.key===" "&&he.current&&I&&!G.defaultPrevented&&(rr.current=!1,he.current.stop(G,()=>{he.current.pulsate(G)})),m&&m(G),p&&G.target===G.currentTarget&&tr()&&G.key===" "&&!G.defaultPrevented&&p(G)});let jt=c;jt==="button"&&(ne.href||ne.to)&&(jt=g);const it={};jt==="button"?(it.type=pe===void 0?"button":pe,it.disabled=u):(!ne.href&&!ne.to&&(it.role="button"),u&&(it["aria-disabled"]=u));const Fr=_n(r,W,ge);process.env.NODE_ENV!=="production"&&P.useEffect(()=>{U&&!he.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(`
|
|
202
|
+
`))},[U]);const at=k({},n,{centerRipple:i,component:c,disabled:u,disableRipple:l,disableTouchRipple:f,focusRipple:d,tabIndex:X,focusVisible:I}),uo=md(at);return ee.jsxs(hd,k({as:jt,className:Me(uo.root,s),ownerState:at,onBlur:zr,onClick:p,onContextMenu:Se,onFocus:$t,onKeyDown:nr,onKeyUp:so,onMouseDown:K,onMouseLeave:j,onMouseUp:Oe,onDragLeave:_,onTouchEnd:We,onTouchMove:pt,onTouchStart:Ae,ref:Fr,tabIndex:u?-1:X,type:pe},it,ne,{children:[a,U?ee.jsx(ld,k({ref:Le,center:i},Z)):null]}))});process.env.NODE_ENV!=="production"&&(Aa.propTypes={action:Nu,centerRipple:w.bool,children:w.node,classes:w.object,className:w.string,component:xu,disabled:w.bool,disableRipple:w.bool,disableTouchRipple:w.bool,focusRipple:w.bool,focusVisibleClassName:w.string,href:w.any,LinkComponent:w.elementType,onBlur:w.func,onClick:w.func,onContextMenu:w.func,onDragLeave:w.func,onFocus:w.func,onFocusVisible:w.func,onKeyDown:w.func,onKeyUp:w.func,onMouseDown:w.func,onMouseLeave:w.func,onMouseUp:w.func,onTouchEnd:w.func,onTouchMove:w.func,onTouchStart:w.func,sx:w.oneOfType([w.arrayOf(w.oneOfType([w.func,w.object,w.bool])),w.func,w.object]),tabIndex:w.number,TouchRippleProps:w.object,touchRippleRef:w.oneOfType([w.func,w.shape({current:w.shape({pulsate:w.func.isRequired,start:w.func.isRequired,stop:w.func.isRequired})})]),type:w.oneOfType([w.oneOf(["button","reset","submit"]),w.string])});const vd=Aa;function yd(e){return Bt("MuiButton",e)}const Lr=dr("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),$a=P.createContext({});process.env.NODE_ENV!=="production"&&($a.displayName="ButtonGroupContext");const gd=$a,bd=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Ed=e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s={root:["root",i,`${i}${we(t)}`,`size${we(o)}`,`${i}Size${we(o)}`,t==="inherit"&&"colorInherit",r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${we(o)}`],endIcon:["endIcon",`iconSize${we(o)}`]},c=Tn(s,yd,a);return k({},a,c)},ja=e=>k({},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}}),Sd=ft(vd,{shouldForwardProp:e=>wa(e)||e==="classes",name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${we(r.color)}`],t[`size${we(r.size)}`],t[`${r.variant}Size${we(r.size)}`],r.color==="inherit"&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;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 k({},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":k({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Mr(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})`:Mr(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})`:Mr(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":k({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Lr.focusVisible}`]:k({},t.variant==="contained"&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Lr.disabled}`]:k({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 ${Mr(e.palette[t.color].main,.5)}`},t.variant==="contained"&&{color:e.vars?e.vars.palette.text.primary:(r=(n=e.palette).getContrastText)==null?void 0:r.call(n,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"},[`&.${Lr.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Lr.disabled}`]:{boxShadow:"none"}}),_d=ft("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${we(r.size)}`]]}})(({ownerState:e})=>k({display:"inherit",marginRight:8,marginLeft:-4},e.size==="small"&&{marginLeft:-2},ja(e))),wd=ft("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${we(r.size)}`]]}})(({ownerState:e})=>k({display:"inherit",marginRight:-4,marginLeft:8},e.size==="small"&&{marginRight:-2},ja(e))),Ia=P.forwardRef(function(t,r){const n=P.useContext(gd),o=On(n,t),i=Dr({props:o,name:"MuiButton"}),{children:a,color:s="primary",component:c="button",className:u,disabled:l=!1,disableElevation:f=!1,disableFocusRipple:d=!1,endIcon:g,focusVisibleClassName:v,fullWidth:p=!1,size:y="medium",startIcon:E,type:x,variant:S="text"}=i,b=ke(i,bd),m=k({},i,{color:s,component:c,disabled:l,disableElevation:f,disableFocusRipple:d,fullWidth:p,size:y,type:x,variant:S}),C=Ed(m),R=E&&ee.jsx(_d,{className:C.startIcon,ownerState:m,children:E}),V=g&&ee.jsx(wd,{className:C.endIcon,ownerState:m,children:g});return ee.jsxs(Sd,k({ownerState:m,className:Me(n.className,C.root,u),component:c,disabled:l,focusRipple:!d,focusVisibleClassName:Me(C.focusVisible,v),ref:r,type:x},b,{classes:C,children:[R,a,V]}))});process.env.NODE_ENV!=="production"&&(Ia.propTypes={children:w.node,classes:w.object,className:w.string,color:w.oneOfType([w.oneOf(["inherit","primary","secondary","success","error","info","warning"]),w.string]),component:w.elementType,disabled:w.bool,disableElevation:w.bool,disableFocusRipple:w.bool,disableRipple:w.bool,endIcon:w.node,focusVisibleClassName:w.string,fullWidth:w.bool,href:w.string,size:w.oneOfType([w.oneOf(["small","medium","large"]),w.string]),startIcon:w.node,sx:w.oneOfType([w.arrayOf(w.oneOfType([w.func,w.object,w.bool])),w.func,w.object]),type:w.oneOfType([w.oneOf(["button","reset","submit"]),w.string]),variant:w.oneOfType([w.oneOf(["contained","outlined","text"]),w.string])});const Zn=Ia;var Qn={exports:{}},eo={};/**
|
|
203
|
+
* @license React
|
|
204
|
+
* use-sync-external-store-shim.production.min.js
|
|
205
|
+
*
|
|
206
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
207
|
+
*
|
|
208
|
+
* This source code is licensed under the MIT license found in the
|
|
209
|
+
* LICENSE file in the root directory of this source tree.
|
|
210
|
+
*/var ka;function xd(){if(ka)return eo;ka=1;var e=ie;function t(f,d){return f===d&&(f!==0||1/f===1/d)||f!==f&&d!==d}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function s(f,d){var g=d(),v=n({inst:{value:g,getSnapshot:d}}),p=v[0].inst,y=v[1];return i(function(){p.value=g,p.getSnapshot=d,c(p)&&y({inst:p})},[f,g,d]),o(function(){return c(p)&&y({inst:p}),f(function(){c(p)&&y({inst:p})})},[f]),a(g),g}function c(f){var d=f.getSnapshot;f=f.value;try{var g=d();return!r(f,g)}catch{return!0}}function u(f,d){return d()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return eo.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:l,eo}var to={};/**
|
|
211
|
+
* @license React
|
|
212
|
+
* use-sync-external-store-shim.development.js
|
|
213
|
+
*
|
|
214
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
215
|
+
*
|
|
216
|
+
* This source code is licensed under the MIT license found in the
|
|
217
|
+
* LICENSE file in the root directory of this source tree.
|
|
218
|
+
*/var Ma;function Od(){return Ma||(Ma=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=ie,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(S){{for(var b=arguments.length,m=new Array(b>1?b-1:0),C=1;C<b;C++)m[C-1]=arguments[C];n("error",S,m)}}function n(S,b,m){{var C=t.ReactDebugCurrentFrame,R=C.getStackAddendum();R!==""&&(b+="%s",m=m.concat([R]));var V=m.map(function(D){return String(D)});V.unshift("Warning: "+b),Function.prototype.apply.call(console[S],console,V)}}function o(S,b){return S===b&&(S!==0||1/S===1/b)||S!==S&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,c=e.useLayoutEffect,u=e.useDebugValue,l=!1,f=!1;function d(S,b,m){l||e.startTransition!==void 0&&(l=!0,r("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var C=b();if(!f){var R=b();i(C,R)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),f=!0)}var V=a({inst:{value:C,getSnapshot:b}}),D=V[0].inst,$=V[1];return c(function(){D.value=C,D.getSnapshot=b,g(D)&&$({inst:D})},[S,C,b]),s(function(){g(D)&&$({inst:D});var z=function(){g(D)&&$({inst:D})};return S(z)},[S]),u(C),C}function g(S){var b=S.getSnapshot,m=S.value;try{var C=b();return!i(m,C)}catch{return!0}}function v(S,b,m){return b()}var p=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!p,E=y?v:d,x=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:E;to.useSyncExternalStore=x,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),to}process.env.NODE_ENV==="production"?Qn.exports=xd():Qn.exports=Od();var Da=Qn.exports,ro={};/**
|
|
219
|
+
* @license React
|
|
220
|
+
* use-sync-external-store-shim/with-selector.production.min.js
|
|
221
|
+
*
|
|
222
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
223
|
+
*
|
|
224
|
+
* This source code is licensed under the MIT license found in the
|
|
225
|
+
* LICENSE file in the root directory of this source tree.
|
|
226
|
+
*/var Va;function Td(){if(Va)return ro;Va=1;var e=ie,t=Da;function r(u,l){return u===l&&(u!==0||1/u===1/l)||u!==u&&l!==l}var n=typeof Object.is=="function"?Object.is:r,o=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,c=e.useDebugValue;return ro.useSyncExternalStoreWithSelector=function(u,l,f,d,g){var v=i(null);if(v.current===null){var p={hasValue:!1,value:null};v.current=p}else p=v.current;v=s(function(){function E(C){if(!x){if(x=!0,S=C,C=d(C),g!==void 0&&p.hasValue){var R=p.value;if(g(R,C))return b=R}return b=C}if(R=b,n(S,C))return R;var V=d(C);return g!==void 0&&g(R,V)?R:(S=C,b=V)}var x=!1,S,b,m=f===void 0?null:f;return[function(){return E(l())},m===null?void 0:function(){return E(m())}]},[l,f,d,g]);var y=o(u,v[0],v[1]);return a(function(){p.hasValue=!0,p.value=y},[y]),c(y),y},ro}var no={};/**
|
|
227
|
+
* @license React
|
|
228
|
+
* use-sync-external-store-shim/with-selector.development.js
|
|
229
|
+
*
|
|
230
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
231
|
+
*
|
|
232
|
+
* This source code is licensed under the MIT license found in the
|
|
233
|
+
* LICENSE file in the root directory of this source tree.
|
|
234
|
+
*/var La;function Cd(){return La||(La=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=ie,t=Da;function r(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var n=typeof Object.is=="function"?Object.is:r,o=t.useSyncExternalStore,i=e.useRef,a=e.useEffect,s=e.useMemo,c=e.useDebugValue;function u(l,f,d,g,v){var p=i(null),y;p.current===null?(y={hasValue:!1,value:null},p.current=y):y=p.current;var E=s(function(){var m=!1,C,R,V=function(X){if(!m){m=!0,C=X;var Z=g(X);if(v!==void 0&&y.hasValue){var Q=y.value;if(v(Q,Z))return R=Q,Q}return R=Z,Z}var pe=C,ne=R;if(n(pe,X))return ne;var ge=g(X);return v!==void 0&&v(ne,ge)?ne:(C=X,R=ge,ge)},D=d===void 0?null:d,$=function(){return V(f())},z=D===null?void 0:function(){return V(D())};return[$,z]},[f,d,g,v]),x=E[0],S=E[1],b=o(l,x,S);return a(function(){y.hasValue=!0,y.value=b},[b]),c(b),b}no.useSyncExternalStoreWithSelector=u,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),no}process.env.NODE_ENV==="production"?Td():Cd();const za=Symbol.for(`react-redux-context-${ie.version}`),Fa=globalThis;function Rd(){let e=Fa[za];return e||(e=ie.createContext(null),process.env.NODE_ENV!=="production"&&(e.displayName="ReactRedux"),Fa[za]=e),e}const er=new Proxy({},new Proxy({},{get(e,t){const r=Rd();return(n,...o)=>Reflect[t](r,...o)}}));function Ba(e=er){return function(){const r=ie.useContext(e);if(process.env.NODE_ENV!=="production"&&!r)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return r}}const Pd=Ba();function Wa(e=er){const t=e===er?Pd:Ba(e);return function(){const{store:n}=t();return n}}const Nd=Wa();function Ad(e=er){const t=e===er?Nd:Wa(e);return function(){return t().dispatch}}const $d=Ad(),Ua=()=>$d(),jd=({message:e,onConfirmClick:t,id:r})=>{const n=Ua(),o=()=>{n(Ja(r))};return ee.jsx("div",{style:{maxWidth:"600px"},children:ee.jsxs("div",{style:{padding:"1em 2em 0"},children:[ee.jsx("div",{style:{textAlign:"center",marginBottom:"1em"},children:e}),ee.jsxs("div",{style:{display:"flex",justifyContent:"space-between"},children:[ee.jsx(Zn,{color:"warning",sx:{minWidth:"100px"},onClick:()=>{t(),o()},children:"да"}),ee.jsx(Zn,{color:"info",sx:{minWidth:"100px"},onClick:()=>o(),children:"отмена"})]})]})})},jp="";var oo={},Ya={exports:{}};(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Ya);var Id=Ya.exports,io={};function kd(e){return Bt("MuiSvgIcon",e)}dr("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Md=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Dd=e=>{const{color:t,fontSize:r,classes:n}=e,o={root:["root",t!=="inherit"&&`color${we(t)}`,`fontSize${we(r)}`]};return Tn(o,kd,n)},Vd=ft("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color!=="inherit"&&t[`color${we(r.color)}`],t[`fontSize${we(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,c,u,l,f,d,g,v;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(r=e.transitions)==null||(n=r.create)==null?void 0:n.call(r,"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:((s=e.typography)==null||(c=s.pxToRem)==null?void 0:c.call(s,24))||"1.5rem",large:((u=e.typography)==null||(l=u.pxToRem)==null?void 0:l.call(u,35))||"2.1875rem"}[t.fontSize],color:(f=(d=(e.vars||e).palette)==null||(d=d[t.color])==null?void 0:d.main)!=null?f:{action:(g=(e.vars||e).palette)==null||(g=g.action)==null?void 0:g.active,disabled:(v=(e.vars||e).palette)==null||(v=v.action)==null?void 0:v.disabled,inherit:void 0}[t.color]}}),ao=P.forwardRef(function(t,r){const n=Dr({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:c="medium",htmlColor:u,inheritViewBox:l=!1,titleAccess:f,viewBox:d="0 0 24 24"}=n,g=ke(n,Md),v=P.isValidElement(o)&&o.type==="svg",p=k({},n,{color:a,component:s,fontSize:c,instanceFontSize:t.fontSize,inheritViewBox:l,viewBox:d,hasSvgAsChild:v}),y={};l||(y.viewBox=d);const E=Dd(p);return ee.jsxs(Vd,k({as:s,className:Me(E.root,i),focusable:"false",color:u,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:r},y,g,v&&o.props,{ownerState:p,children:[v?o.props.children:o,f?ee.jsx("title",{children:f}):null]}))});process.env.NODE_ENV!=="production"&&(ao.propTypes={children:w.node,classes:w.object,className:w.string,color:w.oneOfType([w.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),w.string]),component:w.elementType,fontSize:w.oneOfType([w.oneOf(["inherit","large","medium","small"]),w.string]),htmlColor:w.string,inheritViewBox:w.bool,shapeRendering:w.string,sx:w.oneOfType([w.arrayOf(w.oneOfType([w.func,w.object,w.bool])),w.func,w.object]),titleAccess:w.string,viewBox:w.string}),ao.muiName="SvgIcon";const qa=ao;function Ld(e,t){function r(n,o){return ee.jsx(qa,k({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return process.env.NODE_ENV!=="production"&&(r.displayName=`${t}Icon`),r.muiName=qa.muiName,P.memo(P.forwardRef(r))}const zd=ls(Object.freeze(Object.defineProperty({__proto__:null,capitalize:we,createChainedFunction:Au,createSvgIcon:Ld,debounce:$u,deprecatedPropType:ju,isMuiElement:Iu,ownerDocument:gi,ownerWindow:ku,requirePropFactory:Mu,setRef:bi,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(`
|
|
235
|
+
`)),Ti.configure(e)}},unstable_useEnhancedEffect:Ei,unstable_useId:Vu,unsupportedProp:Lu,useControlled:zu,useEventCallback:Ft,useForkRef:_n,useIsFocusVisible:xi},Symbol.toStringTag,{value:"Module"})));var Ka;function Fd(){return Ka||(Ka=1,function(e){"use client";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=zd}(io)),io}var Bd=Id;Object.defineProperty(oo,"__esModule",{value:!0});var Ga=oo.default=void 0,Wd=Bd(Fd()),Ud=ee,Yd=(0,Wd.default)((0,Ud.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline");Ga=oo.default=Yd;const Ha=({status:e,message:t,onSuccess:r,id:n})=>{const o=Ua(),i=()=>{o(Ja(n))};return ee.jsxs("div",{className:"alert-message",children:[ee.jsxs("div",{className:"alert-message-content",children:[e==="failed"&&ee.jsx("div",{className:"alert-message-img",children:ee.jsx(Ga,{fontSize:"inherit",color:"error"})}),ee.jsx("div",{className:"alert-message-text",dangerouslySetInnerHTML:{__html:t||""}})]}),ee.jsx("div",{className:"alert-message-button",children:ee.jsx(Zn,{id:"alert_submit_button",variant:"contained",color:"secondary",onClick:()=>{i(),e==="success"&&(r==null||r())},children:"Продолжить"})})]})},Xa=Xo({name:"PopupsSlice",initialState:{popups:[]},reducers:{showNewPopup:(e,t)=>{e.popups=[...e.popups,t.payload]},closePopup:(e,t)=>{e.popups=e.popups.filter((r,n)=>n!==t.payload)},closePopupById:(e,t)=>{e.popups=e.popups.filter((r,n)=>r.id!==t.payload)},showErrorAlert:(e,t)=>{var o,i,a,s,c,u,l,f;const r=Math.floor(Math.random()*100).toString();let n=`<div><div>${t.payload.msg??""}</div>${(s=(a=(i=(o=t.payload)==null?void 0:o.axiosError)==null?void 0:i.response)==null?void 0:a.data)!=null&&s.msg?`<div>${(f=(l=(u=(c=t.payload)==null?void 0:c.axiosError)==null?void 0:u.response)==null?void 0:l.data)==null?void 0:f.msg}</div>`:""}</div>`;e.popups=[...e.popups,{id:r,title:"Оповещение",content:ee.jsx(Ha,{id:r,status:"failed",message:n})}]},showSuccessAlert:(e,t)=>{const r=Math.floor(Math.random()*100).toString();e.popups=[...e.popups,{id:r,title:"Оповещение",content:ee.jsx(Ha,{id:r,status:"success",message:t.payload.msg})}]},showConfirmation:(e,t)=>{const r=Math.floor(Math.random()*100).toString();e.popups=[...e.popups,{id:r,title:"Подтверждение действия",content:ee.jsx(jd,{id:r,message:t.payload.message,onConfirmClick:()=>{var n,o;return(o=(n=t.payload).onConfirm)==null?void 0:o.call(n)}})}]}}}),{showNewPopup:Dp,closePopup:Vp,closePopupById:Ja,showErrorAlert:Lp,showSuccessAlert:zp,showConfirmation:Fp}=Xa.actions,qd=Xa.reducer,Kd={cabinetType:null,cabinetIsLoading:!0,apiAxios:null,phoneNumber:null,cabinetSettings:null};cu("getCabinetSettings",async(e,t)=>{t.dispatch(Qa(!0));const r=t.getState().cabinet.apiAxios;try{const n=await r.post("/externalCustomerCabinet/cabinetInfo",{phoneNumber:t.getState().cabinet.phoneNumber,cabinetType:t.getState().cabinet.cabinetType});t.dispatch(Gd(n.data))}catch{}finally{t.dispatch(Qa(!1))}});const Za=Xo({name:"CabinetSlice",initialState:Kd,reducers:{setPhoneNumber:(e,t)=>{e.phoneNumber=t.payload},setCabinetSettings:(e,t)=>{e.cabinetSettings=t.payload},setCabinetIsLoading:(e,t)=>{e.cabinetIsLoading=t.payload},setInitialParameters:(e,t)=>{e.apiAxios=t.payload.axios,e.cabinetType=t.payload.cabinetType,e.phoneNumber=t.payload.phoneNumber}}}),{setPhoneNumber:Bp,setCabinetSettings:Gd,setCabinetIsLoading:Qa,setInitialParameters:Wp}=Za.actions,Hd=Za.reducer,Xd=tu({middleware:e=>e({serializableCheck:!1}),reducer:{popups:qd,cabinet:Hd}});Ze.TestComponent=ps,Ze.store=Xd,Object.defineProperty(Ze,Symbol.toStringTag,{value:"Module"})});
|