form-input-fields
Version:
A customizable form field components built with TypeScript
49 lines • 522 kB
JavaScript
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("react/jsx-runtime"),Re=require("react"),Tt=require("formik"),cp=require("@emotion/styled"),en=require("@emotion/react"),Tr=require("react-dom"),ht=require("@mui/material");function vu(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const v=vu(Re),up=vu(Tr);function Vn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var So={exports:{}},Co={exports:{}},Ne={};/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ol;function dp(){if(ol)return Ne;ol=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function P(C){if(typeof C=="object"&&C!==null){var k=C.$$typeof;switch(k){case t:switch(C=C.type,C){case c:case u:case o:case i:case s:case p:return C;default:switch(C=C&&C.$$typeof,C){case l:case f:case m:case y:case a:return C;default:return k}}case n:return k}}}function S(C){return P(C)===u}return Ne.AsyncMode=c,Ne.ConcurrentMode=u,Ne.ContextConsumer=l,Ne.ContextProvider=a,Ne.Element=t,Ne.ForwardRef=f,Ne.Fragment=o,Ne.Lazy=m,Ne.Memo=y,Ne.Portal=n,Ne.Profiler=i,Ne.StrictMode=s,Ne.Suspense=p,Ne.isAsyncMode=function(C){return S(C)||P(C)===c},Ne.isConcurrentMode=S,Ne.isContextConsumer=function(C){return P(C)===l},Ne.isContextProvider=function(C){return P(C)===a},Ne.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},Ne.isForwardRef=function(C){return P(C)===f},Ne.isFragment=function(C){return P(C)===o},Ne.isLazy=function(C){return P(C)===m},Ne.isMemo=function(C){return P(C)===y},Ne.isPortal=function(C){return P(C)===n},Ne.isProfiler=function(C){return P(C)===i},Ne.isStrictMode=function(C){return P(C)===s},Ne.isSuspense=function(C){return P(C)===p},Ne.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===o||C===u||C===i||C===s||C===p||C===b||typeof C=="object"&&C!==null&&(C.$$typeof===m||C.$$typeof===y||C.$$typeof===a||C.$$typeof===l||C.$$typeof===f||C.$$typeof===h||C.$$typeof===x||C.$$typeof===w||C.$$typeof===d)},Ne.typeOf=P,Ne}var $e={};/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var sl;function fp(){return sl||(sl=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,s=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,p=e?Symbol.for("react.suspense"):60113,b=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,d=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function P(W){return typeof W=="string"||typeof W=="function"||W===o||W===u||W===i||W===s||W===p||W===b||typeof W=="object"&&W!==null&&(W.$$typeof===m||W.$$typeof===y||W.$$typeof===a||W.$$typeof===l||W.$$typeof===f||W.$$typeof===h||W.$$typeof===x||W.$$typeof===w||W.$$typeof===d)}function S(W){if(typeof W=="object"&&W!==null){var re=W.$$typeof;switch(re){case t:var J=W.type;switch(J){case c:case u:case o:case i:case s:case p:return J;default:var ae=J&&J.$$typeof;switch(ae){case l:case f:case m:case y:case a:return ae;default:return re}}case n:return re}}}var C=c,k=u,N=l,V=a,$=t,F=f,D=o,g=m,I=y,E=n,O=i,T=s,M=p,B=!1;function j(W){return B||(B=!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.")),A(W)||S(W)===c}function A(W){return S(W)===u}function _(W){return S(W)===l}function H(W){return S(W)===a}function q(W){return typeof W=="object"&&W!==null&&W.$$typeof===t}function X(W){return S(W)===f}function ee(W){return S(W)===o}function Q(W){return S(W)===m}function te(W){return S(W)===y}function oe(W){return S(W)===n}function ne(W){return S(W)===i}function z(W){return S(W)===s}function Y(W){return S(W)===p}$e.AsyncMode=C,$e.ConcurrentMode=k,$e.ContextConsumer=N,$e.ContextProvider=V,$e.Element=$,$e.ForwardRef=F,$e.Fragment=D,$e.Lazy=g,$e.Memo=I,$e.Portal=E,$e.Profiler=O,$e.StrictMode=T,$e.Suspense=M,$e.isAsyncMode=j,$e.isConcurrentMode=A,$e.isContextConsumer=_,$e.isContextProvider=H,$e.isElement=q,$e.isForwardRef=X,$e.isFragment=ee,$e.isLazy=Q,$e.isMemo=te,$e.isPortal=oe,$e.isProfiler=ne,$e.isStrictMode=z,$e.isSuspense=Y,$e.isValidElementType=P,$e.typeOf=S}()),$e}var il;function xu(){return il||(il=1,process.env.NODE_ENV==="production"?Co.exports=dp():Co.exports=fp()),Co.exports}/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var zs,al;function pp(){if(al)return zs;al=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function s(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var a={},l=0;l<10;l++)a["_"+String.fromCharCode(l)]=l;var c=Object.getOwnPropertyNames(a).map(function(f){return a[f]});if(c.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return zs=s()?Object.assign:function(i,a){for(var l,c=o(i),u,f=1;f<arguments.length;f++){l=Object(arguments[f]);for(var p in l)t.call(l,p)&&(c[p]=l[p]);if(e){u=e(l);for(var b=0;b<u.length;b++)n.call(l,u[b])&&(c[u[b]]=l[u[b]])}}return c},zs}var Us,ll;function Gi(){if(ll)return Us;ll=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Us=e,Us}var Ys,cl;function Su(){return cl||(cl=1,Ys=Function.call.bind(Object.prototype.hasOwnProperty)),Ys}var Hs,ul;function hp(){if(ul)return Hs;ul=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Gi(),n={},o=Su();e=function(i){var a="Warning: "+i;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function s(i,a,l,c,u){if(process.env.NODE_ENV!=="production"){for(var f in i)if(o(i,f)){var p;try{if(typeof i[f]!="function"){var b=Error((c||"React class")+": "+l+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw b.name="Invariant Violation",b}p=i[f](a,f,c,l,null,t)}catch(m){p=m}if(p&&!(p instanceof Error)&&e((c||"React class")+": type specification of "+l+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof p+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),p instanceof Error&&!(p.message in n)){n[p.message]=!0;var y=u?u():"";e("Failed "+l+" type: "+p.message+(y??""))}}}}return s.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},Hs=s,Hs}var qs,dl;function mp(){if(dl)return qs;dl=1;var e=xu(),t=pp(),n=Gi(),o=Su(),s=hp(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(l){var c="Warning: "+l;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return qs=function(l,c){var u=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function p(A){var _=A&&(u&&A[u]||A[f]);if(typeof _=="function")return _}var b="<<anonymous>>",y={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:w(),arrayOf:P,element:S(),elementType:C(),instanceOf:k,node:F(),objectOf:V,oneOf:N,oneOfType:$,shape:g,exact:I};function m(A,_){return A===_?A!==0||1/A===1/_:A!==A&&_!==_}function d(A,_){this.message=A,this.data=_&&typeof _=="object"?_:{},this.stack=""}d.prototype=Error.prototype;function h(A){if(process.env.NODE_ENV!=="production")var _={},H=0;function q(ee,Q,te,oe,ne,z,Y){if(oe=oe||b,z=z||te,Y!==n){if(c){var W=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 W.name="Invariant Violation",W}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var re=oe+":"+te;!_[re]&&H<3&&(i("You are manually calling a React.PropTypes validation function for the `"+z+"` prop on `"+oe+"`. 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."),_[re]=!0,H++)}}return Q[te]==null?ee?Q[te]===null?new d("The "+ne+" `"+z+"` is marked as required "+("in `"+oe+"`, but its value is `null`.")):new d("The "+ne+" `"+z+"` is marked as required in "+("`"+oe+"`, but its value is `undefined`.")):null:A(Q,te,oe,ne,z)}var X=q.bind(null,!1);return X.isRequired=q.bind(null,!0),X}function x(A){function _(H,q,X,ee,Q,te){var oe=H[q],ne=T(oe);if(ne!==A){var z=M(oe);return new d("Invalid "+ee+" `"+Q+"` of type "+("`"+z+"` supplied to `"+X+"`, expected ")+("`"+A+"`."),{expectedType:A})}return null}return h(_)}function w(){return h(a)}function P(A){function _(H,q,X,ee,Q){if(typeof A!="function")return new d("Property `"+Q+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var te=H[q];if(!Array.isArray(te)){var oe=T(te);return new d("Invalid "+ee+" `"+Q+"` of type "+("`"+oe+"` supplied to `"+X+"`, expected an array."))}for(var ne=0;ne<te.length;ne++){var z=A(te,ne,X,ee,Q+"["+ne+"]",n);if(z instanceof Error)return z}return null}return h(_)}function S(){function A(_,H,q,X,ee){var Q=_[H];if(!l(Q)){var te=T(Q);return new d("Invalid "+X+" `"+ee+"` of type "+("`"+te+"` supplied to `"+q+"`, expected a single ReactElement."))}return null}return h(A)}function C(){function A(_,H,q,X,ee){var Q=_[H];if(!e.isValidElementType(Q)){var te=T(Q);return new d("Invalid "+X+" `"+ee+"` of type "+("`"+te+"` supplied to `"+q+"`, expected a single ReactElement type."))}return null}return h(A)}function k(A){function _(H,q,X,ee,Q){if(!(H[q]instanceof A)){var te=A.name||b,oe=j(H[q]);return new d("Invalid "+ee+" `"+Q+"` of type "+("`"+oe+"` supplied to `"+X+"`, expected ")+("instance of `"+te+"`."))}return null}return h(_)}function N(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),a;function _(H,q,X,ee,Q){for(var te=H[q],oe=0;oe<A.length;oe++)if(m(te,A[oe]))return null;var ne=JSON.stringify(A,function(Y,W){var re=M(W);return re==="symbol"?String(W):W});return new d("Invalid "+ee+" `"+Q+"` of value `"+String(te)+"` "+("supplied to `"+X+"`, expected one of "+ne+"."))}return h(_)}function V(A){function _(H,q,X,ee,Q){if(typeof A!="function")return new d("Property `"+Q+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var te=H[q],oe=T(te);if(oe!=="object")return new d("Invalid "+ee+" `"+Q+"` of type "+("`"+oe+"` supplied to `"+X+"`, expected an object."));for(var ne in te)if(o(te,ne)){var z=A(te,ne,X,ee,Q+"."+ne,n);if(z instanceof Error)return z}return null}return h(_)}function $(A){if(!Array.isArray(A))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<A.length;_++){var H=A[_];if(typeof H!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+B(H)+" at index "+_+"."),a}function q(X,ee,Q,te,oe){for(var ne=[],z=0;z<A.length;z++){var Y=A[z],W=Y(X,ee,Q,te,oe,n);if(W==null)return null;W.data&&o(W.data,"expectedType")&&ne.push(W.data.expectedType)}var re=ne.length>0?", expected one of type ["+ne.join(", ")+"]":"";return new d("Invalid "+te+" `"+oe+"` supplied to "+("`"+Q+"`"+re+"."))}return h(q)}function F(){function A(_,H,q,X,ee){return E(_[H])?null:new d("Invalid "+X+" `"+ee+"` supplied to "+("`"+q+"`, expected a ReactNode."))}return h(A)}function D(A,_,H,q,X){return new d((A||"React class")+": "+_+" type `"+H+"."+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function g(A){function _(H,q,X,ee,Q){var te=H[q],oe=T(te);if(oe!=="object")return new d("Invalid "+ee+" `"+Q+"` of type `"+oe+"` "+("supplied to `"+X+"`, expected `object`."));for(var ne in A){var z=A[ne];if(typeof z!="function")return D(X,ee,Q,ne,M(z));var Y=z(te,ne,X,ee,Q+"."+ne,n);if(Y)return Y}return null}return h(_)}function I(A){function _(H,q,X,ee,Q){var te=H[q],oe=T(te);if(oe!=="object")return new d("Invalid "+ee+" `"+Q+"` of type `"+oe+"` "+("supplied to `"+X+"`, expected `object`."));var ne=t({},H[q],A);for(var z in ne){var Y=A[z];if(o(A,z)&&typeof Y!="function")return D(X,ee,Q,z,M(Y));if(!Y)return new d("Invalid "+ee+" `"+Q+"` key `"+z+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(H[q],null," ")+`
Valid keys: `+JSON.stringify(Object.keys(A),null," "));var W=Y(te,z,X,ee,Q+"."+z,n);if(W)return W}return null}return h(_)}function E(A){switch(typeof A){case"number":case"string":case"undefined":return!0;case"boolean":return!A;case"object":if(Array.isArray(A))return A.every(E);if(A===null||l(A))return!0;var _=p(A);if(_){var H=_.call(A),q;if(_!==A.entries){for(;!(q=H.next()).done;)if(!E(q.value))return!1}else for(;!(q=H.next()).done;){var X=q.value;if(X&&!E(X[1]))return!1}}else return!1;return!0;default:return!1}}function O(A,_){return A==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function T(A){var _=typeof A;return Array.isArray(A)?"array":A instanceof RegExp?"object":O(_,A)?"symbol":_}function M(A){if(typeof A>"u"||A===null)return""+A;var _=T(A);if(_==="object"){if(A instanceof Date)return"date";if(A instanceof RegExp)return"regexp"}return _}function B(A){var _=M(A);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function j(A){return!A.constructor||!A.constructor.name?b:A.constructor.name}return y.checkPropTypes=s,y.resetWarningCache=s.resetWarningCache,y.PropTypes=y,y},qs}var Ks,fl;function gp(){if(fl)return Ks;fl=1;var e=Gi();function t(){}function n(){}return n.resetWarningCache=t,Ks=function(){function o(a,l,c,u,f,p){if(p!==e){var b=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 b.name="Invariant Violation",b}}o.isRequired=o;function s(){return o}var i={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:s,element:o,elementType:o,instanceOf:s,node:o,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},Ks}var pl;function yp(){if(pl)return So.exports;if(pl=1,process.env.NODE_ENV!=="production"){var e=xu(),t=!0;So.exports=mp()(e.isElement,t)}else So.exports=gp()();return So.exports}var bp=yp();const r=Vn(bp);function Cu(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Cu(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function fe(){for(var e,t,n=0,o="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Cu(e))&&(o&&(o+=" "),o+=t);return o}function ge(e,t,n=void 0){const o={};for(const s in e){const i=e[s];let a="",l=!0;for(let c=0;c<i.length;c+=1){const u=i[c];u&&(a+=(l===!0?"":" ")+t(u),l=!1,n&&n[u]&&(a+=" "+n[u]))}o[s]=a}return o}let hl=0;function vp(e){const[t,n]=v.useState(e),o=e||t;return v.useEffect(()=>{t==null&&(hl+=1,n(`mui-${hl}`))},[t]),o}const xp={...v},ml=xp.useId;function gn(e){if(ml!==void 0){const t=ml();return e??t}return vp(e)}const rt=r.oneOfType([r.func,r.object]);function zt(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(o=>n.searchParams.append("args[]",o)),`Minified MUI error #${e}; visit ${n} for the full message.`}function se(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":zt(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Po={exports:{}},Ve={};/**
* @license React
* react-is.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var gl;function Sp(){if(gl)return Ve;gl=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),b=Symbol.for("react.view_transition"),y=Symbol.for("react.client.reference");function m(d){if(typeof d=="object"&&d!==null){var h=d.$$typeof;switch(h){case e:switch(d=d.type,d){case n:case s:case o:case c:case u:case b:return d;default:switch(d=d&&d.$$typeof,d){case a:case l:case p:case f:return d;case i:return d;default:return h}}case t:return h}}}return Ve.ContextConsumer=i,Ve.ContextProvider=a,Ve.Element=e,Ve.ForwardRef=l,Ve.Fragment=n,Ve.Lazy=p,Ve.Memo=f,Ve.Portal=t,Ve.Profiler=s,Ve.StrictMode=o,Ve.Suspense=c,Ve.SuspenseList=u,Ve.isContextConsumer=function(d){return m(d)===i},Ve.isContextProvider=function(d){return m(d)===a},Ve.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===e},Ve.isForwardRef=function(d){return m(d)===l},Ve.isFragment=function(d){return m(d)===n},Ve.isLazy=function(d){return m(d)===p},Ve.isMemo=function(d){return m(d)===f},Ve.isPortal=function(d){return m(d)===t},Ve.isProfiler=function(d){return m(d)===s},Ve.isStrictMode=function(d){return m(d)===o},Ve.isSuspense=function(d){return m(d)===c},Ve.isSuspenseList=function(d){return m(d)===u},Ve.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===n||d===s||d===o||d===c||d===u||typeof d=="object"&&d!==null&&(d.$$typeof===p||d.$$typeof===f||d.$$typeof===a||d.$$typeof===i||d.$$typeof===l||d.$$typeof===y||d.getModuleId!==void 0)},Ve.typeOf=m,Ve}var _e={};/**
* @license React
* react-is.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var yl;function Cp(){return yl||(yl=1,process.env.NODE_ENV!=="production"&&function(){function e(d){if(typeof d=="object"&&d!==null){var h=d.$$typeof;switch(h){case t:switch(d=d.type,d){case o:case i:case s:case u:case f:case y:return d;default:switch(d=d&&d.$$typeof,d){case l:case c:case b:case p:return d;case a:return d;default:return h}}case n:return h}}}var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),y=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");_e.ContextConsumer=a,_e.ContextProvider=l,_e.Element=t,_e.ForwardRef=c,_e.Fragment=o,_e.Lazy=b,_e.Memo=p,_e.Portal=n,_e.Profiler=i,_e.StrictMode=s,_e.Suspense=u,_e.SuspenseList=f,_e.isContextConsumer=function(d){return e(d)===a},_e.isContextProvider=function(d){return e(d)===l},_e.isElement=function(d){return typeof d=="object"&&d!==null&&d.$$typeof===t},_e.isForwardRef=function(d){return e(d)===c},_e.isFragment=function(d){return e(d)===o},_e.isLazy=function(d){return e(d)===b},_e.isMemo=function(d){return e(d)===p},_e.isPortal=function(d){return e(d)===n},_e.isProfiler=function(d){return e(d)===i},_e.isStrictMode=function(d){return e(d)===s},_e.isSuspense=function(d){return e(d)===u},_e.isSuspenseList=function(d){return e(d)===f},_e.isValidElementType=function(d){return typeof d=="string"||typeof d=="function"||d===o||d===i||d===s||d===u||d===f||typeof d=="object"&&d!==null&&(d.$$typeof===b||d.$$typeof===p||d.$$typeof===l||d.$$typeof===a||d.$$typeof===c||d.$$typeof===m||d.getModuleId!==void 0)},_e.typeOf=e}()),_e}var bl;function Pp(){return bl||(bl=1,process.env.NODE_ENV==="production"?Po.exports=Sp():Po.exports=Cp()),Po.exports}var Wo=Pp();function Lt(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Pu(e){if(v.isValidElement(e)||Wo.isValidElementType(e)||!Lt(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Pu(e[n])}),t}function dt(e,t,n={clone:!0}){const o=n.clone?{...e}:e;return Lt(e)&&Lt(t)&&Object.keys(t).forEach(s=>{v.isValidElement(t[s])||Wo.isValidElementType(t[s])?o[s]=t[s]:Lt(t[s])&&Object.prototype.hasOwnProperty.call(e,s)&&Lt(e[s])?o[s]=dt(e[s],t[s],n):n.clone?o[s]=Lt(t[s])?Pu(t[s]):t[s]:o[s]=t[s]}),o}function Nr(e,t){return t?dt(e,t,{clone:!1}):e}const yn=process.env.NODE_ENV!=="production"?r.oneOfType([r.number,r.string,r.object,r.array]):{};function vl(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(o=>o.startsWith("@container")).sort((o,s)=>{const i=/min-width:\s*([0-9.]+)/;return+(o.match(i)?.[1]||0)-+(s.match(i)?.[1]||0)});return n.length?n.reduce((o,s)=>{const i=t[s];return delete o[s],o[s]=i,o},{...t}):t}function wp(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function Ep(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n){if(process.env.NODE_ENV!=="production")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The provided shorthand ${`(${t})`} is invalid. The format should be \`@<breakpoint | number>\` or \`@<breakpoint | number>/<container>\`.
For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:zt(18,`(${t})`));return null}const[,o,s]=n,i=Number.isNaN(+o)?o||0:+o;return e.containerQueries(s).up(i)}function Tp(e){const t=(i,a)=>i.replace("@media",a?`@container ${a}`:"@container");function n(i,a){i.up=(...l)=>t(e.breakpoints.up(...l),a),i.down=(...l)=>t(e.breakpoints.down(...l),a),i.between=(...l)=>t(e.breakpoints.between(...l),a),i.only=(...l)=>t(e.breakpoints.only(...l),a),i.not=(...l)=>{const c=t(e.breakpoints.not(...l),a);return c.includes("not all and")?c.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):c}}const o={},s=i=>(n(o,i),o);return n(s),{...e,containerQueries:s}}const rs={xs:0,sm:600,md:900,lg:1200,xl:1536},xl={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${rs[e]}px)`},Op={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:rs[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Xt(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const i=o.breakpoints||xl;return t.reduce((a,l,c)=>(a[i.up(i.keys[c])]=n(t[c]),a),{})}if(typeof t=="object"){const i=o.breakpoints||xl;return Object.keys(t).reduce((a,l)=>{if(wp(i.keys,l)){const c=Ep(o.containerQueries?o:Op,l);c&&(a[c]=n(t[l],l))}else if(Object.keys(i.values||rs).includes(l)){const c=i.up(l);a[c]=n(t[l],l)}else{const c=l;a[c]=t[c]}return a},{})}return n(t)}function Rp(e={}){return e.keys?.reduce((n,o)=>{const s=e.up(o);return n[s]={},n},{})||{}}function Sl(e,t){return e.reduce((n,o)=>{const s=n[o];return(!s||Object.keys(s).length===0)&&delete n[o],n},t)}function os(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const o=`vars.${t}`.split(".").reduce((s,i)=>s&&s[i]?s[i]:null,e);if(o!=null)return o}return t.split(".").reduce((o,s)=>o&&o[s]!=null?o[s]:null,e)}function zo(e,t,n,o=n){let s;return typeof e=="function"?s=e(n):Array.isArray(e)?s=e[n]||o:s=os(e,n)||o,t&&(s=t(s,o,e)),s}function tt(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:s}=e,i=a=>{if(a[t]==null)return null;const l=a[t],c=a.theme,u=os(c,o)||{};return Xt(a,l,p=>{let b=zo(u,s,p);return p===b&&typeof p=="string"&&(b=zo(u,s,`${t}${p==="default"?"":se(p)}`,p)),n===!1?b:{[n]:b}})};return i.propTypes=process.env.NODE_ENV!=="production"?{[t]:yn}:{},i.filterProps=[t],i}function kp(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const Dp={m:"margin",p:"padding"},Mp={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Cl={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ip=kp(e=>{if(e.length>2)if(Cl[e])e=Cl[e];else return[e];const[t,n]=e.split(""),o=Dp[t],s=Mp[n]||"";return Array.isArray(s)?s.map(i=>o+i):[o+s]}),ss=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],is=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],Np=[...ss,...is];function to(e,t,n,o){const s=os(e,t,!0)??n;return typeof s=="number"||typeof s=="string"?i=>typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&typeof i!="number"&&console.error(`MUI: Expected ${o} argument to be a number or a string, got ${i}.`),typeof s=="string"?s.startsWith("var(")&&i===0?0:s.startsWith("var(")&&i===1?s:`calc(${i} * ${s})`:s*i):Array.isArray(s)?i=>{if(typeof i=="string")return i;const a=Math.abs(i);process.env.NODE_ENV!=="production"&&(Number.isInteger(a)?a>s.length-1&&console.error([`MUI: The value provided (${a}) overflows.`,`The supported values are: ${JSON.stringify(s)}.`,`${a} > ${s.length-1}, you need to add the missing values.`].join(`
`)):console.error([`MUI: The \`theme.${t}\` array type cannot be combined with non integer values.You should either use an integer value that can be used as index, or define the \`theme.${t}\` as a number.`].join(`
`)));const l=s[a];return i>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof s=="function"?s:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${s}) is invalid.`,"It should be a number, an array or a function."].join(`
`)),()=>{})}function Xi(e){return to(e,"spacing",8,"spacing")}function no(e,t){return typeof t=="string"||t==null?t:e(t)}function $p(e,t){return n=>e.reduce((o,s)=>(o[s]=no(t,n),o),{})}function Ap(e,t,n,o){if(!t.includes(n))return null;const s=Ip(n),i=$p(s,o),a=e[n];return Xt(e,a,i)}function wu(e,t){const n=Xi(e.theme);return Object.keys(e).map(o=>Ap(e,t,o,n)).reduce(Nr,{})}function Je(e){return wu(e,ss)}Je.propTypes=process.env.NODE_ENV!=="production"?ss.reduce((e,t)=>(e[t]=yn,e),{}):{};Je.filterProps=ss;function et(e){return wu(e,is)}et.propTypes=process.env.NODE_ENV!=="production"?is.reduce((e,t)=>(e[t]=yn,e),{}):{};et.filterProps=is;process.env.NODE_ENV!=="production"&&Np.reduce((e,t)=>(e[t]=yn,e),{});function as(...e){const t=e.reduce((o,s)=>(s.filterProps.forEach(i=>{o[i]=s}),o),{}),n=o=>Object.keys(o).reduce((s,i)=>t[i]?Nr(s,t[i](o)):s,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((o,s)=>Object.assign(o,s.propTypes),{}):{},n.filterProps=e.reduce((o,s)=>o.concat(s.filterProps),[]),n}function wt(e){return typeof e!="number"?e:`${e}px solid`}function kt(e,t){return tt({prop:e,themeKey:"borders",transform:t})}const Fp=kt("border",wt),jp=kt("borderTop",wt),Vp=kt("borderRight",wt),_p=kt("borderBottom",wt),Lp=kt("borderLeft",wt),Bp=kt("borderColor"),Wp=kt("borderTopColor"),zp=kt("borderRightColor"),Up=kt("borderBottomColor"),Yp=kt("borderLeftColor"),Hp=kt("outline",wt),qp=kt("outlineColor"),ls=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=to(e.theme,"shape.borderRadius",4,"borderRadius"),n=o=>({borderRadius:no(t,o)});return Xt(e,e.borderRadius,n)}return null};ls.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:yn}:{};ls.filterProps=["borderRadius"];as(Fp,jp,Vp,_p,Lp,Bp,Wp,zp,Up,Yp,ls,Hp,qp);const cs=e=>{if(e.gap!==void 0&&e.gap!==null){const t=to(e.theme,"spacing",8,"gap"),n=o=>({gap:no(t,o)});return Xt(e,e.gap,n)}return null};cs.propTypes=process.env.NODE_ENV!=="production"?{gap:yn}:{};cs.filterProps=["gap"];const us=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=to(e.theme,"spacing",8,"columnGap"),n=o=>({columnGap:no(t,o)});return Xt(e,e.columnGap,n)}return null};us.propTypes=process.env.NODE_ENV!=="production"?{columnGap:yn}:{};us.filterProps=["columnGap"];const ds=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=to(e.theme,"spacing",8,"rowGap"),n=o=>({rowGap:no(t,o)});return Xt(e,e.rowGap,n)}return null};ds.propTypes=process.env.NODE_ENV!=="production"?{rowGap:yn}:{};ds.filterProps=["rowGap"];const Kp=tt({prop:"gridColumn"}),Gp=tt({prop:"gridRow"}),Xp=tt({prop:"gridAutoFlow"}),Qp=tt({prop:"gridAutoColumns"}),Zp=tt({prop:"gridAutoRows"}),Jp=tt({prop:"gridTemplateColumns"}),eh=tt({prop:"gridTemplateRows"}),th=tt({prop:"gridTemplateAreas"}),nh=tt({prop:"gridArea"});as(cs,us,ds,Kp,Gp,Xp,Qp,Zp,Jp,eh,th,nh);function Zn(e,t){return t==="grey"?t:e}const rh=tt({prop:"color",themeKey:"palette",transform:Zn}),oh=tt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Zn}),sh=tt({prop:"backgroundColor",themeKey:"palette",transform:Zn});as(rh,oh,sh);function vt(e){return e<=1&&e!==0?`${e*100}%`:e}const ih=tt({prop:"width",transform:vt}),Qi=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{const o=e.theme?.breakpoints?.values?.[n]||rs[n];return o?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:vt(n)}};return Xt(e,e.maxWidth,t)}return null};Qi.filterProps=["maxWidth"];const ah=tt({prop:"minWidth",transform:vt}),lh=tt({prop:"height",transform:vt}),ch=tt({prop:"maxHeight",transform:vt}),uh=tt({prop:"minHeight",transform:vt});tt({prop:"size",cssProperty:"width",transform:vt});tt({prop:"size",cssProperty:"height",transform:vt});const dh=tt({prop:"boxSizing"});as(ih,Qi,ah,lh,ch,uh,dh);const ro={border:{themeKey:"borders",transform:wt},borderTop:{themeKey:"borders",transform:wt},borderRight:{themeKey:"borders",transform:wt},borderBottom:{themeKey:"borders",transform:wt},borderLeft:{themeKey:"borders",transform:wt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:wt},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:ls},color:{themeKey:"palette",transform:Zn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Zn},backgroundColor:{themeKey:"palette",transform:Zn},p:{style:et},pt:{style:et},pr:{style:et},pb:{style:et},pl:{style:et},px:{style:et},py:{style:et},padding:{style:et},paddingTop:{style:et},paddingRight:{style:et},paddingBottom:{style:et},paddingLeft:{style:et},paddingX:{style:et},paddingY:{style:et},paddingInline:{style:et},paddingInlineStart:{style:et},paddingInlineEnd:{style:et},paddingBlock:{style:et},paddingBlockStart:{style:et},paddingBlockEnd:{style:et},m:{style:Je},mt:{style:Je},mr:{style:Je},mb:{style:Je},ml:{style:Je},mx:{style:Je},my:{style:Je},margin:{style:Je},marginTop:{style:Je},marginRight:{style:Je},marginBottom:{style:Je},marginLeft:{style:Je},marginX:{style:Je},marginY:{style:Je},marginInline:{style:Je},marginInlineStart:{style:Je},marginInlineEnd:{style:Je},marginBlock:{style:Je},marginBlockStart:{style:Je},marginBlockEnd:{style:Je},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:cs},rowGap:{style:ds},columnGap:{style:us},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:vt},maxWidth:{style:Qi},minWidth:{transform:vt},height:{transform:vt},maxHeight:{transform:vt},minHeight:{transform:vt},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function fh(...e){const t=e.reduce((o,s)=>o.concat(Object.keys(s)),[]),n=new Set(t);return e.every(o=>n.size===Object.keys(o).length)}function ph(e,t){return typeof e=="function"?e(t):e}function hh(){function e(n,o,s,i){const a={[n]:o,theme:s},l=i[n];if(!l)return{[n]:o};const{cssProperty:c=n,themeKey:u,transform:f,style:p}=l;if(o==null)return null;if(u==="typography"&&o==="inherit")return{[n]:o};const b=os(s,u)||{};return p?p(a):Xt(a,o,m=>{let d=zo(b,f,m);return m===d&&typeof m=="string"&&(d=zo(b,f,`${n}${m==="default"?"":se(m)}`,m)),c===!1?d:{[c]:d}})}function t(n){const{sx:o,theme:s={},nested:i}=n||{};if(!o)return null;const a=s.unstable_sxConfig??ro;function l(c){let u=c;if(typeof c=="function")u=c(s);else if(typeof c!="object")return c;if(!u)return null;const f=Rp(s.breakpoints),p=Object.keys(f);let b=f;return Object.keys(u).forEach(y=>{const m=ph(u[y],s);if(m!=null)if(typeof m=="object")if(a[y])b=Nr(b,e(y,m,s,a));else{const d=Xt({theme:s},m,h=>({[y]:h}));fh(d,m)?b[y]=t({sx:m,theme:s,nested:!0}):b=Nr(b,d)}else b=Nr(b,e(y,m,s,a))}),!i&&s.modularCssLayers?{"@layer sx":vl(s,Sl(p,b))}:vl(s,Sl(p,b))}return Array.isArray(o)?o.map(l):l(o)}return t}const nr=hh();nr.filterProps=["sx"];const mh=e=>{const t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??ro;return Object.keys(e).forEach(o=>{n[o]?t.systemProps[o]=e[o]:t.otherProps[o]=e[o]}),t};function gh(e){const{sx:t,...n}=e,{systemProps:o,otherProps:s}=mh(n);let i;return Array.isArray(t)?i=[o,...t]:typeof t=="function"?i=(...a)=>{const l=t(...a);return Lt(l)?{...o,...l}:o}:i={...o,...t},{...s,sx:i}}function yh(e){for(var t=0,n,o=0,s=e.length;s>=4;++o,s-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(s){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var bh={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function vh(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var xh=/[A-Z]|^ms/g,Sh=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Eu=function(t){return t.charCodeAt(1)===45},Pl=function(t){return t!=null&&typeof t!="boolean"},Gs=vh(function(e){return Eu(e)?e:e.replace(xh,"-$&").toLowerCase()}),wl=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Sh,function(o,s,i){return ln={name:s,styles:i,next:ln},s})}return bh[t]!==1&&!Eu(t)&&typeof n=="number"&&n!==0?n+"px":n};function Uo(e,t,n){if(n==null)return"";var o=n;if(o.__emotion_styles!==void 0)return o;switch(typeof n){case"boolean":return"";case"object":{var s=n;if(s.anim===1)return ln={name:s.name,styles:s.styles,next:ln},s.name;var i=n;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)ln={name:a.name,styles:a.styles,next:ln},a=a.next;var l=i.styles+";";return l}return Ch(e,t,n)}}var c=n;return c}function Ch(e,t,n){var o="";if(Array.isArray(n))for(var s=0;s<n.length;s++)o+=Uo(e,t,n[s])+";";else for(var i in n){var a=n[i];if(typeof a!="object"){var l=a;Pl(l)&&(o+=Gs(i)+":"+wl(i,l)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var c=0;c<a.length;c++)Pl(a[c])&&(o+=Gs(i)+":"+wl(i,a[c])+";");else{var u=Uo(e,t,a);switch(i){case"animation":case"animationName":{o+=Gs(i)+":"+u+";";break}default:o+=i+"{"+u+"}"}}}return o}var El=/label:\s*([^\s;{]+)\s*(;|$)/g,ln;function Ph(e,t,n){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,s="";ln=void 0;var i=e[0];if(i==null||i.raw===void 0)o=!1,s+=Uo(n,t,i);else{var a=i;s+=a[0]}for(var l=1;l<e.length;l++)if(s+=Uo(n,t,e[l]),o){var c=i;s+=c[l]}El.lastIndex=0;for(var u="",f;(f=El.exec(s))!==null;)u+="-"+f[1];var p=yh(s)+u;return{name:p,styles:s,next:ln}}function wh(e){return e==null||Object.keys(e).length===0}function Tu(e){const{styles:t,defaultTheme:n={}}=e,o=typeof t=="function"?s=>t(wh(s)?n:s):t;return R.jsx(en.Global,{styles:o})}process.env.NODE_ENV!=="production"&&(Tu.propTypes={defaultTheme:r.object,styles:r.oneOfType([r.array,r.string,r.object,r.func])});/**
* @mui/styled-engine v7.3.2
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/function Eh(e,t){const n=cp(e,t);return process.env.NODE_ENV!=="production"?(...o)=>{const s=typeof e=="string"?`"${e}"`:"component";return o.length===0?console.error([`MUI: Seems like you called \`styled(${s})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
`)):o.some(i=>i===void 0)&&console.error(`MUI: the styled(${s})(...args) API requires all its args to be defined.`),n(...o)}:n}function Th(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const Tl=[];function cn(e){return Tl[0]=e,Ph(Tl)}const Oh=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,o)=>n.val-o.val),t.reduce((n,o)=>({...n,[o.key]:o.val}),{})};function Rh(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5,...s}=e,i=Oh(t),a=Object.keys(i);function l(b){return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n})`}function c(b){return`@media (max-width:${(typeof t[b]=="number"?t[b]:b)-o/100}${n})`}function u(b,y){const m=a.indexOf(y);return`@media (min-width:${typeof t[b]=="number"?t[b]:b}${n}) and (max-width:${(m!==-1&&typeof t[a[m]]=="number"?t[a[m]]:y)-o/100}${n})`}function f(b){return a.indexOf(b)+1<a.length?u(b,a[a.indexOf(b)+1]):l(b)}function p(b){const y=a.indexOf(b);return y===0?l(a[1]):y===a.length-1?c(a[y]):u(b,a[a.indexOf(b)+1]).replace("@media","@media not all and")}return{keys:a,values:i,up:l,down:c,between:u,only:f,not:p,unit:n,...s}}const kh={borderRadius:4};function Ou(e=8,t=Xi({spacing:e})){if(e.mui)return e;const n=(...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(i=>{const a=t(i);return typeof a=="number"?`${a}px`:a}).join(" "));return n.mui=!0,n}function Dh(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function Zi(e={},...t){const{breakpoints:n={},palette:o={},spacing:s,shape:i={},...a}=e,l=Rh(n),c=Ou(s);let u=dt({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...o},spacing:c,shape:{...kh,...i}},a);return u=Tp(u),u.applyStyles=Dh,u=t.reduce((f,p)=>dt(f,p),u),u.unstable_sxConfig={...ro,...a?.unstable_sxConfig},u.unstable_sx=function(p){return nr({sx:p,theme:this})},u}function Mh(e){return Object.keys(e).length===0}function Ru(e=null){const t=v.useContext(en.ThemeContext);return!t||Mh(t)?e:t}const Ih=Zi();function Ji(e=Ih){return Ru(e)}function Xs(e){const t=cn(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function ku({styles:e,themeId:t,defaultTheme:n={}}){const o=Ji(n),s=t&&o[t]||o;let i=typeof e=="function"?e(s):e;return s.modularCssLayers&&(Array.isArray(i)?i=i.map(a=>Xs(typeof a=="function"?a(s):a)):i=Xs(i)),R.jsx(Tu,{styles:i})}process.env.NODE_ENV!=="production"&&(ku.propTypes={defaultTheme:r.object,styles:r.oneOfType([r.array,r.func,r.number,r.object,r.string,r.bool]),themeId:r.string});const Ol=e=>e,Nh=()=>{let e=Ol;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ol}}},$h=Nh(),Ah={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 ve(e,t,n="Mui"){const o=Ah[t];return o?`${n}-${o}`:`${$h.generate(e)}-${t}`}function be(e,t,n="Mui"){const o={};return t.forEach(s=>{o[s]=ve(e,s,n)}),o}function Du(e,t=""){return e.displayName||e.name||t}function Rl(e,t,n){const o=Du(t);return e.displayName||(o!==""?`${n}(${o})`:n)}function Fh(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Du(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Wo.ForwardRef:return Rl(e,e.render,"ForwardRef");case Wo.Memo:return Rl(e,e.type,"memo");default:return}}}function Mu(e){const{variants:t,...n}=e,o={variants:t,style:cn(n),isProcessed:!0};return o.style===n||t&&t.forEach(s=>{typeof s.style!="function"&&(s.style=cn(s.style))}),o}const jh=Zi();function Bt(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Mn(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Vh(e){return e?(t,n)=>n[e]:null}function _h(e,t,n){e.theme=zh(e.theme)?n:e.theme[t]||e.theme}function $o(e,t,n){const o=typeof t=="function"?t(e):t;if(Array.isArray(o))return o.flatMap(s=>$o(e,s,n));if(Array.isArray(o?.variants)){let s;if(o.isProcessed)s=n?Mn(o.style,n):o.style;else{const{variants:i,...a}=o;s=n?Mn(cn(a),n):a}return Iu(e,o.variants,[s],n)}return o?.isProcessed?n?Mn(cn(o.style),n):o.style:n?Mn(cn(o),n):o}function Iu(e,t,n=[],o=void 0){let s;e:for(let i=0;i<t.length;i+=1){const a=t[i];if(typeof a.props=="function"){if(s??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(s))continue}else for(const l in a.props)if(e[l]!==a.props[l]&&e.ownerState?.[l]!==a.props[l])continue e;typeof a.style=="function"?(s??={...e,...e.ownerState,ownerState:e.ownerState},n.push(o?Mn(cn(a.style(s)),o):a.style(s))):n.push(o?Mn(cn(a.style),o):a.style)}return n}function Lh(e={}){const{themeId:t,defaultTheme:n=jh,rootShouldForwardProp:o=Bt,slotShouldForwardProp:s=Bt}=e;function i(l){_h(l,t,n)}return(l,c={})=>{Th(l,k=>k.filter(N=>N!==nr));const{name:u,slot:f,skipVariantsResolver:p,skipSx:b,overridesResolver:y=Vh(Nu(f)),...m}=c,d=u&&u.startsWith("Mui")||f?"components":"custom",h=p!==void 0?p:f&&f!=="Root"&&f!=="root"||!1,x=b||!1;let w=Bt;f==="Root"||f==="root"?w=o:f?w=s:Uh(l)&&(w=void 0);const P=Eh(l,{shouldForwardProp:w,label:Wh(u,f),...m}),S=k=>{if(k.__emotion_real===k)return k;if(typeof k=="function")return function(V){return $o(V,k,V.theme.modularCssLayers?d:void 0)};if(Lt(k)){const N=Mu(k);return function($){return N.variants?$o($,N,$.theme.modularCssLayers?d:void 0):$.theme.modularCssLayers?Mn(N.style,d):N.style}}return k},C=(...k)=>{const N=[],V=k.map(S),$=[];if(N.push(i),u&&y&&$.push(function(I){const O=I.theme.components?.[u]?.styleOverrides;if(!O)return null;const T={};for(const M in O)T[M]=$o(I,O[M],I.theme.modularCssLayers?"theme":void 0);return y(I,T)}),u&&!h&&$.push(function(I){const O=I.theme?.components?.[u]?.variants;return O?Iu(I,O,[],I.theme.modularCssLayers?"theme":void 0):null}),x||$.push(nr),Array.isArray(V[0])){const g=V.shift(),I=new Array(N.length).fill(""),E=new Array($.length).fill("");let O;O=[...I,...g,...E],O.raw=[...I,...g.raw,...E],N.unshift(O)}const F=[...N,...V,...$],D=P(...F);return l.muiName&&(D.muiName=l.muiName),process.env.NODE_ENV!=="production"&&(D.displayName=Bh(u,f,l)),D};return P.withConfig&&(C.withConfig=P.withConfig),C}}function Bh(e,t,n){return e?`${e}${se(t||"")}`:`Styled(${Fh(n)})`}function Wh(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${Nu(t||"Root")}`),n}function zh(e){for(const t in e)return!1;return!0}function Uh(e){return typeof e=="string"&&e.charCodeAt(0)>96}function Nu(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function zr(e,t,n=!1){const o={...t};for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)){const i=s;if(i==="components"||i==="slots")o[i]={...e[i],...o[i]};else if(i==="componentsProps"||i==="slotProps"){const a=e[i],l=t[i];if(!l)o[i]=a||{};else if(!a)o[i]=l;else{o[i]={...l};for(const c in a)if(Object.prototype.hasOwnProperty.call(a,c)){const u=c;o[i][u]=zr(a[u],l[u],n)}}}else i==="className"&&n&&t.className?o.className=fe(e?.className,t?.className):i==="style"&&n&&t.style?o.style={...e?.style,...t?.style}:o[i]===void 0&&(o[i]=e[i])}return o}function $u(e){const{theme:t,name:n,props:o}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?o:zr(t.components[n].defaultProps,o)}function Yh({props:e,name:t,defaultTheme:n,themeId:o}){let s=Ji(n);return s=s[o]||s,$u({theme:s,name:t,props:e})}const at=typeof window<"u"?v.useLayoutEffect:v.useEffect;function Hh(e,t,n,o,s){const[i,a]=v.useState(()=>s&&n?n(e).matches:o?o(e).matches:t);return at(()=>{if(!n)return;const l=n(e),c=()=>{a(l.matches)};return c(),l.addEventListener("change",c),()=>{l.removeEventListener("change",c)}},[e,n]),i}const qh={...v},Au=qh.useSyncExternalStore;function Kh(e,t,n,o,s){const i=v.useCallback(()=>t,[t]),a=v.useMemo(()=>{if(s&&n)return()=>n(e).matches;if(o!==null){const{matches:f}=o(e);return()=>f}return i},[i,e,o,s,n]),[l,c]=v.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const f=n(e);return[()=>f.matches,p=>(f.addEventListener("change",p),()=>{f.removeEventListener("change",p)})]},[i,n,e]);return Au(c,l,a)}function Fu(e={}){const{themeId:t}=e;return function(o,s={}){let i=Ru();i&&t&&(i=i[t]||i);const a=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:l=!1,matchMedia:c=a?window.matchMedia:null,ssrMatchMedia:u=null,noSsr:f=!1}=$u({name:"MuiUseMediaQuery",props:s,theme:i});process.env.NODE_ENV!=="production"&&typeof o=="function"&&i===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
`));let p=typeof o=="function"?o(i):o;p=p.replace(/^@media( ?)/m,""),p.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
`));const y=(Au!==void 0?Kh:Hh)(p,l,c,u,f);return process.env.NODE_ENV!=="production"&&v.useDebugValue({query:p,match:y}),y}}Fu();function Gh(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function ea(e,t=0,n=1){return process.env.NODE_ENV!=="production"&&(e<t||e>n)&&console.error(`MUI: The value provided ${e} is out of range [${t}, ${n}].`),Gh(e,t,n)}function Xh(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(o=>o+o)),process.env.NODE_