UNPKG

@tutim/fields

Version:

form infrastructure for web applications

64 lines (61 loc) 505 kB
(function(Qe,Ie){typeof exports=="object"&&typeof module<"u"?Ie(exports,require("react"),require("react-dom"),require("@tutim/headless")):typeof define=="function"&&define.amd?define(["exports","react","react-dom","@tutim/headless"],Ie):(Qe=typeof globalThis<"u"?globalThis:Qe||self,Ie(Qe.fields={},Qe.React,Qe.ReactDOM,Qe.TutimHeadless))})(this,function(Qe,Ie,or,Un){"use strict";function gs(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const o in e)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:()=>e[o]})}}return t.default=e,Object.freeze(t)}const w=gs(Ie),ip=gs(or);var Wt=(e=>(e.Text="text",e.Select="select",e.Radio="radio",e.Switch="switch",e.Checkbox="checkbox",e.Number="number",e.Date="date",e.Password="password",e.TextArea="text-area",e.Json="json",e.MultiText="multi-text",e.MultiSelect="multi-select",e.MultiCheckbox="multi-checkbox",e.Object="object",e.Array="array",e.Custom="custom",e))(Wt||{}),Ra=(e=>(e.MultiStepWizard="multi-step-wizard",e.SingleStepForm="single-step-form",e))(Ra||{}),kr=(e=>(e[e.One=1]="One",e[e.Two=2]="Two",e[e.Three=3]="Three",e))(kr||{}),sp=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function lp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function ys(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var o=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var a=Function.bind.apply(t,i);return new a}return t.apply(this,arguments)};o.prototype=t.prototype}else o={};return Object.defineProperty(o,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),o}var _r={},cp={get exports(){return _r},set exports(e){_r=e}},Ir={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var xs;function up(){if(xs)return Ir;xs=1;var e=Ie,t=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function s(l,c,u){var d,f={},m=null,v=null;u!==void 0&&(m=""+u),c.key!==void 0&&(m=""+c.key),c.ref!==void 0&&(v=c.ref);for(d in c)r.call(c,d)&&!a.hasOwnProperty(d)&&(f[d]=c[d]);if(l&&l.defaultProps)for(d in c=l.defaultProps,c)f[d]===void 0&&(f[d]=c[d]);return{$$typeof:t,type:l,key:m,ref:v,props:f,_owner:i.current}}return Ir.Fragment=o,Ir.jsx=s,Ir.jsxs=s,Ir}var Nr={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Es;function dp(){return Es||(Es=1,process.env.NODE_ENV!=="production"&&function(){var e=Ie,t=Symbol.for("react.element"),o=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),E=Symbol.iterator,x="@@iterator";function O(F){if(F===null||typeof F!="object")return null;var pe=E&&F[E]||F[x];return typeof pe=="function"?pe:null}var N=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function $(F){{for(var pe=arguments.length,b=new Array(pe>1?pe-1:0),y=1;y<pe;y++)b[y-1]=arguments[y];k("error",F,b)}}function k(F,pe,b){{var y=N.ReactDebugCurrentFrame,h=y.getStackAddendum();h!==""&&(pe+="%s",b=b.concat([h]));var C=b.map(function(S){return String(S)});C.unshift("Warning: "+pe),Function.prototype.apply.call(console[F],console,C)}}var p=!1,g=!1,P=!1,I=!1,V=!1,R;R=Symbol.for("react.module.reference");function _(F){return!!(typeof F=="string"||typeof F=="function"||F===r||F===a||V||F===i||F===u||F===d||I||F===v||p||g||P||typeof F=="object"&&F!==null&&(F.$$typeof===m||F.$$typeof===f||F.$$typeof===s||F.$$typeof===l||F.$$typeof===c||F.$$typeof===R||F.getModuleId!==void 0))}function D(F,pe,b){var y=F.displayName;if(y)return y;var h=pe.displayName||pe.name||"";return h!==""?b+"("+h+")":b}function ee(F){return F.displayName||"Context"}function M(F){if(F==null)return null;if(typeof F.tag=="number"&&$("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof F=="function")return F.displayName||F.name||null;if(typeof F=="string")return F;switch(F){case r:return"Fragment";case o:return"Portal";case a:return"Profiler";case i:return"StrictMode";case u:return"Suspense";case d:return"SuspenseList"}if(typeof F=="object")switch(F.$$typeof){case l:var pe=F;return ee(pe)+".Consumer";case s:var b=F;return ee(b._context)+".Provider";case c:return D(F,F.render,"ForwardRef");case f:var y=F.displayName||null;return y!==null?y:M(F.type)||"Memo";case m:{var h=F,C=h._payload,S=h._init;try{return M(S(C))}catch{return null}}}return null}var K=Object.assign,H=0,A,ae,fe,ce,L,Z,oe;function ue(){}ue.__reactDisabledLog=!0;function ie(){{if(H===0){A=console.log,ae=console.info,fe=console.warn,ce=console.error,L=console.group,Z=console.groupCollapsed,oe=console.groupEnd;var F={configurable:!0,enumerable:!0,value:ue,writable:!0};Object.defineProperties(console,{info:F,log:F,warn:F,error:F,group:F,groupCollapsed:F,groupEnd:F})}H++}}function ve(){{if(H--,H===0){var F={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:K({},F,{value:A}),info:K({},F,{value:ae}),warn:K({},F,{value:fe}),error:K({},F,{value:ce}),group:K({},F,{value:L}),groupCollapsed:K({},F,{value:Z}),groupEnd:K({},F,{value:oe})})}H<0&&$("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ne=N.ReactCurrentDispatcher,le;function se(F,pe,b){{if(le===void 0)try{throw Error()}catch(h){var y=h.stack.trim().match(/\n( *(at )?)/);le=y&&y[1]||""}return` `+le+F}}var de=!1,ye;{var me=typeof WeakMap=="function"?WeakMap:Map;ye=new me}function Y(F,pe){if(!F||de)return"";{var b=ye.get(F);if(b!==void 0)return b}var y;de=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var C;C=ne.current,ne.current=null,ie();try{if(pe){var S=function(){throw Error()};if(Object.defineProperty(S.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(S,[])}catch(qe){y=qe}Reflect.construct(F,[],S)}else{try{S.call()}catch(qe){y=qe}F.call(S.prototype)}}else{try{throw Error()}catch(qe){y=qe}F()}}catch(qe){if(qe&&y&&typeof qe.stack=="string"){for(var z=qe.stack.split(` `),X=y.stack.split(` `),q=z.length-1,B=X.length-1;q>=1&&B>=0&&z[q]!==X[B];)B--;for(;q>=1&&B>=0;q--,B--)if(z[q]!==X[B]){if(q!==1||B!==1)do if(q--,B--,B<0||z[q]!==X[B]){var Q=` `+z[q].replace(" at new "," at ");return F.displayName&&Q.includes("<anonymous>")&&(Q=Q.replace("<anonymous>",F.displayName)),typeof F=="function"&&ye.set(F,Q),Q}while(q>=1&&B>=0);break}}}finally{de=!1,ne.current=C,ve(),Error.prepareStackTrace=h}var Ce=F?F.displayName||F.name:"",Ke=Ce?se(Ce):"";return typeof F=="function"&&ye.set(F,Ke),Ke}function $e(F,pe,b){return Y(F,!1)}function be(F){var pe=F.prototype;return!!(pe&&pe.isReactComponent)}function xe(F,pe,b){if(F==null)return"";if(typeof F=="function")return Y(F,be(F));if(typeof F=="string")return se(F);switch(F){case u:return se("Suspense");case d:return se("SuspenseList")}if(typeof F=="object")switch(F.$$typeof){case c:return $e(F.render);case f:return xe(F.type,pe,b);case m:{var y=F,h=y._payload,C=y._init;try{return xe(C(h),pe,b)}catch{}}}return""}var Ye=Object.prototype.hasOwnProperty,we={},Ve=N.ReactDebugCurrentFrame;function Ge(F){if(F){var pe=F._owner,b=xe(F.type,F._source,pe?pe.type:null);Ve.setExtraStackFrame(b)}else Ve.setExtraStackFrame(null)}function tt(F,pe,b,y,h){{var C=Function.call.bind(Ye);for(var S in F)if(C(F,S)){var z=void 0;try{if(typeof F[S]!="function"){var X=Error((y||"React class")+": "+b+" type `"+S+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof F[S]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw X.name="Invariant Violation",X}z=F[S](pe,S,y,b,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(q){z=q}z&&!(z instanceof Error)&&(Ge(h),$("%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).",y||"React class",b,S,typeof z),Ge(null)),z instanceof Error&&!(z.message in we)&&(we[z.message]=!0,Ge(h),$("Failed %s type: %s",b,z.message),Ge(null))}}}var Me=Array.isArray;function Je(F){return Me(F)}function Ae(F){{var pe=typeof Symbol=="function"&&Symbol.toStringTag,b=pe&&F[Symbol.toStringTag]||F.constructor.name||"Object";return b}}function nt(F){try{return te(F),!1}catch{return!0}}function te(F){return""+F}function U(F){if(nt(F))return $("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ae(F)),te(F)}var W=N.ReactCurrentOwner,G={key:!0,ref:!0,__self:!0,__source:!0},J,re,Ee;Ee={};function Oe(F){if(Ye.call(F,"ref")){var pe=Object.getOwnPropertyDescriptor(F,"ref").get;if(pe&&pe.isReactWarning)return!1}return F.ref!==void 0}function Re(F){if(Ye.call(F,"key")){var pe=Object.getOwnPropertyDescriptor(F,"key").get;if(pe&&pe.isReactWarning)return!1}return F.key!==void 0}function De(F,pe){if(typeof F.ref=="string"&&W.current&&pe&&W.current.stateNode!==pe){var b=M(W.current.type);Ee[b]||($('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',M(W.current.type),F.ref),Ee[b]=!0)}}function He(F,pe){{var b=function(){J||(J=!0,$("%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)",pe))};b.isReactWarning=!0,Object.defineProperty(F,"key",{get:b,configurable:!0})}}function bt(F,pe){{var b=function(){re||(re=!0,$("%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)",pe))};b.isReactWarning=!0,Object.defineProperty(F,"ref",{get:b,configurable:!0})}}var Ne=function(F,pe,b,y,h,C,S){var z={$$typeof:t,type:F,key:pe,ref:b,props:S,_owner:C};return z._store={},Object.defineProperty(z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:y}),Object.defineProperty(z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:h}),Object.freeze&&(Object.freeze(z.props),Object.freeze(z)),z};function it(F,pe,b,y,h){{var C,S={},z=null,X=null;b!==void 0&&(U(b),z=""+b),Re(pe)&&(U(pe.key),z=""+pe.key),Oe(pe)&&(X=pe.ref,De(pe,h));for(C in pe)Ye.call(pe,C)&&!G.hasOwnProperty(C)&&(S[C]=pe[C]);if(F&&F.defaultProps){var q=F.defaultProps;for(C in q)S[C]===void 0&&(S[C]=q[C])}if(z||X){var B=typeof F=="function"?F.displayName||F.name||"Unknown":F;z&&He(S,B),X&&bt(S,B)}return Ne(F,z,X,h,y,W.current,S)}}var Ze=N.ReactCurrentOwner,ht=N.ReactDebugCurrentFrame;function Le(F){if(F){var pe=F._owner,b=xe(F.type,F._source,pe?pe.type:null);ht.setExtraStackFrame(b)}else ht.setExtraStackFrame(null)}var ze;ze=!1;function Pe(F){return typeof F=="object"&&F!==null&&F.$$typeof===t}function yt(){{if(Ze.current){var F=M(Ze.current.type);if(F)return` Check the render method of \``+F+"`."}return""}}function Ot(F){{if(F!==void 0){var pe=F.fileName.replace(/^.*[\\\/]/,""),b=F.lineNumber;return` Check your code at `+pe+":"+b+"."}return""}}var jt={};function It(F){{var pe=yt();if(!pe){var b=typeof F=="string"?F:F.displayName||F.name;b&&(pe=` Check the top-level render call using <`+b+">.")}return pe}}function St(F,pe){{if(!F._store||F._store.validated||F.key!=null)return;F._store.validated=!0;var b=It(pe);if(jt[b])return;jt[b]=!0;var y="";F&&F._owner&&F._owner!==Ze.current&&(y=" It was passed a child from "+M(F._owner.type)+"."),Le(F),$('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',b,y),Le(null)}}function $t(F,pe){{if(typeof F!="object")return;if(Je(F))for(var b=0;b<F.length;b++){var y=F[b];Pe(y)&&St(y,pe)}else if(Pe(F))F._store&&(F._store.validated=!0);else if(F){var h=O(F);if(typeof h=="function"&&h!==F.entries)for(var C=h.call(F),S;!(S=C.next()).done;)Pe(S.value)&&St(S.value,pe)}}}function Nt(F){{var pe=F.type;if(pe==null||typeof pe=="string")return;var b;if(typeof pe=="function")b=pe.propTypes;else if(typeof pe=="object"&&(pe.$$typeof===c||pe.$$typeof===f))b=pe.propTypes;else return;if(b){var y=M(pe);tt(b,F.props,"prop",y,F)}else if(pe.PropTypes!==void 0&&!ze){ze=!0;var h=M(pe);$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",h||"Unknown")}typeof pe.getDefaultProps=="function"&&!pe.getDefaultProps.isReactClassApproved&&$("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Dt(F){{for(var pe=Object.keys(F.props),b=0;b<pe.length;b++){var y=pe[b];if(y!=="children"&&y!=="key"){Le(F),$("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",y),Le(null);break}}F.ref!==null&&(Le(F),$("Invalid attribute `ref` supplied to `React.Fragment`."),Le(null))}}function cn(F,pe,b,y,h,C){{var S=_(F);if(!S){var z="";(F===void 0||typeof F=="object"&&F!==null&&Object.keys(F).length===0)&&(z+=" 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 X=Ot(h);X?z+=X:z+=yt();var q;F===null?q="null":Je(F)?q="array":F!==void 0&&F.$$typeof===t?(q="<"+(M(F.type)||"Unknown")+" />",z=" Did you accidentally export a JSX literal instead of a component?"):q=typeof F,$("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",q,z)}var B=it(F,pe,b,h,C);if(B==null)return B;if(S){var Q=pe.children;if(Q!==void 0)if(y)if(Je(Q)){for(var Ce=0;Ce<Q.length;Ce++)$t(Q[Ce],F);Object.freeze&&Object.freeze(Q)}else $("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 $t(Q,F)}return F===r?Dt(B):Nt(B),B}}function Ue(F,pe,b){return cn(F,pe,b,!0)}function wt(F,pe,b){return cn(F,pe,b,!1)}var xt=wt,Zt=Ue;Nr.Fragment=r,Nr.jsx=xt,Nr.jsxs=Zt}()),Nr}(function(e){process.env.NODE_ENV==="production"?e.exports=up():e.exports=dp()})(cp);const Cs=_r.Fragment,j=_r.jsx,ke=_r.jsxs,pp=Object.freeze(Object.defineProperty({__proto__:null,Fragment:Cs,jsx:j,jsxs:ke},Symbol.toStringTag,{value:"Module"})),jr={black:"#000",white:"#fff"},ar={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"},ir={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"},sr={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"},lr={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"},cr={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"},Mr={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"},fp={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function bn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function _n(){return _n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},_n.apply(this,arguments)}function qn(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Os(e){if(!qn(e))return e;const t={};return Object.keys(e).forEach(o=>{t[o]=Os(e[o])}),t}function en(e,t,o={clone:!0}){const r=o.clone?_n({},e):e;return qn(e)&&qn(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(qn(t[i])&&i in e&&qn(e[i])?r[i]=en(e[i],t[i],o):o.clone?r[i]=qn(t[i])?Os(t[i]):t[i]:r[i]=t[i])}),r}var n={},Ss={get exports(){return n},set exports(e){n=e}},xo={},mp={get exports(){return xo},set exports(e){xo=e}},st={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ws;function bp(){if(ws)return st;ws=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,E=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,O=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,$=e?Symbol.for("react.scope"):60119;function k(g){if(typeof g=="object"&&g!==null){var P=g.$$typeof;switch(P){case t:switch(g=g.type,g){case c:case u:case r:case a:case i:case f:return g;default:switch(g=g&&g.$$typeof,g){case l:case d:case E:case v:case s:return g;default:return P}}case o:return P}}}function p(g){return k(g)===u}return st.AsyncMode=c,st.ConcurrentMode=u,st.ContextConsumer=l,st.ContextProvider=s,st.Element=t,st.ForwardRef=d,st.Fragment=r,st.Lazy=E,st.Memo=v,st.Portal=o,st.Profiler=a,st.StrictMode=i,st.Suspense=f,st.isAsyncMode=function(g){return p(g)||k(g)===c},st.isConcurrentMode=p,st.isContextConsumer=function(g){return k(g)===l},st.isContextProvider=function(g){return k(g)===s},st.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===t},st.isForwardRef=function(g){return k(g)===d},st.isFragment=function(g){return k(g)===r},st.isLazy=function(g){return k(g)===E},st.isMemo=function(g){return k(g)===v},st.isPortal=function(g){return k(g)===o},st.isProfiler=function(g){return k(g)===a},st.isStrictMode=function(g){return k(g)===i},st.isSuspense=function(g){return k(g)===f},st.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===u||g===a||g===i||g===f||g===m||typeof g=="object"&&g!==null&&(g.$$typeof===E||g.$$typeof===v||g.$$typeof===s||g.$$typeof===l||g.$$typeof===d||g.$$typeof===O||g.$$typeof===N||g.$$typeof===$||g.$$typeof===x)},st.typeOf=k,st}var lt={};/** @license React v16.13.1 * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ts;function hp(){return Ts||(Ts=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,o=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,E=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,O=e?Symbol.for("react.fundamental"):60117,N=e?Symbol.for("react.responder"):60118,$=e?Symbol.for("react.scope"):60119;function k(Y){return typeof Y=="string"||typeof Y=="function"||Y===r||Y===u||Y===a||Y===i||Y===f||Y===m||typeof Y=="object"&&Y!==null&&(Y.$$typeof===E||Y.$$typeof===v||Y.$$typeof===s||Y.$$typeof===l||Y.$$typeof===d||Y.$$typeof===O||Y.$$typeof===N||Y.$$typeof===$||Y.$$typeof===x)}function p(Y){if(typeof Y=="object"&&Y!==null){var $e=Y.$$typeof;switch($e){case t:var be=Y.type;switch(be){case c:case u:case r:case a:case i:case f:return be;default:var xe=be&&be.$$typeof;switch(xe){case l:case d:case E:case v:case s:return xe;default:return $e}}case o:return $e}}}var g=c,P=u,I=l,V=s,R=t,_=d,D=r,ee=E,M=v,K=o,H=a,A=i,ae=f,fe=!1;function ce(Y){return fe||(fe=!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.")),L(Y)||p(Y)===c}function L(Y){return p(Y)===u}function Z(Y){return p(Y)===l}function oe(Y){return p(Y)===s}function ue(Y){return typeof Y=="object"&&Y!==null&&Y.$$typeof===t}function ie(Y){return p(Y)===d}function ve(Y){return p(Y)===r}function ne(Y){return p(Y)===E}function le(Y){return p(Y)===v}function se(Y){return p(Y)===o}function de(Y){return p(Y)===a}function ye(Y){return p(Y)===i}function me(Y){return p(Y)===f}lt.AsyncMode=g,lt.ConcurrentMode=P,lt.ContextConsumer=I,lt.ContextProvider=V,lt.Element=R,lt.ForwardRef=_,lt.Fragment=D,lt.Lazy=ee,lt.Memo=M,lt.Portal=K,lt.Profiler=H,lt.StrictMode=A,lt.Suspense=ae,lt.isAsyncMode=ce,lt.isConcurrentMode=L,lt.isContextConsumer=Z,lt.isContextProvider=oe,lt.isElement=ue,lt.isForwardRef=ie,lt.isFragment=ve,lt.isLazy=ne,lt.isMemo=le,lt.isPortal=se,lt.isProfiler=de,lt.isStrictMode=ye,lt.isSuspense=me,lt.isValidElementType=k,lt.typeOf=p}()),lt}var Rs;function Ps(){return Rs||(Rs=1,function(e){process.env.NODE_ENV==="production"?e.exports=bp():e.exports=hp()}(mp)),xo}/* object-assign (c) Sindre Sorhus @license MIT */var Pa,$s;function vp(){if($s)return Pa;$s=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},l=0;l<10;l++)s["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(s).map(function(d){return s[d]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(d){u[d]=d}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Pa=i()?Object.assign:function(a,s){for(var l,c=r(a),u,d=1;d<arguments.length;d++){l=Object(arguments[d]);for(var f in l)t.call(l,f)&&(c[f]=l[f]);if(e){u=e(l);for(var m=0;m<u.length;m++)o.call(l,u[m])&&(c[u[m]]=l[u[m]])}}return c},Pa}var $a,ks;function ka(){if(ks)return $a;ks=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return $a=e,$a}var _a,_s;function Is(){return _s||(_s=1,_a=Function.call.bind(Object.prototype.hasOwnProperty)),_a}var Ia,Ns;function gp(){if(Ns)return Ia;Ns=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=ka(),o={},r=Is();e=function(a){var s="Warning: "+a;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function i(a,s,l,c,u){if(process.env.NODE_ENV!=="production"){for(var d in a)if(r(a,d)){var f;try{if(typeof a[d]!="function"){var m=Error((c||"React class")+": "+l+" type `"+d+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[d]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}f=a[d](s,d,c,l,null,t)}catch(E){f=E}if(f&&!(f instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+d+"` 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 o)){o[f.message]=!0;var v=u?u():"";e("Failed "+l+" type: "+f.message+(v??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(o={})},Ia=i,Ia}var Na,js;function yp(){if(js)return Na;js=1;var e=Ps(),t=vp(),o=ka(),r=Is(),i=gp(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function s(){return null}return Na=function(l,c){var u=typeof Symbol=="function"&&Symbol.iterator,d="@@iterator";function f(L){var Z=L&&(u&&L[u]||L[d]);if(typeof Z=="function")return Z}var m="<<anonymous>>",v={array:N("array"),bigint:N("bigint"),bool:N("boolean"),func:N("function"),number:N("number"),object:N("object"),string:N("string"),symbol:N("symbol"),any:$(),arrayOf:k,element:p(),elementType:g(),instanceOf:P,node:_(),objectOf:V,oneOf:I,oneOfType:R,shape:ee,exact:M};function E(L,Z){return L===Z?L!==0||1/L===1/Z:L!==L&&Z!==Z}function x(L,Z){this.message=L,this.data=Z&&typeof Z=="object"?Z:{},this.stack=""}x.prototype=Error.prototype;function O(L){if(process.env.NODE_ENV!=="production")var Z={},oe=0;function ue(ve,ne,le,se,de,ye,me){if(se=se||m,ye=ye||le,me!==o){if(c){var Y=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 Y.name="Invariant Violation",Y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var $e=se+":"+le;!Z[$e]&&oe<3&&(a("You are manually calling a React.PropTypes validation function for the `"+ye+"` prop on `"+se+"`. 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."),Z[$e]=!0,oe++)}}return ne[le]==null?ve?ne[le]===null?new x("The "+de+" `"+ye+"` is marked as required "+("in `"+se+"`, but its value is `null`.")):new x("The "+de+" `"+ye+"` is marked as required in "+("`"+se+"`, but its value is `undefined`.")):null:L(ne,le,se,de,ye)}var ie=ue.bind(null,!1);return ie.isRequired=ue.bind(null,!0),ie}function N(L){function Z(oe,ue,ie,ve,ne,le){var se=oe[ue],de=A(se);if(de!==L){var ye=ae(se);return new x("Invalid "+ve+" `"+ne+"` of type "+("`"+ye+"` supplied to `"+ie+"`, expected ")+("`"+L+"`."),{expectedType:L})}return null}return O(Z)}function $(){return O(s)}function k(L){function Z(oe,ue,ie,ve,ne){if(typeof L!="function")return new x("Property `"+ne+"` of component `"+ie+"` has invalid PropType notation inside arrayOf.");var le=oe[ue];if(!Array.isArray(le)){var se=A(le);return new x("Invalid "+ve+" `"+ne+"` of type "+("`"+se+"` supplied to `"+ie+"`, expected an array."))}for(var de=0;de<le.length;de++){var ye=L(le,de,ie,ve,ne+"["+de+"]",o);if(ye instanceof Error)return ye}return null}return O(Z)}function p(){function L(Z,oe,ue,ie,ve){var ne=Z[oe];if(!l(ne)){var le=A(ne);return new x("Invalid "+ie+" `"+ve+"` of type "+("`"+le+"` supplied to `"+ue+"`, expected a single ReactElement."))}return null}return O(L)}function g(){function L(Z,oe,ue,ie,ve){var ne=Z[oe];if(!e.isValidElementType(ne)){var le=A(ne);return new x("Invalid "+ie+" `"+ve+"` of type "+("`"+le+"` supplied to `"+ue+"`, expected a single ReactElement type."))}return null}return O(L)}function P(L){function Z(oe,ue,ie,ve,ne){if(!(oe[ue]instanceof L)){var le=L.name||m,se=ce(oe[ue]);return new x("Invalid "+ve+" `"+ne+"` of type "+("`"+se+"` supplied to `"+ie+"`, expected ")+("instance of `"+le+"`."))}return null}return O(Z)}function I(L){if(!Array.isArray(L))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("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])."):a("Invalid argument supplied to oneOf, expected an array.")),s;function Z(oe,ue,ie,ve,ne){for(var le=oe[ue],se=0;se<L.length;se++)if(E(le,L[se]))return null;var de=JSON.stringify(L,function(me,Y){var $e=ae(Y);return $e==="symbol"?String(Y):Y});return new x("Invalid "+ve+" `"+ne+"` of value `"+String(le)+"` "+("supplied to `"+ie+"`, expected one of "+de+"."))}return O(Z)}function V(L){function Z(oe,ue,ie,ve,ne){if(typeof L!="function")return new x("Property `"+ne+"` of component `"+ie+"` has invalid PropType notation inside objectOf.");var le=oe[ue],se=A(le);if(se!=="object")return new x("Invalid "+ve+" `"+ne+"` of type "+("`"+se+"` supplied to `"+ie+"`, expected an object."));for(var de in le)if(r(le,de)){var ye=L(le,de,ie,ve,ne+"."+de,o);if(ye instanceof Error)return ye}return null}return O(Z)}function R(L){if(!Array.isArray(L))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var Z=0;Z<L.length;Z++){var oe=L[Z];if(typeof oe!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+fe(oe)+" at index "+Z+"."),s}function ue(ie,ve,ne,le,se){for(var de=[],ye=0;ye<L.length;ye++){var me=L[ye],Y=me(ie,ve,ne,le,se,o);if(Y==null)return null;Y.data&&r(Y.data,"expectedType")&&de.push(Y.data.expectedType)}var $e=de.length>0?", expected one of type ["+de.join(", ")+"]":"";return new x("Invalid "+le+" `"+se+"` supplied to "+("`"+ne+"`"+$e+"."))}return O(ue)}function _(){function L(Z,oe,ue,ie,ve){return K(Z[oe])?null:new x("Invalid "+ie+" `"+ve+"` supplied to "+("`"+ue+"`, expected a ReactNode."))}return O(L)}function D(L,Z,oe,ue,ie){return new x((L||"React class")+": "+Z+" type `"+oe+"."+ue+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+ie+"`.")}function ee(L){function Z(oe,ue,ie,ve,ne){var le=oe[ue],se=A(le);if(se!=="object")return new x("Invalid "+ve+" `"+ne+"` of type `"+se+"` "+("supplied to `"+ie+"`, expected `object`."));for(var de in L){var ye=L[de];if(typeof ye!="function")return D(ie,ve,ne,de,ae(ye));var me=ye(le,de,ie,ve,ne+"."+de,o);if(me)return me}return null}return O(Z)}function M(L){function Z(oe,ue,ie,ve,ne){var le=oe[ue],se=A(le);if(se!=="object")return new x("Invalid "+ve+" `"+ne+"` of type `"+se+"` "+("supplied to `"+ie+"`, expected `object`."));var de=t({},oe[ue],L);for(var ye in de){var me=L[ye];if(r(L,ye)&&typeof me!="function")return D(ie,ve,ne,ye,ae(me));if(!me)return new x("Invalid "+ve+" `"+ne+"` key `"+ye+"` supplied to `"+ie+"`.\nBad object: "+JSON.stringify(oe[ue],null," ")+` Valid keys: `+JSON.stringify(Object.keys(L),null," "));var Y=me(le,ye,ie,ve,ne+"."+ye,o);if(Y)return Y}return null}return O(Z)}function K(L){switch(typeof L){case"number":case"string":case"undefined":return!0;case"boolean":return!L;case"object":if(Array.isArray(L))return L.every(K);if(L===null||l(L))return!0;var Z=f(L);if(Z){var oe=Z.call(L),ue;if(Z!==L.entries){for(;!(ue=oe.next()).done;)if(!K(ue.value))return!1}else for(;!(ue=oe.next()).done;){var ie=ue.value;if(ie&&!K(ie[1]))return!1}}else return!1;return!0;default:return!1}}function H(L,Z){return L==="symbol"?!0:Z?Z["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&Z instanceof Symbol:!1}function A(L){var Z=typeof L;return Array.isArray(L)?"array":L instanceof RegExp?"object":H(Z,L)?"symbol":Z}function ae(L){if(typeof L>"u"||L===null)return""+L;var Z=A(L);if(Z==="object"){if(L instanceof Date)return"date";if(L instanceof RegExp)return"regexp"}return Z}function fe(L){var Z=ae(L);switch(Z){case"array":case"object":return"an "+Z;case"boolean":case"date":case"regexp":return"a "+Z;default:return Z}}function ce(L){return!L.constructor||!L.constructor.name?m:L.constructor.name}return v.checkPropTypes=i,v.resetWarningCache=i.resetWarningCache,v.PropTypes=v,v},Na}var ja,Ms;function xp(){if(Ms)return ja;Ms=1;var e=ka();function t(){}function o(){}return o.resetWarningCache=t,ja=function(){function r(s,l,c,u,d,f){if(f!==e){var m=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 m.name="Invariant Violation",m}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:o,resetWarningCache:t};return a.PropTypes=a,a},ja}if(process.env.NODE_ENV!=="production"){var Ep=Ps(),Cp=!0;Ss.exports=yp()(Ep.isElement,Cp)}else Ss.exports=xp()();function Op(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}function As(e,t,o,r,i){const a=e[t],s=i||t;if(a==null||typeof window>"u")return null;let l;const c=a.type;return typeof c=="function"&&!Op(c)&&(l="Did you accidentally use a plain function component for an element instead?"),l!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${o}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Ds=bn(n.element,As);Ds.isRequired=bn(n.element.isRequired,As);const ur=Ds;function Sp(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}function wp(e,t,o,r,i){const a=e[t],s=i||t;if(a==null||typeof window>"u")return null;let l;return typeof a=="function"&&!Sp(a)&&(l="Did you accidentally provide a plain function component instead?"),l!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${o}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Eo=bn(n.elementType,wp),Tp="exact-prop: ​";function Fs(e){return process.env.NODE_ENV==="production"?e:_n({},e,{[Tp]:t=>{const o=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return o.length>0?new Error(`The following props are not supported: ${o.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function In(e){let t="https://mui.com/production-error/?code="+e;for(let o=1;o<arguments.length;o+=1)t+="&args[]="+encodeURIComponent(arguments[o]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Hn={},Rp={get exports(){return Hn},set exports(e){Hn=e}},ct={};/** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Ls;function Pp(){if(Ls)return ct;Ls=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),E;E=Symbol.for("react.module.reference");function x(O){if(typeof O=="object"&&O!==null){var N=O.$$typeof;switch(N){case e:switch(O=O.type,O){case o:case i:case r:case u:case d:return O;default:switch(O=O&&O.$$typeof,O){case l:case s:case c:case m:case f:case a:return O;default:return N}}case t:return N}}}return ct.ContextConsumer=s,ct.ContextProvider=a,ct.Element=e,ct.ForwardRef=c,ct.Fragment=o,ct.Lazy=m,ct.Memo=f,ct.Portal=t,ct.Profiler=i,ct.StrictMode=r,ct.Suspense=u,ct.SuspenseList=d,ct.isAsyncMode=function(){return!1},ct.isConcurrentMode=function(){return!1},ct.isContextConsumer=function(O){return x(O)===s},ct.isContextProvider=function(O){return x(O)===a},ct.isElement=function(O){return typeof O=="object"&&O!==null&&O.$$typeof===e},ct.isForwardRef=function(O){return x(O)===c},ct.isFragment=function(O){return x(O)===o},ct.isLazy=function(O){return x(O)===m},ct.isMemo=function(O){return x(O)===f},ct.isPortal=function(O){return x(O)===t},ct.isProfiler=function(O){return x(O)===i},ct.isStrictMode=function(O){return x(O)===r},ct.isSuspense=function(O){return x(O)===u},ct.isSuspenseList=function(O){return x(O)===d},ct.isValidElementType=function(O){return typeof O=="string"||typeof O=="function"||O===o||O===i||O===r||O===u||O===d||O===v||typeof O=="object"&&O!==null&&(O.$$typeof===m||O.$$typeof===f||O.$$typeof===a||O.$$typeof===s||O.$$typeof===c||O.$$typeof===E||O.getModuleId!==void 0)},ct.typeOf=x,ct}var ut={};/** * @license React * react-is.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var zs;function $p(){return zs||(zs=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),E=!1,x=!1,O=!1,N=!1,$=!1,k;k=Symbol.for("react.module.reference");function p(be){return!!(typeof be=="string"||typeof be=="function"||be===o||be===i||$||be===r||be===u||be===d||N||be===v||E||x||O||typeof be=="object"&&be!==null&&(be.$$typeof===m||be.$$typeof===f||be.$$typeof===a||be.$$typeof===s||be.$$typeof===c||be.$$typeof===k||be.getModuleId!==void 0))}function g(be){if(typeof be=="object"&&be!==null){var xe=be.$$typeof;switch(xe){case e:var Ye=be.type;switch(Ye){case o:case i:case r:case u:case d:return Ye;default:var we=Ye&&Ye.$$typeof;switch(we){case l:case s:case c:case m:case f:case a:return we;default:return xe}}case t:return xe}}}var P=s,I=a,V=e,R=c,_=o,D=m,ee=f,M=t,K=i,H=r,A=u,ae=d,fe=!1,ce=!1;function L(be){return fe||(fe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Z(be){return ce||(ce=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function oe(be){return g(be)===s}function ue(be){return g(be)===a}function ie(be){return typeof be=="object"&&be!==null&&be.$$typeof===e}function ve(be){return g(be)===c}function ne(be){return g(be)===o}function le(be){return g(be)===m}function se(be){return g(be)===f}function de(be){return g(be)===t}function ye(be){return g(be)===i}function me(be){return g(be)===r}function Y(be){return g(be)===u}function $e(be){return g(be)===d}ut.ContextConsumer=P,ut.ContextProvider=I,ut.Element=V,ut.ForwardRef=R,ut.Fragment=_,ut.Lazy=D,ut.Memo=ee,ut.Portal=M,ut.Profiler=K,ut.StrictMode=H,ut.Suspense=A,ut.SuspenseList=ae,ut.isAsyncMode=L,ut.isConcurrentMode=Z,ut.isContextConsumer=oe,ut.isContextProvider=ue,ut.isElement=ie,ut.isForwardRef=ve,ut.isFragment=ne,ut.isLazy=le,ut.isMemo=se,ut.isPortal=de,ut.isProfiler=ye,ut.isStrictMode=me,ut.isSuspense=Y,ut.isSuspenseList=$e,ut.isValidElementType=p,ut.typeOf=g}()),ut}(function(e){process.env.NODE_ENV==="production"?e.exports=Pp():e.exports=$p()})(Rp);const kp=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function _p(e){const t=`${e}`.match(kp);return t&&t[1]||""}function Bs(e,t=""){return e.displayName||e.name||_p(e)||t}function Vs(e,t,o){const r=Bs(t);return e.displayName||(r!==""?`${o}(${r})`:o)}function Ip(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Bs(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Hn.ForwardRef:return Vs(e,e.render,"ForwardRef");case Hn.Memo:return Vs(e,e.type,"memo");default:return}}}function hn(e,t,o,r,i){if(process.env.NODE_ENV==="production")return null;const a=e[t],s=i||t;return a==null?null:a&&a.nodeType!==1?new Error(`Invalid ${r} \`${s}\` supplied to \`${o}\`. Expected an HTMLElement.`):null}const Ft=n.oneOfType([n.func,n.object]);function ge(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":In(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Co(...e){return e.reduce((t,o)=>o==null?t:function(...i){t.apply(this,i),o.apply(this,i)},()=>{})}function Ma(e,t=166){let o;function r(...i){const a=()=>{e.apply(this,i)};clearTimeout(o),o=setTimeout(a,t)}return r.clear=()=>{clearTimeout(o)},r}function Np(e,t){return process.env.NODE_ENV==="production"?()=>null:(o,r,i,a,s)=>{const l=i||"<<anonymous>>",c=s||r;return typeof o[r]<"u"?new Error(`The ${a} \`${c}\` of \`${l}\` is deprecated. ${t}`):null}}function Ar(e,t){return w.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function Lt(e){return e&&e.ownerDocument||document}function Nn(e){return Lt(e).defaultView||window}function Ws(e,t){if(process.env.NODE_ENV==="production")return()=>null;const o=t?_n({},t.propTypes):null;return i=>(a,s,l,c,u,...d)=>{const f=u||s,m=o==null?void 0:o[f];if(m){const v=m(a,s,l,c,u,...d);if(v)return v}return typeof a[s]<"u"&&!a[i]?new Error(`The prop \`${f}\` of \`${e}\` can only be used together with the \`${i}\` prop.`):null}}function Dr(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const vn=typeof window<"u"?w.useLayoutEffect:w.useEffect;let Us=0;function jp(e){const[t,o]=w.useState(e),r=e||t;return w.useEffect(()=>{t==null&&(Us+=1,o(`mui-${Us}`))},[t]),r}const qs=w["useId"];function Fr(e){if(qs!==void 0){const t=qs();return e??t}return jp(e)}function Hs(e,t,o,r,i){if(process.env.NODE_ENV==="production")return null;const a=i||t;return typeof e[t]<"u"?new Error(`The prop \`${a}\` is not supported. Please remove it.`):null}function Sn({controlled:e,default:t,name:o,state:r="value"}){const{current:i}=w.useRef(e!==void 0),[a,s]=w.useState(t),l=i?e:a;if(process.env.NODE_ENV!=="production"){w.useEffect(()=>{i!==(e!==void 0)&&console.error([`MUI: A component is changing the ${i?"":"un"}controlled ${r} state of ${o} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${o} 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(` `))},[r,o,e]);const{current:u}=w.useRef(t);w.useEffect(()=>{!i&&u!==t&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${o} after being initialized. To suppress this warning opt to use a controlled ${o}.`].join(` `))},[JSON.stringify(t)])}const c=w.useCallback(u=>{i||s(u)},[]);return[l,c]}function tn(e){const t=w.useRef(e);return vn(()=>{t.current=e}),w.useCallback((...o)=>(0,t.current)(...o),[])}function Tt(...e){return w.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(o=>{Dr(o,t)})},e)}let Oo=!0,Aa=!1,Ks;const Mp={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 Ap(e){const{type:t,tagName:o}=e;return!!(o==="INPUT"&&Mp[t]&&!e.readOnly||o==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Dp(e){e.metaKey||e.altKey||e.ctrlKey||(Oo=!0)}function Da(){Oo=!1}function Fp(){this.visibilityState==="hidden"&&Aa&&(Oo=!0)}function Lp(e){e.addEventListener("keydown",Dp,!0),e.addEventListener("mousedown",Da,!0),e.addEventListener("pointerdown",Da,!0),e.addEventListener("touchstart",Da,!0),e.addEventListener("visibilitychange",Fp,!0)}function zp(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Oo||Ap(t)}function Fa(){const e=w.useCallback(i=>{i!=null&&Lp(i.ownerDocument)},[]),t=w.useRef(!1);function o(){return t.current?(Aa=!0,window.clearTimeout(Ks),Ks=window.setTimeout(()=>{Aa=!1},100),t.current=!1,!0):!1}function r(i){return zp(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:o,ref:e}}function Gs(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}function Bp(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function Vp(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const Wp=Number.isInteger||Vp;function Ys(e,t,o,r){const i=e[t];if(i==null||!Wp(i)){const a=Bp(i);return new RangeError(`Invalid ${r} \`${t}\` of type \`${a}\` supplied to \`${o}\`, expected \`integer\`.`)}return null}function Xs(e,t,...o){return e[t]===void 0?null:Ys(e,t,...o)}function La(){return null}Xs.isRequired=Ys,La.isRequired=La;const Lr=process.env.NODE_ENV==="production"?La:Xs;function za(e,t){const o=_n({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))o[r]=_n({},e[r],o[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},a=t[r];o[r]={},!a||!Object.keys(a)?o[r]=i:!i||!Object.keys(i)?o[r]=a:(o[r]=_n({},a),Object.keys(i).forEach(s=>{o[r][s]=za(i[s],a[s])}))}else o[r]===void 0&&(o[r]=e[r])}),o}function Fe(e,t,o){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((a,s)=>(s&&(a.push(t(s)),o&&o[s]&&a.push(o[s])),a),[]).join(" ")}),r}const Js=e=>e,Ba=(()=>{let e=Js;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Js}}})(),Up={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function je(e,t,o="Mui"){const r=Up[t];return r?`${o}-${r}`:`${Ba.generate(e)}-${t}`}function _e(e,t,o="Mui"){const r={};return t.forEach(i=>{r[i]=je(e,i,o)}),r}function T(){return T=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},T.apply(this,arguments)}function Te(e,t){if(e==null)return{};var o={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(o[i]=e[i]);return o}function Va(){return Va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Va.apply(this,arguments)}function Zs(e){var t=Object.create(null);return function(o){return t[o]===void 0&&(t[o]=e(o)),t[o]}}var qp=/^((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|