@s_mart/dropzone 1.1.3 → 3.0.0
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/index.d.ts +1 -1
- package/dist/index.js +90 -77
- package/dist/index.mjs +90 -77
- package/package.json +16 -13
package/dist/index.d.ts
CHANGED
|
@@ -38,7 +38,7 @@ interface DropzoneProps extends Omit<DropzoneProps$1, 'children' | 'onReset' | '
|
|
|
38
38
|
/**
|
|
39
39
|
* @description Função que é chamada dentro do OnChange para caso necessário fazer um tratamento nos files
|
|
40
40
|
*/
|
|
41
|
-
tratamentoFilesOnChange?: (incomingFiles: FileValidated[]) => FileValidated[];
|
|
41
|
+
tratamentoFilesOnChange?: (incomingFiles: FileValidated[]) => Promise<FileValidated[]> | FileValidated[];
|
|
42
42
|
}
|
|
43
43
|
interface DropzoneFile extends FileValidated {
|
|
44
44
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";var Xo=Object.create;var Fe=Object.defineProperty,Jo=Object.defineProperties,Zo=Object.getOwnPropertyDescriptor,Qo=Object.getOwnPropertyDescriptors,en=Object.getOwnPropertyNames,tr=Object.getOwnPropertySymbols,rn=Object.getPrototypeOf,Gr=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable;var or=Math.pow,Ct=(e,r,t)=>r in e?Fe(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Me=(e,r)=>{for(var t in r||(r={}))Gr.call(r,t)&&Ct(e,t,r[t]);if(tr)for(var t of tr(r))wt.call(r,t)&&Ct(e,t,r[t]);return e},ze=(e,r)=>Jo(e,Qo(r));var At=(e,r)=>{var t={};for(var o in e)Gr.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&tr)for(var o of tr(e))r.indexOf(o)<0&&wt.call(e,o)&&(t[o]=e[o]);return t};var te=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),tn=(e,r)=>{for(var t in r)Fe(e,t,{get:r[t],enumerable:!0})},$t=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of en(r))!Gr.call(e,n)&&n!==t&&Fe(e,n,{get:()=>r[n],enumerable:!(o=Zo(r,n))||o.enumerable});return e};var xe=(e,r,t)=>(t=e!=null?Xo(rn(e)):{},$t(r||!e||!e.__esModule?Fe(t,"default",{value:e,enumerable:!0}):t,e)),on=e=>$t(Fe({},"__esModule",{value:!0}),e);var kt=te(D=>{"use strict";var H=typeof Symbol=="function"&&Symbol.for,qr=H?Symbol.for("react.element"):60103,Hr=H?Symbol.for("react.portal"):60106,nr=H?Symbol.for("react.fragment"):60107,ar=H?Symbol.for("react.strict_mode"):60108,sr=H?Symbol.for("react.profiler"):60114,ir=H?Symbol.for("react.provider"):60109,fr=H?Symbol.for("react.context"):60110,Xr=H?Symbol.for("react.async_mode"):60111,ur=H?Symbol.for("react.concurrent_mode"):60111,pr=H?Symbol.for("react.forward_ref"):60112,lr=H?Symbol.for("react.suspense"):60113,mn=H?Symbol.for("react.suspense_list"):60120,cr=H?Symbol.for("react.memo"):60115,mr=H?Symbol.for("react.lazy"):60116,dn=H?Symbol.for("react.block"):60121,xn=H?Symbol.for("react.fundamental"):60117,yn=H?Symbol.for("react.responder"):60118,gn=H?Symbol.for("react.scope"):60119;function oe(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case qr:switch(e=e.type,e){case Xr:case ur:case nr:case sr:case ar:case lr:return e;default:switch(e=e&&e.$$typeof,e){case fr:case pr:case mr:case cr:case ir:return e;default:return r}}case Hr:return r}}}function It(e){return oe(e)===ur}D.AsyncMode=Xr;D.ConcurrentMode=ur;D.ContextConsumer=fr;D.ContextProvider=ir;D.Element=qr;D.ForwardRef=pr;D.Fragment=nr;D.Lazy=mr;D.Memo=cr;D.Portal=Hr;D.Profiler=sr;D.StrictMode=ar;D.Suspense=lr;D.isAsyncMode=function(e){return It(e)||oe(e)===Xr};D.isConcurrentMode=It;D.isContextConsumer=function(e){return oe(e)===fr};D.isContextProvider=function(e){return oe(e)===ir};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===qr};D.isForwardRef=function(e){return oe(e)===pr};D.isFragment=function(e){return oe(e)===nr};D.isLazy=function(e){return oe(e)===mr};D.isMemo=function(e){return oe(e)===cr};D.isPortal=function(e){return oe(e)===Hr};D.isProfiler=function(e){return oe(e)===sr};D.isStrictMode=function(e){return oe(e)===ar};D.isSuspense=function(e){return oe(e)===lr};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nr||e===ur||e===sr||e===ar||e===lr||e===mn||typeof e=="object"&&e!==null&&(e.$$typeof===mr||e.$$typeof===cr||e.$$typeof===ir||e.$$typeof===fr||e.$$typeof===pr||e.$$typeof===xn||e.$$typeof===yn||e.$$typeof===gn||e.$$typeof===dn)};D.typeOf=oe});var jt=te(N=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,V=e?Symbol.for("react.scope"):60119;function L(y){return typeof y=="string"||typeof y=="function"||y===o||y===p||y===a||y===n||y===m||y===l||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===T||y.$$typeof===s||y.$$typeof===u||y.$$typeof===d||y.$$typeof===h||y.$$typeof===I||y.$$typeof===V||y.$$typeof===x)}function A(y){if(typeof y=="object"&&y!==null){var Le=y.$$typeof;switch(Le){case r:var g=y.type;switch(g){case f:case p:case o:case a:case n:case m:return g;default:var Re=g&&g.$$typeof;switch(Re){case u:case d:case v:case T:case s:return Re;default:return Le}}case t:return Le}}}var j=f,ee=p,ue=u,ge=s,P=r,K=d,re=o,le=v,i=T,c=t,C=a,O=n,E=m,w=!1;function S(y){return w||(w=!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.")),_(y)||A(y)===f}function _(y){return A(y)===p}function $(y){return A(y)===u}function k(y){return A(y)===s}function R(y){return typeof y=="object"&&y!==null&&y.$$typeof===r}function X(y){return A(y)===d}function q(y){return A(y)===o}function ce(y){return A(y)===v}function zr(y){return A(y)===T}function Wr(y){return A(y)===t}function Yr(y){return A(y)===a}function Vr(y){return A(y)===n}function Kr(y){return A(y)===m}N.AsyncMode=j,N.ConcurrentMode=ee,N.ContextConsumer=ue,N.ContextProvider=ge,N.Element=P,N.ForwardRef=K,N.Fragment=re,N.Lazy=le,N.Memo=i,N.Portal=c,N.Profiler=C,N.StrictMode=O,N.Suspense=E,N.isAsyncMode=S,N.isConcurrentMode=_,N.isContextConsumer=$,N.isContextProvider=k,N.isElement=R,N.isForwardRef=X,N.isFragment=q,N.isLazy=ce,N.isMemo=zr,N.isPortal=Wr,N.isProfiler=Yr,N.isStrictMode=Vr,N.isSuspense=Kr,N.isValidElementType=L,N.typeOf=A}()});var Zr=te((As,Jr)=>{"use strict";process.env.NODE_ENV==="production"?Jr.exports=kt():Jr.exports=jt()});var Bt=te(($s,Nt)=>{"use strict";var Dt=Object.getOwnPropertySymbols,hn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable;function vn(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Tn(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;var o=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(o.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(a){n[a]=a}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}Nt.exports=Tn()?Object.assign:function(e,r){for(var t,o=vn(e),n,a=1;a<arguments.length;a++){t=Object(arguments[a]);for(var s in t)hn.call(t,s)&&(o[s]=t[s]);if(Dt){n=Dt(t);for(var u=0;u<n.length;u++)bn.call(t,n[u])&&(o[n[u]]=t[n[u]])}}return o}});var dr=te((Rs,Ut)=>{"use strict";var En="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Ut.exports=En});var Qr=te((Ms,Lt)=>{Lt.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Vt=te((Is,Yt)=>{"use strict";var et=function(){};process.env.NODE_ENV!=="production"&&(Ft=dr(),xr={},zt=Qr(),et=function(e){var r="Warning: "+e;typeof console!="undefined"&&console.error(r);try{throw new Error(r)}catch(t){}});var Ft,xr,zt;function Wt(e,r,t,o,n){if(process.env.NODE_ENV!=="production"){for(var a in e)if(zt(e,a)){var s;try{if(typeof e[a]!="function"){var u=Error((o||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}s=e[a](r,a,o,t,null,Ft)}catch(p){s=p}if(s&&!(s instanceof Error)&&et((o||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof 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)."),s instanceof Error&&!(s.message in xr)){xr[s.message]=!0;var f=n?n():"";et("Failed "+t+" type: "+s.message+(f!=null?f:""))}}}}Wt.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(xr={})};Yt.exports=Wt});var qt=te((ks,Gt)=>{"use strict";var Sn=Zr(),_n=Bt(),je=dr(),rt=Qr(),Kt=Vt(),De=function(){};process.env.NODE_ENV!=="production"&&(De=function(e){var r="Warning: "+e;typeof console!="undefined"&&console.error(r);try{throw new Error(r)}catch(t){}});function yr(){return null}Gt.exports=function(e,r){var t=typeof Symbol=="function"&&Symbol.iterator,o="@@iterator";function n(i){var c=i&&(t&&i[t]||i[o]);if(typeof c=="function")return c}var a="<<anonymous>>",s={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:m(),arrayOf:l,element:T(),elementType:v(),instanceOf:x,node:L(),objectOf:I,oneOf:h,oneOfType:V,shape:j,exact:ee};function u(i,c){return i===c?i!==0||1/i===1/c:i!==i&&c!==c}function f(i,c){this.message=i,this.data=c&&typeof c=="object"?c:{},this.stack=""}f.prototype=Error.prototype;function p(i){if(process.env.NODE_ENV!=="production")var c={},C=0;function O(w,S,_,$,k,R,X){if($=$||a,R=R||_,X!==je){if(r){var q=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 q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var ce=$+":"+_;!c[ce]&&C<3&&(De("You are manually calling a React.PropTypes validation function for the `"+R+"` prop on `"+$+"`. 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."),c[ce]=!0,C++)}}return S[_]==null?w?S[_]===null?new f("The "+k+" `"+R+"` is marked as required "+("in `"+$+"`, but its value is `null`.")):new f("The "+k+" `"+R+"` is marked as required in "+("`"+$+"`, but its value is `undefined`.")):null:i(S,_,$,k,R)}var E=O.bind(null,!1);return E.isRequired=O.bind(null,!0),E}function d(i){function c(C,O,E,w,S,_){var $=C[O],k=P($);if(k!==i){var R=K($);return new f("Invalid "+w+" `"+S+"` of type "+("`"+R+"` supplied to `"+E+"`, expected ")+("`"+i+"`."),{expectedType:i})}return null}return p(c)}function m(){return p(yr)}function l(i){function c(C,O,E,w,S){if(typeof i!="function")return new f("Property `"+S+"` of component `"+E+"` has invalid PropType notation inside arrayOf.");var _=C[O];if(!Array.isArray(_)){var $=P(_);return new f("Invalid "+w+" `"+S+"` of type "+("`"+$+"` supplied to `"+E+"`, expected an array."))}for(var k=0;k<_.length;k++){var R=i(_,k,E,w,S+"["+k+"]",je);if(R instanceof Error)return R}return null}return p(c)}function T(){function i(c,C,O,E,w){var S=c[C];if(!e(S)){var _=P(S);return new f("Invalid "+E+" `"+w+"` of type "+("`"+_+"` supplied to `"+O+"`, expected a single ReactElement."))}return null}return p(i)}function v(){function i(c,C,O,E,w){var S=c[C];if(!Sn.isValidElementType(S)){var _=P(S);return new f("Invalid "+E+" `"+w+"` of type "+("`"+_+"` supplied to `"+O+"`, expected a single ReactElement type."))}return null}return p(i)}function x(i){function c(C,O,E,w,S){if(!(C[O]instanceof i)){var _=i.name||a,$=le(C[O]);return new f("Invalid "+w+" `"+S+"` of type "+("`"+$+"` supplied to `"+E+"`, expected ")+("instance of `"+_+"`."))}return null}return p(c)}function h(i){if(!Array.isArray(i))return process.env.NODE_ENV!=="production"&&(arguments.length>1?De("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])."):De("Invalid argument supplied to oneOf, expected an array.")),yr;function c(C,O,E,w,S){for(var _=C[O],$=0;$<i.length;$++)if(u(_,i[$]))return null;var k=JSON.stringify(i,function(X,q){var ce=K(q);return ce==="symbol"?String(q):q});return new f("Invalid "+w+" `"+S+"` of value `"+String(_)+"` "+("supplied to `"+E+"`, expected one of "+k+"."))}return p(c)}function I(i){function c(C,O,E,w,S){if(typeof i!="function")return new f("Property `"+S+"` of component `"+E+"` has invalid PropType notation inside objectOf.");var _=C[O],$=P(_);if($!=="object")return new f("Invalid "+w+" `"+S+"` of type "+("`"+$+"` supplied to `"+E+"`, expected an object."));for(var k in _)if(rt(_,k)){var R=i(_,k,E,w,S+"."+k,je);if(R instanceof Error)return R}return null}return p(c)}function V(i){if(!Array.isArray(i))return process.env.NODE_ENV!=="production"&&De("Invalid argument supplied to oneOfType, expected an instance of array."),yr;for(var c=0;c<i.length;c++){var C=i[c];if(typeof C!="function")return De("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+re(C)+" at index "+c+"."),yr}function O(E,w,S,_,$){for(var k=[],R=0;R<i.length;R++){var X=i[R],q=X(E,w,S,_,$,je);if(q==null)return null;q.data&&rt(q.data,"expectedType")&&k.push(q.data.expectedType)}var ce=k.length>0?", expected one of type ["+k.join(", ")+"]":"";return new f("Invalid "+_+" `"+$+"` supplied to "+("`"+S+"`"+ce+"."))}return p(O)}function L(){function i(c,C,O,E,w){return ue(c[C])?null:new f("Invalid "+E+" `"+w+"` supplied to "+("`"+O+"`, expected a ReactNode."))}return p(i)}function A(i,c,C,O,E){return new f((i||"React class")+": "+c+" type `"+C+"."+O+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+E+"`.")}function j(i){function c(C,O,E,w,S){var _=C[O],$=P(_);if($!=="object")return new f("Invalid "+w+" `"+S+"` of type `"+$+"` "+("supplied to `"+E+"`, expected `object`."));for(var k in i){var R=i[k];if(typeof R!="function")return A(E,w,S,k,K(R));var X=R(_,k,E,w,S+"."+k,je);if(X)return X}return null}return p(c)}function ee(i){function c(C,O,E,w,S){var _=C[O],$=P(_);if($!=="object")return new f("Invalid "+w+" `"+S+"` of type `"+$+"` "+("supplied to `"+E+"`, expected `object`."));var k=_n({},C[O],i);for(var R in k){var X=i[R];if(rt(i,R)&&typeof X!="function")return A(E,w,S,R,K(X));if(!X)return new f("Invalid "+w+" `"+S+"` key `"+R+"` supplied to `"+E+"`.\nBad object: "+JSON.stringify(C[O],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(i),null," "));var q=X(_,R,E,w,S+"."+R,je);if(q)return q}return null}return p(c)}function ue(i){switch(typeof i){case"number":case"string":case"undefined":return!0;case"boolean":return!i;case"object":if(Array.isArray(i))return i.every(ue);if(i===null||e(i))return!0;var c=n(i);if(c){var C=c.call(i),O;if(c!==i.entries){for(;!(O=C.next()).done;)if(!ue(O.value))return!1}else for(;!(O=C.next()).done;){var E=O.value;if(E&&!ue(E[1]))return!1}}else return!1;return!0;default:return!1}}function ge(i,c){return i==="symbol"?!0:c?c["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&c instanceof Symbol:!1}function P(i){var c=typeof i;return Array.isArray(i)?"array":i instanceof RegExp?"object":ge(c,i)?"symbol":c}function K(i){if(typeof i=="undefined"||i===null)return""+i;var c=P(i);if(c==="object"){if(i instanceof Date)return"date";if(i instanceof RegExp)return"regexp"}return c}function re(i){var c=K(i);switch(c){case"array":case"object":return"an "+c;case"boolean":case"date":case"regexp":return"a "+c;default:return c}}function le(i){return!i.constructor||!i.constructor.name?a:i.constructor.name}return s.checkPropTypes=Kt,s.resetWarningCache=Kt.resetWarningCache,s.PropTypes=s,s}});var Zt=te((js,Jt)=>{"use strict";var Pn=dr();function Ht(){}function Xt(){}Xt.resetWarningCache=Ht;Jt.exports=function(){function e(o,n,a,s,u,f){if(f!==Pn){var p=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 p.name="Invariant Violation",p}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:Xt,resetWarningCache:Ht};return t.PropTypes=t,t}});var ot=te((Ds,tt)=>{process.env.NODE_ENV!=="production"?(Qt=Zr(),eo=!0,tt.exports=qt()(Qt.isElement,eo)):tt.exports=Zt()();var Qt,eo});var to=te(B=>{"use strict";var nt=Symbol.for("react.element"),at=Symbol.for("react.portal"),gr=Symbol.for("react.fragment"),hr=Symbol.for("react.strict_mode"),br=Symbol.for("react.profiler"),vr=Symbol.for("react.provider"),Tr=Symbol.for("react.context"),On=Symbol.for("react.server_context"),Er=Symbol.for("react.forward_ref"),Sr=Symbol.for("react.suspense"),_r=Symbol.for("react.suspense_list"),Pr=Symbol.for("react.memo"),Or=Symbol.for("react.lazy"),Cn=Symbol.for("react.offscreen"),ro;ro=Symbol.for("react.module.reference");function se(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case nt:switch(e=e.type,e){case gr:case br:case hr:case Sr:case _r:return e;default:switch(e=e&&e.$$typeof,e){case On:case Tr:case Er:case Or:case Pr:case vr:return e;default:return r}}case at:return r}}}B.ContextConsumer=Tr;B.ContextProvider=vr;B.Element=nt;B.ForwardRef=Er;B.Fragment=gr;B.Lazy=Or;B.Memo=Pr;B.Portal=at;B.Profiler=br;B.StrictMode=hr;B.Suspense=Sr;B.SuspenseList=_r;B.isAsyncMode=function(){return!1};B.isConcurrentMode=function(){return!1};B.isContextConsumer=function(e){return se(e)===Tr};B.isContextProvider=function(e){return se(e)===vr};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===nt};B.isForwardRef=function(e){return se(e)===Er};B.isFragment=function(e){return se(e)===gr};B.isLazy=function(e){return se(e)===Or};B.isMemo=function(e){return se(e)===Pr};B.isPortal=function(e){return se(e)===at};B.isProfiler=function(e){return se(e)===br};B.isStrictMode=function(e){return se(e)===hr};B.isSuspense=function(e){return se(e)===Sr};B.isSuspenseList=function(e){return se(e)===_r};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===gr||e===br||e===hr||e===Sr||e===_r||e===Cn||typeof e=="object"&&e!==null&&(e.$$typeof===Or||e.$$typeof===Pr||e.$$typeof===vr||e.$$typeof===Tr||e.$$typeof===Er||e.$$typeof===ro||e.getModuleId!==void 0)};B.typeOf=se});var oo=te(U=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),v=!1,x=!1,h=!1,I=!1,V=!1,L;L=Symbol.for("react.module.reference");function A(g){return!!(typeof g=="string"||typeof g=="function"||g===t||g===n||V||g===o||g===p||g===d||I||g===T||v||x||h||typeof g=="object"&&g!==null&&(g.$$typeof===l||g.$$typeof===m||g.$$typeof===a||g.$$typeof===s||g.$$typeof===f||g.$$typeof===L||g.getModuleId!==void 0))}function j(g){if(typeof g=="object"&&g!==null){var Re=g.$$typeof;switch(Re){case e:var rr=g.type;switch(rr){case t:case n:case o:case p:case d:return rr;default:var Ot=rr&&rr.$$typeof;switch(Ot){case u:case s:case f:case l:case m:case a:return Ot;default:return Re}}case r:return Re}}}var ee=s,ue=a,ge=e,P=f,K=t,re=l,le=m,i=r,c=n,C=o,O=p,E=d,w=!1,S=!1;function _(g){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function $(g){return S||(S=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function k(g){return j(g)===s}function R(g){return j(g)===a}function X(g){return typeof g=="object"&&g!==null&&g.$$typeof===e}function q(g){return j(g)===f}function ce(g){return j(g)===t}function zr(g){return j(g)===l}function Wr(g){return j(g)===m}function Yr(g){return j(g)===r}function Vr(g){return j(g)===n}function Kr(g){return j(g)===o}function y(g){return j(g)===p}function Le(g){return j(g)===d}U.ContextConsumer=ee,U.ContextProvider=ue,U.Element=ge,U.ForwardRef=P,U.Fragment=K,U.Lazy=re,U.Memo=le,U.Portal=i,U.Profiler=c,U.StrictMode=C,U.Suspense=O,U.SuspenseList=E,U.isAsyncMode=_,U.isConcurrentMode=$,U.isContextConsumer=k,U.isContextProvider=R,U.isElement=X,U.isForwardRef=q,U.isFragment=ce,U.isLazy=zr,U.isMemo=Wr,U.isPortal=Yr,U.isProfiler=Vr,U.isStrictMode=Kr,U.isSuspense=y,U.isSuspenseList=Le,U.isValidElementType=A,U.typeOf=j}()});var no=te((Ls,st)=>{"use strict";process.env.NODE_ENV==="production"?st.exports=to():st.exports=oo()});var ds={};tn(ds,{Dropzone:()=>Ho});module.exports=on(ds);var Ur=xe(require("react")),Lr=require("@dropzone-ui/react");var nn={black:"#000",white:"#fff"},Ie=nn;var an={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"},Ee=an;var sn={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"},Se=sn;var fn={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"},_e=fn;var un={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"},Pe=un;var pn={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"},Oe=pn;var ln={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"},ke=ln;var cn={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"},Rt=cn;function b(){return b=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},b.apply(this,arguments)}function ye(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Mt(e){if(!ye(e))return e;let r={};return Object.keys(e).forEach(t=>{r[t]=Mt(e[t])}),r}function J(e,r,t={clone:!0}){let o=t.clone?b({},e):e;return ye(e)&&ye(r)&&Object.keys(r).forEach(n=>{n!=="__proto__"&&(ye(r[n])&&n in e&&ye(e[n])?o[n]=J(e[n],r[n],t):t.clone?o[n]=ye(r[n])?Mt(r[n]):r[n]:o[n]=r[n])}),o}function ae(e){let r="https://mui.com/production-error/?code="+e;for(let t=1;t<arguments.length;t+=1)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified MUI error #"+e+"; visit "+r+" for the full message."}var Cr=xe(no()),wn=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function An(e){let r=`${e}`.match(wn);return r&&r[1]||""}function so(e,r=""){return e.displayName||e.name||An(e)||r}function ao(e,r,t){let o=so(r);return e.displayName||(o!==""?`${t}(${o})`:t)}function wr(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return so(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Cr.ForwardRef:return ao(e,e.render,"ForwardRef");case Cr.Memo:return ao(e,e.type,"memo");default:return}}}function ie(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":ae(7));return e.charAt(0).toUpperCase()+e.slice(1)}function We(e,r){let t=b({},r);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))t[o]=b({},e[o],t[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){let n=e[o]||{},a=r[o];t[o]={},!a||!Object.keys(a)?t[o]=n:!n||!Object.keys(n)?t[o]=a:(t[o]=b({},a),Object.keys(n).forEach(s=>{t[o][s]=We(n[s],a[s])}))}else t[o]===void 0&&(t[o]=e[o])}),t}function Ce(e,r,t){let o={};return Object.keys(e).forEach(n=>{o[n]=e[n].reduce((a,s)=>(s&&(a.push(r(s)),t&&t[s]&&a.push(t[s])),a),[]).join(" ")}),o}var io=e=>e,$n=()=>{let e=io;return{configure(r){e=r},generate(r){return e(r)},reset(){e=io}}},Rn=$n(),it=Rn;var Mn={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function me(e,r,t="Mui"){let o=Mn[r];return o?`${t}-${o}`:`${it.generate(e)}-${r}`}function Ye(e,r,t="Mui"){let o={};return r.forEach(n=>{o[n]=me(e,n,t)}),o}function z(e,r){if(e==null)return{};var t={},o=Object.keys(e),n,a;for(a=0;a<o.length;a++)n=o[a],!(r.indexOf(n)>=0)&&(t[n]=e[n]);return t}var fo=xe(require("@emotion/styled")),ut=require("@emotion/react");function ft(e,r){let t=(0,fo.default)(e,r);return process.env.NODE_ENV!=="production"?(...o)=>{let n=typeof e=="string"?`"${e}"`:"component";return o.length===0?console.error([`MUI: Seems like you called \`styled(${n})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
3
|
-
`)):o.some(a=>a===void 0)&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),t(...o)}:t}var uo=(e,r)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))};var Ne=
|
|
1
|
+
"use strict";var qo=Object.create;var ze=Object.defineProperty,Ho=Object.defineProperties,Xo=Object.getOwnPropertyDescriptor,Jo=Object.getOwnPropertyDescriptors,Zo=Object.getOwnPropertyNames,tr=Object.getOwnPropertySymbols,Qo=Object.getPrototypeOf,Gr=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable;var or=Math.pow,Ot=(e,r,t)=>r in e?ze(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Me=(e,r)=>{for(var t in r||(r={}))Gr.call(r,t)&&Ot(e,t,r[t]);if(tr)for(var t of tr(r))Ct.call(r,t)&&Ot(e,t,r[t]);return e},Ue=(e,r)=>Ho(e,Jo(r));var wt=(e,r)=>{var t={};for(var o in e)Gr.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&tr)for(var o of tr(e))r.indexOf(o)<0&&Ct.call(e,o)&&(t[o]=e[o]);return t};var oe=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),en=(e,r)=>{for(var t in r)ze(e,t,{get:r[t],enumerable:!0})},At=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Zo(r))!Gr.call(e,n)&&n!==t&&ze(e,n,{get:()=>r[n],enumerable:!(o=Xo(r,n))||o.enumerable});return e};var ge=(e,r,t)=>(t=e!=null?qo(Qo(e)):{},At(r||!e||!e.__esModule?ze(t,"default",{value:e,enumerable:!0}):t,e)),rn=e=>At(ze({},"__esModule",{value:!0}),e);var $t=(e,r,t)=>new Promise((o,n)=>{var a=i=>{try{p(t.next(i))}catch(f){n(f)}},s=i=>{try{p(t.throw(i))}catch(f){n(f)}},p=i=>i.done?o(i.value):Promise.resolve(i.value).then(a,s);p((t=t.apply(e,r)).next())});var kt=oe(D=>{"use strict";var q=typeof Symbol=="function"&&Symbol.for,qr=q?Symbol.for("react.element"):60103,Hr=q?Symbol.for("react.portal"):60106,nr=q?Symbol.for("react.fragment"):60107,ar=q?Symbol.for("react.strict_mode"):60108,sr=q?Symbol.for("react.profiler"):60114,ir=q?Symbol.for("react.provider"):60109,fr=q?Symbol.for("react.context"):60110,Xr=q?Symbol.for("react.async_mode"):60111,ur=q?Symbol.for("react.concurrent_mode"):60111,pr=q?Symbol.for("react.forward_ref"):60112,lr=q?Symbol.for("react.suspense"):60113,ln=q?Symbol.for("react.suspense_list"):60120,mr=q?Symbol.for("react.memo"):60115,cr=q?Symbol.for("react.lazy"):60116,mn=q?Symbol.for("react.block"):60121,cn=q?Symbol.for("react.fundamental"):60117,dn=q?Symbol.for("react.responder"):60118,xn=q?Symbol.for("react.scope"):60119;function ne(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case qr:switch(e=e.type,e){case Xr:case ur:case nr:case sr:case ar:case lr:return e;default:switch(e=e&&e.$$typeof,e){case fr:case pr:case cr:case mr:case ir:return e;default:return r}}case Hr:return r}}}function It(e){return ne(e)===ur}D.AsyncMode=Xr;D.ConcurrentMode=ur;D.ContextConsumer=fr;D.ContextProvider=ir;D.Element=qr;D.ForwardRef=pr;D.Fragment=nr;D.Lazy=cr;D.Memo=mr;D.Portal=Hr;D.Profiler=sr;D.StrictMode=ar;D.Suspense=lr;D.isAsyncMode=function(e){return It(e)||ne(e)===Xr};D.isConcurrentMode=It;D.isContextConsumer=function(e){return ne(e)===fr};D.isContextProvider=function(e){return ne(e)===ir};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===qr};D.isForwardRef=function(e){return ne(e)===pr};D.isFragment=function(e){return ne(e)===nr};D.isLazy=function(e){return ne(e)===cr};D.isMemo=function(e){return ne(e)===mr};D.isPortal=function(e){return ne(e)===Hr};D.isProfiler=function(e){return ne(e)===sr};D.isStrictMode=function(e){return ne(e)===ar};D.isSuspense=function(e){return ne(e)===lr};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===nr||e===ur||e===sr||e===ar||e===lr||e===ln||typeof e=="object"&&e!==null&&(e.$$typeof===cr||e.$$typeof===mr||e.$$typeof===ir||e.$$typeof===fr||e.$$typeof===pr||e.$$typeof===cn||e.$$typeof===dn||e.$$typeof===xn||e.$$typeof===mn)};D.typeOf=ne});var jt=oe(N=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,i=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,M=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function K(y){return typeof y=="string"||typeof y=="function"||y===o||y===f||y===a||y===n||y===d||y===l||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===T||y.$$typeof===s||y.$$typeof===p||y.$$typeof===c||y.$$typeof===b||y.$$typeof===M||y.$$typeof===W||y.$$typeof===x)}function P(y){if(typeof y=="object"&&y!==null){var Fe=y.$$typeof;switch(Fe){case r:var g=y.type;switch(g){case i:case f:case o:case a:case n:case d:return g;default:var Re=g&&g.$$typeof;switch(Re){case p:case c:case v:case T:case s:return Re;default:return Fe}}case t:return Fe}}}var j=i,Q=f,te=p,xe=s,H=r,I=c,ee=o,ye=v,u=T,m=t,S=a,C=n,E=d,w=!1;function _(y){return w||(w=!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(y)||P(y)===i}function O(y){return P(y)===f}function A(y){return P(y)===p}function k(y){return P(y)===s}function $(y){return typeof y=="object"&&y!==null&&y.$$typeof===r}function X(y){return P(y)===c}function G(y){return P(y)===o}function le(y){return P(y)===v}function Ur(y){return P(y)===T}function Wr(y){return P(y)===t}function Yr(y){return P(y)===a}function Vr(y){return P(y)===n}function Kr(y){return P(y)===d}N.AsyncMode=j,N.ConcurrentMode=Q,N.ContextConsumer=te,N.ContextProvider=xe,N.Element=H,N.ForwardRef=I,N.Fragment=ee,N.Lazy=ye,N.Memo=u,N.Portal=m,N.Profiler=S,N.StrictMode=C,N.Suspense=E,N.isAsyncMode=_,N.isConcurrentMode=O,N.isContextConsumer=A,N.isContextProvider=k,N.isElement=$,N.isForwardRef=X,N.isFragment=G,N.isLazy=le,N.isMemo=Ur,N.isPortal=Wr,N.isProfiler=Yr,N.isStrictMode=Vr,N.isSuspense=Kr,N.isValidElementType=K,N.typeOf=P}()});var Zr=oe((Os,Jr)=>{"use strict";process.env.NODE_ENV==="production"?Jr.exports=kt():Jr.exports=jt()});var Bt=oe((Cs,Nt)=>{"use strict";var Dt=Object.getOwnPropertySymbols,yn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable;function hn(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function bn(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;var o=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(o.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(a){n[a]=a}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}Nt.exports=bn()?Object.assign:function(e,r){for(var t,o=hn(e),n,a=1;a<arguments.length;a++){t=Object(arguments[a]);for(var s in t)yn.call(t,s)&&(o[s]=t[s]);if(Dt){n=Dt(t);for(var p=0;p<n.length;p++)gn.call(t,n[p])&&(o[n[p]]=t[n[p]])}}return o}});var dr=oe((ws,Lt)=>{"use strict";var vn="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Lt.exports=vn});var Qr=oe((As,Ft)=>{Ft.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Vt=oe(($s,Yt)=>{"use strict";var et=function(){};process.env.NODE_ENV!=="production"&&(zt=dr(),xr={},Ut=Qr(),et=function(e){var r="Warning: "+e;typeof console!="undefined"&&console.error(r);try{throw new Error(r)}catch(t){}});var zt,xr,Ut;function Wt(e,r,t,o,n){if(process.env.NODE_ENV!=="production"){for(var a in e)if(Ut(e,a)){var s;try{if(typeof e[a]!="function"){var p=Error((o||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}s=e[a](r,a,o,t,null,zt)}catch(f){s=f}if(s&&!(s instanceof Error)&&et((o||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof 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)."),s instanceof Error&&!(s.message in xr)){xr[s.message]=!0;var i=n?n():"";et("Failed "+t+" type: "+s.message+(i!=null?i:""))}}}}Wt.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(xr={})};Yt.exports=Wt});var qt=oe((Rs,Gt)=>{"use strict";var Tn=Zr(),En=Bt(),je=dr(),rt=Qr(),Kt=Vt(),De=function(){};process.env.NODE_ENV!=="production"&&(De=function(e){var r="Warning: "+e;typeof console!="undefined"&&console.error(r);try{throw new Error(r)}catch(t){}});function yr(){return null}Gt.exports=function(e,r){var t=typeof Symbol=="function"&&Symbol.iterator,o="@@iterator";function n(u){var m=u&&(t&&u[t]||u[o]);if(typeof m=="function")return m}var a="<<anonymous>>",s={array:c("array"),bigint:c("bigint"),bool:c("boolean"),func:c("function"),number:c("number"),object:c("object"),string:c("string"),symbol:c("symbol"),any:d(),arrayOf:l,element:T(),elementType:v(),instanceOf:x,node:K(),objectOf:M,oneOf:b,oneOfType:W,shape:j,exact:Q};function p(u,m){return u===m?u!==0||1/u===1/m:u!==u&&m!==m}function i(u,m){this.message=u,this.data=m&&typeof m=="object"?m:{},this.stack=""}i.prototype=Error.prototype;function f(u){if(process.env.NODE_ENV!=="production")var m={},S=0;function C(w,_,O,A,k,$,X){if(A=A||a,$=$||O,X!==je){if(r){var G=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 G.name="Invariant Violation",G}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var le=A+":"+O;!m[le]&&S<3&&(De("You are manually calling a React.PropTypes validation function for the `"+$+"` prop on `"+A+"`. 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."),m[le]=!0,S++)}}return _[O]==null?w?_[O]===null?new i("The "+k+" `"+$+"` is marked as required "+("in `"+A+"`, but its value is `null`.")):new i("The "+k+" `"+$+"` is marked as required in "+("`"+A+"`, but its value is `undefined`.")):null:u(_,O,A,k,$)}var E=C.bind(null,!1);return E.isRequired=C.bind(null,!0),E}function c(u){function m(S,C,E,w,_,O){var A=S[C],k=H(A);if(k!==u){var $=I(A);return new i("Invalid "+w+" `"+_+"` of type "+("`"+$+"` supplied to `"+E+"`, expected ")+("`"+u+"`."),{expectedType:u})}return null}return f(m)}function d(){return f(yr)}function l(u){function m(S,C,E,w,_){if(typeof u!="function")return new i("Property `"+_+"` of component `"+E+"` has invalid PropType notation inside arrayOf.");var O=S[C];if(!Array.isArray(O)){var A=H(O);return new i("Invalid "+w+" `"+_+"` of type "+("`"+A+"` supplied to `"+E+"`, expected an array."))}for(var k=0;k<O.length;k++){var $=u(O,k,E,w,_+"["+k+"]",je);if($ instanceof Error)return $}return null}return f(m)}function T(){function u(m,S,C,E,w){var _=m[S];if(!e(_)){var O=H(_);return new i("Invalid "+E+" `"+w+"` of type "+("`"+O+"` supplied to `"+C+"`, expected a single ReactElement."))}return null}return f(u)}function v(){function u(m,S,C,E,w){var _=m[S];if(!Tn.isValidElementType(_)){var O=H(_);return new i("Invalid "+E+" `"+w+"` of type "+("`"+O+"` supplied to `"+C+"`, expected a single ReactElement type."))}return null}return f(u)}function x(u){function m(S,C,E,w,_){if(!(S[C]instanceof u)){var O=u.name||a,A=ye(S[C]);return new i("Invalid "+w+" `"+_+"` of type "+("`"+A+"` supplied to `"+E+"`, expected ")+("instance of `"+O+"`."))}return null}return f(m)}function b(u){if(!Array.isArray(u))return process.env.NODE_ENV!=="production"&&(arguments.length>1?De("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])."):De("Invalid argument supplied to oneOf, expected an array.")),yr;function m(S,C,E,w,_){for(var O=S[C],A=0;A<u.length;A++)if(p(O,u[A]))return null;var k=JSON.stringify(u,function(X,G){var le=I(G);return le==="symbol"?String(G):G});return new i("Invalid "+w+" `"+_+"` of value `"+String(O)+"` "+("supplied to `"+E+"`, expected one of "+k+"."))}return f(m)}function M(u){function m(S,C,E,w,_){if(typeof u!="function")return new i("Property `"+_+"` of component `"+E+"` has invalid PropType notation inside objectOf.");var O=S[C],A=H(O);if(A!=="object")return new i("Invalid "+w+" `"+_+"` of type "+("`"+A+"` supplied to `"+E+"`, expected an object."));for(var k in O)if(rt(O,k)){var $=u(O,k,E,w,_+"."+k,je);if($ instanceof Error)return $}return null}return f(m)}function W(u){if(!Array.isArray(u))return process.env.NODE_ENV!=="production"&&De("Invalid argument supplied to oneOfType, expected an instance of array."),yr;for(var m=0;m<u.length;m++){var S=u[m];if(typeof S!="function")return De("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ee(S)+" at index "+m+"."),yr}function C(E,w,_,O,A){for(var k=[],$=0;$<u.length;$++){var X=u[$],G=X(E,w,_,O,A,je);if(G==null)return null;G.data&&rt(G.data,"expectedType")&&k.push(G.data.expectedType)}var le=k.length>0?", expected one of type ["+k.join(", ")+"]":"";return new i("Invalid "+O+" `"+A+"` supplied to "+("`"+_+"`"+le+"."))}return f(C)}function K(){function u(m,S,C,E,w){return te(m[S])?null:new i("Invalid "+E+" `"+w+"` supplied to "+("`"+C+"`, expected a ReactNode."))}return f(u)}function P(u,m,S,C,E){return new i((u||"React class")+": "+m+" type `"+S+"."+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+E+"`.")}function j(u){function m(S,C,E,w,_){var O=S[C],A=H(O);if(A!=="object")return new i("Invalid "+w+" `"+_+"` of type `"+A+"` "+("supplied to `"+E+"`, expected `object`."));for(var k in u){var $=u[k];if(typeof $!="function")return P(E,w,_,k,I($));var X=$(O,k,E,w,_+"."+k,je);if(X)return X}return null}return f(m)}function Q(u){function m(S,C,E,w,_){var O=S[C],A=H(O);if(A!=="object")return new i("Invalid "+w+" `"+_+"` of type `"+A+"` "+("supplied to `"+E+"`, expected `object`."));var k=En({},S[C],u);for(var $ in k){var X=u[$];if(rt(u,$)&&typeof X!="function")return P(E,w,_,$,I(X));if(!X)return new i("Invalid "+w+" `"+_+"` key `"+$+"` supplied to `"+E+"`.\nBad object: "+JSON.stringify(S[C],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(u),null," "));var G=X(O,$,E,w,_+"."+$,je);if(G)return G}return null}return f(m)}function te(u){switch(typeof u){case"number":case"string":case"undefined":return!0;case"boolean":return!u;case"object":if(Array.isArray(u))return u.every(te);if(u===null||e(u))return!0;var m=n(u);if(m){var S=m.call(u),C;if(m!==u.entries){for(;!(C=S.next()).done;)if(!te(C.value))return!1}else for(;!(C=S.next()).done;){var E=C.value;if(E&&!te(E[1]))return!1}}else return!1;return!0;default:return!1}}function xe(u,m){return u==="symbol"?!0:m?m["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&m instanceof Symbol:!1}function H(u){var m=typeof u;return Array.isArray(u)?"array":u instanceof RegExp?"object":xe(m,u)?"symbol":m}function I(u){if(typeof u=="undefined"||u===null)return""+u;var m=H(u);if(m==="object"){if(u instanceof Date)return"date";if(u instanceof RegExp)return"regexp"}return m}function ee(u){var m=I(u);switch(m){case"array":case"object":return"an "+m;case"boolean":case"date":case"regexp":return"a "+m;default:return m}}function ye(u){return!u.constructor||!u.constructor.name?a:u.constructor.name}return s.checkPropTypes=Kt,s.resetWarningCache=Kt.resetWarningCache,s.PropTypes=s,s}});var Zt=oe((Ms,Jt)=>{"use strict";var Sn=dr();function Ht(){}function Xt(){}Xt.resetWarningCache=Ht;Jt.exports=function(){function e(o,n,a,s,p,i){if(i!==Sn){var f=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 f.name="Invariant Violation",f}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:Xt,resetWarningCache:Ht};return t.PropTypes=t,t}});var ot=oe((Is,tt)=>{process.env.NODE_ENV!=="production"?(Qt=Zr(),eo=!0,tt.exports=qt()(Qt.isElement,eo)):tt.exports=Zt()();var Qt,eo});var to=oe(B=>{"use strict";var nt=Symbol.for("react.element"),at=Symbol.for("react.portal"),gr=Symbol.for("react.fragment"),hr=Symbol.for("react.strict_mode"),br=Symbol.for("react.profiler"),vr=Symbol.for("react.provider"),Tr=Symbol.for("react.context"),_n=Symbol.for("react.server_context"),Er=Symbol.for("react.forward_ref"),Sr=Symbol.for("react.suspense"),_r=Symbol.for("react.suspense_list"),Pr=Symbol.for("react.memo"),Or=Symbol.for("react.lazy"),Pn=Symbol.for("react.offscreen"),ro;ro=Symbol.for("react.module.reference");function ie(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case nt:switch(e=e.type,e){case gr:case br:case hr:case Sr:case _r:return e;default:switch(e=e&&e.$$typeof,e){case _n:case Tr:case Er:case Or:case Pr:case vr:return e;default:return r}}case at:return r}}}B.ContextConsumer=Tr;B.ContextProvider=vr;B.Element=nt;B.ForwardRef=Er;B.Fragment=gr;B.Lazy=Or;B.Memo=Pr;B.Portal=at;B.Profiler=br;B.StrictMode=hr;B.Suspense=Sr;B.SuspenseList=_r;B.isAsyncMode=function(){return!1};B.isConcurrentMode=function(){return!1};B.isContextConsumer=function(e){return ie(e)===Tr};B.isContextProvider=function(e){return ie(e)===vr};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===nt};B.isForwardRef=function(e){return ie(e)===Er};B.isFragment=function(e){return ie(e)===gr};B.isLazy=function(e){return ie(e)===Or};B.isMemo=function(e){return ie(e)===Pr};B.isPortal=function(e){return ie(e)===at};B.isProfiler=function(e){return ie(e)===br};B.isStrictMode=function(e){return ie(e)===hr};B.isSuspense=function(e){return ie(e)===Sr};B.isSuspenseList=function(e){return ie(e)===_r};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===gr||e===br||e===hr||e===Sr||e===_r||e===Pn||typeof e=="object"&&e!==null&&(e.$$typeof===Or||e.$$typeof===Pr||e.$$typeof===vr||e.$$typeof===Tr||e.$$typeof===Er||e.$$typeof===ro||e.getModuleId!==void 0)};B.typeOf=ie});var oo=oe(L=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),p=Symbol.for("react.server_context"),i=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),v=!1,x=!1,b=!1,M=!1,W=!1,K;K=Symbol.for("react.module.reference");function P(g){return!!(typeof g=="string"||typeof g=="function"||g===t||g===n||W||g===o||g===f||g===c||M||g===T||v||x||b||typeof g=="object"&&g!==null&&(g.$$typeof===l||g.$$typeof===d||g.$$typeof===a||g.$$typeof===s||g.$$typeof===i||g.$$typeof===K||g.getModuleId!==void 0))}function j(g){if(typeof g=="object"&&g!==null){var Re=g.$$typeof;switch(Re){case e:var rr=g.type;switch(rr){case t:case n:case o:case f:case c:return rr;default:var Pt=rr&&rr.$$typeof;switch(Pt){case p:case s:case i:case l:case d:case a:return Pt;default:return Re}}case r:return Re}}}var Q=s,te=a,xe=e,H=i,I=t,ee=l,ye=d,u=r,m=n,S=o,C=f,E=c,w=!1,_=!1;function O(g){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function A(g){return _||(_=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function k(g){return j(g)===s}function $(g){return j(g)===a}function X(g){return typeof g=="object"&&g!==null&&g.$$typeof===e}function G(g){return j(g)===i}function le(g){return j(g)===t}function Ur(g){return j(g)===l}function Wr(g){return j(g)===d}function Yr(g){return j(g)===r}function Vr(g){return j(g)===n}function Kr(g){return j(g)===o}function y(g){return j(g)===f}function Fe(g){return j(g)===c}L.ContextConsumer=Q,L.ContextProvider=te,L.Element=xe,L.ForwardRef=H,L.Fragment=I,L.Lazy=ee,L.Memo=ye,L.Portal=u,L.Profiler=m,L.StrictMode=S,L.Suspense=C,L.SuspenseList=E,L.isAsyncMode=O,L.isConcurrentMode=A,L.isContextConsumer=k,L.isContextProvider=$,L.isElement=X,L.isForwardRef=G,L.isFragment=le,L.isLazy=Ur,L.isMemo=Wr,L.isPortal=Yr,L.isProfiler=Vr,L.isStrictMode=Kr,L.isSuspense=y,L.isSuspenseList=Fe,L.isValidElementType=P,L.typeOf=j}()});var no=oe((Ns,st)=>{"use strict";process.env.NODE_ENV==="production"?st.exports=to():st.exports=oo()});var ls={};en(ls,{Dropzone:()=>Go});module.exports=rn(ls);var Lr=ge(require("react")),Fr=require("@dropzone-ui/react");var tn={black:"#000",white:"#fff"},Ie=tn;var on={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"},Ee=on;var nn={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"},Se=nn;var an={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"},_e=an;var sn={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"},Pe=sn;var fn={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"},Oe=fn;var un={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"},ke=un;var pn={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"},Rt=pn;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},h.apply(this,arguments)}function de(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Mt(e){if(!de(e))return e;let r={};return Object.keys(e).forEach(t=>{r[t]=Mt(e[t])}),r}function J(e,r,t={clone:!0}){let o=t.clone?h({},e):e;return de(e)&&de(r)&&Object.keys(r).forEach(n=>{n!=="__proto__"&&(de(r[n])&&n in e&&de(e[n])?o[n]=J(e[n],r[n],t):t.clone?o[n]=de(r[n])?Mt(r[n]):r[n]:o[n]=r[n])}),o}function se(e){let r="https://mui.com/production-error/?code="+e;for(let t=1;t<arguments.length;t+=1)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified MUI error #"+e+"; visit "+r+" for the full message."}var Cr=ge(no()),On=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Cn(e){let r=`${e}`.match(On);return r&&r[1]||""}function so(e,r=""){return e.displayName||e.name||Cn(e)||r}function ao(e,r,t){let o=so(r);return e.displayName||(o!==""?`${t}(${o})`:t)}function wr(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return so(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Cr.ForwardRef:return ao(e,e.render,"ForwardRef");case Cr.Memo:return ao(e,e.type,"memo");default:return}}}function fe(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":se(7));return e.charAt(0).toUpperCase()+e.slice(1)}function We(e,r){let t=h({},r);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))t[o]=h({},e[o],t[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){let n=e[o]||{},a=r[o];t[o]={},!a||!Object.keys(a)?t[o]=n:!n||!Object.keys(n)?t[o]=a:(t[o]=h({},a),Object.keys(n).forEach(s=>{t[o][s]=We(n[s],a[s])}))}else t[o]===void 0&&(t[o]=e[o])}),t}function Ce(e,r,t=void 0){let o={};return Object.keys(e).forEach(n=>{o[n]=e[n].reduce((a,s)=>{if(s){let p=r(s);p!==""&&a.push(p),t&&t[s]&&a.push(t[s])}return a},[]).join(" ")}),o}var io=e=>e,wn=()=>{let e=io;return{configure(r){e=r},generate(r){return e(r)},reset(){e=io}}},An=wn(),it=An;var $n={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function me(e,r,t="Mui"){let o=$n[r];return o?`${t}-${o}`:`${it.generate(e)}-${r}`}function Ye(e,r,t="Mui"){let o={};return r.forEach(n=>{o[n]=me(e,n,t)}),o}var Ar="$$material";function Y(e,r){if(e==null)return{};var t={},o=Object.keys(e),n,a;for(a=0;a<o.length;a++)n=o[a],!(r.indexOf(n)>=0)&&(t[n]=e[n]);return t}var fo=ge(require("@emotion/styled")),Ve=require("@emotion/react");function ft(e,r){let t=(0,fo.default)(e,r);return process.env.NODE_ENV!=="production"?(...o)=>{let n=typeof e=="string"?`"${e}"`:"component";return o.length===0?console.error([`MUI: Seems like you called \`styled(${n})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
3
|
+
`)):o.some(a=>a===void 0)&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),t(...o)}:t}var uo=(e,r)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))};var Rn=["values","unit","step"];var Mn=e=>{let r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,o)=>t.val-o.val),r.reduce((t,o)=>h({},t,{[o.key]:o.val}),{})};function ut(e){let{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:o=5}=e,n=Y(e,Rn),a=Mn(r),s=Object.keys(a);function p(l){return`@media (min-width:${typeof r[l]=="number"?r[l]:l}${t})`}function i(l){return`@media (max-width:${(typeof r[l]=="number"?r[l]:l)-o/100}${t})`}function f(l,T){let v=s.indexOf(T);return`@media (min-width:${typeof r[l]=="number"?r[l]:l}${t}) and (max-width:${(v!==-1&&typeof r[s[v]]=="number"?r[s[v]]:T)-o/100}${t})`}function c(l){return s.indexOf(l)+1<s.length?f(l,s[s.indexOf(l)+1]):p(l)}function d(l){let T=s.indexOf(l);return T===0?p(s[1]):T===s.length-1?i(s[T]):f(l,s[s.indexOf(l)+1]).replace("@media","@media not all and")}return h({keys:s,values:a,up:p,down:i,between:f,only:c,not:d,unit:t},n)}var In={borderRadius:4},po=In;var Ne=ge(ot()),kn=process.env.NODE_ENV!=="production"?Ne.default.oneOfType([Ne.default.number,Ne.default.string,Ne.default.object,Ne.default.array]):{},ue=kn;function jn(e,r){return r?J(e,r,{clone:!1}):e}var he=jn;var $r={xs:0,sm:600,md:900,lg:1200,xl:1536},lo={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${$r[e]}px)`};function Z(e,r,t){let o=e.theme||{};if(Array.isArray(r)){let a=o.breakpoints||lo;return r.reduce((s,p,i)=>(s[a.up(a.keys[i])]=t(r[i]),s),{})}if(typeof r=="object"){let a=o.breakpoints||lo;return Object.keys(r).reduce((s,p)=>{if(Object.keys(a.values||$r).indexOf(p)!==-1){let i=a.up(p);s[i]=t(r[p],p)}else{let i=p;s[i]=r[i]}return s},{})}return t(r)}function mo(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((o,n)=>{let a=e.up(n);return o[a]={},o},{}))||{}}function co(e,r){return e.reduce((t,o)=>{let n=t[o];return(!n||Object.keys(n).length===0)&&delete t[o],t},r)}function Be(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){let o=`vars.${r}`.split(".").reduce((n,a)=>n&&n[a]?n[a]:null,e);if(o!=null)return o}return r.split(".").reduce((o,n)=>o&&o[n]!=null?o[n]:null,e)}function Ke(e,r,t,o=t){let n;return typeof e=="function"?n=e(t):Array.isArray(e)?n=e[t]||o:n=Be(e,t)||o,r&&(n=r(n,o,e)),n}function Dn(e){let{prop:r,cssProperty:t=e.prop,themeKey:o,transform:n}=e,a=s=>{if(s[r]==null)return null;let p=s[r],i=s.theme,f=Be(i,o)||{};return Z(s,p,d=>{let l=Ke(f,n,d);return d===l&&typeof d=="string"&&(l=Ke(f,n,`${r}${d==="default"?"":fe(d)}`,d)),t===!1?l:{[t]:l}})};return a.propTypes=process.env.NODE_ENV!=="production"?{[r]:ue}:{},a.filterProps=[r],a}var R=Dn;function pt(e){let r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}var Nn={m:"margin",p:"padding"},Bn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},xo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ln=pt(e=>{if(e.length>2)if(xo[e])e=xo[e];else return[e];let[r,t]=e.split(""),o=Nn[r],n=Bn[t]||"";return Array.isArray(n)?n.map(a=>o+a):[o+n]}),Rr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Mr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],lt=[...Rr,...Mr];function we(e,r,t,o){var n;let a=(n=Be(e,r,!1))!=null?n:t;return typeof a=="number"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${o} argument to be a number or a string, got ${s}.`),a*s):Array.isArray(a)?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>a.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${s} > ${a.length-1}, you need to add the missing values.`].join(`
|
|
4
4
|
`)):console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
|
|
5
5
|
`))),a[s]):typeof a=="function"?a:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
6
|
-
`)),()=>{})}function ct(e){return we(e,"spacing",8,"spacing")}function Ae(e,r){if(typeof r=="string"||r==null)return r;let t=Math.abs(r),o=e(t);return r>=0?o:typeof o=="number"?-o:`-${o}`}function Ln(e,r){return t=>e.reduce((o,n)=>(o[n]=Ae(r,t),o),{})}function Fn(e,r,t,o){if(r.indexOf(t)===-1)return null;let n=Un(t),a=Ln(n,o),s=e[t];return Z(e,s,a)}function mt(e,r){let t=ct(e.theme);return Object.keys(e).map(o=>Fn(e,r,o,t)).reduce(he,{})}function W(e){return mt(e,$r)}W.propTypes=process.env.NODE_ENV!=="production"?$r.reduce((e,r)=>(e[r]=fe,e),{}):{};W.filterProps=$r;function Y(e){return mt(e,Rr)}Y.propTypes=process.env.NODE_ENV!=="production"?Rr.reduce((e,r)=>(e[r]=fe,e),{}):{};Y.filterProps=Rr;function xo(e){return mt(e,lt)}xo.propTypes=process.env.NODE_ENV!=="production"?lt.reduce((e,r)=>(e[r]=fe,e),{}):{};xo.filterProps=lt;function pe(e){return typeof e!="number"?e:`${e}px solid`}var zn=M({prop:"border",themeKey:"borders",transform:pe}),Wn=M({prop:"borderTop",themeKey:"borders",transform:pe}),Yn=M({prop:"borderRight",themeKey:"borders",transform:pe}),Vn=M({prop:"borderBottom",themeKey:"borders",transform:pe}),Kn=M({prop:"borderLeft",themeKey:"borders",transform:pe}),Gn=M({prop:"borderColor",themeKey:"palette"}),qn=M({prop:"borderTopColor",themeKey:"palette"}),Hn=M({prop:"borderRightColor",themeKey:"palette"}),Xn=M({prop:"borderBottomColor",themeKey:"palette"}),Jn=M({prop:"borderLeftColor",themeKey:"palette"}),Ke=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let r=we(e.theme,"shape.borderRadius",4,"borderRadius"),t=o=>({borderRadius:Ae(r,o)});return Z(e,e.borderRadius,t)}return null};Ke.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:fe}:{};Ke.filterProps=["borderRadius"];var Wi=be(zn,Wn,Yn,Vn,Kn,Gn,qn,Hn,Xn,Jn,Ke);var Ge=e=>{if(e.gap!==void 0&&e.gap!==null){let r=we(e.theme,"spacing",8,"gap"),t=o=>({gap:Ae(r,o)});return Z(e,e.gap,t)}return null};Ge.propTypes=process.env.NODE_ENV!=="production"?{gap:fe}:{};Ge.filterProps=["gap"];var qe=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let r=we(e.theme,"spacing",8,"columnGap"),t=o=>({columnGap:Ae(r,o)});return Z(e,e.columnGap,t)}return null};qe.propTypes=process.env.NODE_ENV!=="production"?{columnGap:fe}:{};qe.filterProps=["columnGap"];var He=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let r=we(e.theme,"spacing",8,"rowGap"),t=o=>({rowGap:Ae(r,o)});return Z(e,e.rowGap,t)}return null};He.propTypes=process.env.NODE_ENV!=="production"?{rowGap:fe}:{};He.filterProps=["rowGap"];var Zn=M({prop:"gridColumn"}),Qn=M({prop:"gridRow"}),ea=M({prop:"gridAutoFlow"}),ra=M({prop:"gridAutoColumns"}),ta=M({prop:"gridAutoRows"}),oa=M({prop:"gridTemplateColumns"}),na=M({prop:"gridTemplateRows"}),aa=M({prop:"gridTemplateAreas"}),sa=M({prop:"gridArea"}),Xi=be(Ge,qe,He,Zn,Qn,ea,ra,ta,oa,na,aa,sa);function $e(e,r){return r==="grey"?r:e}var ia=M({prop:"color",themeKey:"palette",transform:$e}),fa=M({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$e}),ua=M({prop:"backgroundColor",themeKey:"palette",transform:$e}),ef=be(ia,fa,ua);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}var pa=M({prop:"width",transform:Q}),Mr=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let r=t=>{var o,n,a;return{maxWidth:((o=e.theme)==null||(n=o.breakpoints)==null||(a=n.values)==null?void 0:a[t])||Ar[t]||Q(t)}};return Z(e,e.maxWidth,r)}return null};Mr.filterProps=["maxWidth"];var la=M({prop:"minWidth",transform:Q}),ca=M({prop:"height",transform:Q}),ma=M({prop:"maxHeight",transform:Q}),da=M({prop:"minHeight",transform:Q}),af=M({prop:"size",cssProperty:"width",transform:Q}),sf=M({prop:"size",cssProperty:"height",transform:Q}),xa=M({prop:"boxSizing"}),ff=be(pa,Mr,la,ca,ma,da,xa);var ya={border:{themeKey:"borders",transform:pe},borderTop:{themeKey:"borders",transform:pe},borderRight:{themeKey:"borders",transform:pe},borderBottom:{themeKey:"borders",transform:pe},borderLeft:{themeKey:"borders",transform:pe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ke},color:{themeKey:"palette",transform:$e},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$e},backgroundColor:{themeKey:"palette",transform:$e},p:{style:Y},pt:{style:Y},pr:{style:Y},pb:{style:Y},pl:{style:Y},px:{style:Y},py:{style:Y},padding:{style:Y},paddingTop:{style:Y},paddingRight:{style:Y},paddingBottom:{style:Y},paddingLeft:{style:Y},paddingX:{style:Y},paddingY:{style:Y},paddingInline:{style:Y},paddingInlineStart:{style:Y},paddingInlineEnd:{style:Y},paddingBlock:{style:Y},paddingBlockStart:{style:Y},paddingBlockEnd:{style:Y},m:{style:W},mt:{style:W},mr:{style:W},mb:{style:W},ml:{style:W},mx:{style:W},my:{style:W},margin:{style:W},marginTop:{style:W},marginRight:{style:W},marginBottom:{style:W},marginLeft:{style:W},marginX:{style:W},marginY:{style:W},marginInline:{style:W},marginInlineStart:{style:W},marginInlineEnd:{style:W},marginBlock:{style:W},marginBlockStart:{style:W},marginBlockEnd:{style:W},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:Ge},rowGap:{style:He},columnGap:{style:qe},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Q},maxWidth:{style:Mr},minWidth:{transform:Q},height:{transform:Q},maxHeight:{transform:Q},minHeight:{transform:Q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},de=ya;function ga(...e){let r=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),t=new Set(r);return e.every(o=>t.size===Object.keys(o).length)}function ha(e,r){return typeof e=="function"?e(r):e}function yo(){function e(t,o,n,a){let s={[t]:o,theme:n},u=a[t];if(!u)return{[t]:o};let{cssProperty:f=t,themeKey:p,transform:d,style:m}=u;if(o==null)return null;let l=Be(n,p)||{};return m?m(s):Z(s,o,v=>{let x=Ve(l,d,v);return v===x&&typeof v=="string"&&(x=Ve(l,d,`${t}${v==="default"?"":ie(v)}`,v)),f===!1?x:{[f]:x}})}function r(t){var o;let{sx:n,theme:a={}}=t||{};if(!n)return null;let s=(o=a.unstable_sxConfig)!=null?o:de;function u(f){let p=f;if(typeof f=="function")p=f(a);else if(typeof f!="object")return f;if(!p)return null;let d=lo(a.breakpoints),m=Object.keys(d),l=d;return Object.keys(p).forEach(T=>{let v=ha(p[T],a);if(v!=null)if(typeof v=="object")if(s[T])l=he(l,e(T,v,a,s));else{let x=Z({theme:a},v,h=>({[T]:h}));ga(x,v)?l[T]=r({sx:v,theme:a}):l=he(l,x)}else l=he(l,e(T,v,a,s))}),co(m,l)}return Array.isArray(n)?n.map(u):u(n)}return r}var go=yo();go.filterProps=["sx"];var ve=go;var ba=["sx"],va=e=>{var r,t;let o={systemProps:{},otherProps:{}},n=(r=e==null||(t=e.theme)==null?void 0:t.unstable_sxConfig)!=null?r:de;return Object.keys(e).forEach(a=>{n[a]?o.systemProps[a]=e[a]:o.otherProps[a]=e[a]}),o};function Xe(e){let{sx:r}=e,t=z(e,ba),{systemProps:o,otherProps:n}=va(t),a;return Array.isArray(r)?a=[o,...r]:typeof r=="function"?a=(...s)=>{let u=r(...s);return ye(u)?b({},o,u):o}:a=b({},o,r),b({},n,{sx:a})}function ho(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=ho(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Ta(){for(var e,r,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(r=ho(e))&&(o&&(o+=" "),o+=r);return o}var bo=Ta;var Ea=["values","unit","step"];var Sa=e=>{let r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,o)=>t.val-o.val),r.reduce((t,o)=>b({},t,{[o.key]:o.val}),{})};function dt(e){let{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:o=5}=e,n=z(e,Ea),a=Sa(r),s=Object.keys(a);function u(l){return`@media (min-width:${typeof r[l]=="number"?r[l]:l}${t})`}function f(l){return`@media (max-width:${(typeof r[l]=="number"?r[l]:l)-o/100}${t})`}function p(l,T){let v=s.indexOf(T);return`@media (min-width:${typeof r[l]=="number"?r[l]:l}${t}) and (max-width:${(v!==-1&&typeof r[s[v]]=="number"?r[s[v]]:T)-o/100}${t})`}function d(l){return s.indexOf(l)+1<s.length?p(l,s[s.indexOf(l)+1]):u(l)}function m(l){let T=s.indexOf(l);return T===0?u(s[1]):T===s.length-1?f(s[T]):p(l,s[s.indexOf(l)+1]).replace("@media","@media not all and")}return b({keys:s,values:a,up:u,down:f,between:p,only:d,not:m,unit:t},n)}var _a={borderRadius:4},vo=_a;function xt(e=8){if(e.mui)return e;let r=ct({spacing:e}),t=(...o)=>(process.env.NODE_ENV!=="production"&&(o.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${o.length}`)),(o.length===0?[1]:o).map(a=>{let s=r(a);return typeof s=="number"?`${s}px`:s}).join(" "));return t.mui=!0,t}var Pa=["breakpoints","palette","spacing","shape"];function Oa(e={},...r){let{breakpoints:t={},palette:o={},spacing:n,shape:a={}}=e,s=z(e,Pa),u=dt(t),f=xt(n),p=J({breakpoints:u,direction:"ltr",components:{},palette:b({mode:"light"},o),spacing:f,shape:b({},vo,a)},s);return p=r.reduce((d,m)=>J(d,m),p),p.unstable_sxConfig=b({},de,s==null?void 0:s.unstable_sxConfig),p.unstable_sx=function(m){return ve({sx:m,theme:this})},p}var Te=Oa;var To=xe(require("react")),Eo=To.createContext(null);process.env.NODE_ENV!=="production"&&(Eo.displayName="ThemeContext");var So=Eo;var Ir=xe(require("react"));function Je(){let e=Ir.useContext(So);return process.env.NODE_ENV!=="production"&&Ir.useDebugValue(e),e}function Ca(e){return Object.keys(e).length===0}function wa(e=null){let r=Je();return!r||Ca(r)?e:r}var _o=wa;var Aa=Te();function $a(e=Aa){return _o(e)}var Po=$a;var Ra=["variant"];function Oo(e){return e.length===0}function kr(e){let{variant:r}=e,t=z(e,Ra),o=r||"";return Object.keys(t).sort().forEach(n=>{n==="color"?o+=Oo(o)?e[n]:ie(e[n]):o+=`${Oo(o)?n:ie(n)}${ie(e[n].toString())}`}),o}var Ma=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],Ia=["theme"],ka=["theme"];function Ze(e){return Object.keys(e).length===0}function ja(e){return typeof e=="string"&&e.charCodeAt(0)>96}var Da=(e,r)=>r.components&&r.components[e]&&r.components[e].styleOverrides?r.components[e].styleOverrides:null,Na=(e,r)=>{let t=[];r&&r.components&&r.components[e]&&r.components[e].variants&&(t=r.components[e].variants);let o={};return t.forEach(n=>{let a=kr(n.props);o[a]=n.style}),o},Ba=(e,r,t,o)=>{var n,a;let{ownerState:s={}}=e,u=[],f=t==null||(n=t.components)==null||(a=n[o])==null?void 0:a.variants;return f&&f.forEach(p=>{let d=!0;Object.keys(p.props).forEach(m=>{s[m]!==p.props[m]&&e[m]!==p.props[m]&&(d=!1)}),d&&u.push(r[kr(p.props)])}),u};function Qe(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Ua=Te(),La=e=>e.charAt(0).toLowerCase()+e.slice(1);function jr(e={}){let{defaultTheme:r=Ua,rootShouldForwardProp:t=Qe,slotShouldForwardProp:o=Qe}=e,n=a=>{let s=Ze(a.theme)?r:a.theme;return ve(b({},a,{theme:s}))};return n.__mui_systemSx=!0,(a,s={})=>{uo(a,L=>L.filter(A=>!(A!=null&&A.__mui_systemSx)));let{name:u,slot:f,skipVariantsResolver:p,skipSx:d,overridesResolver:m}=s,l=z(s,Ma),T=p!==void 0?p:f&&f!=="Root"||!1,v=d||!1,x;process.env.NODE_ENV!=="production"&&u&&(x=`${u}-${La(f||"Root")}`);let h=Qe;f==="Root"?h=t:f?h=o:ja(a)&&(h=void 0);let I=ft(a,b({shouldForwardProp:h,label:x},l)),V=(L,...A)=>{let j=A?A.map(P=>typeof P=="function"&&P.__emotion_real!==P?K=>{let{theme:re}=K,le=z(K,Ia);return P(b({theme:Ze(re)?r:re},le))}:P):[],ee=L;u&&m&&j.push(P=>{let K=Ze(P.theme)?r:P.theme,re=Da(u,K);if(re){let le={};return Object.entries(re).forEach(([i,c])=>{le[i]=typeof c=="function"?c(b({},P,{theme:K})):c}),m(P,le)}return null}),u&&!T&&j.push(P=>{let K=Ze(P.theme)?r:P.theme;return Ba(P,Na(u,K),K,u)}),v||j.push(n);let ue=j.length-A.length;if(Array.isArray(L)&&ue>0){let P=new Array(ue).fill("");ee=[...L,...P],ee.raw=[...L.raw,...P]}else typeof L=="function"&&L.__emotion_real!==L&&(ee=P=>{let{theme:K}=P,re=z(P,ka);return L(b({theme:Ze(K)?r:K},re))});let ge=I(ee,...j);if(process.env.NODE_ENV!=="production"){let P;u&&(P=`${u}${f||""}`),P===void 0&&(P=`Styled(${wr(a)})`),ge.displayName=P}return ge};return I.withConfig&&(V.withConfig=I.withConfig),V}}function Dr(e){let{theme:r,name:t,props:o}=e;return!r||!r.components||!r.components[t]||!r.components[t].defaultProps?o:We(r.components[t].defaultProps,o)}function er({props:e,name:r,defaultTheme:t}){let o=Po(t);return Dr({theme:o,name:r,props:e})}function wo(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),Math.min(Math.max(r,e),t)}function Fa(e){e=e.slice(1);let r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),t=e.match(r);return t&&t[0].length===1&&(t=t.map(o=>o+o)),t?`rgb${t.length===4?"a":""}(${t.map((o,n)=>n<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Ue(e){if(e.type)return e;if(e.charAt(0)==="#")return Ue(Fa(e));let r=e.indexOf("("),t=e.substring(0,r);if(["rgb","rgba","hsl","hsla","color"].indexOf(t)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
7
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:
|
|
8
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:
|
|
9
|
-
`))}return
|
|
10
|
-
The color object needs to have a \`main\` property or a \`${
|
|
6
|
+
`)),()=>{})}function mt(e){return we(e,"spacing",8,"spacing")}function Ae(e,r){if(typeof r=="string"||r==null)return r;let t=Math.abs(r),o=e(t);return r>=0?o:typeof o=="number"?-o:`-${o}`}function Fn(e,r){return t=>e.reduce((o,n)=>(o[n]=Ae(r,t),o),{})}function zn(e,r,t,o){if(r.indexOf(t)===-1)return null;let n=Ln(t),a=Fn(n,o),s=e[t];return Z(e,s,a)}function ct(e,r){let t=mt(e.theme);return Object.keys(e).map(o=>zn(e,r,o,t)).reduce(he,{})}function z(e){return ct(e,Rr)}z.propTypes=process.env.NODE_ENV!=="production"?Rr.reduce((e,r)=>(e[r]=ue,e),{}):{};z.filterProps=Rr;function U(e){return ct(e,Mr)}U.propTypes=process.env.NODE_ENV!=="production"?Mr.reduce((e,r)=>(e[r]=ue,e),{}):{};U.filterProps=Mr;function yo(e){return ct(e,lt)}yo.propTypes=process.env.NODE_ENV!=="production"?lt.reduce((e,r)=>(e[r]=ue,e),{}):{};yo.filterProps=lt;function dt(e=8){if(e.mui)return e;let r=mt({spacing:e}),t=(...o)=>(process.env.NODE_ENV!=="production"&&(o.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${o.length}`)),(o.length===0?[1]:o).map(a=>{let s=r(a);return typeof s=="number"?`${s}px`:s}).join(" "));return t.mui=!0,t}function Un(...e){let r=e.reduce((o,n)=>(n.filterProps.forEach(a=>{o[a]=n}),o),{}),t=o=>Object.keys(o).reduce((n,a)=>r[a]?he(n,r[a](o)):n,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((o,n)=>Object.assign(o,n.propTypes),{}):{},t.filterProps=e.reduce((o,n)=>o.concat(n.filterProps),[]),t}var be=Un;function pe(e){return typeof e!="number"?e:`${e}px solid`}var Wn=R({prop:"border",themeKey:"borders",transform:pe}),Yn=R({prop:"borderTop",themeKey:"borders",transform:pe}),Vn=R({prop:"borderRight",themeKey:"borders",transform:pe}),Kn=R({prop:"borderBottom",themeKey:"borders",transform:pe}),Gn=R({prop:"borderLeft",themeKey:"borders",transform:pe}),qn=R({prop:"borderColor",themeKey:"palette"}),Hn=R({prop:"borderTopColor",themeKey:"palette"}),Xn=R({prop:"borderRightColor",themeKey:"palette"}),Jn=R({prop:"borderBottomColor",themeKey:"palette"}),Zn=R({prop:"borderLeftColor",themeKey:"palette"}),Ge=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let r=we(e.theme,"shape.borderRadius",4,"borderRadius"),t=o=>({borderRadius:Ae(r,o)});return Z(e,e.borderRadius,t)}return null};Ge.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ue}:{};Ge.filterProps=["borderRadius"];var Gi=be(Wn,Yn,Vn,Kn,Gn,qn,Hn,Xn,Jn,Zn,Ge);var qe=e=>{if(e.gap!==void 0&&e.gap!==null){let r=we(e.theme,"spacing",8,"gap"),t=o=>({gap:Ae(r,o)});return Z(e,e.gap,t)}return null};qe.propTypes=process.env.NODE_ENV!=="production"?{gap:ue}:{};qe.filterProps=["gap"];var He=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let r=we(e.theme,"spacing",8,"columnGap"),t=o=>({columnGap:Ae(r,o)});return Z(e,e.columnGap,t)}return null};He.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ue}:{};He.filterProps=["columnGap"];var Xe=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let r=we(e.theme,"spacing",8,"rowGap"),t=o=>({rowGap:Ae(r,o)});return Z(e,e.rowGap,t)}return null};Xe.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ue}:{};Xe.filterProps=["rowGap"];var Qn=R({prop:"gridColumn"}),ea=R({prop:"gridRow"}),ra=R({prop:"gridAutoFlow"}),ta=R({prop:"gridAutoColumns"}),oa=R({prop:"gridAutoRows"}),na=R({prop:"gridTemplateColumns"}),aa=R({prop:"gridTemplateRows"}),sa=R({prop:"gridTemplateAreas"}),ia=R({prop:"gridArea"}),ef=be(qe,He,Xe,Qn,ea,ra,ta,oa,na,aa,sa,ia);function $e(e,r){return r==="grey"?r:e}var fa=R({prop:"color",themeKey:"palette",transform:$e}),ua=R({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:$e}),pa=R({prop:"backgroundColor",themeKey:"palette",transform:$e}),nf=be(fa,ua,pa);function re(e){return e<=1&&e!==0?`${e*100}%`:e}var la=R({prop:"width",transform:re}),Ir=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let r=t=>{var o,n,a;return{maxWidth:((o=e.theme)==null||(n=o.breakpoints)==null||(a=n.values)==null?void 0:a[t])||$r[t]||re(t)}};return Z(e,e.maxWidth,r)}return null};Ir.filterProps=["maxWidth"];var ma=R({prop:"minWidth",transform:re}),ca=R({prop:"height",transform:re}),da=R({prop:"maxHeight",transform:re}),xa=R({prop:"minHeight",transform:re}),pf=R({prop:"size",cssProperty:"width",transform:re}),lf=R({prop:"size",cssProperty:"height",transform:re}),ya=R({prop:"boxSizing"}),mf=be(la,Ir,ma,ca,da,xa,ya);var ga={border:{themeKey:"borders",transform:pe},borderTop:{themeKey:"borders",transform:pe},borderRight:{themeKey:"borders",transform:pe},borderBottom:{themeKey:"borders",transform:pe},borderLeft:{themeKey:"borders",transform:pe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ge},color:{themeKey:"palette",transform:$e},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:$e},backgroundColor:{themeKey:"palette",transform:$e},p:{style:U},pt:{style:U},pr:{style:U},pb:{style:U},pl:{style:U},px:{style:U},py:{style:U},padding:{style:U},paddingTop:{style:U},paddingRight:{style:U},paddingBottom:{style:U},paddingLeft:{style:U},paddingX:{style:U},paddingY:{style:U},paddingInline:{style:U},paddingInlineStart:{style:U},paddingInlineEnd:{style:U},paddingBlock:{style:U},paddingBlockStart:{style:U},paddingBlockEnd:{style:U},m:{style:z},mt:{style:z},mr:{style:z},mb:{style:z},ml:{style:z},mx:{style:z},my:{style:z},margin:{style:z},marginTop:{style:z},marginRight:{style:z},marginBottom:{style:z},marginLeft:{style:z},marginX:{style:z},marginY:{style:z},marginInline:{style:z},marginInlineStart:{style:z},marginInlineEnd:{style:z},marginBlock:{style:z},marginBlockStart:{style:z},marginBlockEnd:{style:z},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:qe},rowGap:{style:Xe},columnGap:{style:He},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:re},maxWidth:{style:Ir},minWidth:{transform:re},height:{transform:re},maxHeight:{transform:re},minHeight:{transform:re},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},ce=ga;function ha(...e){let r=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),t=new Set(r);return e.every(o=>t.size===Object.keys(o).length)}function ba(e,r){return typeof e=="function"?e(r):e}function go(){function e(t,o,n,a){let s={[t]:o,theme:n},p=a[t];if(!p)return{[t]:o};let{cssProperty:i=t,themeKey:f,transform:c,style:d}=p;if(o==null)return null;if(f==="typography"&&o==="inherit")return{[t]:o};let l=Be(n,f)||{};return d?d(s):Z(s,o,v=>{let x=Ke(l,c,v);return v===x&&typeof v=="string"&&(x=Ke(l,c,`${t}${v==="default"?"":fe(v)}`,v)),i===!1?x:{[i]:x}})}function r(t){var o;let{sx:n,theme:a={}}=t||{};if(!n)return null;let s=(o=a.unstable_sxConfig)!=null?o:ce;function p(i){let f=i;if(typeof i=="function")f=i(a);else if(typeof i!="object")return i;if(!f)return null;let c=mo(a.breakpoints),d=Object.keys(c),l=c;return Object.keys(f).forEach(T=>{let v=ba(f[T],a);if(v!=null)if(typeof v=="object")if(s[T])l=he(l,e(T,v,a,s));else{let x=Z({theme:a},v,b=>({[T]:b}));ha(x,v)?l[T]=r({sx:v,theme:a}):l=he(l,x)}else l=he(l,e(T,v,a,s))}),co(d,l)}return Array.isArray(n)?n.map(p):p(n)}return r}var ho=go();ho.filterProps=["sx"];var ve=ho;var va=["breakpoints","palette","spacing","shape"];function Ta(e={},...r){let{breakpoints:t={},palette:o={},spacing:n,shape:a={}}=e,s=Y(e,va),p=ut(t),i=dt(n),f=J({breakpoints:p,direction:"ltr",components:{},palette:h({mode:"light"},o),spacing:i,shape:h({},po,a)},s);return f=r.reduce((c,d)=>J(c,d),f),f.unstable_sxConfig=h({},ce,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(d){return ve({sx:d,theme:this})},f}var Te=Ta;var bo=ge(require("react"));function Ea(e){return Object.keys(e).length===0}function Sa(e=null){let r=bo.useContext(Ve.ThemeContext);return!r||Ea(r)?e:r}var vo=Sa;var _a=Te();function Pa(e=_a){return vo(e)}var To=Pa;var Oa=["sx"],Ca=e=>{var r,t;let o={systemProps:{},otherProps:{}},n=(r=e==null||(t=e.theme)==null?void 0:t.unstable_sxConfig)!=null?r:ce;return Object.keys(e).forEach(a=>{n[a]?o.systemProps[a]=e[a]:o.otherProps[a]=e[a]}),o};function Je(e){let{sx:r}=e,t=Y(e,Oa),{systemProps:o,otherProps:n}=Ca(t),a;return Array.isArray(r)?a=[o,...r]:typeof r=="function"?a=(...s)=>{let p=r(...s);return de(p)?h({},o,p):o}:a=h({},o,r),h({},n,{sx:a})}function Eo(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=Eo(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function wa(){for(var e,r,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(r=Eo(e))&&(o&&(o+=" "),o+=r);return o}var So=wa;var Aa=["variant"];function _o(e){return e.length===0}function kr(e){let{variant:r}=e,t=Y(e,Aa),o=r||"";return Object.keys(t).sort().forEach(n=>{n==="color"?o+=_o(o)?e[n]:fe(e[n]):o+=`${_o(o)?n:fe(n)}${fe(e[n].toString())}`}),o}var $a=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Ra(e){return Object.keys(e).length===0}function Ma(e){return typeof e=="string"&&e.charCodeAt(0)>96}var Ia=(e,r)=>r.components&&r.components[e]&&r.components[e].styleOverrides?r.components[e].styleOverrides:null,ka=(e,r)=>{let t=[];r&&r.components&&r.components[e]&&r.components[e].variants&&(t=r.components[e].variants);let o={};return t.forEach(n=>{let a=kr(n.props);o[a]=n.style}),o},ja=(e,r,t,o)=>{var n,a;let{ownerState:s={}}=e,p=[],i=t==null||(n=t.components)==null||(a=n[o])==null?void 0:a.variants;return i&&i.forEach(f=>{let c=!0;Object.keys(f.props).forEach(d=>{s[d]!==f.props[d]&&e[d]!==f.props[d]&&(c=!1)}),c&&p.push(r[kr(f.props)])}),p};function Qe(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Da=Te(),Na=e=>e.charAt(0).toLowerCase()+e.slice(1);function Ze({defaultTheme:e,theme:r,themeId:t}){return Ra(r)?e:r[t]||r}function jr(e={}){let{themeId:r,defaultTheme:t=Da,rootShouldForwardProp:o=Qe,slotShouldForwardProp:n=Qe}=e,a=s=>ve(h({},s,{theme:Ze(h({},s,{defaultTheme:t,themeId:r}))}));return a.__mui_systemSx=!0,(s,p={})=>{uo(s,P=>P.filter(j=>!(j!=null&&j.__mui_systemSx)));let{name:i,slot:f,skipVariantsResolver:c,skipSx:d,overridesResolver:l}=p,T=Y(p,$a),v=c!==void 0?c:f&&f!=="Root"||!1,x=d||!1,b;process.env.NODE_ENV!=="production"&&i&&(b=`${i}-${Na(f||"Root")}`);let M=Qe;f==="Root"?M=o:f?M=n:Ma(s)&&(M=void 0);let W=ft(s,h({shouldForwardProp:M,label:b},T)),K=(P,...j)=>{let Q=j?j.map(I=>typeof I=="function"&&I.__emotion_real!==I?ee=>I(h({},ee,{theme:Ze(h({},ee,{defaultTheme:t,themeId:r}))})):I):[],te=P;i&&l&&Q.push(I=>{let ee=Ze(h({},I,{defaultTheme:t,themeId:r})),ye=Ia(i,ee);if(ye){let u={};return Object.entries(ye).forEach(([m,S])=>{u[m]=typeof S=="function"?S(h({},I,{theme:ee})):S}),l(I,u)}return null}),i&&!v&&Q.push(I=>{let ee=Ze(h({},I,{defaultTheme:t,themeId:r}));return ja(I,ka(i,ee),ee,i)}),x||Q.push(a);let xe=Q.length-j.length;if(Array.isArray(P)&&xe>0){let I=new Array(xe).fill("");te=[...P,...I],te.raw=[...P.raw,...I]}else typeof P=="function"&&P.__emotion_real!==P&&(te=I=>P(h({},I,{theme:Ze(h({},I,{defaultTheme:t,themeId:r}))})));let H=W(te,...Q);if(process.env.NODE_ENV!=="production"){let I;i&&(I=`${i}${f||""}`),I===void 0&&(I=`Styled(${wr(s)})`),H.displayName=I}return s.muiName&&(H.muiName=s.muiName),H};return W.withConfig&&(K.withConfig=W.withConfig),K}}function Dr(e){let{theme:r,name:t,props:o}=e;return!r||!r.components||!r.components[t]||!r.components[t].defaultProps?o:We(r.components[t].defaultProps,o)}function er({props:e,name:r,defaultTheme:t,themeId:o}){let n=To(t);return o&&(n=n[o]||n),Dr({theme:n,name:r,props:e})}function Oo(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),Math.min(Math.max(r,e),t)}function Ba(e){e=e.slice(1);let r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),t=e.match(r);return t&&t[0].length===1&&(t=t.map(o=>o+o)),t?`rgb${t.length===4?"a":""}(${t.map((o,n)=>n<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Le(e){if(e.type)return e;if(e.charAt(0)==="#")return Le(Ba(e));let r=e.indexOf("("),t=e.substring(0,r);if(["rgb","rgba","hsl","hsla","color"].indexOf(t)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
7
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:se(9,e));let o=e.substring(r+1,e.length-1),n;if(t==="color"){if(o=o.split(" "),n=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${n}\` color space.
|
|
8
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:se(10,n))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:t,values:o,colorSpace:n}}function xt(e){let{type:r,colorSpace:t}=e,{values:o}=e;return r.indexOf("rgb")!==-1?o=o.map((n,a)=>a<3?parseInt(n,10):n):r.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),r.indexOf("color")!==-1?o=`${t} ${o.join(" ")}`:o=`${o.join(", ")}`,`${r}(${o})`}function La(e){e=Le(e);let{values:r}=e,t=r[0],o=r[1]/100,n=r[2]/100,a=o*Math.min(n,1-n),s=(f,c=(f+t/30)%12)=>n-a*Math.max(Math.min(c-3,9-c,1),-1),p="rgb",i=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(p+="a",i.push(r[3])),xt({type:p,values:i})}function Po(e){e=Le(e);let r=e.type==="hsl"||e.type==="hsla"?Le(La(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:or((t+.055)/1.055,2.4))),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function yt(e,r){let t=Po(e),o=Po(r);return(Math.max(t,o)+.05)/(Math.min(t,o)+.05)}function Co(e,r){if(e=Le(e),r=Oo(r),e.type.indexOf("hsl")!==-1)e.values[2]*=1-r;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)e.values[t]*=1-r;return xt(e)}function wo(e,r){if(e=Le(e),r=Oo(r),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*r;else if(e.type.indexOf("rgb")!==-1)for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return xt(e)}function gt(e,r){return h({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},r)}var Fa=["mode","contrastThreshold","tonalOffset"],Ao={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:Ie.white,default:Ie.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}},ht={text:{primary:Ie.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:Ie.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 $o(e,r,t,o){let n=o.light||o,a=o.dark||o*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=wo(e.main,n):r==="dark"&&(e.dark=Co(e.main,a)))}function za(e="light"){return e==="dark"?{main:_e[200],light:_e[50],dark:_e[400]}:{main:_e[700],light:_e[400],dark:_e[800]}}function Ua(e="light"){return e==="dark"?{main:Se[200],light:Se[50],dark:Se[400]}:{main:Se[500],light:Se[300],dark:Se[700]}}function Wa(e="light"){return e==="dark"?{main:Ee[500],light:Ee[300],dark:Ee[700]}:{main:Ee[700],light:Ee[400],dark:Ee[800]}}function Ya(e="light"){return e==="dark"?{main:Pe[400],light:Pe[300],dark:Pe[700]}:{main:Pe[700],light:Pe[500],dark:Pe[900]}}function Va(e="light"){return e==="dark"?{main:Oe[400],light:Oe[300],dark:Oe[700]}:{main:Oe[800],light:Oe[500],dark:Oe[900]}}function Ka(e="light"){return e==="dark"?{main:ke[400],light:ke[300],dark:ke[700]}:{main:"#ed6c02",light:ke[500],dark:ke[900]}}function bt(e){let{mode:r="light",contrastThreshold:t=3,tonalOffset:o=.2}=e,n=Y(e,Fa),a=e.primary||za(r),s=e.secondary||Ua(r),p=e.error||Wa(r),i=e.info||Ya(r),f=e.success||Va(r),c=e.warning||Ka(r);function d(x){let b=yt(x,ht.text.primary)>=t?ht.text.primary:Ao.text.primary;if(process.env.NODE_ENV!=="production"){let M=yt(x,b);M<3&&console.error([`MUI: The contrast ratio of ${M}:1 for ${b} on ${x}`,"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(`
|
|
9
|
+
`))}return b}let l=({color:x,name:b,mainShade:M=500,lightShade:W=300,darkShade:K=700})=>{if(x=h({},x),!x.main&&x[M]&&(x.main=x[M]),!x.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
10
|
+
The color object needs to have a \`main\` property or a \`${M}\` property.`:se(11,b?` (${b})`:"",M));if(typeof x.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
11
11
|
\`color.main\` should be a string, but \`${JSON.stringify(x.main)}\` was provided instead.
|
|
12
12
|
|
|
13
13
|
Did you intend to use one of the following approaches?
|
|
@@ -20,8 +20,8 @@ const theme1 = createTheme({ palette: {
|
|
|
20
20
|
|
|
21
21
|
const theme2 = createTheme({ palette: {
|
|
22
22
|
primary: { main: green[500] },
|
|
23
|
-
} });`:
|
|
24
|
-
`))}l[v]={}}}};Object.keys(
|
|
23
|
+
} });`:se(12,b?` (${b})`:"",JSON.stringify(x.main)));return $o(x,"light",W,o),$o(x,"dark",K,o),x.contrastText||(x.contrastText=d(x.main)),x},T={dark:ht,light:Ao};return process.env.NODE_ENV!=="production"&&(T[r]||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),J(h({common:h({},Ie),mode:r,primary:l({color:a,name:"primary"}),secondary:l({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:l({color:p,name:"error"}),warning:l({color:c,name:"warning"}),info:l({color:i,name:"info"}),success:l({color:f,name:"success"}),grey:Rt,contrastThreshold:t,getContrastText:d,augmentColor:l,tonalOffset:o},T[r]),n)}var Ga=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function qa(e){return Math.round(e*1e5)/1e5}var Ro={textTransform:"uppercase"},Mo='"Roboto", "Helvetica", "Arial", sans-serif';function vt(e,r){let t=typeof r=="function"?r(e):r,{fontFamily:o=Mo,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:p=500,fontWeightBold:i=700,htmlFontSize:f=16,allVariants:c,pxToRem:d}=t,l=Y(t,Ga);process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));let T=n/14,v=d||(M=>`${M/f*T}rem`),x=(M,W,K,P,j)=>h({fontFamily:o,fontWeight:M,fontSize:v(W),lineHeight:K},o===Mo?{letterSpacing:`${qa(P/W)}em`}:{},j,c),b={h1:x(a,96,1.167,-1.5),h2:x(a,60,1.2,-.5),h3:x(s,48,1.167,0),h4:x(s,34,1.235,.25),h5:x(s,24,1.334,0),h6:x(p,20,1.6,.15),subtitle1:x(s,16,1.75,.15),subtitle2:x(p,14,1.57,.1),body1:x(s,16,1.5,.15),body2:x(s,14,1.43,.15),button:x(p,14,1.75,.4,Ro),caption:x(s,12,1.66,.4),overline:x(s,12,2.66,1,Ro),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return J(h({htmlFontSize:f,pxToRem:v,fontFamily:o,fontSize:n,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:p,fontWeightBold:i},b),l,{clone:!1})}function F(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var Ha=["none",F(0,2,1,-1,0,1,1,0,0,1,3,0),F(0,3,1,-2,0,2,2,0,0,1,5,0),F(0,3,3,-2,0,3,4,0,0,1,8,0),F(0,2,4,-1,0,4,5,0,0,1,10,0),F(0,3,5,-1,0,5,8,0,0,1,14,0),F(0,3,5,-1,0,6,10,0,0,1,18,0),F(0,4,5,-2,0,7,10,1,0,2,16,1),F(0,5,5,-3,0,8,10,1,0,3,14,2),F(0,5,6,-3,0,9,12,1,0,3,16,2),F(0,6,6,-3,0,10,14,1,0,4,18,3),F(0,6,7,-4,0,11,15,1,0,4,20,3),F(0,7,8,-4,0,12,17,2,0,5,22,4),F(0,7,8,-4,0,13,19,2,0,5,24,4),F(0,7,9,-4,0,14,21,2,0,5,26,4),F(0,8,9,-5,0,15,22,2,0,6,28,5),F(0,8,10,-5,0,16,24,2,0,6,30,5),F(0,8,11,-5,0,17,26,2,0,6,32,5),F(0,9,11,-5,0,18,28,2,0,7,34,6),F(0,9,12,-6,0,19,29,2,0,7,36,6),F(0,10,13,-6,0,20,31,3,0,8,38,7),F(0,10,13,-6,0,21,33,3,0,8,40,7),F(0,10,14,-6,0,22,35,3,0,8,42,7),F(0,11,14,-7,0,23,36,3,0,9,44,8),F(0,11,15,-7,0,24,38,3,0,9,46,8)],Io=Ha;var Xa=["duration","easing","delay"],Ja={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)"},Za={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ko(e){return`${Math.round(e)}ms`}function Qa(e){if(!e)return 0;let r=e/36;return Math.round((4+15*or(r,.25)+r/5)*10)}function Tt(e){let r=h({},Ja,e.easing),t=h({},Za,e.duration);return h({getAutoHeightDuration:Qa,create:(n=["all"],a={})=>{let{duration:s=t.standard,easing:p=r.easeInOut,delay:i=0}=a,f=Y(a,Xa);if(process.env.NODE_ENV!=="production"){let c=l=>typeof l=="string",d=l=>!isNaN(parseFloat(l));!c(n)&&!Array.isArray(n)&&console.error('MUI: Argument "props" must be a string or Array.'),!d(s)&&!c(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),c(p)||console.error('MUI: Argument "easing" must be a string.'),!d(i)&&!c(i)&&console.error('MUI: Argument "delay" must be a number or a string.'),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(n)?n:[n]).map(c=>`${c} ${typeof s=="string"?s:ko(s)} ${p} ${typeof i=="string"?i:ko(i)}`).join(",")}},e,{easing:r,duration:t})}var es={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},jo=es;var rs=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function ts(e={},...r){let{mixins:t={},palette:o={},transitions:n={},typography:a={}}=e,s=Y(e,rs);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.":se(18));let p=bt(o),i=Te(e),f=J(i,{mixins:gt(i.breakpoints,t),palette:p,shadows:Io.slice(),typography:vt(p,a),transitions:Tt(n),zIndex:h({},jo)});if(f=J(f,s),f=r.reduce((c,d)=>J(c,d),f),process.env.NODE_ENV!=="production"){let c=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],d=(l,T)=>{let v;for(v in l){let x=l[v];if(c.indexOf(v)!==-1&&Object.keys(x).length>0){if(process.env.NODE_ENV!=="production"){let b=me("",v);console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(l,null,2),"",`Instead, you need to use the '&.${b}' syntax:`,JSON.stringify({root:{[`&.${b}`]:x}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
24
|
+
`))}l[v]={}}}};Object.keys(f.components).forEach(l=>{let T=f.components[l].styleOverrides;T&&l.indexOf("Mui")===0&&d(T,l)})}return f.unstable_sxConfig=h({},ce,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(d){return ve({sx:d,theme:this})},f}var Do=ts;var os=Do(),Nr=os;function Et({props:e,name:r}){return er({props:e,name:r,defaultTheme:Nr,themeId:Ar})}var ns=e=>Qe(e)&&e!=="classes";var as=jr({themeId:Ar,defaultTheme:Nr,rootShouldForwardProp:ns}),No=as;var St=fe;var Fo=ge(require("react")),V=ge(ot());function Bo(e){return me("MuiTypography",e)}var El=Ye("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);var zo=require("react/jsx-runtime"),ss=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],is=e=>{let{align:r,gutterBottom:t,noWrap:o,paragraph:n,variant:a,classes:s}=e,p={root:["root",a,e.align!=="inherit"&&`align${St(r)}`,t&&"gutterBottom",o&&"noWrap",n&&"paragraph"]};return Ce(p,Bo,s)},fs=No("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.root,t.variant&&r[t.variant],t.align!=="inherit"&&r[`align${St(t.align)}`],t.noWrap&&r.noWrap,t.gutterBottom&&r.gutterBottom,t.paragraph&&r.paragraph]}})(({theme:e,ownerState:r})=>h({margin:0},r.variant&&e.typography[r.variant],r.align!=="inherit"&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16})),Lo={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},us={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ps=e=>us[e]||e,Uo=Fo.forwardRef(function(r,t){let o=Et({props:r,name:"MuiTypography"}),n=ps(o.color),a=Je(h({},o,{color:n})),{align:s="inherit",className:p,component:i,gutterBottom:f=!1,noWrap:c=!1,paragraph:d=!1,variant:l="body1",variantMapping:T=Lo}=a,v=Y(a,ss),x=h({},a,{align:s,color:n,className:p,component:i,gutterBottom:f,noWrap:c,paragraph:d,variant:l,variantMapping:T}),b=i||(d?"p":T[l]||Lo[l])||"span",M=is(x);return(0,zo.jsx)(fs,h({as:b,ref:t,ownerState:x,className:So(M.root,p)},v))});process.env.NODE_ENV!=="production"&&(Uo.propTypes={align:V.default.oneOf(["center","inherit","justify","left","right"]),children:V.default.node,classes:V.default.object,className:V.default.string,component:V.default.elementType,gutterBottom:V.default.bool,noWrap:V.default.bool,paragraph:V.default.bool,sx:V.default.oneOfType([V.default.arrayOf(V.default.oneOfType([V.default.func,V.default.object,V.default.bool])),V.default.func,V.default.object]),variant:V.default.oneOfType([V.default.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),V.default.string]),variantMapping:V.default.object});var Br=Uo;var zr=require("@s_mart/core"),Vo=require("@s_mart/regular-icons");var Wo=ge(require("@emotion/styled")),_t=require("@s_mart/tokens"),Yo=Wo.default.button`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: center;
|
|
@@ -41,75 +41,88 @@ const theme2 = createTheme({ palette: {
|
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
transition: all 0.3s ease;
|
|
43
43
|
|
|
44
|
-
color: ${
|
|
44
|
+
color: ${_t.colorPalette.neutral[500]};
|
|
45
45
|
|
|
46
46
|
&:hover {
|
|
47
|
-
background-color: ${
|
|
47
|
+
background-color: ${_t.colorPalette.neutral[40]};
|
|
48
48
|
transition: all 0.3s ease;
|
|
49
49
|
}
|
|
50
|
-
`;var
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
@license
|
|
50
|
+
`;var Ko=require("@s_mart/hooks");var ae=require("react/jsx-runtime"),Go=i=>{var f=i,{showDeleteAllFilesButton:e=!0,placeholder:r,fileItemProps:t,initialValue:o=[],onClean:n,onReset:a,tratamentoFilesOnChange:s}=f,p=wt(f,["showDeleteAllFilesButton","placeholder","fileItemProps","initialValue","onClean","onReset","tratamentoFilesOnChange"]);let{setNotification:c}=(0,Ko.useNotification)(),[d,l]=Lr.default.useState(o),T=b=>{var K;let M=b.filter(P=>P.valid===!0);l(M);let W={variant:"warning",autoHideDuration:5e3};if(b.length>0){let P=b.filter(j=>j.valid===!1);P.length===1?c(Ue(Me({},W),{title:`Arquivo ${P[0].file.name} inv\xE1lido`,message:(K=P[0].errors)==null?void 0:K[0]})):P.length>1&&P.forEach(j=>{var Q;c(Ue(Me({},W),{title:`Arquivo ${j.file.name} inv\xE1lido`,message:(Q=j.errors)==null?void 0:Q[0]}))})}},v=()=>{l([]),a==null||a()},x=b=>{let M=d.filter(W=>W.id!==b.id);l(M),n==null||n(M)};return(0,Lr.useEffect)(()=>{o.length&&l(o)},[o]),(0,ae.jsx)(Fr.Dropzone,Ue(Me({localization:"PT-pt",header:!1,footer:!1,headerClassName:"header",view:"grid",value:d},p),{onChange:b=>$t(void 0,null,function*(){var W;let M=b;if(s){let K=yield s(b);K&&(M=K)}T(M),(W=p.onChange)==null||W.call(p,M)}),children:d.length===0?(0,ae.jsx)("div",{children:r||"Arraste os arquivos aqui ou clique para selecionar"}):(0,ae.jsxs)(ae.Fragment,{children:[e&&(0,ae.jsx)(zr.Tooltip,{title:(0,ae.jsx)(Br,{variant:"bodyMD",children:"Remover"}),children:(0,ae.jsx)(Yo,{onClick:b=>{b.preventDefault(),b.stopPropagation(),v()},children:(0,ae.jsx)(zr.LIcon,{icon:Vo.lineTimes,size:"24px"})})}),(0,ae.jsx)("div",{style:{display:"flex"},children:d==null?void 0:d.map(b=>(0,ae.jsx)(Fr.FileItem,Ue(Me(Me({info:!0,localization:"PT-pt",preview:!0},b),t),{onDelete:()=>x(b)}),b.id))})]})}))};0&&(module.exports={Dropzone});
|
|
51
|
+
/*! Bundled license information:
|
|
52
|
+
|
|
53
|
+
react-is/cjs/react-is.production.min.js:
|
|
54
|
+
(** @license React v16.13.1
|
|
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
|
+
*)
|
|
62
|
+
|
|
63
|
+
react-is/cjs/react-is.development.js:
|
|
64
|
+
(** @license React v16.13.1
|
|
65
|
+
* react-is.development.js
|
|
66
|
+
*
|
|
67
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the MIT license found in the
|
|
70
|
+
* LICENSE file in the root directory of this source tree.
|
|
71
|
+
*)
|
|
72
|
+
|
|
73
|
+
object-assign/index.js:
|
|
74
|
+
(*
|
|
75
|
+
object-assign
|
|
76
|
+
(c) Sindre Sorhus
|
|
77
|
+
@license MIT
|
|
78
|
+
*)
|
|
79
|
+
|
|
80
|
+
react-is/cjs/react-is.production.min.js:
|
|
81
|
+
(**
|
|
82
|
+
* @license React
|
|
83
|
+
* react-is.production.min.js
|
|
84
|
+
*
|
|
85
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the MIT license found in the
|
|
88
|
+
* LICENSE file in the root directory of this source tree.
|
|
89
|
+
*)
|
|
90
|
+
|
|
91
|
+
react-is/cjs/react-is.development.js:
|
|
92
|
+
(**
|
|
93
|
+
* @license React
|
|
94
|
+
* react-is.development.js
|
|
95
|
+
*
|
|
96
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
97
|
+
*
|
|
98
|
+
* This source code is licensed under the MIT license found in the
|
|
99
|
+
* LICENSE file in the root directory of this source tree.
|
|
100
|
+
*)
|
|
101
|
+
|
|
102
|
+
@mui/styled-engine/index.js:
|
|
103
|
+
(**
|
|
104
|
+
* @mui/styled-engine v5.12.3
|
|
105
|
+
*
|
|
106
|
+
* @license MIT
|
|
107
|
+
* This source code is licensed under the MIT license found in the
|
|
108
|
+
* LICENSE file in the root directory of this source tree.
|
|
109
|
+
*)
|
|
110
|
+
|
|
111
|
+
@mui/base/index.js:
|
|
112
|
+
(**
|
|
113
|
+
* @mui/base v5.0.0-alpha.128
|
|
114
|
+
*
|
|
115
|
+
* @license MIT
|
|
116
|
+
* This source code is licensed under the MIT license found in the
|
|
117
|
+
* LICENSE file in the root directory of this source tree.
|
|
118
|
+
*)
|
|
119
|
+
|
|
120
|
+
@mui/material/index.js:
|
|
121
|
+
(**
|
|
122
|
+
* @mui/material v5.12.3
|
|
123
|
+
*
|
|
124
|
+
* @license MIT
|
|
125
|
+
* This source code is licensed under the MIT license found in the
|
|
126
|
+
* LICENSE file in the root directory of this source tree.
|
|
127
|
+
*)
|
|
55
128
|
*/
|
|
56
|
-
/**
|
|
57
|
-
* @license React
|
|
58
|
-
* react-is.development.js
|
|
59
|
-
*
|
|
60
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
61
|
-
*
|
|
62
|
-
* This source code is licensed under the MIT license found in the
|
|
63
|
-
* LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/
|
|
65
|
-
/**
|
|
66
|
-
* @license React
|
|
67
|
-
* react-is.production.min.js
|
|
68
|
-
*
|
|
69
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
70
|
-
*
|
|
71
|
-
* This source code is licensed under the MIT license found in the
|
|
72
|
-
* LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/
|
|
74
|
-
/**
|
|
75
|
-
* @mui/base v5.0.0-alpha.116
|
|
76
|
-
*
|
|
77
|
-
* @license MIT
|
|
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
|
-
*/
|
|
81
|
-
/**
|
|
82
|
-
* @mui/material v5.11.7
|
|
83
|
-
*
|
|
84
|
-
* @license MIT
|
|
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
|
-
*/
|
|
88
|
-
/**
|
|
89
|
-
* @mui/private-theming v5.11.7
|
|
90
|
-
*
|
|
91
|
-
* @license MIT
|
|
92
|
-
* This source code is licensed under the MIT license found in the
|
|
93
|
-
* LICENSE file in the root directory of this source tree.
|
|
94
|
-
*/
|
|
95
|
-
/** @license MUI v5.11.0
|
|
96
|
-
*
|
|
97
|
-
* This source code is licensed under the MIT license found in the
|
|
98
|
-
* LICENSE file in the root directory of this source tree.
|
|
99
|
-
*/
|
|
100
|
-
/** @license React v16.13.1
|
|
101
|
-
* react-is.development.js
|
|
102
|
-
*
|
|
103
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
104
|
-
*
|
|
105
|
-
* This source code is licensed under the MIT license found in the
|
|
106
|
-
* LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/
|
|
108
|
-
/** @license React v16.13.1
|
|
109
|
-
* react-is.production.min.js
|
|
110
|
-
*
|
|
111
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
112
|
-
*
|
|
113
|
-
* This source code is licensed under the MIT license found in the
|
|
114
|
-
* LICENSE file in the root directory of this source tree.
|
|
115
|
-
*/
|
package/dist/index.mjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var Uo=Object.create;var zr=Object.defineProperty,Lo=Object.defineProperties,Fo=Object.getOwnPropertyDescriptor,zo=Object.getOwnPropertyDescriptors,Wo=Object.getOwnPropertyNames,er=Object.getOwnPropertySymbols,Yo=Object.getPrototypeOf,Wr=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable;var rr=Math.pow,Et=(e,r,t)=>r in e?zr(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Re=(e,r)=>{for(var t in r||(r={}))Wr.call(r,t)&&Et(e,t,r[t]);if(er)for(var t of er(r))St.call(r,t)&&Et(e,t,r[t]);return e},Le=(e,r)=>Lo(e,zo(r));var _t=(e,r)=>{var t={};for(var o in e)Wr.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&er)for(var o of er(e))r.indexOf(o)<0&&St.call(e,o)&&(t[o]=e[o]);return t};var te=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Vo=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Wo(r))!Wr.call(e,n)&&n!==t&&zr(e,n,{get:()=>r[n],enumerable:!(o=Fo(r,n))||o.enumerable});return e};var Yr=(e,r,t)=>(t=e!=null?Uo(Yo(e)):{},Vo(r||!e||!e.__esModule?zr(t,"default",{value:e,enumerable:!0}):t,e));var wt=te(D=>{"use strict";var H=typeof Symbol=="function"&&Symbol.for,Vr=H?Symbol.for("react.element"):60103,Kr=H?Symbol.for("react.portal"):60106,tr=H?Symbol.for("react.fragment"):60107,or=H?Symbol.for("react.strict_mode"):60108,nr=H?Symbol.for("react.profiler"):60114,ar=H?Symbol.for("react.provider"):60109,sr=H?Symbol.for("react.context"):60110,Gr=H?Symbol.for("react.async_mode"):60111,ir=H?Symbol.for("react.concurrent_mode"):60111,fr=H?Symbol.for("react.forward_ref"):60112,ur=H?Symbol.for("react.suspense"):60113,en=H?Symbol.for("react.suspense_list"):60120,pr=H?Symbol.for("react.memo"):60115,lr=H?Symbol.for("react.lazy"):60116,rn=H?Symbol.for("react.block"):60121,tn=H?Symbol.for("react.fundamental"):60117,on=H?Symbol.for("react.responder"):60118,nn=H?Symbol.for("react.scope"):60119;function oe(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case Vr:switch(e=e.type,e){case Gr:case ir:case tr:case nr:case or:case ur:return e;default:switch(e=e&&e.$$typeof,e){case sr:case fr:case lr:case pr:case ar:return e;default:return r}}case Kr:return r}}}function Ct(e){return oe(e)===ir}D.AsyncMode=Gr;D.ConcurrentMode=ir;D.ContextConsumer=sr;D.ContextProvider=ar;D.Element=Vr;D.ForwardRef=fr;D.Fragment=tr;D.Lazy=lr;D.Memo=pr;D.Portal=Kr;D.Profiler=nr;D.StrictMode=or;D.Suspense=ur;D.isAsyncMode=function(e){return Ct(e)||oe(e)===Gr};D.isConcurrentMode=Ct;D.isContextConsumer=function(e){return oe(e)===sr};D.isContextProvider=function(e){return oe(e)===ar};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Vr};D.isForwardRef=function(e){return oe(e)===fr};D.isFragment=function(e){return oe(e)===tr};D.isLazy=function(e){return oe(e)===lr};D.isMemo=function(e){return oe(e)===pr};D.isPortal=function(e){return oe(e)===Kr};D.isProfiler=function(e){return oe(e)===nr};D.isStrictMode=function(e){return oe(e)===or};D.isSuspense=function(e){return oe(e)===ur};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===tr||e===ir||e===nr||e===or||e===ur||e===en||typeof e=="object"&&e!==null&&(e.$$typeof===lr||e.$$typeof===pr||e.$$typeof===ar||e.$$typeof===sr||e.$$typeof===fr||e.$$typeof===tn||e.$$typeof===on||e.$$typeof===nn||e.$$typeof===rn)};D.typeOf=oe});var At=te(N=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,f=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,V=e?Symbol.for("react.scope"):60119;function L(y){return typeof y=="string"||typeof y=="function"||y===o||y===p||y===a||y===n||y===m||y===l||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===T||y.$$typeof===s||y.$$typeof===u||y.$$typeof===d||y.$$typeof===h||y.$$typeof===I||y.$$typeof===V||y.$$typeof===x)}function A(y){if(typeof y=="object"&&y!==null){var Ue=y.$$typeof;switch(Ue){case r:var g=y.type;switch(g){case f:case p:case o:case a:case n:case m:return g;default:var $e=g&&g.$$typeof;switch($e){case u:case d:case v:case T:case s:return $e;default:return Ue}}case t:return Ue}}}var j=f,ee=p,fe=u,xe=s,P=r,K=d,re=o,pe=v,i=T,c=t,C=a,O=n,E=m,w=!1;function S(y){return w||(w=!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.")),_(y)||A(y)===f}function _(y){return A(y)===p}function $(y){return A(y)===u}function k(y){return A(y)===s}function R(y){return typeof y=="object"&&y!==null&&y.$$typeof===r}function X(y){return A(y)===d}function q(y){return A(y)===o}function le(y){return A(y)===v}function Nr(y){return A(y)===T}function Br(y){return A(y)===t}function Ur(y){return A(y)===a}function Lr(y){return A(y)===n}function Fr(y){return A(y)===m}N.AsyncMode=j,N.ConcurrentMode=ee,N.ContextConsumer=fe,N.ContextProvider=xe,N.Element=P,N.ForwardRef=K,N.Fragment=re,N.Lazy=pe,N.Memo=i,N.Portal=c,N.Profiler=C,N.StrictMode=O,N.Suspense=E,N.isAsyncMode=S,N.isConcurrentMode=_,N.isContextConsumer=$,N.isContextProvider=k,N.isElement=R,N.isForwardRef=X,N.isFragment=q,N.isLazy=le,N.isMemo=Nr,N.isPortal=Br,N.isProfiler=Ur,N.isStrictMode=Lr,N.isSuspense=Fr,N.isValidElementType=L,N.typeOf=A}()});var Hr=te(($s,qr)=>{"use strict";process.env.NODE_ENV==="production"?qr.exports=wt():qr.exports=At()});var Mt=te((Rs,Rt)=>{"use strict";var $t=Object.getOwnPropertySymbols,an=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable;function fn(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function un(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;var o=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(o.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(a){n[a]=a}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}Rt.exports=un()?Object.assign:function(e,r){for(var t,o=fn(e),n,a=1;a<arguments.length;a++){t=Object(arguments[a]);for(var s in t)an.call(t,s)&&(o[s]=t[s]);if($t){n=$t(t);for(var u=0;u<n.length;u++)sn.call(t,n[u])&&(o[n[u]]=t[n[u]])}}return o}});var cr=te((Ms,It)=>{"use strict";var pn="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";It.exports=pn});var Xr=te((Is,kt)=>{kt.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Ut=te((ks,Bt)=>{"use strict";var Jr=function(){};process.env.NODE_ENV!=="production"&&(jt=cr(),mr={},Dt=Xr(),Jr=function(e){var r="Warning: "+e;typeof console!="undefined"&&console.error(r);try{throw new Error(r)}catch(t){}});var jt,mr,Dt;function Nt(e,r,t,o,n){if(process.env.NODE_ENV!=="production"){for(var a in e)if(Dt(e,a)){var s;try{if(typeof e[a]!="function"){var u=Error((o||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}s=e[a](r,a,o,t,null,jt)}catch(p){s=p}if(s&&!(s instanceof Error)&&Jr((o||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof 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)."),s instanceof Error&&!(s.message in mr)){mr[s.message]=!0;var f=n?n():"";Jr("Failed "+t+" type: "+s.message+(f!=null?f:""))}}}}Nt.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(mr={})};Bt.exports=Nt});var zt=te((js,Ft)=>{"use strict";var ln=Hr(),cn=Mt(),ke=cr(),Zr=Xr(),Lt=Ut(),je=function(){};process.env.NODE_ENV!=="production"&&(je=function(e){var r="Warning: "+e;typeof console!="undefined"&&console.error(r);try{throw new Error(r)}catch(t){}});function dr(){return null}Ft.exports=function(e,r){var t=typeof Symbol=="function"&&Symbol.iterator,o="@@iterator";function n(i){var c=i&&(t&&i[t]||i[o]);if(typeof c=="function")return c}var a="<<anonymous>>",s={array:d("array"),bigint:d("bigint"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:m(),arrayOf:l,element:T(),elementType:v(),instanceOf:x,node:L(),objectOf:I,oneOf:h,oneOfType:V,shape:j,exact:ee};function u(i,c){return i===c?i!==0||1/i===1/c:i!==i&&c!==c}function f(i,c){this.message=i,this.data=c&&typeof c=="object"?c:{},this.stack=""}f.prototype=Error.prototype;function p(i){if(process.env.NODE_ENV!=="production")var c={},C=0;function O(w,S,_,$,k,R,X){if($=$||a,R=R||_,X!==ke){if(r){var q=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 q.name="Invariant Violation",q}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var le=$+":"+_;!c[le]&&C<3&&(je("You are manually calling a React.PropTypes validation function for the `"+R+"` prop on `"+$+"`. 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."),c[le]=!0,C++)}}return S[_]==null?w?S[_]===null?new f("The "+k+" `"+R+"` is marked as required "+("in `"+$+"`, but its value is `null`.")):new f("The "+k+" `"+R+"` is marked as required in "+("`"+$+"`, but its value is `undefined`.")):null:i(S,_,$,k,R)}var E=O.bind(null,!1);return E.isRequired=O.bind(null,!0),E}function d(i){function c(C,O,E,w,S,_){var $=C[O],k=P($);if(k!==i){var R=K($);return new f("Invalid "+w+" `"+S+"` of type "+("`"+R+"` supplied to `"+E+"`, expected ")+("`"+i+"`."),{expectedType:i})}return null}return p(c)}function m(){return p(dr)}function l(i){function c(C,O,E,w,S){if(typeof i!="function")return new f("Property `"+S+"` of component `"+E+"` has invalid PropType notation inside arrayOf.");var _=C[O];if(!Array.isArray(_)){var $=P(_);return new f("Invalid "+w+" `"+S+"` of type "+("`"+$+"` supplied to `"+E+"`, expected an array."))}for(var k=0;k<_.length;k++){var R=i(_,k,E,w,S+"["+k+"]",ke);if(R instanceof Error)return R}return null}return p(c)}function T(){function i(c,C,O,E,w){var S=c[C];if(!e(S)){var _=P(S);return new f("Invalid "+E+" `"+w+"` of type "+("`"+_+"` supplied to `"+O+"`, expected a single ReactElement."))}return null}return p(i)}function v(){function i(c,C,O,E,w){var S=c[C];if(!ln.isValidElementType(S)){var _=P(S);return new f("Invalid "+E+" `"+w+"` of type "+("`"+_+"` supplied to `"+O+"`, expected a single ReactElement type."))}return null}return p(i)}function x(i){function c(C,O,E,w,S){if(!(C[O]instanceof i)){var _=i.name||a,$=pe(C[O]);return new f("Invalid "+w+" `"+S+"` of type "+("`"+$+"` supplied to `"+E+"`, expected ")+("instance of `"+_+"`."))}return null}return p(c)}function h(i){if(!Array.isArray(i))return process.env.NODE_ENV!=="production"&&(arguments.length>1?je("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])."):je("Invalid argument supplied to oneOf, expected an array.")),dr;function c(C,O,E,w,S){for(var _=C[O],$=0;$<i.length;$++)if(u(_,i[$]))return null;var k=JSON.stringify(i,function(X,q){var le=K(q);return le==="symbol"?String(q):q});return new f("Invalid "+w+" `"+S+"` of value `"+String(_)+"` "+("supplied to `"+E+"`, expected one of "+k+"."))}return p(c)}function I(i){function c(C,O,E,w,S){if(typeof i!="function")return new f("Property `"+S+"` of component `"+E+"` has invalid PropType notation inside objectOf.");var _=C[O],$=P(_);if($!=="object")return new f("Invalid "+w+" `"+S+"` of type "+("`"+$+"` supplied to `"+E+"`, expected an object."));for(var k in _)if(Zr(_,k)){var R=i(_,k,E,w,S+"."+k,ke);if(R instanceof Error)return R}return null}return p(c)}function V(i){if(!Array.isArray(i))return process.env.NODE_ENV!=="production"&&je("Invalid argument supplied to oneOfType, expected an instance of array."),dr;for(var c=0;c<i.length;c++){var C=i[c];if(typeof C!="function")return je("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+re(C)+" at index "+c+"."),dr}function O(E,w,S,_,$){for(var k=[],R=0;R<i.length;R++){var X=i[R],q=X(E,w,S,_,$,ke);if(q==null)return null;q.data&&Zr(q.data,"expectedType")&&k.push(q.data.expectedType)}var le=k.length>0?", expected one of type ["+k.join(", ")+"]":"";return new f("Invalid "+_+" `"+$+"` supplied to "+("`"+S+"`"+le+"."))}return p(O)}function L(){function i(c,C,O,E,w){return fe(c[C])?null:new f("Invalid "+E+" `"+w+"` supplied to "+("`"+O+"`, expected a ReactNode."))}return p(i)}function A(i,c,C,O,E){return new f((i||"React class")+": "+c+" type `"+C+"."+O+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+E+"`.")}function j(i){function c(C,O,E,w,S){var _=C[O],$=P(_);if($!=="object")return new f("Invalid "+w+" `"+S+"` of type `"+$+"` "+("supplied to `"+E+"`, expected `object`."));for(var k in i){var R=i[k];if(typeof R!="function")return A(E,w,S,k,K(R));var X=R(_,k,E,w,S+"."+k,ke);if(X)return X}return null}return p(c)}function ee(i){function c(C,O,E,w,S){var _=C[O],$=P(_);if($!=="object")return new f("Invalid "+w+" `"+S+"` of type `"+$+"` "+("supplied to `"+E+"`, expected `object`."));var k=cn({},C[O],i);for(var R in k){var X=i[R];if(Zr(i,R)&&typeof X!="function")return A(E,w,S,R,K(X));if(!X)return new f("Invalid "+w+" `"+S+"` key `"+R+"` supplied to `"+E+"`.\nBad object: "+JSON.stringify(C[O],null," ")+`
|
|
2
|
-
Valid keys: `+JSON.stringify(Object.keys(i),null," "));var q=X(_,R,E,w,S+"."+R,ke);if(q)return q}return null}return p(c)}function fe(i){switch(typeof i){case"number":case"string":case"undefined":return!0;case"boolean":return!i;case"object":if(Array.isArray(i))return i.every(fe);if(i===null||e(i))return!0;var c=n(i);if(c){var C=c.call(i),O;if(c!==i.entries){for(;!(O=C.next()).done;)if(!fe(O.value))return!1}else for(;!(O=C.next()).done;){var E=O.value;if(E&&!fe(E[1]))return!1}}else return!1;return!0;default:return!1}}function xe(i,c){return i==="symbol"?!0:c?c["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&c instanceof Symbol:!1}function P(i){var c=typeof i;return Array.isArray(i)?"array":i instanceof RegExp?"object":xe(c,i)?"symbol":c}function K(i){if(typeof i=="undefined"||i===null)return""+i;var c=P(i);if(c==="object"){if(i instanceof Date)return"date";if(i instanceof RegExp)return"regexp"}return c}function re(i){var c=K(i);switch(c){case"array":case"object":return"an "+c;case"boolean":case"date":case"regexp":return"a "+c;default:return c}}function pe(i){return!i.constructor||!i.constructor.name?a:i.constructor.name}return s.checkPropTypes=Lt,s.resetWarningCache=Lt.resetWarningCache,s.PropTypes=s,s}});var Kt=te((Ds,Vt)=>{"use strict";var mn=cr();function Wt(){}function Yt(){}Yt.resetWarningCache=Wt;Vt.exports=function(){function e(o,n,a,s,u,f){if(f!==mn){var p=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 p.name="Invariant Violation",p}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:Yt,resetWarningCache:Wt};return t.PropTypes=t,t}});var et=te((Ns,Qr)=>{process.env.NODE_ENV!=="production"?(Gt=Hr(),qt=!0,Qr.exports=zt()(Gt.isElement,qt)):Qr.exports=Kt()();var Gt,qt});var Xt=te(B=>{"use strict";var rt=Symbol.for("react.element"),tt=Symbol.for("react.portal"),xr=Symbol.for("react.fragment"),yr=Symbol.for("react.strict_mode"),gr=Symbol.for("react.profiler"),hr=Symbol.for("react.provider"),br=Symbol.for("react.context"),dn=Symbol.for("react.server_context"),vr=Symbol.for("react.forward_ref"),Tr=Symbol.for("react.suspense"),Er=Symbol.for("react.suspense_list"),Sr=Symbol.for("react.memo"),_r=Symbol.for("react.lazy"),xn=Symbol.for("react.offscreen"),Ht;Ht=Symbol.for("react.module.reference");function ae(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case rt:switch(e=e.type,e){case xr:case gr:case yr:case Tr:case Er:return e;default:switch(e=e&&e.$$typeof,e){case dn:case br:case vr:case _r:case Sr:case hr:return e;default:return r}}case tt:return r}}}B.ContextConsumer=br;B.ContextProvider=hr;B.Element=rt;B.ForwardRef=vr;B.Fragment=xr;B.Lazy=_r;B.Memo=Sr;B.Portal=tt;B.Profiler=gr;B.StrictMode=yr;B.Suspense=Tr;B.SuspenseList=Er;B.isAsyncMode=function(){return!1};B.isConcurrentMode=function(){return!1};B.isContextConsumer=function(e){return ae(e)===br};B.isContextProvider=function(e){return ae(e)===hr};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===rt};B.isForwardRef=function(e){return ae(e)===vr};B.isFragment=function(e){return ae(e)===xr};B.isLazy=function(e){return ae(e)===_r};B.isMemo=function(e){return ae(e)===Sr};B.isPortal=function(e){return ae(e)===tt};B.isProfiler=function(e){return ae(e)===gr};B.isStrictMode=function(e){return ae(e)===yr};B.isSuspense=function(e){return ae(e)===Tr};B.isSuspenseList=function(e){return ae(e)===Er};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===xr||e===gr||e===yr||e===Tr||e===Er||e===xn||typeof e=="object"&&e!==null&&(e.$$typeof===_r||e.$$typeof===Sr||e.$$typeof===hr||e.$$typeof===br||e.$$typeof===vr||e.$$typeof===Ht||e.getModuleId!==void 0)};B.typeOf=ae});var Jt=te(U=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.server_context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),v=!1,x=!1,h=!1,I=!1,V=!1,L;L=Symbol.for("react.module.reference");function A(g){return!!(typeof g=="string"||typeof g=="function"||g===t||g===n||V||g===o||g===p||g===d||I||g===T||v||x||h||typeof g=="object"&&g!==null&&(g.$$typeof===l||g.$$typeof===m||g.$$typeof===a||g.$$typeof===s||g.$$typeof===f||g.$$typeof===L||g.getModuleId!==void 0))}function j(g){if(typeof g=="object"&&g!==null){var $e=g.$$typeof;switch($e){case e:var Qe=g.type;switch(Qe){case t:case n:case o:case p:case d:return Qe;default:var Tt=Qe&&Qe.$$typeof;switch(Tt){case u:case s:case f:case l:case m:case a:return Tt;default:return $e}}case r:return $e}}}var ee=s,fe=a,xe=e,P=f,K=t,re=l,pe=m,i=r,c=n,C=o,O=p,E=d,w=!1,S=!1;function _(g){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function $(g){return S||(S=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function k(g){return j(g)===s}function R(g){return j(g)===a}function X(g){return typeof g=="object"&&g!==null&&g.$$typeof===e}function q(g){return j(g)===f}function le(g){return j(g)===t}function Nr(g){return j(g)===l}function Br(g){return j(g)===m}function Ur(g){return j(g)===r}function Lr(g){return j(g)===n}function Fr(g){return j(g)===o}function y(g){return j(g)===p}function Ue(g){return j(g)===d}U.ContextConsumer=ee,U.ContextProvider=fe,U.Element=xe,U.ForwardRef=P,U.Fragment=K,U.Lazy=re,U.Memo=pe,U.Portal=i,U.Profiler=c,U.StrictMode=C,U.Suspense=O,U.SuspenseList=E,U.isAsyncMode=_,U.isConcurrentMode=$,U.isContextConsumer=k,U.isContextProvider=R,U.isElement=X,U.isForwardRef=q,U.isFragment=le,U.isLazy=Nr,U.isMemo=Br,U.isPortal=Ur,U.isProfiler=Lr,U.isStrictMode=Fr,U.isSuspense=y,U.isSuspenseList=Ue,U.isValidElementType=A,U.typeOf=j}()});var Zt=te((Fs,ot)=>{"use strict";process.env.NODE_ENV==="production"?ot.exports=Xt():ot.exports=Jt()});import as,{useEffect as ss}from"react";import{Dropzone as is,FileItem as fs}from"@dropzone-ui/react";var Ko={black:"#000",white:"#fff"},Me=Ko;var Go={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"},Te=Go;var qo={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"},Ee=qo;var Ho={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"},Se=Ho;var Xo={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"},_e=Xo;var Jo={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"},Pe=Jo;var Zo={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"},Ie=Zo;var Qo={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"},Pt=Qo;function b(){return b=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},b.apply(this,arguments)}function de(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Ot(e){if(!de(e))return e;let r={};return Object.keys(e).forEach(t=>{r[t]=Ot(e[t])}),r}function J(e,r,t={clone:!0}){let o=t.clone?b({},e):e;return de(e)&&de(r)&&Object.keys(r).forEach(n=>{n!=="__proto__"&&(de(r[n])&&n in e&&de(e[n])?o[n]=J(e[n],r[n],t):t.clone?o[n]=de(r[n])?Ot(r[n]):r[n]:o[n]=r[n])}),o}function ne(e){let r="https://mui.com/production-error/?code="+e;for(let t=1;t<arguments.length;t+=1)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified MUI error #"+e+"; visit "+r+" for the full message."}var Pr=Yr(Zt()),yn=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function gn(e){let r=`${e}`.match(yn);return r&&r[1]||""}function eo(e,r=""){return e.displayName||e.name||gn(e)||r}function Qt(e,r,t){let o=eo(r);return e.displayName||(o!==""?`${t}(${o})`:t)}function Or(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return eo(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Pr.ForwardRef:return Qt(e,e.render,"ForwardRef");case Pr.Memo:return Qt(e,e.type,"memo");default:return}}}function se(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":ne(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Fe(e,r){let t=b({},r);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))t[o]=b({},e[o],t[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){let n=e[o]||{},a=r[o];t[o]={},!a||!Object.keys(a)?t[o]=n:!n||!Object.keys(n)?t[o]=a:(t[o]=b({},a),Object.keys(n).forEach(s=>{t[o][s]=Fe(n[s],a[s])}))}else t[o]===void 0&&(t[o]=e[o])}),t}function Oe(e,r,t){let o={};return Object.keys(e).forEach(n=>{o[n]=e[n].reduce((a,s)=>(s&&(a.push(r(s)),t&&t[s]&&a.push(t[s])),a),[]).join(" ")}),o}var ro=e=>e,hn=()=>{let e=ro;return{configure(r){e=r},generate(r){return e(r)},reset(){e=ro}}},bn=hn(),nt=bn;var vn={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function ce(e,r,t="Mui"){let o=vn[r];return o?`${t}-${o}`:`${nt.generate(e)}-${r}`}function ze(e,r,t="Mui"){let o={};return r.forEach(n=>{o[n]=ce(e,n,t)}),o}function z(e,r){if(e==null)return{};var t={},o=Object.keys(e),n,a;for(a=0;a<o.length;a++)n=o[a],!(r.indexOf(n)>=0)&&(t[n]=e[n]);return t}import Tn from"@emotion/styled";import{ThemeContext as Si,keyframes as _i,css as Pi}from"@emotion/react";function at(e,r){let t=Tn(e,r);return process.env.NODE_ENV!=="production"?(...o)=>{let n=typeof e=="string"?`"${e}"`:"component";return o.length===0?console.error([`MUI: Seems like you called \`styled(${n})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
3
|
-
`)):o.some(a=>a===void 0)&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),t(...o)}:t}var to=(e,r)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))};var
|
|
1
|
+
var Bo=Object.create;var zr=Object.defineProperty,Lo=Object.defineProperties,Fo=Object.getOwnPropertyDescriptor,zo=Object.getOwnPropertyDescriptors,Uo=Object.getOwnPropertyNames,Qe=Object.getOwnPropertySymbols,Wo=Object.getPrototypeOf,Ur=Object.prototype.hasOwnProperty,Et=Object.prototype.propertyIsEnumerable;var er=Math.pow,Tt=(e,r,t)=>r in e?zr(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,Re=(e,r)=>{for(var t in r||(r={}))Ur.call(r,t)&&Tt(e,t,r[t]);if(Qe)for(var t of Qe(r))Et.call(r,t)&&Tt(e,t,r[t]);return e},Fe=(e,r)=>Lo(e,zo(r));var St=(e,r)=>{var t={};for(var o in e)Ur.call(e,o)&&r.indexOf(o)<0&&(t[o]=e[o]);if(e!=null&&Qe)for(var o of Qe(e))r.indexOf(o)<0&&Et.call(e,o)&&(t[o]=e[o]);return t};var oe=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var Yo=(e,r,t,o)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of Uo(r))!Ur.call(e,n)&&n!==t&&zr(e,n,{get:()=>r[n],enumerable:!(o=Fo(r,n))||o.enumerable});return e};var Wr=(e,r,t)=>(t=e!=null?Bo(Wo(e)):{},Yo(r||!e||!e.__esModule?zr(t,"default",{value:e,enumerable:!0}):t,e));var _t=(e,r,t)=>new Promise((o,n)=>{var a=i=>{try{p(t.next(i))}catch(f){n(f)}},s=i=>{try{p(t.throw(i))}catch(f){n(f)}},p=i=>i.done?o(i.value):Promise.resolve(i.value).then(a,s);p((t=t.apply(e,r)).next())});var wt=oe(D=>{"use strict";var q=typeof Symbol=="function"&&Symbol.for,Yr=q?Symbol.for("react.element"):60103,Vr=q?Symbol.for("react.portal"):60106,rr=q?Symbol.for("react.fragment"):60107,tr=q?Symbol.for("react.strict_mode"):60108,or=q?Symbol.for("react.profiler"):60114,nr=q?Symbol.for("react.provider"):60109,ar=q?Symbol.for("react.context"):60110,Kr=q?Symbol.for("react.async_mode"):60111,sr=q?Symbol.for("react.concurrent_mode"):60111,ir=q?Symbol.for("react.forward_ref"):60112,fr=q?Symbol.for("react.suspense"):60113,Qo=q?Symbol.for("react.suspense_list"):60120,ur=q?Symbol.for("react.memo"):60115,pr=q?Symbol.for("react.lazy"):60116,en=q?Symbol.for("react.block"):60121,rn=q?Symbol.for("react.fundamental"):60117,tn=q?Symbol.for("react.responder"):60118,on=q?Symbol.for("react.scope"):60119;function ne(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case Yr:switch(e=e.type,e){case Kr:case sr:case rr:case or:case tr:case fr:return e;default:switch(e=e&&e.$$typeof,e){case ar:case ir:case pr:case ur:case nr:return e;default:return r}}case Vr:return r}}}function Ct(e){return ne(e)===sr}D.AsyncMode=Kr;D.ConcurrentMode=sr;D.ContextConsumer=ar;D.ContextProvider=nr;D.Element=Yr;D.ForwardRef=ir;D.Fragment=rr;D.Lazy=pr;D.Memo=ur;D.Portal=Vr;D.Profiler=or;D.StrictMode=tr;D.Suspense=fr;D.isAsyncMode=function(e){return Ct(e)||ne(e)===Kr};D.isConcurrentMode=Ct;D.isContextConsumer=function(e){return ne(e)===ar};D.isContextProvider=function(e){return ne(e)===nr};D.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Yr};D.isForwardRef=function(e){return ne(e)===ir};D.isFragment=function(e){return ne(e)===rr};D.isLazy=function(e){return ne(e)===pr};D.isMemo=function(e){return ne(e)===ur};D.isPortal=function(e){return ne(e)===Vr};D.isProfiler=function(e){return ne(e)===or};D.isStrictMode=function(e){return ne(e)===tr};D.isSuspense=function(e){return ne(e)===fr};D.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===rr||e===sr||e===or||e===tr||e===fr||e===Qo||typeof e=="object"&&e!==null&&(e.$$typeof===pr||e.$$typeof===ur||e.$$typeof===nr||e.$$typeof===ar||e.$$typeof===ir||e.$$typeof===rn||e.$$typeof===tn||e.$$typeof===on||e.$$typeof===en)};D.typeOf=ne});var At=oe(N=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=typeof Symbol=="function"&&Symbol.for,r=e?Symbol.for("react.element"):60103,t=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,n=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,i=e?Symbol.for("react.async_mode"):60111,f=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,l=e?Symbol.for("react.suspense_list"):60120,T=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,x=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,M=e?Symbol.for("react.responder"):60118,W=e?Symbol.for("react.scope"):60119;function K(y){return typeof y=="string"||typeof y=="function"||y===o||y===f||y===a||y===n||y===d||y===l||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===T||y.$$typeof===s||y.$$typeof===p||y.$$typeof===c||y.$$typeof===b||y.$$typeof===M||y.$$typeof===W||y.$$typeof===x)}function P(y){if(typeof y=="object"&&y!==null){var Le=y.$$typeof;switch(Le){case r:var g=y.type;switch(g){case i:case f:case o:case a:case n:case d:return g;default:var $e=g&&g.$$typeof;switch($e){case p:case c:case v:case T:case s:return $e;default:return Le}}case t:return Le}}}var j=i,Q=f,te=p,de=s,H=r,I=c,ee=o,xe=v,u=T,m=t,S=a,C=n,E=d,w=!1;function _(y){return w||(w=!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(y)||P(y)===i}function O(y){return P(y)===f}function A(y){return P(y)===p}function k(y){return P(y)===s}function $(y){return typeof y=="object"&&y!==null&&y.$$typeof===r}function X(y){return P(y)===c}function G(y){return P(y)===o}function pe(y){return P(y)===v}function Dr(y){return P(y)===T}function Nr(y){return P(y)===t}function Br(y){return P(y)===a}function Lr(y){return P(y)===n}function Fr(y){return P(y)===d}N.AsyncMode=j,N.ConcurrentMode=Q,N.ContextConsumer=te,N.ContextProvider=de,N.Element=H,N.ForwardRef=I,N.Fragment=ee,N.Lazy=xe,N.Memo=u,N.Portal=m,N.Profiler=S,N.StrictMode=C,N.Suspense=E,N.isAsyncMode=_,N.isConcurrentMode=O,N.isContextConsumer=A,N.isContextProvider=k,N.isElement=$,N.isForwardRef=X,N.isFragment=G,N.isLazy=pe,N.isMemo=Dr,N.isPortal=Nr,N.isProfiler=Br,N.isStrictMode=Lr,N.isSuspense=Fr,N.isValidElementType=K,N.typeOf=P}()});var qr=oe((ws,Gr)=>{"use strict";process.env.NODE_ENV==="production"?Gr.exports=wt():Gr.exports=At()});var Mt=oe((As,Rt)=>{"use strict";var $t=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable;function sn(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function fn(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var r={},t=0;t<10;t++)r["_"+String.fromCharCode(t)]=t;var o=Object.getOwnPropertyNames(r).map(function(a){return r[a]});if(o.join("")!=="0123456789")return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(a){n[a]=a}),Object.keys(Object.assign({},n)).join("")==="abcdefghijklmnopqrst"}catch(a){return!1}}Rt.exports=fn()?Object.assign:function(e,r){for(var t,o=sn(e),n,a=1;a<arguments.length;a++){t=Object(arguments[a]);for(var s in t)nn.call(t,s)&&(o[s]=t[s]);if($t){n=$t(t);for(var p=0;p<n.length;p++)an.call(t,n[p])&&(o[n[p]]=t[n[p]])}}return o}});var lr=oe(($s,It)=>{"use strict";var un="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";It.exports=un});var Hr=oe((Rs,kt)=>{kt.exports=Function.call.bind(Object.prototype.hasOwnProperty)});var Lt=oe((Ms,Bt)=>{"use strict";var Xr=function(){};process.env.NODE_ENV!=="production"&&(jt=lr(),mr={},Dt=Hr(),Xr=function(e){var r="Warning: "+e;typeof console!="undefined"&&console.error(r);try{throw new Error(r)}catch(t){}});var jt,mr,Dt;function Nt(e,r,t,o,n){if(process.env.NODE_ENV!=="production"){for(var a in e)if(Dt(e,a)){var s;try{if(typeof e[a]!="function"){var p=Error((o||"React class")+": "+t+" type `"+a+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[a]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}s=e[a](r,a,o,t,null,jt)}catch(f){s=f}if(s&&!(s instanceof Error)&&Xr((o||"React class")+": type specification of "+t+" `"+a+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof 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)."),s instanceof Error&&!(s.message in mr)){mr[s.message]=!0;var i=n?n():"";Xr("Failed "+t+" type: "+s.message+(i!=null?i:""))}}}}Nt.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(mr={})};Bt.exports=Nt});var Ut=oe((Is,zt)=>{"use strict";var pn=qr(),ln=Mt(),ke=lr(),Jr=Hr(),Ft=Lt(),je=function(){};process.env.NODE_ENV!=="production"&&(je=function(e){var r="Warning: "+e;typeof console!="undefined"&&console.error(r);try{throw new Error(r)}catch(t){}});function cr(){return null}zt.exports=function(e,r){var t=typeof Symbol=="function"&&Symbol.iterator,o="@@iterator";function n(u){var m=u&&(t&&u[t]||u[o]);if(typeof m=="function")return m}var a="<<anonymous>>",s={array:c("array"),bigint:c("bigint"),bool:c("boolean"),func:c("function"),number:c("number"),object:c("object"),string:c("string"),symbol:c("symbol"),any:d(),arrayOf:l,element:T(),elementType:v(),instanceOf:x,node:K(),objectOf:M,oneOf:b,oneOfType:W,shape:j,exact:Q};function p(u,m){return u===m?u!==0||1/u===1/m:u!==u&&m!==m}function i(u,m){this.message=u,this.data=m&&typeof m=="object"?m:{},this.stack=""}i.prototype=Error.prototype;function f(u){if(process.env.NODE_ENV!=="production")var m={},S=0;function C(w,_,O,A,k,$,X){if(A=A||a,$=$||O,X!==ke){if(r){var G=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 G.name="Invariant Violation",G}else if(process.env.NODE_ENV!=="production"&&typeof console!="undefined"){var pe=A+":"+O;!m[pe]&&S<3&&(je("You are manually calling a React.PropTypes validation function for the `"+$+"` prop on `"+A+"`. 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."),m[pe]=!0,S++)}}return _[O]==null?w?_[O]===null?new i("The "+k+" `"+$+"` is marked as required "+("in `"+A+"`, but its value is `null`.")):new i("The "+k+" `"+$+"` is marked as required in "+("`"+A+"`, but its value is `undefined`.")):null:u(_,O,A,k,$)}var E=C.bind(null,!1);return E.isRequired=C.bind(null,!0),E}function c(u){function m(S,C,E,w,_,O){var A=S[C],k=H(A);if(k!==u){var $=I(A);return new i("Invalid "+w+" `"+_+"` of type "+("`"+$+"` supplied to `"+E+"`, expected ")+("`"+u+"`."),{expectedType:u})}return null}return f(m)}function d(){return f(cr)}function l(u){function m(S,C,E,w,_){if(typeof u!="function")return new i("Property `"+_+"` of component `"+E+"` has invalid PropType notation inside arrayOf.");var O=S[C];if(!Array.isArray(O)){var A=H(O);return new i("Invalid "+w+" `"+_+"` of type "+("`"+A+"` supplied to `"+E+"`, expected an array."))}for(var k=0;k<O.length;k++){var $=u(O,k,E,w,_+"["+k+"]",ke);if($ instanceof Error)return $}return null}return f(m)}function T(){function u(m,S,C,E,w){var _=m[S];if(!e(_)){var O=H(_);return new i("Invalid "+E+" `"+w+"` of type "+("`"+O+"` supplied to `"+C+"`, expected a single ReactElement."))}return null}return f(u)}function v(){function u(m,S,C,E,w){var _=m[S];if(!pn.isValidElementType(_)){var O=H(_);return new i("Invalid "+E+" `"+w+"` of type "+("`"+O+"` supplied to `"+C+"`, expected a single ReactElement type."))}return null}return f(u)}function x(u){function m(S,C,E,w,_){if(!(S[C]instanceof u)){var O=u.name||a,A=xe(S[C]);return new i("Invalid "+w+" `"+_+"` of type "+("`"+A+"` supplied to `"+E+"`, expected ")+("instance of `"+O+"`."))}return null}return f(m)}function b(u){if(!Array.isArray(u))return process.env.NODE_ENV!=="production"&&(arguments.length>1?je("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])."):je("Invalid argument supplied to oneOf, expected an array.")),cr;function m(S,C,E,w,_){for(var O=S[C],A=0;A<u.length;A++)if(p(O,u[A]))return null;var k=JSON.stringify(u,function(X,G){var pe=I(G);return pe==="symbol"?String(G):G});return new i("Invalid "+w+" `"+_+"` of value `"+String(O)+"` "+("supplied to `"+E+"`, expected one of "+k+"."))}return f(m)}function M(u){function m(S,C,E,w,_){if(typeof u!="function")return new i("Property `"+_+"` of component `"+E+"` has invalid PropType notation inside objectOf.");var O=S[C],A=H(O);if(A!=="object")return new i("Invalid "+w+" `"+_+"` of type "+("`"+A+"` supplied to `"+E+"`, expected an object."));for(var k in O)if(Jr(O,k)){var $=u(O,k,E,w,_+"."+k,ke);if($ instanceof Error)return $}return null}return f(m)}function W(u){if(!Array.isArray(u))return process.env.NODE_ENV!=="production"&&je("Invalid argument supplied to oneOfType, expected an instance of array."),cr;for(var m=0;m<u.length;m++){var S=u[m];if(typeof S!="function")return je("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ee(S)+" at index "+m+"."),cr}function C(E,w,_,O,A){for(var k=[],$=0;$<u.length;$++){var X=u[$],G=X(E,w,_,O,A,ke);if(G==null)return null;G.data&&Jr(G.data,"expectedType")&&k.push(G.data.expectedType)}var pe=k.length>0?", expected one of type ["+k.join(", ")+"]":"";return new i("Invalid "+O+" `"+A+"` supplied to "+("`"+_+"`"+pe+"."))}return f(C)}function K(){function u(m,S,C,E,w){return te(m[S])?null:new i("Invalid "+E+" `"+w+"` supplied to "+("`"+C+"`, expected a ReactNode."))}return f(u)}function P(u,m,S,C,E){return new i((u||"React class")+": "+m+" type `"+S+"."+C+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+E+"`.")}function j(u){function m(S,C,E,w,_){var O=S[C],A=H(O);if(A!=="object")return new i("Invalid "+w+" `"+_+"` of type `"+A+"` "+("supplied to `"+E+"`, expected `object`."));for(var k in u){var $=u[k];if(typeof $!="function")return P(E,w,_,k,I($));var X=$(O,k,E,w,_+"."+k,ke);if(X)return X}return null}return f(m)}function Q(u){function m(S,C,E,w,_){var O=S[C],A=H(O);if(A!=="object")return new i("Invalid "+w+" `"+_+"` of type `"+A+"` "+("supplied to `"+E+"`, expected `object`."));var k=ln({},S[C],u);for(var $ in k){var X=u[$];if(Jr(u,$)&&typeof X!="function")return P(E,w,_,$,I(X));if(!X)return new i("Invalid "+w+" `"+_+"` key `"+$+"` supplied to `"+E+"`.\nBad object: "+JSON.stringify(S[C],null," ")+`
|
|
2
|
+
Valid keys: `+JSON.stringify(Object.keys(u),null," "));var G=X(O,$,E,w,_+"."+$,ke);if(G)return G}return null}return f(m)}function te(u){switch(typeof u){case"number":case"string":case"undefined":return!0;case"boolean":return!u;case"object":if(Array.isArray(u))return u.every(te);if(u===null||e(u))return!0;var m=n(u);if(m){var S=m.call(u),C;if(m!==u.entries){for(;!(C=S.next()).done;)if(!te(C.value))return!1}else for(;!(C=S.next()).done;){var E=C.value;if(E&&!te(E[1]))return!1}}else return!1;return!0;default:return!1}}function de(u,m){return u==="symbol"?!0:m?m["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&m instanceof Symbol:!1}function H(u){var m=typeof u;return Array.isArray(u)?"array":u instanceof RegExp?"object":de(m,u)?"symbol":m}function I(u){if(typeof u=="undefined"||u===null)return""+u;var m=H(u);if(m==="object"){if(u instanceof Date)return"date";if(u instanceof RegExp)return"regexp"}return m}function ee(u){var m=I(u);switch(m){case"array":case"object":return"an "+m;case"boolean":case"date":case"regexp":return"a "+m;default:return m}}function xe(u){return!u.constructor||!u.constructor.name?a:u.constructor.name}return s.checkPropTypes=Ft,s.resetWarningCache=Ft.resetWarningCache,s.PropTypes=s,s}});var Kt=oe((ks,Vt)=>{"use strict";var mn=lr();function Wt(){}function Yt(){}Yt.resetWarningCache=Wt;Vt.exports=function(){function e(o,n,a,s,p,i){if(i!==mn){var f=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 f.name="Invariant Violation",f}}e.isRequired=e;function r(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:Yt,resetWarningCache:Wt};return t.PropTypes=t,t}});var Qr=oe((js,Zr)=>{process.env.NODE_ENV!=="production"?(Gt=qr(),qt=!0,Zr.exports=Ut()(Gt.isElement,qt)):Zr.exports=Kt()();var Gt,qt});var Xt=oe(B=>{"use strict";var et=Symbol.for("react.element"),rt=Symbol.for("react.portal"),dr=Symbol.for("react.fragment"),xr=Symbol.for("react.strict_mode"),yr=Symbol.for("react.profiler"),gr=Symbol.for("react.provider"),hr=Symbol.for("react.context"),cn=Symbol.for("react.server_context"),br=Symbol.for("react.forward_ref"),vr=Symbol.for("react.suspense"),Tr=Symbol.for("react.suspense_list"),Er=Symbol.for("react.memo"),Sr=Symbol.for("react.lazy"),dn=Symbol.for("react.offscreen"),Ht;Ht=Symbol.for("react.module.reference");function se(e){if(typeof e=="object"&&e!==null){var r=e.$$typeof;switch(r){case et:switch(e=e.type,e){case dr:case yr:case xr:case vr:case Tr:return e;default:switch(e=e&&e.$$typeof,e){case cn:case hr:case br:case Sr:case Er:case gr:return e;default:return r}}case rt:return r}}}B.ContextConsumer=hr;B.ContextProvider=gr;B.Element=et;B.ForwardRef=br;B.Fragment=dr;B.Lazy=Sr;B.Memo=Er;B.Portal=rt;B.Profiler=yr;B.StrictMode=xr;B.Suspense=vr;B.SuspenseList=Tr;B.isAsyncMode=function(){return!1};B.isConcurrentMode=function(){return!1};B.isContextConsumer=function(e){return se(e)===hr};B.isContextProvider=function(e){return se(e)===gr};B.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===et};B.isForwardRef=function(e){return se(e)===br};B.isFragment=function(e){return se(e)===dr};B.isLazy=function(e){return se(e)===Sr};B.isMemo=function(e){return se(e)===Er};B.isPortal=function(e){return se(e)===rt};B.isProfiler=function(e){return se(e)===yr};B.isStrictMode=function(e){return se(e)===xr};B.isSuspense=function(e){return se(e)===vr};B.isSuspenseList=function(e){return se(e)===Tr};B.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===dr||e===yr||e===xr||e===vr||e===Tr||e===dn||typeof e=="object"&&e!==null&&(e.$$typeof===Sr||e.$$typeof===Er||e.$$typeof===gr||e.$$typeof===hr||e.$$typeof===br||e.$$typeof===Ht||e.getModuleId!==void 0)};B.typeOf=se});var Jt=oe(L=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=Symbol.for("react.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),p=Symbol.for("react.server_context"),i=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),l=Symbol.for("react.lazy"),T=Symbol.for("react.offscreen"),v=!1,x=!1,b=!1,M=!1,W=!1,K;K=Symbol.for("react.module.reference");function P(g){return!!(typeof g=="string"||typeof g=="function"||g===t||g===n||W||g===o||g===f||g===c||M||g===T||v||x||b||typeof g=="object"&&g!==null&&(g.$$typeof===l||g.$$typeof===d||g.$$typeof===a||g.$$typeof===s||g.$$typeof===i||g.$$typeof===K||g.getModuleId!==void 0))}function j(g){if(typeof g=="object"&&g!==null){var $e=g.$$typeof;switch($e){case e:var Ze=g.type;switch(Ze){case t:case n:case o:case f:case c:return Ze;default:var vt=Ze&&Ze.$$typeof;switch(vt){case p:case s:case i:case l:case d:case a:return vt;default:return $e}}case r:return $e}}}var Q=s,te=a,de=e,H=i,I=t,ee=l,xe=d,u=r,m=n,S=o,C=f,E=c,w=!1,_=!1;function O(g){return w||(w=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function A(g){return _||(_=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function k(g){return j(g)===s}function $(g){return j(g)===a}function X(g){return typeof g=="object"&&g!==null&&g.$$typeof===e}function G(g){return j(g)===i}function pe(g){return j(g)===t}function Dr(g){return j(g)===l}function Nr(g){return j(g)===d}function Br(g){return j(g)===r}function Lr(g){return j(g)===n}function Fr(g){return j(g)===o}function y(g){return j(g)===f}function Le(g){return j(g)===c}L.ContextConsumer=Q,L.ContextProvider=te,L.Element=de,L.ForwardRef=H,L.Fragment=I,L.Lazy=ee,L.Memo=xe,L.Portal=u,L.Profiler=m,L.StrictMode=S,L.Suspense=C,L.SuspenseList=E,L.isAsyncMode=O,L.isConcurrentMode=A,L.isContextConsumer=k,L.isContextProvider=$,L.isElement=X,L.isForwardRef=G,L.isFragment=pe,L.isLazy=Dr,L.isMemo=Nr,L.isPortal=Br,L.isProfiler=Lr,L.isStrictMode=Fr,L.isSuspense=y,L.isSuspenseList=Le,L.isValidElementType=P,L.typeOf=j}()});var Zt=oe((Ls,tt)=>{"use strict";process.env.NODE_ENV==="production"?tt.exports=Xt():tt.exports=Jt()});import os,{useEffect as ns}from"react";import{Dropzone as as,FileItem as ss}from"@dropzone-ui/react";var Vo={black:"#000",white:"#fff"},Me=Vo;var Ko={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"},Te=Ko;var Go={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"},Ee=Go;var qo={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"},Se=qo;var Ho={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"},_e=Ho;var Xo={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"},Pe=Xo;var Jo={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"},Ie=Jo;var Zo={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"},Pt=Zo;function h(){return h=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},h.apply(this,arguments)}function ce(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Ot(e){if(!ce(e))return e;let r={};return Object.keys(e).forEach(t=>{r[t]=Ot(e[t])}),r}function J(e,r,t={clone:!0}){let o=t.clone?h({},e):e;return ce(e)&&ce(r)&&Object.keys(r).forEach(n=>{n!=="__proto__"&&(ce(r[n])&&n in e&&ce(e[n])?o[n]=J(e[n],r[n],t):t.clone?o[n]=ce(r[n])?Ot(r[n]):r[n]:o[n]=r[n])}),o}function ae(e){let r="https://mui.com/production-error/?code="+e;for(let t=1;t<arguments.length;t+=1)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified MUI error #"+e+"; visit "+r+" for the full message."}var _r=Wr(Zt()),xn=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function yn(e){let r=`${e}`.match(xn);return r&&r[1]||""}function eo(e,r=""){return e.displayName||e.name||yn(e)||r}function Qt(e,r,t){let o=eo(r);return e.displayName||(o!==""?`${t}(${o})`:t)}function Pr(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return eo(e,"Component");if(typeof e=="object")switch(e.$$typeof){case _r.ForwardRef:return Qt(e,e.render,"ForwardRef");case _r.Memo:return Qt(e,e.type,"memo");default:return}}}function ie(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":ae(7));return e.charAt(0).toUpperCase()+e.slice(1)}function ze(e,r){let t=h({},r);return Object.keys(e).forEach(o=>{if(o.toString().match(/^(components|slots)$/))t[o]=h({},e[o],t[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){let n=e[o]||{},a=r[o];t[o]={},!a||!Object.keys(a)?t[o]=n:!n||!Object.keys(n)?t[o]=a:(t[o]=h({},a),Object.keys(n).forEach(s=>{t[o][s]=ze(n[s],a[s])}))}else t[o]===void 0&&(t[o]=e[o])}),t}function Oe(e,r,t=void 0){let o={};return Object.keys(e).forEach(n=>{o[n]=e[n].reduce((a,s)=>{if(s){let p=r(s);p!==""&&a.push(p),t&&t[s]&&a.push(t[s])}return a},[]).join(" ")}),o}var ro=e=>e,gn=()=>{let e=ro;return{configure(r){e=r},generate(r){return e(r)},reset(){e=ro}}},hn=gn(),ot=hn;var bn={active:"active",checked:"checked",completed:"completed",disabled:"disabled",readOnly:"readOnly",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function le(e,r,t="Mui"){let o=bn[r];return o?`${t}-${o}`:`${ot.generate(e)}-${r}`}function Ue(e,r,t="Mui"){let o={};return r.forEach(n=>{o[n]=le(e,n,t)}),o}var Or="$$material";function Y(e,r){if(e==null)return{};var t={},o=Object.keys(e),n,a;for(a=0;a<o.length;a++)n=o[a],!(r.indexOf(n)>=0)&&(t[n]=e[n]);return t}import vn from"@emotion/styled";import{ThemeContext as oo,keyframes as Ei,css as Si}from"@emotion/react";function nt(e,r){let t=vn(e,r);return process.env.NODE_ENV!=="production"?(...o)=>{let n=typeof e=="string"?`"${e}"`:"component";return o.length===0?console.error([`MUI: Seems like you called \`styled(${n})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
3
|
+
`)):o.some(a=>a===void 0)&&console.error(`MUI: the styled(${n})(...args) API requires all its args to be defined.`),t(...o)}:t}var to=(e,r)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=r(e.__emotion_styles))};var Tn=["values","unit","step"];var En=e=>{let r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,o)=>t.val-o.val),r.reduce((t,o)=>h({},t,{[o.key]:o.val}),{})};function at(e){let{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:o=5}=e,n=Y(e,Tn),a=En(r),s=Object.keys(a);function p(l){return`@media (min-width:${typeof r[l]=="number"?r[l]:l}${t})`}function i(l){return`@media (max-width:${(typeof r[l]=="number"?r[l]:l)-o/100}${t})`}function f(l,T){let v=s.indexOf(T);return`@media (min-width:${typeof r[l]=="number"?r[l]:l}${t}) and (max-width:${(v!==-1&&typeof r[s[v]]=="number"?r[s[v]]:T)-o/100}${t})`}function c(l){return s.indexOf(l)+1<s.length?f(l,s[s.indexOf(l)+1]):p(l)}function d(l){let T=s.indexOf(l);return T===0?p(s[1]):T===s.length-1?i(s[T]):f(l,s[s.indexOf(l)+1]).replace("@media","@media not all and")}return h({keys:s,values:a,up:p,down:i,between:f,only:c,not:d,unit:t},n)}var Sn={borderRadius:4},no=Sn;var De=Wr(Qr()),_n=process.env.NODE_ENV!=="production"?De.default.oneOfType([De.default.number,De.default.string,De.default.object,De.default.array]):{},fe=_n;function Pn(e,r){return r?J(e,r,{clone:!1}):e}var ye=Pn;var Cr={xs:0,sm:600,md:900,lg:1200,xl:1536},ao={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Cr[e]}px)`};function Z(e,r,t){let o=e.theme||{};if(Array.isArray(r)){let a=o.breakpoints||ao;return r.reduce((s,p,i)=>(s[a.up(a.keys[i])]=t(r[i]),s),{})}if(typeof r=="object"){let a=o.breakpoints||ao;return Object.keys(r).reduce((s,p)=>{if(Object.keys(a.values||Cr).indexOf(p)!==-1){let i=a.up(p);s[i]=t(r[p],p)}else{let i=p;s[i]=r[i]}return s},{})}return t(r)}function so(e={}){var r;return((r=e.keys)==null?void 0:r.reduce((o,n)=>{let a=e.up(n);return o[a]={},o},{}))||{}}function io(e,r){return e.reduce((t,o)=>{let n=t[o];return(!n||Object.keys(n).length===0)&&delete t[o],t},r)}function Ne(e,r,t=!0){if(!r||typeof r!="string")return null;if(e&&e.vars&&t){let o=`vars.${r}`.split(".").reduce((n,a)=>n&&n[a]?n[a]:null,e);if(o!=null)return o}return r.split(".").reduce((o,n)=>o&&o[n]!=null?o[n]:null,e)}function We(e,r,t,o=t){let n;return typeof e=="function"?n=e(t):Array.isArray(e)?n=e[t]||o:n=Ne(e,t)||o,r&&(n=r(n,o,e)),n}function On(e){let{prop:r,cssProperty:t=e.prop,themeKey:o,transform:n}=e,a=s=>{if(s[r]==null)return null;let p=s[r],i=s.theme,f=Ne(i,o)||{};return Z(s,p,d=>{let l=We(f,n,d);return d===l&&typeof d=="string"&&(l=We(f,n,`${r}${d==="default"?"":ie(d)}`,d)),t===!1?l:{[t]:l}})};return a.propTypes=process.env.NODE_ENV!=="production"?{[r]:fe}:{},a.filterProps=[r],a}var R=On;function st(e){let r={};return t=>(r[t]===void 0&&(r[t]=e(t)),r[t])}var Cn={m:"margin",p:"padding"},wn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},fo={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},An=st(e=>{if(e.length>2)if(fo[e])e=fo[e];else return[e];let[r,t]=e.split(""),o=Cn[r],n=wn[t]||"";return Array.isArray(n)?n.map(a=>o+a):[o+n]}),wr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Ar=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],it=[...wr,...Ar];function Ce(e,r,t,o){var n;let a=(n=Ne(e,r,!1))!=null?n:t;return typeof a=="number"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${o} argument to be a number or a string, got ${s}.`),a*s):Array.isArray(a)?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&(Number.isInteger(s)?s>a.length-1&&console.error([`MUI: The value provided (${s}) overflows.`,`The supported values are: ${JSON.stringify(a)}.`,`${s} > ${a.length-1}, you need to add the missing values.`].join(`
|
|
4
4
|
`)):console.error([`MUI: The \`theme.${r}\` 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.${r}\` as a number.`].join(`
|
|
5
5
|
`))),a[s]):typeof a=="function"?a:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${r}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
6
|
-
`)),()=>{})}function ft(e){return Ce(e,"spacing",8,"spacing")}function we(e,r){if(typeof r=="string"||r==null)return r;let t=Math.abs(r),o=e(t);return r>=0?o:typeof o=="number"?-o:`-${o}`}function An(e,r){return t=>e.reduce((o,n)=>(o[n]=we(r,t),o),{})}function $n(e,r,t,o){if(r.indexOf(t)===-1)return null;let n=wn(t),a=An(n,o),s=e[t];return Z(e,s,a)}function ut(e,r){let t=ft(e.theme);return Object.keys(e).map(o=>$n(e,r,o,t)).reduce(ye,{})}function W(e){return ut(e,wr)}W.propTypes=process.env.NODE_ENV!=="production"?wr.reduce((e,r)=>(e[r]=ie,e),{}):{};W.filterProps=wr;function Y(e){return ut(e,Ar)}Y.propTypes=process.env.NODE_ENV!=="production"?Ar.reduce((e,r)=>(e[r]=ie,e),{}):{};Y.filterProps=Ar;function io(e){return ut(e,it)}io.propTypes=process.env.NODE_ENV!=="production"?it.reduce((e,r)=>(e[r]=ie,e),{}):{};io.filterProps=it;function ue(e){return typeof e!="number"?e:`${e}px solid`}var Rn=M({prop:"border",themeKey:"borders",transform:ue}),Mn=M({prop:"borderTop",themeKey:"borders",transform:ue}),In=M({prop:"borderRight",themeKey:"borders",transform:ue}),kn=M({prop:"borderBottom",themeKey:"borders",transform:ue}),jn=M({prop:"borderLeft",themeKey:"borders",transform:ue}),Dn=M({prop:"borderColor",themeKey:"palette"}),Nn=M({prop:"borderTopColor",themeKey:"palette"}),Bn=M({prop:"borderRightColor",themeKey:"palette"}),Un=M({prop:"borderBottomColor",themeKey:"palette"}),Ln=M({prop:"borderLeftColor",themeKey:"palette"}),Ye=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let r=Ce(e.theme,"shape.borderRadius",4,"borderRadius"),t=o=>({borderRadius:we(r,o)});return Z(e,e.borderRadius,t)}return null};Ye.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:ie}:{};Ye.filterProps=["borderRadius"];var Hi=ge(Rn,Mn,In,kn,jn,Dn,Nn,Bn,Un,Ln,Ye);var Ve=e=>{if(e.gap!==void 0&&e.gap!==null){let r=Ce(e.theme,"spacing",8,"gap"),t=o=>({gap:we(r,o)});return Z(e,e.gap,t)}return null};Ve.propTypes=process.env.NODE_ENV!=="production"?{gap:ie}:{};Ve.filterProps=["gap"];var Ke=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let r=Ce(e.theme,"spacing",8,"columnGap"),t=o=>({columnGap:we(r,o)});return Z(e,e.columnGap,t)}return null};Ke.propTypes=process.env.NODE_ENV!=="production"?{columnGap:ie}:{};Ke.filterProps=["columnGap"];var Ge=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let r=Ce(e.theme,"spacing",8,"rowGap"),t=o=>({rowGap:we(r,o)});return Z(e,e.rowGap,t)}return null};Ge.propTypes=process.env.NODE_ENV!=="production"?{rowGap:ie}:{};Ge.filterProps=["rowGap"];var Fn=M({prop:"gridColumn"}),zn=M({prop:"gridRow"}),Wn=M({prop:"gridAutoFlow"}),Yn=M({prop:"gridAutoColumns"}),Vn=M({prop:"gridAutoRows"}),Kn=M({prop:"gridTemplateColumns"}),Gn=M({prop:"gridTemplateRows"}),qn=M({prop:"gridTemplateAreas"}),Hn=M({prop:"gridArea"}),tf=ge(Ve,Ke,Ge,Fn,zn,Wn,Yn,Vn,Kn,Gn,qn,Hn);function Ae(e,r){return r==="grey"?r:e}var Xn=M({prop:"color",themeKey:"palette",transform:Ae}),Jn=M({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ae}),Zn=M({prop:"backgroundColor",themeKey:"palette",transform:Ae}),sf=ge(Xn,Jn,Zn);function Q(e){return e<=1&&e!==0?`${e*100}%`:e}var Qn=M({prop:"width",transform:Q}),$r=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let r=t=>{var o,n,a;return{maxWidth:((o=e.theme)==null||(n=o.breakpoints)==null||(a=n.values)==null?void 0:a[t])||Cr[t]||Q(t)}};return Z(e,e.maxWidth,r)}return null};$r.filterProps=["maxWidth"];var ea=M({prop:"minWidth",transform:Q}),ra=M({prop:"height",transform:Q}),ta=M({prop:"maxHeight",transform:Q}),oa=M({prop:"minHeight",transform:Q}),cf=M({prop:"size",cssProperty:"width",transform:Q}),mf=M({prop:"size",cssProperty:"height",transform:Q}),na=M({prop:"boxSizing"}),df=ge(Qn,$r,ea,ra,ta,oa,na);var aa={border:{themeKey:"borders",transform:ue},borderTop:{themeKey:"borders",transform:ue},borderRight:{themeKey:"borders",transform:ue},borderBottom:{themeKey:"borders",transform:ue},borderLeft:{themeKey:"borders",transform:ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ye},color:{themeKey:"palette",transform:Ae},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ae},backgroundColor:{themeKey:"palette",transform:Ae},p:{style:Y},pt:{style:Y},pr:{style:Y},pb:{style:Y},pl:{style:Y},px:{style:Y},py:{style:Y},padding:{style:Y},paddingTop:{style:Y},paddingRight:{style:Y},paddingBottom:{style:Y},paddingLeft:{style:Y},paddingX:{style:Y},paddingY:{style:Y},paddingInline:{style:Y},paddingInlineStart:{style:Y},paddingInlineEnd:{style:Y},paddingBlock:{style:Y},paddingBlockStart:{style:Y},paddingBlockEnd:{style:Y},m:{style:W},mt:{style:W},mr:{style:W},mb:{style:W},ml:{style:W},mx:{style:W},my:{style:W},margin:{style:W},marginTop:{style:W},marginRight:{style:W},marginBottom:{style:W},marginLeft:{style:W},marginX:{style:W},marginY:{style:W},marginInline:{style:W},marginInlineStart:{style:W},marginInlineEnd:{style:W},marginBlock:{style:W},marginBlockStart:{style:W},marginBlockEnd:{style:W},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:Ve},rowGap:{style:Ge},columnGap:{style:Ke},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Q},maxWidth:{style:$r},minWidth:{transform:Q},height:{transform:Q},maxHeight:{transform:Q},minHeight:{transform:Q},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},me=aa;function sa(...e){let r=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),t=new Set(r);return e.every(o=>t.size===Object.keys(o).length)}function ia(e,r){return typeof e=="function"?e(r):e}function fo(){function e(t,o,n,a){let s={[t]:o,theme:n},u=a[t];if(!u)return{[t]:o};let{cssProperty:f=t,themeKey:p,transform:d,style:m}=u;if(o==null)return null;let l=Ne(n,p)||{};return m?m(s):Z(s,o,v=>{let x=We(l,d,v);return v===x&&typeof v=="string"&&(x=We(l,d,`${t}${v==="default"?"":se(v)}`,v)),f===!1?x:{[f]:x}})}function r(t){var o;let{sx:n,theme:a={}}=t||{};if(!n)return null;let s=(o=a.unstable_sxConfig)!=null?o:me;function u(f){let p=f;if(typeof f=="function")p=f(a);else if(typeof f!="object")return f;if(!p)return null;let d=no(a.breakpoints),m=Object.keys(d),l=d;return Object.keys(p).forEach(T=>{let v=ia(p[T],a);if(v!=null)if(typeof v=="object")if(s[T])l=ye(l,e(T,v,a,s));else{let x=Z({theme:a},v,h=>({[T]:h}));sa(x,v)?l[T]=r({sx:v,theme:a}):l=ye(l,x)}else l=ye(l,e(T,v,a,s))}),ao(m,l)}return Array.isArray(n)?n.map(u):u(n)}return r}var uo=fo();uo.filterProps=["sx"];var he=uo;var fa=["sx"],ua=e=>{var r,t;let o={systemProps:{},otherProps:{}},n=(r=e==null||(t=e.theme)==null?void 0:t.unstable_sxConfig)!=null?r:me;return Object.keys(e).forEach(a=>{n[a]?o.systemProps[a]=e[a]:o.otherProps[a]=e[a]}),o};function qe(e){let{sx:r}=e,t=z(e,fa),{systemProps:o,otherProps:n}=ua(t),a;return Array.isArray(r)?a=[o,...r]:typeof r=="function"?a=(...s)=>{let u=r(...s);return de(u)?b({},o,u):o}:a=b({},o,r),b({},n,{sx:a})}function po(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=po(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function pa(){for(var e,r,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(r=po(e))&&(o&&(o+=" "),o+=r);return o}var lo=pa;var la=["values","unit","step"];var ca=e=>{let r=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return r.sort((t,o)=>t.val-o.val),r.reduce((t,o)=>b({},t,{[o.key]:o.val}),{})};function pt(e){let{values:r={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:t="px",step:o=5}=e,n=z(e,la),a=ca(r),s=Object.keys(a);function u(l){return`@media (min-width:${typeof r[l]=="number"?r[l]:l}${t})`}function f(l){return`@media (max-width:${(typeof r[l]=="number"?r[l]:l)-o/100}${t})`}function p(l,T){let v=s.indexOf(T);return`@media (min-width:${typeof r[l]=="number"?r[l]:l}${t}) and (max-width:${(v!==-1&&typeof r[s[v]]=="number"?r[s[v]]:T)-o/100}${t})`}function d(l){return s.indexOf(l)+1<s.length?p(l,s[s.indexOf(l)+1]):u(l)}function m(l){let T=s.indexOf(l);return T===0?u(s[1]):T===s.length-1?f(s[T]):p(l,s[s.indexOf(l)+1]).replace("@media","@media not all and")}return b({keys:s,values:a,up:u,down:f,between:p,only:d,not:m,unit:t},n)}var ma={borderRadius:4},co=ma;function lt(e=8){if(e.mui)return e;let r=ft({spacing:e}),t=(...o)=>(process.env.NODE_ENV!=="production"&&(o.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${o.length}`)),(o.length===0?[1]:o).map(a=>{let s=r(a);return typeof s=="number"?`${s}px`:s}).join(" "));return t.mui=!0,t}var da=["breakpoints","palette","spacing","shape"];function xa(e={},...r){let{breakpoints:t={},palette:o={},spacing:n,shape:a={}}=e,s=z(e,da),u=pt(t),f=lt(n),p=J({breakpoints:u,direction:"ltr",components:{},palette:b({mode:"light"},o),spacing:f,shape:b({},co,a)},s);return p=r.reduce((d,m)=>J(d,m),p),p.unstable_sxConfig=b({},me,s==null?void 0:s.unstable_sxConfig),p.unstable_sx=function(m){return he({sx:m,theme:this})},p}var be=xa;import*as mo from"react";var xo=mo.createContext(null);process.env.NODE_ENV!=="production"&&(xo.displayName="ThemeContext");var yo=xo;import*as Rr from"react";function He(){let e=Rr.useContext(yo);return process.env.NODE_ENV!=="production"&&Rr.useDebugValue(e),e}function ya(e){return Object.keys(e).length===0}function ga(e=null){let r=He();return!r||ya(r)?e:r}var go=ga;var ha=be();function ba(e=ha){return go(e)}var ho=ba;var va=["variant"];function bo(e){return e.length===0}function Mr(e){let{variant:r}=e,t=z(e,va),o=r||"";return Object.keys(t).sort().forEach(n=>{n==="color"?o+=bo(o)?e[n]:se(e[n]):o+=`${bo(o)?n:se(n)}${se(e[n].toString())}`}),o}var Ta=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],Ea=["theme"],Sa=["theme"];function Xe(e){return Object.keys(e).length===0}function _a(e){return typeof e=="string"&&e.charCodeAt(0)>96}var Pa=(e,r)=>r.components&&r.components[e]&&r.components[e].styleOverrides?r.components[e].styleOverrides:null,Oa=(e,r)=>{let t=[];r&&r.components&&r.components[e]&&r.components[e].variants&&(t=r.components[e].variants);let o={};return t.forEach(n=>{let a=Mr(n.props);o[a]=n.style}),o},Ca=(e,r,t,o)=>{var n,a;let{ownerState:s={}}=e,u=[],f=t==null||(n=t.components)==null||(a=n[o])==null?void 0:a.variants;return f&&f.forEach(p=>{let d=!0;Object.keys(p.props).forEach(m=>{s[m]!==p.props[m]&&e[m]!==p.props[m]&&(d=!1)}),d&&u.push(r[Mr(p.props)])}),u};function Je(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var wa=be(),Aa=e=>e.charAt(0).toLowerCase()+e.slice(1);function Ir(e={}){let{defaultTheme:r=wa,rootShouldForwardProp:t=Je,slotShouldForwardProp:o=Je}=e,n=a=>{let s=Xe(a.theme)?r:a.theme;return he(b({},a,{theme:s}))};return n.__mui_systemSx=!0,(a,s={})=>{to(a,L=>L.filter(A=>!(A!=null&&A.__mui_systemSx)));let{name:u,slot:f,skipVariantsResolver:p,skipSx:d,overridesResolver:m}=s,l=z(s,Ta),T=p!==void 0?p:f&&f!=="Root"||!1,v=d||!1,x;process.env.NODE_ENV!=="production"&&u&&(x=`${u}-${Aa(f||"Root")}`);let h=Je;f==="Root"?h=t:f?h=o:_a(a)&&(h=void 0);let I=at(a,b({shouldForwardProp:h,label:x},l)),V=(L,...A)=>{let j=A?A.map(P=>typeof P=="function"&&P.__emotion_real!==P?K=>{let{theme:re}=K,pe=z(K,Ea);return P(b({theme:Xe(re)?r:re},pe))}:P):[],ee=L;u&&m&&j.push(P=>{let K=Xe(P.theme)?r:P.theme,re=Pa(u,K);if(re){let pe={};return Object.entries(re).forEach(([i,c])=>{pe[i]=typeof c=="function"?c(b({},P,{theme:K})):c}),m(P,pe)}return null}),u&&!T&&j.push(P=>{let K=Xe(P.theme)?r:P.theme;return Ca(P,Oa(u,K),K,u)}),v||j.push(n);let fe=j.length-A.length;if(Array.isArray(L)&&fe>0){let P=new Array(fe).fill("");ee=[...L,...P],ee.raw=[...L.raw,...P]}else typeof L=="function"&&L.__emotion_real!==L&&(ee=P=>{let{theme:K}=P,re=z(P,Sa);return L(b({theme:Xe(K)?r:K},re))});let xe=I(ee,...j);if(process.env.NODE_ENV!=="production"){let P;u&&(P=`${u}${f||""}`),P===void 0&&(P=`Styled(${Or(a)})`),xe.displayName=P}return xe};return I.withConfig&&(V.withConfig=I.withConfig),V}}function kr(e){let{theme:r,name:t,props:o}=e;return!r||!r.components||!r.components[t]||!r.components[t].defaultProps?o:Fe(r.components[t].defaultProps,o)}function Ze({props:e,name:r,defaultTheme:t}){let o=ho(t);return kr({theme:o,name:r,props:e})}function To(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),Math.min(Math.max(r,e),t)}function $a(e){e=e.slice(1);let r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),t=e.match(r);return t&&t[0].length===1&&(t=t.map(o=>o+o)),t?`rgb${t.length===4?"a":""}(${t.map((o,n)=>n<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Be(e){if(e.type)return e;if(e.charAt(0)==="#")return Be($a(e));let r=e.indexOf("("),t=e.substring(0,r);if(["rgb","rgba","hsl","hsla","color"].indexOf(t)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
7
|
-
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:
|
|
8
|
-
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:
|
|
9
|
-
`))}return
|
|
10
|
-
The color object needs to have a \`main\` property or a \`${
|
|
6
|
+
`)),()=>{})}function ft(e){return Ce(e,"spacing",8,"spacing")}function we(e,r){if(typeof r=="string"||r==null)return r;let t=Math.abs(r),o=e(t);return r>=0?o:typeof o=="number"?-o:`-${o}`}function $n(e,r){return t=>e.reduce((o,n)=>(o[n]=we(r,t),o),{})}function Rn(e,r,t,o){if(r.indexOf(t)===-1)return null;let n=An(t),a=$n(n,o),s=e[t];return Z(e,s,a)}function ut(e,r){let t=ft(e.theme);return Object.keys(e).map(o=>Rn(e,r,o,t)).reduce(ye,{})}function z(e){return ut(e,wr)}z.propTypes=process.env.NODE_ENV!=="production"?wr.reduce((e,r)=>(e[r]=fe,e),{}):{};z.filterProps=wr;function U(e){return ut(e,Ar)}U.propTypes=process.env.NODE_ENV!=="production"?Ar.reduce((e,r)=>(e[r]=fe,e),{}):{};U.filterProps=Ar;function uo(e){return ut(e,it)}uo.propTypes=process.env.NODE_ENV!=="production"?it.reduce((e,r)=>(e[r]=fe,e),{}):{};uo.filterProps=it;function pt(e=8){if(e.mui)return e;let r=ft({spacing:e}),t=(...o)=>(process.env.NODE_ENV!=="production"&&(o.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${o.length}`)),(o.length===0?[1]:o).map(a=>{let s=r(a);return typeof s=="number"?`${s}px`:s}).join(" "));return t.mui=!0,t}function Mn(...e){let r=e.reduce((o,n)=>(n.filterProps.forEach(a=>{o[a]=n}),o),{}),t=o=>Object.keys(o).reduce((n,a)=>r[a]?ye(n,r[a](o)):n,{});return t.propTypes=process.env.NODE_ENV!=="production"?e.reduce((o,n)=>Object.assign(o,n.propTypes),{}):{},t.filterProps=e.reduce((o,n)=>o.concat(n.filterProps),[]),t}var ge=Mn;function ue(e){return typeof e!="number"?e:`${e}px solid`}var In=R({prop:"border",themeKey:"borders",transform:ue}),kn=R({prop:"borderTop",themeKey:"borders",transform:ue}),jn=R({prop:"borderRight",themeKey:"borders",transform:ue}),Dn=R({prop:"borderBottom",themeKey:"borders",transform:ue}),Nn=R({prop:"borderLeft",themeKey:"borders",transform:ue}),Bn=R({prop:"borderColor",themeKey:"palette"}),Ln=R({prop:"borderTopColor",themeKey:"palette"}),Fn=R({prop:"borderRightColor",themeKey:"palette"}),zn=R({prop:"borderBottomColor",themeKey:"palette"}),Un=R({prop:"borderLeftColor",themeKey:"palette"}),Ye=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let r=Ce(e.theme,"shape.borderRadius",4,"borderRadius"),t=o=>({borderRadius:we(r,o)});return Z(e,e.borderRadius,t)}return null};Ye.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:fe}:{};Ye.filterProps=["borderRadius"];var Qi=ge(In,kn,jn,Dn,Nn,Bn,Ln,Fn,zn,Un,Ye);var Ve=e=>{if(e.gap!==void 0&&e.gap!==null){let r=Ce(e.theme,"spacing",8,"gap"),t=o=>({gap:we(r,o)});return Z(e,e.gap,t)}return null};Ve.propTypes=process.env.NODE_ENV!=="production"?{gap:fe}:{};Ve.filterProps=["gap"];var Ke=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let r=Ce(e.theme,"spacing",8,"columnGap"),t=o=>({columnGap:we(r,o)});return Z(e,e.columnGap,t)}return null};Ke.propTypes=process.env.NODE_ENV!=="production"?{columnGap:fe}:{};Ke.filterProps=["columnGap"];var Ge=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let r=Ce(e.theme,"spacing",8,"rowGap"),t=o=>({rowGap:we(r,o)});return Z(e,e.rowGap,t)}return null};Ge.propTypes=process.env.NODE_ENV!=="production"?{rowGap:fe}:{};Ge.filterProps=["rowGap"];var Wn=R({prop:"gridColumn"}),Yn=R({prop:"gridRow"}),Vn=R({prop:"gridAutoFlow"}),Kn=R({prop:"gridAutoColumns"}),Gn=R({prop:"gridAutoRows"}),qn=R({prop:"gridTemplateColumns"}),Hn=R({prop:"gridTemplateRows"}),Xn=R({prop:"gridTemplateAreas"}),Jn=R({prop:"gridArea"}),sf=ge(Ve,Ke,Ge,Wn,Yn,Vn,Kn,Gn,qn,Hn,Xn,Jn);function Ae(e,r){return r==="grey"?r:e}var Zn=R({prop:"color",themeKey:"palette",transform:Ae}),Qn=R({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Ae}),ea=R({prop:"backgroundColor",themeKey:"palette",transform:Ae}),lf=ge(Zn,Qn,ea);function re(e){return e<=1&&e!==0?`${e*100}%`:e}var ra=R({prop:"width",transform:re}),$r=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){let r=t=>{var o,n,a;return{maxWidth:((o=e.theme)==null||(n=o.breakpoints)==null||(a=n.values)==null?void 0:a[t])||Cr[t]||re(t)}};return Z(e,e.maxWidth,r)}return null};$r.filterProps=["maxWidth"];var ta=R({prop:"minWidth",transform:re}),oa=R({prop:"height",transform:re}),na=R({prop:"maxHeight",transform:re}),aa=R({prop:"minHeight",transform:re}),yf=R({prop:"size",cssProperty:"width",transform:re}),gf=R({prop:"size",cssProperty:"height",transform:re}),sa=R({prop:"boxSizing"}),hf=ge(ra,$r,ta,oa,na,aa,sa);var ia={border:{themeKey:"borders",transform:ue},borderTop:{themeKey:"borders",transform:ue},borderRight:{themeKey:"borders",transform:ue},borderBottom:{themeKey:"borders",transform:ue},borderLeft:{themeKey:"borders",transform:ue},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ye},color:{themeKey:"palette",transform:Ae},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Ae},backgroundColor:{themeKey:"palette",transform:Ae},p:{style:U},pt:{style:U},pr:{style:U},pb:{style:U},pl:{style:U},px:{style:U},py:{style:U},padding:{style:U},paddingTop:{style:U},paddingRight:{style:U},paddingBottom:{style:U},paddingLeft:{style:U},paddingX:{style:U},paddingY:{style:U},paddingInline:{style:U},paddingInlineStart:{style:U},paddingInlineEnd:{style:U},paddingBlock:{style:U},paddingBlockStart:{style:U},paddingBlockEnd:{style:U},m:{style:z},mt:{style:z},mr:{style:z},mb:{style:z},ml:{style:z},mx:{style:z},my:{style:z},margin:{style:z},marginTop:{style:z},marginRight:{style:z},marginBottom:{style:z},marginLeft:{style:z},marginX:{style:z},marginY:{style:z},marginInline:{style:z},marginInlineStart:{style:z},marginInlineEnd:{style:z},marginBlock:{style:z},marginBlockStart:{style:z},marginBlockEnd:{style:z},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:Ve},rowGap:{style:Ge},columnGap:{style:Ke},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:re},maxWidth:{style:$r},minWidth:{transform:re},height:{transform:re},maxHeight:{transform:re},minHeight:{transform:re},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}},me=ia;function fa(...e){let r=e.reduce((o,n)=>o.concat(Object.keys(n)),[]),t=new Set(r);return e.every(o=>t.size===Object.keys(o).length)}function ua(e,r){return typeof e=="function"?e(r):e}function po(){function e(t,o,n,a){let s={[t]:o,theme:n},p=a[t];if(!p)return{[t]:o};let{cssProperty:i=t,themeKey:f,transform:c,style:d}=p;if(o==null)return null;if(f==="typography"&&o==="inherit")return{[t]:o};let l=Ne(n,f)||{};return d?d(s):Z(s,o,v=>{let x=We(l,c,v);return v===x&&typeof v=="string"&&(x=We(l,c,`${t}${v==="default"?"":ie(v)}`,v)),i===!1?x:{[i]:x}})}function r(t){var o;let{sx:n,theme:a={}}=t||{};if(!n)return null;let s=(o=a.unstable_sxConfig)!=null?o:me;function p(i){let f=i;if(typeof i=="function")f=i(a);else if(typeof i!="object")return i;if(!f)return null;let c=so(a.breakpoints),d=Object.keys(c),l=c;return Object.keys(f).forEach(T=>{let v=ua(f[T],a);if(v!=null)if(typeof v=="object")if(s[T])l=ye(l,e(T,v,a,s));else{let x=Z({theme:a},v,b=>({[T]:b}));fa(x,v)?l[T]=r({sx:v,theme:a}):l=ye(l,x)}else l=ye(l,e(T,v,a,s))}),io(d,l)}return Array.isArray(n)?n.map(p):p(n)}return r}var lo=po();lo.filterProps=["sx"];var he=lo;var pa=["breakpoints","palette","spacing","shape"];function la(e={},...r){let{breakpoints:t={},palette:o={},spacing:n,shape:a={}}=e,s=Y(e,pa),p=at(t),i=pt(n),f=J({breakpoints:p,direction:"ltr",components:{},palette:h({mode:"light"},o),spacing:i,shape:h({},no,a)},s);return f=r.reduce((c,d)=>J(c,d),f),f.unstable_sxConfig=h({},me,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(d){return he({sx:d,theme:this})},f}var be=la;import*as mo from"react";function ma(e){return Object.keys(e).length===0}function ca(e=null){let r=mo.useContext(oo);return!r||ma(r)?e:r}var co=ca;var da=be();function xa(e=da){return co(e)}var xo=xa;var ya=["sx"],ga=e=>{var r,t;let o={systemProps:{},otherProps:{}},n=(r=e==null||(t=e.theme)==null?void 0:t.unstable_sxConfig)!=null?r:me;return Object.keys(e).forEach(a=>{n[a]?o.systemProps[a]=e[a]:o.otherProps[a]=e[a]}),o};function qe(e){let{sx:r}=e,t=Y(e,ya),{systemProps:o,otherProps:n}=ga(t),a;return Array.isArray(r)?a=[o,...r]:typeof r=="function"?a=(...s)=>{let p=r(...s);return ce(p)?h({},o,p):o}:a=h({},o,r),h({},n,{sx:a})}function yo(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=yo(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function ha(){for(var e,r,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(r=yo(e))&&(o&&(o+=" "),o+=r);return o}var go=ha;var ba=["variant"];function ho(e){return e.length===0}function Rr(e){let{variant:r}=e,t=Y(e,ba),o=r||"";return Object.keys(t).sort().forEach(n=>{n==="color"?o+=ho(o)?e[n]:ie(e[n]):o+=`${ho(o)?n:ie(n)}${ie(e[n].toString())}`}),o}var va=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Ta(e){return Object.keys(e).length===0}function Ea(e){return typeof e=="string"&&e.charCodeAt(0)>96}var Sa=(e,r)=>r.components&&r.components[e]&&r.components[e].styleOverrides?r.components[e].styleOverrides:null,_a=(e,r)=>{let t=[];r&&r.components&&r.components[e]&&r.components[e].variants&&(t=r.components[e].variants);let o={};return t.forEach(n=>{let a=Rr(n.props);o[a]=n.style}),o},Pa=(e,r,t,o)=>{var n,a;let{ownerState:s={}}=e,p=[],i=t==null||(n=t.components)==null||(a=n[o])==null?void 0:a.variants;return i&&i.forEach(f=>{let c=!0;Object.keys(f.props).forEach(d=>{s[d]!==f.props[d]&&e[d]!==f.props[d]&&(c=!1)}),c&&p.push(r[Rr(f.props)])}),p};function Xe(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}var Oa=be(),Ca=e=>e.charAt(0).toLowerCase()+e.slice(1);function He({defaultTheme:e,theme:r,themeId:t}){return Ta(r)?e:r[t]||r}function Mr(e={}){let{themeId:r,defaultTheme:t=Oa,rootShouldForwardProp:o=Xe,slotShouldForwardProp:n=Xe}=e,a=s=>he(h({},s,{theme:He(h({},s,{defaultTheme:t,themeId:r}))}));return a.__mui_systemSx=!0,(s,p={})=>{to(s,P=>P.filter(j=>!(j!=null&&j.__mui_systemSx)));let{name:i,slot:f,skipVariantsResolver:c,skipSx:d,overridesResolver:l}=p,T=Y(p,va),v=c!==void 0?c:f&&f!=="Root"||!1,x=d||!1,b;process.env.NODE_ENV!=="production"&&i&&(b=`${i}-${Ca(f||"Root")}`);let M=Xe;f==="Root"?M=o:f?M=n:Ea(s)&&(M=void 0);let W=nt(s,h({shouldForwardProp:M,label:b},T)),K=(P,...j)=>{let Q=j?j.map(I=>typeof I=="function"&&I.__emotion_real!==I?ee=>I(h({},ee,{theme:He(h({},ee,{defaultTheme:t,themeId:r}))})):I):[],te=P;i&&l&&Q.push(I=>{let ee=He(h({},I,{defaultTheme:t,themeId:r})),xe=Sa(i,ee);if(xe){let u={};return Object.entries(xe).forEach(([m,S])=>{u[m]=typeof S=="function"?S(h({},I,{theme:ee})):S}),l(I,u)}return null}),i&&!v&&Q.push(I=>{let ee=He(h({},I,{defaultTheme:t,themeId:r}));return Pa(I,_a(i,ee),ee,i)}),x||Q.push(a);let de=Q.length-j.length;if(Array.isArray(P)&&de>0){let I=new Array(de).fill("");te=[...P,...I],te.raw=[...P.raw,...I]}else typeof P=="function"&&P.__emotion_real!==P&&(te=I=>P(h({},I,{theme:He(h({},I,{defaultTheme:t,themeId:r}))})));let H=W(te,...Q);if(process.env.NODE_ENV!=="production"){let I;i&&(I=`${i}${f||""}`),I===void 0&&(I=`Styled(${Pr(s)})`),H.displayName=I}return s.muiName&&(H.muiName=s.muiName),H};return W.withConfig&&(K.withConfig=W.withConfig),K}}function Ir(e){let{theme:r,name:t,props:o}=e;return!r||!r.components||!r.components[t]||!r.components[t].defaultProps?o:ze(r.components[t].defaultProps,o)}function Je({props:e,name:r,defaultTheme:t,themeId:o}){let n=xo(t);return o&&(n=n[o]||n),Ir({theme:n,name:r,props:e})}function vo(e,r=0,t=1){return process.env.NODE_ENV!=="production"&&(e<r||e>t)&&console.error(`MUI: The value provided ${e} is out of range [${r}, ${t}].`),Math.min(Math.max(r,e),t)}function wa(e){e=e.slice(1);let r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g"),t=e.match(r);return t&&t[0].length===1&&(t=t.map(o=>o+o)),t?`rgb${t.length===4?"a":""}(${t.map((o,n)=>n<3?parseInt(o,16):Math.round(parseInt(o,16)/255*1e3)/1e3).join(", ")})`:""}function Be(e){if(e.type)return e;if(e.charAt(0)==="#")return Be(wa(e));let r=e.indexOf("("),t=e.substring(0,r);if(["rgb","rgba","hsl","hsla","color"].indexOf(t)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
7
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:ae(9,e));let o=e.substring(r+1,e.length-1),n;if(t==="color"){if(o=o.split(" "),n=o.shift(),o.length===4&&o[3].charAt(0)==="/"&&(o[3]=o[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${n}\` color space.
|
|
8
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:ae(10,n))}else o=o.split(",");return o=o.map(a=>parseFloat(a)),{type:t,values:o,colorSpace:n}}function lt(e){let{type:r,colorSpace:t}=e,{values:o}=e;return r.indexOf("rgb")!==-1?o=o.map((n,a)=>a<3?parseInt(n,10):n):r.indexOf("hsl")!==-1&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),r.indexOf("color")!==-1?o=`${t} ${o.join(" ")}`:o=`${o.join(", ")}`,`${r}(${o})`}function Aa(e){e=Be(e);let{values:r}=e,t=r[0],o=r[1]/100,n=r[2]/100,a=o*Math.min(n,1-n),s=(f,c=(f+t/30)%12)=>n-a*Math.max(Math.min(c-3,9-c,1),-1),p="rgb",i=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(p+="a",i.push(r[3])),lt({type:p,values:i})}function bo(e){e=Be(e);let r=e.type==="hsl"||e.type==="hsla"?Be(Aa(e)).values:e.values;return r=r.map(t=>(e.type!=="color"&&(t/=255),t<=.03928?t/12.92:er((t+.055)/1.055,2.4))),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function mt(e,r){let t=bo(e),o=bo(r);return(Math.max(t,o)+.05)/(Math.min(t,o)+.05)}function To(e,r){if(e=Be(e),r=vo(r),e.type.indexOf("hsl")!==-1)e.values[2]*=1-r;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)e.values[t]*=1-r;return lt(e)}function Eo(e,r){if(e=Be(e),r=vo(r),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*r;else if(e.type.indexOf("rgb")!==-1)for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(e.type.indexOf("color")!==-1)for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return lt(e)}function ct(e,r){return h({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},r)}var $a=["mode","contrastThreshold","tonalOffset"],So={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:Me.white,default:Me.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}},dt={text:{primary:Me.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:Me.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 _o(e,r,t,o){let n=o.light||o,a=o.dark||o*1.5;e[r]||(e.hasOwnProperty(t)?e[r]=e[t]:r==="light"?e.light=Eo(e.main,n):r==="dark"&&(e.dark=To(e.main,a)))}function Ra(e="light"){return e==="dark"?{main:Se[200],light:Se[50],dark:Se[400]}:{main:Se[700],light:Se[400],dark:Se[800]}}function Ma(e="light"){return e==="dark"?{main:Ee[200],light:Ee[50],dark:Ee[400]}:{main:Ee[500],light:Ee[300],dark:Ee[700]}}function Ia(e="light"){return e==="dark"?{main:Te[500],light:Te[300],dark:Te[700]}:{main:Te[700],light:Te[400],dark:Te[800]}}function ka(e="light"){return e==="dark"?{main:_e[400],light:_e[300],dark:_e[700]}:{main:_e[700],light:_e[500],dark:_e[900]}}function ja(e="light"){return e==="dark"?{main:Pe[400],light:Pe[300],dark:Pe[700]}:{main:Pe[800],light:Pe[500],dark:Pe[900]}}function Da(e="light"){return e==="dark"?{main:Ie[400],light:Ie[300],dark:Ie[700]}:{main:"#ed6c02",light:Ie[500],dark:Ie[900]}}function xt(e){let{mode:r="light",contrastThreshold:t=3,tonalOffset:o=.2}=e,n=Y(e,$a),a=e.primary||Ra(r),s=e.secondary||Ma(r),p=e.error||Ia(r),i=e.info||ka(r),f=e.success||ja(r),c=e.warning||Da(r);function d(x){let b=mt(x,dt.text.primary)>=t?dt.text.primary:So.text.primary;if(process.env.NODE_ENV!=="production"){let M=mt(x,b);M<3&&console.error([`MUI: The contrast ratio of ${M}:1 for ${b} on ${x}`,"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(`
|
|
9
|
+
`))}return b}let l=({color:x,name:b,mainShade:M=500,lightShade:W=300,darkShade:K=700})=>{if(x=h({},x),!x.main&&x[M]&&(x.main=x[M]),!x.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
10
|
+
The color object needs to have a \`main\` property or a \`${M}\` property.`:ae(11,b?` (${b})`:"",M));if(typeof x.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${b?` (${b})`:""} provided to augmentColor(color) is invalid.
|
|
11
11
|
\`color.main\` should be a string, but \`${JSON.stringify(x.main)}\` was provided instead.
|
|
12
12
|
|
|
13
13
|
Did you intend to use one of the following approaches?
|
|
@@ -20,8 +20,8 @@ const theme1 = createTheme({ palette: {
|
|
|
20
20
|
|
|
21
21
|
const theme2 = createTheme({ palette: {
|
|
22
22
|
primary: { main: green[500] },
|
|
23
|
-
} });`:
|
|
24
|
-
`))}l[v]={}}}};Object.keys(
|
|
23
|
+
} });`:ae(12,b?` (${b})`:"",JSON.stringify(x.main)));return _o(x,"light",W,o),_o(x,"dark",K,o),x.contrastText||(x.contrastText=d(x.main)),x},T={dark:dt,light:So};return process.env.NODE_ENV!=="production"&&(T[r]||console.error(`MUI: The palette mode \`${r}\` is not supported.`)),J(h({common:h({},Me),mode:r,primary:l({color:a,name:"primary"}),secondary:l({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:l({color:p,name:"error"}),warning:l({color:c,name:"warning"}),info:l({color:i,name:"info"}),success:l({color:f,name:"success"}),grey:Pt,contrastThreshold:t,getContrastText:d,augmentColor:l,tonalOffset:o},T[r]),n)}var Na=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Ba(e){return Math.round(e*1e5)/1e5}var Po={textTransform:"uppercase"},Oo='"Roboto", "Helvetica", "Arial", sans-serif';function yt(e,r){let t=typeof r=="function"?r(e):r,{fontFamily:o=Oo,fontSize:n=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:p=500,fontWeightBold:i=700,htmlFontSize:f=16,allVariants:c,pxToRem:d}=t,l=Y(t,Na);process.env.NODE_ENV!=="production"&&(typeof n!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof f!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));let T=n/14,v=d||(M=>`${M/f*T}rem`),x=(M,W,K,P,j)=>h({fontFamily:o,fontWeight:M,fontSize:v(W),lineHeight:K},o===Oo?{letterSpacing:`${Ba(P/W)}em`}:{},j,c),b={h1:x(a,96,1.167,-1.5),h2:x(a,60,1.2,-.5),h3:x(s,48,1.167,0),h4:x(s,34,1.235,.25),h5:x(s,24,1.334,0),h6:x(p,20,1.6,.15),subtitle1:x(s,16,1.75,.15),subtitle2:x(p,14,1.57,.1),body1:x(s,16,1.5,.15),body2:x(s,14,1.43,.15),button:x(p,14,1.75,.4,Po),caption:x(s,12,1.66,.4),overline:x(s,12,2.66,1,Po),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return J(h({htmlFontSize:f,pxToRem:v,fontFamily:o,fontSize:n,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:p,fontWeightBold:i},b),l,{clone:!1})}function F(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${.2})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${.14})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${.12})`].join(",")}var La=["none",F(0,2,1,-1,0,1,1,0,0,1,3,0),F(0,3,1,-2,0,2,2,0,0,1,5,0),F(0,3,3,-2,0,3,4,0,0,1,8,0),F(0,2,4,-1,0,4,5,0,0,1,10,0),F(0,3,5,-1,0,5,8,0,0,1,14,0),F(0,3,5,-1,0,6,10,0,0,1,18,0),F(0,4,5,-2,0,7,10,1,0,2,16,1),F(0,5,5,-3,0,8,10,1,0,3,14,2),F(0,5,6,-3,0,9,12,1,0,3,16,2),F(0,6,6,-3,0,10,14,1,0,4,18,3),F(0,6,7,-4,0,11,15,1,0,4,20,3),F(0,7,8,-4,0,12,17,2,0,5,22,4),F(0,7,8,-4,0,13,19,2,0,5,24,4),F(0,7,9,-4,0,14,21,2,0,5,26,4),F(0,8,9,-5,0,15,22,2,0,6,28,5),F(0,8,10,-5,0,16,24,2,0,6,30,5),F(0,8,11,-5,0,17,26,2,0,6,32,5),F(0,9,11,-5,0,18,28,2,0,7,34,6),F(0,9,12,-6,0,19,29,2,0,7,36,6),F(0,10,13,-6,0,20,31,3,0,8,38,7),F(0,10,13,-6,0,21,33,3,0,8,40,7),F(0,10,14,-6,0,22,35,3,0,8,42,7),F(0,11,14,-7,0,23,36,3,0,9,44,8),F(0,11,15,-7,0,24,38,3,0,9,46,8)],Co=La;var Fa=["duration","easing","delay"],za={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)"},Ua={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function wo(e){return`${Math.round(e)}ms`}function Wa(e){if(!e)return 0;let r=e/36;return Math.round((4+15*er(r,.25)+r/5)*10)}function gt(e){let r=h({},za,e.easing),t=h({},Ua,e.duration);return h({getAutoHeightDuration:Wa,create:(n=["all"],a={})=>{let{duration:s=t.standard,easing:p=r.easeInOut,delay:i=0}=a,f=Y(a,Fa);if(process.env.NODE_ENV!=="production"){let c=l=>typeof l=="string",d=l=>!isNaN(parseFloat(l));!c(n)&&!Array.isArray(n)&&console.error('MUI: Argument "props" must be a string or Array.'),!d(s)&&!c(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),c(p)||console.error('MUI: Argument "easing" must be a string.'),!d(i)&&!c(i)&&console.error('MUI: Argument "delay" must be a number or a string.'),Object.keys(f).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`)}return(Array.isArray(n)?n:[n]).map(c=>`${c} ${typeof s=="string"?s:wo(s)} ${p} ${typeof i=="string"?i:wo(i)}`).join(",")}},e,{easing:r,duration:t})}var Ya={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Ao=Ya;var Va=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ka(e={},...r){let{mixins:t={},palette:o={},transitions:n={},typography:a={}}=e,s=Y(e,Va);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.":ae(18));let p=xt(o),i=be(e),f=J(i,{mixins:ct(i.breakpoints,t),palette:p,shadows:Co.slice(),typography:yt(p,a),transitions:gt(n),zIndex:h({},Ao)});if(f=J(f,s),f=r.reduce((c,d)=>J(c,d),f),process.env.NODE_ENV!=="production"){let c=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],d=(l,T)=>{let v;for(v in l){let x=l[v];if(c.indexOf(v)!==-1&&Object.keys(x).length>0){if(process.env.NODE_ENV!=="production"){let b=le("",v);console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${v}\` internal state.`,"You can not override it like this: ",JSON.stringify(l,null,2),"",`Instead, you need to use the '&.${b}' syntax:`,JSON.stringify({root:{[`&.${b}`]:x}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
24
|
+
`))}l[v]={}}}};Object.keys(f.components).forEach(l=>{let T=f.components[l].styleOverrides;T&&l.indexOf("Mui")===0&&d(T,l)})}return f.unstable_sxConfig=h({},me,s==null?void 0:s.unstable_sxConfig),f.unstable_sx=function(d){return he({sx:d,theme:this})},f}var $o=Ka;var Ga=$o(),kr=Ga;function ht({props:e,name:r}){return Je({props:e,name:r,defaultTheme:kr,themeId:Or})}var qa=e=>Xe(e)&&e!=="classes";var Ha=Mr({themeId:Or,defaultTheme:kr,rootShouldForwardProp:qa}),Ro=Ha;var bt=ie;var V=Wr(Qr());import*as ko from"react";function Mo(e){return le("MuiTypography",e)}var wl=Ue("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);import{jsx as Ja}from"react/jsx-runtime";var Xa=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Za=e=>{let{align:r,gutterBottom:t,noWrap:o,paragraph:n,variant:a,classes:s}=e,p={root:["root",a,e.align!=="inherit"&&`align${bt(r)}`,t&&"gutterBottom",o&&"noWrap",n&&"paragraph"]};return Oe(p,Mo,s)},Qa=Ro("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.root,t.variant&&r[t.variant],t.align!=="inherit"&&r[`align${bt(t.align)}`],t.noWrap&&r.noWrap,t.gutterBottom&&r.gutterBottom,t.paragraph&&r.paragraph]}})(({theme:e,ownerState:r})=>h({margin:0},r.variant&&e.typography[r.variant],r.align!=="inherit"&&{textAlign:r.align},r.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r.gutterBottom&&{marginBottom:"0.35em"},r.paragraph&&{marginBottom:16})),Io={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},es={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},rs=e=>es[e]||e,jo=ko.forwardRef(function(r,t){let o=ht({props:r,name:"MuiTypography"}),n=rs(o.color),a=qe(h({},o,{color:n})),{align:s="inherit",className:p,component:i,gutterBottom:f=!1,noWrap:c=!1,paragraph:d=!1,variant:l="body1",variantMapping:T=Io}=a,v=Y(a,Xa),x=h({},a,{align:s,color:n,className:p,component:i,gutterBottom:f,noWrap:c,paragraph:d,variant:l,variantMapping:T}),b=i||(d?"p":T[l]||Io[l])||"span",M=Za(x);return Ja(Qa,h({as:b,ref:t,ownerState:x,className:go(M.root,p)},v))});process.env.NODE_ENV!=="production"&&(jo.propTypes={align:V.default.oneOf(["center","inherit","justify","left","right"]),children:V.default.node,classes:V.default.object,className:V.default.string,component:V.default.elementType,gutterBottom:V.default.bool,noWrap:V.default.bool,paragraph:V.default.bool,sx:V.default.oneOfType([V.default.arrayOf(V.default.oneOfType([V.default.func,V.default.object,V.default.bool])),V.default.func,V.default.object]),variant:V.default.oneOfType([V.default.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),V.default.string]),variantMapping:V.default.object});var jr=jo;import{LIcon as is,Tooltip as fs}from"@s_mart/core";import{lineTimes as us}from"@s_mart/regular-icons";import ts from"@emotion/styled";import{colorPalette as Do}from"@s_mart/tokens";var No=ts.button`
|
|
25
25
|
display: flex;
|
|
26
26
|
align-items: center;
|
|
27
27
|
justify-content: center;
|
|
@@ -41,75 +41,88 @@ const theme2 = createTheme({ palette: {
|
|
|
41
41
|
cursor: pointer;
|
|
42
42
|
transition: all 0.3s ease;
|
|
43
43
|
|
|
44
|
-
color: ${
|
|
44
|
+
color: ${Do.neutral[500]};
|
|
45
45
|
|
|
46
46
|
&:hover {
|
|
47
|
-
background-color: ${
|
|
47
|
+
background-color: ${Do.neutral[40]};
|
|
48
48
|
transition: all 0.3s ease;
|
|
49
49
|
}
|
|
50
|
-
`;import{useNotification as
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
@license
|
|
50
|
+
`;import{useNotification as ps}from"@s_mart/hooks";import{Fragment as ms,jsx as ve,jsxs as cs}from"react/jsx-runtime";var ls=i=>{var f=i,{showDeleteAllFilesButton:e=!0,placeholder:r,fileItemProps:t,initialValue:o=[],onClean:n,onReset:a,tratamentoFilesOnChange:s}=f,p=St(f,["showDeleteAllFilesButton","placeholder","fileItemProps","initialValue","onClean","onReset","tratamentoFilesOnChange"]);let{setNotification:c}=ps(),[d,l]=os.useState(o),T=b=>{var K;let M=b.filter(P=>P.valid===!0);l(M);let W={variant:"warning",autoHideDuration:5e3};if(b.length>0){let P=b.filter(j=>j.valid===!1);P.length===1?c(Fe(Re({},W),{title:`Arquivo ${P[0].file.name} inv\xE1lido`,message:(K=P[0].errors)==null?void 0:K[0]})):P.length>1&&P.forEach(j=>{var Q;c(Fe(Re({},W),{title:`Arquivo ${j.file.name} inv\xE1lido`,message:(Q=j.errors)==null?void 0:Q[0]}))})}},v=()=>{l([]),a==null||a()},x=b=>{let M=d.filter(W=>W.id!==b.id);l(M),n==null||n(M)};return ns(()=>{o.length&&l(o)},[o]),ve(as,Fe(Re({localization:"PT-pt",header:!1,footer:!1,headerClassName:"header",view:"grid",value:d},p),{onChange:b=>_t(void 0,null,function*(){var W;let M=b;if(s){let K=yield s(b);K&&(M=K)}T(M),(W=p.onChange)==null||W.call(p,M)}),children:d.length===0?ve("div",{children:r||"Arraste os arquivos aqui ou clique para selecionar"}):cs(ms,{children:[e&&ve(fs,{title:ve(jr,{variant:"bodyMD",children:"Remover"}),children:ve(No,{onClick:b=>{b.preventDefault(),b.stopPropagation(),v()},children:ve(is,{icon:us,size:"24px"})})}),ve("div",{style:{display:"flex"},children:d==null?void 0:d.map(b=>ve(ss,Fe(Re(Re({info:!0,localization:"PT-pt",preview:!0},b),t),{onDelete:()=>x(b)}),b.id))})]})}))};export{ls as Dropzone};
|
|
51
|
+
/*! Bundled license information:
|
|
52
|
+
|
|
53
|
+
react-is/cjs/react-is.production.min.js:
|
|
54
|
+
(** @license React v16.13.1
|
|
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
|
+
*)
|
|
62
|
+
|
|
63
|
+
react-is/cjs/react-is.development.js:
|
|
64
|
+
(** @license React v16.13.1
|
|
65
|
+
* react-is.development.js
|
|
66
|
+
*
|
|
67
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the MIT license found in the
|
|
70
|
+
* LICENSE file in the root directory of this source tree.
|
|
71
|
+
*)
|
|
72
|
+
|
|
73
|
+
object-assign/index.js:
|
|
74
|
+
(*
|
|
75
|
+
object-assign
|
|
76
|
+
(c) Sindre Sorhus
|
|
77
|
+
@license MIT
|
|
78
|
+
*)
|
|
79
|
+
|
|
80
|
+
react-is/cjs/react-is.production.min.js:
|
|
81
|
+
(**
|
|
82
|
+
* @license React
|
|
83
|
+
* react-is.production.min.js
|
|
84
|
+
*
|
|
85
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
86
|
+
*
|
|
87
|
+
* This source code is licensed under the MIT license found in the
|
|
88
|
+
* LICENSE file in the root directory of this source tree.
|
|
89
|
+
*)
|
|
90
|
+
|
|
91
|
+
react-is/cjs/react-is.development.js:
|
|
92
|
+
(**
|
|
93
|
+
* @license React
|
|
94
|
+
* react-is.development.js
|
|
95
|
+
*
|
|
96
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
97
|
+
*
|
|
98
|
+
* This source code is licensed under the MIT license found in the
|
|
99
|
+
* LICENSE file in the root directory of this source tree.
|
|
100
|
+
*)
|
|
101
|
+
|
|
102
|
+
@mui/styled-engine/index.js:
|
|
103
|
+
(**
|
|
104
|
+
* @mui/styled-engine v5.12.3
|
|
105
|
+
*
|
|
106
|
+
* @license MIT
|
|
107
|
+
* This source code is licensed under the MIT license found in the
|
|
108
|
+
* LICENSE file in the root directory of this source tree.
|
|
109
|
+
*)
|
|
110
|
+
|
|
111
|
+
@mui/base/index.js:
|
|
112
|
+
(**
|
|
113
|
+
* @mui/base v5.0.0-alpha.128
|
|
114
|
+
*
|
|
115
|
+
* @license MIT
|
|
116
|
+
* This source code is licensed under the MIT license found in the
|
|
117
|
+
* LICENSE file in the root directory of this source tree.
|
|
118
|
+
*)
|
|
119
|
+
|
|
120
|
+
@mui/material/index.js:
|
|
121
|
+
(**
|
|
122
|
+
* @mui/material v5.12.3
|
|
123
|
+
*
|
|
124
|
+
* @license MIT
|
|
125
|
+
* This source code is licensed under the MIT license found in the
|
|
126
|
+
* LICENSE file in the root directory of this source tree.
|
|
127
|
+
*)
|
|
55
128
|
*/
|
|
56
|
-
/**
|
|
57
|
-
* @license React
|
|
58
|
-
* react-is.development.js
|
|
59
|
-
*
|
|
60
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
61
|
-
*
|
|
62
|
-
* This source code is licensed under the MIT license found in the
|
|
63
|
-
* LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/
|
|
65
|
-
/**
|
|
66
|
-
* @license React
|
|
67
|
-
* react-is.production.min.js
|
|
68
|
-
*
|
|
69
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
70
|
-
*
|
|
71
|
-
* This source code is licensed under the MIT license found in the
|
|
72
|
-
* LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/
|
|
74
|
-
/**
|
|
75
|
-
* @mui/base v5.0.0-alpha.116
|
|
76
|
-
*
|
|
77
|
-
* @license MIT
|
|
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
|
-
*/
|
|
81
|
-
/**
|
|
82
|
-
* @mui/material v5.11.7
|
|
83
|
-
*
|
|
84
|
-
* @license MIT
|
|
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
|
-
*/
|
|
88
|
-
/**
|
|
89
|
-
* @mui/private-theming v5.11.7
|
|
90
|
-
*
|
|
91
|
-
* @license MIT
|
|
92
|
-
* This source code is licensed under the MIT license found in the
|
|
93
|
-
* LICENSE file in the root directory of this source tree.
|
|
94
|
-
*/
|
|
95
|
-
/** @license MUI v5.11.0
|
|
96
|
-
*
|
|
97
|
-
* This source code is licensed under the MIT license found in the
|
|
98
|
-
* LICENSE file in the root directory of this source tree.
|
|
99
|
-
*/
|
|
100
|
-
/** @license React v16.13.1
|
|
101
|
-
* react-is.development.js
|
|
102
|
-
*
|
|
103
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
104
|
-
*
|
|
105
|
-
* This source code is licensed under the MIT license found in the
|
|
106
|
-
* LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/
|
|
108
|
-
/** @license React v16.13.1
|
|
109
|
-
* react-is.production.min.js
|
|
110
|
-
*
|
|
111
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
112
|
-
*
|
|
113
|
-
* This source code is licensed under the MIT license found in the
|
|
114
|
-
* LICENSE file in the root directory of this source tree.
|
|
115
|
-
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@s_mart/dropzone",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,27 +12,30 @@
|
|
|
12
12
|
"scripts": {
|
|
13
13
|
"build": "tsup src/index.tsx --minify --format esm,cjs --dts --external react",
|
|
14
14
|
"dev": "tsup src/index.tsx --format esm,cjs --watch --dts --external react",
|
|
15
|
-
"lint": "eslint src/**/*.ts* --fix"
|
|
16
|
-
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist"
|
|
15
|
+
"lint": "eslint src/**/*.ts* --fix"
|
|
17
16
|
},
|
|
18
17
|
"dependencies": {
|
|
19
18
|
"@dropzone-ui/react": "^6.7.20",
|
|
20
|
-
"@
|
|
21
|
-
"@
|
|
22
|
-
"
|
|
23
|
-
"
|
|
19
|
+
"@s_mart/core": "*",
|
|
20
|
+
"@s_mart/hooks": "*",
|
|
21
|
+
"@s_mart/regular-icons": "*",
|
|
22
|
+
"@s_mart/tokens": "*",
|
|
23
|
+
"@types/react": "18.2.5",
|
|
24
|
+
"@types/react-dom": "18.2.4",
|
|
25
|
+
"tsup": "^6.7.0",
|
|
26
|
+
"typescript": "^5.0.4"
|
|
24
27
|
},
|
|
25
28
|
"peerDependencies": {
|
|
26
|
-
"@emotion/react": ">=11.10.
|
|
27
|
-
"@emotion/styled": ">=11.10.
|
|
29
|
+
"@emotion/react": ">=11.10.8",
|
|
30
|
+
"@emotion/styled": ">=11.10.8",
|
|
28
31
|
"@s_mart/core": "*",
|
|
29
32
|
"@s_mart/hooks": "*",
|
|
30
33
|
"@s_mart/regular-icons": "*",
|
|
31
34
|
"@s_mart/tokens": "*",
|
|
32
|
-
"
|
|
33
|
-
"react
|
|
34
|
-
"
|
|
35
|
-
"
|
|
35
|
+
"axios": ">=1.3.3",
|
|
36
|
+
"react": ">=18.2.0",
|
|
37
|
+
"react-dom": ">=18.2.0",
|
|
38
|
+
"typescript": ">=5.0.4"
|
|
36
39
|
},
|
|
37
40
|
"devDependencies": {
|
|
38
41
|
"@s_mart/eslint": "*",
|