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