@sillsdev/config-r 1.0.0-alpha.1
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/README.md +20 -0
- package/dist/ConfigrAppBar.d.ts +7 -0
- package/dist/ConfigrPane.d.ts +11 -0
- package/dist/ConfigrTheme.d.ts +46 -0
- package/dist/ContentPane.d.ts +157 -0
- package/dist/FilterForSearch.d.ts +6 -0
- package/dist/HighlightSearchTerms.d.ts +5 -0
- package/dist/SearchContextProvider.d.ts +7 -0
- package/dist/configr.es.js +20598 -0
- package/dist/configr.umd.js +320 -0
- package/dist/index.d.ts +2 -0
- package/package.json +104 -0
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
(function(et,I){typeof exports=="object"&&typeof module<"u"?I(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],I):(et=typeof globalThis<"u"?globalThis:et||self,I(et.configr={},et.React,et.ReactDom))})(this,function(et,I,Vn){"use strict";function Ws(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const E=Ws(I),ip=Ws(Vn);function ap(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function sp(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var lp=function(){function e(n){var r=this;this._insertTag=function(i){var a;r.tags.length===0?r.insertionPoint?a=r.insertionPoint.nextSibling:r.prepend?a=r.container.firstChild:a=r.before:a=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(i,a),r.tags.push(i)},this.isSpeedy=n.speedy===void 0?process.env.NODE_ENV==="production":n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(sp(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var a=r.charCodeAt(0)===64&&r.charCodeAt(1)===105;a&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
2
|
+
`+r+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!a}if(this.isSpeedy){var s=ap(i);try{s.insertRule(r,s.cssRules.length)}catch(l){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)&&console.error('There was a problem inserting the following rule: "'+r+'"',l)}}else i.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),ht="-ms-",yo="-moz-",Me="-webkit-",Ui="comm",zi="rule",Wi="decl",cp="@import",Hs="@keyframes",up=Math.abs,Eo=String.fromCharCode,dp=Object.assign;function fp(e,t){return ft(e,0)^45?(((t<<2^ft(e,0))<<2^ft(e,1))<<2^ft(e,2))<<2^ft(e,3):0}function qs(e){return e.trim()}function pp(e,t){return(e=t.exec(e))?e[0]:e}function De(e,t,n){return e.replace(t,n)}function Hi(e,t){return e.indexOf(t)}function ft(e,t){return e.charCodeAt(t)|0}function Cr(e,t,n){return e.slice(t,n)}function Ut(e){return e.length}function qi(e){return e.length}function To(e,t){return t.push(e),e}function hp(e,t){return e.map(t).join("")}var xo=1,Bn=1,Gs=0,Et=0,at=0,Un="";function Oo(e,t,n,r,i,a,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:xo,column:Bn,length:s,return:""}}function wr(e,t){return dp(Oo("",null,null,"",null,null,0),e,{length:-e.length},t)}function mp(){return at}function vp(){return at=Et>0?ft(Un,--Et):0,Bn--,at===10&&(Bn=1,xo--),at}function Ot(){return at=Et<Gs?ft(Un,Et++):0,Bn++,at===10&&(Bn=1,xo++),at}function zt(){return ft(Un,Et)}function Co(){return Et}function Sr(e,t){return Cr(Un,e,t)}function $r(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ys(e){return xo=Bn=1,Gs=Ut(Un=e),Et=0,[]}function Ks(e){return Un="",e}function wo(e){return qs(Sr(Et-1,Gi(e===91?e+2:e===40?e+1:e)))}function gp(e){for(;(at=zt())&&at<33;)Ot();return $r(e)>2||$r(at)>3?"":" "}function bp(e,t){for(;--t&&Ot()&&!(at<48||at>102||at>57&&at<65||at>70&&at<97););return Sr(e,Co()+(t<6&&zt()==32&&Ot()==32))}function Gi(e){for(;Ot();)switch(at){case e:return Et;case 34:case 39:e!==34&&e!==39&&Gi(at);break;case 40:e===41&&Gi(e);break;case 92:Ot();break}return Et}function yp(e,t){for(;Ot()&&e+at!==47+10;)if(e+at===42+42&&zt()===47)break;return"/*"+Sr(t,Et-1)+"*"+Eo(e===47?e:Ot())}function Ep(e){for(;!$r(zt());)Ot();return Sr(e,Et)}function Tp(e){return Ks(So("",null,null,null,[""],e=Ys(e),0,[0],e))}function So(e,t,n,r,i,a,s,l,u){for(var d=0,f=0,c=s,p=0,v=0,g=0,m=1,h=1,y=1,O=0,x="",T=i,b=a,$=r,S=x;h;)switch(g=O,O=Ot()){case 40:if(g!=108&&ft(S,c-1)==58){Hi(S+=De(wo(O),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:S+=wo(O);break;case 9:case 10:case 13:case 32:S+=gp(g);break;case 92:S+=bp(Co()-1,7);continue;case 47:switch(zt()){case 42:case 47:To(xp(yp(Ot(),Co()),t,n),u);break;default:S+="/"}break;case 123*m:l[d++]=Ut(S)*y;case 125*m:case 59:case 0:switch(O){case 0:case 125:h=0;case 59+f:v>0&&Ut(S)-c&&To(v>32?Js(S+";",r,n,c-1):Js(De(S," ","")+";",r,n,c-2),u);break;case 59:S+=";";default:if(To($=Xs(S,t,n,d,f,i,l,x,T=[],b=[],c),a),O===123)if(f===0)So(S,t,$,$,T,a,c,l,b);else switch(p===99&&ft(S,3)===110?100:p){case 100:case 109:case 115:So(e,$,$,r&&To(Xs(e,$,$,0,0,i,l,x,i,T=[],c),b),i,b,c,l,r?T:b);break;default:So(S,$,$,$,[""],b,0,l,b)}}d=f=v=0,m=y=1,x=S="",c=s;break;case 58:c=1+Ut(S),v=g;default:if(m<1){if(O==123)--m;else if(O==125&&m++==0&&vp()==125)continue}switch(S+=Eo(O),O*m){case 38:y=f>0?1:(S+="\f",-1);break;case 44:l[d++]=(Ut(S)-1)*y,y=1;break;case 64:zt()===45&&(S+=wo(Ot())),p=zt(),f=c=Ut(x=S+=Ep(Co())),O++;break;case 45:g===45&&Ut(S)==2&&(m=0)}}return a}function Xs(e,t,n,r,i,a,s,l,u,d,f){for(var c=i-1,p=i===0?a:[""],v=qi(p),g=0,m=0,h=0;g<r;++g)for(var y=0,O=Cr(e,c+1,c=up(m=s[g])),x=e;y<v;++y)(x=qs(m>0?p[y]+" "+O:De(O,/&\f/g,p[y])))&&(u[h++]=x);return Oo(e,t,n,i===0?zi:l,u,d,f)}function xp(e,t,n){return Oo(e,t,n,Ui,Eo(mp()),Cr(e,2,-2),0)}function Js(e,t,n,r){return Oo(e,t,n,Wi,Cr(e,0,r),Cr(e,r+1,-1),r)}function zn(e,t){for(var n="",r=qi(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function Op(e,t,n,r){switch(e.type){case cp:case Wi:return e.return=e.return||e.value;case Ui:return"";case Hs:return e.return=e.value+"{"+zn(e.children,r)+"}";case zi:e.value=e.props.join(",")}return Ut(n=zn(e.children,r))?e.return=e.value+"{"+n+"}":""}function Cp(e){var t=qi(e);return function(n,r,i,a){for(var s="",l=0;l<t;l++)s+=e[l](n,r,i,a)||"";return s}}function wp(e){return function(t){t.root||(t=t.return)&&e(t)}}function Zs(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Sp=function(t,n,r){for(var i=0,a=0;i=a,a=zt(),i===38&&a===12&&(n[r]=1),!$r(a);)Ot();return Sr(t,Et)},$p=function(t,n){var r=-1,i=44;do switch($r(i)){case 0:i===38&&zt()===12&&(n[r]=1),t[r]+=Sp(Et-1,n,r);break;case 2:t[r]+=wo(i);break;case 4:if(i===44){t[++r]=zt()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Eo(i)}while(i=Ot());return t},_p=function(t,n){return Ks($p(Ys(t),n))},Qs=new WeakMap,Rp=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,i=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!Qs.get(r))&&!i){Qs.set(t,!0);for(var a=[],s=_p(n,a),l=r.props,u=0,d=0;u<s.length;u++)for(var f=0;f<l.length;f++,d++)t.props[d]=a[u]?s[u].replace(/&\f/g,l[f]):l[f]+" "+s[u]}}},Pp=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}},Np="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",Ip=function(t){return t.type==="comm"&&t.children.indexOf(Np)>-1},Ap=function(t){return function(n,r,i){if(!(n.type!=="rule"||t.compat)){var a=n.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var s=n.parent===i[0],l=s?i[0].children:i,u=l.length-1;u>=0;u--){var d=l[u];if(d.line<n.line)break;if(d.column<n.column){if(Ip(d))return;break}}a.forEach(function(f){console.error('The pseudo class "'+f+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+f.split("-child")[0]+'-of-type".')})}}}},el=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},Mp=function(t,n){for(var r=t-1;r>=0;r--)if(!el(n[r]))return!0;return!1},tl=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},kp=function(t,n,r){el(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),tl(t)):Mp(n,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),tl(t)))};function nl(e,t){switch(fp(e,t)){case 5103:return Me+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Me+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Me+e+yo+e+ht+e+e;case 6828:case 4268:return Me+e+ht+e+e;case 6165:return Me+e+ht+"flex-"+e+e;case 5187:return Me+e+De(e,/(\w+).+(:[^]+)/,Me+"box-$1$2"+ht+"flex-$1$2")+e;case 5443:return Me+e+ht+"flex-item-"+De(e,/flex-|-self/,"")+e;case 4675:return Me+e+ht+"flex-line-pack"+De(e,/align-content|flex-|-self/,"")+e;case 5548:return Me+e+ht+De(e,"shrink","negative")+e;case 5292:return Me+e+ht+De(e,"basis","preferred-size")+e;case 6060:return Me+"box-"+De(e,"-grow","")+Me+e+ht+De(e,"grow","positive")+e;case 4554:return Me+De(e,/([^-])(transform)/g,"$1"+Me+"$2")+e;case 6187:return De(De(De(e,/(zoom-|grab)/,Me+"$1"),/(image-set)/,Me+"$1"),e,"")+e;case 5495:case 3959:return De(e,/(image-set\([^]*)/,Me+"$1$`$1");case 4968:return De(De(e,/(.+:)(flex-)?(.*)/,Me+"box-pack:$3"+ht+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Me+e+e;case 4095:case 3583:case 4068:case 2532:return De(e,/(.+)-inline(.+)/,Me+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ut(e)-1-t>6)switch(ft(e,t+1)){case 109:if(ft(e,t+4)!==45)break;case 102:return De(e,/(.+:)(.+)-([^]+)/,"$1"+Me+"$2-$3$1"+yo+(ft(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Hi(e,"stretch")?nl(De(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ft(e,t+1)!==115)break;case 6444:switch(ft(e,Ut(e)-3-(~Hi(e,"!important")&&10))){case 107:return De(e,":",":"+Me)+e;case 101:return De(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Me+(ft(e,14)===45?"inline-":"")+"box$3$1"+Me+"$2$3$1"+ht+"$2box$3")+e}break;case 5936:switch(ft(e,t+11)){case 114:return Me+e+ht+De(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Me+e+ht+De(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Me+e+ht+De(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Me+e+ht+e+e}return e}var jp=function(t,n,r,i){if(t.length>-1&&!t.return)switch(t.type){case Wi:t.return=nl(t.value,t.length);break;case Hs:return zn([wr(t,{value:De(t.value,"@","@"+Me)})],i);case zi:if(t.length)return hp(t.props,function(a){switch(pp(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zn([wr(t,{props:[De(a,/:(read-\w+)/,":"+yo+"$1")]})],i);case"::placeholder":return zn([wr(t,{props:[De(a,/:(plac\w+)/,":"+Me+"input-$1")]}),wr(t,{props:[De(a,/:(plac\w+)/,":"+yo+"$1")]}),wr(t,{props:[De(a,/:(plac\w+)/,ht+"input-$1")]})],i)}return""})}},Dp=[jp],Fp=function(t){var n=t.key;if(process.env.NODE_ENV!=="production"&&!n)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
3
|
+
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(m){var h=m.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var i=t.stylisPlugins||Dp;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var a={},s,l=[];s=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(m){for(var h=m.getAttribute("data-emotion").split(" "),y=1;y<h.length;y++)a[h[y]]=!0;l.push(m)});var u,d=[Rp,Pp];process.env.NODE_ENV!=="production"&&d.push(Ap({get compat(){return g.compat}}),kp);{var f,c=[Op,process.env.NODE_ENV!=="production"?function(m){m.root||(m.return?f.insert(m.return):m.value&&m.type!==Ui&&f.insert(m.value+"{}"))}:wp(function(m){f.insert(m)})],p=Cp(d.concat(i,c)),v=function(h){return zn(Tp(h),p)};u=function(h,y,O,x){f=O,process.env.NODE_ENV!=="production"&&y.map!==void 0&&(f={insert:function(b){O.insert(b+y.map)}}),v(h?h+"{"+y.styles+"}":y.styles),x&&(g.inserted[y.name]=!0)}}var g={key:n,sheet:new lp({key:n,container:s,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:a,registered:{},insert:u};return g.sheet.hydrate(l),g},_r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rl(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var i=[null];i.push.apply(i,arguments);var a=Function.bind.apply(t,i);return new a}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var i=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,i.get?i:{enumerable:!0,get:function(){return e[r]}})}),n}var Rr={},Lp={get exports(){return Rr},set exports(e){Rr=e}},Fe={};/** @license React v16.13.1
|
|
4
|
+
* react-is.production.min.js
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
7
|
+
*
|
|
8
|
+
* This source code is licensed under the MIT license found in the
|
|
9
|
+
* LICENSE file in the root directory of this source tree.
|
|
10
|
+
*/var ol;function Vp(){if(ol)return Fe;ol=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function x(b){if(typeof b=="object"&&b!==null){var $=b.$$typeof;switch($){case t:switch(b=b.type,b){case u:case d:case r:case a:case i:case c:return b;default:switch(b=b&&b.$$typeof,b){case l:case f:case g:case v:case s:return b;default:return $}}case n:return $}}}function T(b){return x(b)===d}return Fe.AsyncMode=u,Fe.ConcurrentMode=d,Fe.ContextConsumer=l,Fe.ContextProvider=s,Fe.Element=t,Fe.ForwardRef=f,Fe.Fragment=r,Fe.Lazy=g,Fe.Memo=v,Fe.Portal=n,Fe.Profiler=a,Fe.StrictMode=i,Fe.Suspense=c,Fe.isAsyncMode=function(b){return T(b)||x(b)===u},Fe.isConcurrentMode=T,Fe.isContextConsumer=function(b){return x(b)===l},Fe.isContextProvider=function(b){return x(b)===s},Fe.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},Fe.isForwardRef=function(b){return x(b)===f},Fe.isFragment=function(b){return x(b)===r},Fe.isLazy=function(b){return x(b)===g},Fe.isMemo=function(b){return x(b)===v},Fe.isPortal=function(b){return x(b)===n},Fe.isProfiler=function(b){return x(b)===a},Fe.isStrictMode=function(b){return x(b)===i},Fe.isSuspense=function(b){return x(b)===c},Fe.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===d||b===a||b===i||b===c||b===p||typeof b=="object"&&b!==null&&(b.$$typeof===g||b.$$typeof===v||b.$$typeof===s||b.$$typeof===l||b.$$typeof===f||b.$$typeof===h||b.$$typeof===y||b.$$typeof===O||b.$$typeof===m)},Fe.typeOf=x,Fe}var Le={};/** @license React v16.13.1
|
|
11
|
+
* react-is.development.js
|
|
12
|
+
*
|
|
13
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the MIT license found in the
|
|
16
|
+
* LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/var il;function Bp(){return il||(il=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,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,u=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,c=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,h=e?Symbol.for("react.fundamental"):60117,y=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function x(B){return typeof B=="string"||typeof B=="function"||B===r||B===d||B===a||B===i||B===c||B===p||typeof B=="object"&&B!==null&&(B.$$typeof===g||B.$$typeof===v||B.$$typeof===s||B.$$typeof===l||B.$$typeof===f||B.$$typeof===h||B.$$typeof===y||B.$$typeof===O||B.$$typeof===m)}function T(B){if(typeof B=="object"&&B!==null){var Ee=B.$$typeof;switch(Ee){case t:var k=B.type;switch(k){case u:case d:case r:case a:case i:case c:return k;default:var we=k&&k.$$typeof;switch(we){case l:case f:case g:case v:case s:return we;default:return Ee}}case n:return Ee}}}var b=u,$=d,S=l,P=s,N=t,A=f,j=r,K=g,G=v,D=n,z=a,F=i,ie=c,ae=!1;function le(B){return ae||(ae=!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.")),_(B)||T(B)===u}function _(B){return T(B)===d}function M(B){return T(B)===l}function J(B){return T(B)===s}function ne(B){return typeof B=="object"&&B!==null&&B.$$typeof===t}function Y(B){return T(B)===f}function re(B){return T(B)===r}function Z(B){return T(B)===g}function ue(B){return T(B)===v}function ee(B){return T(B)===n}function X(B){return T(B)===a}function ce(B){return T(B)===i}function Q(B){return T(B)===c}Le.AsyncMode=b,Le.ConcurrentMode=$,Le.ContextConsumer=S,Le.ContextProvider=P,Le.Element=N,Le.ForwardRef=A,Le.Fragment=j,Le.Lazy=K,Le.Memo=G,Le.Portal=D,Le.Profiler=z,Le.StrictMode=F,Le.Suspense=ie,Le.isAsyncMode=le,Le.isConcurrentMode=_,Le.isContextConsumer=M,Le.isContextProvider=J,Le.isElement=ne,Le.isForwardRef=Y,Le.isFragment=re,Le.isLazy=Z,Le.isMemo=ue,Le.isPortal=ee,Le.isProfiler=X,Le.isStrictMode=ce,Le.isSuspense=Q,Le.isValidElementType=x,Le.typeOf=T}()),Le}(function(e){process.env.NODE_ENV==="production"?e.exports=Vp():e.exports=Bp()})(Lp);var al=Rr,Up={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},zp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},sl={};sl[al.ForwardRef]=Up,sl[al.Memo]=zp;var Wp=!0;function Yi(e,t,n){var r="";return n.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):r+=i+" "}),r}var $o=function(t,n,r){var i=t.key+"-"+n.name;(r===!1||Wp===!1)&&t.registered[i]===void 0&&(t.registered[i]=n.styles)},_o=function(t,n,r){$o(t,n,r);var i=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var a=n;do t.insert(n===a?"."+i:"",a,t.sheet,!0),a=a.next;while(a!==void 0)}};function Hp(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&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(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&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 qp={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ll=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
18
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
19
|
+
You can read more about this here:
|
|
20
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Gp="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Yp=/[A-Z]|^ms/g,cl=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ki=function(t){return t.charCodeAt(1)===45},ul=function(t){return t!=null&&typeof t!="boolean"},Xi=Zs(function(e){return Ki(e)?e:e.replace(Yp,"-$&").toLowerCase()}),Ro=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(cl,function(r,i,a){return kt={name:i,styles:a,next:kt},i})}return qp[t]!==1&&!Ki(t)&&typeof n=="number"&&n!==0?n+"px":n};if(process.env.NODE_ENV!=="production"){var Kp=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Xp=["normal","none","initial","inherit","unset"],Jp=Ro,Zp=/^-ms-/,Qp=/-(.)/g,dl={};Ro=function(t,n){if(t==="content"&&(typeof n!="string"||Xp.indexOf(n)===-1&&!Kp.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var r=Jp(t,n);return r!==""&&!Ki(t)&&t.indexOf("-")!==-1&&dl[t]===void 0&&(dl[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(Zp,"ms-").replace(Qp,function(i,a){return a.toUpperCase()})+"?")),r}}var fl="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Pr(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(process.env.NODE_ENV!=="production"&&n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(fl);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return kt={name:n.name,styles:n.styles,next:kt},n.name;if(n.styles!==void 0){var r=n.next;if(r!==void 0)for(;r!==void 0;)kt={name:r.name,styles:r.styles,next:kt},r=r.next;var i=n.styles+";";return process.env.NODE_ENV!=="production"&&n.map!==void 0&&(i+=n.map),i}return eh(e,t,n)}case"function":{if(e!==void 0){var a=kt,s=n(e);return kt=a,Pr(e,t,s)}else process.env.NODE_ENV!=="production"&&console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":if(process.env.NODE_ENV!=="production"){var l=[],u=n.replace(cl,function(f,c,p){var v="animation"+l.length;return l.push("const "+v+" = keyframes`"+p.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+v+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+u+"`"]).join(`
|
|
21
|
+
`)+`
|
|
22
|
+
|
|
23
|
+
You should wrap it with \`css\` like this:
|
|
24
|
+
|
|
25
|
+
`+("css`"+u+"`"))}break}if(t==null)return n;var d=t[n];return d!==void 0?d:n}function eh(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Pr(e,t,n[i])+";";else for(var a in n){var s=n[a];if(typeof s!="object")t!=null&&t[s]!==void 0?r+=a+"{"+t[s]+"}":ul(s)&&(r+=Xi(a)+":"+Ro(a,s)+";");else{if(a==="NO_COMPONENT_SELECTOR"&&process.env.NODE_ENV!=="production")throw new Error(fl);if(Array.isArray(s)&&typeof s[0]=="string"&&(t==null||t[s[0]]===void 0))for(var l=0;l<s.length;l++)ul(s[l])&&(r+=Xi(a)+":"+Ro(a,s[l])+";");else{var u=Pr(e,t,s);switch(a){case"animation":case"animationName":{r+=Xi(a)+":"+u+";";break}default:process.env.NODE_ENV!=="production"&&a==="undefined"&&console.error(Gp),r+=a+"{"+u+"}"}}}}return r}var pl=/label:\s*([^\s;\n{]+)\s*(;|$)/g,hl;process.env.NODE_ENV!=="production"&&(hl=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);var kt,Wn=function(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,a="";kt=void 0;var s=t[0];s==null||s.raw===void 0?(i=!1,a+=Pr(r,n,s)):(process.env.NODE_ENV!=="production"&&s[0]===void 0&&console.error(ll),a+=s[0]);for(var l=1;l<t.length;l++)a+=Pr(r,n,t[l]),i&&(process.env.NODE_ENV!=="production"&&s[l]===void 0&&console.error(ll),a+=s[l]);var u;process.env.NODE_ENV!=="production"&&(a=a.replace(hl,function(p){return u=p,""})),pl.lastIndex=0;for(var d="",f;(f=pl.exec(a))!==null;)d+="-"+f[1];var c=Hp(a)+d;return process.env.NODE_ENV!=="production"?{name:c,styles:a,map:u,next:kt,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}:{name:c,styles:a,next:kt}},th=function(t){return t()},ml=E["useInsertionEffect"]?E["useInsertionEffect"]:!1,Ji=ml||th,vl=ml||I.useLayoutEffect,Nr={}.hasOwnProperty,Zi=I.createContext(typeof HTMLElement<"u"?Fp({key:"css"}):null);process.env.NODE_ENV!=="production"&&(Zi.displayName="EmotionCacheContext"),Zi.Provider;var Po=function(t){return I.forwardRef(function(n,r){var i=I.useContext(Zi);return t(n,i,r)})},Hn=I.createContext({});process.env.NODE_ENV!=="production"&&(Hn.displayName="EmotionThemeContext");var gl=function(t){var n=t.split(".");return n[n.length-1]},nh=function(t){var n=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(t);if(n||(n=/^([A-Za-z0-9$.]+)@/.exec(t),n))return gl(n[1])},rh=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),oh=function(t){return t.replace(/\$/g,"-")},ih=function(t){if(t)for(var n=t.split(`
|
|
26
|
+
`),r=0;r<n.length;r++){var i=nh(n[r]);if(i){if(rh.has(i))break;if(/^[A-Z]/.test(i))return oh(i)}}},Qi="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ea="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",ta=function(t,n){if(process.env.NODE_ENV!=="production"&&typeof n.css=="string"&&n.css.indexOf(":")!==-1)throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+n.css+"`");var r={};for(var i in n)Nr.call(n,i)&&(r[i]=n[i]);if(r[Qi]=t,process.env.NODE_ENV!=="production"&&n.css&&(typeof n.css!="object"||typeof n.css.name!="string"||n.css.name.indexOf("-")===-1)){var a=ih(new Error().stack);a&&(r[ea]=a)}return r},ah=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return $o(n,r,i),Ji(function(){return _o(n,r,i)}),null},No=Po(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[Qi],a=[r],s="";typeof e.className=="string"?s=Yi(t.registered,a,e.className):e.className!=null&&(s=e.className+" ");var l=Wn(a,void 0,I.useContext(Hn));if(process.env.NODE_ENV!=="production"&&l.name.indexOf("-")===-1){var u=e[ea];u&&(l=Wn([l,"label:"+u+";"]))}s+=t.key+"-"+l.name;var d={};for(var f in e)Nr.call(e,f)&&f!=="css"&&f!==Qi&&(process.env.NODE_ENV==="production"||f!==ea)&&(d[f]=e[f]);return d.ref=n,d.className=s,I.createElement(I.Fragment,null,I.createElement(ah,{cache:t,serialized:l,isStringTag:typeof i=="string"}),I.createElement(i,d))});process.env.NODE_ENV!=="production"&&(No.displayName="EmotionCssPropInternal");var Ir={},sh={get exports(){return Ir},set exports(e){Ir=e}},qn={};/*
|
|
27
|
+
object-assign
|
|
28
|
+
(c) Sindre Sorhus
|
|
29
|
+
@license MIT
|
|
30
|
+
*/var na,bl;function ra(){if(bl)return na;bl=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function i(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},l=0;l<10;l++)s["_"+String.fromCharCode(l)]=l;var u=Object.getOwnPropertyNames(s).map(function(f){return s[f]});if(u.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(f){d[f]=f}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return na=i()?Object.assign:function(a,s){for(var l,u=r(a),d,f=1;f<arguments.length;f++){l=Object(arguments[f]);for(var c in l)t.call(l,c)&&(u[c]=l[c]);if(e){d=e(l);for(var p=0;p<d.length;p++)n.call(l,d[p])&&(u[d[p]]=l[d[p]])}}return u},na}/** @license React v17.0.2
|
|
31
|
+
* react-jsx-runtime.production.min.js
|
|
32
|
+
*
|
|
33
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
34
|
+
*
|
|
35
|
+
* This source code is licensed under the MIT license found in the
|
|
36
|
+
* LICENSE file in the root directory of this source tree.
|
|
37
|
+
*/var yl;function lh(){if(yl)return qn;yl=1,ra();var e=I,t=60103;if(qn.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var n=Symbol.for;t=n("react.element"),qn.Fragment=n("react.fragment")}var r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,a={key:!0,ref:!0,__self:!0,__source:!0};function s(l,u,d){var f,c={},p=null,v=null;d!==void 0&&(p=""+d),u.key!==void 0&&(p=""+u.key),u.ref!==void 0&&(v=u.ref);for(f in u)i.call(u,f)&&!a.hasOwnProperty(f)&&(c[f]=u[f]);if(l&&l.defaultProps)for(f in u=l.defaultProps,u)c[f]===void 0&&(c[f]=u[f]);return{$$typeof:t,type:l,key:p,ref:v,props:c,_owner:r.current}}return qn.jsx=s,qn.jsxs=s,qn}var oa={};/** @license React v17.0.2
|
|
38
|
+
* react-jsx-runtime.development.js
|
|
39
|
+
*
|
|
40
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
41
|
+
*
|
|
42
|
+
* This source code is licensed under the MIT license found in the
|
|
43
|
+
* LICENSE file in the root directory of this source tree.
|
|
44
|
+
*/var El;function ch(){return El||(El=1,function(e){process.env.NODE_ENV!=="production"&&function(){var t=I,n=ra(),r=60103,i=60106;e.Fragment=60107;var a=60108,s=60114,l=60109,u=60110,d=60112,f=60113,c=60120,p=60115,v=60116,g=60121,m=60122,h=60117,y=60129,O=60131;if(typeof Symbol=="function"&&Symbol.for){var x=Symbol.for;r=x("react.element"),i=x("react.portal"),e.Fragment=x("react.fragment"),a=x("react.strict_mode"),s=x("react.profiler"),l=x("react.provider"),u=x("react.context"),d=x("react.forward_ref"),f=x("react.suspense"),c=x("react.suspense_list"),p=x("react.memo"),v=x("react.lazy"),g=x("react.block"),m=x("react.server.block"),h=x("react.fundamental"),x("react.scope"),x("react.opaque.id"),y=x("react.debug_trace_mode"),x("react.offscreen"),O=x("react.legacy_hidden")}var T=typeof Symbol=="function"&&Symbol.iterator,b="@@iterator";function $(w){if(w===null||typeof w!="object")return null;var q=T&&w[T]||w[b];return typeof q=="function"?q:null}var S=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(w){{for(var q=arguments.length,se=new Array(q>1?q-1:0),me=1;me<q;me++)se[me-1]=arguments[me];N("error",w,se)}}function N(w,q,se){{var me=S.ReactDebugCurrentFrame,Ne=me.getStackAddendum();Ne!==""&&(q+="%s",se=se.concat([Ne]));var qe=se.map(function(xe){return""+xe});qe.unshift("Warning: "+q),Function.prototype.apply.call(console[w],console,qe)}}var A=!1;function j(w){return!!(typeof w=="string"||typeof w=="function"||w===e.Fragment||w===s||w===y||w===a||w===f||w===c||w===O||A||typeof w=="object"&&w!==null&&(w.$$typeof===v||w.$$typeof===p||w.$$typeof===l||w.$$typeof===u||w.$$typeof===d||w.$$typeof===h||w.$$typeof===g||w[0]===m))}function K(w,q,se){var me=q.displayName||q.name||"";return w.displayName||(me!==""?se+"("+me+")":se)}function G(w){return w.displayName||"Context"}function D(w){if(w==null)return null;if(typeof w.tag=="number"&&P("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof w=="function")return w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case e.Fragment:return"Fragment";case i:return"Portal";case s:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case c:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case u:var q=w;return G(q)+".Consumer";case l:var se=w;return G(se._context)+".Provider";case d:return K(w,w.render,"ForwardRef");case p:return D(w.type);case g:return D(w._render);case v:{var me=w,Ne=me._payload,qe=me._init;try{return D(qe(Ne))}catch{return null}}}return null}var z=0,F,ie,ae,le,_,M,J;function ne(){}ne.__reactDisabledLog=!0;function Y(){{if(z===0){F=console.log,ie=console.info,ae=console.warn,le=console.error,_=console.group,M=console.groupCollapsed,J=console.groupEnd;var w={configurable:!0,enumerable:!0,value:ne,writable:!0};Object.defineProperties(console,{info:w,log:w,warn:w,error:w,group:w,groupCollapsed:w,groupEnd:w})}z++}}function re(){{if(z--,z===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:n({},w,{value:F}),info:n({},w,{value:ie}),warn:n({},w,{value:ae}),error:n({},w,{value:le}),group:n({},w,{value:_}),groupCollapsed:n({},w,{value:M}),groupEnd:n({},w,{value:J})})}z<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Z=S.ReactCurrentDispatcher,ue;function ee(w,q,se){{if(ue===void 0)try{throw Error()}catch(Ne){var me=Ne.stack.trim().match(/\n( *(at )?)/);ue=me&&me[1]||""}return`
|
|
45
|
+
`+ue+w}}var X=!1,ce;{var Q=typeof WeakMap=="function"?WeakMap:Map;ce=new Q}function B(w,q){if(!w||X)return"";{var se=ce.get(w);if(se!==void 0)return se}var me;X=!0;var Ne=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var qe;qe=Z.current,Z.current=null,Y();try{if(q){var xe=function(){throw Error()};if(Object.defineProperty(xe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(xe,[])}catch(Bt){me=Bt}Reflect.construct(w,[],xe)}else{try{xe.call()}catch(Bt){me=Bt}w.call(xe.prototype)}}else{try{throw Error()}catch(Bt){me=Bt}w()}}catch(Bt){if(Bt&&me&&typeof Bt.stack=="string"){for(var Oe=Bt.stack.split(`
|
|
46
|
+
`),dt=me.stack.split(`
|
|
47
|
+
`),Ze=Oe.length-1,Qe=dt.length-1;Ze>=1&&Qe>=0&&Oe[Ze]!==dt[Qe];)Qe--;for(;Ze>=1&&Qe>=0;Ze--,Qe--)if(Oe[Ze]!==dt[Qe]){if(Ze!==1||Qe!==1)do if(Ze--,Qe--,Qe<0||Oe[Ze]!==dt[Qe]){var Mt=`
|
|
48
|
+
`+Oe[Ze].replace(" at new "," at ");return typeof w=="function"&&ce.set(w,Mt),Mt}while(Ze>=1&&Qe>=0);break}}}finally{X=!1,Z.current=qe,re(),Error.prepareStackTrace=Ne}var bn=w?w.displayName||w.name:"",Bi=bn?ee(bn):"";return typeof w=="function"&&ce.set(w,Bi),Bi}function Ee(w,q,se){return B(w,!1)}function k(w){var q=w.prototype;return!!(q&&q.isReactComponent)}function we(w,q,se){if(w==null)return"";if(typeof w=="function")return B(w,k(w));if(typeof w=="string")return ee(w);switch(w){case f:return ee("Suspense");case c:return ee("SuspenseList")}if(typeof w=="object")switch(w.$$typeof){case d:return Ee(w.render);case p:return we(w.type,q,se);case g:return Ee(w._render);case v:{var me=w,Ne=me._payload,qe=me._init;try{return we(qe(Ne),q,se)}catch{}}}return""}var je={},Te=S.ReactDebugCurrentFrame;function Re(w){if(w){var q=w._owner,se=we(w.type,w._source,q?q.type:null);Te.setExtraStackFrame(se)}else Te.setExtraStackFrame(null)}function ot(w,q,se,me,Ne){{var qe=Function.call.bind(Object.prototype.hasOwnProperty);for(var xe in w)if(qe(w,xe)){var Oe=void 0;try{if(typeof w[xe]!="function"){var dt=Error((me||"React class")+": "+se+" type `"+xe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof w[xe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw dt.name="Invariant Violation",dt}Oe=w[xe](q,xe,me,se,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ze){Oe=Ze}Oe&&!(Oe instanceof Error)&&(Re(Ne),P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",me||"React class",se,xe,typeof Oe),Re(null)),Oe instanceof Error&&!(Oe.message in je)&&(je[Oe.message]=!0,Re(Ne),P("Failed %s type: %s",se,Oe.message),Re(null))}}}var R=S.ReactCurrentOwner,V=Object.prototype.hasOwnProperty,te={key:!0,ref:!0,__self:!0,__source:!0},oe,fe,he;he={};function Se(w){if(V.call(w,"ref")){var q=Object.getOwnPropertyDescriptor(w,"ref").get;if(q&&q.isReactWarning)return!1}return w.ref!==void 0}function He(w){if(V.call(w,"key")){var q=Object.getOwnPropertyDescriptor(w,"key").get;if(q&&q.isReactWarning)return!1}return w.key!==void 0}function H(w,q){if(typeof w.ref=="string"&&R.current&&q&&R.current.stateNode!==q){var se=D(R.current.type);he[se]||(P('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D(R.current.type),w.ref),he[se]=!0)}}function L(w,q){{var se=function(){oe||(oe=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};se.isReactWarning=!0,Object.defineProperty(w,"key",{get:se,configurable:!0})}}function U(w,q){{var se=function(){fe||(fe=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",q))};se.isReactWarning=!0,Object.defineProperty(w,"ref",{get:se,configurable:!0})}}var de=function(w,q,se,me,Ne,qe,xe){var Oe={$$typeof:r,type:w,key:q,ref:se,props:xe,_owner:qe};return Oe._store={},Object.defineProperty(Oe._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Oe,"_self",{configurable:!1,enumerable:!1,writable:!1,value:me}),Object.defineProperty(Oe,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ne}),Object.freeze&&(Object.freeze(Oe.props),Object.freeze(Oe)),Oe};function be(w,q,se,me,Ne){{var qe,xe={},Oe=null,dt=null;se!==void 0&&(Oe=""+se),He(q)&&(Oe=""+q.key),Se(q)&&(dt=q.ref,H(q,Ne));for(qe in q)V.call(q,qe)&&!te.hasOwnProperty(qe)&&(xe[qe]=q[qe]);if(w&&w.defaultProps){var Ze=w.defaultProps;for(qe in Ze)xe[qe]===void 0&&(xe[qe]=Ze[qe])}if(Oe||dt){var Qe=typeof w=="function"?w.displayName||w.name||"Unknown":w;Oe&&L(xe,Qe),dt&&U(xe,Qe)}return de(w,Oe,dt,Ne,me,R.current,xe)}}var Pe=S.ReactCurrentOwner,st=S.ReactDebugCurrentFrame;function ut(w){if(w){var q=w._owner,se=we(w.type,w._source,q?q.type:null);st.setExtraStackFrame(se)}else st.setExtraStackFrame(null)}var tn;tn=!1;function bt(w){return typeof w=="object"&&w!==null&&w.$$typeof===r}function Or(){{if(Pe.current){var w=D(Pe.current.type);if(w)return`
|
|
49
|
+
|
|
50
|
+
Check the render method of \``+w+"`."}return""}}function Vt(w){{if(w!==void 0){var q=w.fileName.replace(/^.*[\\\/]/,""),se=w.lineNumber;return`
|
|
51
|
+
|
|
52
|
+
Check your code at `+q+":"+se+"."}return""}}var gn={};function Ln(w){{var q=Or();if(!q){var se=typeof w=="string"?w:w.displayName||w.name;se&&(q=`
|
|
53
|
+
|
|
54
|
+
Check the top-level render call using <`+se+">.")}return q}}function mo(w,q){{if(!w._store||w._store.validated||w.key!=null)return;w._store.validated=!0;var se=Ln(q);if(gn[se])return;gn[se]=!0;var me="";w&&w._owner&&w._owner!==Pe.current&&(me=" It was passed a child from "+D(w._owner.type)+"."),ut(w),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',se,me),ut(null)}}function vo(w,q){{if(typeof w!="object")return;if(Array.isArray(w))for(var se=0;se<w.length;se++){var me=w[se];bt(me)&&mo(me,q)}else if(bt(w))w._store&&(w._store.validated=!0);else if(w){var Ne=$(w);if(typeof Ne=="function"&&Ne!==w.entries)for(var qe=Ne.call(w),xe;!(xe=qe.next()).done;)bt(xe.value)&&mo(xe.value,q)}}}function Li(w){{var q=w.type;if(q==null||typeof q=="string")return;var se;if(typeof q=="function")se=q.propTypes;else if(typeof q=="object"&&(q.$$typeof===d||q.$$typeof===p))se=q.propTypes;else return;if(se){var me=D(q);ot(se,w.props,"prop",me,w)}else if(q.PropTypes!==void 0&&!tn){tn=!0;var Ne=D(q);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ne||"Unknown")}typeof q.getDefaultProps=="function"&&!q.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Vi(w){{for(var q=Object.keys(w.props),se=0;se<q.length;se++){var me=q[se];if(me!=="children"&&me!=="key"){ut(w),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",me),ut(null);break}}w.ref!==null&&(ut(w),P("Invalid attribute `ref` supplied to `React.Fragment`."),ut(null))}}function go(w,q,se,me,Ne,qe){{var xe=j(w);if(!xe){var Oe="";(w===void 0||typeof w=="object"&&w!==null&&Object.keys(w).length===0)&&(Oe+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var dt=Vt(Ne);dt?Oe+=dt:Oe+=Or();var Ze;w===null?Ze="null":Array.isArray(w)?Ze="array":w!==void 0&&w.$$typeof===r?(Ze="<"+(D(w.type)||"Unknown")+" />",Oe=" Did you accidentally export a JSX literal instead of a component?"):Ze=typeof w,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ze,Oe)}var Qe=be(w,q,se,Ne,qe);if(Qe==null)return Qe;if(xe){var Mt=q.children;if(Mt!==void 0)if(me)if(Array.isArray(Mt)){for(var bn=0;bn<Mt.length;bn++)vo(Mt[bn],w);Object.freeze&&Object.freeze(Mt)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else vo(Mt,w)}return w===e.Fragment?Vi(Qe):Li(Qe),Qe}}function Bs(w,q,se){return go(w,q,se,!0)}function Us(w,q,se){return go(w,q,se,!1)}var zs=Us,bo=Bs;e.jsx=zs,e.jsxs=bo}()}(oa)),oa}(function(e){process.env.NODE_ENV==="production"?e.exports=lh():e.exports=ch()})(sh);const uh=Ir.Fragment,W=Ir.jsx,Ye=Ir.jsxs,dh=Object.freeze(Object.defineProperty({__proto__:null,Fragment:uh,jsx:W,jsxs:Ye},Symbol.toStringTag,{value:"Module"}));function ge(e,t,n){return Nr.call(t,"css")?W(No,ta(e,t),n):W(e,t,n)}function nn(e,t,n){return Nr.call(t,"css")?Ye(No,ta(e,t),n):Ye(e,t,n)}var fh={name:"@emotion/react",version:"11.10.5",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.js","macro.d.ts","macro.js.flow"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.10.5","@emotion/cache":"^11.10.5","@emotion/serialize":"^1.1.1","@emotion/use-insertion-effect-with-fallbacks":"^1.0.0","@emotion/utils":"^1.2.0","@emotion/weak-memoize":"^0.3.0","hoist-non-react-statics":"^3.3.1"},peerDependencies:{"@babel/core":"^7.0.0",react:">=16.8.0"},peerDependenciesMeta:{"@babel/core":{optional:!0},"@types/react":{optional:!0}},devDependencies:{"@babel/core":"^7.18.5","@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.10.5","@emotion/css-prettifier":"1.1.1","@emotion/server":"11.10.0","@emotion/styled":"11.10.5","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":"./macro.js"}}}},ph=function(t,n){var r=arguments;if(n==null||!Nr.call(n,"css"))return I.createElement.apply(void 0,r);var i=r.length,a=new Array(i);a[0]=No,a[1]=ta(t,n);for(var s=2;s<i;s++)a[s]=r[s];return I.createElement.apply(null,a)},Tl=!1,xl=Po(function(e,t){process.env.NODE_ENV!=="production"&&!Tl&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Tl=!0);var n=e.styles,r=Wn([n],void 0,I.useContext(Hn)),i=I.useRef();return vl(function(){var a=t.key+"-global",s=new t.sheet.constructor({key:a,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,u=document.querySelector('style[data-emotion="'+a+" "+r.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),u!==null&&(l=!0,u.setAttribute("data-emotion",a),s.hydrate([u])),i.current=[s,l],function(){s.flush()}},[t]),vl(function(){var a=i.current,s=a[0],l=a[1];if(l){a[1]=!1;return}if(r.next!==void 0&&_o(t,r.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}t.insert("",r,s,!1)},[t,r.name]),null});process.env.NODE_ENV!=="production"&&(xl.displayName="EmotionGlobal");function yt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Wn(t)}var ia=function(){var t=yt.apply(void 0,arguments),n="animation-"+t.name;return{name:n,styles:"@keyframes "+n+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},hh=function e(t){for(var n=t.length,r=0,i="";r<n;r++){var a=t[r];if(a!=null){var s=void 0;switch(typeof a){case"boolean":break;case"object":{if(Array.isArray(a))s=e(a);else{process.env.NODE_ENV!=="production"&&a.styles!==void 0&&a.name!==void 0&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),s="";for(var l in a)a[l]&&l&&(s&&(s+=" "),s+=l)}break}default:s=a}s&&(i&&(i+=" "),i+=s)}}return i};function mh(e,t,n){var r=[],i=Yi(e,r,n);return r.length<2?n:i+t(r)}var vh=function(t){var n=t.cache,r=t.serializedArr;return Ji(function(){for(var i=0;i<r.length;i++)_o(n,r[i],!1)}),null},gh=Po(function(e,t){var n=!1,r=[],i=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("css can only be used during render");for(var d=arguments.length,f=new Array(d),c=0;c<d;c++)f[c]=arguments[c];var p=Wn(f,t.registered);return r.push(p),$o(t,p,!1),t.key+"-"+p.name},a=function(){if(n&&process.env.NODE_ENV!=="production")throw new Error("cx can only be used during render");for(var d=arguments.length,f=new Array(d),c=0;c<d;c++)f[c]=arguments[c];return mh(t.registered,i,hh(f))},s={css:i,cx:a,theme:I.useContext(Hn)},l=e.children(s);return n=!0,I.createElement(I.Fragment,null,I.createElement(vh,{cache:t,serializedArr:r}),l)});if(process.env.NODE_ENV!=="production"&&(gh.displayName="EmotionClassNames"),process.env.NODE_ENV!=="production"){var Ol=!0,bh=typeof jest<"u"||typeof vi<"u";if(Ol&&!bh){var Cl=typeof globalThis<"u"?globalThis:Ol?window:global,wl="__EMOTION_REACT_"+fh.version.split(".")[0]+"__";Cl[wl]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),Cl[wl]=!0}}const Ar={black:"#000",white:"#fff"},Gn={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"},Yn={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"},Kn={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"},Xn={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"},Jn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Mr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},yh={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function yn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function rn(){return rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rn.apply(this,arguments)}function En(e){return e!==null&&typeof e=="object"&&e.constructor===Object}function Sl(e){if(!En(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Sl(e[n])}),t}function $t(e,t,n={clone:!0}){const r=n.clone?rn({},e):e;return En(e)&&En(t)&&Object.keys(t).forEach(i=>{i!=="__proto__"&&(En(t[i])&&i in e&&En(e[i])?r[i]=$t(e[i],t[i],n):n.clone?r[i]=En(t[i])?Sl(t[i]):t[i]:r[i]=t[i])}),r}var o={},$l={get exports(){return o},set exports(e){o=e}},aa,_l;function sa(){if(_l)return aa;_l=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return aa=e,aa}var la,Rl;function Pl(){return Rl||(Rl=1,la=Function.call.bind(Object.prototype.hasOwnProperty)),la}var ca,Nl;function Eh(){if(Nl)return ca;Nl=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=sa(),n={},r=Pl();e=function(a){var s="Warning: "+a;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function i(a,s,l,u,d){if(process.env.NODE_ENV!=="production"){for(var f in a)if(r(a,f)){var c;try{if(typeof a[f]!="function"){var p=Error((u||"React class")+": "+l+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}c=a[f](s,f,u,l,null,t)}catch(g){c=g}if(c&&!(c instanceof Error)&&e((u||"React class")+": type specification of "+l+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof c+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),c instanceof Error&&!(c.message in n)){n[c.message]=!0;var v=d?d():"";e("Failed "+l+" type: "+c.message+(v??""))}}}}return i.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},ca=i,ca}var ua,Il;function Th(){if(Il)return ua;Il=1;var e=Rr,t=ra(),n=sa(),r=Pl(),i=Eh(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(l){var u="Warning: "+l;typeof console<"u"&&console.error(u);try{throw new Error(u)}catch{}});function s(){return null}return ua=function(l,u){var d=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function c(_){var M=_&&(d&&_[d]||_[f]);if(typeof M=="function")return M}var p="<<anonymous>>",v={array:y("array"),bigint:y("bigint"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:O(),arrayOf:x,element:T(),elementType:b(),instanceOf:$,node:A(),objectOf:P,oneOf:S,oneOfType:N,shape:K,exact:G};function g(_,M){return _===M?_!==0||1/_===1/M:_!==_&&M!==M}function m(_,M){this.message=_,this.data=M&&typeof M=="object"?M:{},this.stack=""}m.prototype=Error.prototype;function h(_){if(process.env.NODE_ENV!=="production")var M={},J=0;function ne(re,Z,ue,ee,X,ce,Q){if(ee=ee||p,ce=ce||ue,Q!==n){if(u){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}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var Ee=ee+":"+ue;!M[Ee]&&J<3&&(a("You are manually calling a React.PropTypes validation function for the `"+ce+"` prop on `"+ee+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),M[Ee]=!0,J++)}}return Z[ue]==null?re?Z[ue]===null?new m("The "+X+" `"+ce+"` is marked as required "+("in `"+ee+"`, but its value is `null`.")):new m("The "+X+" `"+ce+"` is marked as required in "+("`"+ee+"`, but its value is `undefined`.")):null:_(Z,ue,ee,X,ce)}var Y=ne.bind(null,!1);return Y.isRequired=ne.bind(null,!0),Y}function y(_){function M(J,ne,Y,re,Z,ue){var ee=J[ne],X=F(ee);if(X!==_){var ce=ie(ee);return new m("Invalid "+re+" `"+Z+"` of type "+("`"+ce+"` supplied to `"+Y+"`, expected ")+("`"+_+"`."),{expectedType:_})}return null}return h(M)}function O(){return h(s)}function x(_){function M(J,ne,Y,re,Z){if(typeof _!="function")return new m("Property `"+Z+"` of component `"+Y+"` has invalid PropType notation inside arrayOf.");var ue=J[ne];if(!Array.isArray(ue)){var ee=F(ue);return new m("Invalid "+re+" `"+Z+"` of type "+("`"+ee+"` supplied to `"+Y+"`, expected an array."))}for(var X=0;X<ue.length;X++){var ce=_(ue,X,Y,re,Z+"["+X+"]",n);if(ce instanceof Error)return ce}return null}return h(M)}function T(){function _(M,J,ne,Y,re){var Z=M[J];if(!l(Z)){var ue=F(Z);return new m("Invalid "+Y+" `"+re+"` of type "+("`"+ue+"` supplied to `"+ne+"`, expected a single ReactElement."))}return null}return h(_)}function b(){function _(M,J,ne,Y,re){var Z=M[J];if(!e.isValidElementType(Z)){var ue=F(Z);return new m("Invalid "+Y+" `"+re+"` of type "+("`"+ue+"` supplied to `"+ne+"`, expected a single ReactElement type."))}return null}return h(_)}function $(_){function M(J,ne,Y,re,Z){if(!(J[ne]instanceof _)){var ue=_.name||p,ee=le(J[ne]);return new m("Invalid "+re+" `"+Z+"` of type "+("`"+ee+"` supplied to `"+Y+"`, expected ")+("instance of `"+ue+"`."))}return null}return h(M)}function S(_){if(!Array.isArray(_))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),s;function M(J,ne,Y,re,Z){for(var ue=J[ne],ee=0;ee<_.length;ee++)if(g(ue,_[ee]))return null;var X=JSON.stringify(_,function(Q,B){var Ee=ie(B);return Ee==="symbol"?String(B):B});return new m("Invalid "+re+" `"+Z+"` of value `"+String(ue)+"` "+("supplied to `"+Y+"`, expected one of "+X+"."))}return h(M)}function P(_){function M(J,ne,Y,re,Z){if(typeof _!="function")return new m("Property `"+Z+"` of component `"+Y+"` has invalid PropType notation inside objectOf.");var ue=J[ne],ee=F(ue);if(ee!=="object")return new m("Invalid "+re+" `"+Z+"` of type "+("`"+ee+"` supplied to `"+Y+"`, expected an object."));for(var X in ue)if(r(ue,X)){var ce=_(ue,X,Y,re,Z+"."+X,n);if(ce instanceof Error)return ce}return null}return h(M)}function N(_){if(!Array.isArray(_))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var M=0;M<_.length;M++){var J=_[M];if(typeof J!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ae(J)+" at index "+M+"."),s}function ne(Y,re,Z,ue,ee){for(var X=[],ce=0;ce<_.length;ce++){var Q=_[ce],B=Q(Y,re,Z,ue,ee,n);if(B==null)return null;B.data&&r(B.data,"expectedType")&&X.push(B.data.expectedType)}var Ee=X.length>0?", expected one of type ["+X.join(", ")+"]":"";return new m("Invalid "+ue+" `"+ee+"` supplied to "+("`"+Z+"`"+Ee+"."))}return h(ne)}function A(){function _(M,J,ne,Y,re){return D(M[J])?null:new m("Invalid "+Y+" `"+re+"` supplied to "+("`"+ne+"`, expected a ReactNode."))}return h(_)}function j(_,M,J,ne,Y){return new m((_||"React class")+": "+M+" type `"+J+"."+ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+Y+"`.")}function K(_){function M(J,ne,Y,re,Z){var ue=J[ne],ee=F(ue);if(ee!=="object")return new m("Invalid "+re+" `"+Z+"` of type `"+ee+"` "+("supplied to `"+Y+"`, expected `object`."));for(var X in _){var ce=_[X];if(typeof ce!="function")return j(Y,re,Z,X,ie(ce));var Q=ce(ue,X,Y,re,Z+"."+X,n);if(Q)return Q}return null}return h(M)}function G(_){function M(J,ne,Y,re,Z){var ue=J[ne],ee=F(ue);if(ee!=="object")return new m("Invalid "+re+" `"+Z+"` of type `"+ee+"` "+("supplied to `"+Y+"`, expected `object`."));var X=t({},J[ne],_);for(var ce in X){var Q=_[ce];if(r(_,ce)&&typeof Q!="function")return j(Y,re,Z,ce,ie(Q));if(!Q)return new m("Invalid "+re+" `"+Z+"` key `"+ce+"` supplied to `"+Y+"`.\nBad object: "+JSON.stringify(J[ne],null," ")+`
|
|
55
|
+
Valid keys: `+JSON.stringify(Object.keys(_),null," "));var B=Q(ue,ce,Y,re,Z+"."+ce,n);if(B)return B}return null}return h(M)}function D(_){switch(typeof _){case"number":case"string":case"undefined":return!0;case"boolean":return!_;case"object":if(Array.isArray(_))return _.every(D);if(_===null||l(_))return!0;var M=c(_);if(M){var J=M.call(_),ne;if(M!==_.entries){for(;!(ne=J.next()).done;)if(!D(ne.value))return!1}else for(;!(ne=J.next()).done;){var Y=ne.value;if(Y&&!D(Y[1]))return!1}}else return!1;return!0;default:return!1}}function z(_,M){return _==="symbol"?!0:M?M["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&M instanceof Symbol:!1}function F(_){var M=typeof _;return Array.isArray(_)?"array":_ instanceof RegExp?"object":z(M,_)?"symbol":M}function ie(_){if(typeof _>"u"||_===null)return""+_;var M=F(_);if(M==="object"){if(_ instanceof Date)return"date";if(_ instanceof RegExp)return"regexp"}return M}function ae(_){var M=ie(_);switch(M){case"array":case"object":return"an "+M;case"boolean":case"date":case"regexp":return"a "+M;default:return M}}function le(_){return!_.constructor||!_.constructor.name?p:_.constructor.name}return v.checkPropTypes=i,v.resetWarningCache=i.resetWarningCache,v.PropTypes=v,v},ua}var da,Al;function xh(){if(Al)return da;Al=1;var e=sa();function t(){}function n(){}return n.resetWarningCache=t,da=function(){function r(s,l,u,d,f,c){if(c!==e){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function i(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:i,element:r,elementType:r,instanceOf:i,node:r,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return a.PropTypes=a,a},da}if(process.env.NODE_ENV!=="production"){var Oh=Rr,Ch=!0;$l.exports=Th()(Oh.isElement,Ch)}else $l.exports=xh()();function wh(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}function Ml(e,t,n,r,i){const a=e[t],s=i||t;if(a==null||typeof window>"u")return null;let l;const u=a.type;return typeof u=="function"&&!wh(u)&&(l="Did you accidentally use a plain function component for an element instead?"),l!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const kl=yn(o.element,Ml);kl.isRequired=yn(o.element.isRequired,Ml);const Zn=kl;function Sh(e){const{prototype:t={}}=e;return Boolean(t.isReactComponent)}function $h(e,t,n,r,i){const a=e[t],s=i||t;if(a==null||typeof window>"u")return null;let l;return typeof a=="function"&&!Sh(a)&&(l="Did you accidentally provide a plain function component instead?"),l!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${l} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const Io=yn(o.elementType,$h),_h="exact-prop: ";function Ao(e){return process.env.NODE_ENV==="production"?e:rn({},e,{[_h]:t=>{const n=Object.keys(t).filter(r=>!e.hasOwnProperty(r));return n.length>0?new Error(`The following props are not supported: ${n.map(r=>`\`${r}\``).join(", ")}. Please remove them.`):null}})}function on(e){let t="https://mui.com/production-error/?code="+e;for(let n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var Mo={},Rh={get exports(){return Mo},set exports(e){Mo=e}},Ve={};/**
|
|
56
|
+
* @license React
|
|
57
|
+
* react-is.production.min.js
|
|
58
|
+
*
|
|
59
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
60
|
+
*
|
|
61
|
+
* This source code is licensed under the MIT license found in the
|
|
62
|
+
* LICENSE file in the root directory of this source tree.
|
|
63
|
+
*/var jl;function Ph(){if(jl)return Ve;jl=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function m(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case n:case i:case r:case d:case f:return h;default:switch(h=h&&h.$$typeof,h){case l:case s:case u:case p:case c:case a:return h;default:return y}}case t:return y}}}return Ve.ContextConsumer=s,Ve.ContextProvider=a,Ve.Element=e,Ve.ForwardRef=u,Ve.Fragment=n,Ve.Lazy=p,Ve.Memo=c,Ve.Portal=t,Ve.Profiler=i,Ve.StrictMode=r,Ve.Suspense=d,Ve.SuspenseList=f,Ve.isAsyncMode=function(){return!1},Ve.isConcurrentMode=function(){return!1},Ve.isContextConsumer=function(h){return m(h)===s},Ve.isContextProvider=function(h){return m(h)===a},Ve.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},Ve.isForwardRef=function(h){return m(h)===u},Ve.isFragment=function(h){return m(h)===n},Ve.isLazy=function(h){return m(h)===p},Ve.isMemo=function(h){return m(h)===c},Ve.isPortal=function(h){return m(h)===t},Ve.isProfiler=function(h){return m(h)===i},Ve.isStrictMode=function(h){return m(h)===r},Ve.isSuspense=function(h){return m(h)===d},Ve.isSuspenseList=function(h){return m(h)===f},Ve.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===i||h===r||h===d||h===f||h===v||typeof h=="object"&&h!==null&&(h.$$typeof===p||h.$$typeof===c||h.$$typeof===a||h.$$typeof===s||h.$$typeof===u||h.$$typeof===g||h.getModuleId!==void 0)},Ve.typeOf=m,Ve}var Be={};/**
|
|
64
|
+
* @license React
|
|
65
|
+
* react-is.development.js
|
|
66
|
+
*
|
|
67
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
68
|
+
*
|
|
69
|
+
* This source code is licensed under the MIT license found in the
|
|
70
|
+
* LICENSE file in the root directory of this source tree.
|
|
71
|
+
*/var Dl;function Nh(){return Dl||(Dl=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),g=!1,m=!1,h=!1,y=!1,O=!1,x;x=Symbol.for("react.module.reference");function T(k){return!!(typeof k=="string"||typeof k=="function"||k===n||k===i||O||k===r||k===d||k===f||y||k===v||g||m||h||typeof k=="object"&&k!==null&&(k.$$typeof===p||k.$$typeof===c||k.$$typeof===a||k.$$typeof===s||k.$$typeof===u||k.$$typeof===x||k.getModuleId!==void 0))}function b(k){if(typeof k=="object"&&k!==null){var we=k.$$typeof;switch(we){case e:var je=k.type;switch(je){case n:case i:case r:case d:case f:return je;default:var Te=je&&je.$$typeof;switch(Te){case l:case s:case u:case p:case c:case a:return Te;default:return we}}case t:return we}}}var $=s,S=a,P=e,N=u,A=n,j=p,K=c,G=t,D=i,z=r,F=d,ie=f,ae=!1,le=!1;function _(k){return ae||(ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function M(k){return le||(le=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function J(k){return b(k)===s}function ne(k){return b(k)===a}function Y(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function re(k){return b(k)===u}function Z(k){return b(k)===n}function ue(k){return b(k)===p}function ee(k){return b(k)===c}function X(k){return b(k)===t}function ce(k){return b(k)===i}function Q(k){return b(k)===r}function B(k){return b(k)===d}function Ee(k){return b(k)===f}Be.ContextConsumer=$,Be.ContextProvider=S,Be.Element=P,Be.ForwardRef=N,Be.Fragment=A,Be.Lazy=j,Be.Memo=K,Be.Portal=G,Be.Profiler=D,Be.StrictMode=z,Be.Suspense=F,Be.SuspenseList=ie,Be.isAsyncMode=_,Be.isConcurrentMode=M,Be.isContextConsumer=J,Be.isContextProvider=ne,Be.isElement=Y,Be.isForwardRef=re,Be.isFragment=Z,Be.isLazy=ue,Be.isMemo=ee,Be.isPortal=X,Be.isProfiler=ce,Be.isStrictMode=Q,Be.isSuspense=B,Be.isSuspenseList=Ee,Be.isValidElementType=T,Be.typeOf=b}()),Be}(function(e){process.env.NODE_ENV==="production"?e.exports=Ph():e.exports=Nh()})(Rh);const Ih=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function Ah(e){const t=`${e}`.match(Ih);return t&&t[1]||""}function Fl(e,t=""){return e.displayName||e.name||Ah(e)||t}function Ll(e,t,n){const r=Fl(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function Mh(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return Fl(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Mo.ForwardRef:return Ll(e,e.render,"ForwardRef");case Mo.Memo:return Ll(e,e.type,"memo");default:return}}}function Wt(e,t,n,r,i){if(process.env.NODE_ENV==="production")return null;const a=e[t],s=i||t;return a==null?null:a&&a.nodeType!==1?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const jt=o.oneOfType([o.func,o.object]);function ke(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":on(7));return e.charAt(0).toUpperCase()+e.slice(1)}function fa(...e){return e.reduce((t,n)=>n==null?t:function(...i){t.apply(this,i),n.apply(this,i)},()=>{})}function Qn(e,t=166){let n;function r(...i){const a=()=>{e.apply(this,i)};clearTimeout(n),n=setTimeout(a,t)}return r.clear=()=>{clearTimeout(n)},r}function kh(e,t){return process.env.NODE_ENV==="production"?()=>null:(n,r,i,a,s)=>{const l=i||"<<anonymous>>",u=s||r;return typeof n[r]<"u"?new Error(`The ${a} \`${u}\` of \`${l}\` is deprecated. ${t}`):null}}function er(e,t){return E.isValidElement(e)&&t.indexOf(e.type.muiName)!==-1}function pt(e){return e&&e.ownerDocument||document}function Ht(e){return pt(e).defaultView||window}function jh(e,t){if(process.env.NODE_ENV==="production")return()=>null;const n=t?rn({},t.propTypes):null;return i=>(a,s,l,u,d,...f)=>{const c=d||s,p=n==null?void 0:n[c];if(p){const v=p(a,s,l,u,d,...f);if(v)return v}return typeof a[s]<"u"&&!a[i]?new Error(`The prop \`${c}\` of \`${e}\` can only be used together with the \`${i}\` prop.`):null}}function ko(e,t){typeof e=="function"?e(t):e&&(e.current=t)}const _t=typeof window<"u"?E.useLayoutEffect:E.useEffect;let Vl=0;function Dh(e){const[t,n]=E.useState(e),r=e||t;return E.useEffect(()=>{t==null&&(Vl+=1,n(`mui-${Vl}`))},[t]),r}const Bl=E["useId"];function Ul(e){if(Bl!==void 0){const t=Bl();return e??t}return Dh(e)}function zl(e,t,n,r,i){if(process.env.NODE_ENV==="production")return null;const a=i||t;return typeof e[t]<"u"?new Error(`The prop \`${a}\` is not supported. Please remove it.`):null}function jo({controlled:e,default:t,name:n,state:r="value"}){const{current:i}=E.useRef(e!==void 0),[a,s]=E.useState(t),l=i?e:a;if(process.env.NODE_ENV!=="production"){E.useEffect(()=>{i!==(e!==void 0)&&console.error([`MUI: A component is changing the ${i?"":"un"}controlled ${r} state of ${n} to be ${i?"un":""}controlled.`,"Elements should not switch from uncontrolled to controlled (or vice versa).",`Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`,"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.","More info: https://fb.me/react-controlled-components"].join(`
|
|
72
|
+
`))},[r,n,e]);const{current:d}=E.useRef(t);E.useEffect(()=>{!i&&d!==t&&console.error([`MUI: A component is changing the default ${r} state of an uncontrolled ${n} after being initialized. To suppress this warning opt to use a controlled ${n}.`].join(`
|
|
73
|
+
`))},[JSON.stringify(t)])}const u=E.useCallback(d=>{i||s(d)},[]);return[l,u]}function Dt(e){const t=E.useRef(e);return _t(()=>{t.current=e}),E.useCallback((...n)=>(0,t.current)(...n),[])}function it(...e){return E.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{ko(n,t)})},e)}let Do=!0,pa=!1,Wl;const Fh={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Lh(e){const{type:t,tagName:n}=e;return!!(n==="INPUT"&&Fh[t]&&!e.readOnly||n==="TEXTAREA"&&!e.readOnly||e.isContentEditable)}function Vh(e){e.metaKey||e.altKey||e.ctrlKey||(Do=!0)}function ha(){Do=!1}function Bh(){this.visibilityState==="hidden"&&pa&&(Do=!0)}function Uh(e){e.addEventListener("keydown",Vh,!0),e.addEventListener("mousedown",ha,!0),e.addEventListener("pointerdown",ha,!0),e.addEventListener("touchstart",ha,!0),e.addEventListener("visibilitychange",Bh,!0)}function zh(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch{}return Do||Lh(t)}function ma(){const e=E.useCallback(i=>{i!=null&&Uh(i.ownerDocument)},[]),t=E.useRef(!1);function n(){return t.current?(pa=!0,window.clearTimeout(Wl),Wl=window.setTimeout(()=>{pa=!1},100),t.current=!1,!0):!1}function r(i){return zh(i)?(t.current=!0,!0):!1}return{isFocusVisibleRef:t,onFocus:r,onBlur:n,ref:e}}function Hl(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let tr;function ql(){if(tr)return tr;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),tr="reverse",e.scrollLeft>0?tr="default":(e.scrollLeft=1,e.scrollLeft===0&&(tr="negative")),document.body.removeChild(e),tr}function Gl(e,t){const n=e.scrollLeft;if(t!=="rtl")return n;switch(ql()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Wh(e){const t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":Number.isFinite(e)?e!==Math.floor(e)?"float":"number":"Infinity";case"object":return e===null?"null":e.constructor.name;default:return t}}function Hh(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e}const qh=Number.isInteger||Hh;function Yl(e,t,n,r){const i=e[t];if(i==null||!qh(i)){const a=Wh(i);return new RangeError(`Invalid ${r} \`${t}\` of type \`${a}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function Kl(e,t,...n){return e[t]===void 0?null:Yl(e,t,...n)}function va(){return null}Kl.isRequired=Yl,va.isRequired=va;const Xl=process.env.NODE_ENV==="production"?va:Kl;function Jl(e,t){const n=rn({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=rn({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const i=e[r]||{},a=t[r];n[r]={},!a||!Object.keys(a)?n[r]=i:!i||!Object.keys(i)?n[r]=a:(n[r]=rn({},a),Object.keys(i).forEach(s=>{n[r][s]=Jl(i[s],a[s])}))}else n[r]===void 0&&(n[r]=e[r])}),n}function Ie(e,t,n){const r={};return Object.keys(e).forEach(i=>{r[i]=e[i].reduce((a,s)=>(s&&(a.push(t(s)),n&&n[s]&&a.push(n[s])),a),[]).join(" ")}),r}const Zl=e=>e,ga=(()=>{let e=Zl;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Zl}}})(),Gh={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",required:"required",selected:"selected"};function $e(e,t,n="Mui"){const r=Gh[t];return r?`${n}-${r}`:`${ga.generate(e)}-${t}`}function _e(e,t,n="Mui"){const r={};return t.forEach(i=>{r[i]=$e(e,i,n)}),r}function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C.apply(this,arguments)}function ye(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function ba(){return ba=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ba.apply(this,arguments)}var Yh=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Kh=Zs(function(e){return Yh.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Xh=Kh,Jh=function(t){return t!=="theme"},Ql=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?Xh:Jh},ec=function(t,n,r){var i;if(n){var a=n.shouldForwardProp;i=t.__emotion_forwardProp&&a?function(s){return t.__emotion_forwardProp(s)&&a(s)}:a}return typeof i!="function"&&r&&(i=t.__emotion_forwardProp),i},tc=`You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
74
|
+
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
75
|
+
You can read more about this here:
|
|
76
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Zh=function(t){var n=t.cache,r=t.serialized,i=t.isStringTag;return $o(n,r,i),Ji(function(){return _o(n,r,i)}),null},Qh=function e(t,n){if(process.env.NODE_ENV!=="production"&&t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
|
|
77
|
+
You may have forgotten to import it.`);var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,s;n!==void 0&&(a=n.label,s=n.target);var l=ec(t,n,r),u=l||Ql(i),d=!u("as");return function(){var f=arguments,c=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&c.push("label:"+a+";"),f[0]==null||f[0].raw===void 0)c.push.apply(c,f);else{process.env.NODE_ENV!=="production"&&f[0][0]===void 0&&console.error(tc),c.push(f[0][0]);for(var p=f.length,v=1;v<p;v++)process.env.NODE_ENV!=="production"&&f[0][v]===void 0&&console.error(tc),c.push(f[v],f[0][v])}var g=Po(function(m,h,y){var O=d&&m.as||i,x="",T=[],b=m;if(m.theme==null){b={};for(var $ in m)b[$]=m[$];b.theme=I.useContext(Hn)}typeof m.className=="string"?x=Yi(h.registered,T,m.className):m.className!=null&&(x=m.className+" ");var S=Wn(c.concat(T),h.registered,b);x+=h.key+"-"+S.name,s!==void 0&&(x+=" "+s);var P=d&&l===void 0?Ql(O):u,N={};for(var A in m)d&&A==="as"||P(A)&&(N[A]=m[A]);return N.className=x,N.ref=y,I.createElement(I.Fragment,null,I.createElement(Zh,{cache:h,serialized:S,isStringTag:typeof O=="string"}),I.createElement(O,N))});return g.displayName=a!==void 0?a:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=i,g.__emotion_styles=c,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return s===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+s}}),g.withComponent=function(m,h){return e(m,ba({},n,h,{shouldForwardProp:ec(g,h,!0)})).apply(void 0,c)},g}},em=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],ya=Qh.bind();em.forEach(function(e){ya[e]=ya(e)});const tm=ya;function nm(e){return e==null||Object.keys(e).length===0}function nc(e){const{styles:t,defaultTheme:n={}}=e;return W(xl,{styles:typeof t=="function"?i=>t(nm(i)?n:i):t})}process.env.NODE_ENV!=="production"&&(nc.propTypes={defaultTheme:o.object,styles:o.oneOfType([o.string,o.object,o.func])});/**
|
|
78
|
+
* @mui/styled-engine v5.11.8
|
|
79
|
+
*
|
|
80
|
+
* @license MIT
|
|
81
|
+
* This source code is licensed under the MIT license found in the
|
|
82
|
+
* LICENSE file in the root directory of this source tree.
|
|
83
|
+
*/function rc(e,t){const n=tm(e,t);return process.env.NODE_ENV!=="production"?(...r)=>{const i=typeof e=="string"?`"${e}"`:"component";return r.length===0?console.error([`MUI: Seems like you called \`styled(${i})()\` without a \`style\` argument.`,'You must provide a `styles` argument: `styled("div")(styleYouForgotToPass)`.'].join(`
|
|
84
|
+
`)):r.some(a=>a===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),n(...r)}:n}const rm=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},an=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.string,o.object,o.array]):{};function mt(){return mt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(this,arguments)}function kr(e,t){return t?$t(e,t,{clone:!1}):e}const Ea={xs:0,sm:600,md:900,lg:1200,xl:1536},oc={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ea[e]}px)`};function Zt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||oc;return t.reduce((s,l,u)=>(s[a.up(a.keys[u])]=n(t[u]),s),{})}if(typeof t=="object"){const a=r.breakpoints||oc;return Object.keys(t).reduce((s,l)=>{if(Object.keys(a.values||Ea).indexOf(l)!==-1){const u=a.up(l);s[u]=n(t[l],l)}else{const u=l;s[u]=t[u]}return s},{})}return n(t)}function om(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((r,i)=>{const a=e.up(i);return r[a]={},r},{}))||{}}function im(e,t){return e.reduce((n,r)=>{const i=n[r];return(!i||Object.keys(i).length===0)&&delete n[r],n},t)}function Fo(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((i,a)=>i&&i[a]?i[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,i)=>r&&r[i]!=null?r[i]:null,e)}function Lo(e,t,n,r=n){let i;return typeof e=="function"?i=e(n):Array.isArray(e)?i=e[n]||r:i=Fo(e,n)||r,t&&(i=t(i,r,e)),i}function Ue(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=s=>{if(s[t]==null)return null;const l=s[t],u=s.theme,d=Fo(u,r)||{};return Zt(s,l,c=>{let p=Lo(d,i,c);return c===p&&typeof c=="string"&&(p=Lo(d,i,`${t}${c==="default"?"":ke(c)}`,c)),n===!1?p:{[n]:p}})};return a.propTypes=process.env.NODE_ENV!=="production"?{[t]:an}:{},a.filterProps=[t],a}function Vo(...e){const t=e.reduce((r,i)=>(i.filterProps.forEach(a=>{r[a]=i}),r),{}),n=r=>Object.keys(r).reduce((i,a)=>t[a]?kr(i,t[a](r)):i,{});return n.propTypes=process.env.NODE_ENV!=="production"?e.reduce((r,i)=>Object.assign(r,i.propTypes),{}):{},n.filterProps=e.reduce((r,i)=>r.concat(i.filterProps),[]),n}function am(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const sm={m:"margin",p:"padding"},lm={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},ic={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},cm=am(e=>{if(e.length>2)if(ic[e])e=ic[e];else return[e];const[t,n]=e.split(""),r=sm[t],i=lm[n]||"";return Array.isArray(i)?i.map(a=>r+a):[r+i]}),Bo=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Uo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],um=[...Bo,...Uo];function jr(e,t,n,r){var i;const a=(i=Fo(e,t,!1))!=null?i:n;return typeof a=="number"?s=>typeof s=="string"?s:(process.env.NODE_ENV!=="production"&&typeof s!="number"&&console.error(`MUI: Expected ${r} 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(`
|
|
85
|
+
`)):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(`
|
|
86
|
+
`))),a[s]):typeof a=="function"?a:(process.env.NODE_ENV!=="production"&&console.error([`MUI: The \`theme.${t}\` value (${a}) is invalid.`,"It should be a number, an array or a function."].join(`
|
|
87
|
+
`)),()=>{})}function ac(e){return jr(e,"spacing",8,"spacing")}function Dr(e,t){if(typeof t=="string"||t==null)return t;const n=Math.abs(t),r=e(n);return t>=0?r:typeof r=="number"?-r:`-${r}`}function dm(e,t){return n=>e.reduce((r,i)=>(r[i]=Dr(t,n),r),{})}function fm(e,t,n,r){if(t.indexOf(n)===-1)return null;const i=cm(n),a=dm(i,r),s=e[n];return Zt(e,s,a)}function sc(e,t){const n=ac(e.theme);return Object.keys(e).map(r=>fm(e,t,r,n)).reduce(kr,{})}function tt(e){return sc(e,Bo)}tt.propTypes=process.env.NODE_ENV!=="production"?Bo.reduce((e,t)=>(e[t]=an,e),{}):{},tt.filterProps=Bo;function nt(e){return sc(e,Uo)}nt.propTypes=process.env.NODE_ENV!=="production"?Uo.reduce((e,t)=>(e[t]=an,e),{}):{},nt.filterProps=Uo,process.env.NODE_ENV!=="production"&&um.reduce((e,t)=>(e[t]=an,e),{});function qt(e){return typeof e!="number"?e:`${e}px solid`}const pm=Ue({prop:"border",themeKey:"borders",transform:qt}),hm=Ue({prop:"borderTop",themeKey:"borders",transform:qt}),mm=Ue({prop:"borderRight",themeKey:"borders",transform:qt}),vm=Ue({prop:"borderBottom",themeKey:"borders",transform:qt}),gm=Ue({prop:"borderLeft",themeKey:"borders",transform:qt}),bm=Ue({prop:"borderColor",themeKey:"palette"}),ym=Ue({prop:"borderTopColor",themeKey:"palette"}),Em=Ue({prop:"borderRightColor",themeKey:"palette"}),Tm=Ue({prop:"borderBottomColor",themeKey:"palette"}),xm=Ue({prop:"borderLeftColor",themeKey:"palette"}),zo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=jr(e.theme,"shape.borderRadius",4,"borderRadius"),n=r=>({borderRadius:Dr(t,r)});return Zt(e,e.borderRadius,n)}return null};zo.propTypes=process.env.NODE_ENV!=="production"?{borderRadius:an}:{},zo.filterProps=["borderRadius"],Vo(pm,hm,mm,vm,gm,bm,ym,Em,Tm,xm,zo);const Wo=e=>{if(e.gap!==void 0&&e.gap!==null){const t=jr(e.theme,"spacing",8,"gap"),n=r=>({gap:Dr(t,r)});return Zt(e,e.gap,n)}return null};Wo.propTypes=process.env.NODE_ENV!=="production"?{gap:an}:{},Wo.filterProps=["gap"];const Ho=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=jr(e.theme,"spacing",8,"columnGap"),n=r=>({columnGap:Dr(t,r)});return Zt(e,e.columnGap,n)}return null};Ho.propTypes=process.env.NODE_ENV!=="production"?{columnGap:an}:{},Ho.filterProps=["columnGap"];const qo=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=jr(e.theme,"spacing",8,"rowGap"),n=r=>({rowGap:Dr(t,r)});return Zt(e,e.rowGap,n)}return null};qo.propTypes=process.env.NODE_ENV!=="production"?{rowGap:an}:{},qo.filterProps=["rowGap"];const Om=Ue({prop:"gridColumn"}),Cm=Ue({prop:"gridRow"}),wm=Ue({prop:"gridAutoFlow"}),Sm=Ue({prop:"gridAutoColumns"}),$m=Ue({prop:"gridAutoRows"}),_m=Ue({prop:"gridTemplateColumns"}),Rm=Ue({prop:"gridTemplateRows"}),Pm=Ue({prop:"gridTemplateAreas"}),Nm=Ue({prop:"gridArea"});Vo(Wo,Ho,qo,Om,Cm,wm,Sm,$m,_m,Rm,Pm,Nm);function nr(e,t){return t==="grey"?t:e}const Im=Ue({prop:"color",themeKey:"palette",transform:nr}),Am=Ue({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:nr}),Mm=Ue({prop:"backgroundColor",themeKey:"palette",transform:nr});Vo(Im,Am,Mm);function Ct(e){return e<=1&&e!==0?`${e*100}%`:e}const km=Ue({prop:"width",transform:Ct}),Ta=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var r,i,a;return{maxWidth:((r=e.theme)==null||(i=r.breakpoints)==null||(a=i.values)==null?void 0:a[n])||Ea[n]||Ct(n)}};return Zt(e,e.maxWidth,t)}return null};Ta.filterProps=["maxWidth"];const jm=Ue({prop:"minWidth",transform:Ct}),Dm=Ue({prop:"height",transform:Ct}),Fm=Ue({prop:"maxHeight",transform:Ct}),Lm=Ue({prop:"minHeight",transform:Ct});Ue({prop:"size",cssProperty:"width",transform:Ct}),Ue({prop:"size",cssProperty:"height",transform:Ct});const Vm=Ue({prop:"boxSizing"});Vo(km,Ta,jm,Dm,Fm,Lm,Vm);const Go={border:{themeKey:"borders",transform:qt},borderTop:{themeKey:"borders",transform:qt},borderRight:{themeKey:"borders",transform:qt},borderBottom:{themeKey:"borders",transform:qt},borderLeft:{themeKey:"borders",transform:qt},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:zo},color:{themeKey:"palette",transform:nr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:nr},backgroundColor:{themeKey:"palette",transform:nr},p:{style:nt},pt:{style:nt},pr:{style:nt},pb:{style:nt},pl:{style:nt},px:{style:nt},py:{style:nt},padding:{style:nt},paddingTop:{style:nt},paddingRight:{style:nt},paddingBottom:{style:nt},paddingLeft:{style:nt},paddingX:{style:nt},paddingY:{style:nt},paddingInline:{style:nt},paddingInlineStart:{style:nt},paddingInlineEnd:{style:nt},paddingBlock:{style:nt},paddingBlockStart:{style:nt},paddingBlockEnd:{style:nt},m:{style:tt},mt:{style:tt},mr:{style:tt},mb:{style:tt},ml:{style:tt},mx:{style:tt},my:{style:tt},margin:{style:tt},marginTop:{style:tt},marginRight:{style:tt},marginBottom:{style:tt},marginLeft:{style:tt},marginX:{style:tt},marginY:{style:tt},marginInline:{style:tt},marginInlineStart:{style:tt},marginInlineEnd:{style:tt},marginBlock:{style:tt},marginBlockStart:{style:tt},marginBlockEnd:{style:tt},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:Wo},rowGap:{style:qo},columnGap:{style:Ho},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ct},maxWidth:{style:Ta},minWidth:{transform:Ct},height:{transform:Ct},maxHeight:{transform:Ct},minHeight:{transform:Ct},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Bm(...e){const t=e.reduce((r,i)=>r.concat(Object.keys(i)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Um(e,t){return typeof e=="function"?e(t):e}function zm(){function e(n,r,i,a){const s={[n]:r,theme:i},l=a[n];if(!l)return{[n]:r};const{cssProperty:u=n,themeKey:d,transform:f,style:c}=l;if(r==null)return null;const p=Fo(i,d)||{};return c?c(s):Zt(s,r,g=>{let m=Lo(p,f,g);return g===m&&typeof g=="string"&&(m=Lo(p,f,`${n}${g==="default"?"":ke(g)}`,g)),u===!1?m:{[u]:m}})}function t(n){var r;const{sx:i,theme:a={}}=n||{};if(!i)return null;const s=(r=a.unstable_sxConfig)!=null?r:Go;function l(u){let d=u;if(typeof u=="function")d=u(a);else if(typeof u!="object")return u;if(!d)return null;const f=om(a.breakpoints),c=Object.keys(f);let p=f;return Object.keys(d).forEach(v=>{const g=Um(d[v],a);if(g!=null)if(typeof g=="object")if(s[v])p=kr(p,e(v,g,a,s));else{const m=Zt({theme:a},g,h=>({[v]:h}));Bm(m,g)?p[v]=t({sx:g,theme:a}):p=kr(p,m)}else p=kr(p,e(v,g,a,s))}),im(c,p)}return Array.isArray(i)?i.map(l):l(i)}return t}const lc=zm();lc.filterProps=["sx"];const Yo=lc;function sn(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}const Wm=["sx"],Hm=e=>{var t,n;const r={systemProps:{},otherProps:{}},i=(t=e==null||(n=e.theme)==null?void 0:n.unstable_sxConfig)!=null?t:Go;return Object.keys(e).forEach(a=>{i[a]?r.systemProps[a]=e[a]:r.otherProps[a]=e[a]}),r};function cc(e){const{sx:t}=e,n=sn(e,Wm),{systemProps:r,otherProps:i}=Hm(n);let a;return Array.isArray(t)?a=[r,...t]:typeof t=="function"?a=(...s)=>{const l=t(...s);return En(l)?mt({},r,l):r}:a=mt({},r,t),mt({},i,{sx:a})}function uc(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=uc(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function ve(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=uc(e))&&(r&&(r+=" "),r+=t);return r}const qm=["values","unit","step"],Gm=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>mt({},n,{[r.key]:r.val}),{})};function Ym(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,i=sn(e,qm),a=Gm(t),s=Object.keys(a);function l(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function u(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function d(p,v){const g=s.indexOf(v);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(g!==-1&&typeof t[s[g]]=="number"?t[s[g]]:v)-r/100}${n})`}function f(p){return s.indexOf(p)+1<s.length?d(p,s[s.indexOf(p)+1]):l(p)}function c(p){const v=s.indexOf(p);return v===0?l(s[1]):v===s.length-1?u(s[v]):d(p,s[s.indexOf(p)+1]).replace("@media","@media not all and")}return mt({keys:s,values:a,up:l,down:u,between:d,only:f,not:c,unit:n},i)}const Km={borderRadius:4};function Xm(e=8){if(e.mui)return e;const t=ac({spacing:e}),n=(...r)=>(process.env.NODE_ENV!=="production"&&(r.length<=4||console.error(`MUI: Too many arguments provided, expected between 0 and 4, got ${r.length}`)),(r.length===0?[1]:r).map(a=>{const s=t(a);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}const Jm=["breakpoints","palette","spacing","shape"];function xa(e={},...t){const{breakpoints:n={},palette:r={},spacing:i,shape:a={}}=e,s=sn(e,Jm),l=Ym(n),u=Xm(i);let d=$t({breakpoints:l,direction:"ltr",components:{},palette:mt({mode:"light"},r),spacing:u,shape:mt({},Km,a)},s);return d=t.reduce((f,c)=>$t(f,c),d),d.unstable_sxConfig=mt({},Go,s==null?void 0:s.unstable_sxConfig),d.unstable_sx=function(c){return Yo({sx:c,theme:this})},d}function Oa(){return Oa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Oa.apply(this,arguments)}const dc=E.createContext(null);process.env.NODE_ENV!=="production"&&(dc.displayName="ThemeContext");const fc=dc;function pc(){const e=E.useContext(fc);return process.env.NODE_ENV!=="production"&&E.useDebugValue(e),e}const Zm=typeof Symbol=="function"&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Qm(e,t){if(typeof t=="function"){const n=t(e);return process.env.NODE_ENV!=="production"&&(n||console.error(["MUI: You should return an object from your theme function, i.e.","<ThemeProvider theme={() => ({})} />"].join(`
|
|
88
|
+
`))),n}return Oa({},e,t)}function Ko(e){const{children:t,theme:n}=e,r=pc();process.env.NODE_ENV!=="production"&&r===null&&typeof n=="function"&&console.error(["MUI: You are providing a theme function prop to the ThemeProvider component:","<ThemeProvider theme={outerTheme => outerTheme} />","","However, no outer theme is present.","Make sure a theme is already injected higher in the React tree or provide a theme object."].join(`
|
|
89
|
+
`));const i=E.useMemo(()=>{const a=r===null?n:Qm(r,n);return a!=null&&(a[Zm]=r!==null),a},[n,r]);return W(fc.Provider,{value:i,children:t})}process.env.NODE_ENV!=="production"&&(Ko.propTypes={children:o.node,theme:o.oneOfType([o.object,o.func]).isRequired}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Ko.propTypes=Ao(Ko.propTypes));function ev(e){return Object.keys(e).length===0}function hc(e=null){const t=pc();return!t||ev(t)?e:t}const tv=xa();function Xo(e=tv){return hc(e)}const nv=["className","component"];function rv(e={}){const{defaultTheme:t,defaultClassName:n="MuiBox-root",generateClassName:r}=e,i=rc("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(Yo);return E.forwardRef(function(l,u){const d=Xo(t),f=cc(l),{className:c,component:p="div"}=f,v=sn(f,nv);return W(i,mt({as:p,ref:u,className:ve(c,r?r(n):n),theme:d},v))})}const ov=["variant"];function mc(e){return e.length===0}function vc(e){const{variant:t}=e,n=sn(e,ov);let r=t||"";return Object.keys(n).sort().forEach(i=>{i==="color"?r+=mc(r)?e[i]:ke(e[i]):r+=`${mc(r)?i:ke(i)}${ke(e[i].toString())}`}),r}const iv=["name","slot","skipVariantsResolver","skipSx","overridesResolver"],av=["theme"],sv=["theme"];function Fr(e){return Object.keys(e).length===0}function lv(e){return typeof e=="string"&&e.charCodeAt(0)>96}const cv=(e,t)=>t.components&&t.components[e]&&t.components[e].styleOverrides?t.components[e].styleOverrides:null,uv=(e,t)=>{let n=[];t&&t.components&&t.components[e]&&t.components[e].variants&&(n=t.components[e].variants);const r={};return n.forEach(i=>{const a=vc(i.props);r[a]=i.style}),r},dv=(e,t,n,r)=>{var i,a;const{ownerState:s={}}=e,l=[],u=n==null||(i=n.components)==null||(a=i[r])==null?void 0:a.variants;return u&&u.forEach(d=>{let f=!0;Object.keys(d.props).forEach(c=>{s[c]!==d.props[c]&&e[c]!==d.props[c]&&(f=!1)}),f&&l.push(t[vc(d.props)])}),l};function Lr(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const fv=xa(),pv=e=>e.charAt(0).toLowerCase()+e.slice(1);function hv(e={}){const{defaultTheme:t=fv,rootShouldForwardProp:n=Lr,slotShouldForwardProp:r=Lr}=e,i=a=>{const s=Fr(a.theme)?t:a.theme;return Yo(mt({},a,{theme:s}))};return i.__mui_systemSx=!0,(a,s={})=>{rm(a,x=>x.filter(T=>!(T!=null&&T.__mui_systemSx)));const{name:l,slot:u,skipVariantsResolver:d,skipSx:f,overridesResolver:c}=s,p=sn(s,iv),v=d!==void 0?d:u&&u!=="Root"||!1,g=f||!1;let m;process.env.NODE_ENV!=="production"&&l&&(m=`${l}-${pv(u||"Root")}`);let h=Lr;u==="Root"?h=n:u?h=r:lv(a)&&(h=void 0);const y=rc(a,mt({shouldForwardProp:h,label:m},p)),O=(x,...T)=>{const b=T?T.map(N=>typeof N=="function"&&N.__emotion_real!==N?A=>{let{theme:j}=A,K=sn(A,av);return N(mt({theme:Fr(j)?t:j},K))}:N):[];let $=x;l&&c&&b.push(N=>{const A=Fr(N.theme)?t:N.theme,j=cv(l,A);if(j){const K={};return Object.entries(j).forEach(([G,D])=>{K[G]=typeof D=="function"?D(mt({},N,{theme:A})):D}),c(N,K)}return null}),l&&!v&&b.push(N=>{const A=Fr(N.theme)?t:N.theme;return dv(N,uv(l,A),A,l)}),g||b.push(i);const S=b.length-T.length;if(Array.isArray(x)&&S>0){const N=new Array(S).fill("");$=[...x,...N],$.raw=[...x.raw,...N]}else typeof x=="function"&&x.__emotion_real!==x&&($=N=>{let{theme:A}=N,j=sn(N,sv);return x(mt({theme:Fr(A)?t:A},j))});const P=y($,...b);if(process.env.NODE_ENV!=="production"){let N;l&&(N=`${l}${u||""}`),N===void 0&&(N=`Styled(${Mh(a)})`),P.displayName=N}return P};return y.withConfig&&(O.withConfig=y.withConfig),O}}function mv(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:Jl(t.components[n].defaultProps,r)}function vv({props:e,name:t,defaultTheme:n}){const r=Xo(n);return mv({theme:r,name:t,props:e})}function Ca(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}].`),Math.min(Math.max(t,e),n)}function gv(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(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,i)=>i<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Tn(e){if(e.type)return e;if(e.charAt(0)==="#")return Tn(gv(e));const t=e.indexOf("("),n=e.substring(0,t);if(["rgb","rgba","hsl","hsla","color"].indexOf(n)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
90
|
+
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:on(9,e));let r=e.substring(t+1,e.length-1),i;if(n==="color"){if(r=r.split(" "),i=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(i)===-1)throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${i}\` color space.
|
|
91
|
+
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:on(10,i))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:i}}function Jo(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.indexOf("rgb")!==-1?r=r.map((i,a)=>a<3?parseInt(i,10):i):t.indexOf("hsl")!==-1&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.indexOf("color")!==-1?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function bv(e){e=Tn(e);const{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),s=(d,f=(d+n/30)%12)=>i-a*Math.max(Math.min(f-3,9-f,1),-1);let l="rgb";const u=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(l+="a",u.push(t[3])),Jo({type:l,values:u})}function gc(e){e=Tn(e);let t=e.type==="hsl"||e.type==="hsla"?Tn(bv(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function bc(e,t){const n=gc(e),r=gc(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function lt(e,t){return e=Tn(e),t=Ca(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Jo(e)}function yv(e,t){if(e=Tn(e),t=Ca(t),e.type.indexOf("hsl")!==-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")!==-1||e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Jo(e)}function Ev(e,t){if(e=Tn(e),t=Ca(t),e.type.indexOf("hsl")!==-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.indexOf("color")!==-1)for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Jo(e)}const Tv={};function yc(e){const t=Xo();return W(Hn.Provider,{value:typeof t=="object"?t:Tv,children:e.children})}process.env.NODE_ENV!=="production"&&(yc.propTypes={children:o.node});function Zo(e){const{children:t,theme:n}=e;return W(Ko,{theme:n,children:W(yc,{children:t})})}process.env.NODE_ENV!=="production"&&(Zo.propTypes={children:o.node,theme:o.oneOfType([o.func,o.object]).isRequired}),process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&(Zo.propTypes=Ao(Zo.propTypes));function xv(e,t){return C({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}const Ov=["mode","contrastThreshold","tonalOffset"],Ec={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:Ar.white,default:Ar.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}},wa={text:{primary:Ar.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:Ar.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 Tc(e,t,n,r){const i=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=Ev(e.main,i):t==="dark"&&(e.dark=yv(e.main,a)))}function Cv(e="light"){return e==="dark"?{main:Kn[200],light:Kn[50],dark:Kn[400]}:{main:Kn[700],light:Kn[400],dark:Kn[800]}}function wv(e="light"){return e==="dark"?{main:Yn[200],light:Yn[50],dark:Yn[400]}:{main:Yn[500],light:Yn[300],dark:Yn[700]}}function Sv(e="light"){return e==="dark"?{main:Gn[500],light:Gn[300],dark:Gn[700]}:{main:Gn[700],light:Gn[400],dark:Gn[800]}}function $v(e="light"){return e==="dark"?{main:Xn[400],light:Xn[300],dark:Xn[700]}:{main:Xn[700],light:Xn[500],dark:Xn[900]}}function _v(e="light"){return e==="dark"?{main:Jn[400],light:Jn[300],dark:Jn[700]}:{main:Jn[800],light:Jn[500],dark:Jn[900]}}function Rv(e="light"){return e==="dark"?{main:Mr[400],light:Mr[300],dark:Mr[700]}:{main:"#ed6c02",light:Mr[500],dark:Mr[900]}}function Pv(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,i=ye(e,Ov),a=e.primary||Cv(t),s=e.secondary||wv(t),l=e.error||Sv(t),u=e.info||$v(t),d=e.success||_v(t),f=e.warning||Rv(t);function c(m){const h=bc(m,wa.text.primary)>=n?wa.text.primary:Ec.text.primary;if(process.env.NODE_ENV!=="production"){const y=bc(m,h);y<3&&console.error([`MUI: The contrast ratio of ${y}:1 for ${h} 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(`
|
|
92
|
+
`))}return h}const p=({color:m,name:h,mainShade:y=500,lightShade:O=300,darkShade:x=700})=>{if(m=C({},m),!m.main&&m[y]&&(m.main=m[y]),!m.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${h?` (${h})`:""} provided to augmentColor(color) is invalid.
|
|
93
|
+
The color object needs to have a \`main\` property or a \`${y}\` property.`:on(11,h?` (${h})`:"",y));if(typeof m.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${h?` (${h})`:""} provided to augmentColor(color) is invalid.
|
|
94
|
+
\`color.main\` should be a string, but \`${JSON.stringify(m.main)}\` was provided instead.
|
|
95
|
+
|
|
96
|
+
Did you intend to use one of the following approaches?
|
|
97
|
+
|
|
98
|
+
import { green } from "@mui/material/colors";
|
|
99
|
+
|
|
100
|
+
const theme1 = createTheme({ palette: {
|
|
101
|
+
primary: green,
|
|
102
|
+
} });
|
|
103
|
+
|
|
104
|
+
const theme2 = createTheme({ palette: {
|
|
105
|
+
primary: { main: green[500] },
|
|
106
|
+
} });`:on(12,h?` (${h})`:"",JSON.stringify(m.main)));return Tc(m,"light",O,r),Tc(m,"dark",x,r),m.contrastText||(m.contrastText=c(m.main)),m},v={dark:wa,light:Ec};return process.env.NODE_ENV!=="production"&&(v[t]||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),$t(C({common:C({},Ar),mode:t,primary:p({color:a,name:"primary"}),secondary:p({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:f,name:"warning"}),info:p({color:u,name:"info"}),success:p({color:d,name:"success"}),grey:yh,contrastThreshold:n,getContrastText:c,augmentColor:p,tonalOffset:r},v[t]),i)}const Nv=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Iv(e){return Math.round(e*1e5)/1e5}const xc={textTransform:"uppercase"},Oc='"Roboto", "Helvetica", "Arial", sans-serif';function Av(e,t){const n=typeof t=="function"?t(e):t,{fontFamily:r=Oc,fontSize:i=14,fontWeightLight:a=300,fontWeightRegular:s=400,fontWeightMedium:l=500,fontWeightBold:u=700,htmlFontSize:d=16,allVariants:f,pxToRem:c}=n,p=ye(n,Nv);process.env.NODE_ENV!=="production"&&(typeof i!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof d!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const v=i/14,g=c||(y=>`${y/d*v}rem`),m=(y,O,x,T,b)=>C({fontFamily:r,fontWeight:y,fontSize:g(O),lineHeight:x},r===Oc?{letterSpacing:`${Iv(T/O)}em`}:{},b,f),h={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(l,20,1.6,.15),subtitle1:m(s,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(s,16,1.5,.15),body2:m(s,14,1.43,.15),button:m(l,14,1.75,.4,xc),caption:m(s,12,1.66,.4),overline:m(s,12,2.66,1,xc)};return $t(C({htmlFontSize:d,pxToRem:g,fontFamily:r,fontSize:i,fontWeightLight:a,fontWeightRegular:s,fontWeightMedium:l,fontWeightBold:u},h),p,{clone:!1})}const Mv=.2,kv=.14,jv=.12;function Je(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Mv})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${kv})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${jv})`].join(",")}const Dv=["none",Je(0,2,1,-1,0,1,1,0,0,1,3,0),Je(0,3,1,-2,0,2,2,0,0,1,5,0),Je(0,3,3,-2,0,3,4,0,0,1,8,0),Je(0,2,4,-1,0,4,5,0,0,1,10,0),Je(0,3,5,-1,0,5,8,0,0,1,14,0),Je(0,3,5,-1,0,6,10,0,0,1,18,0),Je(0,4,5,-2,0,7,10,1,0,2,16,1),Je(0,5,5,-3,0,8,10,1,0,3,14,2),Je(0,5,6,-3,0,9,12,1,0,3,16,2),Je(0,6,6,-3,0,10,14,1,0,4,18,3),Je(0,6,7,-4,0,11,15,1,0,4,20,3),Je(0,7,8,-4,0,12,17,2,0,5,22,4),Je(0,7,8,-4,0,13,19,2,0,5,24,4),Je(0,7,9,-4,0,14,21,2,0,5,26,4),Je(0,8,9,-5,0,15,22,2,0,6,28,5),Je(0,8,10,-5,0,16,24,2,0,6,30,5),Je(0,8,11,-5,0,17,26,2,0,6,32,5),Je(0,9,11,-5,0,18,28,2,0,7,34,6),Je(0,9,12,-6,0,19,29,2,0,7,36,6),Je(0,10,13,-6,0,20,31,3,0,8,38,7),Je(0,10,13,-6,0,21,33,3,0,8,40,7),Je(0,10,14,-6,0,22,35,3,0,8,42,7),Je(0,11,14,-7,0,23,36,3,0,9,44,8),Je(0,11,15,-7,0,24,38,3,0,9,46,8)],Fv=["duration","easing","delay"],Lv={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)"},Vv={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Cc(e){return`${Math.round(e)}ms`}function Bv(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Uv(e){const t=C({},Lv,e.easing),n=C({},Vv,e.duration);return C({getAutoHeightDuration:Bv,create:(i=["all"],a={})=>{const{duration:s=n.standard,easing:l=t.easeInOut,delay:u=0}=a,d=ye(a,Fv);if(process.env.NODE_ENV!=="production"){const f=p=>typeof p=="string",c=p=>!isNaN(parseFloat(p));!f(i)&&!Array.isArray(i)&&console.error('MUI: Argument "props" must be a string or Array.'),!c(s)&&!f(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),f(l)||console.error('MUI: Argument "easing" must be a string.'),!c(u)&&!f(u)&&console.error('MUI: Argument "delay" must be a number or a string.'),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(i)?i:[i]).map(f=>`${f} ${typeof s=="string"?s:Cc(s)} ${l} ${typeof u=="string"?u:Cc(u)}`).join(",")}},e,{easing:t,duration:n})}const zv={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Wv=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Sa(e={},...t){const{mixins:n={},palette:r={},transitions:i={},typography:a={}}=e,s=ye(e,Wv);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.":on(18));const l=Pv(r),u=xa(e);let d=$t(u,{mixins:xv(u.breakpoints,n),palette:l,shadows:Dv.slice(),typography:Av(l,a),transitions:Uv(i),zIndex:C({},zv)});if(d=$t(d,s),d=t.reduce((f,c)=>$t(f,c),d),process.env.NODE_ENV!=="production"){const f=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],c=(p,v)=>{let g;for(g in p){const m=p[g];if(f.indexOf(g)!==-1&&Object.keys(m).length>0){if(process.env.NODE_ENV!=="production"){const h=$e("",g);console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${g}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${h}' syntax:`,JSON.stringify({root:{[`&.${h}`]:m}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
107
|
+
`))}p[g]={}}}};Object.keys(d.components).forEach(p=>{const v=d.components[p].styleOverrides;v&&p.indexOf("Mui")===0&&c(v,p)})}return d.unstable_sxConfig=C({},Go,s==null?void 0:s.unstable_sxConfig),d.unstable_sx=function(c){return Yo({sx:c,theme:this})},d}const Qo=Sa();function xn(){const e=Xo(Qo);return process.env.NODE_ENV!=="production"&&E.useDebugValue(e),e}function Ae({props:e,name:t}){return vv({props:e,name:t,defaultTheme:Qo})}const Gt=e=>Lr(e)&&e!=="classes",Hv=Lr,pe=hv({defaultTheme:Qo,rootShouldForwardProp:Gt}),wc=e=>{let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function rt(){return rt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rt.apply(this,arguments)}function rr(e){return typeof e=="string"}function Vr(e,t,n){return e===void 0||rr(e)?t:rt({},t,{ownerState:rt({},t.ownerState,n)})}function qv(e,t=[]){if(e===void 0)return{};const n={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function $a(e,t){return typeof e=="function"?e(t):e}function Br(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Sc(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Gv(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:i,className:a}=e;if(!t){const v=ve(i==null?void 0:i.className,r==null?void 0:r.className,a,n==null?void 0:n.className),g=rt({},n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),m=rt({},n,i,r);return v.length>0&&(m.className=v),Object.keys(g).length>0&&(m.style=g),{props:m,internalRef:void 0}}const s=qv(rt({},i,r)),l=Sc(r),u=Sc(i),d=t(s),f=ve(d==null?void 0:d.className,n==null?void 0:n.className,a,i==null?void 0:i.className,r==null?void 0:r.className),c=rt({},d==null?void 0:d.style,n==null?void 0:n.style,i==null?void 0:i.style,r==null?void 0:r.style),p=rt({},d,n,u,l);return f.length>0&&(p.className=f),Object.keys(c).length>0&&(p.style=c),{props:p,internalRef:d.ref}}const Yv=["elementType","externalSlotProps","ownerState"];function _a(e){var t;const{elementType:n,externalSlotProps:r,ownerState:i}=e,a=Br(e,Yv),s=$a(r,i),{props:l,internalRef:u}=Gv(rt({},a,{externalSlotProps:s})),d=it(u,s==null?void 0:s.ref,(t=e.additionalProps)==null?void 0:t.ref);return Vr(n,rt({},l,{ref:d}),i)}const Kv=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Xv(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?e.contentEditable==="true"||(e.nodeName==="AUDIO"||e.nodeName==="VIDEO"||e.nodeName==="DETAILS")&&e.getAttribute("tabindex")===null?0:e.tabIndex:t}function Jv(e){if(e.tagName!=="INPUT"||e.type!=="radio"||!e.name)return!1;const t=r=>e.ownerDocument.querySelector(`input[type="radio"]${r}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}function Zv(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||Jv(e))}function Qv(e){const t=[],n=[];return Array.from(e.querySelectorAll(Kv)).forEach((r,i)=>{const a=Xv(r);a===-1||!Zv(r)||(a===0?t.push(r):n.push({documentOrder:i,tabIndex:a,node:r}))}),n.sort((r,i)=>r.tabIndex===i.tabIndex?r.documentOrder-i.documentOrder:r.tabIndex-i.tabIndex).map(r=>r.node).concat(t)}function eg(){return!0}function ei(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:i=!1,getTabbable:a=Qv,isEnabled:s=eg,open:l}=e,u=E.useRef(!1),d=E.useRef(null),f=E.useRef(null),c=E.useRef(null),p=E.useRef(null),v=E.useRef(!1),g=E.useRef(null),m=it(t.ref,g),h=E.useRef(null);E.useEffect(()=>{!l||!g.current||(v.current=!n)},[n,l]),E.useEffect(()=>{if(!l||!g.current)return;const x=pt(g.current);return g.current.contains(x.activeElement)||(g.current.hasAttribute("tabIndex")||(process.env.NODE_ENV!=="production"&&console.error(["MUI: The modal content node does not accept focus.",'For the benefit of assistive technologies, the tabIndex of the node is being set to "-1".'].join(`
|
|
108
|
+
`)),g.current.setAttribute("tabIndex","-1")),v.current&&g.current.focus()),()=>{i||(c.current&&c.current.focus&&(u.current=!0,c.current.focus()),c.current=null)}},[l]),E.useEffect(()=>{if(!l||!g.current)return;const x=pt(g.current),T=S=>{const{current:P}=g;if(P!==null){if(!x.hasFocus()||r||!s()||u.current){u.current=!1;return}if(!P.contains(x.activeElement)){if(S&&p.current!==S.target||x.activeElement!==p.current)p.current=null;else if(p.current!==null)return;if(!v.current)return;let j=[];if((x.activeElement===d.current||x.activeElement===f.current)&&(j=a(g.current)),j.length>0){var N,A;const K=Boolean(((N=h.current)==null?void 0:N.shiftKey)&&((A=h.current)==null?void 0:A.key)==="Tab"),G=j[0],D=j[j.length-1];typeof G!="string"&&typeof D!="string"&&(K?D.focus():G.focus())}else P.focus()}}},b=S=>{h.current=S,!(r||!s()||S.key!=="Tab")&&x.activeElement===g.current&&S.shiftKey&&(u.current=!0,f.current&&f.current.focus())};x.addEventListener("focusin",T),x.addEventListener("keydown",b,!0);const $=setInterval(()=>{x.activeElement&&x.activeElement.tagName==="BODY"&&T(null)},50);return()=>{clearInterval($),x.removeEventListener("focusin",T),x.removeEventListener("keydown",b,!0)}},[n,r,i,s,l,a]);const y=x=>{c.current===null&&(c.current=x.relatedTarget),v.current=!0,p.current=x.target;const T=t.props.onFocus;T&&T(x)},O=x=>{c.current===null&&(c.current=x.relatedTarget),v.current=!0};return Ye(E.Fragment,{children:[W("div",{tabIndex:l?0:-1,onFocus:O,ref:d,"data-testid":"sentinelStart"}),E.cloneElement(t,{ref:m,onFocus:y}),W("div",{tabIndex:l?0:-1,onFocus:O,ref:f,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(ei.propTypes={children:Zn,disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableRestoreFocus:o.bool,getTabbable:o.func,isEnabled:o.func,open:o.bool.isRequired}),process.env.NODE_ENV!=="production"&&(ei["propTypes"]=Ao(ei.propTypes));var Tt="top",Rt="bottom",Pt="right",xt="left",ti="auto",Ur=[Tt,Rt,Pt,xt],or="start",zr="end",tg="clippingParents",$c="viewport",Wr="popper",ng="reference",_c=Ur.reduce(function(e,t){return e.concat([t+"-"+or,t+"-"+zr])},[]),Rc=[].concat(Ur,[ti]).reduce(function(e,t){return e.concat([t,t+"-"+or,t+"-"+zr])},[]),rg="beforeRead",og="read",ig="afterRead",ag="beforeMain",sg="main",lg="afterMain",cg="beforeWrite",ug="write",dg="afterWrite",Ra=[rg,og,ig,ag,sg,lg,cg,ug,dg];function Yt(e){return e?(e.nodeName||"").toLowerCase():null}function Nt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function On(e){var t=Nt(e).Element;return e instanceof t||e instanceof Element}function wt(e){var t=Nt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Pa(e){if(typeof ShadowRoot>"u")return!1;var t=Nt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function fg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!wt(a)||!Yt(a)||(Object.assign(a.style,r),Object.keys(i).forEach(function(s){var l=i[s];l===!1?a.removeAttribute(s):a.setAttribute(s,l===!0?"":l)}))})}function pg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],a=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),l=s.reduce(function(u,d){return u[d]="",u},{});!wt(i)||!Yt(i)||(Object.assign(i.style,l),Object.keys(a).forEach(function(u){i.removeAttribute(u)}))})}}const hg={name:"applyStyles",enabled:!0,phase:"write",fn:fg,effect:pg,requires:["computeStyles"]};function Ft(e){return e.split("-")[0]}var Cn=Math.max,ni=Math.min,ir=Math.round;function Na(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Pc(){return!/^((?!chrome|android).)*safari/i.test(Na())}function ar(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),i=1,a=1;t&&wt(e)&&(i=e.offsetWidth>0&&ir(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&ir(r.height)/e.offsetHeight||1);var s=On(e)?Nt(e):window,l=s.visualViewport,u=!Pc()&&n,d=(r.left+(u&&l?l.offsetLeft:0))/i,f=(r.top+(u&&l?l.offsetTop:0))/a,c=r.width/i,p=r.height/a;return{width:c,height:p,top:f,right:d+c,bottom:f+p,left:d,x:d,y:f}}function Ia(e){var t=ar(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Nc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Pa(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Lt(e){return Nt(e).getComputedStyle(e)}function mg(e){return["table","td","th"].indexOf(Yt(e))>=0}function ln(e){return((On(e)?e.ownerDocument:e.document)||window.document).documentElement}function ri(e){return Yt(e)==="html"?e:e.assignedSlot||e.parentNode||(Pa(e)?e.host:null)||ln(e)}function Ic(e){return!wt(e)||Lt(e).position==="fixed"?null:e.offsetParent}function vg(e){var t=/firefox/i.test(Na()),n=/Trident/i.test(Na());if(n&&wt(e)){var r=Lt(e);if(r.position==="fixed")return null}var i=ri(e);for(Pa(i)&&(i=i.host);wt(i)&&["html","body"].indexOf(Yt(i))<0;){var a=Lt(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Hr(e){for(var t=Nt(e),n=Ic(e);n&&mg(n)&&Lt(n).position==="static";)n=Ic(n);return n&&(Yt(n)==="html"||Yt(n)==="body"&&Lt(n).position==="static")?t:n||vg(e)||t}function Aa(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function qr(e,t,n){return Cn(e,ni(t,n))}function gg(e,t,n){var r=qr(e,t,n);return r>n?n:r}function Ac(){return{top:0,right:0,bottom:0,left:0}}function Mc(e){return Object.assign({},Ac(),e)}function kc(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var bg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Mc(typeof t!="number"?t:kc(t,Ur))};function yg(e){var t,n=e.state,r=e.name,i=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,l=Ft(n.placement),u=Aa(l),d=[xt,Pt].indexOf(l)>=0,f=d?"height":"width";if(!(!a||!s)){var c=bg(i.padding,n),p=Ia(a),v=u==="y"?Tt:xt,g=u==="y"?Rt:Pt,m=n.rects.reference[f]+n.rects.reference[u]-s[u]-n.rects.popper[f],h=s[u]-n.rects.reference[u],y=Hr(a),O=y?u==="y"?y.clientHeight||0:y.clientWidth||0:0,x=m/2-h/2,T=c[v],b=O-p[f]-c[g],$=O/2-p[f]/2+x,S=qr(T,$,b),P=u;n.modifiersData[r]=(t={},t[P]=S,t.centerOffset=S-$,t)}}function Eg(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;if(i!=null&&!(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i))){if(process.env.NODE_ENV!=="production"&&(wt(i)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),!Nc(t.elements.popper,i)){process.env.NODE_ENV!=="production"&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "));return}t.elements.arrow=i}}const Tg={name:"arrow",enabled:!0,phase:"main",fn:yg,effect:Eg,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function sr(e){return e.split("-")[1]}var xg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Og(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:ir(t*i)/i||0,y:ir(n*i)/i||0}}function jc(e){var t,n=e.popper,r=e.popperRect,i=e.placement,a=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,d=e.adaptive,f=e.roundOffsets,c=e.isFixed,p=s.x,v=p===void 0?0:p,g=s.y,m=g===void 0?0:g,h=typeof f=="function"?f({x:v,y:m}):{x:v,y:m};v=h.x,m=h.y;var y=s.hasOwnProperty("x"),O=s.hasOwnProperty("y"),x=xt,T=Tt,b=window;if(d){var $=Hr(n),S="clientHeight",P="clientWidth";if($===Nt(n)&&($=ln(n),Lt($).position!=="static"&&l==="absolute"&&(S="scrollHeight",P="scrollWidth")),$=$,i===Tt||(i===xt||i===Pt)&&a===zr){T=Rt;var N=c&&$===b&&b.visualViewport?b.visualViewport.height:$[S];m-=N-r.height,m*=u?1:-1}if(i===xt||(i===Tt||i===Rt)&&a===zr){x=Pt;var A=c&&$===b&&b.visualViewport?b.visualViewport.width:$[P];v-=A-r.width,v*=u?1:-1}}var j=Object.assign({position:l},d&&xg),K=f===!0?Og({x:v,y:m}):{x:v,y:m};if(v=K.x,m=K.y,u){var G;return Object.assign({},j,(G={},G[T]=O?"0":"",G[x]=y?"0":"",G.transform=(b.devicePixelRatio||1)<=1?"translate("+v+"px, "+m+"px)":"translate3d("+v+"px, "+m+"px, 0)",G))}return Object.assign({},j,(t={},t[T]=O?m+"px":"",t[x]=y?v+"px":"",t.transform="",t))}function Cg(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,a=n.adaptive,s=a===void 0?!0:a,l=n.roundOffsets,u=l===void 0?!0:l;if(process.env.NODE_ENV!=="production"){var d=Lt(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some(function(c){return d.indexOf(c)>=0})&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',`
|
|
109
|
+
|
|
110
|
+
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
|
|
111
|
+
|
|
112
|
+
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var f={placement:Ft(t.placement),variation:sr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,jc(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:u})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,jc(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const wg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Cg,data:{}};var oi={passive:!0};function Sg(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,a=i===void 0?!0:i,s=r.resize,l=s===void 0?!0:s,u=Nt(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(f){f.addEventListener("scroll",n.update,oi)}),l&&u.addEventListener("resize",n.update,oi),function(){a&&d.forEach(function(f){f.removeEventListener("scroll",n.update,oi)}),l&&u.removeEventListener("resize",n.update,oi)}}const $g={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Sg,data:{}};var _g={left:"right",right:"left",bottom:"top",top:"bottom"};function ii(e){return e.replace(/left|right|bottom|top/g,function(t){return _g[t]})}var Rg={start:"end",end:"start"};function Dc(e){return e.replace(/start|end/g,function(t){return Rg[t]})}function Ma(e){var t=Nt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function ka(e){return ar(ln(e)).left+Ma(e).scrollLeft}function Pg(e,t){var n=Nt(e),r=ln(e),i=n.visualViewport,a=r.clientWidth,s=r.clientHeight,l=0,u=0;if(i){a=i.width,s=i.height;var d=Pc();(d||!d&&t==="fixed")&&(l=i.offsetLeft,u=i.offsetTop)}return{width:a,height:s,x:l+ka(e),y:u}}function Ng(e){var t,n=ln(e),r=Ma(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Cn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=Cn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),l=-r.scrollLeft+ka(e),u=-r.scrollTop;return Lt(i||n).direction==="rtl"&&(l+=Cn(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:s,x:l,y:u}}function ja(e){var t=Lt(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Fc(e){return["html","body","#document"].indexOf(Yt(e))>=0?e.ownerDocument.body:wt(e)&&ja(e)?e:Fc(ri(e))}function Gr(e,t){var n;t===void 0&&(t=[]);var r=Fc(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),a=Nt(r),s=i?[a].concat(a.visualViewport||[],ja(r)?r:[]):r,l=t.concat(s);return i?l:l.concat(Gr(ri(s)))}function Da(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ig(e,t){var n=ar(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Lc(e,t,n){return t===$c?Da(Pg(e,n)):On(t)?Ig(t,n):Da(Ng(ln(e)))}function Ag(e){var t=Gr(ri(e)),n=["absolute","fixed"].indexOf(Lt(e).position)>=0,r=n&&wt(e)?Hr(e):e;return On(r)?t.filter(function(i){return On(i)&&Nc(i,r)&&Yt(i)!=="body"}):[]}function Mg(e,t,n,r){var i=t==="clippingParents"?Ag(e):[].concat(t),a=[].concat(i,[n]),s=a[0],l=a.reduce(function(u,d){var f=Lc(e,d,r);return u.top=Cn(f.top,u.top),u.right=ni(f.right,u.right),u.bottom=ni(f.bottom,u.bottom),u.left=Cn(f.left,u.left),u},Lc(e,s,r));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Vc(e){var t=e.reference,n=e.element,r=e.placement,i=r?Ft(r):null,a=r?sr(r):null,s=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,u;switch(i){case Tt:u={x:s,y:t.y-n.height};break;case Rt:u={x:s,y:t.y+t.height};break;case Pt:u={x:t.x+t.width,y:l};break;case xt:u={x:t.x-n.width,y:l};break;default:u={x:t.x,y:t.y}}var d=i?Aa(i):null;if(d!=null){var f=d==="y"?"height":"width";switch(a){case or:u[d]=u[d]-(t[f]/2-n[f]/2);break;case zr:u[d]=u[d]+(t[f]/2-n[f]/2);break}}return u}function Yr(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,a=n.strategy,s=a===void 0?e.strategy:a,l=n.boundary,u=l===void 0?tg:l,d=n.rootBoundary,f=d===void 0?$c:d,c=n.elementContext,p=c===void 0?Wr:c,v=n.altBoundary,g=v===void 0?!1:v,m=n.padding,h=m===void 0?0:m,y=Mc(typeof h!="number"?h:kc(h,Ur)),O=p===Wr?ng:Wr,x=e.rects.popper,T=e.elements[g?O:p],b=Mg(On(T)?T:T.contextElement||ln(e.elements.popper),u,f,s),$=ar(e.elements.reference),S=Vc({reference:$,element:x,strategy:"absolute",placement:i}),P=Da(Object.assign({},x,S)),N=p===Wr?P:$,A={top:b.top-N.top+y.top,bottom:N.bottom-b.bottom+y.bottom,left:b.left-N.left+y.left,right:N.right-b.right+y.right},j=e.modifiersData.offset;if(p===Wr&&j){var K=j[i];Object.keys(A).forEach(function(G){var D=[Pt,Rt].indexOf(G)>=0?1:-1,z=[Tt,Rt].indexOf(G)>=0?"y":"x";A[G]+=K[z]*D})}return A}function kg(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,a=n.rootBoundary,s=n.padding,l=n.flipVariations,u=n.allowedAutoPlacements,d=u===void 0?Rc:u,f=sr(r),c=f?l?_c:_c.filter(function(g){return sr(g)===f}):Ur,p=c.filter(function(g){return d.indexOf(g)>=0});p.length===0&&(p=c,process.env.NODE_ENV!=="production"&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var v=p.reduce(function(g,m){return g[m]=Yr(e,{placement:m,boundary:i,rootBoundary:a,padding:s})[Ft(m)],g},{});return Object.keys(v).sort(function(g,m){return v[g]-v[m]})}function jg(e){if(Ft(e)===ti)return[];var t=ii(e);return[Dc(e),t,Dc(t)]}function Dg(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,a=i===void 0?!0:i,s=n.altAxis,l=s===void 0?!0:s,u=n.fallbackPlacements,d=n.padding,f=n.boundary,c=n.rootBoundary,p=n.altBoundary,v=n.flipVariations,g=v===void 0?!0:v,m=n.allowedAutoPlacements,h=t.options.placement,y=Ft(h),O=y===h,x=u||(O||!g?[ii(h)]:jg(h)),T=[h].concat(x).reduce(function(Y,re){return Y.concat(Ft(re)===ti?kg(t,{placement:re,boundary:f,rootBoundary:c,padding:d,flipVariations:g,allowedAutoPlacements:m}):re)},[]),b=t.rects.reference,$=t.rects.popper,S=new Map,P=!0,N=T[0],A=0;A<T.length;A++){var j=T[A],K=Ft(j),G=sr(j)===or,D=[Tt,Rt].indexOf(K)>=0,z=D?"width":"height",F=Yr(t,{placement:j,boundary:f,rootBoundary:c,altBoundary:p,padding:d}),ie=D?G?Pt:xt:G?Rt:Tt;b[z]>$[z]&&(ie=ii(ie));var ae=ii(ie),le=[];if(a&&le.push(F[K]<=0),l&&le.push(F[ie]<=0,F[ae]<=0),le.every(function(Y){return Y})){N=j,P=!1;break}S.set(j,le)}if(P)for(var _=g?3:1,M=function(re){var Z=T.find(function(ue){var ee=S.get(ue);if(ee)return ee.slice(0,re).every(function(X){return X})});if(Z)return N=Z,"break"},J=_;J>0;J--){var ne=M(J);if(ne==="break")break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}}const Fg={name:"flip",enabled:!0,phase:"main",fn:Dg,requiresIfExists:["offset"],data:{_skip:!1}};function Bc(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Uc(e){return[Tt,Pt,Rt,xt].some(function(t){return e[t]>=0})}function Lg(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,s=Yr(t,{elementContext:"reference"}),l=Yr(t,{altBoundary:!0}),u=Bc(s,r),d=Bc(l,i,a),f=Uc(u),c=Uc(d);t.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:d,isReferenceHidden:f,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":c})}const Vg={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Lg};function Bg(e,t,n){var r=Ft(e),i=[xt,Tt].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=a[0],l=a[1];return s=s||0,l=(l||0)*i,[xt,Pt].indexOf(r)>=0?{x:l,y:s}:{x:s,y:l}}function Ug(e){var t=e.state,n=e.options,r=e.name,i=n.offset,a=i===void 0?[0,0]:i,s=Rc.reduce(function(f,c){return f[c]=Bg(c,t.rects,a),f},{}),l=s[t.placement],u=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=u,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=s}const zg={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ug};function Wg(e){var t=e.state,n=e.name;t.modifiersData[n]=Vc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const Hg={name:"popperOffsets",enabled:!0,phase:"read",fn:Wg,data:{}};function qg(e){return e==="x"?"y":"x"}function Gg(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,a=i===void 0?!0:i,s=n.altAxis,l=s===void 0?!1:s,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,c=n.padding,p=n.tether,v=p===void 0?!0:p,g=n.tetherOffset,m=g===void 0?0:g,h=Yr(t,{boundary:u,rootBoundary:d,padding:c,altBoundary:f}),y=Ft(t.placement),O=sr(t.placement),x=!O,T=Aa(y),b=qg(T),$=t.modifiersData.popperOffsets,S=t.rects.reference,P=t.rects.popper,N=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,A=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,K={x:0,y:0};if($){if(a){var G,D=T==="y"?Tt:xt,z=T==="y"?Rt:Pt,F=T==="y"?"height":"width",ie=$[T],ae=ie+h[D],le=ie-h[z],_=v?-P[F]/2:0,M=O===or?S[F]:P[F],J=O===or?-P[F]:-S[F],ne=t.elements.arrow,Y=v&&ne?Ia(ne):{width:0,height:0},re=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Ac(),Z=re[D],ue=re[z],ee=qr(0,S[F],Y[F]),X=x?S[F]/2-_-ee-Z-A.mainAxis:M-ee-Z-A.mainAxis,ce=x?-S[F]/2+_+ee+ue+A.mainAxis:J+ee+ue+A.mainAxis,Q=t.elements.arrow&&Hr(t.elements.arrow),B=Q?T==="y"?Q.clientTop||0:Q.clientLeft||0:0,Ee=(G=j==null?void 0:j[T])!=null?G:0,k=ie+X-Ee-B,we=ie+ce-Ee,je=qr(v?ni(ae,k):ae,ie,v?Cn(le,we):le);$[T]=je,K[T]=je-ie}if(l){var Te,Re=T==="x"?Tt:xt,ot=T==="x"?Rt:Pt,R=$[b],V=b==="y"?"height":"width",te=R+h[Re],oe=R-h[ot],fe=[Tt,xt].indexOf(y)!==-1,he=(Te=j==null?void 0:j[b])!=null?Te:0,Se=fe?te:R-S[V]-P[V]-he+A.altAxis,He=fe?R+S[V]+P[V]-he-A.altAxis:oe,H=v&&fe?gg(Se,R,He):qr(v?Se:te,R,v?He:oe);$[b]=H,K[b]=H-R}t.modifiersData[r]=K}}const Yg={name:"preventOverflow",enabled:!0,phase:"main",fn:Gg,requiresIfExists:["offset"]};function Kg(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Xg(e){return e===Nt(e)||!wt(e)?Ma(e):Kg(e)}function Jg(e){var t=e.getBoundingClientRect(),n=ir(t.width)/e.offsetWidth||1,r=ir(t.height)/e.offsetHeight||1;return n!==1||r!==1}function Zg(e,t,n){n===void 0&&(n=!1);var r=wt(t),i=wt(t)&&Jg(t),a=ln(t),s=ar(e,i,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&((Yt(t)!=="body"||ja(a))&&(l=Xg(t)),wt(t)?(u=ar(t,!0),u.x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=ka(a))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function Qg(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var s=[].concat(a.requires||[],a.requiresIfExists||[]);s.forEach(function(l){if(!n.has(l)){var u=t.get(l);u&&i(u)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),r}function eb(e){var t=Qg(e);return Ra.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function tb(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function cn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return[].concat(n).reduce(function(i,a){return i.replace(/%s/,a)},e)}var wn='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s',nb='Popper: modifier "%s" requires "%s", but "%s" modifier is not available',zc=["name","enabled","phase","fn","effect","requires","options"];function rb(e){e.forEach(function(t){[].concat(Object.keys(t),zc).filter(function(n,r,i){return i.indexOf(n)===r}).forEach(function(n){switch(n){case"name":typeof t.name!="string"&&console.error(cn(wn,String(t.name),'"name"','"string"','"'+String(t.name)+'"'));break;case"enabled":typeof t.enabled!="boolean"&&console.error(cn(wn,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'));break;case"phase":Ra.indexOf(t.phase)<0&&console.error(cn(wn,t.name,'"phase"',"either "+Ra.join(", "),'"'+String(t.phase)+'"'));break;case"fn":typeof t.fn!="function"&&console.error(cn(wn,t.name,'"fn"','"function"','"'+String(t.fn)+'"'));break;case"effect":t.effect!=null&&typeof t.effect!="function"&&console.error(cn(wn,t.name,'"effect"','"function"','"'+String(t.fn)+'"'));break;case"requires":t.requires!=null&&!Array.isArray(t.requires)&&console.error(cn(wn,t.name,'"requires"','"array"','"'+String(t.requires)+'"'));break;case"requiresIfExists":Array.isArray(t.requiresIfExists)||console.error(cn(wn,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'));break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+zc.map(function(r){return'"'+r+'"'}).join(", ")+'; but "'+n+'" was provided.')}t.requires&&t.requires.forEach(function(r){e.find(function(i){return i.name===r})==null&&console.error(cn(nb,String(t.name),r,r))})})})}function ob(e,t){var n=new Set;return e.filter(function(r){var i=t(r);if(!n.has(i))return n.add(i),!0})}function ib(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Wc="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.",ab="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.",Hc={placement:"bottom",modifiers:[],strategy:"absolute"};function qc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function sb(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?Hc:i;return function(l,u,d){d===void 0&&(d=a);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},Hc,a),modifiersData:{},elements:{reference:l,popper:u},attributes:{},styles:{}},c=[],p=!1,v={state:f,setOptions:function(y){var O=typeof y=="function"?y(f.options):y;m(),f.options=Object.assign({},a,f.options,O),f.scrollParents={reference:On(l)?Gr(l):l.contextElement?Gr(l.contextElement):[],popper:Gr(u)};var x=eb(ib([].concat(r,f.options.modifiers)));if(f.orderedModifiers=x.filter(function(j){return j.enabled}),process.env.NODE_ENV!=="production"){var T=ob([].concat(x,f.options.modifiers),function(j){var K=j.name;return K});if(rb(T),Ft(f.options.placement)===ti){var b=f.orderedModifiers.find(function(j){var K=j.name;return K==="flip"});b||console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}var $=Lt(u),S=$.marginTop,P=$.marginRight,N=$.marginBottom,A=$.marginLeft;[S,P,N,A].some(function(j){return parseFloat(j)})&&console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}return g(),v.update()},forceUpdate:function(){if(!p){var y=f.elements,O=y.reference,x=y.popper;if(!qc(O,x)){process.env.NODE_ENV!=="production"&&console.error(Wc);return}f.rects={reference:Zg(O,Hr(x),f.options.strategy==="fixed"),popper:Ia(x)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(j){return f.modifiersData[j.name]=Object.assign({},j.data)});for(var T=0,b=0;b<f.orderedModifiers.length;b++){if(process.env.NODE_ENV!=="production"&&(T+=1,T>100)){console.error(ab);break}if(f.reset===!0){f.reset=!1,b=-1;continue}var $=f.orderedModifiers[b],S=$.fn,P=$.options,N=P===void 0?{}:P,A=$.name;typeof S=="function"&&(f=S({state:f,options:N,name:A,instance:v})||f)}}},update:tb(function(){return new Promise(function(h){v.forceUpdate(),h(f)})}),destroy:function(){m(),p=!0}};if(!qc(l,u))return process.env.NODE_ENV!=="production"&&console.error(Wc),v;v.setOptions(d).then(function(h){!p&&d.onFirstUpdate&&d.onFirstUpdate(h)});function g(){f.orderedModifiers.forEach(function(h){var y=h.name,O=h.options,x=O===void 0?{}:O,T=h.effect;if(typeof T=="function"){var b=T({state:f,name:y,instance:v,options:x}),$=function(){};c.push(b||$)}})}function m(){c.forEach(function(h){return h()}),c=[]}return v}}var lb=[$g,Hg,wg,hg,zg,Fg,Yg,Tg,Vg],cb=sb({defaultModifiers:lb});function ub(e){return typeof e=="function"?e():e}const ai=E.forwardRef(function(t,n){const{children:r,container:i,disablePortal:a=!1}=t,[s,l]=E.useState(null),u=it(E.isValidElement(r)?r.ref:null,n);if(_t(()=>{a||l(ub(i)||document.body)},[i,a]),_t(()=>{if(s&&!a)return ko(n,s),()=>{ko(n,null)}},[n,s,a]),a){if(E.isValidElement(r)){const d={ref:u};return E.cloneElement(r,d)}return W(E.Fragment,{children:r})}return W(E.Fragment,{children:s&&ip.createPortal(r,s)})});process.env.NODE_ENV!=="production"&&(ai.propTypes={children:o.node,container:o.oneOfType([Wt,o.func]),disablePortal:o.bool}),process.env.NODE_ENV!=="production"&&(ai["propTypes"]=Ao(ai.propTypes));const Gc=ai;function db(e){return $e("MuiPopperUnstyled",e)}_e("MuiPopperUnstyled",["root"]);const fb=["anchorEl","children","component","direction","disablePortal","modifiers","open","ownerState","placement","popperOptions","popperRef","slotProps","slots","TransitionProps"],pb=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function hb(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function si(e){return typeof e=="function"?e():e}function li(e){return e.nodeType!==void 0}function mb(e){return!li(e)}const vb=()=>Ie({root:["root"]},db,{}),gb={},bb=E.forwardRef(function(t,n){var r;const{anchorEl:i,children:a,component:s,direction:l,disablePortal:u,modifiers:d,open:f,ownerState:c,placement:p,popperOptions:v,popperRef:g,slotProps:m={},slots:h={},TransitionProps:y}=t,O=Br(t,fb),x=E.useRef(null),T=it(x,n),b=E.useRef(null),$=it(b,g),S=E.useRef($);_t(()=>{S.current=$},[$]),E.useImperativeHandle(g,()=>b.current,[]);const P=hb(p,l),[N,A]=E.useState(P),[j,K]=E.useState(si(i));E.useEffect(()=>{b.current&&b.current.forceUpdate()}),E.useEffect(()=>{i&&K(si(i))},[i]),_t(()=>{if(!j||!f)return;const ie=_=>{A(_.placement)};if(process.env.NODE_ENV!=="production"&&j&&li(j)&&j.nodeType===1){const _=j.getBoundingClientRect();process.env.NODE_ENV!=="test"&&_.top===0&&_.left===0&&_.right===0&&_.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
113
|
+
`))}let ae=[{name:"preventOverflow",options:{altBoundary:u}},{name:"flip",options:{altBoundary:u}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:_})=>{ie(_)}}];d!=null&&(ae=ae.concat(d)),v&&v.modifiers!=null&&(ae=ae.concat(v.modifiers));const le=cb(j,x.current,rt({placement:P},v,{modifiers:ae}));return S.current(le),()=>{le.destroy(),S.current(null)}},[j,u,d,f,v,P]);const G={placement:N};y!==null&&(G.TransitionProps=y);const D=vb(),z=(r=s??h.root)!=null?r:"div",F=_a({elementType:z,externalSlotProps:m.root,externalForwardedProps:O,additionalProps:{role:"tooltip",ref:T},ownerState:rt({},t,c),className:D.root});return W(z,rt({},F,{children:typeof a=="function"?a(G):a}))}),Yc=E.forwardRef(function(t,n){const{anchorEl:r,children:i,container:a,direction:s="ltr",disablePortal:l=!1,keepMounted:u=!1,modifiers:d,open:f,placement:c="bottom",popperOptions:p=gb,popperRef:v,style:g,transition:m=!1,slotProps:h={},slots:y={}}=t,O=Br(t,pb),[x,T]=E.useState(!0),b=()=>{T(!1)},$=()=>{T(!0)};if(!u&&!f&&(!m||x))return null;let S;if(a)S=a;else if(r){const A=si(r);S=A&&li(A)?pt(A).body:pt(null).body}const P=!f&&u&&(!m||x)?"none":void 0,N=m?{in:f,onEnter:b,onExited:$}:void 0;return W(Gc,{disablePortal:l,container:S,children:W(bb,rt({anchorEl:r,direction:s,disablePortal:l,modifiers:d,ref:n,open:m?!x:f,placement:c,popperOptions:p,popperRef:v,slotProps:h,slots:y},O,{style:rt({position:"fixed",top:0,left:0,display:P},g),TransitionProps:N,children:i}))})});process.env.NODE_ENV!=="production"&&(Yc.propTypes={anchorEl:yn(o.oneOfType([Wt,o.object,o.func]),e=>{if(e.open){const t=si(e.anchorEl);if(t&&li(t)&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
114
|
+
`))}else if(!t||typeof t.getBoundingClientRect!="function"||mb(t)&&t.contextElement!=null&&t.contextElement.nodeType!==1)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","It should be an HTML element instance or a virtualElement ","(https://popper.js.org/docs/v2/virtual-elements/)."].join(`
|
|
115
|
+
`))}return null}),children:o.oneOfType([o.node,o.func]),container:o.oneOfType([Wt,o.func]),direction:o.oneOf(["ltr","rtl"]),disablePortal:o.bool,keepMounted:o.bool,modifiers:o.arrayOf(o.shape({data:o.object,effect:o.func,enabled:o.bool,fn:o.func,name:o.any,options:o.object,phase:o.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.arrayOf(o.string),requiresIfExists:o.arrayOf(o.string)})),open:o.bool.isRequired,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:o.shape({modifiers:o.array,onFirstUpdate:o.func,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:o.oneOf(["absolute","fixed"])}),popperRef:jt,slotProps:o.shape({root:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType}),style:o.object,transition:o.bool});const yb=Yc;function Eb(e){const t=pt(e);return t.body===e?Ht(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Kr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Kc(e){return parseInt(Ht(e).getComputedStyle(e).paddingRight,10)||0}function Tb(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName)!==-1,r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Xc(e,t,n,r,i){const a=[t,n,...r];[].forEach.call(e.children,s=>{const l=a.indexOf(s)===-1,u=!Tb(s);l&&u&&Kr(s,i)})}function Fa(e,t){let n=-1;return e.some((r,i)=>t(r)?(n=i,!0):!1),n}function xb(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(Eb(r)){const s=Hl(pt(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Kc(r)+s}px`;const l=pt(r).querySelectorAll(".mui-fixed");[].forEach.call(l,u=>{n.push({value:u.style.paddingRight,property:"padding-right",el:u}),u.style.paddingRight=`${Kc(u)+s}px`})}let a;if(r.parentNode instanceof DocumentFragment)a=pt(r).body;else{const s=r.parentElement,l=Ht(r);a=(s==null?void 0:s.nodeName)==="HTML"&&l.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:a.style.overflow,property:"overflow",el:a},{value:a.style.overflowX,property:"overflow-x",el:a},{value:a.style.overflowY,property:"overflow-y",el:a}),a.style.overflow="hidden"}return()=>{n.forEach(({value:a,el:s,property:l})=>{a?s.style.setProperty(l,a):s.style.removeProperty(l)})}}function Ob(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Cb{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(t,n){let r=this.modals.indexOf(t);if(r!==-1)return r;r=this.modals.length,this.modals.push(t),t.modalRef&&Kr(t.modalRef,!1);const i=Ob(n);Xc(n,t.mount,t.modalRef,i,!0);const a=Fa(this.containers,s=>s.container===n);return a!==-1?(this.containers[a].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:i}),r)}mount(t,n){const r=Fa(this.containers,a=>a.modals.indexOf(t)!==-1),i=this.containers[r];i.restore||(i.restore=xb(i,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const i=Fa(this.containers,s=>s.modals.indexOf(t)!==-1),a=this.containers[i];if(a.modals.splice(a.modals.indexOf(t),1),this.modals.splice(r,1),a.modals.length===0)a.restore&&a.restore(),t.modalRef&&Kr(t.modalRef,n),Xc(a.container,t.mount,t.modalRef,a.hiddenSiblings,!1),this.containers.splice(i,1);else{const s=a.modals[a.modals.length-1];s.modalRef&&Kr(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}function wb(e){return $e("MuiModal",e)}_e("MuiModal",["root","hidden"]);const Sb=["children","classes","closeAfterTransition","component","container","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onKeyDown","open","onTransitionEnter","onTransitionExited","slotProps","slots"],$b=e=>{const{open:t,exited:n,classes:r}=e;return Ie({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},wb,r)};function _b(e){return typeof e=="function"?e():e}function Rb(e){return e?e.props.hasOwnProperty("in"):!1}const Pb=new Cb,Jc=E.forwardRef(function(t,n){var r,i;const{children:a,classes:s,closeAfterTransition:l=!1,component:u,container:d,disableAutoFocus:f=!1,disableEnforceFocus:c=!1,disableEscapeKeyDown:p=!1,disablePortal:v=!1,disableRestoreFocus:g=!1,disableScrollLock:m=!1,hideBackdrop:h=!1,keepMounted:y=!1,manager:O=Pb,onBackdropClick:x,onClose:T,onKeyDown:b,open:$,onTransitionEnter:S,onTransitionExited:P,slotProps:N={},slots:A={}}=t,j=Br(t,Sb),[K,G]=E.useState(!$),D=E.useRef({}),z=E.useRef(null),F=E.useRef(null),ie=it(F,n),ae=Rb(a),le=(r=t["aria-hidden"])!=null?r:!0,_=()=>pt(z.current),M=()=>(D.current.modalRef=F.current,D.current.mountNode=z.current,D.current),J=()=>{O.mount(M(),{disableScrollLock:m}),F.current&&(F.current.scrollTop=0)},ne=Dt(()=>{const Re=_b(d)||_().body;O.add(M(),Re),F.current&&J()}),Y=E.useCallback(()=>O.isTopModal(M()),[O]),re=Dt(Re=>{z.current=Re,!(!Re||!F.current)&&($&&Y()?J():Kr(F.current,le))}),Z=E.useCallback(()=>{O.remove(M(),le)},[O,le]);E.useEffect(()=>()=>{Z()},[Z]),E.useEffect(()=>{$?ne():(!ae||!l)&&Z()},[$,Z,ae,l,ne]);const ue=rt({},t,{classes:s,closeAfterTransition:l,disableAutoFocus:f,disableEnforceFocus:c,disableEscapeKeyDown:p,disablePortal:v,disableRestoreFocus:g,disableScrollLock:m,exited:K,hideBackdrop:h,keepMounted:y}),ee=$b(ue),X=()=>{G(!1),S&&S()},ce=()=>{G(!0),P&&P(),l&&Z()},Q=Re=>{Re.target===Re.currentTarget&&(x&&x(Re),T&&T(Re,"backdropClick"))},B=Re=>{b&&b(Re),!(Re.key!=="Escape"||!Y())&&(p||(Re.stopPropagation(),T&&T(Re,"escapeKeyDown")))},Ee={};a.props.tabIndex===void 0&&(Ee.tabIndex="-1"),ae&&(Ee.onEnter=fa(X,a.props.onEnter),Ee.onExited=fa(ce,a.props.onExited));const k=(i=u??A.root)!=null?i:"div",we=_a({elementType:k,externalSlotProps:N.root,externalForwardedProps:j,additionalProps:{ref:ie,role:"presentation",onKeyDown:B},className:ee.root,ownerState:ue}),je=A.backdrop,Te=_a({elementType:je,externalSlotProps:N.backdrop,additionalProps:{"aria-hidden":!0,onClick:Q,open:$},className:ee.backdrop,ownerState:ue});return!y&&!$&&(!ae||K)?null:W(Gc,{ref:re,container:d,disablePortal:v,children:Ye(k,rt({},we,{children:[!h&&je?W(je,rt({},Te)):null,W(ei,{disableEnforceFocus:c,disableAutoFocus:f,disableRestoreFocus:g,isEnabled:Y,open:$,children:E.cloneElement(a,Ee)})]}))})});process.env.NODE_ENV!=="production"&&(Jc.propTypes={children:Zn.isRequired,classes:o.object,closeAfterTransition:o.bool,component:o.elementType,container:o.oneOfType([Wt,o.func]),disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableEscapeKeyDown:o.bool,disablePortal:o.bool,disableRestoreFocus:o.bool,disableScrollLock:o.bool,hideBackdrop:o.bool,keepMounted:o.bool,onBackdropClick:o.func,onClose:o.func,onKeyDown:o.func,open:o.bool.isRequired,slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,root:o.elementType})});const Nb=Jc,Ib=["onChange","maxRows","minRows","style","value"];function ci(e,t){return parseInt(e[t],10)||0}const Ab={shadow:{visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"}};function Zc(e){return e==null||Object.keys(e).length===0}const Qc=E.forwardRef(function(t,n){const{onChange:r,maxRows:i,minRows:a=1,style:s,value:l}=t,u=Br(t,Ib),{current:d}=E.useRef(l!=null),f=E.useRef(null),c=it(n,f),p=E.useRef(null),v=E.useRef(0),[g,m]=E.useState({}),h=E.useCallback(()=>{const b=f.current,S=Ht(b).getComputedStyle(b);if(S.width==="0px")return{};const P=p.current;P.style.width=S.width,P.value=b.value||t.placeholder||"x",P.value.slice(-1)===`
|
|
116
|
+
`&&(P.value+=" ");const N=S["box-sizing"],A=ci(S,"padding-bottom")+ci(S,"padding-top"),j=ci(S,"border-bottom-width")+ci(S,"border-top-width"),K=P.scrollHeight;P.value="x";const G=P.scrollHeight;let D=K;a&&(D=Math.max(Number(a)*G,D)),i&&(D=Math.min(Number(i)*G,D)),D=Math.max(D,G);const z=D+(N==="border-box"?A+j:0),F=Math.abs(D-K)<=1;return{outerHeightStyle:z,overflow:F}},[i,a,t.placeholder]),y=(b,$)=>{const{outerHeightStyle:S,overflow:P}=$;return v.current<20&&(S>0&&Math.abs((b.outerHeightStyle||0)-S)>1||b.overflow!==P)?(v.current+=1,{overflow:P,outerHeightStyle:S}):(process.env.NODE_ENV!=="production"&&v.current===20&&console.error(["MUI: Too many re-renders. The layout is unstable.","TextareaAutosize limits the number of renders to prevent an infinite loop."].join(`
|
|
117
|
+
`)),b)},O=E.useCallback(()=>{const b=h();Zc(b)||m($=>y($,b))},[h]),x=()=>{const b=h();Zc(b)||Vn.flushSync(()=>{m($=>y($,b))})};E.useEffect(()=>{const b=Qn(()=>{v.current=0,f.current&&x()}),$=Ht(f.current);$.addEventListener("resize",b);let S;return typeof ResizeObserver<"u"&&(S=new ResizeObserver(b),S.observe(f.current)),()=>{b.clear(),$.removeEventListener("resize",b),S&&S.disconnect()}}),_t(()=>{O()}),E.useEffect(()=>{v.current=0},[l]);const T=b=>{v.current=0,d||O(),r&&r(b)};return Ye(E.Fragment,{children:[W("textarea",rt({value:l,onChange:T,ref:c,rows:a,style:rt({height:g.outerHeightStyle,overflow:g.overflow?"hidden":null},s)},u)),W("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:p,tabIndex:-1,style:rt({},Ab.shadow,s,{padding:0})})]})});process.env.NODE_ENV!=="production"&&(Qc.propTypes={className:o.string,maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),onChange:o.func,placeholder:o.string,style:o.object,value:o.oneOfType([o.arrayOf(o.string),o.number,o.string])});const Mb=Qc;function kb(e){return $e("MuiSvgIcon",e)}_e("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const jb=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Db=e=>{const{color:t,fontSize:n,classes:r}=e,i={root:["root",t!=="inherit"&&`color${ke(t)}`,`fontSize${ke(n)}`]};return Ie(i,kb,r)},Fb=pe("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${ke(n.color)}`],t[`fontSize${ke(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,i,a,s,l,u,d,f,c,p,v,g,m,h,y,O;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(r=n.create)==null?void 0:r.call(n,"fill",{duration:(i=e.transitions)==null||(a=i.duration)==null?void 0:a.shorter}),fontSize:{inherit:"inherit",small:((s=e.typography)==null||(l=s.pxToRem)==null?void 0:l.call(s,20))||"1.25rem",medium:((u=e.typography)==null||(d=u.pxToRem)==null?void 0:d.call(u,24))||"1.5rem",large:((f=e.typography)==null||(c=f.pxToRem)==null?void 0:c.call(f,35))||"2.1875rem"}[t.fontSize],color:(p=(v=(e.vars||e).palette)==null||(g=v[t.color])==null?void 0:g.main)!=null?p:{action:(m=(e.vars||e).palette)==null||(h=m.action)==null?void 0:h.active,disabled:(y=(e.vars||e).palette)==null||(O=y.action)==null?void 0:O.disabled,inherit:void 0}[t.color]}}),La=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiSvgIcon"}),{children:i,className:a,color:s="inherit",component:l="svg",fontSize:u="medium",htmlColor:d,inheritViewBox:f=!1,titleAccess:c,viewBox:p="0 0 24 24"}=r,v=ye(r,jb),g=C({},r,{color:s,component:l,fontSize:u,instanceFontSize:t.fontSize,inheritViewBox:f,viewBox:p}),m={};f||(m.viewBox=p);const h=Db(g);return Ye(Fb,C({as:l,className:ve(h.root,a),focusable:"false",color:d,"aria-hidden":c?void 0:!0,role:c?"img":void 0,ref:n},m,v,{ownerState:g,children:[i,c?W("title",{children:c}):null]}))});process.env.NODE_ENV!=="production"&&(La.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,fontSize:o.oneOfType([o.oneOf(["inherit","large","medium","small"]),o.string]),htmlColor:o.string,inheritViewBox:o.bool,shapeRendering:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),titleAccess:o.string,viewBox:o.string}),La.muiName="SvgIcon";const eu=La;function ui(e,t){function n(r,i){return W(eu,C({"data-testid":`${t}Icon`,ref:i},r,{children:e}))}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=eu.muiName,E.memo(E.forwardRef(n))}const Lb=Object.freeze(Object.defineProperty({__proto__:null,capitalize:ke,createChainedFunction:fa,createSvgIcon:ui,debounce:Qn,deprecatedPropType:kh,isMuiElement:er,ownerDocument:pt,ownerWindow:Ht,requirePropFactory:jh,setRef:ko,unstable_ClassNameGenerator:{configure:e=>{process.env.NODE_ENV!=="production"&&console.warn(["MUI: `ClassNameGenerator` import from `@mui/material/utils` is outdated and might cause unexpected issues.","","You should use `import { unstable_ClassNameGenerator } from '@mui/material/className'` instead","","The detail of the issue: https://github.com/mui/material-ui/issues/30011#issuecomment-1024993401","","The updated documentation: https://mui.com/guides/classname-generator/"].join(`
|
|
118
|
+
`)),ga.configure(e)}},unstable_useEnhancedEffect:_t,unstable_useId:Ul,unsupportedProp:zl,useControlled:jo,useEventCallback:Dt,useForkRef:it,useIsFocusVisible:ma},Symbol.toStringTag,{value:"Module"}));var lr={},Vb={get exports(){return lr},set exports(e){lr=e}},ze={};/**
|
|
119
|
+
* @license React
|
|
120
|
+
* react-is.production.min.js
|
|
121
|
+
*
|
|
122
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
123
|
+
*
|
|
124
|
+
* This source code is licensed under the MIT license found in the
|
|
125
|
+
* LICENSE file in the root directory of this source tree.
|
|
126
|
+
*/var tu;function Bb(){if(tu)return ze;tu=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),g;g=Symbol.for("react.module.reference");function m(h){if(typeof h=="object"&&h!==null){var y=h.$$typeof;switch(y){case e:switch(h=h.type,h){case n:case i:case r:case d:case f:return h;default:switch(h=h&&h.$$typeof,h){case l:case s:case u:case p:case c:case a:return h;default:return y}}case t:return y}}}return ze.ContextConsumer=s,ze.ContextProvider=a,ze.Element=e,ze.ForwardRef=u,ze.Fragment=n,ze.Lazy=p,ze.Memo=c,ze.Portal=t,ze.Profiler=i,ze.StrictMode=r,ze.Suspense=d,ze.SuspenseList=f,ze.isAsyncMode=function(){return!1},ze.isConcurrentMode=function(){return!1},ze.isContextConsumer=function(h){return m(h)===s},ze.isContextProvider=function(h){return m(h)===a},ze.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},ze.isForwardRef=function(h){return m(h)===u},ze.isFragment=function(h){return m(h)===n},ze.isLazy=function(h){return m(h)===p},ze.isMemo=function(h){return m(h)===c},ze.isPortal=function(h){return m(h)===t},ze.isProfiler=function(h){return m(h)===i},ze.isStrictMode=function(h){return m(h)===r},ze.isSuspense=function(h){return m(h)===d},ze.isSuspenseList=function(h){return m(h)===f},ze.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===n||h===i||h===r||h===d||h===f||h===v||typeof h=="object"&&h!==null&&(h.$$typeof===p||h.$$typeof===c||h.$$typeof===a||h.$$typeof===s||h.$$typeof===u||h.$$typeof===g||h.getModuleId!==void 0)},ze.typeOf=m,ze}var We={};/**
|
|
127
|
+
* @license React
|
|
128
|
+
* react-is.development.js
|
|
129
|
+
*
|
|
130
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
131
|
+
*
|
|
132
|
+
* This source code is licensed under the MIT license found in the
|
|
133
|
+
* LICENSE file in the root directory of this source tree.
|
|
134
|
+
*/var nu;function Ub(){return nu||(nu=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),v=Symbol.for("react.offscreen"),g=!1,m=!1,h=!1,y=!1,O=!1,x;x=Symbol.for("react.module.reference");function T(k){return!!(typeof k=="string"||typeof k=="function"||k===n||k===i||O||k===r||k===d||k===f||y||k===v||g||m||h||typeof k=="object"&&k!==null&&(k.$$typeof===p||k.$$typeof===c||k.$$typeof===a||k.$$typeof===s||k.$$typeof===u||k.$$typeof===x||k.getModuleId!==void 0))}function b(k){if(typeof k=="object"&&k!==null){var we=k.$$typeof;switch(we){case e:var je=k.type;switch(je){case n:case i:case r:case d:case f:return je;default:var Te=je&&je.$$typeof;switch(Te){case l:case s:case u:case p:case c:case a:return Te;default:return we}}case t:return we}}}var $=s,S=a,P=e,N=u,A=n,j=p,K=c,G=t,D=i,z=r,F=d,ie=f,ae=!1,le=!1;function _(k){return ae||(ae=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function M(k){return le||(le=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function J(k){return b(k)===s}function ne(k){return b(k)===a}function Y(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function re(k){return b(k)===u}function Z(k){return b(k)===n}function ue(k){return b(k)===p}function ee(k){return b(k)===c}function X(k){return b(k)===t}function ce(k){return b(k)===i}function Q(k){return b(k)===r}function B(k){return b(k)===d}function Ee(k){return b(k)===f}We.ContextConsumer=$,We.ContextProvider=S,We.Element=P,We.ForwardRef=N,We.Fragment=A,We.Lazy=j,We.Memo=K,We.Portal=G,We.Profiler=D,We.StrictMode=z,We.Suspense=F,We.SuspenseList=ie,We.isAsyncMode=_,We.isConcurrentMode=M,We.isContextConsumer=J,We.isContextProvider=ne,We.isElement=Y,We.isForwardRef=re,We.isFragment=Z,We.isLazy=ue,We.isMemo=ee,We.isPortal=X,We.isProfiler=ce,We.isStrictMode=Q,We.isSuspense=B,We.isSuspenseList=Ee,We.isValidElementType=T,We.typeOf=b}()),We}(function(e){process.env.NODE_ENV==="production"?e.exports=Bb():e.exports=Ub()})(Vb);function Va(){return Va=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Va.apply(this,arguments)}function ru(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Ba(e,t){return Ba=Object.setPrototypeOf||function(r,i){return r.__proto__=i,r},Ba(e,t)}function ou(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ba(e,t)}const iu={disabled:!1};var zb=process.env.NODE_ENV!=="production"?o.oneOfType([o.number,o.shape({enter:o.number,exit:o.number,appear:o.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&o.oneOfType([o.string,o.shape({enter:o.string,exit:o.string,active:o.string}),o.shape({enter:o.string,enterDone:o.string,enterActive:o.string,exit:o.string,exitDone:o.string,exitActive:o.string})]);const di=I.createContext(null);var Wb=function(t){return t.scrollTop},Xr="unmounted",Sn="exited",$n="entering",cr="entered",Ua="exiting",Qt=function(e){ou(t,e);function t(r,i){var a;a=e.call(this,r,i)||this;var s=i,l=s&&!s.isMounting?r.enter:r.appear,u;return a.appearStatus=null,r.in?l?(u=Sn,a.appearStatus=$n):u=cr:r.unmountOnExit||r.mountOnEnter?u=Xr:u=Sn,a.state={status:u},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var s=i.in;return s&&a.status===Xr?{status:Sn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(i){var a=null;if(i!==this.props){var s=this.state.status;this.props.in?s!==$n&&s!==cr&&(a=$n):(s===$n||s===cr)&&(a=Ua)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var i=this.props.timeout,a,s,l;return a=s=l=i,i!=null&&typeof i!="number"&&(a=i.exit,s=i.enter,l=i.appear!==void 0?i.appear:s),{exit:a,enter:s,appear:l}},n.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===$n){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:Vn.findDOMNode(this);s&&Wb(s)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Sn&&this.setState({status:Xr})},n.performEnter=function(i){var a=this,s=this.props.enter,l=this.context?this.context.isMounting:i,u=this.props.nodeRef?[l]:[Vn.findDOMNode(this),l],d=u[0],f=u[1],c=this.getTimeouts(),p=l?c.appear:c.enter;if(!i&&!s||iu.disabled){this.safeSetState({status:cr},function(){a.props.onEntered(d)});return}this.props.onEnter(d,f),this.safeSetState({status:$n},function(){a.props.onEntering(d,f),a.onTransitionEnd(p,function(){a.safeSetState({status:cr},function(){a.props.onEntered(d,f)})})})},n.performExit=function(){var i=this,a=this.props.exit,s=this.getTimeouts(),l=this.props.nodeRef?void 0:Vn.findDOMNode(this);if(!a||iu.disabled){this.safeSetState({status:Sn},function(){i.props.onExited(l)});return}this.props.onExit(l),this.safeSetState({status:Ua},function(){i.props.onExiting(l),i.onTransitionEnd(s.exit,function(){i.safeSetState({status:Sn},function(){i.props.onExited(l)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},n.setNextCallback=function(i){var a=this,s=!0;return this.nextCallback=function(l){s&&(s=!1,a.nextCallback=null,i(l))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(i,a){this.setNextCallback(a);var s=this.props.nodeRef?this.props.nodeRef.current:Vn.findDOMNode(this),l=i==null&&!this.props.addEndListener;if(!s||l){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var u=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],d=u[0],f=u[1];this.props.addEndListener(d,f)}i!=null&&setTimeout(this.nextCallback,i)},n.render=function(){var i=this.state.status;if(i===Xr)return null;var a=this.props,s=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var l=ru(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return I.createElement(di.Provider,{value:null},typeof s=="function"?s(i,l):I.cloneElement(I.Children.only(s),l))},t}(I.Component);Qt.contextType=di,Qt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:o.shape({current:typeof Element>"u"?o.any:function(e,t,n,r,i,a){var s=e[t];return o.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,r,i,a)}}),children:o.oneOfType([o.func.isRequired,o.element.isRequired]).isRequired,in:o.bool,mountOnEnter:o.bool,unmountOnExit:o.bool,appear:o.bool,enter:o.bool,exit:o.bool,timeout:function(t){var n=zb;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,i=new Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];return n.apply(void 0,[t].concat(i))},addEndListener:o.func,onEnter:o.func,onEntering:o.func,onEntered:o.func,onExit:o.func,onExiting:o.func,onExited:o.func}:{};function ur(){}Qt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ur,onEntering:ur,onEntered:ur,onExit:ur,onExiting:ur,onExited:ur},Qt.UNMOUNTED=Xr,Qt.EXITED=Sn,Qt.ENTERING=$n,Qt.ENTERED=cr,Qt.EXITING=Ua;const au=Qt;function Hb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function za(e,t){var n=function(a){return t&&I.isValidElement(a)?t(a):a},r=Object.create(null);return e&&I.Children.map(e,function(i){return i}).forEach(function(i){r[i.key]=n(i)}),r}function qb(e,t){e=e||{},t=t||{};function n(f){return f in t?t[f]:e[f]}var r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var s,l={};for(var u in t){if(r[u])for(s=0;s<r[u].length;s++){var d=r[u][s];l[r[u][s]]=n(d)}l[u]=n(u)}for(s=0;s<i.length;s++)l[i[s]]=n(i[s]);return l}function _n(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Gb(e,t){return za(e.children,function(n){return I.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:_n(n,"appear",e),enter:_n(n,"enter",e),exit:_n(n,"exit",e)})})}function Yb(e,t,n){var r=za(e.children),i=qb(t,r);return Object.keys(i).forEach(function(a){var s=i[a];if(I.isValidElement(s)){var l=a in t,u=a in r,d=t[a],f=I.isValidElement(d)&&!d.props.in;u&&(!l||f)?i[a]=I.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:_n(s,"exit",e),enter:_n(s,"enter",e)}):!u&&l&&!f?i[a]=I.cloneElement(s,{in:!1}):u&&l&&I.isValidElement(d)&&(i[a]=I.cloneElement(s,{onExited:n.bind(null,s),in:d.props.in,exit:_n(s,"exit",e),enter:_n(s,"enter",e)}))}}),i}var Kb=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Xb={component:"div",childFactory:function(t){return t}},Wa=function(e){ou(t,e);function t(r,i){var a;a=e.call(this,r,i)||this;var s=a.handleExited.bind(Hb(a));return a.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},a}var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,a){var s=a.children,l=a.handleExited,u=a.firstRender;return{children:u?Gb(i,l):Yb(i,s,l),firstRender:!1}},n.handleExited=function(i,a){var s=za(this.props.children);i.key in s||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(l){var u=Va({},l.children);return delete u[i.key],{children:u}}))},n.render=function(){var i=this.props,a=i.component,s=i.childFactory,l=ru(i,["component","childFactory"]),u=this.state.contextValue,d=Kb(this.state.children).map(s);return delete l.appear,delete l.enter,delete l.exit,a===null?I.createElement(di.Provider,{value:u},d):I.createElement(di.Provider,{value:u},I.createElement(a,l,d))},t}(I.Component);Wa.propTypes=process.env.NODE_ENV!=="production"?{component:o.any,children:o.node,appear:o.bool,enter:o.bool,exit:o.bool,childFactory:o.func}:{},Wa.defaultProps=Xb;const Jb=Wa,su=e=>e.scrollTop;function fi(e,t){var n,r;const{timeout:i,easing:a,style:s={}}=e;return{duration:(n=s.transitionDuration)!=null?n:typeof i=="number"?i:i[t.mode]||0,easing:(r=s.transitionTimingFunction)!=null?r:typeof a=="object"?a[t.mode]:a,delay:s.transitionDelay}}function Zb(e){return $e("MuiPaper",e)}_e("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Qb=["className","component","elevation","square","variant"],ey=e=>{const{square:t,elevation:n,variant:r,classes:i}=e,a={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return Ie(a,Zb,i)},ty=pe("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,n.variant==="elevation"&&t[`elevation${n.elevation}`]]}})(({theme:e,ownerState:t})=>{var n;return C({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},t.variant==="outlined"&&{border:`1px solid ${(e.vars||e).palette.divider}`},t.variant==="elevation"&&C({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&e.palette.mode==="dark"&&{backgroundImage:`linear-gradient(${lt("#fff",wc(t.elevation))}, ${lt("#fff",wc(t.elevation))})`},e.vars&&{backgroundImage:(n=e.vars.overlays)==null?void 0:n[t.elevation]}))}),lu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiPaper"}),{className:i,component:a="div",elevation:s=1,square:l=!1,variant:u="elevation"}=r,d=ye(r,Qb),f=C({},r,{component:a,elevation:s,square:l,variant:u}),c=ey(f);return process.env.NODE_ENV!=="production"&&xn().shadows[s]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${s}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${s}]\` is defined.`].join(`
|
|
135
|
+
`)),W(ty,C({as:a,ownerState:f,className:ve(c.root,i),ref:n},d))});process.env.NODE_ENV!=="production"&&(lu.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,elevation:yn(Xl,e=>{const{elevation:t,variant:n}=e;return t>0&&n==="outlined"?new Error(`MUI: Combining \`elevation={${t}}\` with \`variant="${n}"\` has no effect. Either use \`elevation={0}\` or use a different \`variant\`.`):null}),square:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["elevation","outlined"]),o.string])});const pi=lu;function cu(e){const{className:t,classes:n,pulsate:r=!1,rippleX:i,rippleY:a,rippleSize:s,in:l,onExited:u,timeout:d}=e,[f,c]=E.useState(!1),p=ve(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),v={width:s,height:s,top:-(s/2)+a,left:-(s/2)+i},g=ve(n.child,f&&n.childLeaving,r&&n.childPulsate);return!l&&!f&&c(!0),E.useEffect(()=>{if(!l&&u!=null){const m=setTimeout(u,d);return()=>{clearTimeout(m)}}},[u,l,d]),W("span",{className:p,style:v,children:W("span",{className:g})})}process.env.NODE_ENV!=="production"&&(cu.propTypes={classes:o.object.isRequired,className:o.string,in:o.bool,onExited:o.func,pulsate:o.bool,rippleSize:o.number,rippleX:o.number,rippleY:o.number,timeout:o.number.isRequired});const It=_e("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ny=["center","classes","className"];let hi=e=>e,uu,du,fu,pu;const Ha=550,ry=80,oy=ia(uu||(uu=hi`
|
|
136
|
+
0% {
|
|
137
|
+
transform: scale(0);
|
|
138
|
+
opacity: 0.1;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
100% {
|
|
142
|
+
transform: scale(1);
|
|
143
|
+
opacity: 0.3;
|
|
144
|
+
}
|
|
145
|
+
`)),iy=ia(du||(du=hi`
|
|
146
|
+
0% {
|
|
147
|
+
opacity: 1;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
100% {
|
|
151
|
+
opacity: 0;
|
|
152
|
+
}
|
|
153
|
+
`)),ay=ia(fu||(fu=hi`
|
|
154
|
+
0% {
|
|
155
|
+
transform: scale(1);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
50% {
|
|
159
|
+
transform: scale(0.92);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
100% {
|
|
163
|
+
transform: scale(1);
|
|
164
|
+
}
|
|
165
|
+
`)),sy=pe("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),ly=pe(cu,{name:"MuiTouchRipple",slot:"Ripple"})(pu||(pu=hi`
|
|
166
|
+
opacity: 0;
|
|
167
|
+
position: absolute;
|
|
168
|
+
|
|
169
|
+
&.${0} {
|
|
170
|
+
opacity: 0.3;
|
|
171
|
+
transform: scale(1);
|
|
172
|
+
animation-name: ${0};
|
|
173
|
+
animation-duration: ${0}ms;
|
|
174
|
+
animation-timing-function: ${0};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&.${0} {
|
|
178
|
+
animation-duration: ${0}ms;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
& .${0} {
|
|
182
|
+
opacity: 1;
|
|
183
|
+
display: block;
|
|
184
|
+
width: 100%;
|
|
185
|
+
height: 100%;
|
|
186
|
+
border-radius: 50%;
|
|
187
|
+
background-color: currentColor;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
& .${0} {
|
|
191
|
+
opacity: 0;
|
|
192
|
+
animation-name: ${0};
|
|
193
|
+
animation-duration: ${0}ms;
|
|
194
|
+
animation-timing-function: ${0};
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
& .${0} {
|
|
198
|
+
position: absolute;
|
|
199
|
+
/* @noflip */
|
|
200
|
+
left: 0px;
|
|
201
|
+
top: 0;
|
|
202
|
+
animation-name: ${0};
|
|
203
|
+
animation-duration: 2500ms;
|
|
204
|
+
animation-timing-function: ${0};
|
|
205
|
+
animation-iteration-count: infinite;
|
|
206
|
+
animation-delay: 200ms;
|
|
207
|
+
}
|
|
208
|
+
`),It.rippleVisible,oy,Ha,({theme:e})=>e.transitions.easing.easeInOut,It.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,It.child,It.childLeaving,iy,Ha,({theme:e})=>e.transitions.easing.easeInOut,It.childPulsate,ay,({theme:e})=>e.transitions.easing.easeInOut),hu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiTouchRipple"}),{center:i=!1,classes:a={},className:s}=r,l=ye(r,ny),[u,d]=E.useState([]),f=E.useRef(0),c=E.useRef(null);E.useEffect(()=>{c.current&&(c.current(),c.current=null)},[u]);const p=E.useRef(!1),v=E.useRef(null),g=E.useRef(null),m=E.useRef(null);E.useEffect(()=>()=>{clearTimeout(v.current)},[]);const h=E.useCallback(T=>{const{pulsate:b,rippleX:$,rippleY:S,rippleSize:P,cb:N}=T;d(A=>[...A,W(ly,{classes:{ripple:ve(a.ripple,It.ripple),rippleVisible:ve(a.rippleVisible,It.rippleVisible),ripplePulsate:ve(a.ripplePulsate,It.ripplePulsate),child:ve(a.child,It.child),childLeaving:ve(a.childLeaving,It.childLeaving),childPulsate:ve(a.childPulsate,It.childPulsate)},timeout:Ha,pulsate:b,rippleX:$,rippleY:S,rippleSize:P},f.current)]),f.current+=1,c.current=N},[a]),y=E.useCallback((T={},b={},$=()=>{})=>{const{pulsate:S=!1,center:P=i||b.pulsate,fakeElement:N=!1}=b;if((T==null?void 0:T.type)==="mousedown"&&p.current){p.current=!1;return}(T==null?void 0:T.type)==="touchstart"&&(p.current=!0);const A=N?null:m.current,j=A?A.getBoundingClientRect():{width:0,height:0,left:0,top:0};let K,G,D;if(P||T===void 0||T.clientX===0&&T.clientY===0||!T.clientX&&!T.touches)K=Math.round(j.width/2),G=Math.round(j.height/2);else{const{clientX:z,clientY:F}=T.touches&&T.touches.length>0?T.touches[0]:T;K=Math.round(z-j.left),G=Math.round(F-j.top)}if(P)D=Math.sqrt((2*j.width**2+j.height**2)/3),D%2===0&&(D+=1);else{const z=Math.max(Math.abs((A?A.clientWidth:0)-K),K)*2+2,F=Math.max(Math.abs((A?A.clientHeight:0)-G),G)*2+2;D=Math.sqrt(z**2+F**2)}T!=null&&T.touches?g.current===null&&(g.current=()=>{h({pulsate:S,rippleX:K,rippleY:G,rippleSize:D,cb:$})},v.current=setTimeout(()=>{g.current&&(g.current(),g.current=null)},ry)):h({pulsate:S,rippleX:K,rippleY:G,rippleSize:D,cb:$})},[i,h]),O=E.useCallback(()=>{y({},{pulsate:!0})},[y]),x=E.useCallback((T,b)=>{if(clearTimeout(v.current),(T==null?void 0:T.type)==="touchend"&&g.current){g.current(),g.current=null,v.current=setTimeout(()=>{x(T,b)});return}g.current=null,d($=>$.length>0?$.slice(1):$),c.current=b},[]);return E.useImperativeHandle(n,()=>({pulsate:O,start:y,stop:x}),[O,y,x]),W(sy,C({className:ve(It.root,a.root,s),ref:m},l,{children:W(Jb,{component:null,exit:!0,children:u})}))});process.env.NODE_ENV!=="production"&&(hu.propTypes={center:o.bool,classes:o.object,className:o.string});const cy=hu;function uy(e){return $e("MuiButtonBase",e)}const dy=_e("MuiButtonBase",["root","disabled","focusVisible"]),fy=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],py=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:i}=e,s=Ie({root:["root",t&&"disabled",n&&"focusVisible"]},uy,i);return n&&r&&(s.root+=` ${r}`),s},hy=pe("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${dy.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),mu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiButtonBase"}),{action:i,centerRipple:a=!1,children:s,className:l,component:u="button",disabled:d=!1,disableRipple:f=!1,disableTouchRipple:c=!1,focusRipple:p=!1,LinkComponent:v="a",onBlur:g,onClick:m,onContextMenu:h,onDragLeave:y,onFocus:O,onFocusVisible:x,onKeyDown:T,onKeyUp:b,onMouseDown:$,onMouseLeave:S,onMouseUp:P,onTouchEnd:N,onTouchMove:A,onTouchStart:j,tabIndex:K=0,TouchRippleProps:G,touchRippleRef:D,type:z}=r,F=ye(r,fy),ie=E.useRef(null),ae=E.useRef(null),le=it(ae,D),{isFocusVisibleRef:_,onFocus:M,onBlur:J,ref:ne}=ma(),[Y,re]=E.useState(!1);d&&Y&&re(!1),E.useImperativeHandle(i,()=>({focusVisible:()=>{re(!0),ie.current.focus()}}),[]);const[Z,ue]=E.useState(!1);E.useEffect(()=>{ue(!0)},[]);const ee=Z&&!f&&!d;E.useEffect(()=>{Y&&p&&!f&&Z&&ae.current.pulsate()},[f,p,Y,Z]);function X(L,U,de=c){return Dt(be=>(U&&U(be),!de&&ae.current&&ae.current[L](be),!0))}const ce=X("start",$),Q=X("stop",h),B=X("stop",y),Ee=X("stop",P),k=X("stop",L=>{Y&&L.preventDefault(),S&&S(L)}),we=X("start",j),je=X("stop",N),Te=X("stop",A),Re=X("stop",L=>{J(L),_.current===!1&&re(!1),g&&g(L)},!1),ot=Dt(L=>{ie.current||(ie.current=L.currentTarget),M(L),_.current===!0&&(re(!0),x&&x(L)),O&&O(L)}),R=()=>{const L=ie.current;return u&&u!=="button"&&!(L.tagName==="A"&&L.href)},V=E.useRef(!1),te=Dt(L=>{p&&!V.current&&Y&&ae.current&&L.key===" "&&(V.current=!0,ae.current.stop(L,()=>{ae.current.start(L)})),L.target===L.currentTarget&&R()&&L.key===" "&&L.preventDefault(),T&&T(L),L.target===L.currentTarget&&R()&&L.key==="Enter"&&!d&&(L.preventDefault(),m&&m(L))}),oe=Dt(L=>{p&&L.key===" "&&ae.current&&Y&&!L.defaultPrevented&&(V.current=!1,ae.current.stop(L,()=>{ae.current.pulsate(L)})),b&&b(L),m&&L.target===L.currentTarget&&R()&&L.key===" "&&!L.defaultPrevented&&m(L)});let fe=u;fe==="button"&&(F.href||F.to)&&(fe=v);const he={};fe==="button"?(he.type=z===void 0?"button":z,he.disabled=d):(!F.href&&!F.to&&(he.role="button"),d&&(he["aria-disabled"]=d));const Se=it(n,ne,ie);process.env.NODE_ENV!=="production"&&E.useEffect(()=>{ee&&!ae.current&&console.error(["MUI: The `component` prop provided to ButtonBase is invalid.","Please make sure the children prop is rendered in this custom component."].join(`
|
|
209
|
+
`))},[ee]);const He=C({},r,{centerRipple:a,component:u,disabled:d,disableRipple:f,disableTouchRipple:c,focusRipple:p,tabIndex:K,focusVisible:Y}),H=py(He);return Ye(hy,C({as:fe,className:ve(H.root,l),ownerState:He,onBlur:Re,onClick:m,onContextMenu:Q,onFocus:ot,onKeyDown:te,onKeyUp:oe,onMouseDown:ce,onMouseLeave:k,onMouseUp:Ee,onDragLeave:B,onTouchEnd:je,onTouchMove:Te,onTouchStart:we,ref:Se,tabIndex:d?-1:K,type:z},he,F,{children:[s,ee?W(cy,C({ref:le,center:a},G)):null]}))});process.env.NODE_ENV!=="production"&&(mu.propTypes={action:jt,centerRipple:o.bool,children:o.node,classes:o.object,className:o.string,component:Io,disabled:o.bool,disableRipple:o.bool,disableTouchRipple:o.bool,focusRipple:o.bool,focusVisibleClassName:o.string,href:o.any,LinkComponent:o.elementType,onBlur:o.func,onClick:o.func,onContextMenu:o.func,onDragLeave:o.func,onFocus:o.func,onFocusVisible:o.func,onKeyDown:o.func,onKeyUp:o.func,onMouseDown:o.func,onMouseLeave:o.func,onMouseUp:o.func,onTouchEnd:o.func,onTouchMove:o.func,onTouchStart:o.func,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),tabIndex:o.number,TouchRippleProps:o.object,touchRippleRef:o.oneOfType([o.func,o.shape({current:o.shape({pulsate:o.func.isRequired,start:o.func.isRequired,stop:o.func.isRequired})})]),type:o.oneOfType([o.oneOf(["button","reset","submit"]),o.string])});const Jr=mu;function my(e){return $e("MuiTypography",e)}_e("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const vy=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],gy=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:i,variant:a,classes:s}=e,l={root:["root",a,e.align!=="inherit"&&`align${ke(t)}`,n&&"gutterBottom",r&&"noWrap",i&&"paragraph"]};return Ie(l,my,s)},by=pe("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],n.align!=="inherit"&&t[`align${ke(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>C({margin:0},t.variant&&e.typography[t.variant],t.align!=="inherit"&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),vu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},yy={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Ey=e=>yy[e]||e,gu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiTypography"}),i=Ey(r.color),a=cc(C({},r,{color:i})),{align:s="inherit",className:l,component:u,gutterBottom:d=!1,noWrap:f=!1,paragraph:c=!1,variant:p="body1",variantMapping:v=vu}=a,g=ye(a,vy),m=C({},a,{align:s,color:i,className:l,component:u,gutterBottom:d,noWrap:f,paragraph:c,variant:p,variantMapping:v}),h=u||(c?"p":v[p]||vu[p])||"span",y=gy(m);return W(by,C({as:h,ref:n,ownerState:m,className:ve(y.root,l)},g))});process.env.NODE_ENV!=="production"&&(gu.propTypes={align:o.oneOf(["center","inherit","justify","left","right"]),children:o.node,classes:o.object,className:o.string,component:o.elementType,gutterBottom:o.bool,noWrap:o.bool,paragraph:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),o.string]),variantMapping:o.object});const un=gu;function Ty(e){return $e("MuiAppBar",e)}_e("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent"]);const xy=["className","color","enableColorOnDark","position"],Oy=e=>{const{color:t,position:n,classes:r}=e,i={root:["root",`color${ke(t)}`,`position${ke(n)}`]};return Ie(i,Ty,r)},mi=(e,t)=>`${e==null?void 0:e.replace(")","")}, ${t})`,Cy=pe(pi,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${ke(n.position)}`],t[`color${ke(n.color)}`]]}})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[900];return C({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},t.position==="fixed"&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},t.position==="absolute"&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="sticky"&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},t.position==="static"&&{position:"static"},t.position==="relative"&&{position:"relative"},!e.vars&&C({},t.color==="default"&&{backgroundColor:n,color:e.palette.getContrastText(n)},t.color&&t.color!=="default"&&t.color!=="inherit"&&t.color!=="transparent"&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},t.color==="inherit"&&{color:"inherit"},e.palette.mode==="dark"&&!t.enableColorOnDark&&{backgroundColor:null,color:null},t.color==="transparent"&&C({backgroundColor:"transparent",color:"inherit"},e.palette.mode==="dark"&&{backgroundImage:"none"})),e.vars&&C({},t.color==="default"&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:mi(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:mi(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:mi(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:mi(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:t.color==="inherit"?"inherit":"var(--AppBar-color)"},t.color==="transparent"&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),bu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiAppBar"}),{className:i,color:a="primary",enableColorOnDark:s=!1,position:l="fixed"}=r,u=ye(r,xy),d=C({},r,{color:a,position:l,enableColorOnDark:s}),f=Oy(d);return W(Cy,C({square:!0,component:"header",ownerState:d,elevation:4,className:ve(f.root,i,l==="fixed"&&"mui-fixed"),ref:n},u))});process.env.NODE_ENV!=="production"&&(bu.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["default","inherit","primary","secondary","transparent"]),o.string]),enableColorOnDark:o.bool,position:o.oneOf(["absolute","fixed","relative","static","sticky"]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const wy=bu,Sy=["components","componentsProps","slots","slotProps"],$y=pe(yb,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),yu=E.forwardRef(function(t,n){var r;const i=hc(),a=Ae({props:t,name:"MuiPopper"}),{components:s,componentsProps:l,slots:u,slotProps:d}=a,f=ye(a,Sy),c=(r=u==null?void 0:u.root)!=null?r:s==null?void 0:s.Root;return W($y,C({direction:i==null?void 0:i.direction,slots:{root:c},slotProps:d??l},f,{ref:n}))});process.env.NODE_ENV!=="production"&&(yu.propTypes={anchorEl:o.oneOfType([Wt,o.object,o.func]),children:o.oneOfType([o.node,o.func]),component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.oneOfType([o.func,o.object])}),container:o.oneOfType([Wt,o.func]),disablePortal:o.bool,keepMounted:o.bool,modifiers:o.arrayOf(o.shape({data:o.object,effect:o.func,enabled:o.bool,fn:o.func,name:o.any,options:o.object,phase:o.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:o.arrayOf(o.string),requiresIfExists:o.arrayOf(o.string)})),open:o.bool.isRequired,ownerState:o.any,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),popperOptions:o.shape({modifiers:o.array,onFirstUpdate:o.func,placement:o.oneOf(["auto-end","auto-start","auto","bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),strategy:o.oneOf(["absolute","fixed"])}),popperRef:jt,slotProps:o.shape({root:o.oneOfType([o.func,o.object])}),slots:o.shape({root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transition:o.bool});const Eu=yu;function dr({props:e,states:t,muiFormControl:n}){return t.reduce((r,i)=>(r[i]=e[i],n&&typeof e[i]>"u"&&(r[i]=n[i]),r),{})}const Tu=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(Tu.displayName="FormControlContext");const qa=Tu;function fr(){return E.useContext(qa)}function xu(e){return W(nc,C({},e,{defaultTheme:Qo}))}process.env.NODE_ENV!=="production"&&(xu.propTypes={styles:o.oneOfType([o.func,o.number,o.object,o.shape({__emotion_styles:o.any.isRequired}),o.string,o.bool])});function Ou(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function Ga(e,t=!1){return e&&(Ou(e.value)&&e.value!==""||t&&Ou(e.defaultValue)&&e.defaultValue!=="")}function _y(e){return e.startAdornment}function Ry(e){return $e("MuiInputBase",e)}const pr=_e("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Py=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],gi=(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,n.size==="small"&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${ke(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]},bi=(e,t)=>{const{ownerState:n}=e;return[t.input,n.size==="small"&&t.inputSizeSmall,n.multiline&&t.inputMultiline,n.type==="search"&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]},Ny=e=>{const{classes:t,color:n,disabled:r,error:i,endAdornment:a,focused:s,formControl:l,fullWidth:u,hiddenLabel:d,multiline:f,readOnly:c,size:p,startAdornment:v,type:g}=e,m={root:["root",`color${ke(n)}`,r&&"disabled",i&&"error",u&&"fullWidth",s&&"focused",l&&"formControl",p==="small"&&"sizeSmall",f&&"multiline",v&&"adornedStart",a&&"adornedEnd",d&&"hiddenLabel",c&&"readOnly"],input:["input",r&&"disabled",g==="search"&&"inputTypeSearch",f&&"inputMultiline",p==="small"&&"inputSizeSmall",d&&"inputHiddenLabel",v&&"inputAdornedStart",a&&"inputAdornedEnd",c&&"readOnly"]};return Ie(m,Ry,t)},yi=pe("div",{name:"MuiInputBase",slot:"Root",overridesResolver:gi})(({theme:e,ownerState:t})=>C({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${pr.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&C({padding:"4px 0 5px"},t.size==="small"&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Ei=pe("input",{name:"MuiInputBase",slot:"Input",overridesResolver:bi})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light",r=C({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),i={opacity:"0 !important"},a=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return C({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${pr.formControl} &`]:{"&::-webkit-input-placeholder":i,"&::-moz-placeholder":i,"&:-ms-input-placeholder":i,"&::-ms-input-placeholder":i,"&:focus::-webkit-input-placeholder":a,"&:focus::-moz-placeholder":a,"&:focus:-ms-input-placeholder":a,"&:focus::-ms-input-placeholder":a},[`&.${pr.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},t.size==="small"&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},t.type==="search"&&{MozAppearance:"textfield"})}),Iy=W(xu,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Cu=E.forwardRef(function(t,n){var r;const i=Ae({props:t,name:"MuiInputBase"}),{"aria-describedby":a,autoComplete:s,autoFocus:l,className:u,components:d={},componentsProps:f={},defaultValue:c,disabled:p,disableInjectingGlobalStyles:v,endAdornment:g,fullWidth:m=!1,id:h,inputComponent:y="input",inputProps:O={},inputRef:x,maxRows:T,minRows:b,multiline:$=!1,name:S,onBlur:P,onChange:N,onClick:A,onFocus:j,onKeyDown:K,onKeyUp:G,placeholder:D,readOnly:z,renderSuffix:F,rows:ie,slotProps:ae={},slots:le={},startAdornment:_,type:M="text",value:J}=i,ne=ye(i,Py),Y=O.value!=null?O.value:J,{current:re}=E.useRef(Y!=null),Z=E.useRef(),ue=E.useCallback(H=>{process.env.NODE_ENV!=="production"&&H&&H.nodeName!=="INPUT"&&!H.focus&&console.error(["MUI: You have provided a `inputComponent` to the input component","that does not correctly handle the `ref` prop.","Make sure the `ref` prop is called with a HTMLInputElement."].join(`
|
|
210
|
+
`))},[]),ee=it(Z,x,O.ref,ue),[X,ce]=E.useState(!1),Q=fr();process.env.NODE_ENV!=="production"&&E.useEffect(()=>{if(Q)return Q.registerEffect()},[Q]);const B=dr({props:i,muiFormControl:Q,states:["color","disabled","error","hiddenLabel","size","required","filled"]});B.focused=Q?Q.focused:X,E.useEffect(()=>{!Q&&p&&X&&(ce(!1),P&&P())},[Q,p,X,P]);const Ee=Q&&Q.onFilled,k=Q&&Q.onEmpty,we=E.useCallback(H=>{Ga(H)?Ee&&Ee():k&&k()},[Ee,k]);_t(()=>{re&&we({value:Y})},[Y,we,re]);const je=H=>{if(B.disabled){H.stopPropagation();return}j&&j(H),O.onFocus&&O.onFocus(H),Q&&Q.onFocus?Q.onFocus(H):ce(!0)},Te=H=>{P&&P(H),O.onBlur&&O.onBlur(H),Q&&Q.onBlur?Q.onBlur(H):ce(!1)},Re=(H,...L)=>{if(!re){const U=H.target||Z.current;if(U==null)throw new Error(process.env.NODE_ENV!=="production"?"MUI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://mui.com/r/input-component-ref-interface for more info.":on(1));we({value:U.value})}O.onChange&&O.onChange(H,...L),N&&N(H,...L)};E.useEffect(()=>{we(Z.current)},[]);const ot=H=>{Z.current&&H.currentTarget===H.target&&Z.current.focus(),A&&A(H)};let R=y,V=O;$&&R==="input"&&(ie?(process.env.NODE_ENV!=="production"&&(b||T)&&console.warn("MUI: You can not use the `minRows` or `maxRows` props when the input `rows` prop is set."),V=C({type:void 0,minRows:ie,maxRows:ie},V)):V=C({type:void 0,maxRows:T,minRows:b},V),R=Mb);const te=H=>{we(H.animationName==="mui-auto-fill-cancel"?Z.current:{value:"x"})};E.useEffect(()=>{Q&&Q.setAdornedStart(Boolean(_))},[Q,_]);const oe=C({},i,{color:B.color||"primary",disabled:B.disabled,endAdornment:g,error:B.error,focused:B.focused,formControl:Q,fullWidth:m,hiddenLabel:B.hiddenLabel,multiline:$,size:B.size,startAdornment:_,type:M}),fe=Ny(oe),he=le.root||d.Root||yi,Se=ae.root||f.root||{},He=le.input||d.Input||Ei;return V=C({},V,(r=ae.input)!=null?r:f.input),Ye(E.Fragment,{children:[!v&&Iy,Ye(he,C({},Se,!rr(he)&&{ownerState:C({},oe,Se.ownerState)},{ref:n,onClick:ot},ne,{className:ve(fe.root,Se.className,u),children:[_,W(qa.Provider,{value:null,children:W(He,C({ownerState:oe,"aria-invalid":B.error,"aria-describedby":a,autoComplete:s,autoFocus:l,defaultValue:c,disabled:B.disabled,id:h,onAnimationStart:te,name:S,placeholder:D,readOnly:z,required:B.required,rows:ie,value:Y,onKeyDown:K,onKeyUp:G,type:M},V,!rr(He)&&{as:R,ownerState:C({},oe,V.ownerState)},{ref:ee,className:ve(fe.input,V.className),onBlur:Te,onChange:Re,onFocus:je}))}),g,F?F(C({},B,{startAdornment:_})):null]}))]})});process.env.NODE_ENV!=="production"&&(Cu.propTypes={"aria-describedby":o.string,autoComplete:o.string,autoFocus:o.bool,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),componentsProps:o.shape({input:o.object,root:o.object}),defaultValue:o.any,disabled:o.bool,disableInjectingGlobalStyles:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,id:o.string,inputComponent:Io,inputProps:o.object,inputRef:jt,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onClick:o.func,onFocus:o.func,onInvalid:o.func,onKeyDown:o.func,onKeyUp:o.func,placeholder:o.string,readOnly:o.bool,renderSuffix:o.func,required:o.bool,rows:o.oneOfType([o.number,o.string]),size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),slotProps:o.shape({input:o.object,root:o.object}),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any});const Ti=Cu;function Ay(e){return $e("MuiInput",e)}const Zr=C({},pr,_e("MuiInput",["root","underline","input"]));function My(e){return $e("MuiOutlinedInput",e)}const dn=C({},pr,_e("MuiOutlinedInput",["root","notchedOutline","input"]));function ky(e){return $e("MuiFilledInput",e)}const Rn=C({},pr,_e("MuiFilledInput",["root","underline","input"])),jy=ui(W("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),Dy=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Fy={entering:{opacity:1},entered:{opacity:1}},wu=E.forwardRef(function(t,n){const r=xn(),i={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:a,appear:s=!0,children:l,easing:u,in:d,onEnter:f,onEntered:c,onEntering:p,onExit:v,onExited:g,onExiting:m,style:h,timeout:y=i,TransitionComponent:O=au}=t,x=ye(t,Dy),T=E.useRef(null),b=it(T,l.ref,n),$=D=>z=>{if(D){const F=T.current;z===void 0?D(F):D(F,z)}},S=$(p),P=$((D,z)=>{su(D);const F=fi({style:h,timeout:y,easing:u},{mode:"enter"});D.style.webkitTransition=r.transitions.create("opacity",F),D.style.transition=r.transitions.create("opacity",F),f&&f(D,z)}),N=$(c),A=$(m),j=$(D=>{const z=fi({style:h,timeout:y,easing:u},{mode:"exit"});D.style.webkitTransition=r.transitions.create("opacity",z),D.style.transition=r.transitions.create("opacity",z),v&&v(D)}),K=$(g);return W(O,C({appear:s,in:d,nodeRef:T,onEnter:P,onEntered:N,onEntering:S,onExit:j,onExited:K,onExiting:A,addEndListener:D=>{a&&a(T.current,D)},timeout:y},x,{children:(D,z)=>E.cloneElement(l,C({style:C({opacity:0,visibility:D==="exited"&&!d?"hidden":void 0},Fy[D],h,l.props.style),ref:b},z))}))});process.env.NODE_ENV!=="production"&&(wu.propTypes={addEndListener:o.func,appear:o.bool,children:Zn.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});const Ly=wu;function Vy(e){return $e("MuiBackdrop",e)}_e("MuiBackdrop",["root","invisible"]);const By=["children","component","components","componentsProps","className","invisible","open","slotProps","slots","transitionDuration","TransitionComponent"],Uy=e=>{const{classes:t,invisible:n}=e;return Ie({root:["root",n&&"invisible"]},Vy,t)},zy=pe("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>C({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),Su=E.forwardRef(function(t,n){var r,i,a;const s=Ae({props:t,name:"MuiBackdrop"}),{children:l,component:u="div",components:d={},componentsProps:f={},className:c,invisible:p=!1,open:v,slotProps:g={},slots:m={},transitionDuration:h,TransitionComponent:y=Ly}=s,O=ye(s,By),x=C({},s,{component:u,invisible:p}),T=Uy(x),b=(r=g.root)!=null?r:f.root;return W(y,C({in:v,timeout:h},O,{children:W(zy,C({"aria-hidden":!0},b,{as:(i=(a=m.root)!=null?a:d.Root)!=null?i:u,className:ve(T.root,c,b==null?void 0:b.className),ownerState:C({},x,b==null?void 0:b.ownerState),classes:T,ref:n,children:l}))}))});process.env.NODE_ENV!=="production"&&(Su.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.object}),invisible:o.bool,open:o.bool.isRequired,slotProps:o.shape({root:o.object}),slots:o.shape({root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transitionDuration:o.oneOfType([o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])});const Wy=Su,Hy=Sa(),$u=rv({defaultTheme:Hy,defaultClassName:"MuiBox-root",generateClassName:ga.generate});process.env.NODE_ENV!=="production"&&($u.propTypes={children:o.node,component:o.elementType,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const qy=$u,Gy=["BackdropComponent","BackdropProps","closeAfterTransition","children","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","slotProps","slots","theme"],Yy=e=>e.classes,Ky=pe("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(({theme:e,ownerState:t})=>C({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),Xy=pe(Wy,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),_u=E.forwardRef(function(t,n){var r,i,a,s,l,u;const d=Ae({name:"MuiModal",props:t}),{BackdropComponent:f=Xy,BackdropProps:c,closeAfterTransition:p=!1,children:v,component:g,components:m={},componentsProps:h={},disableAutoFocus:y=!1,disableEnforceFocus:O=!1,disableEscapeKeyDown:x=!1,disablePortal:T=!1,disableRestoreFocus:b=!1,disableScrollLock:$=!1,hideBackdrop:S=!1,keepMounted:P=!1,slotProps:N,slots:A,theme:j}=d,K=ye(d,Gy),[G,D]=E.useState(!0),z={closeAfterTransition:p,disableAutoFocus:y,disableEnforceFocus:O,disableEscapeKeyDown:x,disablePortal:T,disableRestoreFocus:b,disableScrollLock:$,hideBackdrop:S,keepMounted:P},F=C({},d,z,{exited:G}),ie=Yy(F),ae=(r=(i=A==null?void 0:A.root)!=null?i:m.Root)!=null?r:Ky,le=(a=(s=A==null?void 0:A.backdrop)!=null?s:m.Backdrop)!=null?a:f,_=(l=N==null?void 0:N.root)!=null?l:h.root,M=(u=N==null?void 0:N.backdrop)!=null?u:h.backdrop;return W(Nb,C({slots:{root:ae,backdrop:le},slotProps:{root:()=>C({},$a(_,F),!rr(ae)&&{as:g,theme:j}),backdrop:()=>C({},c,$a(M,F))},onTransitionEnter:()=>D(!1),onTransitionExited:()=>D(!0),ref:n},K,{classes:ie},z,{children:v}))});process.env.NODE_ENV!=="production"&&(_u.propTypes={BackdropComponent:o.elementType,BackdropProps:o.object,children:Zn.isRequired,classes:o.object,closeAfterTransition:o.bool,component:o.elementType,components:o.shape({Backdrop:o.elementType,Root:o.elementType}),componentsProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),container:o.oneOfType([Wt,o.func]),disableAutoFocus:o.bool,disableEnforceFocus:o.bool,disableEscapeKeyDown:o.bool,disablePortal:o.bool,disableRestoreFocus:o.bool,disableScrollLock:o.bool,hideBackdrop:o.bool,keepMounted:o.bool,onBackdropClick:o.func,onClose:o.func,open:o.bool.isRequired,slotProps:o.shape({backdrop:o.oneOfType([o.func,o.object]),root:o.oneOfType([o.func,o.object])}),slots:o.shape({backdrop:o.elementType,root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const Jy=_u;function Zy(e){return $e("MuiDivider",e)}const Ru=_e("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Qy=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],e0=e=>{const{absolute:t,children:n,classes:r,flexItem:i,light:a,orientation:s,textAlign:l,variant:u}=e;return Ie({root:["root",t&&"absolute",u,a&&"light",s==="vertical"&&"vertical",i&&"flexItem",n&&"withChildren",n&&s==="vertical"&&"withChildrenVertical",l==="right"&&s!=="vertical"&&"textAlignRight",l==="left"&&s!=="vertical"&&"textAlignLeft"],wrapper:["wrapper",s==="vertical"&&"wrapperVertical"]},Zy,r)},t0=pe("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,n.orientation==="vertical"&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&n.orientation==="vertical"&&t.withChildrenVertical,n.textAlign==="right"&&n.orientation!=="vertical"&&t.textAlignRight,n.textAlign==="left"&&n.orientation!=="vertical"&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>C({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:lt(e.palette.divider,.08)},t.variant==="inset"&&{marginLeft:72},t.variant==="middle"&&t.orientation==="horizontal"&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},t.variant==="middle"&&t.orientation==="vertical"&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},t.orientation==="vertical"&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({theme:e,ownerState:t})=>C({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{position:"relative",width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,top:"50%",content:'""',transform:"translateY(50%)"}}),({theme:e,ownerState:t})=>C({},t.children&&t.orientation==="vertical"&&{flexDirection:"column","&::before, &::after":{height:"100%",top:"0%",left:"50%",borderTop:0,borderLeft:`thin solid ${(e.vars||e).palette.divider}`,transform:"translateX(0%)"}}),({ownerState:e})=>C({},e.textAlign==="right"&&e.orientation!=="vertical"&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},e.textAlign==="left"&&e.orientation!=="vertical"&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),n0=pe("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,n.orientation==="vertical"&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>C({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},t.orientation==="vertical"&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),Pu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiDivider"}),{absolute:i=!1,children:a,className:s,component:l=a?"div":"hr",flexItem:u=!1,light:d=!1,orientation:f="horizontal",role:c=l!=="hr"?"separator":void 0,textAlign:p="center",variant:v="fullWidth"}=r,g=ye(r,Qy),m=C({},r,{absolute:i,component:l,flexItem:u,light:d,orientation:f,role:c,textAlign:p,variant:v}),h=e0(m);return W(t0,C({as:l,className:ve(h.root,s),role:c,ref:n,ownerState:m},g,{children:a?W(n0,{className:h.wrapper,ownerState:m,children:a}):null}))});process.env.NODE_ENV!=="production"&&(Pu.propTypes={absolute:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,flexItem:o.bool,light:o.bool,orientation:o.oneOf(["horizontal","vertical"]),role:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),textAlign:o.oneOf(["center","left","right"]),variant:o.oneOfType([o.oneOf(["fullWidth","inset","middle"]),o.string])});const r0=Pu,o0=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],i0=e=>{const{classes:t,disableUnderline:n}=e,i=Ie({root:["root",!n&&"underline"],input:["input"]},ky,t);return C({},t,i)},a0=pe(yi,{shouldForwardProp:e=>Gt(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...gi(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var n;const r=e.palette.mode==="light",i=r?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",a=r?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",s=r?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",l=r?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return C({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:s,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a}},[`&.${Rn.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:a},[`&.${Rn.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:l}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(n=(e.vars||e).palette[t.color||"primary"])==null?void 0:n.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Rn.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Rn.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:i}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Rn.disabled}, .${Rn.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${Rn.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&C({padding:"25px 12px 8px"},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17}))}),s0=pe(Ei,{name:"MuiFilledInput",slot:"Input",overridesResolver:bi})(({theme:e,ownerState:t})=>C({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&t.size==="small"&&{paddingTop:8,paddingBottom:9})),Ya=E.forwardRef(function(t,n){var r,i,a,s;const l=Ae({props:t,name:"MuiFilledInput"}),{components:u={},componentsProps:d,fullWidth:f=!1,inputComponent:c="input",multiline:p=!1,slotProps:v,slots:g={},type:m="text"}=l,h=ye(l,o0),y=C({},l,{fullWidth:f,inputComponent:c,multiline:p,type:m}),O=i0(l),x={root:{ownerState:y},input:{ownerState:y}},T=v??d?$t(v??d,x):x,b=(r=(i=g.root)!=null?i:u.Root)!=null?r:a0,$=(a=(s=g.input)!=null?s:u.Input)!=null?a:s0;return W(Ti,C({slots:{root:b,input:$},componentsProps:T,fullWidth:f,inputComponent:c,multiline:p,ref:n,type:m},h,{classes:O}))});process.env.NODE_ENV!=="production"&&(Ya.propTypes={autoComplete:o.string,autoFocus:o.bool,classes:o.object,color:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),componentsProps:o.shape({input:o.object,root:o.object}),defaultValue:o.any,disabled:o.bool,disableUnderline:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,hiddenLabel:o.bool,id:o.string,inputComponent:o.elementType,inputProps:o.object,inputRef:jt,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onChange:o.func,placeholder:o.string,readOnly:o.bool,required:o.bool,rows:o.oneOfType([o.number,o.string]),slotProps:o.shape({input:o.object,root:o.object}),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any}),Ya.muiName="Input";const l0=Ya;function c0(e){return $e("MuiFormControl",e)}_e("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const u0=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],d0=e=>{const{classes:t,margin:n,fullWidth:r}=e,i={root:["root",n!=="none"&&`margin${ke(n)}`,r&&"fullWidth"]};return Ie(i,c0,t)},f0=pe("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>C({},t.root,t[`margin${ke(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>C({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},e.margin==="normal"&&{marginTop:16,marginBottom:8},e.margin==="dense"&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),Nu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiFormControl"}),{children:i,className:a,color:s="primary",component:l="div",disabled:u=!1,error:d=!1,focused:f,fullWidth:c=!1,hiddenLabel:p=!1,margin:v="none",required:g=!1,size:m="medium",variant:h="outlined"}=r,y=ye(r,u0),O=C({},r,{color:s,component:l,disabled:u,error:d,fullWidth:c,hiddenLabel:p,margin:v,required:g,size:m,variant:h}),x=d0(O),[T,b]=E.useState(()=>{let G=!1;return i&&E.Children.forEach(i,D=>{if(!er(D,["Input","Select"]))return;const z=er(D,["Select"])?D.props.input:D;z&&_y(z.props)&&(G=!0)}),G}),[$,S]=E.useState(()=>{let G=!1;return i&&E.Children.forEach(i,D=>{er(D,["Input","Select"])&&Ga(D.props,!0)&&(G=!0)}),G}),[P,N]=E.useState(!1);u&&P&&N(!1);const A=f!==void 0&&!u?f:P;let j;if(process.env.NODE_ENV!=="production"){const G=E.useRef(!1);j=()=>(G.current&&console.error(["MUI: There are multiple `InputBase` components inside a FormControl.","This creates visual inconsistencies, only use one `InputBase`."].join(`
|
|
211
|
+
`)),G.current=!0,()=>{G.current=!1})}const K=E.useMemo(()=>({adornedStart:T,setAdornedStart:b,color:s,disabled:u,error:d,filled:$,focused:A,fullWidth:c,hiddenLabel:p,size:m,onBlur:()=>{N(!1)},onEmpty:()=>{S(!1)},onFilled:()=>{S(!0)},onFocus:()=>{N(!0)},registerEffect:j,required:g,variant:h}),[T,s,u,d,$,A,c,p,j,g,m,h]);return W(qa.Provider,{value:K,children:W(f0,C({as:l,ownerState:O,className:ve(x.root,a),ref:n},y,{children:i}))})});process.env.NODE_ENV!=="production"&&(Nu.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["primary","secondary","error","info","success","warning"]),o.string]),component:o.elementType,disabled:o.bool,error:o.bool,focused:o.bool,fullWidth:o.bool,hiddenLabel:o.bool,margin:o.oneOf(["dense","none","normal"]),required:o.bool,size:o.oneOfType([o.oneOf(["medium","small"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOf(["filled","outlined","standard"])});const p0=Nu;function h0(e){return $e("MuiFormHelperText",e)}const Iu=_e("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var Au;const m0=["children","className","component","disabled","error","filled","focused","margin","required","variant"],v0=e=>{const{classes:t,contained:n,size:r,disabled:i,error:a,filled:s,focused:l,required:u}=e,d={root:["root",i&&"disabled",a&&"error",r&&`size${ke(r)}`,n&&"contained",l&&"focused",s&&"filled",u&&"required"]};return Ie(d,h0,t)},g0=pe("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.size&&t[`size${ke(n.size)}`],n.contained&&t.contained,n.filled&&t.filled]}})(({theme:e,ownerState:t})=>C({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${Iu.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Iu.error}`]:{color:(e.vars||e).palette.error.main}},t.size==="small"&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),Mu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiFormHelperText"}),{children:i,className:a,component:s="p"}=r,l=ye(r,m0),u=fr(),d=dr({props:r,muiFormControl:u,states:["variant","size","disabled","error","filled","focused","required"]}),f=C({},r,{component:s,contained:d.variant==="filled"||d.variant==="outlined",variant:d.variant,size:d.size,disabled:d.disabled,error:d.error,filled:d.filled,focused:d.focused,required:d.required}),c=v0(f);return W(g0,C({as:s,ownerState:f,className:ve(c.root,a),ref:n},l,{children:i===" "?Au||(Au=W("span",{className:"notranslate",children:""})):i}))});process.env.NODE_ENV!=="production"&&(Mu.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,disabled:o.bool,error:o.bool,filled:o.bool,focused:o.bool,margin:o.oneOf(["dense"]),required:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["filled","outlined","standard"]),o.string])});const b0=Mu;function y0(e){return $e("MuiFormLabel",e)}const Qr=_e("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),E0=["children","className","color","component","disabled","error","filled","focused","required"],T0=e=>{const{classes:t,color:n,focused:r,disabled:i,error:a,filled:s,required:l}=e,u={root:["root",`color${ke(n)}`,i&&"disabled",a&&"error",s&&"filled",r&&"focused",l&&"required"],asterisk:["asterisk",a&&"error"]};return Ie(u,y0,t)},x0=pe("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>C({},t.root,e.color==="secondary"&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>C({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Qr.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${Qr.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${Qr.error}`]:{color:(e.vars||e).palette.error.main}})),O0=pe("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${Qr.error}`]:{color:(e.vars||e).palette.error.main}})),ku=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiFormLabel"}),{children:i,className:a,component:s="label"}=r,l=ye(r,E0),u=fr(),d=dr({props:r,muiFormControl:u,states:["color","required","focused","disabled","error","filled"]}),f=C({},r,{color:d.color||"primary",component:s,disabled:d.disabled,error:d.error,filled:d.filled,focused:d.focused,required:d.required}),c=T0(f);return Ye(x0,C({as:s,ownerState:f,className:ve(c.root,a),ref:n},l,{children:[i,d.required&&Ye(O0,{ownerState:f,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))});process.env.NODE_ENV!=="production"&&(ku.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["error","info","primary","secondary","success","warning"]),o.string]),component:o.elementType,disabled:o.bool,error:o.bool,filled:o.bool,focused:o.bool,required:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const C0=ku,w0=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ka(e){return`scale(${e}, ${e**2})`}const S0={entering:{opacity:1,transform:Ka(1)},entered:{opacity:1,transform:"none"}},Xa=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ja=E.forwardRef(function(t,n){const{addEndListener:r,appear:i=!0,children:a,easing:s,in:l,onEnter:u,onEntered:d,onEntering:f,onExit:c,onExited:p,onExiting:v,style:g,timeout:m="auto",TransitionComponent:h=au}=t,y=ye(t,w0),O=E.useRef(),x=E.useRef(),T=xn(),b=E.useRef(null),$=it(b,a.ref,n),S=z=>F=>{if(z){const ie=b.current;F===void 0?z(ie):z(ie,F)}},P=S(f),N=S((z,F)=>{su(z);const{duration:ie,delay:ae,easing:le}=fi({style:g,timeout:m,easing:s},{mode:"enter"});let _;m==="auto"?(_=T.transitions.getAutoHeightDuration(z.clientHeight),x.current=_):_=ie,z.style.transition=[T.transitions.create("opacity",{duration:_,delay:ae}),T.transitions.create("transform",{duration:Xa?_:_*.666,delay:ae,easing:le})].join(","),u&&u(z,F)}),A=S(d),j=S(v),K=S(z=>{const{duration:F,delay:ie,easing:ae}=fi({style:g,timeout:m,easing:s},{mode:"exit"});let le;m==="auto"?(le=T.transitions.getAutoHeightDuration(z.clientHeight),x.current=le):le=F,z.style.transition=[T.transitions.create("opacity",{duration:le,delay:ie}),T.transitions.create("transform",{duration:Xa?le:le*.666,delay:Xa?ie:ie||le*.333,easing:ae})].join(","),z.style.opacity=0,z.style.transform=Ka(.75),c&&c(z)}),G=S(p),D=z=>{m==="auto"&&(O.current=setTimeout(z,x.current||0)),r&&r(b.current,z)};return E.useEffect(()=>()=>{clearTimeout(O.current)},[]),W(h,C({appear:i,in:l,nodeRef:b,onEnter:N,onEntered:A,onEntering:P,onExit:K,onExited:G,onExiting:j,addEndListener:D,timeout:m==="auto"?null:m},y,{children:(z,F)=>E.cloneElement(a,C({style:C({opacity:0,transform:Ka(.75),visibility:z==="exited"&&!l?"hidden":void 0},S0[z],g,a.props.style),ref:$},F))}))});process.env.NODE_ENV!=="production"&&(Ja.propTypes={addEndListener:o.func,appear:o.bool,children:Zn.isRequired,easing:o.oneOfType([o.shape({enter:o.string,exit:o.string}),o.string]),in:o.bool,onEnter:o.func,onEntered:o.func,onEntering:o.func,onExit:o.func,onExited:o.func,onExiting:o.func,style:o.object,timeout:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})])}),Ja.muiSupportAuto=!0;const Za=Ja,$0=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],_0=e=>{const{classes:t,disableUnderline:n}=e,i=Ie({root:["root",!n&&"underline"],input:["input"]},Ay,t);return C({},t,i)},R0=pe(yi,{shouldForwardProp:e=>Gt(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[...gi(e,t),!n.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),C({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&:after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${Zr.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${Zr.error}`]:{"&:before, &:after":{borderBottomColor:(e.vars||e).palette.error.main}},"&:before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${Zr.disabled}, .${Zr.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${Zr.disabled}:before`]:{borderBottomStyle:"dotted"}})}),P0=pe(Ei,{name:"MuiInput",slot:"Input",overridesResolver:bi})({}),Qa=E.forwardRef(function(t,n){var r,i,a,s;const l=Ae({props:t,name:"MuiInput"}),{disableUnderline:u,components:d={},componentsProps:f,fullWidth:c=!1,inputComponent:p="input",multiline:v=!1,slotProps:g,slots:m={},type:h="text"}=l,y=ye(l,$0),O=_0(l),T={root:{ownerState:{disableUnderline:u}}},b=g??f?$t(g??f,T):T,$=(r=(i=m.root)!=null?i:d.Root)!=null?r:R0,S=(a=(s=m.input)!=null?s:d.Input)!=null?a:P0;return W(Ti,C({slots:{root:$,input:S},slotProps:b,fullWidth:c,inputComponent:p,multiline:v,ref:n,type:h},y,{classes:O}))});process.env.NODE_ENV!=="production"&&(Qa.propTypes={autoComplete:o.string,autoFocus:o.bool,classes:o.object,color:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),componentsProps:o.shape({input:o.object,root:o.object}),defaultValue:o.any,disabled:o.bool,disableUnderline:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,id:o.string,inputComponent:o.elementType,inputProps:o.object,inputRef:jt,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,onChange:o.func,placeholder:o.string,readOnly:o.bool,required:o.bool,rows:o.oneOfType([o.number,o.string]),slotProps:o.shape({input:o.object,root:o.object}),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any}),Qa.muiName="Input";const N0=Qa;function I0(e){return $e("MuiInputLabel",e)}_e("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const A0=["disableAnimation","margin","shrink","variant","className"],M0=e=>{const{classes:t,formControl:n,size:r,shrink:i,disableAnimation:a,variant:s,required:l}=e,d=Ie({root:["root",n&&"formControl",!a&&"animated",i&&"shrink",r==="small"&&"sizeSmall",s],asterisk:[l&&"asterisk"]},I0,t);return C({},t,d)},k0=pe(C0,{shouldForwardProp:e=>Gt(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Qr.asterisk}`]:t.asterisk},t.root,n.formControl&&t.formControl,n.size==="small"&&t.sizeSmall,n.shrink&&t.shrink,!n.disableAnimation&&t.animated,t[n.variant]]}})(({theme:e,ownerState:t})=>C({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},t.size==="small"&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},t.variant==="filled"&&C({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&C({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},t.size==="small"&&{transform:"translate(12px, 4px) scale(0.75)"})),t.variant==="outlined"&&C({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},t.size==="small"&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 24px)",transform:"translate(14px, -9px) scale(0.75)"}))),ju=E.forwardRef(function(t,n){const r=Ae({name:"MuiInputLabel",props:t}),{disableAnimation:i=!1,shrink:a,className:s}=r,l=ye(r,A0),u=fr();let d=a;typeof d>"u"&&u&&(d=u.filled||u.focused||u.adornedStart);const f=dr({props:r,muiFormControl:u,states:["size","variant","required"]}),c=C({},r,{disableAnimation:i,formControl:u,shrink:d,size:f.size,variant:f.variant,required:f.required}),p=M0(c);return W(k0,C({"data-shrink":d,ownerState:c,ref:n,className:ve(p.root,s)},l,{classes:p}))});process.env.NODE_ENV!=="production"&&(ju.propTypes={children:o.node,classes:o.object,className:o.string,color:o.oneOfType([o.oneOf(["error","info","primary","secondary","success","warning"]),o.string]),disableAnimation:o.bool,disabled:o.bool,error:o.bool,focused:o.bool,margin:o.oneOf(["dense"]),required:o.bool,shrink:o.bool,size:o.oneOfType([o.oneOf(["normal","small"]),o.string]),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOf(["filled","outlined","standard"])});const j0=ju,Du=E.createContext({});process.env.NODE_ENV!=="production"&&(Du.displayName="ListContext");const Kt=Du;function D0(e){return $e("MuiList",e)}_e("MuiList",["root","padding","dense","subheader"]);const F0=["children","className","component","dense","disablePadding","subheader"],L0=e=>{const{classes:t,disablePadding:n,dense:r,subheader:i}=e;return Ie({root:["root",!n&&"padding",r&&"dense",i&&"subheader"]},D0,t)},V0=pe("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})(({ownerState:e})=>C({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),Fu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiList"}),{children:i,className:a,component:s="ul",dense:l=!1,disablePadding:u=!1,subheader:d}=r,f=ye(r,F0),c=E.useMemo(()=>({dense:l}),[l]),p=C({},r,{component:s,dense:l,disablePadding:u}),v=L0(p);return W(Kt.Provider,{value:c,children:Ye(V0,C({as:s,className:ve(v.root,a),ref:n,ownerState:p},f,{children:[d,i]}))})});process.env.NODE_ENV!=="production"&&(Fu.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,dense:o.bool,disablePadding:o.bool,subheader:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const Lu=Fu;function B0(e){return $e("MuiListItem",e)}const hr=_e("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function U0(e){return $e("MuiListItemButton",e)}const mr=_e("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),z0=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],W0=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]},H0=e=>{const{alignItems:t,classes:n,dense:r,disabled:i,disableGutters:a,divider:s,selected:l}=e,d=Ie({root:["root",r&&"dense",!a&&"gutters",s&&"divider",i&&"disabled",t==="flex-start"&&"alignItemsFlexStart",l&&"selected"]},U0,n);return C({},n,d)},q0=pe(Jr,{shouldForwardProp:e=>Gt(e)||e==="classes",name:"MuiListItemButton",slot:"Root",overridesResolver:W0})(({theme:e,ownerState:t})=>C({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${mr.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:lt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${mr.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:lt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${mr.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:lt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:lt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${mr.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${mr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.alignItems==="flex-start"&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})),Vu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiListItemButton"}),{alignItems:i="center",autoFocus:a=!1,component:s="div",children:l,dense:u=!1,disableGutters:d=!1,divider:f=!1,focusVisibleClassName:c,selected:p=!1,className:v}=r,g=ye(r,z0),m=E.useContext(Kt),h=E.useMemo(()=>({dense:u||m.dense||!1,alignItems:i,disableGutters:d}),[i,m.dense,u,d]),y=E.useRef(null);_t(()=>{a&&(y.current?y.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a ListItemButton whose component has not been rendered."))},[a]);const O=C({},r,{alignItems:i,dense:h.dense,disableGutters:d,divider:f,selected:p}),x=H0(O),T=it(y,n);return W(Kt.Provider,{value:h,children:W(q0,C({ref:T,href:g.href||g.to,component:(g.href||g.to)&&s==="div"?"a":s,focusVisibleClassName:ve(x.focusVisible,c),ownerState:O,className:ve(x.root,v)},g,{classes:x,children:l}))})});process.env.NODE_ENV!=="production"&&(Vu.propTypes={alignItems:o.oneOf(["center","flex-start"]),autoFocus:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,dense:o.bool,disabled:o.bool,disableGutters:o.bool,divider:o.bool,focusVisibleClassName:o.string,href:o.string,selected:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const G0=Vu;function Y0(e){return $e("MuiListItemSecondaryAction",e)}_e("MuiListItemSecondaryAction",["root","disableGutters"]);const K0=["className"],X0=e=>{const{disableGutters:t,classes:n}=e;return Ie({root:["root",t&&"disableGutters"]},Y0,n)},J0=pe("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>C({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),es=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiListItemSecondaryAction"}),{className:i}=r,a=ye(r,K0),s=E.useContext(Kt),l=C({},r,{disableGutters:s.disableGutters}),u=X0(l);return W(J0,C({className:ve(u.root,i),ownerState:l,ref:n},a))});process.env.NODE_ENV!=="production"&&(es.propTypes={children:o.node,classes:o.object,className:o.string,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])}),es.muiName="ListItemSecondaryAction";const Bu=es,Z0=["className"],Q0=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],eE=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.alignItems==="flex-start"&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]},tE=e=>{const{alignItems:t,button:n,classes:r,dense:i,disabled:a,disableGutters:s,disablePadding:l,divider:u,hasSecondaryAction:d,selected:f}=e;return Ie({root:["root",i&&"dense",!s&&"gutters",!l&&"padding",u&&"divider",a&&"disabled",n&&"button",t==="flex-start"&&"alignItemsFlexStart",d&&"secondaryAction",f&&"selected"],container:["container"]},B0,r)},nE=pe("div",{name:"MuiListItem",slot:"Root",overridesResolver:eE})(({theme:e,ownerState:t})=>C({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&C({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${mr.root}`]:{paddingRight:48}},{[`&.${hr.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${hr.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:lt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${hr.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:lt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${hr.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.alignItems==="flex-start"&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${hr.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:lt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:lt(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),rE=pe("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Uu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiListItem"}),{alignItems:i="center",autoFocus:a=!1,button:s=!1,children:l,className:u,component:d,components:f={},componentsProps:c={},ContainerComponent:p="li",ContainerProps:{className:v}={},dense:g=!1,disabled:m=!1,disableGutters:h=!1,disablePadding:y=!1,divider:O=!1,focusVisibleClassName:x,secondaryAction:T,selected:b=!1,slotProps:$={},slots:S={}}=r,P=ye(r.ContainerProps,Z0),N=ye(r,Q0),A=E.useContext(Kt),j=E.useMemo(()=>({dense:g||A.dense||!1,alignItems:i,disableGutters:h}),[i,A.dense,g,h]),K=E.useRef(null);_t(()=>{a&&(K.current?K.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a ListItem whose component has not been rendered."))},[a]);const G=E.Children.toArray(l),D=G.length&&er(G[G.length-1],["ListItemSecondaryAction"]),z=C({},r,{alignItems:i,autoFocus:a,button:s,dense:j.dense,disabled:m,disableGutters:h,disablePadding:y,divider:O,hasSecondaryAction:D,selected:b}),F=tE(z),ie=it(K,n),ae=S.root||f.Root||nE,le=$.root||c.root||{},_=C({className:ve(F.root,le.className,u),disabled:m},N);let M=d||"li";return s&&(_.component=d||"div",_.focusVisibleClassName=ve(hr.focusVisible,x),M=Jr),D?(M=!_.component&&!d?"div":M,p==="li"&&(M==="li"?M="div":_.component==="li"&&(_.component="div")),W(Kt.Provider,{value:j,children:Ye(rE,C({as:p,className:ve(F.container,v),ref:ie,ownerState:z},P,{children:[W(ae,C({},le,!rr(ae)&&{as:M,ownerState:C({},z,le.ownerState)},_,{children:G})),G.pop()]}))})):W(Kt.Provider,{value:j,children:Ye(ae,C({},le,{as:M,ref:ie},!rr(ae)&&{ownerState:C({},z,le.ownerState)},_,{children:[G,T&&W(Bu,{children:T})]}))})});process.env.NODE_ENV!=="production"&&(Uu.propTypes={alignItems:o.oneOf(["center","flex-start"]),autoFocus:o.bool,button:o.bool,children:yn(o.node,e=>{const t=E.Children.toArray(e.children);let n=-1;for(let r=t.length-1;r>=0;r-=1){const i=t[r];if(er(i,["ListItemSecondaryAction"])){n=r;break}}return n!==-1&&n!==t.length-1?new Error("MUI: You used an element after ListItemSecondaryAction. For ListItem to detect that it has a secondary action you must pass it as the last child to ListItem."):null}),classes:o.object,className:o.string,component:o.elementType,components:o.shape({Root:o.elementType}),componentsProps:o.shape({root:o.object}),ContainerComponent:Io,ContainerProps:o.object,dense:o.bool,disabled:o.bool,disableGutters:o.bool,disablePadding:o.bool,divider:o.bool,focusVisibleClassName:o.string,secondaryAction:o.node,selected:o.bool,slotProps:o.shape({root:o.object}),slots:o.shape({root:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const oE=Uu,zu=_e("MuiListItemIcon",["root","alignItemsFlexStart"]);function iE(e){return $e("MuiListItemText",e)}const xi=_e("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),aE=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],sE=e=>{const{classes:t,inset:n,primary:r,secondary:i,dense:a}=e;return Ie({root:["root",n&&"inset",a&&"dense",r&&i&&"multiline"],primary:["primary"],secondary:["secondary"]},iE,t)},lE=pe("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${xi.primary}`]:t.primary},{[`& .${xi.secondary}`]:t.secondary},t.root,n.inset&&t.inset,n.primary&&n.secondary&&t.multiline,n.dense&&t.dense]}})(({ownerState:e})=>C({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),Wu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiListItemText"}),{children:i,className:a,disableTypography:s=!1,inset:l=!1,primary:u,primaryTypographyProps:d,secondary:f,secondaryTypographyProps:c}=r,p=ye(r,aE),{dense:v}=E.useContext(Kt);let g=u??i,m=f;const h=C({},r,{disableTypography:s,inset:l,primary:!!g,secondary:!!m,dense:v}),y=sE(h);return g!=null&&g.type!==un&&!s&&(g=W(un,C({variant:v?"body2":"body1",className:y.primary,component:d!=null&&d.variant?void 0:"span",display:"block"},d,{children:g}))),m!=null&&m.type!==un&&!s&&(m=W(un,C({variant:"body2",className:y.secondary,color:"text.secondary",display:"block"},c,{children:m}))),Ye(lE,C({className:ve(y.root,a),ownerState:h,ref:n},p,{children:[g,m]}))});process.env.NODE_ENV!=="production"&&(Wu.propTypes={children:o.node,classes:o.object,className:o.string,disableTypography:o.bool,inset:o.bool,primary:o.node,primaryTypographyProps:o.object,secondary:o.node,secondaryTypographyProps:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const cE=Wu,uE=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function ts(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Hu(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function qu(e,t){if(t===void 0)return!0;let n=e.innerText;return n===void 0&&(n=e.textContent),n=n.trim().toLowerCase(),n.length===0?!1:t.repeating?n[0]===t.keys[0]:n.indexOf(t.keys.join(""))===0}function eo(e,t,n,r,i,a){let s=!1,l=i(e,t,t?n:!1);for(;l;){if(l===e.firstChild){if(s)return!1;s=!0}const u=r?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!qu(l,a)||u)l=i(e,l,n);else return l.focus(),!0}return!1}const Gu=E.forwardRef(function(t,n){const{actions:r,autoFocus:i=!1,autoFocusItem:a=!1,children:s,className:l,disabledItemsFocusable:u=!1,disableListWrap:d=!1,onKeyDown:f,variant:c="selectedMenu"}=t,p=ye(t,uE),v=E.useRef(null),g=E.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});_t(()=>{i&&v.current.focus()},[i]),E.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(x,T)=>{const b=!v.current.style.width;if(x.clientHeight<v.current.clientHeight&&b){const $=`${Hl(pt(x))}px`;v.current.style[T.direction==="rtl"?"paddingLeft":"paddingRight"]=$,v.current.style.width=`calc(100% + ${$})`}return v.current}}),[]);const m=x=>{const T=v.current,b=x.key,$=pt(T).activeElement;if(b==="ArrowDown")x.preventDefault(),eo(T,$,d,u,ts);else if(b==="ArrowUp")x.preventDefault(),eo(T,$,d,u,Hu);else if(b==="Home")x.preventDefault(),eo(T,null,d,u,ts);else if(b==="End")x.preventDefault(),eo(T,null,d,u,Hu);else if(b.length===1){const S=g.current,P=b.toLowerCase(),N=performance.now();S.keys.length>0&&(N-S.lastTime>500?(S.keys=[],S.repeating=!0,S.previousKeyMatched=!0):S.repeating&&P!==S.keys[0]&&(S.repeating=!1)),S.lastTime=N,S.keys.push(P);const A=$&&!S.repeating&&qu($,S);S.previousKeyMatched&&(A||eo(T,$,!1,u,ts,S))?x.preventDefault():S.previousKeyMatched=!1}f&&f(x)},h=it(v,n);let y=-1;E.Children.forEach(s,(x,T)=>{E.isValidElement(x)&&(process.env.NODE_ENV!=="production"&&lr.isFragment(x)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
212
|
+
`)),x.props.disabled||(c==="selectedMenu"&&x.props.selected||y===-1)&&(y=T))});const O=E.Children.map(s,(x,T)=>{if(T===y){const b={};return a&&(b.autoFocus=!0),x.props.tabIndex===void 0&&c==="selectedMenu"&&(b.tabIndex=0),E.cloneElement(x,b)}return x});return W(Lu,C({role:"menu",ref:h,className:l,onKeyDown:m,tabIndex:i?0:-1},p,{children:O}))});process.env.NODE_ENV!=="production"&&(Gu.propTypes={autoFocus:o.bool,autoFocusItem:o.bool,children:o.node,className:o.string,disabledItemsFocusable:o.bool,disableListWrap:o.bool,onKeyDown:o.func,variant:o.oneOf(["menu","selectedMenu"])});const dE=Gu;function fE(e){return $e("MuiPopover",e)}_e("MuiPopover",["root","paper"]);const pE=["onEntering"],hE=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"];function Yu(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Ku(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Xu(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Oi(e){return typeof e=="function"?e():e}const mE=e=>{const{classes:t}=e;return Ie({root:["root"],paper:["paper"]},fE,t)},vE=pe(Jy,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),gE=pe(pi,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),Ju=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiPopover"}),{action:i,anchorEl:a,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:l,anchorReference:u="anchorEl",children:d,className:f,container:c,elevation:p=8,marginThreshold:v=16,open:g,PaperProps:m={},transformOrigin:h={vertical:"top",horizontal:"left"},TransitionComponent:y=Za,transitionDuration:O="auto",TransitionProps:{onEntering:x}={}}=r,T=ye(r.TransitionProps,pE),b=ye(r,hE),$=E.useRef(),S=it($,m.ref),P=C({},r,{anchorOrigin:s,anchorReference:u,elevation:p,marginThreshold:v,PaperProps:m,transformOrigin:h,TransitionComponent:y,transitionDuration:O,TransitionProps:T}),N=mE(P),A=E.useCallback(()=>{if(u==="anchorPosition")return process.env.NODE_ENV!=="production"&&(l||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),l;const _=Oi(a),M=_&&_.nodeType===1?_:pt($.current).body,J=M.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const ne=M.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ne.top===0&&ne.left===0&&ne.right===0&&ne.bottom===0&&console.warn(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
213
|
+
`))}return{top:J.top+Yu(J,s.vertical),left:J.left+Ku(J,s.horizontal)}},[a,s.horizontal,s.vertical,l,u]),j=E.useCallback(_=>({vertical:Yu(_,h.vertical),horizontal:Ku(_,h.horizontal)}),[h.horizontal,h.vertical]),K=E.useCallback(_=>{const M={width:_.offsetWidth,height:_.offsetHeight},J=j(M);if(u==="none")return{top:null,left:null,transformOrigin:Xu(J)};const ne=A();let Y=ne.top-J.vertical,re=ne.left-J.horizontal;const Z=Y+M.height,ue=re+M.width,ee=Ht(Oi(a)),X=ee.innerHeight-v,ce=ee.innerWidth-v;if(Y<v){const Q=Y-v;Y-=Q,J.vertical+=Q}else if(Z>X){const Q=Z-X;Y-=Q,J.vertical+=Q}if(process.env.NODE_ENV!=="production"&&M.height>X&&M.height&&X&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${M.height-X}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
214
|
+
`)),re<v){const Q=re-v;re-=Q,J.horizontal+=Q}else if(ue>ce){const Q=ue-ce;re-=Q,J.horizontal+=Q}return{top:`${Math.round(Y)}px`,left:`${Math.round(re)}px`,transformOrigin:Xu(J)}},[a,u,A,j,v]),[G,D]=E.useState(g),z=E.useCallback(()=>{const _=$.current;if(!_)return;const M=K(_);M.top!==null&&(_.style.top=M.top),M.left!==null&&(_.style.left=M.left),_.style.transformOrigin=M.transformOrigin,D(!0)},[K]),F=(_,M)=>{x&&x(_,M),z()},ie=()=>{D(!1)};E.useEffect(()=>{g&&z()}),E.useImperativeHandle(i,()=>g?{updatePosition:()=>{z()}}:null,[g,z]),E.useEffect(()=>{if(!g)return;const _=Qn(()=>{z()}),M=Ht(a);return M.addEventListener("resize",_),()=>{_.clear(),M.removeEventListener("resize",_)}},[a,g,z]);let ae=O;O==="auto"&&!y.muiSupportAuto&&(ae=void 0);const le=c||(a?pt(Oi(a)).body:void 0);return W(vE,C({BackdropProps:{invisible:!0},className:ve(N.root,f),container:le,open:g,ref:n,ownerState:P},b,{children:W(y,C({appear:!0,in:g,onEntering:F,onExited:ie,timeout:ae},T,{children:W(gE,C({elevation:p},m,{ref:S,className:ve(N.paper,m.className)},G?void 0:{style:C({},m.style,{opacity:0})},{ownerState:P,children:d}))}))}))});process.env.NODE_ENV!=="production"&&(Ju.propTypes={action:jt,anchorEl:yn(o.oneOfType([Wt,o.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=Oi(e.anchorEl);if(t&&t.nodeType===1){const n=t.getBoundingClientRect();if(process.env.NODE_ENV!=="test"&&n.top===0&&n.left===0&&n.right===0&&n.bottom===0)return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.","The anchor element should be part of the document layout.","Make sure the element is present in the document or that it's not display none."].join(`
|
|
215
|
+
`))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element instance but it's \`${t}\` instead.`].join(`
|
|
216
|
+
`))}return null}),anchorOrigin:o.shape({horizontal:o.oneOfType([o.oneOf(["center","left","right"]),o.number]).isRequired,vertical:o.oneOfType([o.oneOf(["bottom","center","top"]),o.number]).isRequired}),anchorPosition:o.shape({left:o.number.isRequired,top:o.number.isRequired}),anchorReference:o.oneOf(["anchorEl","anchorPosition","none"]),children:o.node,classes:o.object,className:o.string,container:o.oneOfType([Wt,o.func]),elevation:Xl,marginThreshold:o.number,onClose:o.func,open:o.bool.isRequired,PaperProps:o.shape({component:Io}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transformOrigin:o.shape({horizontal:o.oneOfType([o.oneOf(["center","left","right"]),o.number]).isRequired,vertical:o.oneOfType([o.oneOf(["bottom","center","top"]),o.number]).isRequired}),TransitionComponent:o.elementType,transitionDuration:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})]),TransitionProps:o.object});const bE=Ju;function yE(e){return $e("MuiMenu",e)}_e("MuiMenu",["root","paper","list"]);const EE=["onEntering"],TE=["autoFocus","children","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant"],xE={vertical:"top",horizontal:"right"},OE={vertical:"top",horizontal:"left"},CE=e=>{const{classes:t}=e;return Ie({root:["root"],paper:["paper"],list:["list"]},yE,t)},wE=pe(bE,{shouldForwardProp:e=>Gt(e)||e==="classes",name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),SE=pe(pi,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),$E=pe(dE,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Zu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiMenu"}),{autoFocus:i=!0,children:a,disableAutoFocusItem:s=!1,MenuListProps:l={},onClose:u,open:d,PaperProps:f={},PopoverClasses:c,transitionDuration:p="auto",TransitionProps:{onEntering:v}={},variant:g="selectedMenu"}=r,m=ye(r.TransitionProps,EE),h=ye(r,TE),y=xn(),O=y.direction==="rtl",x=C({},r,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:l,onEntering:v,PaperProps:f,transitionDuration:p,TransitionProps:m,variant:g}),T=CE(x),b=i&&!s&&d,$=E.useRef(null),S=(A,j)=>{$.current&&$.current.adjustStyleForScrollbar(A,y),v&&v(A,j)},P=A=>{A.key==="Tab"&&(A.preventDefault(),u&&u(A,"tabKeyDown"))};let N=-1;return E.Children.map(a,(A,j)=>{E.isValidElement(A)&&(process.env.NODE_ENV!=="production"&&lr.isFragment(A)&&console.error(["MUI: The Menu component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
217
|
+
`)),A.props.disabled||(g==="selectedMenu"&&A.props.selected||N===-1)&&(N=j))}),W(wE,C({onClose:u,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?xE:OE,PaperProps:C({component:SE},f,{classes:C({},f.classes,{root:T.paper})}),className:T.root,open:d,ref:n,transitionDuration:p,TransitionProps:C({onEntering:S},m),ownerState:x},h,{classes:c,children:W($E,C({onKeyDown:P,actions:$,autoFocus:i&&(N===-1||s),autoFocusItem:b,variant:g},l,{className:ve(T.list,l.className),children:a}))}))});process.env.NODE_ENV!=="production"&&(Zu.propTypes={anchorEl:o.oneOfType([Wt,o.func]),autoFocus:o.bool,children:o.node,classes:o.object,disableAutoFocusItem:o.bool,MenuListProps:o.object,onClose:o.func,open:o.bool.isRequired,PaperProps:o.object,PopoverClasses:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),transitionDuration:o.oneOfType([o.oneOf(["auto"]),o.number,o.shape({appear:o.number,enter:o.number,exit:o.number})]),TransitionProps:o.object,variant:o.oneOf(["menu","selectedMenu"])});const _E=Zu;function RE(e){return $e("MuiMenuItem",e)}const to=_e("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),PE=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],NE=(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]},IE=e=>{const{disabled:t,dense:n,divider:r,disableGutters:i,selected:a,classes:s}=e,u=Ie({root:["root",n&&"dense",t&&"disabled",!i&&"gutters",r&&"divider",a&&"selected"]},RE,s);return C({},s,u)},AE=pe(Jr,{shouldForwardProp:e=>Gt(e)||e==="classes",name:"MuiMenuItem",slot:"Root",overridesResolver:NE})(({theme:e,ownerState:t})=>C({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${to.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:lt(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${to.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:lt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${to.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:lt(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:lt(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${to.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${to.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Ru.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Ru.inset}`]:{marginLeft:52},[`& .${xi.root}`]:{marginTop:0,marginBottom:0},[`& .${xi.inset}`]:{paddingLeft:36},[`& .${zu.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&C({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${zu.root} svg`]:{fontSize:"1.25rem"}}))),Qu=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiMenuItem"}),{autoFocus:i=!1,component:a="li",dense:s=!1,divider:l=!1,disableGutters:u=!1,focusVisibleClassName:d,role:f="menuitem",tabIndex:c,className:p}=r,v=ye(r,PE),g=E.useContext(Kt),m=E.useMemo(()=>({dense:s||g.dense||!1,disableGutters:u}),[g.dense,s,u]),h=E.useRef(null);_t(()=>{i&&(h.current?h.current.focus():process.env.NODE_ENV!=="production"&&console.error("MUI: Unable to set focus to a MenuItem whose component has not been rendered."))},[i]);const y=C({},r,{dense:m.dense,divider:l,disableGutters:u}),O=IE(r),x=it(h,n);let T;return r.disabled||(T=c!==void 0?c:-1),W(Kt.Provider,{value:m,children:W(AE,C({ref:x,role:f,tabIndex:T,component:a,focusVisibleClassName:ve(O.focusVisible,d),className:ve(O.root,p)},v,{ownerState:y,classes:O}))})});process.env.NODE_ENV!=="production"&&(Qu.propTypes={autoFocus:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,dense:o.bool,disabled:o.bool,disableGutters:o.bool,divider:o.bool,focusVisibleClassName:o.string,role:o.string,selected:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),tabIndex:o.number});const ed=Qu;function ME(e){return $e("MuiNativeSelect",e)}const ns=_e("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]),kE=["className","disabled","IconComponent","inputRef","variant"],jE=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:a}=e,s={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${ke(n)}`,a&&"iconOpen",r&&"disabled"]};return Ie(s,ME,t)},td=({ownerState:e,theme:t})=>C({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":C({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:t.palette.mode==="light"?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${ns.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},e.variant==="filled"&&{"&&&":{paddingRight:32}},e.variant==="outlined"&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),DE=pe("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Gt,overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.select,t[n.variant],{[`&.${ns.multiple}`]:t.multiple}]}})(td),nd=({ownerState:e,theme:t})=>C({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${ns.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},e.variant==="filled"&&{right:7},e.variant==="outlined"&&{right:7}),FE=pe("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ke(n.variant)}`],n.open&&t.iconOpen]}})(nd),rd=E.forwardRef(function(t,n){const{className:r,disabled:i,IconComponent:a,inputRef:s,variant:l="standard"}=t,u=ye(t,kE),d=C({},t,{disabled:i,variant:l}),f=jE(d);return Ye(E.Fragment,{children:[W(DE,C({ownerState:d,className:ve(f.select,r),disabled:i,ref:s||n},u)),t.multiple?null:W(FE,{as:a,ownerState:d,className:f.icon})]})});process.env.NODE_ENV!=="production"&&(rd.propTypes={children:o.node,classes:o.object,className:o.string,disabled:o.bool,IconComponent:o.elementType.isRequired,inputRef:jt,multiple:o.bool,name:o.string,onChange:o.func,value:o.any,variant:o.oneOf(["standard","outlined","filled"])});const LE=rd;var od;const VE=["children","classes","className","label","notched"],BE=pe("fieldset")({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),UE=pe("legend")(({ownerState:e,theme:t})=>C({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&C({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function id(e){const{className:t,label:n,notched:r}=e,i=ye(e,VE),a=n!=null&&n!=="",s=C({},e,{notched:r,withLabel:a});return W(BE,C({"aria-hidden":!0,className:t,ownerState:s},i,{children:W(UE,{ownerState:s,children:a?W("span",{children:n}):od||(od=W("span",{className:"notranslate",children:""}))})}))}process.env.NODE_ENV!=="production"&&(id.propTypes={children:o.node,classes:o.object,className:o.string,label:o.node,notched:o.bool.isRequired,style:o.object});const zE=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],WE=e=>{const{classes:t}=e,r=Ie({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},My,t);return C({},t,r)},HE=pe(yi,{shouldForwardProp:e=>Gt(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:gi})(({theme:e,ownerState:t})=>{const n=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return C({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${dn.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${dn.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:n}},[`&.${dn.focused} .${dn.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${dn.error} .${dn.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${dn.disabled} .${dn.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&C({padding:"16.5px 14px"},t.size==="small"&&{padding:"8.5px 14px"}))}),qE=pe(id,{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),GE=pe(Ei,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:bi})(({theme:e,ownerState:t})=>C({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},t.size==="small"&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),rs=E.forwardRef(function(t,n){var r,i,a,s,l;const u=Ae({props:t,name:"MuiOutlinedInput"}),{components:d={},fullWidth:f=!1,inputComponent:c="input",label:p,multiline:v=!1,notched:g,slots:m={},type:h="text"}=u,y=ye(u,zE),O=WE(u),x=fr(),T=dr({props:u,muiFormControl:x,states:["required"]}),b=C({},u,{color:T.color||"primary",disabled:T.disabled,error:T.error,focused:T.focused,formControl:x,fullWidth:f,hiddenLabel:T.hiddenLabel,multiline:v,size:T.size,type:h}),$=(r=(i=m.root)!=null?i:d.Root)!=null?r:HE,S=(a=(s=m.input)!=null?s:d.Input)!=null?a:GE;return W(Ti,C({slots:{root:$,input:S},renderSuffix:P=>W(qE,{ownerState:b,className:O.notchedOutline,label:p!=null&&p!==""&&T.required?l||(l=Ye(E.Fragment,{children:[p," ","*"]})):p,notched:typeof g<"u"?g:Boolean(P.startAdornment||P.filled||P.focused)}),fullWidth:f,inputComponent:c,multiline:v,ref:n,type:h},y,{classes:C({},O,{notchedOutline:null})}))});process.env.NODE_ENV!=="production"&&(rs.propTypes={autoComplete:o.string,autoFocus:o.bool,classes:o.object,color:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),components:o.shape({Input:o.elementType,Root:o.elementType}),defaultValue:o.any,disabled:o.bool,endAdornment:o.node,error:o.bool,fullWidth:o.bool,id:o.string,inputComponent:o.elementType,inputProps:o.object,inputRef:jt,label:o.node,margin:o.oneOf(["dense","none"]),maxRows:o.oneOfType([o.number,o.string]),minRows:o.oneOfType([o.number,o.string]),multiline:o.bool,name:o.string,notched:o.bool,onChange:o.func,placeholder:o.string,readOnly:o.bool,required:o.bool,rows:o.oneOfType([o.number,o.string]),slots:o.shape({input:o.elementType,root:o.elementType}),startAdornment:o.node,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),type:o.string,value:o.any}),rs.muiName="Input";const YE=rs;function KE(e){return $e("MuiSelect",e)}const Ci=_e("MuiSelect",["select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput"]);var ad;const XE=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],JE=pe("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`&.${Ci.select}`]:t.select},{[`&.${Ci.select}`]:t[n.variant]},{[`&.${Ci.multiple}`]:t.multiple}]}})(td,{[`&.${Ci.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),ZE=pe("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.icon,n.variant&&t[`icon${ke(n.variant)}`],n.open&&t.iconOpen]}})(nd),QE=pe("input",{shouldForwardProp:e=>Hv(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function sd(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function eT(e){return e==null||typeof e=="string"&&!e.trim()}const tT=e=>{const{classes:t,variant:n,disabled:r,multiple:i,open:a}=e,s={select:["select",n,r&&"disabled",i&&"multiple"],icon:["icon",`icon${ke(n)}`,a&&"iconOpen",r&&"disabled"],nativeInput:["nativeInput"]};return Ie(s,KE,t)},ld=E.forwardRef(function(t,n){const{"aria-describedby":r,"aria-label":i,autoFocus:a,autoWidth:s,children:l,className:u,defaultOpen:d,defaultValue:f,disabled:c,displayEmpty:p,IconComponent:v,inputRef:g,labelId:m,MenuProps:h={},multiple:y,name:O,onBlur:x,onChange:T,onClose:b,onFocus:$,onOpen:S,open:P,readOnly:N,renderValue:A,SelectDisplayProps:j={},tabIndex:K,value:G,variant:D="standard"}=t,z=ye(t,XE),[F,ie]=jo({controlled:G,default:f,name:"Select"}),[ae,le]=jo({controlled:P,default:d,name:"Select"}),_=E.useRef(null),M=E.useRef(null),[J,ne]=E.useState(null),{current:Y}=E.useRef(P!=null),[re,Z]=E.useState(),ue=it(n,g),ee=E.useCallback(U=>{M.current=U,U&&ne(U)},[]),X=J==null?void 0:J.parentNode;E.useImperativeHandle(ue,()=>({focus:()=>{M.current.focus()},node:_.current,value:F}),[F]),E.useEffect(()=>{d&&ae&&J&&!Y&&(Z(s?null:X.clientWidth),M.current.focus())},[J,s]),E.useEffect(()=>{a&&M.current.focus()},[a]),E.useEffect(()=>{if(!m)return;const U=pt(M.current).getElementById(m);if(U){const de=()=>{getSelection().isCollapsed&&M.current.focus()};return U.addEventListener("click",de),()=>{U.removeEventListener("click",de)}}},[m]);const ce=(U,de)=>{U?S&&S(de):b&&b(de),Y||(Z(s?null:X.clientWidth),le(U))},Q=U=>{U.button===0&&(U.preventDefault(),M.current.focus(),ce(!0,U))},B=U=>{ce(!1,U)},Ee=E.Children.toArray(l),k=U=>{const de=Ee.map(Pe=>Pe.props.value).indexOf(U.target.value);if(de===-1)return;const be=Ee[de];ie(be.props.value),T&&T(U,be)},we=U=>de=>{let be;if(de.currentTarget.hasAttribute("tabindex")){if(y){be=Array.isArray(F)?F.slice():[];const Pe=F.indexOf(U.props.value);Pe===-1?be.push(U.props.value):be.splice(Pe,1)}else be=U.props.value;if(U.props.onClick&&U.props.onClick(de),F!==be&&(ie(be),T)){const Pe=de.nativeEvent||de,st=new Pe.constructor(Pe.type,Pe);Object.defineProperty(st,"target",{writable:!0,value:{value:be,name:O}}),T(st,U)}y||ce(!1,de)}},je=U=>{N||[" ","ArrowUp","ArrowDown","Enter"].indexOf(U.key)!==-1&&(U.preventDefault(),ce(!0,U))},Te=J!==null&&ae,Re=U=>{!Te&&x&&(Object.defineProperty(U,"target",{writable:!0,value:{value:F,name:O}}),x(U))};delete z["aria-invalid"];let ot,R;const V=[];let te=!1,oe=!1;(Ga({value:F})||p)&&(A?ot=A(F):te=!0);const fe=Ee.map((U,de,be)=>{var Pe,st,ut,tn;if(!E.isValidElement(U))return null;process.env.NODE_ENV!=="production"&&lr.isFragment(U)&&console.error(["MUI: The Select component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
218
|
+
`));let bt;if(y){if(!Array.isArray(F))throw new Error(process.env.NODE_ENV!=="production"?"MUI: The `value` prop must be an array when using the `Select` component with `multiple`.":on(2));bt=F.some(Vt=>sd(Vt,U.props.value)),bt&&te&&V.push(U.props.children)}else bt=sd(F,U.props.value),bt&&te&&(R=U.props.children);if(bt&&(oe=!0),U.props.value===void 0)return E.cloneElement(U,{"aria-readonly":!0,role:"option"});const Or=()=>{if(F)return bt;const Vt=be.find(gn=>{var Ln;return(gn==null||(Ln=gn.props)==null?void 0:Ln.value)!==void 0&&gn.props.disabled!==!0});return U===Vt?!0:bt};return E.cloneElement(U,{"aria-selected":bt?"true":"false",onClick:we(U),onKeyUp:Vt=>{Vt.key===" "&&Vt.preventDefault(),U.props.onKeyUp&&U.props.onKeyUp(Vt)},role:"option",selected:((Pe=be[0])==null||(st=Pe.props)==null?void 0:st.value)===void 0||((ut=be[0])==null||(tn=ut.props)==null?void 0:tn.disabled)===!0?Or():bt,value:void 0,"data-value":U.props.value})});process.env.NODE_ENV!=="production"&&E.useEffect(()=>{if(!oe&&!y&&F!==""){const U=Ee.map(de=>de.props.value);console.warn([`MUI: You have provided an out-of-range value \`${F}\` for the select ${O?`(name="${O}") `:""}component.`,"Consider providing a value that matches one of the available options or ''.",`The available values are ${U.filter(de=>de!=null).map(de=>`\`${de}\``).join(", ")||'""'}.`].join(`
|
|
219
|
+
`))}},[oe,Ee,y,O,F]),te&&(y?V.length===0?ot=null:ot=V.reduce((U,de,be)=>(U.push(de),be<V.length-1&&U.push(", "),U),[]):ot=R);let he=re;!s&&Y&&J&&(he=X.clientWidth);let Se;typeof K<"u"?Se=K:Se=c?null:0;const He=j.id||(O?`mui-component-select-${O}`:void 0),H=C({},t,{variant:D,value:F,open:Te}),L=tT(H);return Ye(E.Fragment,{children:[W(JE,C({ref:ee,tabIndex:Se,role:"button","aria-disabled":c?"true":void 0,"aria-expanded":Te?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[m,He].filter(Boolean).join(" ")||void 0,"aria-describedby":r,onKeyDown:je,onMouseDown:c||N?null:Q,onBlur:Re,onFocus:$},j,{ownerState:H,className:ve(j.className,L.select,u),id:He,children:eT(ot)?ad||(ad=W("span",{className:"notranslate",children:""})):ot})),W(QE,C({value:Array.isArray(F)?F.join(","):F,name:O,ref:_,"aria-hidden":!0,onChange:k,tabIndex:-1,disabled:c,className:L.nativeInput,autoFocus:a,ownerState:H},z)),W(ZE,{as:v,className:L.icon,ownerState:H}),W(_E,C({id:`menu-${O||""}`,anchorEl:X,open:Te,onClose:B,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},h,{MenuListProps:C({"aria-labelledby":m,role:"listbox",disableListWrap:!0},h.MenuListProps),PaperProps:C({},h.PaperProps,{style:C({minWidth:he},h.PaperProps!=null?h.PaperProps.style:null)}),children:fe}))]})});process.env.NODE_ENV!=="production"&&(ld.propTypes={"aria-describedby":o.string,"aria-label":o.string,autoFocus:o.bool,autoWidth:o.bool,children:o.node,classes:o.object,className:o.string,defaultOpen:o.bool,defaultValue:o.any,disabled:o.bool,displayEmpty:o.bool,IconComponent:o.elementType.isRequired,inputRef:jt,labelId:o.string,MenuProps:o.object,multiple:o.bool,name:o.string,onBlur:o.func,onChange:o.func,onClose:o.func,onFocus:o.func,onOpen:o.func,open:o.bool,readOnly:o.bool,renderValue:o.func,SelectDisplayProps:o.object,tabIndex:o.oneOfType([o.number,o.string]),type:o.any,value:o.any,variant:o.oneOf(["standard","outlined","filled"])});const nT=ld;var cd,ud;const rT=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],oT=e=>{const{classes:t}=e;return t},os={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Gt(e)&&e!=="variant",slot:"Root"},iT=pe(N0,os)(""),aT=pe(YE,os)(""),sT=pe(l0,os)(""),is=E.forwardRef(function(t,n){const r=Ae({name:"MuiSelect",props:t}),{autoWidth:i=!1,children:a,classes:s={},className:l,defaultOpen:u=!1,displayEmpty:d=!1,IconComponent:f=jy,id:c,input:p,inputProps:v,label:g,labelId:m,MenuProps:h,multiple:y=!1,native:O=!1,onClose:x,onOpen:T,open:b,renderValue:$,SelectDisplayProps:S,variant:P="outlined"}=r,N=ye(r,rT),A=O?LE:nT,j=fr(),G=dr({props:r,muiFormControl:j,states:["variant"]}).variant||P,D=p||{standard:cd||(cd=W(iT,{})),outlined:W(aT,{label:g}),filled:ud||(ud=W(sT,{}))}[G],z=C({},r,{variant:G,classes:s}),F=oT(z),ie=it(n,D.ref);return W(E.Fragment,{children:E.cloneElement(D,C({inputComponent:A,inputProps:C({children:a,IconComponent:f,variant:G,type:void 0,multiple:y},O?{id:c}:{autoWidth:i,defaultOpen:u,displayEmpty:d,labelId:m,MenuProps:h,onClose:x,onOpen:T,open:b,renderValue:$,SelectDisplayProps:C({id:c},S)},v,{classes:v?$t(F,v.classes):F},p?p.props.inputProps:{})},y&&O&&G==="outlined"?{notched:!0}:{},{ref:ie,className:ve(D.props.className,l)},!p&&{variant:G},N))})});process.env.NODE_ENV!=="production"&&(is.propTypes={autoWidth:o.bool,children:o.node,classes:o.object,className:o.string,defaultOpen:o.bool,defaultValue:o.any,displayEmpty:o.bool,IconComponent:o.elementType,id:o.string,input:o.element,inputProps:o.object,label:o.node,labelId:o.string,MenuProps:o.object,multiple:o.bool,native:o.bool,onChange:o.func,onClose:o.func,onOpen:o.func,open:o.bool,renderValue:o.func,SelectDisplayProps:o.object,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.oneOfType([o.oneOf([""]),o.any]),variant:o.oneOf(["filled","outlined","standard"])}),is.muiName="Select";const lT=is;function cT(e){return $e("MuiTooltip",e)}const fn=_e("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),uT=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];function dT(e){return Math.round(e*1e5)/1e5}const fT=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:i,placement:a}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",i&&"touch",`tooltipPlacement${ke(a.split("-")[0])}`],arrow:["arrow"]};return Ie(s,cT,t)},pT=pe(Eu,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(({theme:e,ownerState:t,open:n})=>C({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${fn.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${fn.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${fn.arrow}`]:C({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${fn.arrow}`]:C({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),hT=pe("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${ke(n.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>C({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:lt(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${dT(16/14)}em`,fontWeight:e.typography.fontWeightRegular},{[`.${fn.popper}[data-popper-placement*="left"] &`]:C({transformOrigin:"right center"},t.isRtl?C({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):C({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${fn.popper}[data-popper-placement*="right"] &`]:C({transformOrigin:"left center"},t.isRtl?C({marginRight:"14px"},t.touch&&{marginRight:"24px"}):C({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${fn.popper}[data-popper-placement*="top"] &`]:C({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${fn.popper}[data-popper-placement*="bottom"] &`]:C({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})})),mT=pe("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:lt(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let wi=!1,as=null,no={x:0,y:0};function Si(e,t){return n=>{t&&t(n),e(n)}}const dd=E.forwardRef(function(t,n){var r,i,a,s,l,u,d,f,c,p,v,g,m,h,y,O,x,T,b;const $=Ae({props:t,name:"MuiTooltip"}),{arrow:S=!1,children:P,components:N={},componentsProps:A={},describeChild:j=!1,disableFocusListener:K=!1,disableHoverListener:G=!1,disableInteractive:D=!1,disableTouchListener:z=!1,enterDelay:F=100,enterNextDelay:ie=0,enterTouchDelay:ae=700,followCursor:le=!1,id:_,leaveDelay:M=0,leaveTouchDelay:J=1500,onClose:ne,onOpen:Y,open:re,placement:Z="bottom",PopperComponent:ue,PopperProps:ee={},slotProps:X={},slots:ce={},title:Q,TransitionComponent:B=Za,TransitionProps:Ee}=$,k=ye($,uT),we=xn(),je=we.direction==="rtl",[Te,Re]=E.useState(),[ot,R]=E.useState(null),V=E.useRef(!1),te=D||le,oe=E.useRef(),fe=E.useRef(),he=E.useRef(),Se=E.useRef(),[He,H]=jo({controlled:re,default:!1,name:"Tooltip",state:"open"});let L=He;if(process.env.NODE_ENV!=="production"){const{current:Ce}=E.useRef(re!==void 0);E.useEffect(()=>{Te&&Te.disabled&&!Ce&&Q!==""&&Te.tagName.toLowerCase()==="button"&&console.error(["MUI: You are providing a disabled `button` child to the Tooltip component.","A disabled element does not fire events.","Tooltip needs to listen to the child element's events to display the title.","","Add a simple wrapper element, such as a `span`."].join(`
|
|
220
|
+
`))},[Q,Te,Ce])}const U=Ul(_),de=E.useRef(),be=E.useCallback(()=>{de.current!==void 0&&(document.body.style.WebkitUserSelect=de.current,de.current=void 0),clearTimeout(Se.current)},[]);E.useEffect(()=>()=>{clearTimeout(oe.current),clearTimeout(fe.current),clearTimeout(he.current),be()},[be]);const Pe=Ce=>{clearTimeout(as),wi=!0,H(!0),Y&&!L&&Y(Ce)},st=Dt(Ce=>{clearTimeout(as),as=setTimeout(()=>{wi=!1},800+M),H(!1),ne&&L&&ne(Ce),clearTimeout(oe.current),oe.current=setTimeout(()=>{V.current=!1},we.transitions.duration.shortest)}),ut=Ce=>{V.current&&Ce.type!=="touchstart"||(Te&&Te.removeAttribute("title"),clearTimeout(fe.current),clearTimeout(he.current),F||wi&&ie?fe.current=setTimeout(()=>{Pe(Ce)},wi?ie:F):Pe(Ce))},tn=Ce=>{clearTimeout(fe.current),clearTimeout(he.current),he.current=setTimeout(()=>{st(Ce)},M)},{isFocusVisibleRef:bt,onBlur:Or,onFocus:Vt,ref:gn}=ma(),[,Ln]=E.useState(!1),mo=Ce=>{Or(Ce),bt.current===!1&&(Ln(!1),tn(Ce))},vo=Ce=>{Te||Re(Ce.currentTarget),Vt(Ce),bt.current===!0&&(Ln(!0),ut(Ce))},Li=Ce=>{V.current=!0;const St=P.props;St.onTouchStart&&St.onTouchStart(Ce)},Vi=ut,go=tn,Bs=Ce=>{Li(Ce),clearTimeout(he.current),clearTimeout(oe.current),be(),de.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",Se.current=setTimeout(()=>{document.body.style.WebkitUserSelect=de.current,ut(Ce)},ae)},Us=Ce=>{P.props.onTouchEnd&&P.props.onTouchEnd(Ce),be(),clearTimeout(he.current),he.current=setTimeout(()=>{st(Ce)},J)};E.useEffect(()=>{if(!L)return;function Ce(St){(St.key==="Escape"||St.key==="Esc")&&st(St)}return document.addEventListener("keydown",Ce),()=>{document.removeEventListener("keydown",Ce)}},[st,L]);const zs=it(P.ref,gn,Re,n);!Q&&Q!==0&&(L=!1);const bo=E.useRef(),w=Ce=>{const St=P.props;St.onMouseMove&&St.onMouseMove(Ce),no={x:Ce.clientX,y:Ce.clientY},bo.current&&bo.current.update()},q={},se=typeof Q=="string";j?(q.title=!L&&se&&!G?Q:null,q["aria-describedby"]=L?U:null):(q["aria-label"]=se?Q:null,q["aria-labelledby"]=L&&!se?U:null);const me=C({},q,k,P.props,{className:ve(k.className,P.props.className),onTouchStart:Li,ref:zs},le?{onMouseMove:w}:{});process.env.NODE_ENV!=="production"&&(me["data-mui-internal-clone-element"]=!0,E.useEffect(()=>{Te&&!Te.getAttribute("data-mui-internal-clone-element")&&console.error(["MUI: The `children` component of the Tooltip is not forwarding its props correctly.","Please make sure that props are spread on the same element that the ref is applied to."].join(`
|
|
221
|
+
`))},[Te]));const Ne={};z||(me.onTouchStart=Bs,me.onTouchEnd=Us),G||(me.onMouseOver=Si(Vi,me.onMouseOver),me.onMouseLeave=Si(go,me.onMouseLeave),te||(Ne.onMouseOver=Vi,Ne.onMouseLeave=go)),K||(me.onFocus=Si(vo,me.onFocus),me.onBlur=Si(mo,me.onBlur),te||(Ne.onFocus=vo,Ne.onBlur=mo)),process.env.NODE_ENV!=="production"&&P.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${P.props.title}\` or the Tooltip component.`].join(`
|
|
222
|
+
`));const qe=E.useMemo(()=>{var Ce;let St=[{name:"arrow",enabled:Boolean(ot),options:{element:ot,padding:4}}];return(Ce=ee.popperOptions)!=null&&Ce.modifiers&&(St=St.concat(ee.popperOptions.modifiers)),C({},ee.popperOptions,{modifiers:St})},[ot,ee]),xe=C({},$,{isRtl:je,arrow:S,disableInteractive:te,placement:Z,PopperComponentProp:ue,touch:V.current}),Oe=fT(xe),dt=(r=(i=ce.popper)!=null?i:N.Popper)!=null?r:pT,Ze=(a=(s=(l=ce.transition)!=null?l:N.Transition)!=null?s:B)!=null?a:Za,Qe=(u=(d=ce.tooltip)!=null?d:N.Tooltip)!=null?u:hT,Mt=(f=(c=ce.arrow)!=null?c:N.Arrow)!=null?f:mT,bn=Vr(dt,C({},ee,(p=X.popper)!=null?p:A.popper,{className:ve(Oe.popper,ee==null?void 0:ee.className,(v=(g=X.popper)!=null?g:A.popper)==null?void 0:v.className)}),xe),Bi=Vr(Ze,C({},Ee,(m=X.transition)!=null?m:A.transition),xe),Bt=Vr(Qe,C({},(h=X.tooltip)!=null?h:A.tooltip,{className:ve(Oe.tooltip,(y=(O=X.tooltip)!=null?O:A.tooltip)==null?void 0:y.className)}),xe),XR=Vr(Mt,C({},(x=X.arrow)!=null?x:A.arrow,{className:ve(Oe.arrow,(T=(b=X.arrow)!=null?b:A.arrow)==null?void 0:T.className)}),xe);return Ye(E.Fragment,{children:[E.cloneElement(P,me),W(dt,C({as:ue??Eu,placement:Z,anchorEl:le?{getBoundingClientRect:()=>({top:no.y,left:no.x,right:no.x,bottom:no.y,width:0,height:0})}:Te,popperRef:bo,open:Te?L:!1,id:U,transition:!0},Ne,bn,{popperOptions:qe,children:({TransitionProps:Ce})=>W(Ze,C({timeout:we.transitions.duration.shorter},Ce,Bi,{children:Ye(Qe,C({},Bt,{children:[Q,S?W(Mt,C({},XR,{ref:R})):null]}))}))}))]})});process.env.NODE_ENV!=="production"&&(dd.propTypes={arrow:o.bool,children:Zn.isRequired,classes:o.object,className:o.string,components:o.shape({Arrow:o.elementType,Popper:o.elementType,Tooltip:o.elementType,Transition:o.elementType}),componentsProps:o.shape({arrow:o.object,popper:o.object,tooltip:o.object,transition:o.object}),describeChild:o.bool,disableFocusListener:o.bool,disableHoverListener:o.bool,disableInteractive:o.bool,disableTouchListener:o.bool,enterDelay:o.number,enterNextDelay:o.number,enterTouchDelay:o.number,followCursor:o.bool,id:o.string,leaveDelay:o.number,leaveTouchDelay:o.number,onClose:o.func,onOpen:o.func,open:o.bool,placement:o.oneOf(["bottom-end","bottom-start","bottom","left-end","left-start","left","right-end","right-start","right","top-end","top-start","top"]),PopperComponent:o.elementType,PopperProps:o.object,slotProps:o.shape({arrow:o.object,popper:o.object,tooltip:o.object,transition:o.object}),slots:o.shape({arrow:o.elementType,popper:o.elementType,tooltip:o.elementType,transition:o.elementType}),sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),title:o.node,TransitionComponent:o.elementType,TransitionProps:o.object});const vT=dd;function gT(e){return $e("MuiTab",e)}const Pn=_e("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),bT=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],yT=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:i,icon:a,label:s,selected:l,disabled:u}=e,d={root:["root",a&&s&&"labelIcon",`textColor${ke(n)}`,r&&"fullWidth",i&&"wrapped",l&&"selected",u&&"disabled"],iconWrapper:["iconWrapper"]};return Ie(d,gT,t)},ET=pe(Jr,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${ke(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>C({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:t.iconPosition==="top"||t.iconPosition==="bottom"?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${Pn.iconWrapper}`]:C({},t.iconPosition==="top"&&{marginBottom:6},t.iconPosition==="bottom"&&{marginTop:6},t.iconPosition==="start"&&{marginRight:e.spacing(1)},t.iconPosition==="end"&&{marginLeft:e.spacing(1)})},t.textColor==="inherit"&&{color:"inherit",opacity:.6,[`&.${Pn.selected}`]:{opacity:1},[`&.${Pn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.textColor==="primary"&&{color:(e.vars||e).palette.text.secondary,[`&.${Pn.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Pn.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.textColor==="secondary"&&{color:(e.vars||e).palette.text.secondary,[`&.${Pn.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Pn.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),fd=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiTab"}),{className:i,disabled:a=!1,disableFocusRipple:s=!1,fullWidth:l,icon:u,iconPosition:d="top",indicator:f,label:c,onChange:p,onClick:v,onFocus:g,selected:m,selectionFollowsFocus:h,textColor:y="inherit",value:O,wrapped:x=!1}=r,T=ye(r,bT),b=C({},r,{disabled:a,disableFocusRipple:s,selected:m,icon:!!u,iconPosition:d,label:!!c,fullWidth:l,textColor:y,wrapped:x}),$=yT(b),S=u&&c&&E.isValidElement(u)?E.cloneElement(u,{className:ve($.iconWrapper,u.props.className)}):u,P=A=>{!m&&p&&p(A,O),v&&v(A)},N=A=>{h&&!m&&p&&p(A,O),g&&g(A)};return Ye(ET,C({focusRipple:!s,className:ve($.root,i),ref:n,role:"tab","aria-selected":m,disabled:a,onClick:P,onFocus:N,ownerState:b,tabIndex:m?0:-1},T,{children:[d==="top"||d==="start"?Ye(E.Fragment,{children:[S,c]}):Ye(E.Fragment,{children:[c,S]}),f]}))});process.env.NODE_ENV!=="production"&&(fd.propTypes={children:zl,classes:o.object,className:o.string,disabled:o.bool,disableFocusRipple:o.bool,disableRipple:o.bool,icon:o.oneOfType([o.element,o.string]),iconPosition:o.oneOf(["bottom","end","start","top"]),label:o.node,onChange:o.func,onClick:o.func,onFocus:o.func,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),value:o.any,wrapped:o.bool});const TT=fd;function xT(e){return $e("MuiToolbar",e)}_e("MuiToolbar",["root","gutters","regular","dense"]);const OT=["className","component","disableGutters","variant"],CT=e=>{const{classes:t,disableGutters:n,variant:r}=e;return Ie({root:["root",!n&&"gutters",r]},xT,t)},wT=pe("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disableGutters&&t.gutters,t[n.variant]]}})(({theme:e,ownerState:t})=>C({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},t.variant==="dense"&&{minHeight:48}),({theme:e,ownerState:t})=>t.variant==="regular"&&e.mixins.toolbar),pd=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiToolbar"}),{className:i,component:a="div",disableGutters:s=!1,variant:l="regular"}=r,u=ye(r,OT),d=C({},r,{component:a,disableGutters:s,variant:l}),f=CT(d);return W(wT,C({as:a,className:ve(f.root,i),ref:n,ownerState:d},u))});process.env.NODE_ENV!=="production"&&(pd.propTypes={children:o.node,classes:o.object,className:o.string,component:o.elementType,disableGutters:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),variant:o.oneOfType([o.oneOf(["dense","regular"]),o.string])});const ST=pd,$T=ui(W("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),_T=ui(W("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function RT(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function PT(e,t,n,r={},i=()=>{}){const{ease:a=RT,duration:s=300}=r;let l=null;const u=t[e];let d=!1;const f=()=>{d=!0},c=p=>{if(d){i(new Error("Animation cancelled"));return}l===null&&(l=p);const v=Math.min(1,(p-l)/s);if(t[e]=a(v)*(n-u)+u,v>=1){requestAnimationFrame(()=>{i(null)});return}requestAnimationFrame(c)};return u===n?(i(new Error("Element already at target position")),f):(requestAnimationFrame(c),f)}const NT=["onChange"],IT={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function hd(e){const{onChange:t}=e,n=ye(e,NT),r=E.useRef(),i=E.useRef(null),a=()=>{r.current=i.current.offsetHeight-i.current.clientHeight};return E.useEffect(()=>{const s=Qn(()=>{const u=r.current;a(),u!==r.current&&t(r.current)}),l=Ht(i.current);return l.addEventListener("resize",s),()=>{s.clear(),l.removeEventListener("resize",s)}},[t]),E.useEffect(()=>{a(),t(r.current)},[t]),W("div",C({style:IT,ref:i},n))}process.env.NODE_ENV!=="production"&&(hd.propTypes={onChange:o.func.isRequired});function AT(e){return $e("MuiTabScrollButton",e)}const MT=_e("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);var md,vd;const kT=["className","direction","orientation","disabled"],jT=e=>{const{classes:t,orientation:n,disabled:r}=e;return Ie({root:["root",n,r&&"disabled"]},AT,t)},DT=pe(Jr,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>C({width:40,flexShrink:0,opacity:.8,[`&.${MT.disabled}`]:{opacity:0}},e.orientation==="vertical"&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),gd=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiTabScrollButton"}),{className:i,direction:a}=r,s=ye(r,kT),u=xn().direction==="rtl",d=C({isRtl:u},r),f=jT(d);return W(DT,C({component:"div",className:ve(f.root,i),ref:n,role:null,ownerState:d,tabIndex:null},s,{children:a==="left"?md||(md=W($T,{fontSize:"small"})):vd||(vd=W(_T,{fontSize:"small"}))}))});process.env.NODE_ENV!=="production"&&(gd.propTypes={children:o.node,classes:o.object,className:o.string,direction:o.oneOf(["left","right"]).isRequired,disabled:o.bool,orientation:o.oneOf(["horizontal","vertical"]).isRequired,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object])});const FT=gd;function LT(e){return $e("MuiTabs",e)}const ss=_e("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),VT=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],bd=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,yd=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,$i=(e,t,n)=>{let r=!1,i=n(e,t);for(;i;){if(i===e.firstChild){if(r)return;r=!0}const a=i.disabled||i.getAttribute("aria-disabled")==="true";if(!i.hasAttribute("tabindex")||a)i=n(e,i);else{i.focus();return}}},BT=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:i,scrollableY:a,centered:s,scrollButtonsHideMobile:l,classes:u}=e;return Ie({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",i&&"scrollableX",a&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[i&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},LT,u)},UT=pe("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${ss.scrollButtons}`]:t.scrollButtons},{[`& .${ss.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>C({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${ss.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),zT=pe("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})(({ownerState:e})=>C({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),WT=pe("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})(({ownerState:e})=>C({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),HT=pe("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>C({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},e.indicatorColor==="primary"&&{backgroundColor:(t.vars||t).palette.primary.main},e.indicatorColor==="secondary"&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),qT=pe(hd,{name:"MuiTabs",slot:"ScrollbarSize"})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Ed={};let Td=!1;const xd=E.forwardRef(function(t,n){const r=Ae({props:t,name:"MuiTabs"}),i=xn(),a=i.direction==="rtl",{"aria-label":s,"aria-labelledby":l,action:u,centered:d=!1,children:f,className:c,component:p="div",allowScrollButtonsMobile:v=!1,indicatorColor:g="primary",onChange:m,orientation:h="horizontal",ScrollButtonComponent:y=FT,scrollButtons:O="auto",selectionFollowsFocus:x,TabIndicatorProps:T={},TabScrollButtonProps:b={},textColor:$="primary",value:S,variant:P="standard",visibleScrollbar:N=!1}=r,A=ye(r,VT),j=P==="scrollable",K=h==="vertical",G=K?"scrollTop":"scrollLeft",D=K?"top":"left",z=K?"bottom":"right",F=K?"clientHeight":"clientWidth",ie=K?"height":"width",ae=C({},r,{component:p,allowScrollButtonsMobile:v,indicatorColor:g,orientation:h,vertical:K,scrollButtons:O,textColor:$,variant:P,visibleScrollbar:N,fixed:!j,hideScrollbar:j&&!N,scrollableX:j&&!K,scrollableY:j&&K,centered:d&&!j,scrollButtonsHideMobile:!v}),le=BT(ae);process.env.NODE_ENV!=="production"&&d&&j&&console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');const[_,M]=E.useState(!1),[J,ne]=E.useState(Ed),[Y,re]=E.useState({start:!1,end:!1}),[Z,ue]=E.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,X=E.useRef(null),ce=E.useRef(null),Q=()=>{const H=X.current;let L;if(H){const de=H.getBoundingClientRect();L={clientWidth:H.clientWidth,scrollLeft:H.scrollLeft,scrollTop:H.scrollTop,scrollLeftNormalized:Gl(H,i.direction),scrollWidth:H.scrollWidth,top:de.top,bottom:de.bottom,left:de.left,right:de.right}}let U;if(H&&S!==!1){const de=ce.current.children;if(de.length>0){const be=de[ee.get(S)];process.env.NODE_ENV!=="production"&&(be||console.error(["MUI: The `value` provided to the Tabs component is invalid.",`None of the Tabs' children match with "${S}".`,ee.keys?`You can provide one of the following values: ${Array.from(ee.keys()).join(", ")}.`:null].join(`
|
|
223
|
+
`))),U=be?be.getBoundingClientRect():null,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&!Td&&U&&U.width===0&&U.height===0&&L.clientWidth!==0&&(L=null,console.error(["MUI: The `value` provided to the Tabs component is invalid.",`The Tab with this \`value\` ("${S}") is not part of the document layout.`,"Make sure the tab item is present in the document or that it's not `display: none`."].join(`
|
|
224
|
+
`)),Td=!0)}}return{tabsMeta:L,tabMeta:U}},B=Dt(()=>{const{tabsMeta:H,tabMeta:L}=Q();let U=0,de;if(K)de="top",L&&H&&(U=L.top-H.top+H.scrollTop);else if(de=a?"right":"left",L&&H){const Pe=a?H.scrollLeftNormalized+H.clientWidth-H.scrollWidth:H.scrollLeft;U=(a?-1:1)*(L[de]-H[de]+Pe)}const be={[de]:U,[ie]:L?L[ie]:0};if(isNaN(J[de])||isNaN(J[ie]))ne(be);else{const Pe=Math.abs(J[de]-be[de]),st=Math.abs(J[ie]-be[ie]);(Pe>=1||st>=1)&&ne(be)}}),Ee=(H,{animation:L=!0}={})=>{L?PT(G,X.current,H,{duration:i.transitions.duration.standard}):X.current[G]=H},k=H=>{let L=X.current[G];K?L+=H:(L+=H*(a?-1:1),L*=a&&ql()==="reverse"?-1:1),Ee(L)},we=()=>{const H=X.current[F];let L=0;const U=Array.from(ce.current.children);for(let de=0;de<U.length;de+=1){const be=U[de];if(L+be[F]>H){de===0&&(L=H);break}L+=be[F]}return L},je=()=>{k(-1*we())},Te=()=>{k(we())},Re=E.useCallback(H=>{ue({overflow:null,scrollbarWidth:H})},[]),ot=()=>{const H={};H.scrollbarSizeListener=j?W(qT,{onChange:Re,className:ve(le.scrollableX,le.hideScrollbar)}):null;const L=Y.start||Y.end,U=j&&(O==="auto"&&L||O===!0);return H.scrollButtonStart=U?W(y,C({orientation:h,direction:a?"right":"left",onClick:je,disabled:!Y.start},b,{className:ve(le.scrollButtons,b.className)})):null,H.scrollButtonEnd=U?W(y,C({orientation:h,direction:a?"left":"right",onClick:Te,disabled:!Y.end},b,{className:ve(le.scrollButtons,b.className)})):null,H},R=Dt(H=>{const{tabsMeta:L,tabMeta:U}=Q();if(!(!U||!L)){if(U[D]<L[D]){const de=L[G]+(U[D]-L[D]);Ee(de,{animation:H})}else if(U[z]>L[z]){const de=L[G]+(U[z]-L[z]);Ee(de,{animation:H})}}}),V=Dt(()=>{if(j&&O!==!1){const{scrollTop:H,scrollHeight:L,clientHeight:U,scrollWidth:de,clientWidth:be}=X.current;let Pe,st;if(K)Pe=H>1,st=H<L-U-1;else{const ut=Gl(X.current,i.direction);Pe=a?ut<de-be-1:ut>1,st=a?ut>1:ut<de-be-1}(Pe!==Y.start||st!==Y.end)&&re({start:Pe,end:st})}});E.useEffect(()=>{const H=Qn(()=>{X.current&&(B(),V())}),L=Ht(X.current);L.addEventListener("resize",H);let U;return typeof ResizeObserver<"u"&&(U=new ResizeObserver(H),Array.from(ce.current.children).forEach(de=>{U.observe(de)})),()=>{H.clear(),L.removeEventListener("resize",H),U&&U.disconnect()}},[B,V]);const te=E.useMemo(()=>Qn(()=>{V()}),[V]);E.useEffect(()=>()=>{te.clear()},[te]),E.useEffect(()=>{M(!0)},[]),E.useEffect(()=>{B(),V()}),E.useEffect(()=>{R(Ed!==J)},[R,J]),E.useImperativeHandle(u,()=>({updateIndicator:B,updateScrollButtons:V}),[B,V]);const oe=W(HT,C({},T,{className:ve(le.indicator,T.className),ownerState:ae,style:C({},J,T.style)}));let fe=0;const he=E.Children.map(f,H=>{if(!E.isValidElement(H))return null;process.env.NODE_ENV!=="production"&&lr.isFragment(H)&&console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
225
|
+
`));const L=H.props.value===void 0?fe:H.props.value;ee.set(L,fe);const U=L===S;return fe+=1,E.cloneElement(H,C({fullWidth:P==="fullWidth",indicator:U&&!_&&oe,selected:U,selectionFollowsFocus:x,onChange:m,textColor:$,value:L},fe===1&&S===!1&&!H.props.tabIndex?{tabIndex:0}:{}))}),Se=H=>{const L=ce.current,U=pt(L).activeElement;if(U.getAttribute("role")!=="tab")return;let be=h==="horizontal"?"ArrowLeft":"ArrowUp",Pe=h==="horizontal"?"ArrowRight":"ArrowDown";switch(h==="horizontal"&&a&&(be="ArrowRight",Pe="ArrowLeft"),H.key){case be:H.preventDefault(),$i(L,U,yd);break;case Pe:H.preventDefault(),$i(L,U,bd);break;case"Home":H.preventDefault(),$i(L,null,bd);break;case"End":H.preventDefault(),$i(L,null,yd);break}},He=ot();return Ye(UT,C({className:ve(le.root,c),ownerState:ae,ref:n,as:p},A,{children:[He.scrollButtonStart,He.scrollbarSizeListener,Ye(zT,{className:le.scroller,ownerState:ae,style:{overflow:Z.overflow,[K?`margin${a?"Left":"Right"}`:"marginBottom"]:N?void 0:-Z.scrollbarWidth},ref:X,onScroll:te,children:[W(WT,{"aria-label":s,"aria-labelledby":l,"aria-orientation":h==="vertical"?"vertical":null,className:le.flexContainer,ownerState:ae,onKeyDown:Se,ref:ce,role:"tablist",children:he}),_&&oe]}),He.scrollButtonEnd]}))});process.env.NODE_ENV!=="production"&&(xd.propTypes={action:jt,allowScrollButtonsMobile:o.bool,"aria-label":o.string,"aria-labelledby":o.string,centered:o.bool,children:o.node,classes:o.object,className:o.string,component:o.elementType,indicatorColor:o.oneOfType([o.oneOf(["primary","secondary"]),o.string]),onChange:o.func,orientation:o.oneOf(["horizontal","vertical"]),ScrollButtonComponent:o.elementType,scrollButtons:o.oneOf(["auto",!1,!0]),selectionFollowsFocus:o.bool,sx:o.oneOfType([o.arrayOf(o.oneOfType([o.func,o.object,o.bool])),o.func,o.object]),TabIndicatorProps:o.object,TabScrollButtonProps:o.object,textColor:o.oneOf(["inherit","primary","secondary"]),value:o.any,variant:o.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:o.bool});const GT=xd;var ls={},cs={},YT={get exports(){return cs},set exports(e){cs=e}};(function(e){function t(n){return n&&n.__esModule?n:{default:n}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(YT);var us={};const KT=rl(Lb);var Od;function XT(){return Od||(Od=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.createSvgIcon}});var t=KT}(us)),us}const JT=rl(dh);var ZT=cs;Object.defineProperty(ls,"__esModule",{value:!0});var Cd=ls.default=void 0,QT=ZT(XT()),ex=JT,tx=(0,QT.default)((0,ex.jsx)("path",{d:"M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"}),"Search");Cd=ls.default=tx;const nx=pe("div")(({theme:e})=>({position:"relative",borderRadius:e.shape.borderRadius,backgroundColor:lt(e.palette.common.white,.15),"&:hover":{backgroundColor:lt(e.palette.common.white,.25)},marginRight:e.spacing(2),marginLeft:0,width:"100%",[e.breakpoints.up("sm")]:{marginLeft:e.spacing(3),width:"auto"}})),rx=pe("div")(({theme:e})=>({padding:e.spacing(0,2),height:"100%",position:"absolute",pointerEvents:"none",display:"flex",alignItems:"center",justifyContent:"center"})),ox=pe(Ti)(({theme:e})=>({color:"inherit","& .MuiInputBase-input":{padding:e.spacing(1,1,1,0),paddingLeft:`calc(1em + ${e.spacing(4)})`,transition:e.transitions.create("width"),width:"100%",[e.breakpoints.up("md")]:{width:"20ch"}}})),ix=e=>(console.log("Rendering appbar. searchValue="+e.searchValue),ge(qy,{sx:{flexGrow:1},children:ge(wy,{position:"static",children:nn(ST,{children:[ge(un,{variant:"h6",noWrap:!0,component:"div",sx:{display:{xs:"none",sm:"block"}},children:e.label}),e.showSearch!==!1&&nn(nx,{children:[ge(rx,{children:ge(Cd,{})}),ge(ox,{value:e.searchValue??"",placeholder:"Search…",inputProps:{"aria-label":"search"},onChange:t=>e.setSearchString(t.target.value)})]})]})})}));function ax(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var wd=ax;function sx(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var lx=sx,cx=Array.isArray,Sd=cx,ux=typeof _r=="object"&&_r&&_r.Object===Object&&_r,dx=ux,fx=dx,px=typeof self=="object"&&self&&self.Object===Object&&self,hx=fx||px||Function("return this")(),ds=hx,mx=ds,vx=mx.Symbol,fs=vx,$d=fs,_d=Object.prototype,gx=_d.hasOwnProperty,bx=_d.toString,ro=$d?$d.toStringTag:void 0;function yx(e){var t=gx.call(e,ro),n=e[ro];try{e[ro]=void 0;var r=!0}catch{}var i=bx.call(e);return r&&(t?e[ro]=n:delete e[ro]),i}var Ex=yx,Tx=Object.prototype,xx=Tx.toString;function Ox(e){return xx.call(e)}var Cx=Ox,Rd=fs,wx=Ex,Sx=Cx,$x="[object Null]",_x="[object Undefined]",Pd=Rd?Rd.toStringTag:void 0;function Rx(e){return e==null?e===void 0?_x:$x:Pd&&Pd in Object(e)?wx(e):Sx(e)}var Nd=Rx;function Px(e){return e!=null&&typeof e=="object"}var Nx=Px,Ix=Nd,Ax=Nx,Mx="[object Symbol]";function kx(e){return typeof e=="symbol"||Ax(e)&&Ix(e)==Mx}var ps=kx;function jx(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Id=jx,Dx=Nd,Fx=Id,Lx="[object AsyncFunction]",Vx="[object Function]",Bx="[object GeneratorFunction]",Ux="[object Proxy]";function zx(e){if(!Fx(e))return!1;var t=Dx(e);return t==Vx||t==Bx||t==Lx||t==Ux}var Wx=zx,Hx=ds,qx=Hx["__core-js_shared__"],Gx=qx,hs=Gx,Ad=function(){var e=/[^.]+$/.exec(hs&&hs.keys&&hs.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Yx(e){return!!Ad&&Ad in e}var Kx=Yx,Xx=Function.prototype,Jx=Xx.toString;function Zx(e){if(e!=null){try{return Jx.call(e)}catch{}try{return e+""}catch{}}return""}var Qx=Zx,e1=Wx,t1=Kx,n1=Id,r1=Qx,o1=/[\\^$.*+?()[\]{}|]/g,i1=/^\[object .+?Constructor\]$/,a1=Function.prototype,s1=Object.prototype,l1=a1.toString,c1=s1.hasOwnProperty,u1=RegExp("^"+l1.call(c1).replace(o1,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d1(e){if(!n1(e)||t1(e))return!1;var t=e1(e)?u1:i1;return t.test(r1(e))}var f1=d1;function p1(e,t){return e==null?void 0:e[t]}var h1=p1,m1=f1,v1=h1;function g1(e,t){var n=v1(e,t);return m1(n)?n:void 0}var Md=g1,b1=Md,y1=b1(Object,"create"),_i=y1,kd=_i;function E1(){this.__data__=kd?kd(null):{},this.size=0}var T1=E1;function x1(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var O1=x1,C1=_i,w1="__lodash_hash_undefined__",S1=Object.prototype,$1=S1.hasOwnProperty;function _1(e){var t=this.__data__;if(C1){var n=t[e];return n===w1?void 0:n}return $1.call(t,e)?t[e]:void 0}var R1=_1,P1=_i,N1=Object.prototype,I1=N1.hasOwnProperty;function A1(e){var t=this.__data__;return P1?t[e]!==void 0:I1.call(t,e)}var M1=A1,k1=_i,j1="__lodash_hash_undefined__";function D1(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=k1&&t===void 0?j1:t,this}var F1=D1,L1=T1,V1=O1,B1=R1,U1=M1,z1=F1;function vr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}vr.prototype.clear=L1,vr.prototype.delete=V1,vr.prototype.get=B1,vr.prototype.has=U1,vr.prototype.set=z1;var W1=vr;function H1(){this.__data__=[],this.size=0}var q1=H1;function G1(e,t){return e===t||e!==e&&t!==t}var Y1=G1,K1=Y1;function X1(e,t){for(var n=e.length;n--;)if(K1(e[n][0],t))return n;return-1}var Ri=X1,J1=Ri,Z1=Array.prototype,Q1=Z1.splice;function eO(e){var t=this.__data__,n=J1(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Q1.call(t,n,1),--this.size,!0}var tO=eO,nO=Ri;function rO(e){var t=this.__data__,n=nO(t,e);return n<0?void 0:t[n][1]}var oO=rO,iO=Ri;function aO(e){return iO(this.__data__,e)>-1}var sO=aO,lO=Ri;function cO(e,t){var n=this.__data__,r=lO(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var uO=cO,dO=q1,fO=tO,pO=oO,hO=sO,mO=uO;function gr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}gr.prototype.clear=dO,gr.prototype.delete=fO,gr.prototype.get=pO,gr.prototype.has=hO,gr.prototype.set=mO;var vO=gr,gO=Md,bO=ds,yO=gO(bO,"Map"),EO=yO,jd=W1,TO=vO,xO=EO;function OO(){this.size=0,this.__data__={hash:new jd,map:new(xO||TO),string:new jd}}var CO=OO;function wO(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var SO=wO,$O=SO;function _O(e,t){var n=e.__data__;return $O(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Pi=_O,RO=Pi;function PO(e){var t=RO(this,e).delete(e);return this.size-=t?1:0,t}var NO=PO,IO=Pi;function AO(e){return IO(this,e).get(e)}var MO=AO,kO=Pi;function jO(e){return kO(this,e).has(e)}var DO=jO,FO=Pi;function LO(e,t){var n=FO(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var VO=LO,BO=CO,UO=NO,zO=MO,WO=DO,HO=VO;function br(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}br.prototype.clear=BO,br.prototype.delete=UO,br.prototype.get=zO,br.prototype.has=WO,br.prototype.set=HO;var qO=br,Dd=qO,GO="Expected a function";function ms(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(GO);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(ms.Cache||Dd),n}ms.Cache=Dd;var YO=ms,KO=YO,XO=500;function JO(e){var t=KO(e,function(r){return n.size===XO&&n.clear(),r}),n=t.cache;return t}var ZO=JO,QO=ZO,eC=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tC=/\\(\\)?/g,nC=QO(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(eC,function(n,r,i,a){t.push(i?a.replace(tC,"$1"):r||n)}),t}),rC=nC,oC=ps,iC=1/0;function aC(e){if(typeof e=="string"||oC(e))return e;var t=e+"";return t=="0"&&1/e==-iC?"-0":t}var sC=aC,Fd=fs,lC=wd,cC=Sd,uC=ps,dC=1/0,Ld=Fd?Fd.prototype:void 0,Vd=Ld?Ld.toString:void 0;function Bd(e){if(typeof e=="string")return e;if(cC(e))return lC(e,Bd)+"";if(uC(e))return Vd?Vd.call(e):"";var t=e+"";return t=="0"&&1/e==-dC?"-0":t}var fC=Bd,pC=fC;function hC(e){return e==null?"":pC(e)}var mC=hC,vC=wd,gC=lx,bC=Sd,yC=ps,EC=rC,TC=sC,xC=mC;function OC(e){return bC(e)?vC(e,TC):yC(e)?[e]:gC(EC(xC(e)))}var CC=OC,Ud=Array.isArray,zd=Object.keys,wC=Object.prototype.hasOwnProperty,SC=typeof Element<"u";function vs(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var n=Ud(e),r=Ud(t),i,a,s;if(n&&r){if(a=e.length,a!=t.length)return!1;for(i=a;i--!==0;)if(!vs(e[i],t[i]))return!1;return!0}if(n!=r)return!1;var l=e instanceof Date,u=t instanceof Date;if(l!=u)return!1;if(l&&u)return e.getTime()==t.getTime();var d=e instanceof RegExp,f=t instanceof RegExp;if(d!=f)return!1;if(d&&f)return e.toString()==t.toString();var c=zd(e);if(a=c.length,a!==zd(t).length)return!1;for(i=a;i--!==0;)if(!wC.call(t,c[i]))return!1;if(SC&&e instanceof Element&&t instanceof Element)return e===t;for(i=a;i--!==0;)if(s=c[i],!(s==="_owner"&&e.$$typeof)&&!vs(e[s],t[s]))return!1;return!0}return e!==e&&t!==t}var pn=function(t,n){try{return vs(t,n)}catch(r){if(r.message&&r.message.match(/stack|recursion/i)||r.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",r.name,r.message),!1;throw r}},$C=function(t){return _C(t)&&!RC(t)};function _C(e){return!!e&&typeof e=="object"}function RC(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||IC(e)}var PC=typeof Symbol=="function"&&Symbol.for,NC=PC?Symbol.for("react.element"):60103;function IC(e){return e.$$typeof===NC}function AC(e){return Array.isArray(e)?[]:{}}function Ni(e,t){return t.clone!==!1&&t.isMergeableObject(e)?oo(AC(e),e,t):e}function MC(e,t,n){return e.concat(t).map(function(r){return Ni(r,n)})}function kC(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(i){r[i]=Ni(e[i],n)}),Object.keys(t).forEach(function(i){!n.isMergeableObject(t[i])||!e[i]?r[i]=Ni(t[i],n):r[i]=oo(e[i],t[i],n)}),r}function oo(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||MC,n.isMergeableObject=n.isMergeableObject||$C;var r=Array.isArray(t),i=Array.isArray(e),a=r===i;return a?r?n.arrayMerge(e,t,n):kC(e,t,n):Ni(t,n)}oo.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return oo(r,i,n)},{})};var gs=oo,jC=typeof global=="object"&&global&&global.Object===Object&&global;const Wd=jC;var DC=typeof self=="object"&&self&&self.Object===Object&&self,FC=Wd||DC||Function("return this")();const Xt=FC;var LC=Xt.Symbol;const hn=LC;var Hd=Object.prototype,VC=Hd.hasOwnProperty,BC=Hd.toString,io=hn?hn.toStringTag:void 0;function UC(e){var t=VC.call(e,io),n=e[io];try{e[io]=void 0;var r=!0}catch{}var i=BC.call(e);return r&&(t?e[io]=n:delete e[io]),i}var zC=Object.prototype,WC=zC.toString;function HC(e){return WC.call(e)}var qC="[object Null]",GC="[object Undefined]",qd=hn?hn.toStringTag:void 0;function Nn(e){return e==null?e===void 0?GC:qC:qd&&qd in Object(e)?UC(e):HC(e)}function Gd(e,t){return function(n){return e(t(n))}}var YC=Gd(Object.getPrototypeOf,Object);const bs=YC;function In(e){return e!=null&&typeof e=="object"}var KC="[object Object]",XC=Function.prototype,JC=Object.prototype,Yd=XC.toString,ZC=JC.hasOwnProperty,QC=Yd.call(Object);function Kd(e){if(!In(e)||Nn(e)!=KC)return!1;var t=bs(e);if(t===null)return!0;var n=ZC.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Yd.call(n)==QC}function ew(){this.__data__=[],this.size=0}function Xd(e,t){return e===t||e!==e&&t!==t}function Ii(e,t){for(var n=e.length;n--;)if(Xd(e[n][0],t))return n;return-1}var tw=Array.prototype,nw=tw.splice;function rw(e){var t=this.__data__,n=Ii(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():nw.call(t,n,1),--this.size,!0}function ow(e){var t=this.__data__,n=Ii(t,e);return n<0?void 0:t[n][1]}function iw(e){return Ii(this.__data__,e)>-1}function aw(e,t){var n=this.__data__,r=Ii(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function en(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}en.prototype.clear=ew,en.prototype.delete=rw,en.prototype.get=ow,en.prototype.has=iw,en.prototype.set=aw;function sw(){this.__data__=new en,this.size=0}function lw(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function cw(e){return this.__data__.get(e)}function uw(e){return this.__data__.has(e)}function ao(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var dw="[object AsyncFunction]",fw="[object Function]",pw="[object GeneratorFunction]",hw="[object Proxy]";function Jd(e){if(!ao(e))return!1;var t=Nn(e);return t==fw||t==pw||t==dw||t==hw}var mw=Xt["__core-js_shared__"];const ys=mw;var Zd=function(){var e=/[^.]+$/.exec(ys&&ys.keys&&ys.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function vw(e){return!!Zd&&Zd in e}var gw=Function.prototype,bw=gw.toString;function An(e){if(e!=null){try{return bw.call(e)}catch{}try{return e+""}catch{}}return""}var yw=/[\\^$.*+?()[\]{}|]/g,Ew=/^\[object .+?Constructor\]$/,Tw=Function.prototype,xw=Object.prototype,Ow=Tw.toString,Cw=xw.hasOwnProperty,ww=RegExp("^"+Ow.call(Cw).replace(yw,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Sw(e){if(!ao(e)||vw(e))return!1;var t=Jd(e)?ww:Ew;return t.test(An(e))}function $w(e,t){return e==null?void 0:e[t]}function Mn(e,t){var n=$w(e,t);return Sw(n)?n:void 0}var _w=Mn(Xt,"Map");const so=_w;var Rw=Mn(Object,"create");const lo=Rw;function Pw(){this.__data__=lo?lo(null):{},this.size=0}function Nw(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Iw="__lodash_hash_undefined__",Aw=Object.prototype,Mw=Aw.hasOwnProperty;function kw(e){var t=this.__data__;if(lo){var n=t[e];return n===Iw?void 0:n}return Mw.call(t,e)?t[e]:void 0}var jw=Object.prototype,Dw=jw.hasOwnProperty;function Fw(e){var t=this.__data__;return lo?t[e]!==void 0:Dw.call(t,e)}var Lw="__lodash_hash_undefined__";function Vw(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=lo&&t===void 0?Lw:t,this}function kn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}kn.prototype.clear=Pw,kn.prototype.delete=Nw,kn.prototype.get=kw,kn.prototype.has=Fw,kn.prototype.set=Vw;function Bw(){this.size=0,this.__data__={hash:new kn,map:new(so||en),string:new kn}}function Uw(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ai(e,t){var n=e.__data__;return Uw(t)?n[typeof t=="string"?"string":"hash"]:n.map}function zw(e){var t=Ai(this,e).delete(e);return this.size-=t?1:0,t}function Ww(e){return Ai(this,e).get(e)}function Hw(e){return Ai(this,e).has(e)}function qw(e,t){var n=Ai(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function mn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}mn.prototype.clear=Bw,mn.prototype.delete=zw,mn.prototype.get=Ww,mn.prototype.has=Hw,mn.prototype.set=qw;var Gw=200;function Yw(e,t){var n=this.__data__;if(n instanceof en){var r=n.__data__;if(!so||r.length<Gw-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new mn(r)}return n.set(e,t),this.size=n.size,this}function yr(e){var t=this.__data__=new en(e);this.size=t.size}yr.prototype.clear=sw,yr.prototype.delete=lw,yr.prototype.get=cw,yr.prototype.has=uw,yr.prototype.set=Yw;function Kw(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var Xw=function(){try{var e=Mn(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Qd=Xw;function ef(e,t,n){t=="__proto__"&&Qd?Qd(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Jw=Object.prototype,Zw=Jw.hasOwnProperty;function tf(e,t,n){var r=e[t];(!(Zw.call(e,t)&&Xd(r,n))||n===void 0&&!(t in e))&&ef(e,t,n)}function Mi(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],u=r?r(n[l],e[l],l,n,e):void 0;u===void 0&&(u=e[l]),i?ef(n,l,u):tf(n,l,u)}return n}function Qw(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var eS="[object Arguments]";function nf(e){return In(e)&&Nn(e)==eS}var rf=Object.prototype,tS=rf.hasOwnProperty,nS=rf.propertyIsEnumerable,rS=nf(function(){return arguments}())?nf:function(e){return In(e)&&tS.call(e,"callee")&&!nS.call(e,"callee")};const oS=rS;var iS=Array.isArray;const co=iS;function aS(){return!1}var of=typeof et=="object"&&et&&!et.nodeType&&et,af=of&&typeof module=="object"&&module&&!module.nodeType&&module,sS=af&&af.exports===of,sf=sS?Xt.Buffer:void 0,lS=sf?sf.isBuffer:void 0,cS=lS||aS;const lf=cS;var uS=9007199254740991,dS=/^(?:0|[1-9]\d*)$/;function fS(e,t){var n=typeof e;return t=t??uS,!!t&&(n=="number"||n!="symbol"&&dS.test(e))&&e>-1&&e%1==0&&e<t}var pS=9007199254740991;function cf(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=pS}var hS="[object Arguments]",mS="[object Array]",vS="[object Boolean]",gS="[object Date]",bS="[object Error]",yS="[object Function]",ES="[object Map]",TS="[object Number]",xS="[object Object]",OS="[object RegExp]",CS="[object Set]",wS="[object String]",SS="[object WeakMap]",$S="[object ArrayBuffer]",_S="[object DataView]",RS="[object Float32Array]",PS="[object Float64Array]",NS="[object Int8Array]",IS="[object Int16Array]",AS="[object Int32Array]",MS="[object Uint8Array]",kS="[object Uint8ClampedArray]",jS="[object Uint16Array]",DS="[object Uint32Array]",Xe={};Xe[RS]=Xe[PS]=Xe[NS]=Xe[IS]=Xe[AS]=Xe[MS]=Xe[kS]=Xe[jS]=Xe[DS]=!0,Xe[hS]=Xe[mS]=Xe[$S]=Xe[vS]=Xe[_S]=Xe[gS]=Xe[bS]=Xe[yS]=Xe[ES]=Xe[TS]=Xe[xS]=Xe[OS]=Xe[CS]=Xe[wS]=Xe[SS]=!1;function FS(e){return In(e)&&cf(e.length)&&!!Xe[Nn(e)]}function Es(e){return function(t){return e(t)}}var uf=typeof et=="object"&&et&&!et.nodeType&&et,uo=uf&&typeof module=="object"&&module&&!module.nodeType&&module,LS=uo&&uo.exports===uf,Ts=LS&&Wd.process,VS=function(){try{var e=uo&&uo.require&&uo.require("util").types;return e||Ts&&Ts.binding&&Ts.binding("util")}catch{}}();const Er=VS;var df=Er&&Er.isTypedArray,BS=df?Es(df):FS;const US=BS;var zS=Object.prototype,WS=zS.hasOwnProperty;function ff(e,t){var n=co(e),r=!n&&oS(e),i=!n&&!r&&lf(e),a=!n&&!r&&!i&&US(e),s=n||r||i||a,l=s?Qw(e.length,String):[],u=l.length;for(var d in e)(t||WS.call(e,d))&&!(s&&(d=="length"||i&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||fS(d,u)))&&l.push(d);return l}var HS=Object.prototype;function xs(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||HS;return e===n}var qS=Gd(Object.keys,Object);const GS=qS;var YS=Object.prototype,KS=YS.hasOwnProperty;function XS(e){if(!xs(e))return GS(e);var t=[];for(var n in Object(e))KS.call(e,n)&&n!="constructor"&&t.push(n);return t}function pf(e){return e!=null&&cf(e.length)&&!Jd(e)}function Os(e){return pf(e)?ff(e):XS(e)}function JS(e,t){return e&&Mi(t,Os(t),e)}function ZS(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var QS=Object.prototype,e$=QS.hasOwnProperty;function t$(e){if(!ao(e))return ZS(e);var t=xs(e),n=[];for(var r in e)r=="constructor"&&(t||!e$.call(e,r))||n.push(r);return n}function Cs(e){return pf(e)?ff(e,!0):t$(e)}function n$(e,t){return e&&Mi(t,Cs(t),e)}var hf=typeof et=="object"&&et&&!et.nodeType&&et,mf=hf&&typeof module=="object"&&module&&!module.nodeType&&module,r$=mf&&mf.exports===hf,vf=r$?Xt.Buffer:void 0,gf=vf?vf.allocUnsafe:void 0;function o$(e,t){if(t)return e.slice();var n=e.length,r=gf?gf(n):new e.constructor(n);return e.copy(r),r}function bf(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function i$(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a}function yf(){return[]}var a$=Object.prototype,s$=a$.propertyIsEnumerable,Ef=Object.getOwnPropertySymbols,l$=Ef?function(e){return e==null?[]:(e=Object(e),i$(Ef(e),function(t){return s$.call(e,t)}))}:yf;const ws=l$;function c$(e,t){return Mi(e,ws(e),t)}function Tf(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var u$=Object.getOwnPropertySymbols,d$=u$?function(e){for(var t=[];e;)Tf(t,ws(e)),e=bs(e);return t}:yf;const xf=d$;function f$(e,t){return Mi(e,xf(e),t)}function Of(e,t,n){var r=t(e);return co(e)?r:Tf(r,n(e))}function p$(e){return Of(e,Os,ws)}function h$(e){return Of(e,Cs,xf)}var m$=Mn(Xt,"DataView");const Ss=m$;var v$=Mn(Xt,"Promise");const $s=v$;var g$=Mn(Xt,"Set");const _s=g$;var b$=Mn(Xt,"WeakMap");const Rs=b$;var Cf="[object Map]",y$="[object Object]",wf="[object Promise]",Sf="[object Set]",$f="[object WeakMap]",_f="[object DataView]",E$=An(Ss),T$=An(so),x$=An($s),O$=An(_s),C$=An(Rs),jn=Nn;(Ss&&jn(new Ss(new ArrayBuffer(1)))!=_f||so&&jn(new so)!=Cf||$s&&jn($s.resolve())!=wf||_s&&jn(new _s)!=Sf||Rs&&jn(new Rs)!=$f)&&(jn=function(e){var t=Nn(e),n=t==y$?e.constructor:void 0,r=n?An(n):"";if(r)switch(r){case E$:return _f;case T$:return Cf;case x$:return wf;case O$:return Sf;case C$:return $f}return t});const Ps=jn;var w$=Object.prototype,S$=w$.hasOwnProperty;function $$(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&S$.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var _$=Xt.Uint8Array;const Rf=_$;function Ns(e){var t=new e.constructor(e.byteLength);return new Rf(t).set(new Rf(e)),t}function R$(e,t){var n=t?Ns(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var P$=/\w*$/;function N$(e){var t=new e.constructor(e.source,P$.exec(e));return t.lastIndex=e.lastIndex,t}var Pf=hn?hn.prototype:void 0,Nf=Pf?Pf.valueOf:void 0;function I$(e){return Nf?Object(Nf.call(e)):{}}function A$(e,t){var n=t?Ns(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var M$="[object Boolean]",k$="[object Date]",j$="[object Map]",D$="[object Number]",F$="[object RegExp]",L$="[object Set]",V$="[object String]",B$="[object Symbol]",U$="[object ArrayBuffer]",z$="[object DataView]",W$="[object Float32Array]",H$="[object Float64Array]",q$="[object Int8Array]",G$="[object Int16Array]",Y$="[object Int32Array]",K$="[object Uint8Array]",X$="[object Uint8ClampedArray]",J$="[object Uint16Array]",Z$="[object Uint32Array]";function Q$(e,t,n){var r=e.constructor;switch(t){case U$:return Ns(e);case M$:case k$:return new r(+e);case z$:return R$(e,n);case W$:case H$:case q$:case G$:case Y$:case K$:case X$:case J$:case Z$:return A$(e,n);case j$:return new r;case D$:case V$:return new r(e);case F$:return N$(e);case L$:return new r;case B$:return I$(e)}}var If=Object.create,e_=function(){function e(){}return function(t){if(!ao(t))return{};if(If)return If(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const t_=e_;function n_(e){return typeof e.constructor=="function"&&!xs(e)?t_(bs(e)):{}}var r_="[object Map]";function o_(e){return In(e)&&Ps(e)==r_}var Af=Er&&Er.isMap,i_=Af?Es(Af):o_;const a_=i_;var s_="[object Set]";function l_(e){return In(e)&&Ps(e)==s_}var Mf=Er&&Er.isSet,c_=Mf?Es(Mf):l_;const u_=c_;var d_=1,f_=2,p_=4,kf="[object Arguments]",h_="[object Array]",m_="[object Boolean]",v_="[object Date]",g_="[object Error]",jf="[object Function]",b_="[object GeneratorFunction]",y_="[object Map]",E_="[object Number]",Df="[object Object]",T_="[object RegExp]",x_="[object Set]",O_="[object String]",C_="[object Symbol]",w_="[object WeakMap]",S_="[object ArrayBuffer]",$_="[object DataView]",__="[object Float32Array]",R_="[object Float64Array]",P_="[object Int8Array]",N_="[object Int16Array]",I_="[object Int32Array]",A_="[object Uint8Array]",M_="[object Uint8ClampedArray]",k_="[object Uint16Array]",j_="[object Uint32Array]",Ke={};Ke[kf]=Ke[h_]=Ke[S_]=Ke[$_]=Ke[m_]=Ke[v_]=Ke[__]=Ke[R_]=Ke[P_]=Ke[N_]=Ke[I_]=Ke[y_]=Ke[E_]=Ke[Df]=Ke[T_]=Ke[x_]=Ke[O_]=Ke[C_]=Ke[A_]=Ke[M_]=Ke[k_]=Ke[j_]=!0,Ke[g_]=Ke[jf]=Ke[w_]=!1;function fo(e,t,n,r,i,a){var s,l=t&d_,u=t&f_,d=t&p_;if(n&&(s=i?n(e,r,i,a):n(e)),s!==void 0)return s;if(!ao(e))return e;var f=co(e);if(f){if(s=$$(e),!l)return bf(e,s)}else{var c=Ps(e),p=c==jf||c==b_;if(lf(e))return o$(e,l);if(c==Df||c==kf||p&&!i){if(s=u||p?{}:n_(e),!l)return u?f$(e,n$(s,e)):c$(e,JS(s,e))}else{if(!Ke[c])return i?e:{};s=Q$(e,c,l)}}a||(a=new yr);var v=a.get(e);if(v)return v;a.set(e,s),u_(e)?e.forEach(function(h){s.add(fo(h,t,n,h,e,a))}):a_(e)&&e.forEach(function(h,y){s.set(y,fo(h,t,n,y,e,a))});var g=d?u?h$:p$:u?Cs:Os,m=f?void 0:g(e);return Kw(m||e,function(h,y){m&&(y=h,h=e[y]),tf(s,y,fo(h,t,n,y,e,a))}),s}var D_=4;function Ff(e){return fo(e,D_)}function Lf(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var F_="[object Symbol]";function Is(e){return typeof e=="symbol"||In(e)&&Nn(e)==F_}var L_="Expected a function";function As(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(L_);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(As.Cache||mn),n}As.Cache=mn;var V_=500;function B_(e){var t=As(e,function(r){return n.size===V_&&n.clear(),r}),n=t.cache;return t}var U_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,z_=/\\(\\)?/g,W_=B_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(U_,function(n,r,i,a){t.push(i?a.replace(z_,"$1"):r||n)}),t});const H_=W_;var q_=1/0;function G_(e){if(typeof e=="string"||Is(e))return e;var t=e+"";return t=="0"&&1/e==-q_?"-0":t}var Y_=1/0,Vf=hn?hn.prototype:void 0,Bf=Vf?Vf.toString:void 0;function Uf(e){if(typeof e=="string")return e;if(co(e))return Lf(e,Uf)+"";if(Is(e))return Bf?Bf.call(e):"";var t=e+"";return t=="0"&&1/e==-Y_?"-0":t}function K_(e){return e==null?"":Uf(e)}function zf(e){return co(e)?Lf(e,G_):Is(e)?[e]:bf(H_(K_(e)))}var X_=process.env.NODE_ENV==="production";function vt(e,t){if(!X_){if(e)return;var n="Warning: "+t;typeof console<"u"&&console.warn(n);try{throw Error(n)}catch{}}}var J_=1,Z_=4;function Q_(e){return fo(e,J_|Z_)}function Ge(){return Ge=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ge.apply(this,arguments)}function eR(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Dn(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,a;for(a=0;a<r.length;a++)i=r[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Wf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Hf=function(t){return Array.isArray(t)&&t.length===0},gt=function(t){return typeof t=="function"},ki=function(t){return t!==null&&typeof t=="object"},tR=function(t){return String(Math.floor(Number(t)))===t},Ms=function(t){return Object.prototype.toString.call(t)==="[object String]"},ks=function(t){return I.Children.count(t)===0},js=function(t){return ki(t)&>(t.then)};function nR(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function ct(e,t,n,r){r===void 0&&(r=0);for(var i=zf(t);e&&r<i.length;)e=e[i[r++]];return e===void 0?n:e}function Jt(e,t,n){for(var r=Ff(e),i=r,a=0,s=zf(t);a<s.length-1;a++){var l=s[a],u=ct(e,s.slice(0,a+1));if(u&&(ki(u)||Array.isArray(u)))i=i[l]=Ff(u);else{var d=s[a+1];i=i[l]=tR(d)&&Number(d)>=0?[]:{}}}return(a===0?e:i)[s[a]]===n?e:(n===void 0?delete i[s[a]]:i[s[a]]=n,a===0&&n===void 0&&delete r[s[a]],r)}function qf(e,t,n,r){n===void 0&&(n=new WeakMap),r===void 0&&(r={});for(var i=0,a=Object.keys(e);i<a.length;i++){var s=a[i],l=e[s];ki(l)?n.get(l)||(n.set(l,!0),r[s]=Array.isArray(l)?[]:{},qf(l,t,n,r[s])):r[s]=t}return r}var ji=I.createContext(void 0);ji.displayName="FormikContext";var rR=ji.Provider;ji.Consumer;function Ds(){var e=I.useContext(ji);return e||(process.env.NODE_ENV!=="production"?vt(!1,"Formik context is undefined, please verify you are calling useFormikContext() as child of a <Formik> component."):vt(!1)),e}function oR(e,t){switch(t.type){case"SET_VALUES":return Ge({},e,{values:t.payload});case"SET_TOUCHED":return Ge({},e,{touched:t.payload});case"SET_ERRORS":return pn(e.errors,t.payload)?e:Ge({},e,{errors:t.payload});case"SET_STATUS":return Ge({},e,{status:t.payload});case"SET_ISSUBMITTING":return Ge({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return Ge({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return Ge({},e,{values:Jt(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return Ge({},e,{touched:Jt(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return Ge({},e,{errors:Jt(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return Ge({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return Ge({},e,{touched:qf(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return Ge({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return Ge({},e,{isSubmitting:!1});default:return e}}var Fn={},Di={};function iR(e){var t=e.validateOnChange,n=t===void 0?!0:t,r=e.validateOnBlur,i=r===void 0?!0:r,a=e.validateOnMount,s=a===void 0?!1:a,l=e.isInitialValid,u=e.enableReinitialize,d=u===void 0?!1:u,f=e.onSubmit,c=Dn(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),p=Ge({validateOnChange:n,validateOnBlur:i,validateOnMount:s,onSubmit:f},c),v=I.useRef(p.initialValues),g=I.useRef(p.initialErrors||Fn),m=I.useRef(p.initialTouched||Di),h=I.useRef(p.initialStatus),y=I.useRef(!1),O=I.useRef({});process.env.NODE_ENV!=="production"&&I.useEffect(function(){typeof l>"u"||(process.env.NODE_ENV!=="production"?vt(!1,"isInitialValid has been deprecated and will be removed in future versions of Formik. Please use initialErrors or validateOnMount instead."):vt(!1))},[]),I.useEffect(function(){return y.current=!0,function(){y.current=!1}},[]);var x=I.useReducer(oR,{values:p.initialValues,errors:p.initialErrors||Fn,touched:p.initialTouched||Di,status:p.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),T=x[0],b=x[1],$=I.useCallback(function(R,V){return new Promise(function(te,oe){var fe=p.validate(R,V);fe==null?te(Fn):js(fe)?fe.then(function(he){te(he||Fn)},function(he){process.env.NODE_ENV!=="production"&&console.warn("Warning: An unhandled error was caught during validation in <Formik validate />",he),oe(he)}):te(fe)})},[p.validate]),S=I.useCallback(function(R,V){var te=p.validationSchema,oe=gt(te)?te(V):te,fe=V&&oe.validateAt?oe.validateAt(V,R):lR(R,oe);return new Promise(function(he,Se){fe.then(function(){he(Fn)},function(He){He.name==="ValidationError"?he(sR(He)):(process.env.NODE_ENV!=="production"&&console.warn("Warning: An unhandled error was caught during validation in <Formik validationSchema />",He),Se(He))})})},[p.validationSchema]),P=I.useCallback(function(R,V){return new Promise(function(te){return te(O.current[R].validate(V))})},[]),N=I.useCallback(function(R){var V=Object.keys(O.current).filter(function(oe){return gt(O.current[oe].validate)}),te=V.length>0?V.map(function(oe){return P(oe,ct(R,oe))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(te).then(function(oe){return oe.reduce(function(fe,he,Se){return he==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||he&&(fe=Jt(fe,V[Se],he)),fe},{})})},[P]),A=I.useCallback(function(R){return Promise.all([N(R),p.validationSchema?S(R):{},p.validate?$(R):{}]).then(function(V){var te=V[0],oe=V[1],fe=V[2],he=gs.all([te,oe,fe],{arrayMerge:cR});return he})},[p.validate,p.validationSchema,N,$,S]),j=At(function(R){return R===void 0&&(R=T.values),b({type:"SET_ISVALIDATING",payload:!0}),A(R).then(function(V){return y.current&&(b({type:"SET_ISVALIDATING",payload:!1}),b({type:"SET_ERRORS",payload:V})),V})});I.useEffect(function(){s&&y.current===!0&&pn(v.current,p.initialValues)&&j(v.current)},[s,j]);var K=I.useCallback(function(R){var V=R&&R.values?R.values:v.current,te=R&&R.errors?R.errors:g.current?g.current:p.initialErrors||{},oe=R&&R.touched?R.touched:m.current?m.current:p.initialTouched||{},fe=R&&R.status?R.status:h.current?h.current:p.initialStatus;v.current=V,g.current=te,m.current=oe,h.current=fe;var he=function(){b({type:"RESET_FORM",payload:{isSubmitting:!!R&&!!R.isSubmitting,errors:te,touched:oe,status:fe,values:V,isValidating:!!R&&!!R.isValidating,submitCount:R&&R.submitCount&&typeof R.submitCount=="number"?R.submitCount:0}})};if(p.onReset){var Se=p.onReset(T.values,Q);js(Se)?Se.then(he):he()}else he()},[p.initialErrors,p.initialStatus,p.initialTouched]);I.useEffect(function(){y.current===!0&&!pn(v.current,p.initialValues)&&(d&&(v.current=p.initialValues,K()),s&&j(v.current))},[d,p.initialValues,K,s,j]),I.useEffect(function(){d&&y.current===!0&&!pn(g.current,p.initialErrors)&&(g.current=p.initialErrors||Fn,b({type:"SET_ERRORS",payload:p.initialErrors||Fn}))},[d,p.initialErrors]),I.useEffect(function(){d&&y.current===!0&&!pn(m.current,p.initialTouched)&&(m.current=p.initialTouched||Di,b({type:"SET_TOUCHED",payload:p.initialTouched||Di}))},[d,p.initialTouched]),I.useEffect(function(){d&&y.current===!0&&!pn(h.current,p.initialStatus)&&(h.current=p.initialStatus,b({type:"SET_STATUS",payload:p.initialStatus}))},[d,p.initialStatus,p.initialTouched]);var G=At(function(R){if(O.current[R]&>(O.current[R].validate)){var V=ct(T.values,R),te=O.current[R].validate(V);return js(te)?(b({type:"SET_ISVALIDATING",payload:!0}),te.then(function(oe){return oe}).then(function(oe){b({type:"SET_FIELD_ERROR",payload:{field:R,value:oe}}),b({type:"SET_ISVALIDATING",payload:!1})})):(b({type:"SET_FIELD_ERROR",payload:{field:R,value:te}}),Promise.resolve(te))}else if(p.validationSchema)return b({type:"SET_ISVALIDATING",payload:!0}),S(T.values,R).then(function(oe){return oe}).then(function(oe){b({type:"SET_FIELD_ERROR",payload:{field:R,value:oe[R]}}),b({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),D=I.useCallback(function(R,V){var te=V.validate;O.current[R]={validate:te}},[]),z=I.useCallback(function(R){delete O.current[R]},[]),F=At(function(R,V){b({type:"SET_TOUCHED",payload:R});var te=V===void 0?i:V;return te?j(T.values):Promise.resolve()}),ie=I.useCallback(function(R){b({type:"SET_ERRORS",payload:R})},[]),ae=At(function(R,V){var te=gt(R)?R(T.values):R;b({type:"SET_VALUES",payload:te});var oe=V===void 0?n:V;return oe?j(te):Promise.resolve()}),le=I.useCallback(function(R,V){b({type:"SET_FIELD_ERROR",payload:{field:R,value:V}})},[]),_=At(function(R,V,te){b({type:"SET_FIELD_VALUE",payload:{field:R,value:V}});var oe=te===void 0?n:te;return oe?j(Jt(T.values,R,V)):Promise.resolve()}),M=I.useCallback(function(R,V){var te=V,oe=R,fe;if(!Ms(R)){R.persist&&R.persist();var he=R.target?R.target:R.currentTarget,Se=he.type,He=he.name,H=he.id,L=he.value,U=he.checked,de=he.outerHTML,be=he.options,Pe=he.multiple;te=V||He||H,!te&&process.env.NODE_ENV!=="production"&&Gf({htmlContent:de,documentationAnchorLink:"handlechange-e-reactchangeeventany--void",handlerName:"handleChange"}),oe=/number|range/.test(Se)?(fe=parseFloat(L),isNaN(fe)?"":fe):/checkbox/.test(Se)?dR(ct(T.values,te),U,L):be&&Pe?uR(be):L}te&&_(te,oe)},[_,T.values]),J=At(function(R){if(Ms(R))return function(V){return M(V,R)};M(R)}),ne=At(function(R,V,te){V===void 0&&(V=!0),b({type:"SET_FIELD_TOUCHED",payload:{field:R,value:V}});var oe=te===void 0?i:te;return oe?j(T.values):Promise.resolve()}),Y=I.useCallback(function(R,V){R.persist&&R.persist();var te=R.target,oe=te.name,fe=te.id,he=te.outerHTML,Se=V||oe||fe;!Se&&process.env.NODE_ENV!=="production"&&Gf({htmlContent:he,documentationAnchorLink:"handleblur-e-any--void",handlerName:"handleBlur"}),ne(Se,!0)},[ne]),re=At(function(R){if(Ms(R))return function(V){return Y(V,R)};Y(R)}),Z=I.useCallback(function(R){gt(R)?b({type:"SET_FORMIK_STATE",payload:R}):b({type:"SET_FORMIK_STATE",payload:function(){return R}})},[]),ue=I.useCallback(function(R){b({type:"SET_STATUS",payload:R})},[]),ee=I.useCallback(function(R){b({type:"SET_ISSUBMITTING",payload:R})},[]),X=At(function(){return b({type:"SUBMIT_ATTEMPT"}),j().then(function(R){var V=R instanceof Error,te=!V&&Object.keys(R).length===0;if(te){var oe;try{if(oe=B(),oe===void 0)return}catch(fe){throw fe}return Promise.resolve(oe).then(function(fe){return y.current&&b({type:"SUBMIT_SUCCESS"}),fe}).catch(function(fe){if(y.current)throw b({type:"SUBMIT_FAILURE"}),fe})}else if(y.current&&(b({type:"SUBMIT_FAILURE"}),V))throw R})}),ce=At(function(R){if(R&&R.preventDefault&>(R.preventDefault)&&R.preventDefault(),R&&R.stopPropagation&>(R.stopPropagation)&&R.stopPropagation(),process.env.NODE_ENV!=="production"&&typeof document<"u"){var V=nR();V!==null&&V instanceof HTMLButtonElement&&(V.attributes&&V.attributes.getNamedItem("type")||(process.env.NODE_ENV!=="production"?vt(!1,'You submitted a Formik form using a button with an unspecified `type` attribute. Most browsers default button elements to `type="submit"`. If this is not a submit button, please add `type="button"`.'):vt(!1)))}X().catch(function(te){console.warn("Warning: An unhandled error was caught from submitForm()",te)})}),Q={resetForm:K,validateForm:j,validateField:G,setErrors:ie,setFieldError:le,setFieldTouched:ne,setFieldValue:_,setStatus:ue,setSubmitting:ee,setTouched:F,setValues:ae,setFormikState:Z,submitForm:X},B=At(function(){return f(T.values,Q)}),Ee=At(function(R){R&&R.preventDefault&>(R.preventDefault)&&R.preventDefault(),R&&R.stopPropagation&>(R.stopPropagation)&&R.stopPropagation(),K()}),k=I.useCallback(function(R){return{value:ct(T.values,R),error:ct(T.errors,R),touched:!!ct(T.touched,R),initialValue:ct(v.current,R),initialTouched:!!ct(m.current,R),initialError:ct(g.current,R)}},[T.errors,T.touched,T.values]),we=I.useCallback(function(R){return{setValue:function(te,oe){return _(R,te,oe)},setTouched:function(te,oe){return ne(R,te,oe)},setError:function(te){return le(R,te)}}},[_,ne,le]),je=I.useCallback(function(R){var V=ki(R),te=V?R.name:R,oe=ct(T.values,te),fe={name:te,value:oe,onChange:J,onBlur:re};if(V){var he=R.type,Se=R.value,He=R.as,H=R.multiple;he==="checkbox"?Se===void 0?fe.checked=!!oe:(fe.checked=!!(Array.isArray(oe)&&~oe.indexOf(Se)),fe.value=Se):he==="radio"?(fe.checked=oe===Se,fe.value=Se):He==="select"&&H&&(fe.value=fe.value||[],fe.multiple=!0)}return fe},[re,J,T.values]),Te=I.useMemo(function(){return!pn(v.current,T.values)},[v.current,T.values]),Re=I.useMemo(function(){return typeof l<"u"?Te?T.errors&&Object.keys(T.errors).length===0:l!==!1&>(l)?l(p):l:T.errors&&Object.keys(T.errors).length===0},[l,Te,T.errors,p]),ot=Ge({},T,{initialValues:v.current,initialErrors:g.current,initialTouched:m.current,initialStatus:h.current,handleBlur:re,handleChange:J,handleReset:Ee,handleSubmit:ce,resetForm:K,setErrors:ie,setFormikState:Z,setFieldTouched:ne,setFieldValue:_,setFieldError:le,setStatus:ue,setSubmitting:ee,setTouched:F,setValues:ae,submitForm:X,validateForm:j,validateField:G,isValid:Re,dirty:Te,unregisterField:z,registerField:D,getFieldProps:je,getFieldMeta:k,getFieldHelpers:we,validateOnBlur:i,validateOnChange:n,validateOnMount:s});return ot}function aR(e){var t=iR(e),n=e.component,r=e.children,i=e.render,a=e.innerRef;return I.useImperativeHandle(a,function(){return t}),process.env.NODE_ENV!=="production"&&I.useEffect(function(){e.render&&(process.env.NODE_ENV!=="production"?vt(!1,"<Formik render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Formik render={(props) => ...} /> with <Formik>{(props) => ...}</Formik>"):vt(!1))},[]),I.createElement(rR,{value:t},n?I.createElement(n,t):i?i(t):r?gt(r)?r(t):ks(r)?null:I.Children.only(r):null)}function Gf(e){var t=e.htmlContent,n=e.documentationAnchorLink,r=e.handlerName;console.warn("Warning: Formik called `"+r+"`, but you forgot to pass an `id` or `name` attribute to your input:\n "+t+`
|
|
226
|
+
Formik cannot determine which value to update. For more info see https://formik.org/docs/api/formik#`+n+`
|
|
227
|
+
`)}function sR(e){var t={};if(e.inner){if(e.inner.length===0)return Jt(t,e.path,e.message);for(var i=e.inner,n=Array.isArray(i),r=0,i=n?i:i[Symbol.iterator]();;){var a;if(n){if(r>=i.length)break;a=i[r++]}else{if(r=i.next(),r.done)break;a=r.value}var s=a;ct(t,s.path)||(t=Jt(t,s.path,s.message))}}return t}function lR(e,t,n,r){n===void 0&&(n=!1),r===void 0&&(r={});var i=Fs(e);return t[n?"validateSync":"validate"](i,{abortEarly:!1,context:r})}function Fs(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);Array.isArray(e[r])===!0?t[r]=e[r].map(function(i){return Array.isArray(i)===!0||Kd(i)?Fs(i):i!==""?i:void 0}):Kd(e[r])?t[r]=Fs(e[r]):t[r]=e[r]!==""?e[r]:void 0}return t}function cR(e,t,n){var r=e.slice();return t.forEach(function(a,s){if(typeof r[s]>"u"){var l=n.clone!==!1,u=l&&n.isMergeableObject(a);r[s]=u?gs(Array.isArray(a)?[]:{},a,n):a}else n.isMergeableObject(a)?r[s]=gs(e[s],a,n):e.indexOf(a)===-1&&r.push(a)}),r}function uR(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function dR(e,t,n){if(typeof e=="boolean")return Boolean(t);var r=[],i=!1,a=-1;if(Array.isArray(e))r=e,a=e.indexOf(n),i=a>=0;else if(!n||n=="true"||n=="false")return Boolean(t);return t&&n&&!i?r.concat(n):i?r.slice(0,a).concat(r.slice(a+1)):r}var fR=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?I.useLayoutEffect:I.useEffect;function At(e){var t=I.useRef(e);return fR(function(){t.current=e}),I.useCallback(function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t.current.apply(void 0,r)},[])}function pR(e){var t=e.validate,n=e.name,r=e.render,i=e.children,a=e.as,s=e.component,l=Dn(e,["validate","name","render","children","as","component"]),u=Ds(),d=Dn(u,["validate","validationSchema"]);process.env.NODE_ENV!=="production"&&I.useEffect(function(){r&&(process.env.NODE_ENV!=="production"?vt(!1,'<Field render> has been deprecated and will be removed in future versions of Formik. Please use a child callback function instead. To get rid of this warning, replace <Field name="'+n+'" render={({field, form}) => ...} /> with <Field name="'+n+'">{({field, form, meta}) => ...}</Field>'):vt(!1)),a&&i&>(i)&&(process.env.NODE_ENV!=="production"?vt(!1,"You should not use <Field as> and <Field children> as a function in the same <Field> component; <Field as> will be ignored."):vt(!1)),s&&i&>(i)&&(process.env.NODE_ENV!=="production"?vt(!1,"You should not use <Field component> and <Field children> as a function in the same <Field> component; <Field component> will be ignored."):vt(!1)),r&&i&&!ks(i)&&(process.env.NODE_ENV!=="production"?vt(!1,"You should not use <Field render> and <Field children> in the same <Field> component; <Field children> will be ignored"):vt(!1))},[]);var f=d.registerField,c=d.unregisterField;I.useEffect(function(){return f(n,{validate:t}),function(){c(n)}},[f,c,n,t]);var p=d.getFieldProps(Ge({name:n},l)),v=d.getFieldMeta(n),g={field:p,form:d};if(r)return r(Ge({},g,{meta:v}));if(gt(i))return i(Ge({},g,{meta:v}));if(s){if(typeof s=="string"){var m=l.innerRef,h=Dn(l,["innerRef"]);return I.createElement(s,Ge({ref:m},p,h),i)}return I.createElement(s,Ge({field:p,form:d},l),i)}var y=a||"input";if(typeof y=="string"){var O=l.innerRef,x=Dn(l,["innerRef"]);return I.createElement(y,Ge({ref:O},p,x),i)}return I.createElement(y,Ge({},p,l),i)}var hR=I.forwardRef(function(e,t){var n=e.action,r=Dn(e,["action"]),i=n??"#",a=Ds(),s=a.handleReset,l=a.handleSubmit;return I.createElement("form",Object.assign({onSubmit:l,ref:t,onReset:s,action:i},r))});hR.displayName="Form";var mR=function(t,n,r){var i=Tr(t),a=i[n];return i.splice(n,1),i.splice(r,0,a),i},vR=function(t,n,r){var i=Tr(t),a=i[n];return i[n]=i[r],i[r]=a,i},Ls=function(t,n,r){var i=Tr(t);return i.splice(n,0,r),i},gR=function(t,n,r){var i=Tr(t);return i[n]=r,i},Tr=function(t){if(t){if(Array.isArray(t))return[].concat(t);var n=Object.keys(t).map(function(r){return parseInt(r)}).reduce(function(r,i){return i>r?i:r},0);return Array.from(Ge({},t,{length:n+1}))}else return[]},bR=function(e){eR(t,e);function t(r){var i;return i=e.call(this,r)||this,i.updateArrayField=function(a,s,l){var u=i.props,d=u.name,f=u.formik.setFormikState;f(function(c){var p=typeof l=="function"?l:a,v=typeof s=="function"?s:a,g=Jt(c.values,d,a(ct(c.values,d))),m=l?p(ct(c.errors,d)):void 0,h=s?v(ct(c.touched,d)):void 0;return Hf(m)&&(m=void 0),Hf(h)&&(h=void 0),Ge({},c,{values:g,errors:l?Jt(c.errors,d,m):c.errors,touched:s?Jt(c.touched,d,h):c.touched})})},i.push=function(a){return i.updateArrayField(function(s){return[].concat(Tr(s),[Q_(a)])},!1,!1)},i.handlePush=function(a){return function(){return i.push(a)}},i.swap=function(a,s){return i.updateArrayField(function(l){return vR(l,a,s)},!0,!0)},i.handleSwap=function(a,s){return function(){return i.swap(a,s)}},i.move=function(a,s){return i.updateArrayField(function(l){return mR(l,a,s)},!0,!0)},i.handleMove=function(a,s){return function(){return i.move(a,s)}},i.insert=function(a,s){return i.updateArrayField(function(l){return Ls(l,a,s)},function(l){return Ls(l,a,null)},function(l){return Ls(l,a,null)})},i.handleInsert=function(a,s){return function(){return i.insert(a,s)}},i.replace=function(a,s){return i.updateArrayField(function(l){return gR(l,a,s)},!1,!1)},i.handleReplace=function(a,s){return function(){return i.replace(a,s)}},i.unshift=function(a){var s=-1;return i.updateArrayField(function(l){var u=l?[a].concat(l):[a];return s<0&&(s=u.length),u},function(l){var u=l?[null].concat(l):[null];return s<0&&(s=u.length),u},function(l){var u=l?[null].concat(l):[null];return s<0&&(s=u.length),u}),s},i.handleUnshift=function(a){return function(){return i.unshift(a)}},i.handleRemove=function(a){return function(){return i.remove(a)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(Wf(i)),i.pop=i.pop.bind(Wf(i)),i}var n=t.prototype;return n.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!pn(ct(i.formik.values,i.name),ct(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},n.remove=function(i){var a;return this.updateArrayField(function(s){var l=s?Tr(s):[];return a||(a=l[i]),gt(l.splice)&&l.splice(i,1),l},!0,!0),a},n.pop=function(){var i;return this.updateArrayField(function(a){var s=a;return i||(i=s&&s.pop&&s.pop()),s},!0,!0),i},n.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,s=a.component,l=a.render,u=a.children,d=a.name,f=a.formik,c=Dn(f,["validate","validationSchema"]),p=Ge({},i,{form:c,name:d});return s?I.createElement(s,p):l?l(p):u?typeof u=="function"?u(p):ks(u)?null:I.Children.only(u):null},t}(I.Component);bR.defaultProps={validateOnChange:!0};/*! *****************************************************************************
|
|
228
|
+
Copyright (c) Microsoft Corporation.
|
|
229
|
+
|
|
230
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
231
|
+
purpose with or without fee is hereby granted.
|
|
232
|
+
|
|
233
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
234
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
235
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
236
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
237
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
238
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
239
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
240
|
+
***************************************************************************** */var vn=function(){return vn=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},vn.apply(this,arguments)};function po(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function yR(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function l(f){try{d(r.next(f))}catch(c){s(c)}}function u(f){try{d(r.throw(f))}catch(c){s(c)}}function d(f){f.done?a(f.value):i(f.value).then(l,u)}d((r=r.apply(e,t||[])).next())})}function ER(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(d){return function(f){return u([d,f])}}function u(d){if(r)throw new TypeError("Generator is already executing.");for(;n;)try{if(r=1,i&&(a=d[0]&2?i.return:d[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,d[1])).done)return a;switch(i=0,a&&(d=[d[0]&2,a.value]),d[0]){case 0:case 1:a=d;break;case 4:return n.label++,{value:d[1],done:!1};case 5:n.label++,i=d[1],d=[0];continue;case 7:d=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(d[0]===6||d[0]===2)){n=0;continue}if(d[0]===3&&(!a||d[1]>a[0]&&d[1]<a[3])){n.label=d[1];break}if(d[0]===6&&n.label<a[1]){n.label=a[1],a=d;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(d);break}a[2]&&n.ops.pop(),n.trys.pop();continue}d=t.call(e,n)}catch(f){d=[6,f],i=0}finally{r=a=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function TR(e){var t=this,n=e.disabled,r=e.field;r.onBlur;var i=r.onChange,a=po(r,["onBlur","onChange"]),s=e.form,l=s.isSubmitting,u=s.touched,d=s.errors,f=s.setFieldTouched,c=s.setFieldValue,p=e.onClose,v=po(e,["disabled","field","form","onClose"]),g=ct(d,a.name),m=ct(u,a.name)&&!!g;return vn(vn({disabled:n??l,error:m,formError:m?g:void 0,onBlur:function(){},onChange:i??function(){},onClose:p??function(h){return yR(t,void 0,void 0,function(){var y;return ER(this,function(O){switch(O.label){case 0:return y=h.target.dataset,y&&y.value?[4,c(a.name,y.value,!1)]:[3,2];case 1:O.sent(),O.label=2;case 2:return f(a.name,!0,!0),[2]}})})}},a),v)}function Yf(e){var t=e.formControl,n=e.inputLabel,r=e.formHelperText,i=po(e,["formControl","inputLabel","formHelperText"]),a=TR(i),s=a.error,l=a.formError,u=a.disabled,d=po(a,["error","formError","disabled"]),f=r||{},c=f.children,p=po(f,["children"]),v=s||c;return E.createElement(p0,vn({disabled:u,error:s},t),E.createElement(j0,vn({id:d.labelId},n),d.label),E.createElement(lT,vn({},d)),v&&E.createElement(b0,vn({},p),s?l:c))}Yf.displayName="FormikMaterialUISelect";var Vs={},xR={get exports(){return Vs},set exports(e){Vs=e}};/*!***************************************************
|
|
241
|
+
* mark.js v8.11.1
|
|
242
|
+
* https://markjs.io/
|
|
243
|
+
* Copyright (c) 2014–2018, Julian Kühnel
|
|
244
|
+
* Released under the MIT license https://git.io/vwTVl
|
|
245
|
+
*****************************************************/(function(e,t){(function(n,r){e.exports=r()})(_r,function(){var n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d},r=function(d,f){if(!(d instanceof f))throw new TypeError("Cannot call a class as a function")},i=function(){function d(f,c){for(var p=0;p<c.length;p++){var v=c[p];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(f,v.key,v)}}return function(f,c,p){return c&&d(f.prototype,c),p&&d(f,p),f}}(),a=Object.assign||function(d){for(var f=1;f<arguments.length;f++){var c=arguments[f];for(var p in c)Object.prototype.hasOwnProperty.call(c,p)&&(d[p]=c[p])}return d},s=function(){function d(f){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:5e3;r(this,d),this.ctx=f,this.iframes=c,this.exclude=p,this.iframesTimeout=v}return i(d,[{key:"getContexts",value:function(){var c=void 0,p=[];return typeof this.ctx>"u"||!this.ctx?c=[]:NodeList.prototype.isPrototypeOf(this.ctx)?c=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?c=this.ctx:typeof this.ctx=="string"?c=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):c=[this.ctx],c.forEach(function(v){var g=p.filter(function(m){return m.contains(v)}).length>0;p.indexOf(v)===-1&&!g&&p.push(v)}),p}},{key:"getIframeContents",value:function(c,p){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:function(){},g=void 0;try{var m=c.contentWindow;if(g=m.document,!m||!g)throw new Error("iframe inaccessible")}catch{v()}g&&p(g)}},{key:"isIframeBlank",value:function(c){var p="about:blank",v=c.getAttribute("src").trim(),g=c.contentWindow.location.href;return g===p&&v!==p&&v}},{key:"observeIframeLoad",value:function(c,p,v){var g=this,m=!1,h=null,y=function O(){if(!m){m=!0,clearTimeout(h);try{g.isIframeBlank(c)||(c.removeEventListener("load",O),g.getIframeContents(c,p,v))}catch{v()}}};c.addEventListener("load",y),h=setTimeout(y,this.iframesTimeout)}},{key:"onIframeReady",value:function(c,p,v){try{c.contentWindow.document.readyState==="complete"?this.isIframeBlank(c)?this.observeIframeLoad(c,p,v):this.getIframeContents(c,p,v):this.observeIframeLoad(c,p,v)}catch{v()}}},{key:"waitForIframes",value:function(c,p){var v=this,g=0;this.forEachIframe(c,function(){return!0},function(m){g++,v.waitForIframes(m.querySelector("html"),function(){--g||p()})},function(m){m||p()})}},{key:"forEachIframe",value:function(c,p,v){var g=this,m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},h=c.querySelectorAll("iframe"),y=h.length,O=0;h=Array.prototype.slice.call(h);var x=function(){--y<=0&&m(O)};y||x(),h.forEach(function(T){d.matches(T,g.exclude)?x():g.onIframeReady(T,function(b){p(T)&&(O++,v(b)),x()},x)})}},{key:"createIterator",value:function(c,p,v){return document.createNodeIterator(c,p,v,!1)}},{key:"createInstanceOnIframe",value:function(c){return new d(c.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(c,p,v){var g=c.compareDocumentPosition(v),m=Node.DOCUMENT_POSITION_PRECEDING;if(g&m)if(p!==null){var h=p.compareDocumentPosition(v),y=Node.DOCUMENT_POSITION_FOLLOWING;if(h&y)return!0}else return!0;return!1}},{key:"getIteratorNode",value:function(c){var p=c.previousNode(),v=void 0;return p===null?v=c.nextNode():v=c.nextNode()&&c.nextNode(),{prevNode:p,node:v}}},{key:"checkIframeFilter",value:function(c,p,v,g){var m=!1,h=!1;return g.forEach(function(y,O){y.val===v&&(m=O,h=y.handled)}),this.compareNodeIframe(c,p,v)?(m===!1&&!h?g.push({val:v,handled:!0}):m!==!1&&!h&&(g[m].handled=!0),!0):(m===!1&&g.push({val:v,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(c,p,v,g){var m=this;c.forEach(function(h){h.handled||m.getIframeContents(h.val,function(y){m.createInstanceOnIframe(y).forEachNode(p,v,g)})})}},{key:"iterateThroughNodes",value:function(c,p,v,g,m){for(var h=this,y=this.createIterator(p,c,g),O=[],x=[],T=void 0,b=void 0,$=function(){var P=h.getIteratorNode(y);return b=P.prevNode,T=P.node,T};$();)this.iframes&&this.forEachIframe(p,function(S){return h.checkIframeFilter(T,b,S,O)},function(S){h.createInstanceOnIframe(S).forEachNode(c,function(P){return x.push(P)},g)}),x.push(T);x.forEach(function(S){v(S)}),this.iframes&&this.handleOpenIframes(O,c,v,g),m()}},{key:"forEachNode",value:function(c,p,v){var g=this,m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:function(){},h=this.getContexts(),y=h.length;y||m(),h.forEach(function(O){var x=function(){g.iterateThroughNodes(c,O,p,v,function(){--y<=0&&m()})};g.iframes?g.waitForIframes(O,x):x()})}}],[{key:"matches",value:function(c,p){var v=typeof p=="string"?[p]:p,g=c.matches||c.matchesSelector||c.msMatchesSelector||c.mozMatchesSelector||c.oMatchesSelector||c.webkitMatchesSelector;if(g){var m=!1;return v.every(function(h){return g.call(c,h)?(m=!0,!1):!0}),m}else return!1}}]),d}(),l=function(){function d(f){r(this,d),this.ctx=f,this.ie=!1;var c=window.navigator.userAgent;(c.indexOf("MSIE")>-1||c.indexOf("Trident")>-1)&&(this.ie=!0)}return i(d,[{key:"log",value:function(c){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"debug",v=this.opt.log;this.opt.debug&&(typeof v>"u"?"undefined":n(v))==="object"&&typeof v[p]=="function"&&v[p]("mark.js: "+c)}},{key:"escapeStr",value:function(c){return c.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(c){return this.opt.wildcards!=="disabled"&&(c=this.setupWildcardsRegExp(c)),c=this.escapeStr(c),Object.keys(this.opt.synonyms).length&&(c=this.createSynonymsRegExp(c)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),this.opt.diacritics&&(c=this.createDiacriticsRegExp(c)),c=this.createMergedBlanksRegExp(c),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.createJoinersRegExp(c)),this.opt.wildcards!=="disabled"&&(c=this.createWildcardsRegExp(c)),c=this.createAccuracyRegExp(c),c}},{key:"createSynonymsRegExp",value:function(c){var p=this.opt.synonyms,v=this.opt.caseSensitive?"":"i",g=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(var m in p)if(p.hasOwnProperty(m)){var h=p[m],y=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(m):this.escapeStr(m),O=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(h):this.escapeStr(h);y!==""&&O!==""&&(c=c.replace(new RegExp("("+this.escapeStr(y)+"|"+this.escapeStr(O)+")","gm"+v),g+("("+this.processSynomyms(y)+"|")+(this.processSynomyms(O)+")")+g))}return c}},{key:"processSynomyms",value:function(c){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(c=this.setupIgnoreJoinersRegExp(c)),c}},{key:"setupWildcardsRegExp",value:function(c){return c=c.replace(/(?:\\)*\?/g,function(p){return p.charAt(0)==="\\"?"?":""}),c.replace(/(?:\\)*\*/g,function(p){return p.charAt(0)==="\\"?"*":""})}},{key:"createWildcardsRegExp",value:function(c){var p=this.opt.wildcards==="withSpaces";return c.replace(/\u0001/g,p?"[\\S\\s]?":"\\S?").replace(/\u0002/g,p?"[\\S\\s]*?":"\\S*")}},{key:"setupIgnoreJoinersRegExp",value:function(c){return c.replace(/[^(|)\\]/g,function(p,v,g){var m=g.charAt(v+1);return/[(|)\\]/.test(m)||m===""?p:p+"\0"})}},{key:"createJoinersRegExp",value:function(c){var p=[],v=this.opt.ignorePunctuation;return Array.isArray(v)&&v.length&&p.push(this.escapeStr(v.join(""))),this.opt.ignoreJoiners&&p.push("\\u00ad\\u200b\\u200c\\u200d"),p.length?c.split(/\u0000+/).join("["+p.join("")+"]*"):c}},{key:"createDiacriticsRegExp",value:function(c){var p=this.opt.caseSensitive?"":"i",v=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"],g=[];return c.split("").forEach(function(m){v.every(function(h){if(h.indexOf(m)!==-1){if(g.indexOf(h)>-1)return!1;c=c.replace(new RegExp("["+h+"]","gm"+p),"["+h+"]"),g.push(h)}return!0})}),c}},{key:"createMergedBlanksRegExp",value:function(c){return c.replace(/[\s]+/gmi,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(c){var p=this,v="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿",g=this.opt.accuracy,m=typeof g=="string"?g:g.value,h=typeof g=="string"?[]:g.limiters,y="";switch(h.forEach(function(O){y+="|"+p.escapeStr(O)}),m){case"partially":default:return"()("+c+")";case"complementary":return y="\\s"+(y||this.escapeStr(v)),"()([^"+y+"]*"+c+"[^"+y+"]*)";case"exactly":return"(^|\\s"+y+")("+c+")(?=$|\\s"+y+")"}}},{key:"getSeparatedKeywords",value:function(c){var p=this,v=[];return c.forEach(function(g){p.opt.separateWordSearch?g.split(" ").forEach(function(m){m.trim()&&v.indexOf(m)===-1&&v.push(m)}):g.trim()&&v.indexOf(g)===-1&&v.push(g)}),{keywords:v.sort(function(g,m){return m.length-g.length}),length:v.length}}},{key:"isNumeric",value:function(c){return Number(parseFloat(c))==c}},{key:"checkRanges",value:function(c){var p=this;if(!Array.isArray(c)||Object.prototype.toString.call(c[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(c),[];var v=[],g=0;return c.sort(function(m,h){return m.start-h.start}).forEach(function(m){var h=p.callNoMatchOnInvalidRanges(m,g),y=h.start,O=h.end,x=h.valid;x&&(m.start=y,m.length=O-y,v.push(m),g=O)}),v}},{key:"callNoMatchOnInvalidRanges",value:function(c,p){var v=void 0,g=void 0,m=!1;return c&&typeof c.start<"u"?(v=parseInt(c.start,10),g=v+parseInt(c.length,10),this.isNumeric(c.start)&&this.isNumeric(c.length)&&g-p>0&&g-v>0?m=!0:(this.log("Ignoring invalid or overlapping range: "+(""+JSON.stringify(c))),this.opt.noMatch(c))):(this.log("Ignoring invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:v,end:g,valid:m}}},{key:"checkWhitespaceRanges",value:function(c,p,v){var g=void 0,m=!0,h=v.length,y=p-h,O=parseInt(c.start,10)-y;return O=O>h?h:O,g=O+parseInt(c.length,10),g>h&&(g=h,this.log("End range automatically set to the max value of "+h)),O<0||g-O<0||O>h||g>h?(m=!1,this.log("Invalid range: "+JSON.stringify(c)),this.opt.noMatch(c)):v.substring(O,g).replace(/\s+/g,"")===""&&(m=!1,this.log("Skipping whitespace only range: "+JSON.stringify(c)),this.opt.noMatch(c)),{start:O,end:g,valid:m}}},{key:"getTextNodes",value:function(c){var p=this,v="",g=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(m){g.push({start:v.length,end:(v+=m.textContent).length,node:m})},function(m){return p.matchesExclude(m.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){c({value:v,nodes:g})})}},{key:"matchesExclude",value:function(c){return s.matches(c,this.opt.exclude.concat(["script","style","title","head","html"]))}},{key:"wrapRangeInTextNode",value:function(c,p,v){var g=this.opt.element?this.opt.element:"mark",m=c.splitText(p),h=m.splitText(v-p),y=document.createElement(g);return y.setAttribute("data-markjs","true"),this.opt.className&&y.setAttribute("class",this.opt.className),y.textContent=m.textContent,m.parentNode.replaceChild(y,m),h}},{key:"wrapRangeInMappedTextNode",value:function(c,p,v,g,m){var h=this;c.nodes.every(function(y,O){var x=c.nodes[O+1];if(typeof x>"u"||x.start>p){if(!g(y.node))return!1;var T=p-y.start,b=(v>y.end?y.end:v)-y.start,$=c.value.substr(0,y.start),S=c.value.substr(b+y.start);if(y.node=h.wrapRangeInTextNode(y.node,T,b),c.value=$+S,c.nodes.forEach(function(P,N){N>=O&&(c.nodes[N].start>0&&N!==O&&(c.nodes[N].start-=b),c.nodes[N].end-=b)}),v-=b,m(y.node.previousSibling,y.start),v>y.end)p=y.end;else return!1}return!0})}},{key:"wrapMatches",value:function(c,p,v,g,m){var h=this,y=p===0?0:p+1;this.getTextNodes(function(O){O.nodes.forEach(function(x){x=x.node;for(var T=void 0;(T=c.exec(x.textContent))!==null&&T[y]!=="";)if(v(T[y],x)){var b=T.index;if(y!==0)for(var $=1;$<y;$++)b+=T[$].length;x=h.wrapRangeInTextNode(x,b,b+T[y].length),g(x.previousSibling),c.lastIndex=0}}),m()})}},{key:"wrapMatchesAcrossElements",value:function(c,p,v,g,m){var h=this,y=p===0?0:p+1;this.getTextNodes(function(O){for(var x=void 0;(x=c.exec(O.value))!==null&&x[y]!=="";){var T=x.index;if(y!==0)for(var b=1;b<y;b++)T+=x[b].length;var $=T+x[y].length;h.wrapRangeInMappedTextNode(O,T,$,function(S){return v(x[y],S)},function(S,P){c.lastIndex=P,g(S)})}m()})}},{key:"wrapRangeFromIndex",value:function(c,p,v,g){var m=this;this.getTextNodes(function(h){var y=h.value.length;c.forEach(function(O,x){var T=m.checkWhitespaceRanges(O,y,h.value),b=T.start,$=T.end,S=T.valid;S&&m.wrapRangeInMappedTextNode(h,b,$,function(P){return p(P,O,h.value.substring(b,$),x)},function(P){v(P,O)})}),g()})}},{key:"unwrapMatches",value:function(c){for(var p=c.parentNode,v=document.createDocumentFragment();c.firstChild;)v.appendChild(c.removeChild(c.firstChild));p.replaceChild(v,c),this.ie?this.normalizeTextNode(p):p.normalize()}},{key:"normalizeTextNode",value:function(c){if(c){if(c.nodeType===3)for(;c.nextSibling&&c.nextSibling.nodeType===3;)c.nodeValue+=c.nextSibling.nodeValue,c.parentNode.removeChild(c.nextSibling);else this.normalizeTextNode(c.firstChild);this.normalizeTextNode(c.nextSibling)}}},{key:"markRegExp",value:function(c,p){var v=this;this.opt=p,this.log('Searching with expression "'+c+'"');var g=0,m="wrapMatches",h=function(O){g++,v.opt.each(O)};this.opt.acrossElements&&(m="wrapMatchesAcrossElements"),this[m](c,this.opt.ignoreGroups,function(y,O){return v.opt.filter(O,y,g)},h,function(){g===0&&v.opt.noMatch(c),v.opt.done(g)})}},{key:"mark",value:function(c,p){var v=this;this.opt=p;var g=0,m="wrapMatches",h=this.getSeparatedKeywords(typeof c=="string"?[c]:c),y=h.keywords,O=h.length,x=this.opt.caseSensitive?"":"i",T=function b($){var S=new RegExp(v.createRegExp($),"gm"+x),P=0;v.log('Searching with expression "'+S+'"'),v[m](S,1,function(N,A){return v.opt.filter(A,$,g,P)},function(N){P++,g++,v.opt.each(N)},function(){P===0&&v.opt.noMatch($),y[O-1]===$?v.opt.done(g):b(y[y.indexOf($)+1])})};this.opt.acrossElements&&(m="wrapMatchesAcrossElements"),O===0?this.opt.done(g):T(y[0])}},{key:"markRanges",value:function(c,p){var v=this;this.opt=p;var g=0,m=this.checkRanges(c);m&&m.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(m)),this.wrapRangeFromIndex(m,function(h,y,O,x){return v.opt.filter(h,y,O,x)},function(h,y){g++,v.opt.each(h,y)},function(){v.opt.done(g)})):this.opt.done(g)}},{key:"unmark",value:function(c){var p=this;this.opt=c;var v=this.opt.element?this.opt.element:"*";v+="[data-markjs]",this.opt.className&&(v+="."+this.opt.className),this.log('Removal selector "'+v+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(g){p.unwrapMatches(g)},function(g){var m=s.matches(g,v),h=p.matchesExclude(g);return!m||h?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(c){this._opt=a({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:window.console},c)},get:function(){return this._opt}},{key:"iterator",get:function(){return new s(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}}]),d}();function u(d){var f=this,c=new l(d);return this.mark=function(p,v){return c.mark(p,v),f},this.markRegExp=function(p,v){return c.markRegExp(p,v),f},this.markRanges=function(p,v){return c.markRanges(p,v),f},this.unmark=function(p){return c.unmark(p),f},this}return u})})(xR);const OR=Vs,CR=e=>{const[t,n]=I.useState(),r=I.useRef(null);return E.useEffect(()=>{r.current&&n(new OR(r.current))},[r.current]),I.useEffect(()=>{t&&t.unmark({done:()=>{e.searchString&&t.mark(e.searchString)}})},[e.searchString,e.focussedSubPagePath]),ge("div",{ref:r,children:e.children})},Fi=e=>I.isValidElement(e)&&Boolean(e.props.children),ho=e=>I.isValidElement(e)&&Fi(e)&&I.Children.toArray(e.props.children).reduce((t,n)=>t||I.isValidElement(n),!1),Kf=(e,t)=>I.Children.toArray(e).filter(t).map(n=>I.isValidElement(n)&&ho(n)?I.cloneElement(n,{...n.props,children:Kf(n.props.children,t)}):n),Xf=Kf,Jf=(e,t)=>{let n;return I.Children.toArray(e).find((r,i,a)=>t(r,i,a)?(n=r,!0):I.isValidElement(r)&&ho(r)?(n=Jf(r.props.children,t),typeof n<"u"):!1),n},wR=Jf,Zf=(e,t)=>{I.Children.forEach(e,(n,r)=>{I.isValidElement(n)&&ho(n)&&Zf(n.props.children,t),t(n,r)})},SR=Zf,Qf=(e,t)=>I.Children.toArray(e).map((n,r,i)=>I.isValidElement(n)&&ho(n)?t(I.cloneElement(n,{...n.props,children:Qf(n.props.children,t)})):t(n,r,i)),$R=Qf,_R=(e,t)=>I.Children.toArray(e).filter(t),ep=e=>I.isValidElement(e)?typeof e.type=="string"?e.type:e.type.name:null,RR=(e,t=[],n="rest")=>{const r=t.map(i=>typeof i=="string"?i:i.name);return I.Children.toArray(e).reduce((i,a)=>{const s=ep(a),l=s!==null&&r.includes(s)?s:n;return typeof i[l]>"u"&&(i[l]=[]),i[l]=[...i[l],a],i},{})},tp=e=>typeof e>"u"||e===null||typeof e=="boolean"||JSON.stringify(e)==="{}"?"":e.toString(),np=e=>!(e instanceof Array)&&!I.isValidElement(e)?tp(e):I.Children.toArray(e).reduce((t,n)=>{let r="";return I.isValidElement(n)&&Fi(n)?r=np(n.props.children):I.isValidElement(n)&&!Fi(n)?r="":r=tp(n),t.concat(r)},""),PR=np,NR=e=>Xf(e,t=>I.isValidElement(t)),IR={...I.Children,deepFilter:Xf,deepFind:wR,deepForEach:SR,deepMap:$R,filter:_R,getElementName:ep,groupByType:RR,hasChildren:Fi,hasComplexChildren:ho,onlyText:PR,onlyValid:NR},xr=E.createContext({searchString:"",searchRegEx:null,setSearchString:e=>{}}),AR=e=>{const t="",[n,r]=I.useState(t),i=a=>{!a||!a.trim()?r(null):r(a)};return ge(xr.Provider,{value:{searchString:n,searchRegEx:n?new RegExp(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"gi"):null,setSearchString:i},children:e.children})},MR=e=>ge(xr.Consumer,{children:({searchRegEx:t})=>{if(!t)return ge(E.Fragment,{children:e.children});if(t.test(e.label)||e.description&&t.test(IR.onlyText(e.description))||E.Children.toArray(e.kids).some(r=>{var l,u,d;const i=(l=r.props)==null?void 0:l.label;if(i&&t.test(i))return!0;const a=(u=r.props)==null?void 0:u.searchTerms;if(a&&t.test(a))return!0;const s=(d=r.props)==null?void 0:d.children;if(s)return E.Children.toArray(s).some(f=>{var c;if((c=f==null?void 0:f.props)!=null&&c.label)return t.test(f.props.label)})}))return ge(E.Fragment,{children:e.children})}}),kR="rgba(5, 1, 1, 0.26)",rp=E.createContext({focussedSubPagePath:"",setFocussedSubPagePath:e=>{}}),jR=e=>{const[t,n]=I.useState("");return ge(rp.Provider,{value:{focussedSubPagePath:t,setFocussedSubPagePath:n},children:ge(aR,{initialValues:e.initialValues,onSubmit:r=>{},children:({values:r,errors:i,touched:a,handleChange:s,handleBlur:l,handleSubmit:u,isSubmitting:d})=>(e.setValueGetter&&e.setValueGetter(()=>r),e.setValueOnRender&&e.setValueOnRender(r),ge("form",{onSubmit:u,css:yt`
|
|
246
|
+
flex-grow: 1;
|
|
247
|
+
`,children:ge(DR,{currentGroup:e.currentGroupIndex,focussedSubPagePath:t,children:e.children})}))})})},DR=e=>ge(xr.Consumer,{children:({searchString:t})=>ge("div",{id:"groups",css:yt`
|
|
248
|
+
width: 600px;
|
|
249
|
+
//overflow-y: scroll; //allows us to scroll the groups without
|
|
250
|
+
//scrolling the heading tabs
|
|
251
|
+
overflow-y: auto;
|
|
252
|
+
`,children:t?ge(CR,{searchString:t,focussedSubPagePath:e.focussedSubPagePath,children:e.children}):E.Children.toArray(e.children).filter((n,r)=>r===e.currentGroup)})}),FR=e=>nn(MR,{...e,kids:e.children,children:[nn("div",{className:"indentIfInSubPage",css:yt`
|
|
253
|
+
margin-top: 21px !important;
|
|
254
|
+
margin-bottom: 12px !important;
|
|
255
|
+
`,children:[ge(un,{variant:e.level===2?"h3":"h2",children:e.label}),ge(un,{variant:"caption",children:e.description})]}),e.level===1?ge("div",{className:"indentIfInSubPage",children:e.children}):ge(LR,{children:e.children})]}),LR=e=>{const t=VR(e);return ge(pi,{className:"indentIfInSubPage",elevation:2,css:yt`
|
|
256
|
+
width: 100%;
|
|
257
|
+
margin-bottom: 12px !important;
|
|
258
|
+
`,children:ge(Lu,{component:"nav",css:yt`
|
|
259
|
+
width: calc(100% - 20px);
|
|
260
|
+
`,children:ge(BR,{children:t})})})};function VR(e){return E.Children.map(e.children,(t,n)=>E.isValidElement(t)?E.cloneElement(t,{...t.props}):null)}const BR=e=>{const t=E.Children.toArray(e.children).length;return e.children?E.Children.toArray(e.children).reduce((n,r,i)=>{if(!E.isValidElement(r))throw Error("We only expect to be given full elements not, e.g., strings");const a=r,s=ph(UR,{...a.props,key:"filter"+i},a,i<t-1&&ge(r0,{component:"li"},i));return n.concat(s)},[]):null},UR=e=>ge(rp.Consumer,{children:({focussedSubPagePath:t})=>t&&!(e.path===t||op(e.path,t)||op(t,e.path))?null:ge(E.Fragment,{children:e.children})}),zR=e=>{const t=ge(xr.Consumer,{children:({searchRegEx:n})=>{const r=nn(E.Fragment,{children:[ge(cE,{primaryTypographyProps:{variant:"h4"},title:e.path,css:yt`
|
|
261
|
+
color: ${e.disabled?kR:"unset"};
|
|
262
|
+
${e.height?"height:"+e.height:""}
|
|
263
|
+
${e.indented&&"margin-left: 30px;"}
|
|
264
|
+
user-select: none;
|
|
265
|
+
* {
|
|
266
|
+
${e.labelCss}
|
|
267
|
+
}
|
|
268
|
+
`,primary:e.label,secondary:ge(un,{variant:"caption",css:yt`
|
|
269
|
+
&,
|
|
270
|
+
* {
|
|
271
|
+
max-width: calc(100% - 20px);
|
|
272
|
+
}
|
|
273
|
+
`,children:e.description})}),ge(Bu,{css:yt`
|
|
274
|
+
// OK, this feels like a hack. But the MUI default puts it at
|
|
275
|
+
// top:50% which is fine until you have a secondary label, in
|
|
276
|
+
// which case the whole thing gets very tall but really the
|
|
277
|
+
// button should be top-aligned.
|
|
278
|
+
/// Months later.. but it messed up toggleGroups and I'm not seeing the problem it was solving, at the moment.
|
|
279
|
+
//top: 22px;
|
|
280
|
+
`,children:e.control})]});if(n){const i=E.Children.toArray(e.children).filter(a=>n.exec(a.props.label)).length;if(i)return nn("div",{children:[r,ge("span",{css:yt`
|
|
281
|
+
background-color: yellow;
|
|
282
|
+
`,children:`${i} matches`})]})}return r}});return e.onClick?ge(G0,{onClick:e.onClick,children:t}):ge(oE,{css:yt`
|
|
283
|
+
height: ${e.height};
|
|
284
|
+
`,children:t})},WR=e=>{const t=!qR(!0,e.enableWhen);return ge(zR,{...e,disabled:t,control:ge(pR,{name:e.path,disabled:t,component:Yf,sx:{minWidth:180},css:yt`
|
|
285
|
+
.MuiSelect-select {
|
|
286
|
+
padding: 3px !important;
|
|
287
|
+
padding-left: 9px !important;
|
|
288
|
+
background-color: #f1f1f1;
|
|
289
|
+
}
|
|
290
|
+
* {
|
|
291
|
+
border-style: none;
|
|
292
|
+
}
|
|
293
|
+
`,children:e.options.map(n=>{if(typeof n=="number")return ge(ed,{value:n,children:ge("span",{children:n})},n);const r=n.label??n.value,i=n.value??n.label;return ge(ed,{value:i,children:n.description?ge(vT,{title:n.description,children:ge("span",{children:r})}):ge("span",{children:r})},r)})})})};function HR(e,t,n,r=0){const i=CC(t);for(;e&&r<i.length;)e=e[i[r++]];return e===void 0?n:e}function qR(e,t){const{values:n}=Ds();return t?typeof t=="string"?HR(n,t)===!0:t(n):e}function op(e,t){return t.startsWith(e+".")}const GR={typography:{fontFamily:["system-ui",'"Segoe UI"',"Roboto","Arial","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"'].join(","),h2:{fontSize:"20px",fontWeight:"600"},h3:{fontSize:"14px",fontWeight:"600"},h4:{fontSize:"14px",fontWeight:"600"},caption:{fontSize:"12px",lineHeight:"14px",marginTop:"4px"}},components:{MuiSelect:{styleOverrides:{select:{fontSize:"14px"}}},MuiDivider:{styleOverrides:{root:{borderColor:"rgb(234, 234, 234)"}}},MuiFormControlLabel:{styleOverrides:{label:{fontSize:"14px",fontWeight:"600"}}}}},YR=e=>{const[t,n]=I.useState(0),r=Sa({...GR,...e.themeOverrides}),i=E.Children.toArray(e.children).length>1;return ge(Zo,{theme:r,children:ge(AR,{children:ge(xr.Consumer,{children:({searchString:a,setSearchString:s})=>nn(E.Fragment,{children:[ge(ix,{label:e.label,showSearch:e.showSearch,searchValue:a,setSearchString:l=>{a!==l&&(s(l),n(l?void 0:0))}}),nn("div",{css:yt`
|
|
294
|
+
background-color: #f8f9fa;
|
|
295
|
+
height: 100%;
|
|
296
|
+
display: flex;
|
|
297
|
+
padding-right: 20px;
|
|
298
|
+
padding-left: ${i?void 0:"20px"};
|
|
299
|
+
|
|
300
|
+
.MuiTab-wrapper {
|
|
301
|
+
text-align: left;
|
|
302
|
+
align-items: start;
|
|
303
|
+
}
|
|
304
|
+
`,children:[i&&ge(KR,{currentGroup:t,setCurrentGroupIndex:n,children:e.children}),ge(jR,{currentGroupIndex:t,...e})]})]})})})})},KR=e=>{const t=I.useMemo(()=>E.Children.map(e.children,n=>ge(TT,{label:n.props.label,css:yt`
|
|
305
|
+
font-weight: 500;
|
|
306
|
+
align-items: start;
|
|
307
|
+
text-transform: unset;
|
|
308
|
+
color: black;
|
|
309
|
+
font-weight: 500;
|
|
310
|
+
font-size: 13px;
|
|
311
|
+
`},n.props.label)),[e.children]);return ge(xr.Consumer,{children:({searchString:n,setSearchString:r})=>ge(GT,{value:e.currentGroup===void 0?!1:e.currentGroup,onChange:(i,a)=>{n&&(console.log("clearing search from onchange from tab"),r("")),e.setCurrentGroupIndex(a)},centered:!1,orientation:"vertical",css:yt`
|
|
312
|
+
min-width: 150px;
|
|
313
|
+
padding-left: 12px;
|
|
314
|
+
.MuiTabs-indicator {
|
|
315
|
+
display: none;
|
|
316
|
+
}
|
|
317
|
+
.Mui-selected {
|
|
318
|
+
font-weight: bold;
|
|
319
|
+
}
|
|
320
|
+
`,children:t})})};et.ConfigrGroup=FR,et.ConfigrPane=YR,et.ConfigrSelect=WR,Object.defineProperty(et,Symbol.toStringTag,{value:"Module"})});
|