@devopness/ui-react 2.176.0 → 2.177.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/components/Forms/Illustration/Illustration.d.ts +21 -0
- package/dist/src/components/Forms/Illustration/Illustration.styled.d.ts +2 -0
- package/dist/src/components/Forms/Illustration/index.d.ts +1 -0
- package/dist/src/components/Forms/index.d.ts +1 -0
- package/dist/ui-react.cjs +55 -47
- package/dist/ui-react.js +431 -422
- package/package.json +1 -1
package/dist/ui-react.cjs
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
*
|
|
15
15
|
* This source code is licensed under the MIT license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var zc;function vf(){return zc||(zc=1,process.env.NODE_ENV!=="production"&&function(){var e=te,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),y=Symbol.iterator,p="@@iterator";function T(w){if(w===null||typeof w!="object")return null;var D=y&&w[y]||w[p];return typeof D=="function"?D:null}var O=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(w){{for(var D=arguments.length,ee=new Array(D>1?D-1:0),ue=1;ue<D;ue++)ee[ue-1]=arguments[ue];v("error",w,ee)}}function v(w,D,ee){{var ue=O.ReactDebugCurrentFrame,xe=ue.getStackAddendum();xe!==""&&(D+="%s",ee=ee.concat([xe]));var $e=ee.map(function(ye){return String(ye)});$e.unshift("Warning: "+D),Function.prototype.apply.call(console[w],console,$e)}}var
|
|
17
|
+
*/var zc;function vf(){return zc||(zc=1,process.env.NODE_ENV!=="production"&&function(){var e=te,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),c=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),y=Symbol.iterator,p="@@iterator";function T(w){if(w===null||typeof w!="object")return null;var D=y&&w[y]||w[p];return typeof D=="function"?D:null}var O=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function S(w){{for(var D=arguments.length,ee=new Array(D>1?D-1:0),ue=1;ue<D;ue++)ee[ue-1]=arguments[ue];v("error",w,ee)}}function v(w,D,ee){{var ue=O.ReactDebugCurrentFrame,xe=ue.getStackAddendum();xe!==""&&(D+="%s",ee=ee.concat([xe]));var $e=ee.map(function(ye){return String(ye)});$e.unshift("Warning: "+D),Function.prototype.apply.call(console[w],console,$e)}}var x=!1,C=!1,R=!1,P=!1,z=!1,k;k=Symbol.for("react.module.reference");function h(w){return!!(typeof w=="string"||typeof w=="function"||w===r||w===i||z||w===o||w===d||w===u||P||w===g||x||C||R||typeof w=="object"&&w!==null&&(w.$$typeof===m||w.$$typeof===f||w.$$typeof===s||w.$$typeof===c||w.$$typeof===l||w.$$typeof===k||w.getModuleId!==void 0))}function _(w,D,ee){var ue=w.displayName;if(ue)return ue;var xe=D.displayName||D.name||"";return xe!==""?ee+"("+xe+")":ee}function H(w){return w.displayName||"Context"}function I(w){if(w==null)return null;if(typeof w.tag=="number"&&S("Received an unexpected object in getComponentNameFromType(). 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 r:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case d:return"Suspense";case u:return"SuspenseList"}if(typeof w=="object")switch(w.$$typeof){case c:var D=w;return H(D)+".Consumer";case s:var ee=w;return H(ee._context)+".Provider";case l:return _(w,w.render,"ForwardRef");case f:var ue=w.displayName||null;return ue!==null?ue:I(w.type)||"Memo";case m:{var xe=w,$e=xe._payload,ye=xe._init;try{return I(ye($e))}catch{return null}}}return null}var F=Object.assign,L=0,N,q,ae,Q,$,B,K;function ne(){}ne.__reactDisabledLog=!0;function X(){{if(L===0){N=console.log,q=console.info,ae=console.warn,Q=console.error,$=console.group,B=console.groupCollapsed,K=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})}L++}}function U(){{if(L--,L===0){var w={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:F({},w,{value:N}),info:F({},w,{value:q}),warn:F({},w,{value:ae}),error:F({},w,{value:Q}),group:F({},w,{value:$}),groupCollapsed:F({},w,{value:B}),groupEnd:F({},w,{value:K})})}L<0&&S("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var A=O.ReactCurrentDispatcher,Z;function Y(w,D,ee){{if(Z===void 0)try{throw Error()}catch(xe){var ue=xe.stack.trim().match(/\n( *(at )?)/);Z=ue&&ue[1]||""}return`
|
|
18
18
|
`+Z+w}}var ie=!1,G;{var oe=typeof WeakMap=="function"?WeakMap:Map;G=new oe}function j(w,D){if(!w||ie)return"";{var ee=G.get(w);if(ee!==void 0)return ee}var ue;ie=!0;var xe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $e;$e=A.current,A.current=null,X();try{if(D){var ye=function(){throw Error()};if(Object.defineProperty(ye.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ye,[])}catch(it){ue=it}Reflect.construct(w,[],ye)}else{try{ye.call()}catch(it){ue=it}w.call(ye.prototype)}}else{try{throw Error()}catch(it){ue=it}w()}}catch(it){if(it&&ue&&typeof it.stack=="string"){for(var fe=it.stack.split(`
|
|
19
19
|
`),ot=ue.stack.split(`
|
|
20
20
|
`),qe=fe.length-1,Ge=ot.length-1;qe>=1&&Ge>=0&&fe[qe]!==ot[Ge];)Ge--;for(;qe>=1&&Ge>=0;qe--,Ge--)if(fe[qe]!==ot[Ge]){if(qe!==1||Ge!==1)do if(qe--,Ge--,Ge<0||fe[qe]!==ot[Ge]){var gt=`
|
|
@@ -27,7 +27,7 @@ Check the top-level render call using <`+ee+">.")}return D}}function le(w,D){{if
|
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,ui,gn,Sp,gn),he[gn+ui]=!0}}return w===r?se(Ge):re(Ge),Ge}}function Be(w,D,ee){return ge(w,D,ee,!0)}function mt(w,D,ee){return ge(w,D,ee,!1)}var Yt=mt,mn=Be;mr.Fragment=r,mr.jsx=Yt,mr.jsxs=mn}()),mr}var Bc;function bf(){return Bc||(Bc=1,process.env.NODE_ENV==="production"?Gr.exports=yf():Gr.exports=vf()),Gr.exports}var x=bf(),st=function(){return st=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},st.apply(this,arguments)};function Rn(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function xf(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var wf=/^((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|disableRemotePlayback|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)-.*))$/,Cf=xf(function(e){return wf.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Le="-ms-",Or="-moz-",Se="-webkit-",Mu="comm",Fo="rule",rs="decl",Sf="@import",ju="@keyframes",Ef="@layer",Au=Math.abs,os=String.fromCharCode,Ra=Object.assign;function Tf(e,t){return Qe(e,0)^45?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}function Iu(e){return e.trim()}function Xt(e,t){return(e=t.exec(e))?e[0]:e}function de(e,t,n){return e.replace(t,n)}function uo(e,t,n){return e.indexOf(t,n)}function Qe(e,t){return e.charCodeAt(t)|0}function Gn(e,t,n){return e.slice(t,n)}function zt(e){return e.length}function Nu(e){return e.length}function wr(e,t){return t.push(e),e}function Of(e,t){return e.map(t).join("")}function Dc(e,t){return e.filter(function(n){return!Xt(n,t)})}var Ho=1,Yn=1,Lu=0,xt=0,Ye=0,ir="";function Wo(e,t,n,r,o,i,s,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Ho,column:Yn,length:s,return:"",siblings:c}}function on(e,t){return Ra(Wo("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Nn(e){for(;e.root;)e=on(e.root,{children:[e]});wr(e,e.siblings)}function Rf(){return Ye}function Pf(){return Ye=xt>0?Qe(ir,--xt):0,Yn--,Ye===10&&(Yn=1,Ho--),Ye}function Pt(){return Ye=xt<Lu?Qe(ir,xt++):0,Yn++,Ye===10&&(Yn=1,Ho++),Ye}function En(){return Qe(ir,xt)}function po(){return xt}function qo(e,t){return Gn(ir,e,t)}function Pa(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 $f(e){return Ho=Yn=1,Lu=zt(ir=e),xt=0,[]}function kf(e){return ir="",e}function la(e){return Iu(qo(xt-1,$a(e===91?e+2:e===40?e+1:e)))}function _f(e){for(;(Ye=En())&&Ye<33;)Pt();return Pa(e)>2||Pa(Ye)>3?"":" "}function Mf(e,t){for(;--t&&Pt()&&!(Ye<48||Ye>102||Ye>57&&Ye<65||Ye>70&&Ye<97););return qo(e,po()+(t<6&&En()==32&&Pt()==32))}function $a(e){for(;Pt();)switch(Ye){case e:return xt;case 34:case 39:e!==34&&e!==39&&$a(Ye);break;case 40:e===41&&$a(e);break;case 92:Pt();break}return xt}function jf(e,t){for(;Pt()&&e+Ye!==57;)if(e+Ye===84&&En()===47)break;return"/*"+qo(t,xt-1)+"*"+os(e===47?e:Pt())}function Af(e){for(;!Pa(En());)Pt();return qo(e,xt)}function If(e){return kf(fo("",null,null,null,[""],e=$f(e),0,[0],e))}function fo(e,t,n,r,o,i,s,c,l){for(var d=0,u=0,f=s,m=0,g=0,y=0,p=1,T=1,O=1,S=0,v="",b=o,C=i,R=r,P=v;T;)switch(y=S,S=Pt()){case 40:if(y!=108&&Qe(P,f-1)==58){uo(P+=de(la(S),"&","&\f"),"&\f",Au(d?c[d-1]:0))!=-1&&(O=-1);break}case 34:case 39:case 91:P+=la(S);break;case 9:case 10:case 13:case 32:P+=_f(y);break;case 92:P+=Mf(po()-1,7);continue;case 47:switch(En()){case 42:case 47:wr(Nf(jf(Pt(),po()),t,n,l),l);break;default:P+="/"}break;case 123*p:c[d++]=zt(P)*O;case 125*p:case 59:case 0:switch(S){case 0:case 125:T=0;case 59+u:O==-1&&(P=de(P,/\f/g,"")),g>0&&zt(P)-f&&wr(g>32?Fc(P+";",r,n,f-1,l):Fc(de(P," ","")+";",r,n,f-2,l),l);break;case 59:P+=";";default:if(wr(R=Vc(P,t,n,d,u,o,c,v,b=[],C=[],f,i),i),S===123)if(u===0)fo(P,t,R,R,b,i,f,c,C);else switch(m===99&&Qe(P,3)===110?100:m){case 100:case 108:case 109:case 115:fo(e,R,R,r&&wr(Vc(e,R,R,0,0,o,c,v,o,b=[],f,C),C),o,C,f,c,r?b:C);break;default:fo(P,R,R,R,[""],C,0,c,C)}}d=u=g=0,p=O=1,v=P="",f=s;break;case 58:f=1+zt(P),g=y;default:if(p<1){if(S==123)--p;else if(S==125&&p++==0&&Pf()==125)continue}switch(P+=os(S),S*p){case 38:O=u>0?1:(P+="\f",-1);break;case 44:c[d++]=(zt(P)-1)*O,O=1;break;case 64:En()===45&&(P+=la(Pt())),m=En(),u=f=zt(v=P+=Af(po())),S++;break;case 45:y===45&&zt(P)==2&&(p=0)}}return i}function Vc(e,t,n,r,o,i,s,c,l,d,u,f){for(var m=o-1,g=o===0?i:[""],y=Nu(g),p=0,T=0,O=0;p<r;++p)for(var S=0,v=Gn(e,m+1,m=Au(T=s[p])),b=e;S<y;++S)(b=Iu(T>0?g[S]+" "+v:de(v,/&\f/g,g[S])))&&(l[O++]=b);return Wo(e,t,n,o===0?Fo:c,l,d,u,f)}function Nf(e,t,n,r){return Wo(e,t,n,Mu,os(Rf()),Gn(e,2,-2),0,r)}function Fc(e,t,n,r,o){return Wo(e,t,n,rs,Gn(e,0,r),Gn(e,r+1,-1),r,o)}function zu(e,t,n){switch(Tf(e,t)){case 5103:return Se+"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 Se+e+e;case 4789:return Or+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Se+e+Or+e+Le+e+e;case 5936:switch(Qe(e,t+11)){case 114:return Se+e+Le+de(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Se+e+Le+de(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Se+e+Le+de(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Se+e+Le+e+e;case 6165:return Se+e+Le+"flex-"+e+e;case 5187:return Se+e+de(e,/(\w+).+(:[^]+)/,Se+"box-$1$2"+Le+"flex-$1$2")+e;case 5443:return Se+e+Le+"flex-item-"+de(e,/flex-|-self/g,"")+(Xt(e,/flex-|baseline/)?"":Le+"grid-row-"+de(e,/flex-|-self/g,""))+e;case 4675:return Se+e+Le+"flex-line-pack"+de(e,/align-content|flex-|-self/g,"")+e;case 5548:return Se+e+Le+de(e,"shrink","negative")+e;case 5292:return Se+e+Le+de(e,"basis","preferred-size")+e;case 6060:return Se+"box-"+de(e,"-grow","")+Se+e+Le+de(e,"grow","positive")+e;case 4554:return Se+de(e,/([^-])(transform)/g,"$1"+Se+"$2")+e;case 6187:return de(de(de(e,/(zoom-|grab)/,Se+"$1"),/(image-set)/,Se+"$1"),e,"")+e;case 5495:case 3959:return de(e,/(image-set\([^]*)/,Se+"$1$`$1");case 4968:return de(de(e,/(.+:)(flex-)?(.*)/,Se+"box-pack:$3"+Le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Se+e+e;case 4200:if(!Xt(e,/flex-|baseline/))return Le+"grid-column-align"+Gn(e,t)+e;break;case 2592:case 3360:return Le+de(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,Xt(r.props,/grid-\w+-end/)})?~uo(e+(n=n[t].value),"span",0)?e:Le+de(e,"-start","")+e+Le+"grid-row-span:"+(~uo(n,"span",0)?Xt(n,/\d+/):+Xt(n,/\d+/)-+Xt(e,/\d+/))+";":Le+de(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Xt(r.props,/grid-\w+-start/)})?e:Le+de(de(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return de(e,/(.+)-inline(.+)/,Se+"$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(zt(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return de(e,/(.+:)(.+)-([^]+)/,"$1"+Se+"$2-$3$1"+Or+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~uo(e,"stretch",0)?zu(de(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return de(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,s,c,l,d){return Le+o+":"+i+d+(s?Le+o+"-span:"+(c?l:+l-+i)+d:"")+e});case 4949:if(Qe(e,t+6)===121)return de(e,":",":"+Se)+e;break;case 6444:switch(Qe(e,Qe(e,14)===45?18:11)){case 120:return de(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Se+(Qe(e,14)===45?"inline-":"")+"box$3$1"+Se+"$2$3$1"+Le+"$2box$3")+e;case 100:return de(e,":",":"+Le)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return de(e,"scroll-","scroll-snap-")+e}return e}function bo(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Lf(e,t,n,r){switch(e.type){case Ef:if(e.children.length)break;case Sf:case rs:return e.return=e.return||e.value;case Mu:return"";case ju:return e.return=e.value+"{"+bo(e.children,r)+"}";case Fo:if(!zt(e.value=e.props.join(",")))return""}return zt(n=bo(e.children,r))?e.return=e.value+"{"+n+"}":""}function zf(e){var t=Nu(e);return function(n,r,o,i){for(var s="",c=0;c<t;c++)s+=e[c](n,r,o,i)||"";return s}}function Bf(e){return function(t){t.root||(t=t.return)&&e(t)}}function Df(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case rs:e.return=zu(e.value,e.length,n);return;case ju:return bo([on(e,{value:de(e.value,"@","@"+Se)})],r);case Fo:if(e.length)return Of(n=e.props,function(o){switch(Xt(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Nn(on(e,{props:[de(o,/:(read-\w+)/,":"+Or+"$1")]})),Nn(on(e,{props:[o]})),Ra(e,{props:Dc(n,r)});break;case"::placeholder":Nn(on(e,{props:[de(o,/:(plac\w+)/,":"+Se+"input-$1")]})),Nn(on(e,{props:[de(o,/:(plac\w+)/,":"+Or+"$1")]})),Nn(on(e,{props:[de(o,/:(plac\w+)/,Le+"input-$1")]})),Nn(on(e,{props:[o]})),Ra(e,{props:Dc(n,r)});break}return""})}}var Vf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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},Pn=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Bu="active",Du="data-styled-version",Uo="6.1.19",is=`/*!sc*/
|
|
30
|
+
<%s key={someKey} {...props} />`,ui,gn,Sp,gn),he[gn+ui]=!0}}return w===r?se(Ge):re(Ge),Ge}}function Be(w,D,ee){return ge(w,D,ee,!0)}function mt(w,D,ee){return ge(w,D,ee,!1)}var Yt=mt,mn=Be;mr.Fragment=r,mr.jsx=Yt,mr.jsxs=mn}()),mr}var Bc;function bf(){return Bc||(Bc=1,process.env.NODE_ENV==="production"?Gr.exports=yf():Gr.exports=vf()),Gr.exports}var b=bf(),st=function(){return st=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},st.apply(this,arguments)};function Rn(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}function xf(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var wf=/^((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|disableRemotePlayback|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)-.*))$/,Cf=xf(function(e){return wf.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),Le="-ms-",Or="-moz-",Se="-webkit-",Mu="comm",Fo="rule",rs="decl",Sf="@import",ju="@keyframes",Ef="@layer",Au=Math.abs,os=String.fromCharCode,Ra=Object.assign;function Tf(e,t){return Qe(e,0)^45?(((t<<2^Qe(e,0))<<2^Qe(e,1))<<2^Qe(e,2))<<2^Qe(e,3):0}function Iu(e){return e.trim()}function Xt(e,t){return(e=t.exec(e))?e[0]:e}function de(e,t,n){return e.replace(t,n)}function uo(e,t,n){return e.indexOf(t,n)}function Qe(e,t){return e.charCodeAt(t)|0}function Gn(e,t,n){return e.slice(t,n)}function zt(e){return e.length}function Nu(e){return e.length}function wr(e,t){return t.push(e),e}function Of(e,t){return e.map(t).join("")}function Dc(e,t){return e.filter(function(n){return!Xt(n,t)})}var Ho=1,Yn=1,Lu=0,xt=0,Ye=0,ir="";function Wo(e,t,n,r,o,i,s,c){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:Ho,column:Yn,length:s,return:"",siblings:c}}function on(e,t){return Ra(Wo("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Nn(e){for(;e.root;)e=on(e.root,{children:[e]});wr(e,e.siblings)}function Rf(){return Ye}function Pf(){return Ye=xt>0?Qe(ir,--xt):0,Yn--,Ye===10&&(Yn=1,Ho--),Ye}function Pt(){return Ye=xt<Lu?Qe(ir,xt++):0,Yn++,Ye===10&&(Yn=1,Ho++),Ye}function En(){return Qe(ir,xt)}function po(){return xt}function qo(e,t){return Gn(ir,e,t)}function Pa(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 $f(e){return Ho=Yn=1,Lu=zt(ir=e),xt=0,[]}function kf(e){return ir="",e}function la(e){return Iu(qo(xt-1,$a(e===91?e+2:e===40?e+1:e)))}function _f(e){for(;(Ye=En())&&Ye<33;)Pt();return Pa(e)>2||Pa(Ye)>3?"":" "}function Mf(e,t){for(;--t&&Pt()&&!(Ye<48||Ye>102||Ye>57&&Ye<65||Ye>70&&Ye<97););return qo(e,po()+(t<6&&En()==32&&Pt()==32))}function $a(e){for(;Pt();)switch(Ye){case e:return xt;case 34:case 39:e!==34&&e!==39&&$a(Ye);break;case 40:e===41&&$a(e);break;case 92:Pt();break}return xt}function jf(e,t){for(;Pt()&&e+Ye!==57;)if(e+Ye===84&&En()===47)break;return"/*"+qo(t,xt-1)+"*"+os(e===47?e:Pt())}function Af(e){for(;!Pa(En());)Pt();return qo(e,xt)}function If(e){return kf(fo("",null,null,null,[""],e=$f(e),0,[0],e))}function fo(e,t,n,r,o,i,s,c,l){for(var d=0,u=0,f=s,m=0,g=0,y=0,p=1,T=1,O=1,S=0,v="",x=o,C=i,R=r,P=v;T;)switch(y=S,S=Pt()){case 40:if(y!=108&&Qe(P,f-1)==58){uo(P+=de(la(S),"&","&\f"),"&\f",Au(d?c[d-1]:0))!=-1&&(O=-1);break}case 34:case 39:case 91:P+=la(S);break;case 9:case 10:case 13:case 32:P+=_f(y);break;case 92:P+=Mf(po()-1,7);continue;case 47:switch(En()){case 42:case 47:wr(Nf(jf(Pt(),po()),t,n,l),l);break;default:P+="/"}break;case 123*p:c[d++]=zt(P)*O;case 125*p:case 59:case 0:switch(S){case 0:case 125:T=0;case 59+u:O==-1&&(P=de(P,/\f/g,"")),g>0&&zt(P)-f&&wr(g>32?Fc(P+";",r,n,f-1,l):Fc(de(P," ","")+";",r,n,f-2,l),l);break;case 59:P+=";";default:if(wr(R=Vc(P,t,n,d,u,o,c,v,x=[],C=[],f,i),i),S===123)if(u===0)fo(P,t,R,R,x,i,f,c,C);else switch(m===99&&Qe(P,3)===110?100:m){case 100:case 108:case 109:case 115:fo(e,R,R,r&&wr(Vc(e,R,R,0,0,o,c,v,o,x=[],f,C),C),o,C,f,c,r?x:C);break;default:fo(P,R,R,R,[""],C,0,c,C)}}d=u=g=0,p=O=1,v=P="",f=s;break;case 58:f=1+zt(P),g=y;default:if(p<1){if(S==123)--p;else if(S==125&&p++==0&&Pf()==125)continue}switch(P+=os(S),S*p){case 38:O=u>0?1:(P+="\f",-1);break;case 44:c[d++]=(zt(P)-1)*O,O=1;break;case 64:En()===45&&(P+=la(Pt())),m=En(),u=f=zt(v=P+=Af(po())),S++;break;case 45:y===45&&zt(P)==2&&(p=0)}}return i}function Vc(e,t,n,r,o,i,s,c,l,d,u,f){for(var m=o-1,g=o===0?i:[""],y=Nu(g),p=0,T=0,O=0;p<r;++p)for(var S=0,v=Gn(e,m+1,m=Au(T=s[p])),x=e;S<y;++S)(x=Iu(T>0?g[S]+" "+v:de(v,/&\f/g,g[S])))&&(l[O++]=x);return Wo(e,t,n,o===0?Fo:c,l,d,u,f)}function Nf(e,t,n,r){return Wo(e,t,n,Mu,os(Rf()),Gn(e,2,-2),0,r)}function Fc(e,t,n,r,o){return Wo(e,t,n,rs,Gn(e,0,r),Gn(e,r+1,-1),r,o)}function zu(e,t,n){switch(Tf(e,t)){case 5103:return Se+"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 Se+e+e;case 4789:return Or+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Se+e+Or+e+Le+e+e;case 5936:switch(Qe(e,t+11)){case 114:return Se+e+Le+de(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Se+e+Le+de(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Se+e+Le+de(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Se+e+Le+e+e;case 6165:return Se+e+Le+"flex-"+e+e;case 5187:return Se+e+de(e,/(\w+).+(:[^]+)/,Se+"box-$1$2"+Le+"flex-$1$2")+e;case 5443:return Se+e+Le+"flex-item-"+de(e,/flex-|-self/g,"")+(Xt(e,/flex-|baseline/)?"":Le+"grid-row-"+de(e,/flex-|-self/g,""))+e;case 4675:return Se+e+Le+"flex-line-pack"+de(e,/align-content|flex-|-self/g,"")+e;case 5548:return Se+e+Le+de(e,"shrink","negative")+e;case 5292:return Se+e+Le+de(e,"basis","preferred-size")+e;case 6060:return Se+"box-"+de(e,"-grow","")+Se+e+Le+de(e,"grow","positive")+e;case 4554:return Se+de(e,/([^-])(transform)/g,"$1"+Se+"$2")+e;case 6187:return de(de(de(e,/(zoom-|grab)/,Se+"$1"),/(image-set)/,Se+"$1"),e,"")+e;case 5495:case 3959:return de(e,/(image-set\([^]*)/,Se+"$1$`$1");case 4968:return de(de(e,/(.+:)(flex-)?(.*)/,Se+"box-pack:$3"+Le+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Se+e+e;case 4200:if(!Xt(e,/flex-|baseline/))return Le+"grid-column-align"+Gn(e,t)+e;break;case 2592:case 3360:return Le+de(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(r,o){return t=o,Xt(r.props,/grid-\w+-end/)})?~uo(e+(n=n[t].value),"span",0)?e:Le+de(e,"-start","")+e+Le+"grid-row-span:"+(~uo(n,"span",0)?Xt(n,/\d+/):+Xt(n,/\d+/)-+Xt(e,/\d+/))+";":Le+de(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(r){return Xt(r.props,/grid-\w+-start/)})?e:Le+de(de(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return de(e,/(.+)-inline(.+)/,Se+"$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(zt(e)-1-t>6)switch(Qe(e,t+1)){case 109:if(Qe(e,t+4)!==45)break;case 102:return de(e,/(.+:)(.+)-([^]+)/,"$1"+Se+"$2-$3$1"+Or+(Qe(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~uo(e,"stretch",0)?zu(de(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return de(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(r,o,i,s,c,l,d){return Le+o+":"+i+d+(s?Le+o+"-span:"+(c?l:+l-+i)+d:"")+e});case 4949:if(Qe(e,t+6)===121)return de(e,":",":"+Se)+e;break;case 6444:switch(Qe(e,Qe(e,14)===45?18:11)){case 120:return de(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Se+(Qe(e,14)===45?"inline-":"")+"box$3$1"+Se+"$2$3$1"+Le+"$2box$3")+e;case 100:return de(e,":",":"+Le)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return de(e,"scroll-","scroll-snap-")+e}return e}function bo(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function Lf(e,t,n,r){switch(e.type){case Ef:if(e.children.length)break;case Sf:case rs:return e.return=e.return||e.value;case Mu:return"";case ju:return e.return=e.value+"{"+bo(e.children,r)+"}";case Fo:if(!zt(e.value=e.props.join(",")))return""}return zt(n=bo(e.children,r))?e.return=e.value+"{"+n+"}":""}function zf(e){var t=Nu(e);return function(n,r,o,i){for(var s="",c=0;c<t;c++)s+=e[c](n,r,o,i)||"";return s}}function Bf(e){return function(t){t.root||(t=t.return)&&e(t)}}function Df(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case rs:e.return=zu(e.value,e.length,n);return;case ju:return bo([on(e,{value:de(e.value,"@","@"+Se)})],r);case Fo:if(e.length)return Of(n=e.props,function(o){switch(Xt(o,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Nn(on(e,{props:[de(o,/:(read-\w+)/,":"+Or+"$1")]})),Nn(on(e,{props:[o]})),Ra(e,{props:Dc(n,r)});break;case"::placeholder":Nn(on(e,{props:[de(o,/:(plac\w+)/,":"+Se+"input-$1")]})),Nn(on(e,{props:[de(o,/:(plac\w+)/,":"+Or+"$1")]})),Nn(on(e,{props:[de(o,/:(plac\w+)/,Le+"input-$1")]})),Nn(on(e,{props:[o]})),Ra(e,{props:Dc(n,r)});break}return""})}}var Vf={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,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},Pn=typeof process<"u"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Bu="active",Du="data-styled-version",Uo="6.1.19",is=`/*!sc*/
|
|
31
31
|
`,xo=typeof window<"u"&&typeof document<"u",Ff=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process<"u"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:process.env.NODE_ENV!=="production"),Hc=/invalid hook call/i,Yr=new Set,Hf=function(e,t){if(process.env.NODE_ENV!=="production"){var n=t?' with the id of "'.concat(t,'"'):"",r="The component ".concat(e).concat(n,` has been created dynamically.
|
|
32
32
|
`)+`You may see this warning because you've called styled inside another component.
|
|
33
33
|
To resolve this only create new StyledComponents outside of any render method and function component.
|
|
@@ -73,7 +73,7 @@ as for instance in your render method then you may be running into this limitati
|
|
|
73
73
|
|
|
74
74
|
`,17:`CSSStyleSheet could not be found on HTMLStyleElement.
|
|
75
75
|
Has styled-components' style tag been unmounted or altered by another script?
|
|
76
|
-
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function rh(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,i=e.length;o<i;o+=1)r.push(e[o]);return r.forEach(function(s){n=n.replace(/%[a-z]/,s)}),n}function ar(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(rh.apply(void 0,Rn([nh[e]],t,!1)).trim())}var oh=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,i=o;t>=i;)if((i<<=1)<0)throw ar(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var c=this.indexOfGroup(t+1),l=(s=0,n.length);s<l;s++)this.tag.insertRule(c,n[s])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),o=r+n;this.groupSizes[t]=0;for(var i=r;i<o;i++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r,s=o;s<i;s++)n+="".concat(this.tag.getRule(s)).concat(is);return n},e}(),ih=1<<30,ho=new Map,wo=new Map,mo=1,Zr=function(e){if(ho.has(e))return ho.get(e);for(;wo.has(mo);)mo++;var t=mo++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>ih))throw ar(16,"".concat(t));return ho.set(e,t),wo.set(t,e),t},ah=function(e,t){mo=t+1,ho.set(e,t),wo.set(t,e)},sh="style[".concat(Pn,"][").concat(Du,'="').concat(Uo,'"]'),ch=new RegExp("^".concat(Pn,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),lh=function(e,t,n){for(var r,o=n.split(","),i=0,s=o.length;i<s;i++)(r=o[i])&&e.registerName(t,r)},uh=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(is),o=[],i=0,s=r.length;i<s;i++){var c=r[i].trim();if(c){var l=c.match(ch);if(l){var d=0|parseInt(l[1],10),u=l[2];d!==0&&(ah(u,d),lh(e,u,l[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}},Kc=function(e){for(var t=document.querySelectorAll(sh),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(Pn)!==Bu&&(uh(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function dh(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ku=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(c){var l=Array.from(c.querySelectorAll("style[".concat(Pn,"]")));return l[l.length-1]}(n),i=o!==void 0?o.nextSibling:null;r.setAttribute(Pn,Bu),r.setAttribute(Du,Uo);var s=dh();return s&&r.setAttribute("nonce",s),n.insertBefore(r,i),r},ph=function(){function e(t){this.element=Ku(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,i=r.length;o<i;o++){var s=r[o];if(s.ownerNode===n)return s}throw ar(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),fh=function(){function e(t){this.element=Ku(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),hh=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Zc=xo,mh={isServer:!xo,useCSSOMInjection:!Ff},Zu=function(){function e(t,n,r){t===void 0&&(t=Kn),n===void 0&&(n={});var o=this;this.options=st(st({},mh),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&xo&&Zc&&(Zc=!1,Kc(this)),ss(this,function(){return function(i){for(var s=i.getTag(),c=s.length,l="",d=function(f){var m=function(O){return wo.get(O)}(f);if(m===void 0)return"continue";var g=i.names.get(m),y=s.getGroup(f);if(g===void 0||!g.size||y.length===0)return"continue";var p="".concat(Pn,".g").concat(f,'[id="').concat(m,'"]'),T="";g!==void 0&&g.forEach(function(O){O.length>0&&(T+="".concat(O,","))}),l+="".concat(y).concat(p,'{content:"').concat(T,'"}').concat(is)},u=0;u<c;u++)d(u);return l}(o)})}return e.registerId=function(t){return Zr(t)},e.prototype.rehydrate=function(){!this.server&&xo&&Kc(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(st(st({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new hh(o):r?new ph(o):new fh(o)}(this.options),new oh(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(Zr(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(Zr(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Zr(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),gh=/&/g,yh=/^\s*\/\/.*$/gm;function Xu(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Xu(n.children,t)),n})}function vh(e){var t,n,r,o=Kn,i=o.options,s=i===void 0?Kn:i,c=o.plugins,l=c===void 0?Go:c,d=function(m,g,y){return y.startsWith(n)&&y.endsWith(n)&&y.replaceAll(n,"").length>0?".".concat(t):m},u=l.slice();u.push(function(m){m.type===Fo&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(gh,n).replace(r,d))}),s.prefix&&u.push(Df),u.push(Lf);var f=function(m,g,y,p){g===void 0&&(g=""),y===void 0&&(y=""),p===void 0&&(p="&"),t=p,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var T=m.replace(yh,""),O=If(y||g?"".concat(y," ").concat(g," { ").concat(T," }"):T);s.namespace&&(O=Xu(O,s.namespace));var S=[];return bo(O,zf(u.concat(Bf(function(v){return S.push(v)})))),S};return f.hash=l.length?l.reduce(function(m,g){return g.name||ar(15),bn(m,g.name)},Vu).toString():"",f}var bh=new Zu,Aa=vh(),Ju=te.createContext({shouldForwardProp:void 0,styleSheet:bh,stylis:Aa});Ju.Consumer;te.createContext(void 0);function Xc(){return te.useContext(Ju)}var Ia=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=Aa);var s=r.name+i.hash;o.hasNameForId(r.id,s)||o.insertRules(r.id,s,i(r.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,ss(this,function(){throw ar(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Aa),this.name+t.hash},e}(),xh=function(e){return e>="A"&&e<="Z"};function Jc(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;xh(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Qu=function(e){return e==null||e===!1||e===""},ed=function(e){var t,n,r=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Qu(i)&&(Array.isArray(i)&&i.isCss||Zn(i)?r.push("".concat(Jc(o),":"),i,";"):Xn(i)?r.push.apply(r,Rn(Rn(["".concat(o," {")],ed(i),!1),["}"],!1)):r.push("".concat(Jc(o),": ").concat((t=o,(n=i)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in Vf||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Tn(e,t,n,r){if(Qu(e))return[];if(as(e))return[".".concat(e.styledComponentId)];if(Zn(e)){if(!Zn(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof Ia||Xn(o)||o===null||console.error("".concat(Wu(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Tn(o,t,n,r)}var i;return e instanceof Ia?n?(e.inject(n,r),[e.getName(r)]):[e]:Xn(e)?ed(e):Array.isArray(e)?Array.prototype.concat.apply(Go,e.map(function(s){return Tn(s,t,n,r)})):[e.toString()]}function wh(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Zn(n)&&!as(n))return!1}return!0}var Ch=Fu(Uo),Sh=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&wh(t),this.componentId=n,this.baseHash=bn(Ch,n),this.baseStyle=r,Zu.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=xn(o,this.staticRulesId);else{var i=Ma(Tn(this.rules,t,n,r)),s=_a(bn(this.baseHash,i)>>>0);if(!n.hasNameForId(this.componentId,s)){var c=r(i,".".concat(s),void 0,this.componentId);n.insertRules(this.componentId,s,c)}o=xn(o,s),this.staticRulesId=s}else{for(var l=bn(this.baseHash,r.hash),d="",u=0;u<this.rules.length;u++){var f=this.rules[u];if(typeof f=="string")d+=f,process.env.NODE_ENV!=="production"&&(l=bn(l,f));else if(f){var m=Ma(Tn(f,t,n,r));l=bn(l,m+u),d+=m}}if(d){var g=_a(l>>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(d,".".concat(g),void 0,this.componentId)),o=xn(o,g)}}return o},e}(),cs=te.createContext(void 0);cs.Consumer;var pa={},Qc=new Set;function Eh(e,t,n){var r=as(e),o=e,i=!da(e),s=t.attrs,c=s===void 0?Go:s,l=t.componentId,d=l===void 0?function(b,C){var R=typeof b!="string"?"sc":Wc(b);pa[R]=(pa[R]||0)+1;var P="".concat(R,"-").concat(Hu(Uo+R+pa[R]));return C?"".concat(C,"-").concat(P):P}(t.displayName,t.parentComponentId):l,u=t.displayName,f=u===void 0?function(b){return da(b)?"styled.".concat(b):"Styled(".concat(Wu(b),")")}(e):u,m=t.displayName&&t.componentId?"".concat(Wc(t.displayName),"-").concat(t.componentId):t.componentId||d,g=r&&o.attrs?o.attrs.concat(c).filter(Boolean):c,y=t.shouldForwardProp;if(r&&o.shouldForwardProp){var p=o.shouldForwardProp;if(t.shouldForwardProp){var T=t.shouldForwardProp;y=function(b,C){return p(b,C)&&T(b,C)}}else y=p}var O=new Sh(n,m,r?o.componentStyle:void 0);function S(b,C){return function(R,P,z){var k=R.attrs,h=R.componentStyle,_=R.defaultProps,H=R.foldedComponentIds,I=R.styledComponentId,F=R.target,L=te.useContext(cs),N=Xc(),q=R.shouldForwardProp||N.shouldForwardProp;process.env.NODE_ENV!=="production"&&te.useDebugValue(I);var ae=Wf(P,L,_)||Kn,Q=function(U,A,Z){for(var Y,ie=st(st({},A),{className:void 0,theme:Z}),G=0;G<U.length;G+=1){var oe=Zn(Y=U[G])?Y(ie):Y;for(var j in oe)ie[j]=j==="className"?xn(ie[j],oe[j]):j==="style"?st(st({},ie[j]),oe[j]):oe[j]}return A.className&&(ie.className=xn(ie.className,A.className)),ie}(k,P,ae),$=Q.as||F,B={};for(var K in Q)Q[K]===void 0||K[0]==="$"||K==="as"||K==="theme"&&Q.theme===ae||(K==="forwardedAs"?B.as=Q.forwardedAs:q&&!q(K,$)||(B[K]=Q[K],q||process.env.NODE_ENV!=="development"||Cf(K)||Qc.has(K)||!ka.has($)||(Qc.add(K),console.warn('styled-components: it looks like an unknown prop "'.concat(K,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var ne=function(U,A){var Z=Xc(),Y=U.generateAndInjectStyles(A,Z.styleSheet,Z.stylis);return process.env.NODE_ENV!=="production"&&te.useDebugValue(Y),Y}(h,Q);process.env.NODE_ENV!=="production"&&R.warnTooManyClasses&&R.warnTooManyClasses(ne);var X=xn(H,I);return ne&&(X+=" "+ne),Q.className&&(X+=" "+Q.className),B[da($)&&!ka.has($)?"class":"className"]=X,z&&(B.ref=z),te.createElement($,B)}(v,b,C)}S.displayName=f;var v=te.forwardRef(S);return v.attrs=g,v.componentStyle=O,v.displayName=f,v.shouldForwardProp=y,v.foldedComponentIds=r?xn(o.foldedComponentIds,o.styledComponentId):"",v.styledComponentId=m,v.target=r?o.target:e,Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(b){this._foldedDefaultProps=r?function(C){for(var R=[],P=1;P<arguments.length;P++)R[P-1]=arguments[P];for(var z=0,k=R;z<k.length;z++)ja(C,k[z],!0);return C}({},o.defaultProps,b):b}}),process.env.NODE_ENV!=="production"&&(Hf(f,m),v.warnTooManyClasses=function(b,C){var R={},P=!1;return function(z){if(!P&&(R[z]=!0,Object.keys(R).length>=200)){var k=C?' with the id of "'.concat(C,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(b).concat(k,`.
|
|
76
|
+
`,18:"ThemeProvider: Please make sure your useTheme hook is within a `<ThemeProvider>`"}:{};function rh(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=e[0],r=[],o=1,i=e.length;o<i;o+=1)r.push(e[o]);return r.forEach(function(s){n=n.replace(/%[a-z]/,s)}),n}function ar(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return process.env.NODE_ENV==="production"?new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):"")):new Error(rh.apply(void 0,Rn([nh[e]],t,!1)).trim())}var oh=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var n=0,r=0;r<t;r++)n+=this.groupSizes[r];return n},e.prototype.insertRules=function(t,n){if(t>=this.groupSizes.length){for(var r=this.groupSizes,o=r.length,i=o;t>=i;)if((i<<=1)<0)throw ar(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(r),this.length=i;for(var s=o;s<i;s++)this.groupSizes[s]=0}for(var c=this.indexOfGroup(t+1),l=(s=0,n.length);s<l;s++)this.tag.insertRule(c,n[s])&&(this.groupSizes[t]++,c++)},e.prototype.clearGroup=function(t){if(t<this.length){var n=this.groupSizes[t],r=this.indexOfGroup(t),o=r+n;this.groupSizes[t]=0;for(var i=r;i<o;i++)this.tag.deleteRule(r)}},e.prototype.getGroup=function(t){var n="";if(t>=this.length||this.groupSizes[t]===0)return n;for(var r=this.groupSizes[t],o=this.indexOfGroup(t),i=o+r,s=o;s<i;s++)n+="".concat(this.tag.getRule(s)).concat(is);return n},e}(),ih=1<<30,ho=new Map,wo=new Map,mo=1,Zr=function(e){if(ho.has(e))return ho.get(e);for(;wo.has(mo);)mo++;var t=mo++;if(process.env.NODE_ENV!=="production"&&((0|t)<0||t>ih))throw ar(16,"".concat(t));return ho.set(e,t),wo.set(t,e),t},ah=function(e,t){mo=t+1,ho.set(e,t),wo.set(t,e)},sh="style[".concat(Pn,"][").concat(Du,'="').concat(Uo,'"]'),ch=new RegExp("^".concat(Pn,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),lh=function(e,t,n){for(var r,o=n.split(","),i=0,s=o.length;i<s;i++)(r=o[i])&&e.registerName(t,r)},uh=function(e,t){for(var n,r=((n=t.textContent)!==null&&n!==void 0?n:"").split(is),o=[],i=0,s=r.length;i<s;i++){var c=r[i].trim();if(c){var l=c.match(ch);if(l){var d=0|parseInt(l[1],10),u=l[2];d!==0&&(ah(u,d),lh(e,u,l[3]),e.getTag().insertRules(d,o)),o.length=0}else o.push(c)}}},Kc=function(e){for(var t=document.querySelectorAll(sh),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(Pn)!==Bu&&(uh(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function dh(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:null}var Ku=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(c){var l=Array.from(c.querySelectorAll("style[".concat(Pn,"]")));return l[l.length-1]}(n),i=o!==void 0?o.nextSibling:null;r.setAttribute(Pn,Bu),r.setAttribute(Du,Uo);var s=dh();return s&&r.setAttribute("nonce",s),n.insertBefore(r,i),r},ph=function(){function e(t){this.element=Ku(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(n){if(n.sheet)return n.sheet;for(var r=document.styleSheets,o=0,i=r.length;o<i;o++){var s=r[o];if(s.ownerNode===n)return s}throw ar(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,n){try{return this.sheet.insertRule(n,t),this.length++,!0}catch{return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var n=this.sheet.cssRules[t];return n&&n.cssText?n.cssText:""},e}(),fh=function(){function e(t){this.element=Ku(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,n){if(t<=this.length&&t>=0){var r=document.createTextNode(n);return this.element.insertBefore(r,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),hh=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,n){return t<=this.length&&(this.rules.splice(t,0,n),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Zc=xo,mh={isServer:!xo,useCSSOMInjection:!Ff},Zu=function(){function e(t,n,r){t===void 0&&(t=Kn),n===void 0&&(n={});var o=this;this.options=st(st({},mh),t),this.gs=n,this.names=new Map(r),this.server=!!t.isServer,!this.server&&xo&&Zc&&(Zc=!1,Kc(this)),ss(this,function(){return function(i){for(var s=i.getTag(),c=s.length,l="",d=function(f){var m=function(O){return wo.get(O)}(f);if(m===void 0)return"continue";var g=i.names.get(m),y=s.getGroup(f);if(g===void 0||!g.size||y.length===0)return"continue";var p="".concat(Pn,".g").concat(f,'[id="').concat(m,'"]'),T="";g!==void 0&&g.forEach(function(O){O.length>0&&(T+="".concat(O,","))}),l+="".concat(y).concat(p,'{content:"').concat(T,'"}').concat(is)},u=0;u<c;u++)d(u);return l}(o)})}return e.registerId=function(t){return Zr(t)},e.prototype.rehydrate=function(){!this.server&&xo&&Kc(this)},e.prototype.reconstructWithOptions=function(t,n){return n===void 0&&(n=!0),new e(st(st({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(n){var r=n.useCSSOMInjection,o=n.target;return n.isServer?new hh(o):r?new ph(o):new fh(o)}(this.options),new oh(t)));var t},e.prototype.hasNameForId=function(t,n){return this.names.has(t)&&this.names.get(t).has(n)},e.prototype.registerName=function(t,n){if(Zr(t),this.names.has(t))this.names.get(t).add(n);else{var r=new Set;r.add(n),this.names.set(t,r)}},e.prototype.insertRules=function(t,n,r){this.registerName(t,n),this.getTag().insertRules(Zr(t),r)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Zr(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),gh=/&/g,yh=/^\s*\/\/.*$/gm;function Xu(e,t){return e.map(function(n){return n.type==="rule"&&(n.value="".concat(t," ").concat(n.value),n.value=n.value.replaceAll(",",",".concat(t," ")),n.props=n.props.map(function(r){return"".concat(t," ").concat(r)})),Array.isArray(n.children)&&n.type!=="@keyframes"&&(n.children=Xu(n.children,t)),n})}function vh(e){var t,n,r,o=Kn,i=o.options,s=i===void 0?Kn:i,c=o.plugins,l=c===void 0?Go:c,d=function(m,g,y){return y.startsWith(n)&&y.endsWith(n)&&y.replaceAll(n,"").length>0?".".concat(t):m},u=l.slice();u.push(function(m){m.type===Fo&&m.value.includes("&")&&(m.props[0]=m.props[0].replace(gh,n).replace(r,d))}),s.prefix&&u.push(Df),u.push(Lf);var f=function(m,g,y,p){g===void 0&&(g=""),y===void 0&&(y=""),p===void 0&&(p="&"),t=p,n=g,r=new RegExp("\\".concat(n,"\\b"),"g");var T=m.replace(yh,""),O=If(y||g?"".concat(y," ").concat(g," { ").concat(T," }"):T);s.namespace&&(O=Xu(O,s.namespace));var S=[];return bo(O,zf(u.concat(Bf(function(v){return S.push(v)})))),S};return f.hash=l.length?l.reduce(function(m,g){return g.name||ar(15),bn(m,g.name)},Vu).toString():"",f}var bh=new Zu,Aa=vh(),Ju=te.createContext({shouldForwardProp:void 0,styleSheet:bh,stylis:Aa});Ju.Consumer;te.createContext(void 0);function Xc(){return te.useContext(Ju)}var Ia=function(){function e(t,n){var r=this;this.inject=function(o,i){i===void 0&&(i=Aa);var s=r.name+i.hash;o.hasNameForId(r.id,s)||o.insertRules(r.id,s,i(r.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=n,ss(this,function(){throw ar(12,String(r.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=Aa),this.name+t.hash},e}(),xh=function(e){return e>="A"&&e<="Z"};function Jc(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(n===1&&r==="-"&&e[0]==="-")return e;xh(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Qu=function(e){return e==null||e===!1||e===""},ed=function(e){var t,n,r=[];for(var o in e){var i=e[o];e.hasOwnProperty(o)&&!Qu(i)&&(Array.isArray(i)&&i.isCss||Zn(i)?r.push("".concat(Jc(o),":"),i,";"):Xn(i)?r.push.apply(r,Rn(Rn(["".concat(o," {")],ed(i),!1),["}"],!1)):r.push("".concat(Jc(o),": ").concat((t=o,(n=i)==null||typeof n=="boolean"||n===""?"":typeof n!="number"||n===0||t in Vf||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Tn(e,t,n,r){if(Qu(e))return[];if(as(e))return[".".concat(e.styledComponentId)];if(Zn(e)){if(!Zn(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var o=e(t);return process.env.NODE_ENV==="production"||typeof o!="object"||Array.isArray(o)||o instanceof Ia||Xn(o)||o===null||console.error("".concat(Wu(e)," is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.")),Tn(o,t,n,r)}var i;return e instanceof Ia?n?(e.inject(n,r),[e.getName(r)]):[e]:Xn(e)?ed(e):Array.isArray(e)?Array.prototype.concat.apply(Go,e.map(function(s){return Tn(s,t,n,r)})):[e.toString()]}function wh(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Zn(n)&&!as(n))return!1}return!0}var Ch=Fu(Uo),Sh=function(){function e(t,n,r){this.rules=t,this.staticRulesId="",this.isStatic=process.env.NODE_ENV==="production"&&(r===void 0||r.isStatic)&&wh(t),this.componentId=n,this.baseHash=bn(Ch,n),this.baseStyle=r,Zu.registerId(n)}return e.prototype.generateAndInjectStyles=function(t,n,r){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,n,r):"";if(this.isStatic&&!r.hash)if(this.staticRulesId&&n.hasNameForId(this.componentId,this.staticRulesId))o=xn(o,this.staticRulesId);else{var i=Ma(Tn(this.rules,t,n,r)),s=_a(bn(this.baseHash,i)>>>0);if(!n.hasNameForId(this.componentId,s)){var c=r(i,".".concat(s),void 0,this.componentId);n.insertRules(this.componentId,s,c)}o=xn(o,s),this.staticRulesId=s}else{for(var l=bn(this.baseHash,r.hash),d="",u=0;u<this.rules.length;u++){var f=this.rules[u];if(typeof f=="string")d+=f,process.env.NODE_ENV!=="production"&&(l=bn(l,f));else if(f){var m=Ma(Tn(f,t,n,r));l=bn(l,m+u),d+=m}}if(d){var g=_a(l>>>0);n.hasNameForId(this.componentId,g)||n.insertRules(this.componentId,g,r(d,".".concat(g),void 0,this.componentId)),o=xn(o,g)}}return o},e}(),cs=te.createContext(void 0);cs.Consumer;var pa={},Qc=new Set;function Eh(e,t,n){var r=as(e),o=e,i=!da(e),s=t.attrs,c=s===void 0?Go:s,l=t.componentId,d=l===void 0?function(x,C){var R=typeof x!="string"?"sc":Wc(x);pa[R]=(pa[R]||0)+1;var P="".concat(R,"-").concat(Hu(Uo+R+pa[R]));return C?"".concat(C,"-").concat(P):P}(t.displayName,t.parentComponentId):l,u=t.displayName,f=u===void 0?function(x){return da(x)?"styled.".concat(x):"Styled(".concat(Wu(x),")")}(e):u,m=t.displayName&&t.componentId?"".concat(Wc(t.displayName),"-").concat(t.componentId):t.componentId||d,g=r&&o.attrs?o.attrs.concat(c).filter(Boolean):c,y=t.shouldForwardProp;if(r&&o.shouldForwardProp){var p=o.shouldForwardProp;if(t.shouldForwardProp){var T=t.shouldForwardProp;y=function(x,C){return p(x,C)&&T(x,C)}}else y=p}var O=new Sh(n,m,r?o.componentStyle:void 0);function S(x,C){return function(R,P,z){var k=R.attrs,h=R.componentStyle,_=R.defaultProps,H=R.foldedComponentIds,I=R.styledComponentId,F=R.target,L=te.useContext(cs),N=Xc(),q=R.shouldForwardProp||N.shouldForwardProp;process.env.NODE_ENV!=="production"&&te.useDebugValue(I);var ae=Wf(P,L,_)||Kn,Q=function(U,A,Z){for(var Y,ie=st(st({},A),{className:void 0,theme:Z}),G=0;G<U.length;G+=1){var oe=Zn(Y=U[G])?Y(ie):Y;for(var j in oe)ie[j]=j==="className"?xn(ie[j],oe[j]):j==="style"?st(st({},ie[j]),oe[j]):oe[j]}return A.className&&(ie.className=xn(ie.className,A.className)),ie}(k,P,ae),$=Q.as||F,B={};for(var K in Q)Q[K]===void 0||K[0]==="$"||K==="as"||K==="theme"&&Q.theme===ae||(K==="forwardedAs"?B.as=Q.forwardedAs:q&&!q(K,$)||(B[K]=Q[K],q||process.env.NODE_ENV!=="development"||Cf(K)||Qc.has(K)||!ka.has($)||(Qc.add(K),console.warn('styled-components: it looks like an unknown prop "'.concat(K,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var ne=function(U,A){var Z=Xc(),Y=U.generateAndInjectStyles(A,Z.styleSheet,Z.stylis);return process.env.NODE_ENV!=="production"&&te.useDebugValue(Y),Y}(h,Q);process.env.NODE_ENV!=="production"&&R.warnTooManyClasses&&R.warnTooManyClasses(ne);var X=xn(H,I);return ne&&(X+=" "+ne),Q.className&&(X+=" "+Q.className),B[da($)&&!ka.has($)?"class":"className"]=X,z&&(B.ref=z),te.createElement($,B)}(v,x,C)}S.displayName=f;var v=te.forwardRef(S);return v.attrs=g,v.componentStyle=O,v.displayName=f,v.shouldForwardProp=y,v.foldedComponentIds=r?xn(o.foldedComponentIds,o.styledComponentId):"",v.styledComponentId=m,v.target=r?o.target:e,Object.defineProperty(v,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(x){this._foldedDefaultProps=r?function(C){for(var R=[],P=1;P<arguments.length;P++)R[P-1]=arguments[P];for(var z=0,k=R;z<k.length;z++)ja(C,k[z],!0);return C}({},o.defaultProps,x):x}}),process.env.NODE_ENV!=="production"&&(Hf(f,m),v.warnTooManyClasses=function(x,C){var R={},P=!1;return function(z){if(!P&&(R[z]=!0,Object.keys(R).length>=200)){var k=C?' with the id of "'.concat(C,'"'):"";console.warn("Over ".concat(200," classes were generated for component ").concat(x).concat(k,`.
|
|
77
77
|
`)+`Consider using the attrs method, together with a style object for frequently changed styles.
|
|
78
78
|
Example:
|
|
79
79
|
const Component = styled.div.attrs(props => ({
|
|
@@ -163,25 +163,25 @@ See https://s-c.sh/2BAXzed for more info.`),window[Xr]+=1);const Th={roboto:"Rob
|
|
|
163
163
|
--uib-speed: ${this.speed}s;
|
|
164
164
|
}
|
|
165
165
|
${cl}
|
|
166
|
-
`)}}var l1={register:(e="l-dot-spinner")=>{customElements.get(e)||customElements.define(e,class extends ll{})},element:ll};l1.register();const u1=({color:e,size:t})=>
|
|
166
|
+
`)}}var l1={register:(e="l-dot-spinner")=>{customElements.get(e)||customElements.define(e,class extends ll{})},element:ll};l1.register();const u1=({color:e,size:t})=>b.jsx("l-dot-spinner",{size:t,speed:"0.9",color:e}),d1=ve("icons_svgs/aws.svg"),p1=ve("icons_svgs/azure.svg"),f1=ve("icons_svgs/hetzner.svg"),h1=ve("icons_svgs/bitbucket.svg"),m1=ve("icons_svgs/centos.svg"),g1=ve("icons_svgs/c-sharp.svg"),y1=ve("logo-symbol-devopness.svg"),v1=ve("icons_svgs/digitalocean.svg"),b1=ve("icons_svgs/docker.svg"),x1=ve("icons_svgs/dotnetcore-aspnetcore.svg"),w1=ve("icons_svgs/dotnetcore.svg"),C1=ve("icons_svgs/gcp.svg"),S1=ve("icons_svgs/github.svg"),E1=ve("icons_svgs/gitlab.svg"),T1=ve("icons_svgs/html.svg"),O1=ve("icons_svgs/java.svg"),R1=ve("icons_svgs/outline-shield-lock.svg"),P1=ve("icons_svgs/nodejs.svg"),$1=ve("icons_svgs/php-laravel.svg"),k1=ve("icons_svgs/php.svg"),_1=ve("icons_svgs/python-django.svg"),M1=ve("icons_svgs/python-fastapi.svg"),j1=ve("icons_svgs/fastmcp.svg"),A1=ve("icons_svgs/python-flask.svg"),I1=ve("icons_svgs/python.svg"),N1=ve("icons_svgs/ruby.svg"),L1=ve("icons_svgs/type-hierarchy-sub.svg"),z1=ve("icons_svgs/type-hierarchy-super.svg"),B1=ve("icons_svgs/ubuntu.svg"),id=[{type:"icon",name:"home",component:$0},{type:"icon",name:"add",component:N0},{type:"icon",name:"alarm",component:R0},{type:"icon",name:"arrowDown",component:B0},{type:"icon",name:"arrowLeft",component:D0},{type:"icon",name:"arrowRight",component:V0},{type:"icon",name:"arrowUp",component:F0},{type:"icon",name:"branch",component:d0},{type:"icon",name:"checkOutline",component:qh},{type:"image",name:"children",component:z1},{type:"icon",name:"close",component:x0},{type:"icon",name:"cloudWarning",component:Q0},{type:"icon",name:"codeBadge",component:e0},{type:"icon",name:"commit",component:m0},{type:"icon",name:"config",component:t0},{type:"icon",name:"connect",component:w0},{type:"icon",name:"copy",component:n0},{type:"icon",name:"copyOutline",component:u0},{type:"icon",name:"cubes",component:r0},{type:"icon",name:"currencyCircle",component:Yh},{type:"icon",name:"delete",component:sl},{type:"icon",name:"deploy",component:Gh},{type:"icon",name:"description",component:Z0},{type:"icon",name:"devices",component:L0},{type:"icon",name:"dragHandle",component:z0},{type:"icon",name:"edit",component:W0},{type:"icon",name:"error",component:j0},{type:"icon",name:"eyeClosed",component:E0},{type:"icon",name:"eyeOpen",component:T0},{type:"icon",name:"eyeOutline",component:o1},{type:"icon",name:"folder",component:J0},{type:"icon",name:"gear",component:Jh},{type:"icon",name:"globe",component:i0},{type:"icon",name:"group",component:Y0},{type:"icon",name:"help",component:od},{type:"icon",name:"info",component:k0},{type:"icon",name:"key",component:g0},{type:"icon",name:"launch",component:C0},{type:"icon",name:"lens",component:q0},{type:"icon",name:"link",component:Kh},{type:"icon",name:"loading",component:u1},{type:"icon",name:"lock",component:s0},{type:"icon",name:"lockOpen",component:a0},{type:"icon",name:"logout",component:p0},{type:"icon",name:"mapPin",component:r1},{type:"icon",name:"more",component:G0},{type:"icon",name:"network",component:O0},{type:"icon",name:"openInNewWindow",component:s1},{type:"icon",name:"organization",component:y0},{type:"image",name:"parent",component:L1},{type:"icon",name:"passkey",component:v0},{type:"icon",name:"pending",component:_0},{type:"icon",name:"plus",component:c0},{type:"icon",name:"plusCircle",component:f0},{type:"icon",name:"remove",component:sl},{type:"icon",name:"security",component:H0},{type:"icon",name:"server",component:al},{type:"icon",name:"serverCloud",component:Uh},{type:"icon",name:"serverOutline",component:h0},{type:"icon",name:"settings",component:M0},{type:"icon",name:"shield",component:i1},{type:"image",name:"shieldLock",component:R1},{type:"icon",name:"shieldOutline",component:Zh},{type:"icon",name:"skip",component:b0},{type:"icon",name:"snooze",component:I0},{type:"icon",name:"sort",component:l0},{type:"icon",name:"storage",component:o0},{type:"icon",name:"subnet",component:S0},{type:"icon",name:"success",component:P0},{type:"icon",name:"tag",component:e1},{type:"icon",name:"teamOutline",component:a1},{type:"icon",name:"terminal",component:Qh},{type:"icon",name:"treeView",component:t1},{type:"icon",name:"unlink",component:Xh},{type:"icon",name:"user",component:K0},{type:"icon",name:"warning",component:A0},{type:"icon",name:"discord",component:n1},{type:"icon",name:"email",component:X0},{type:"image",name:"aws",component:d1},{type:"image",name:"hetzner",component:f1},{type:"image",name:"azure",component:p1},{type:"image",name:"bitbucket",component:h1},{type:"image",name:"c-sharp",component:g1},{type:"image",name:"centos",component:m1},{type:"image",name:"devopness",component:y1},{type:"image",name:"digitalocean",component:v1},{type:"image",name:"docker",component:b1},{type:"image",name:"dotnetcore",component:w1},{type:"image",name:"dotnetcore-aspnetcore",component:x1},{type:"image",name:"gcp",component:C1},{type:"image",name:"github",component:S1},{type:"image",name:"gitlab",component:E1},{type:"image",name:"html",component:T1},{type:"image",name:"java",component:O1},{type:"image",name:"nodejs",component:P1},{type:"image",name:"php",component:k1},{type:"image",name:"php-laravel",component:$1},{type:"image",name:"python",component:I1},{type:"image",name:"python-django",component:_1},{type:"image",name:"python-fastapi",component:M1},{type:"image",name:"python-fastmcp",component:j1},{type:"image",name:"python-flask",component:A1},{type:"image",name:"ruby",component:N1},{type:"icon",name:"self-hosted",component:al},{type:"image",name:"ubuntu",component:B1}];id.filter(e=>["deprecated-icon","deprecated-image"].includes(e.type)).reduce((e,t)=>({...e,[t.name]:t.newName}),{});const Jr=12,sr=(e,t=13,n="",r=1,o="")=>{if(e===void 0)return b.jsx(b.Fragment,{});const i=id.find(s=>s.name===e);switch(i?.type){case"deprecated-icon":case"icon":return b.jsx(i.component,{"aria-label":o,opacity:r,size:t,color:n});case"deprecated-image":case"image":return b.jsx("img",{"aria-label":o,width:`${Math.max(t,Jr).toString()}px`,height:`${Math.max(t,Jr).toString()}px`,src:i.component});default:return b.jsx("img",{"aria-label":o,width:`${Math.max(t,Jr).toString()}px`,height:`${Math.max(t,Jr).toString()}px`,src:ve(`icons_svgs/${e}.svg`)})}},ul=16,D1=e=>{switch(e){case"borderless":case"outlinedSecondary":case"outlinedAuxiliary":return V("purple.800");default:return V("white")}},Jt=({backgroundColor:e,borderColor:t,buttonType:n,children:r,color:o,disabled:i,icon:s,iconColor:c,iconSize:l,loading:d,noIconMargin:u,noMargin:f,noPadding:m,noPointerEvents:g,revertOrientation:y=!1,tabIndex:p,type:T,typeSize:O="default",...S})=>{const v=()=>!d&&!s?b.jsx(b.Fragment,{}):b.jsx(Mh,{"data-testid":"button-icon",$iconSize:l??ul,"aria-label":d?"loading":`${s} icon`,children:sr(d?"loading":s,l??ul,d?D1(n):c)});return b.jsxs(Ah,{"data-testid":"button",$backgroundColor:e,$borderColor:t,$buttonType:n,$color:o,$noIconMargin:u,$noMargin:f,$noPadding:m,$noPointerEvents:g,$revertOrientation:y,$typeSize:O,disabled:i,tabIndex:p,type:T,...S,children:[b.jsx(v,{}),r&&b.jsx(jh,{"data-testid":"button-label",className:"translate",children:r})]})};var Qr={exports:{}},eo={exports:{}},we={};/** @license React v16.13.1
|
|
167
167
|
* react-is.production.min.js
|
|
168
168
|
*
|
|
169
169
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
170
170
|
*
|
|
171
171
|
* This source code is licensed under the MIT license found in the
|
|
172
172
|
* LICENSE file in the root directory of this source tree.
|
|
173
|
-
*/var dl;function V1(){if(dl)return we;dl=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function v(C){if(typeof C=="object"&&C!==null){var R=C.$$typeof;switch(R){case t:switch(C=C.type,C){case l:case d:case r:case i:case o:case f:return C;default:switch(C=C&&C.$$typeof,C){case c:case u:case y:case g:case s:return C;default:return R}}case n:return R}}}function
|
|
173
|
+
*/var dl;function V1(){if(dl)return we;dl=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function v(C){if(typeof C=="object"&&C!==null){var R=C.$$typeof;switch(R){case t:switch(C=C.type,C){case l:case d:case r:case i:case o:case f:return C;default:switch(C=C&&C.$$typeof,C){case c:case u:case y:case g:case s:return C;default:return R}}case n:return R}}}function x(C){return v(C)===d}return we.AsyncMode=l,we.ConcurrentMode=d,we.ContextConsumer=c,we.ContextProvider=s,we.Element=t,we.ForwardRef=u,we.Fragment=r,we.Lazy=y,we.Memo=g,we.Portal=n,we.Profiler=i,we.StrictMode=o,we.Suspense=f,we.isAsyncMode=function(C){return x(C)||v(C)===l},we.isConcurrentMode=x,we.isContextConsumer=function(C){return v(C)===c},we.isContextProvider=function(C){return v(C)===s},we.isElement=function(C){return typeof C=="object"&&C!==null&&C.$$typeof===t},we.isForwardRef=function(C){return v(C)===u},we.isFragment=function(C){return v(C)===r},we.isLazy=function(C){return v(C)===y},we.isMemo=function(C){return v(C)===g},we.isPortal=function(C){return v(C)===n},we.isProfiler=function(C){return v(C)===i},we.isStrictMode=function(C){return v(C)===o},we.isSuspense=function(C){return v(C)===f},we.isValidElementType=function(C){return typeof C=="string"||typeof C=="function"||C===r||C===d||C===i||C===o||C===f||C===m||typeof C=="object"&&C!==null&&(C.$$typeof===y||C.$$typeof===g||C.$$typeof===s||C.$$typeof===c||C.$$typeof===u||C.$$typeof===T||C.$$typeof===O||C.$$typeof===S||C.$$typeof===p)},we.typeOf=v,we}var Ce={};/** @license React v16.13.1
|
|
174
174
|
* react-is.development.js
|
|
175
175
|
*
|
|
176
176
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
177
177
|
*
|
|
178
178
|
* This source code is licensed under the MIT license found in the
|
|
179
179
|
* LICENSE file in the root directory of this source tree.
|
|
180
|
-
*/var pl;function F1(){return pl||(pl=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function v(j){return typeof j=="string"||typeof j=="function"||j===r||j===d||j===i||j===o||j===f||j===m||typeof j=="object"&&j!==null&&(j.$$typeof===y||j.$$typeof===g||j.$$typeof===s||j.$$typeof===c||j.$$typeof===u||j.$$typeof===T||j.$$typeof===O||j.$$typeof===S||j.$$typeof===p)}function
|
|
180
|
+
*/var pl;function F1(){return pl||(pl=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,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,m=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,p=e?Symbol.for("react.block"):60121,T=e?Symbol.for("react.fundamental"):60117,O=e?Symbol.for("react.responder"):60118,S=e?Symbol.for("react.scope"):60119;function v(j){return typeof j=="string"||typeof j=="function"||j===r||j===d||j===i||j===o||j===f||j===m||typeof j=="object"&&j!==null&&(j.$$typeof===y||j.$$typeof===g||j.$$typeof===s||j.$$typeof===c||j.$$typeof===u||j.$$typeof===T||j.$$typeof===O||j.$$typeof===S||j.$$typeof===p)}function x(j){if(typeof j=="object"&&j!==null){var be=j.$$typeof;switch(be){case t:var Te=j.type;switch(Te){case l:case d:case r:case i:case o:case f:return Te;default:var Ie=Te&&Te.$$typeof;switch(Ie){case c:case u:case y:case g:case s:return Ie;default:return be}}case n:return be}}}var C=l,R=d,P=c,z=s,k=t,h=u,_=r,H=y,I=g,F=n,L=i,N=o,q=f,ae=!1;function Q(j){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.")),$(j)||x(j)===l}function $(j){return x(j)===d}function B(j){return x(j)===c}function K(j){return x(j)===s}function ne(j){return typeof j=="object"&&j!==null&&j.$$typeof===t}function X(j){return x(j)===u}function U(j){return x(j)===r}function A(j){return x(j)===y}function Z(j){return x(j)===g}function Y(j){return x(j)===n}function ie(j){return x(j)===i}function G(j){return x(j)===o}function oe(j){return x(j)===f}Ce.AsyncMode=C,Ce.ConcurrentMode=R,Ce.ContextConsumer=P,Ce.ContextProvider=z,Ce.Element=k,Ce.ForwardRef=h,Ce.Fragment=_,Ce.Lazy=H,Ce.Memo=I,Ce.Portal=F,Ce.Profiler=L,Ce.StrictMode=N,Ce.Suspense=q,Ce.isAsyncMode=Q,Ce.isConcurrentMode=$,Ce.isContextConsumer=B,Ce.isContextProvider=K,Ce.isElement=ne,Ce.isForwardRef=X,Ce.isFragment=U,Ce.isLazy=A,Ce.isMemo=Z,Ce.isPortal=Y,Ce.isProfiler=ie,Ce.isStrictMode=G,Ce.isSuspense=oe,Ce.isValidElementType=v,Ce.typeOf=x}()),Ce}var fl;function ad(){return fl||(fl=1,process.env.NODE_ENV==="production"?eo.exports=V1():eo.exports=F1()),eo.exports}/*
|
|
181
181
|
object-assign
|
|
182
182
|
(c) Sindre Sorhus
|
|
183
183
|
@license MIT
|
|
184
|
-
*/var ha,hl;function H1(){if(hl)return ha;hl=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},c=0;c<10;c++)s["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(s).map(function(u){return s[u]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(u){d[u]=u}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ha=o()?Object.assign:function(i,s){for(var c,l=r(i),d,u=1;u<arguments.length;u++){c=Object(arguments[u]);for(var f in c)t.call(c,f)&&(l[f]=c[f]);if(e){d=e(c);for(var m=0;m<d.length;m++)n.call(c,d[m])&&(l[d[m]]=c[d[m]])}}return l},ha}var ma,ml;function us(){if(ml)return ma;ml=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ma=e,ma}var ga,gl;function sd(){return gl||(gl=1,ga=Function.call.bind(Object.prototype.hasOwnProperty)),ga}var ya,yl;function W1(){if(yl)return ya;yl=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=us(),n={},r=sd();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,c,l,d){if(process.env.NODE_ENV!=="production"){for(var u in i)if(r(i,u)){var f;try{if(typeof i[u]!="function"){var m=Error((l||"React class")+": "+c+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}f=i[u](s,u,l,c,null,t)}catch(y){f=y}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+c+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var g=d?d():"";e("Failed "+c+" type: "+f.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},ya=o,ya}var va,vl;function q1(){if(vl)return va;vl=1;var e=ad(),t=H1(),n=us(),r=sd(),o=W1(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var l="Warning: "+c;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function s(){return null}return va=function(c,l){var d=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f($){var B=$&&(d&&$[d]||$[u]);if(typeof B=="function")return B}var m="<<anonymous>>",g={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:S(),arrayOf:v,element:
|
|
184
|
+
*/var ha,hl;function H1(){if(hl)return ha;hl=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function r(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function o(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},c=0;c<10;c++)s["_"+String.fromCharCode(c)]=c;var l=Object.getOwnPropertyNames(s).map(function(u){return s[u]});if(l.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(u){d[u]=u}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return ha=o()?Object.assign:function(i,s){for(var c,l=r(i),d,u=1;u<arguments.length;u++){c=Object(arguments[u]);for(var f in c)t.call(c,f)&&(l[f]=c[f]);if(e){d=e(c);for(var m=0;m<d.length;m++)n.call(c,d[m])&&(l[d[m]]=c[d[m]])}}return l},ha}var ma,ml;function us(){if(ml)return ma;ml=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ma=e,ma}var ga,gl;function sd(){return gl||(gl=1,ga=Function.call.bind(Object.prototype.hasOwnProperty)),ga}var ya,yl;function W1(){if(yl)return ya;yl=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=us(),n={},r=sd();e=function(i){var s="Warning: "+i;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(i,s,c,l,d){if(process.env.NODE_ENV!=="production"){for(var u in i)if(r(i,u)){var f;try{if(typeof i[u]!="function"){var m=Error((l||"React class")+": "+c+" type `"+u+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof i[u]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}f=i[u](s,u,l,c,null,t)}catch(y){f=y}if(f&&!(f instanceof Error)&&e((l||"React class")+": type specification of "+c+" `"+u+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof f+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),f instanceof Error&&!(f.message in n)){n[f.message]=!0;var g=d?d():"";e("Failed "+c+" type: "+f.message+(g??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(n={})},ya=o,ya}var va,vl;function q1(){if(vl)return va;vl=1;var e=ad(),t=H1(),n=us(),r=sd(),o=W1(),i=function(){};process.env.NODE_ENV!=="production"&&(i=function(c){var l="Warning: "+c;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function s(){return null}return va=function(c,l){var d=typeof Symbol=="function"&&Symbol.iterator,u="@@iterator";function f($){var B=$&&(d&&$[d]||$[u]);if(typeof B=="function")return B}var m="<<anonymous>>",g={array:O("array"),bigint:O("bigint"),bool:O("boolean"),func:O("function"),number:O("number"),object:O("object"),string:O("string"),symbol:O("symbol"),any:S(),arrayOf:v,element:x(),elementType:C(),instanceOf:R,node:h(),objectOf:z,oneOf:P,oneOfType:k,shape:H,exact:I};function y($,B){return $===B?$!==0||1/$===1/B:$!==$&&B!==B}function p($,B){this.message=$,this.data=B&&typeof B=="object"?B:{},this.stack=""}p.prototype=Error.prototype;function T($){if(process.env.NODE_ENV!=="production")var B={},K=0;function ne(U,A,Z,Y,ie,G,oe){if(Y=Y||m,G=G||Z,oe!==n){if(l){var j=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 j.name="Invariant Violation",j}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var be=Y+":"+Z;!B[be]&&K<3&&(i("You are manually calling a React.PropTypes validation function for the `"+G+"` prop on `"+Y+"`. 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."),B[be]=!0,K++)}}return A[Z]==null?U?A[Z]===null?new p("The "+ie+" `"+G+"` is marked as required "+("in `"+Y+"`, but its value is `null`.")):new p("The "+ie+" `"+G+"` is marked as required in "+("`"+Y+"`, but its value is `undefined`.")):null:$(A,Z,Y,ie,G)}var X=ne.bind(null,!1);return X.isRequired=ne.bind(null,!0),X}function O($){function B(K,ne,X,U,A,Z){var Y=K[ne],ie=N(Y);if(ie!==$){var G=q(Y);return new p("Invalid "+U+" `"+A+"` of type "+("`"+G+"` supplied to `"+X+"`, expected ")+("`"+$+"`."),{expectedType:$})}return null}return T(B)}function S(){return T(s)}function v($){function B(K,ne,X,U,A){if(typeof $!="function")return new p("Property `"+A+"` of component `"+X+"` has invalid PropType notation inside arrayOf.");var Z=K[ne];if(!Array.isArray(Z)){var Y=N(Z);return new p("Invalid "+U+" `"+A+"` of type "+("`"+Y+"` supplied to `"+X+"`, expected an array."))}for(var ie=0;ie<Z.length;ie++){var G=$(Z,ie,X,U,A+"["+ie+"]",n);if(G instanceof Error)return G}return null}return T(B)}function x(){function $(B,K,ne,X,U){var A=B[K];if(!c(A)){var Z=N(A);return new p("Invalid "+X+" `"+U+"` of type "+("`"+Z+"` supplied to `"+ne+"`, expected a single ReactElement."))}return null}return T($)}function C(){function $(B,K,ne,X,U){var A=B[K];if(!e.isValidElementType(A)){var Z=N(A);return new p("Invalid "+X+" `"+U+"` of type "+("`"+Z+"` supplied to `"+ne+"`, expected a single ReactElement type."))}return null}return T($)}function R($){function B(K,ne,X,U,A){if(!(K[ne]instanceof $)){var Z=$.name||m,Y=Q(K[ne]);return new p("Invalid "+U+" `"+A+"` of type "+("`"+Y+"` supplied to `"+X+"`, expected ")+("instance of `"+Z+"`."))}return null}return T(B)}function P($){if(!Array.isArray($))return process.env.NODE_ENV!=="production"&&(arguments.length>1?i("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):i("Invalid argument supplied to oneOf, expected an array.")),s;function B(K,ne,X,U,A){for(var Z=K[ne],Y=0;Y<$.length;Y++)if(y(Z,$[Y]))return null;var ie=JSON.stringify($,function(oe,j){var be=q(j);return be==="symbol"?String(j):j});return new p("Invalid "+U+" `"+A+"` of value `"+String(Z)+"` "+("supplied to `"+X+"`, expected one of "+ie+"."))}return T(B)}function z($){function B(K,ne,X,U,A){if(typeof $!="function")return new p("Property `"+A+"` of component `"+X+"` has invalid PropType notation inside objectOf.");var Z=K[ne],Y=N(Z);if(Y!=="object")return new p("Invalid "+U+" `"+A+"` of type "+("`"+Y+"` supplied to `"+X+"`, expected an object."));for(var ie in Z)if(r(Z,ie)){var G=$(Z,ie,X,U,A+"."+ie,n);if(G instanceof Error)return G}return null}return T(B)}function k($){if(!Array.isArray($))return process.env.NODE_ENV!=="production"&&i("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var B=0;B<$.length;B++){var K=$[B];if(typeof K!="function")return i("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ae(K)+" at index "+B+"."),s}function ne(X,U,A,Z,Y){for(var ie=[],G=0;G<$.length;G++){var oe=$[G],j=oe(X,U,A,Z,Y,n);if(j==null)return null;j.data&&r(j.data,"expectedType")&&ie.push(j.data.expectedType)}var be=ie.length>0?", expected one of type ["+ie.join(", ")+"]":"";return new p("Invalid "+Z+" `"+Y+"` supplied to "+("`"+A+"`"+be+"."))}return T(ne)}function h(){function $(B,K,ne,X,U){return F(B[K])?null:new p("Invalid "+X+" `"+U+"` supplied to "+("`"+ne+"`, expected a ReactNode."))}return T($)}function _($,B,K,ne,X){return new p(($||"React class")+": "+B+" type `"+K+"."+ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+X+"`.")}function H($){function B(K,ne,X,U,A){var Z=K[ne],Y=N(Z);if(Y!=="object")return new p("Invalid "+U+" `"+A+"` of type `"+Y+"` "+("supplied to `"+X+"`, expected `object`."));for(var ie in $){var G=$[ie];if(typeof G!="function")return _(X,U,A,ie,q(G));var oe=G(Z,ie,X,U,A+"."+ie,n);if(oe)return oe}return null}return T(B)}function I($){function B(K,ne,X,U,A){var Z=K[ne],Y=N(Z);if(Y!=="object")return new p("Invalid "+U+" `"+A+"` of type `"+Y+"` "+("supplied to `"+X+"`, expected `object`."));var ie=t({},K[ne],$);for(var G in ie){var oe=$[G];if(r($,G)&&typeof oe!="function")return _(X,U,A,G,q(oe));if(!oe)return new p("Invalid "+U+" `"+A+"` key `"+G+"` supplied to `"+X+"`.\nBad object: "+JSON.stringify(K[ne],null," ")+`
|
|
185
185
|
Valid keys: `+JSON.stringify(Object.keys($),null," "));var j=oe(Z,G,X,U,A+"."+G,n);if(j)return j}return null}return T(B)}function F($){switch(typeof $){case"number":case"string":case"undefined":return!0;case"boolean":return!$;case"object":if(Array.isArray($))return $.every(F);if($===null||c($))return!0;var B=f($);if(B){var K=B.call($),ne;if(B!==$.entries){for(;!(ne=K.next()).done;)if(!F(ne.value))return!1}else for(;!(ne=K.next()).done;){var X=ne.value;if(X&&!F(X[1]))return!1}}else return!1;return!0;default:return!1}}function L($,B){return $==="symbol"?!0:B?B["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&B instanceof Symbol:!1}function N($){var B=typeof $;return Array.isArray($)?"array":$ instanceof RegExp?"object":L(B,$)?"symbol":B}function q($){if(typeof $>"u"||$===null)return""+$;var B=N($);if(B==="object"){if($ instanceof Date)return"date";if($ instanceof RegExp)return"regexp"}return B}function ae($){var B=q($);switch(B){case"array":case"object":return"an "+B;case"boolean":case"date":case"regexp":return"a "+B;default:return B}}function Q($){return!$.constructor||!$.constructor.name?m:$.constructor.name}return g.checkPropTypes=o,g.resetWarningCache=o.resetWarningCache,g.PropTypes=g,g},va}var ba,bl;function U1(){if(bl)return ba;bl=1;var e=us();function t(){}function n(){}return n.resetWarningCache=t,ba=function(){function r(s,c,l,d,u,f){if(f!==e){var m=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},ba}var xl;function G1(){if(xl)return Qr.exports;if(xl=1,process.env.NODE_ENV!=="production"){var e=ad(),t=!0;Qr.exports=q1()(e.isElement,t)}else Qr.exports=U1()();return Qr.exports}var Y1=G1();const a=Ja(Y1);function cd(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=cd(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function pe(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=cd(e))&&(r&&(r+=" "),r+=t);return r}function tt(e,t,n=void 0){const r={};for(const o in e){const i=e[o];let s="",c=!0;for(let l=0;l<i.length;l+=1){const d=i[l];d&&(s+=(c===!0?"":" ")+t(d),c=!1,n&&n[d]&&(s+=" "+n[d]))}r[o]=s}return r}function sn(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const i=e[t],s=o||t;return i==null?null:i&&i.nodeType!==1?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an HTMLElement.`):null}const cr=a.oneOfType([a.func,a.object]);function Mn(e,t){return process.env.NODE_ENV==="production"?()=>null:function(...r){return e(...r)||t(...r)}}function K1(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Z1(e,t,n,r,o){const i=e[t],s=o||t;if(i==null||typeof window>"u")return null;let c;return typeof i=="function"&&!K1(i)&&(c="Did you accidentally provide a plain function component instead?"),c!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element type that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const ds=Mn(a.elementType,Z1);function X1(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 ld(e,t,n,r){const o=e[t];if(o==null||!Number.isInteger(o)){const i=X1(o);return new RangeError(`Invalid ${r} \`${t}\` of type \`${i}\` supplied to \`${n}\`, expected \`integer\`.`)}return null}function ud(e,t,...n){return e[t]===void 0?null:ld(e,t,...n)}function La(){return null}ud.isRequired=ld;La.isRequired=La;const dd=process.env.NODE_ENV==="production"?La:ud;function J1(e){return typeof e=="string"}function cn(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}function Ze(e){if(typeof e!="string")throw new Error(process.env.NODE_ENV!=="production"?"MUI: `capitalize(string)` expects a string argument.":cn(7));return e.charAt(0).toUpperCase()+e.slice(1)}var to={exports:{}},Re={};/**
|
|
186
186
|
* @license React
|
|
187
187
|
* react-is.production.js
|
|
@@ -209,14 +209,14 @@ For example, \`@sm\` or \`@600\` or \`@40rem/sidebar\`.`:cn(18,`(${t})`));return
|
|
|
209
209
|
* This source code is licensed under the MIT license found in the
|
|
210
210
|
* LICENSE file in the root directory of this source tree.
|
|
211
211
|
*/function Km(e,t){let n;if(t?n=W(e).withConfig({displayName:t.label,shouldForwardProp:t.shouldForwardProp}):n=W(e),process.env.NODE_ENV!=="production"){const r=(...o)=>{const i=typeof e=="string"?`"${e}"`:"component";return o.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(`
|
|
212
|
-
`)):o.some(s=>s===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),n(...o)};return r.withConfig=n.withConfig,r}return n}function Zm(e,t){e.componentStyle&&(e.componentStyle.rules=t(e.componentStyle.rules))}const Xm=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)=>({...n,[r.key]:r.val}),{})};function Jm(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=Xm(t),s=Object.keys(i);function c(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function d(m,g){const y=s.indexOf(g);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:g)-r/100}${n})`}function u(m){return s.indexOf(m)+1<s.length?d(m,s[s.indexOf(m)+1]):c(m)}function f(m){const g=s.indexOf(m);return g===0?c(s[1]):g===s.length-1?l(s[g]):d(m,s[s.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:c,down:l,between:d,only:u,not:f,unit:n,...o}}const Qm={borderRadius:4};function hd(e=8,t=ps({spacing:e})){if(e.mui)return e;const 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(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}function eg(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function hs(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,c=Jm(n),l=hd(o);let d=pt({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...Qm,...i}},s);return d=om(d),d.applyStyles=eg,d=t.reduce((u,f)=>pt(u,f),d),d.unstable_sxConfig={...Dr,...s?.unstable_sxConfig},d.unstable_sx=function(f){return Qn({sx:f,theme:this})},d}function tg(e){return Object.keys(e).length===0}function md(e=null){const t=E.useContext(cs);return!t||tg(t)?e:t}const ng=hs();function rg(e=ng){return md(e)}const Pl=e=>e,og=()=>{let e=Pl;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Pl}}},ig=og(),ag={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ke(e,t,n="Mui"){const r=ag[t];return r?`${n}-${r}`:`${ig.generate(e)}-${t}`}function Je(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ke(e,o,n)}),r}function gd(e,t=""){return e.displayName||e.name||t}function $l(e,t,n){const r=gd(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function sg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return gd(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Jn.ForwardRef:return $l(e,e.render,"ForwardRef");case Jn.Memo:return $l(e,e.type,"memo");default:return}}}function yd(e){const{variants:t,...n}=e,r={variants:t,style:n,isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=o.style)}),r}const cg=hs();function xa(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function wn(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function lg(e){return e?(t,n)=>n[e]:null}function ug(e,t,n){e.theme=hg(e.theme)?n:e.theme[t]||e.theme}function go(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>go(e,o,n));if(Array.isArray(r?.variants)){let o;if(r.isProcessed)o=n?wn(r.style,n):r.style;else{const{variants:i,...s}=r;o=n?wn(s,n):s}return vd(e,r.variants,[o],n)}return r?.isProcessed?n?wn(r.style,n):r.style:n?wn(r,n):r}function vd(e,t,n=[],r=void 0){let o;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(o))continue}else for(const c in s.props)if(e[c]!==s.props[c]&&e.ownerState?.[c]!==s.props[c])continue e;typeof s.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?wn(s.style(o),r):s.style(o))):n.push(r?wn(s.style,r):s.style)}return n}function dg(e={}){const{themeId:t,defaultTheme:n=cg,rootShouldForwardProp:r=xa,slotShouldForwardProp:o=xa}=e;function i(c){ug(c,t,n)}return(c,l={})=>{Zm(c,R=>R.filter(P=>P!==Qn));const{name:d,slot:u,skipVariantsResolver:f,skipSx:m,overridesResolver:g=lg(bd(u)),...y}=l,p=d&&d.startsWith("Mui")||u?"components":"custom",T=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,O=m||!1;let S=xa;u==="Root"||u==="root"?S=r:u?S=o:mg(c)&&(S=void 0);const v=Km(c,{shouldForwardProp:S,label:fg(d,u),...y}),
|
|
212
|
+
`)):o.some(s=>s===void 0)&&console.error(`MUI: the styled(${i})(...args) API requires all its args to be defined.`),n(...o)};return r.withConfig=n.withConfig,r}return n}function Zm(e,t){e.componentStyle&&(e.componentStyle.rules=t(e.componentStyle.rules))}const Xm=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)=>({...n,[r.key]:r.val}),{})};function Jm(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,i=Xm(t),s=Object.keys(i);function c(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function d(m,g){const y=s.indexOf(g);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(y!==-1&&typeof t[s[y]]=="number"?t[s[y]]:g)-r/100}${n})`}function u(m){return s.indexOf(m)+1<s.length?d(m,s[s.indexOf(m)+1]):c(m)}function f(m){const g=s.indexOf(m);return g===0?c(s[1]):g===s.length-1?l(s[g]):d(m,s[s.indexOf(m)+1]).replace("@media","@media not all and")}return{keys:s,values:i,up:c,down:l,between:d,only:u,not:f,unit:n,...o}}const Qm={borderRadius:4};function hd(e=8,t=ps({spacing:e})){if(e.mui)return e;const 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(i=>{const s=t(i);return typeof s=="number"?`${s}px`:s}).join(" "));return n.mui=!0,n}function eg(e,t){const n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!="function")return{};let r=n.getColorSchemeSelector(e);return r==="&"?t:((r.includes("data-")||r.includes("."))&&(r=`*:where(${r.replace(/\s*&$/,"")}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function hs(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={},...s}=e,c=Jm(n),l=hd(o);let d=pt({breakpoints:c,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...Qm,...i}},s);return d=om(d),d.applyStyles=eg,d=t.reduce((u,f)=>pt(u,f),d),d.unstable_sxConfig={...Dr,...s?.unstable_sxConfig},d.unstable_sx=function(f){return Qn({sx:f,theme:this})},d}function tg(e){return Object.keys(e).length===0}function md(e=null){const t=E.useContext(cs);return!t||tg(t)?e:t}const ng=hs();function rg(e=ng){return md(e)}const Pl=e=>e,og=()=>{let e=Pl;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Pl}}},ig=og(),ag={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function Ke(e,t,n="Mui"){const r=ag[t];return r?`${n}-${r}`:`${ig.generate(e)}-${t}`}function Je(e,t,n="Mui"){const r={};return t.forEach(o=>{r[o]=Ke(e,o,n)}),r}function gd(e,t=""){return e.displayName||e.name||t}function $l(e,t,n){const r=gd(t);return e.displayName||(r!==""?`${n}(${r})`:n)}function sg(e){if(e!=null){if(typeof e=="string")return e;if(typeof e=="function")return gd(e,"Component");if(typeof e=="object")switch(e.$$typeof){case Jn.ForwardRef:return $l(e,e.render,"ForwardRef");case Jn.Memo:return $l(e,e.type,"memo");default:return}}}function yd(e){const{variants:t,...n}=e,r={variants:t,style:n,isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=o.style)}),r}const cg=hs();function xa(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function wn(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function lg(e){return e?(t,n)=>n[e]:null}function ug(e,t,n){e.theme=hg(e.theme)?n:e.theme[t]||e.theme}function go(e,t,n){const r=typeof t=="function"?t(e):t;if(Array.isArray(r))return r.flatMap(o=>go(e,o,n));if(Array.isArray(r?.variants)){let o;if(r.isProcessed)o=n?wn(r.style,n):r.style;else{const{variants:i,...s}=r;o=n?wn(s,n):s}return vd(e,r.variants,[o],n)}return r?.isProcessed?n?wn(r.style,n):r.style:n?wn(r,n):r}function vd(e,t,n=[],r=void 0){let o;e:for(let i=0;i<t.length;i+=1){const s=t[i];if(typeof s.props=="function"){if(o??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(o))continue}else for(const c in s.props)if(e[c]!==s.props[c]&&e.ownerState?.[c]!==s.props[c])continue e;typeof s.style=="function"?(o??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?wn(s.style(o),r):s.style(o))):n.push(r?wn(s.style,r):s.style)}return n}function dg(e={}){const{themeId:t,defaultTheme:n=cg,rootShouldForwardProp:r=xa,slotShouldForwardProp:o=xa}=e;function i(c){ug(c,t,n)}return(c,l={})=>{Zm(c,R=>R.filter(P=>P!==Qn));const{name:d,slot:u,skipVariantsResolver:f,skipSx:m,overridesResolver:g=lg(bd(u)),...y}=l,p=d&&d.startsWith("Mui")||u?"components":"custom",T=f!==void 0?f:u&&u!=="Root"&&u!=="root"||!1,O=m||!1;let S=xa;u==="Root"||u==="root"?S=r:u?S=o:mg(c)&&(S=void 0);const v=Km(c,{shouldForwardProp:S,label:fg(d,u),...y}),x=R=>{if(R.__emotion_real===R)return R;if(typeof R=="function")return function(z){return go(z,R,z.theme.modularCssLayers?p:void 0)};if(Bt(R)){const P=yd(R);return function(k){return P.variants?go(k,P,k.theme.modularCssLayers?p:void 0):k.theme.modularCssLayers?wn(P.style,p):P.style}}return R},C=(...R)=>{const P=[],z=R.map(x),k=[];if(P.push(i),d&&g&&k.push(function(I){const L=I.theme.components?.[d]?.styleOverrides;if(!L)return null;const N={};for(const q in L)N[q]=go(I,L[q],I.theme.modularCssLayers?"theme":void 0);return g(I,N)}),d&&!T&&k.push(function(I){const L=I.theme?.components?.[d]?.variants;return L?vd(I,L,[],I.theme.modularCssLayers?"theme":void 0):null}),O||k.push(Qn),Array.isArray(z[0])){const H=z.shift(),I=new Array(P.length).fill(""),F=new Array(k.length).fill("");let L;L=[...I,...H,...F],L.raw=[...I,...H.raw,...F],P.unshift(L)}const h=[...P,...z,...k],_=v(...h);return c.muiName&&(_.muiName=c.muiName),process.env.NODE_ENV!=="production"&&(_.displayName=pg(d,u,c)),_};return v.withConfig&&(C.withConfig=v.withConfig),C}}function pg(e,t,n){return e?`${e}${Ze(t||"")}`:`Styled(${sg(n)})`}function fg(e,t){let n;return process.env.NODE_ENV!=="production"&&e&&(n=`${e}-${bd(t||"Root")}`),n}function hg(e){for(const t in e)return!1;return!0}function mg(e){return typeof e=="string"&&e.charCodeAt(0)>96}function bd(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function To(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const i=e[o],s=t[o];if(!s)n[o]=i||{};else if(!i)n[o]=s;else{n[o]={...s};for(const c in i)if(Object.prototype.hasOwnProperty.call(i,c)){const l=c;n[o][l]=To(i[l],s[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}function gg(e){const{theme:t,name:n,props:r}=e;return!t||!t.components||!t.components[n]||!t.components[n].defaultProps?r:To(t.components[n].defaultProps,r)}const $n=typeof window<"u"?E.useLayoutEffect:E.useEffect;function yg(e,t,n,r,o){const[i,s]=E.useState(()=>o&&n?n(e).matches:r?r(e).matches:t);return $n(()=>{if(!n)return;const c=n(e),l=()=>{s(c.matches)};return l(),c.addEventListener("change",l),()=>{c.removeEventListener("change",l)}},[e,n]),i}const vg={...E},xd=vg.useSyncExternalStore;function bg(e,t,n,r,o){const i=E.useCallback(()=>t,[t]),s=E.useMemo(()=>{if(o&&n)return()=>n(e).matches;if(r!==null){const{matches:u}=r(e);return()=>u}return i},[i,e,r,o,n]),[c,l]=E.useMemo(()=>{if(n===null)return[i,()=>()=>{}];const u=n(e);return[()=>u.matches,f=>(u.addEventListener("change",f),()=>{u.removeEventListener("change",f)})]},[i,n,e]);return xd(l,c,s)}function wd(e={}){const{themeId:t}=e;return function(r,o={}){let i=md();i&&t&&(i=i[t]||i);const s=typeof window<"u"&&typeof window.matchMedia<"u",{defaultMatches:c=!1,matchMedia:l=s?window.matchMedia:null,ssrMatchMedia:d=null,noSsr:u=!1}=gg({name:"MuiUseMediaQuery",props:o,theme:i});process.env.NODE_ENV!=="production"&&typeof r=="function"&&i===null&&console.error(["MUI: The `query` argument provided is invalid.","You are providing a function without a theme in the context.","One of the parent elements needs to use a ThemeProvider."].join(`
|
|
213
213
|
`));let f=typeof r=="function"?r(i):r;f=f.replace(/^@media( ?)/m,""),f.includes("print")&&console.warn(["MUI: You have provided a `print` query to the `useMediaQuery` hook.","Using the print media query to modify print styles can lead to unexpected results.","Consider using the `displayPrint` field in the `sx` prop instead.","More information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."].join(`
|
|
214
214
|
`));const g=(xd!==void 0?bg:yg)(f,c,l,d,u);return process.env.NODE_ENV!=="production"&&E.useDebugValue({query:f,match:g}),g}}wd();function xg(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function ms(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}].`),xg(e,t,n)}function wg(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)),process.env.NODE_ENV!=="production"&&e.length!==e.trim().length&&console.error(`MUI: The color: "${e}" is invalid. Make sure the color input doesn't contain leading/trailing space.`),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function ln(e){if(e.type)return e;if(e.charAt(0)==="#")return ln(wg(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(process.env.NODE_ENV!=="production"?`MUI: Unsupported \`${e}\` color.
|
|
215
215
|
The following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:cn(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(process.env.NODE_ENV!=="production"?`MUI: unsupported \`${o}\` color space.
|
|
216
216
|
The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:cn(10,o))}else r=r.split(",");return r=r.map(i=>parseFloat(i)),{type:n,values:r,colorSpace:o}}const Cg=e=>{const t=ln(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},Cr=(e,t)=>{try{return Cg(e)}catch{return t&&process.env.NODE_ENV!=="production"&&console.warn(t),e}};function ri(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,i)=>i<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Cd(e){e=ln(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),s=(d,u=(d+n/30)%12)=>o-i*Math.max(Math.min(u-3,9-u,1),-1);let c="rgb";const l=[Math.round(s(0)*255),Math.round(s(8)*255),Math.round(s(4)*255)];return e.type==="hsla"&&(c+="a",l.push(t[3])),ri({type:c,values:l})}function za(e){e=ln(e);let t=e.type==="hsl"||e.type==="hsla"?ln(Cd(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 kl(e,t){const n=za(e),r=za(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function kn(e,t){return e=ln(e),t=ms(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ri(e)}function no(e,t,n){try{return kn(e,t)}catch{return e}}function gs(e,t){if(e=ln(e),t=ms(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ri(e)}function ke(e,t,n){try{return gs(e,t)}catch{return e}}function ys(e,t){if(e=ln(e),t=ms(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ri(e)}function _e(e,t,n){try{return ys(e,t)}catch{return e}}function Sg(e,t=.15){return za(e)>.5?gs(e,t):ys(e,t)}function ro(e,t,n){try{return Sg(e,t)}catch{return e}}function Eg(e){const{prototype:t={}}=e;return!!t.isReactComponent}function Sd(e,t,n,r,o){const i=e[t],s=o||t;if(i==null||typeof window>"u")return null;let c;const l=i.type;return typeof l=="function"&&!Eg(l)&&(c="Did you accidentally use a plain function component for an element instead?"),c!==void 0?new Error(`Invalid ${r} \`${s}\` supplied to \`${n}\`. Expected an element that can hold a ref. ${c} For more information see https://mui.com/r/caveat-with-refs-guide`):null}const lr=Mn(a.element,Sd);lr.isRequired=Mn(a.element.isRequired,Sd);const Tg="exact-prop: ";function Ed(e){return process.env.NODE_ENV==="production"?e:{...e,[Tg]: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 _l(...e){return e.reduce((t,n)=>n==null?t:function(...o){t.apply(this,o),n.apply(this,o)},()=>{})}function vs(e,t=166){let n;function r(...o){const i=()=>{e.apply(this,o)};clearTimeout(n),n=setTimeout(i,t)}return r.clear=()=>{clearTimeout(n)},r}function wt(e){return e&&e.ownerDocument||document}function un(e){return wt(e).defaultView||window}function Ml(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let jl=0;function Og(e){const[t,n]=E.useState(e),r=e||t;return E.useEffect(()=>{t==null&&(jl+=1,n(`mui-${jl}`))},[t]),r}const Rg={...E},Al=Rg.useId;function Pg(e){if(Al!==void 0){const t=Al();return e??t}return Og(e)}function $g(e,t,n,r,o){if(process.env.NODE_ENV==="production")return null;const i=o||t;return typeof e[t]<"u"?new Error(`The prop \`${i}\` is not supported. Please remove it.`):null}function bs({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=E.useRef(e!==void 0),[i,s]=E.useState(t),c=o?e:i;if(process.env.NODE_ENV!=="production"){E.useEffect(()=>{o!==(e!==void 0)&&console.error([`MUI: A component is changing the ${o?"":"un"}controlled ${r} state of ${n} to be ${o?"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(`
|
|
217
217
|
`))},[r,n,e]);const{current:d}=E.useRef(t);E.useEffect(()=>{!o&&!Object.is(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(`
|
|
218
218
|
`))},[JSON.stringify(t)])}const l=E.useCallback(d=>{o||s(d)},[]);return[c,l]}function $t(e){const t=E.useRef(e);return $n(()=>{t.current=e}),E.useRef((...n)=>(0,t.current)(...n)).current}function ft(...e){const t=E.useRef(void 0),n=E.useCallback(r=>{const o=e.map(i=>{if(i==null)return null;if(typeof i=="function"){const s=i,c=s(r);return typeof c=="function"?c:()=>{s(null)}}return i.current=r,()=>{i.current=null}});return()=>{o.forEach(i=>i?.())}},e);return E.useMemo(()=>e.every(r=>r==null)?null:r=>{t.current&&(t.current(),t.current=void 0),r!=null&&(t.current=n(r))},e)}const Il={};function Td(e,t){const n=E.useRef(Il);return n.current===Il&&(n.current=e(t)),n}const kg=[];function _g(e){E.useEffect(e,kg)}class oi{static create(){return new oi}currentId=null;start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}clear=()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)};disposeEffect=()=>this.clear}function Cn(){const e=Td(oi.create).current;return _g(e.disposeEffect),e}function Oo(e){try{return e.matches(":focus-visible")}catch{process.env.NODE_ENV!=="production"&&!/jsdom/.test(window.navigator.userAgent)&&console.warn(["MUI: The `:focus-visible` pseudo class is not supported in this browser.","Some components rely on this feature to work properly."].join(`
|
|
219
|
-
`))}return!1}function Mg(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function jg(e){return typeof e=="string"}function Od(e,t,n){return e===void 0||jg(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Rd(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 Nl(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 Pd(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const g=pe(n?.className,i,o?.className,r?.className),y={...n?.style,...o?.style,...r?.style},p={...n,...o,...r};return g.length>0&&(p.className=g),Object.keys(y).length>0&&(p.style=y),{props:p,internalRef:void 0}}const s=Rd({...o,...r}),c=Nl(r),l=Nl(o),d=t(s),u=pe(d?.className,n?.className,i,o?.className,r?.className),f={...d?.style,...n?.style,...o?.style,...r?.style},m={...d,...n,...l,...c};return u.length>0&&(m.className=u),Object.keys(f).length>0&&(m.style=f),{props:m,internalRef:d.ref}}function $d(e,t,n){return typeof e=="function"?e(t,n):e}function Mr(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:$d(n,r),{props:c,internalRef:l}=Pd({...i,externalSlotProps:s}),d=ft(l,s?.ref,e.additionalProps?.ref);return Od(t,{...c,ref:d},r)}function Vr(e){return parseInt(E.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Ag=E.createContext();process.env.NODE_ENV!=="production"&&(a.node,a.bool);const ii=()=>E.useContext(Ag)??!1,Ig=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(a.node,a.object);function Ng(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?To(o.defaultProps,r):!o.styleOverrides&&!o.variants?To(o,r):r}function Lg({props:e,name:t}){const n=E.useContext(Ig);return Ng({props:e,name:t,theme:{components:n}})}const Ll={theme:void 0};function zg(e){let t,n;return function(o){let i=t;return(i===void 0||o.theme!==n)&&(Ll.theme=o.theme,i=yd(e(Ll)),t=i,n=o.theme),i}}function Bg(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const zl=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},Dg=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([c,l])=>{(!n||n&&!n([...i,c]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,c],Array.isArray(l)?[...s,c]:s):t([...i,c],l,s))})}r(e)},Vg=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function wa(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return Dg(e,(c,l,d)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(c,l))){const u=`--${n?`${n}-`:""}${c.join("-")}`,f=Vg(c,l);Object.assign(o,{[u]:f}),zl(i,c,`var(${u})`,d),zl(s,c,`var(${u}, ${f})`,d)}},c=>c[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function Fg(e,t={}){const{getSelector:n=T,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:c="light",...l}=e,{vars:d,css:u,varsWithDefaults:f}=wa(l,t);let m=f;const g={},{[c]:y,...p}=i;if(Object.entries(p||{}).forEach(([v,
|
|
219
|
+
`))}return!1}function Mg(e=window){const t=e.document.documentElement.clientWidth;return e.innerWidth-t}function jg(e){return typeof e=="string"}function Od(e,t,n){return e===void 0||jg(e)?t:{...t,ownerState:{...t.ownerState,...n}}}function Rd(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 Nl(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 Pd(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const g=pe(n?.className,i,o?.className,r?.className),y={...n?.style,...o?.style,...r?.style},p={...n,...o,...r};return g.length>0&&(p.className=g),Object.keys(y).length>0&&(p.style=y),{props:p,internalRef:void 0}}const s=Rd({...o,...r}),c=Nl(r),l=Nl(o),d=t(s),u=pe(d?.className,n?.className,i,o?.className,r?.className),f={...d?.style,...n?.style,...o?.style,...r?.style},m={...d,...n,...l,...c};return u.length>0&&(m.className=u),Object.keys(f).length>0&&(m.style=f),{props:m,internalRef:d.ref}}function $d(e,t,n){return typeof e=="function"?e(t,n):e}function Mr(e){const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...i}=e,s=o?{}:$d(n,r),{props:c,internalRef:l}=Pd({...i,externalSlotProps:s}),d=ft(l,s?.ref,e.additionalProps?.ref);return Od(t,{...c,ref:d},r)}function Vr(e){return parseInt(E.version,10)>=19?e?.props?.ref||null:e?.ref||null}const Ag=E.createContext();process.env.NODE_ENV!=="production"&&(a.node,a.bool);const ii=()=>E.useContext(Ag)??!1,Ig=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(a.node,a.object);function Ng(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?To(o.defaultProps,r):!o.styleOverrides&&!o.variants?To(o,r):r}function Lg({props:e,name:t}){const n=E.useContext(Ig);return Ng({props:e,name:t,theme:{components:n}})}const Ll={theme:void 0};function zg(e){let t,n;return function(o){let i=t;return(i===void 0||o.theme!==n)&&(Ll.theme=o.theme,i=yd(e(Ll)),t=i,n=o.theme),i}}function Bg(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const zl=(e,t,n,r=[])=>{let o=e;t.forEach((i,s)=>{s===t.length-1?Array.isArray(o)?o[Number(i)]=n:o&&typeof o=="object"&&(o[i]=n):o&&typeof o=="object"&&(o[i]||(o[i]=r.includes(i)?[]:{}),o=o[i])})},Dg=(e,t,n)=>{function r(o,i=[],s=[]){Object.entries(o).forEach(([c,l])=>{(!n||n&&!n([...i,c]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...i,c],Array.isArray(l)?[...s,c]:s):t([...i,c],l,s))})}r(e)},Vg=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function wa(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},i={},s={};return Dg(e,(c,l,d)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(c,l))){const u=`--${n?`${n}-`:""}${c.join("-")}`,f=Vg(c,l);Object.assign(o,{[u]:f}),zl(i,c,`var(${u})`,d),zl(s,c,`var(${u}, ${f})`,d)}},c=>c[0]==="vars"),{css:o,vars:i,varsWithDefaults:s}}function Fg(e,t={}){const{getSelector:n=T,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:i={},components:s,defaultColorScheme:c="light",...l}=e,{vars:d,css:u,varsWithDefaults:f}=wa(l,t);let m=f;const g={},{[c]:y,...p}=i;if(Object.entries(p||{}).forEach(([v,x])=>{const{vars:C,css:R,varsWithDefaults:P}=wa(x,t);m=pt(m,P),g[v]={css:R,vars:C}}),y){const{css:v,vars:x,varsWithDefaults:C}=wa(y,t);m=pt(m,C),g[c]={css:v,vars:x}}function T(v,x){let C=o;if(o==="class"&&(C=".%s"),o==="data"&&(C="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(C=`[${o}="%s"]`),v){if(C==="media")return e.defaultColorScheme===v?":root":{[`@media (prefers-color-scheme: ${i[v]?.palette?.mode||v})`]:{":root":x}};if(C)return e.defaultColorScheme===v?`:root, ${C.replace("%s",String(v))}`:C.replace("%s",String(v))}return":root"}return{vars:m,generateThemeVars:()=>{let v={...d};return Object.entries(g).forEach(([,{vars:x}])=>{v=pt(v,x)}),v},generateStyleSheets:()=>{const v=[],x=e.defaultColorScheme||"light";function C(z,k){Object.keys(k).length&&v.push(typeof z=="string"?{[z]:{...k}}:z)}C(n(void 0,{...u}),u);const{[x]:R,...P}=g;if(R){const{css:z}=R,k=i[x]?.palette?.mode,h=!r&&k?{colorScheme:k,...z}:{...z};C(n(x,{...h}),h)}return Object.entries(P).forEach(([z,{css:k}])=>{const h=i[z]?.palette?.mode,_=!r&&h?{colorScheme:h,...k}:{...k};C(n(z,{..._}),_)}),v}}}function Hg(e){return function(n){return e==="media"?(process.env.NODE_ENV!=="production"&&n!=="light"&&n!=="dark"&&console.error(`MUI: @media (prefers-color-scheme) supports only 'light' or 'dark', but receive '${n}'.`),`@media (prefers-color-scheme: ${n})`):e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}const jr={black:"#000",white:"#fff"},Wg={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"},Ln={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},zn={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},gr={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},Bn={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Dn={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Vn={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"};function kd(){return{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:jr.white,default:jr.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}}}const qg=kd();function _d(){return{text:{primary:jr.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:jr.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}}}const Bl=_d();function Dl(e,t,n,r){const o=r.light||r,i=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ys(e.main,o):t==="dark"&&(e.dark=gs(e.main,i)))}function Ug(e="light"){return e==="dark"?{main:Bn[200],light:Bn[50],dark:Bn[400]}:{main:Bn[700],light:Bn[400],dark:Bn[800]}}function Gg(e="light"){return e==="dark"?{main:Ln[200],light:Ln[50],dark:Ln[400]}:{main:Ln[500],light:Ln[300],dark:Ln[700]}}function Yg(e="light"){return e==="dark"?{main:zn[500],light:zn[300],dark:zn[700]}:{main:zn[700],light:zn[400],dark:zn[800]}}function Kg(e="light"){return e==="dark"?{main:Dn[400],light:Dn[300],dark:Dn[700]}:{main:Dn[700],light:Dn[500],dark:Dn[900]}}function Zg(e="light"){return e==="dark"?{main:Vn[400],light:Vn[300],dark:Vn[700]}:{main:Vn[800],light:Vn[500],dark:Vn[900]}}function Xg(e="light"){return e==="dark"?{main:gr[400],light:gr[300],dark:gr[700]}:{main:"#ed6c02",light:gr[500],dark:gr[900]}}function xs(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,i=e.primary||Ug(t),s=e.secondary||Gg(t),c=e.error||Yg(t),l=e.info||Kg(t),d=e.success||Zg(t),u=e.warning||Xg(t);function f(p){const T=kl(p,Bl.text.primary)>=n?Bl.text.primary:qg.text.primary;if(process.env.NODE_ENV!=="production"){const O=kl(p,T);O<3&&console.error([`MUI: The contrast ratio of ${O}:1 for ${T} on ${p}`,"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(`
|
|
220
220
|
`))}return T}const m=({color:p,name:T,mainShade:O=500,lightShade:S=300,darkShade:v=700})=>{if(p={...p},!p.main&&p[O]&&(p.main=p[O]),!p.hasOwnProperty("main"))throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
|
|
221
221
|
The color object needs to have a \`main\` property or a \`${O}\` property.`:cn(11,T?` (${T})`:"",O));if(typeof p.main!="string")throw new Error(process.env.NODE_ENV!=="production"?`MUI: The color${T?` (${T})`:""} provided to augmentColor(color) is invalid.
|
|
222
222
|
\`color.main\` should be a string, but \`${JSON.stringify(p.main)}\` was provided instead.
|
|
@@ -231,7 +231,7 @@ const theme1 = createTheme({ palette: {
|
|
|
231
231
|
|
|
232
232
|
const theme2 = createTheme({ palette: {
|
|
233
233
|
primary: { main: green[500] },
|
|
234
|
-
} });`:cn(12,T?` (${T})`:"",JSON.stringify(p.main)));return Dl(p,"light",S,r),Dl(p,"dark",v,r),p.contrastText||(p.contrastText=f(p.main)),p};let g;return t==="light"?g=kd():t==="dark"&&(g=_d()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),pt({common:{...jr},mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:u,name:"warning"}),info:m({color:l,name:"info"}),success:m({color:d,name:"success"}),grey:Wg,contrastThreshold:n,getContrastText:f,augmentColor:m,tonalOffset:r,...g},o)}function Jg(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Qg(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function ey(e){return Math.round(e*1e5)/1e5}const Vl={textTransform:"uppercase"},Fl='"Roboto", "Helvetica", "Arial", sans-serif';function ty(e,t){const{fontFamily:n=Fl,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:d,pxToRem:u,...f}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof r!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=r/14,g=u||(T=>`${T/l*m}rem`),y=(T,O,S,v,
|
|
234
|
+
} });`:cn(12,T?` (${T})`:"",JSON.stringify(p.main)));return Dl(p,"light",S,r),Dl(p,"dark",v,r),p.contrastText||(p.contrastText=f(p.main)),p};let g;return t==="light"?g=kd():t==="dark"&&(g=_d()),process.env.NODE_ENV!=="production"&&(g||console.error(`MUI: The palette mode \`${t}\` is not supported.`)),pt({common:{...jr},mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:s,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:c,name:"error"}),warning:m({color:u,name:"warning"}),info:m({color:l,name:"info"}),success:m({color:d,name:"success"}),grey:Wg,contrastThreshold:n,getContrastText:f,augmentColor:m,tonalOffset:r,...g},o)}function Jg(e){const t={};return Object.entries(e).forEach(r=>{const[o,i]=r;typeof i=="object"&&(t[o]=`${i.fontStyle?`${i.fontStyle} `:""}${i.fontVariant?`${i.fontVariant} `:""}${i.fontWeight?`${i.fontWeight} `:""}${i.fontStretch?`${i.fontStretch} `:""}${i.fontSize||""}${i.lineHeight?`/${i.lineHeight} `:""}${i.fontFamily||""}`)}),t}function Qg(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function ey(e){return Math.round(e*1e5)/1e5}const Vl={textTransform:"uppercase"},Fl='"Roboto", "Helvetica", "Arial", sans-serif';function ty(e,t){const{fontFamily:n=Fl,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:i=400,fontWeightMedium:s=500,fontWeightBold:c=700,htmlFontSize:l=16,allVariants:d,pxToRem:u,...f}=typeof t=="function"?t(e):t;process.env.NODE_ENV!=="production"&&(typeof r!="number"&&console.error("MUI: `fontSize` is required to be a number."),typeof l!="number"&&console.error("MUI: `htmlFontSize` is required to be a number."));const m=r/14,g=u||(T=>`${T/l*m}rem`),y=(T,O,S,v,x)=>({fontFamily:n,fontWeight:T,fontSize:g(O),lineHeight:S,...n===Fl?{letterSpacing:`${ey(v/O)}em`}:{},...x,...d}),p={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(i,48,1.167,0),h4:y(i,34,1.235,.25),h5:y(i,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(i,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(i,16,1.5,.15),body2:y(i,14,1.43,.15),button:y(s,14,1.75,.4,Vl),caption:y(i,12,1.66,.4),overline:y(i,12,2.66,1,Vl),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return pt({htmlFontSize:l,pxToRem:g,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:i,fontWeightMedium:s,fontWeightBold:c,...p},f,{clone:!1})}const ny=.2,ry=.14,oy=.12;function ze(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${ny})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${ry})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${oy})`].join(",")}const iy=["none",ze(0,2,1,-1,0,1,1,0,0,1,3,0),ze(0,3,1,-2,0,2,2,0,0,1,5,0),ze(0,3,3,-2,0,3,4,0,0,1,8,0),ze(0,2,4,-1,0,4,5,0,0,1,10,0),ze(0,3,5,-1,0,5,8,0,0,1,14,0),ze(0,3,5,-1,0,6,10,0,0,1,18,0),ze(0,4,5,-2,0,7,10,1,0,2,16,1),ze(0,5,5,-3,0,8,10,1,0,3,14,2),ze(0,5,6,-3,0,9,12,1,0,3,16,2),ze(0,6,6,-3,0,10,14,1,0,4,18,3),ze(0,6,7,-4,0,11,15,1,0,4,20,3),ze(0,7,8,-4,0,12,17,2,0,5,22,4),ze(0,7,8,-4,0,13,19,2,0,5,24,4),ze(0,7,9,-4,0,14,21,2,0,5,26,4),ze(0,8,9,-5,0,15,22,2,0,6,28,5),ze(0,8,10,-5,0,16,24,2,0,6,30,5),ze(0,8,11,-5,0,17,26,2,0,6,32,5),ze(0,9,11,-5,0,18,28,2,0,7,34,6),ze(0,9,12,-6,0,19,29,2,0,7,36,6),ze(0,10,13,-6,0,20,31,3,0,8,38,7),ze(0,10,13,-6,0,21,33,3,0,8,40,7),ze(0,10,14,-6,0,22,35,3,0,8,42,7),ze(0,11,14,-7,0,23,36,3,0,9,44,8),ze(0,11,15,-7,0,24,38,3,0,9,46,8)],ay={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)"},Md={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function Hl(e){return`${Math.round(e)}ms`}function sy(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function cy(e){const t={...ay,...e.easing},n={...Md,...e.duration};return{getAutoHeightDuration:sy,create:(o=["all"],i={})=>{const{duration:s=n.standard,easing:c=t.easeInOut,delay:l=0,...d}=i;if(process.env.NODE_ENV!=="production"){const u=m=>typeof m=="string",f=m=>!Number.isNaN(parseFloat(m));!u(o)&&!Array.isArray(o)&&console.error('MUI: Argument "props" must be a string or Array.'),!f(s)&&!u(s)&&console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`),u(c)||console.error('MUI: Argument "easing" must be a string.'),!f(l)&&!u(l)&&console.error('MUI: Argument "delay" must be a number or a string.'),typeof i!="object"&&console.error(["MUI: Secong argument of transition.create must be an object.","Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
235
235
|
`)),Object.keys(d).length!==0&&console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`)}return(Array.isArray(o)?o:[o]).map(u=>`${u} ${typeof s=="string"?s:Hl(s)} ${c} ${typeof l=="string"?l:Hl(l)}`).join(",")},...e,easing:t,duration:n}}const ly={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function uy(e){return Bt(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function jd(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let i=0;i<o.length;i++){const[s,c]=o[i];!uy(c)||s.startsWith("unstable_")?delete r[s]:Bt(c)&&(r[s]={...c},n(r[s]))}}return n(t),`import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
|
|
236
236
|
|
|
237
237
|
const theme = ${JSON.stringify(t,null,2)};
|
|
@@ -241,13 +241,13 @@ theme.transitions = createTransitions(theme.transitions || {});
|
|
|
241
241
|
|
|
242
242
|
export default theme;`}function Ba(e={},...t){const{breakpoints:n,mixins:r={},spacing:o,palette:i={},transitions:s={},typography:c={},shape:l,...d}=e;if(e.vars&&e.generateThemeVars===void 0)throw new Error(process.env.NODE_ENV!=="production"?"MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.":cn(20));const u=xs(i),f=hs(e);let m=pt(f,{mixins:Qg(f.breakpoints,r),palette:u,shadows:iy.slice(),typography:ty(u,c),transitions:cy(s),zIndex:{...ly}});if(m=pt(m,d),m=t.reduce((g,y)=>pt(g,y),m),process.env.NODE_ENV!=="production"){const g=["active","checked","completed","disabled","error","expanded","focused","focusVisible","required","selected"],y=(p,T)=>{let O;for(O in p){const S=p[O];if(g.includes(O)&&Object.keys(S).length>0){if(process.env.NODE_ENV!=="production"){const v=Ke("",O);console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${O}\` internal state.`,"You can not override it like this: ",JSON.stringify(p,null,2),"",`Instead, you need to use the '&.${v}' syntax:`,JSON.stringify({root:{[`&.${v}`]:S}},null,2),"","https://mui.com/r/state-classes-guide"].join(`
|
|
243
243
|
`))}p[O]={}}}};Object.keys(m.components).forEach(p=>{const T=m.components[p].styleOverrides;T&&p.startsWith("Mui")&&y(T,p)})}return m.unstable_sxConfig={...Dr,...d?.unstable_sxConfig},m.unstable_sx=function(y){return Qn({sx:y,theme:this})},m.toRuntimeSource=jd,m}function Da(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const dy=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Da(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function Ad(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function Id(e){return e==="dark"?dy:[]}function py(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,i=xs(t);return{palette:i,opacity:{...Ad(i.mode),...n},overlays:r||Id(i.mode),...o}}function fy(e){return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/)}const hy=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],my=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let i=o;if(o==="class"&&(i=".%s"),o==="data"&&(i="[data-%s]"),o?.startsWith("data-")&&!o.includes("%s")&&(i=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const s={};return hy(e.cssVarPrefix).forEach(c=>{s[c]=n[c],delete n[c]}),i==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:s}}:i?{[i.replace("%s",t)]:s,[`${r}, ${i.replace("%s",t)}`]:n}:{[r]:{...n,...s}}}if(i&&i!=="media")return`${r}, ${i.replace("%s",String(t))}`}else if(t){if(i==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(i)return i.replace("%s",String(t))}return r};function gy(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function M(e,t,n){!e[t]&&n&&(e[t]=n)}function Sr(e){return typeof e!="string"||!e.startsWith("hsl")?e:Cd(e)}function Kt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=Cr(Sr(e[t]),`MUI: Can't create \`palette.${t}Channel\` because \`palette.${t}\` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().
|
|
244
|
-
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function yy(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Lt=e=>{try{return e()}catch{}},vy=(e="mui")=>Bg(e);function Ca(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=py({...t,palette:{mode:o,...t?.palette}});return}const{palette:i,...s}=Ba({...n,palette:{mode:o,...t?.palette}});return e[r]={...t,palette:i,opacity:{...Ad(o),...t?.opacity},overlays:t?.overlays||Id(o)},s}function by(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=fy,colorSchemeSelector:c=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...d}=e,u=Object.keys(n)[0],f=r||(n.light&&u!=="light"?"light":u),m=vy(i),{[f]:g,light:y,dark:p,...T}=n,O={...T};let S=g;if((f==="dark"&&!("dark"in n)||f==="light"&&!("light"in n))&&(S=!0),!S)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`:cn(21,f));const v=Ca(O,S,d,f);y&&!O.light&&Ca(O,y,void 0,"light"),p&&!O.dark&&Ca(O,p,void 0,"dark");let b={defaultColorScheme:f,...v,cssVarPrefix:i,colorSchemeSelector:c,rootSelector:l,getCssVar:m,colorSchemes:O,font:{...Jg(v.typography),...v.font},spacing:yy(d.spacing)};Object.keys(b.colorSchemes).forEach(k=>{const h=b.colorSchemes[k].palette,_=H=>{const I=H.split("-"),F=I[1],L=I[2];return m(H,h[F][L])};if(h.mode==="light"&&(M(h.common,"background","#fff"),M(h.common,"onBackground","#000")),h.mode==="dark"&&(M(h.common,"background","#000"),M(h.common,"onBackground","#fff")),gy(h,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),h.mode==="light"){M(h.Alert,"errorColor",ke(h.error.light,.6)),M(h.Alert,"infoColor",ke(h.info.light,.6)),M(h.Alert,"successColor",ke(h.success.light,.6)),M(h.Alert,"warningColor",ke(h.warning.light,.6)),M(h.Alert,"errorFilledBg",_("palette-error-main")),M(h.Alert,"infoFilledBg",_("palette-info-main")),M(h.Alert,"successFilledBg",_("palette-success-main")),M(h.Alert,"warningFilledBg",_("palette-warning-main")),M(h.Alert,"errorFilledColor",Lt(()=>h.getContrastText(h.error.main))),M(h.Alert,"infoFilledColor",Lt(()=>h.getContrastText(h.info.main))),M(h.Alert,"successFilledColor",Lt(()=>h.getContrastText(h.success.main))),M(h.Alert,"warningFilledColor",Lt(()=>h.getContrastText(h.warning.main))),M(h.Alert,"errorStandardBg",_e(h.error.light,.9)),M(h.Alert,"infoStandardBg",_e(h.info.light,.9)),M(h.Alert,"successStandardBg",_e(h.success.light,.9)),M(h.Alert,"warningStandardBg",_e(h.warning.light,.9)),M(h.Alert,"errorIconColor",_("palette-error-main")),M(h.Alert,"infoIconColor",_("palette-info-main")),M(h.Alert,"successIconColor",_("palette-success-main")),M(h.Alert,"warningIconColor",_("palette-warning-main")),M(h.AppBar,"defaultBg",_("palette-grey-100")),M(h.Avatar,"defaultBg",_("palette-grey-400")),M(h.Button,"inheritContainedBg",_("palette-grey-300")),M(h.Button,"inheritContainedHoverBg",_("palette-grey-A100")),M(h.Chip,"defaultBorder",_("palette-grey-400")),M(h.Chip,"defaultAvatarColor",_("palette-grey-700")),M(h.Chip,"defaultIconColor",_("palette-grey-700")),M(h.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),M(h.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),M(h.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),M(h.LinearProgress,"primaryBg",_e(h.primary.main,.62)),M(h.LinearProgress,"secondaryBg",_e(h.secondary.main,.62)),M(h.LinearProgress,"errorBg",_e(h.error.main,.62)),M(h.LinearProgress,"infoBg",_e(h.info.main,.62)),M(h.LinearProgress,"successBg",_e(h.success.main,.62)),M(h.LinearProgress,"warningBg",_e(h.warning.main,.62)),M(h.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.11)`),M(h.Slider,"primaryTrack",_e(h.primary.main,.62)),M(h.Slider,"secondaryTrack",_e(h.secondary.main,.62)),M(h.Slider,"errorTrack",_e(h.error.main,.62)),M(h.Slider,"infoTrack",_e(h.info.main,.62)),M(h.Slider,"successTrack",_e(h.success.main,.62)),M(h.Slider,"warningTrack",_e(h.warning.main,.62));const H=ro(h.background.default,.8);M(h.SnackbarContent,"bg",H),M(h.SnackbarContent,"color",Lt(()=>h.getContrastText(H))),M(h.SpeedDialAction,"fabHoverBg",ro(h.background.paper,.15)),M(h.StepConnector,"border",_("palette-grey-400")),M(h.StepContent,"border",_("palette-grey-400")),M(h.Switch,"defaultColor",_("palette-common-white")),M(h.Switch,"defaultDisabledColor",_("palette-grey-100")),M(h.Switch,"primaryDisabledColor",_e(h.primary.main,.62)),M(h.Switch,"secondaryDisabledColor",_e(h.secondary.main,.62)),M(h.Switch,"errorDisabledColor",_e(h.error.main,.62)),M(h.Switch,"infoDisabledColor",_e(h.info.main,.62)),M(h.Switch,"successDisabledColor",_e(h.success.main,.62)),M(h.Switch,"warningDisabledColor",_e(h.warning.main,.62)),M(h.TableCell,"border",_e(no(h.divider,1),.88)),M(h.Tooltip,"bg",no(h.grey[700],.92))}if(h.mode==="dark"){M(h.Alert,"errorColor",_e(h.error.light,.6)),M(h.Alert,"infoColor",_e(h.info.light,.6)),M(h.Alert,"successColor",_e(h.success.light,.6)),M(h.Alert,"warningColor",_e(h.warning.light,.6)),M(h.Alert,"errorFilledBg",_("palette-error-dark")),M(h.Alert,"infoFilledBg",_("palette-info-dark")),M(h.Alert,"successFilledBg",_("palette-success-dark")),M(h.Alert,"warningFilledBg",_("palette-warning-dark")),M(h.Alert,"errorFilledColor",Lt(()=>h.getContrastText(h.error.dark))),M(h.Alert,"infoFilledColor",Lt(()=>h.getContrastText(h.info.dark))),M(h.Alert,"successFilledColor",Lt(()=>h.getContrastText(h.success.dark))),M(h.Alert,"warningFilledColor",Lt(()=>h.getContrastText(h.warning.dark))),M(h.Alert,"errorStandardBg",ke(h.error.light,.9)),M(h.Alert,"infoStandardBg",ke(h.info.light,.9)),M(h.Alert,"successStandardBg",ke(h.success.light,.9)),M(h.Alert,"warningStandardBg",ke(h.warning.light,.9)),M(h.Alert,"errorIconColor",_("palette-error-main")),M(h.Alert,"infoIconColor",_("palette-info-main")),M(h.Alert,"successIconColor",_("palette-success-main")),M(h.Alert,"warningIconColor",_("palette-warning-main")),M(h.AppBar,"defaultBg",_("palette-grey-900")),M(h.AppBar,"darkBg",_("palette-background-paper")),M(h.AppBar,"darkColor",_("palette-text-primary")),M(h.Avatar,"defaultBg",_("palette-grey-600")),M(h.Button,"inheritContainedBg",_("palette-grey-800")),M(h.Button,"inheritContainedHoverBg",_("palette-grey-700")),M(h.Chip,"defaultBorder",_("palette-grey-700")),M(h.Chip,"defaultAvatarColor",_("palette-grey-300")),M(h.Chip,"defaultIconColor",_("palette-grey-300")),M(h.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),M(h.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),M(h.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),M(h.LinearProgress,"primaryBg",ke(h.primary.main,.5)),M(h.LinearProgress,"secondaryBg",ke(h.secondary.main,.5)),M(h.LinearProgress,"errorBg",ke(h.error.main,.5)),M(h.LinearProgress,"infoBg",ke(h.info.main,.5)),M(h.LinearProgress,"successBg",ke(h.success.main,.5)),M(h.LinearProgress,"warningBg",ke(h.warning.main,.5)),M(h.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.13)`),M(h.Slider,"primaryTrack",ke(h.primary.main,.5)),M(h.Slider,"secondaryTrack",ke(h.secondary.main,.5)),M(h.Slider,"errorTrack",ke(h.error.main,.5)),M(h.Slider,"infoTrack",ke(h.info.main,.5)),M(h.Slider,"successTrack",ke(h.success.main,.5)),M(h.Slider,"warningTrack",ke(h.warning.main,.5));const H=ro(h.background.default,.98);M(h.SnackbarContent,"bg",H),M(h.SnackbarContent,"color",Lt(()=>h.getContrastText(H))),M(h.SpeedDialAction,"fabHoverBg",ro(h.background.paper,.15)),M(h.StepConnector,"border",_("palette-grey-600")),M(h.StepContent,"border",_("palette-grey-600")),M(h.Switch,"defaultColor",_("palette-grey-300")),M(h.Switch,"defaultDisabledColor",_("palette-grey-600")),M(h.Switch,"primaryDisabledColor",ke(h.primary.main,.55)),M(h.Switch,"secondaryDisabledColor",ke(h.secondary.main,.55)),M(h.Switch,"errorDisabledColor",ke(h.error.main,.55)),M(h.Switch,"infoDisabledColor",ke(h.info.main,.55)),M(h.Switch,"successDisabledColor",ke(h.success.main,.55)),M(h.Switch,"warningDisabledColor",ke(h.warning.main,.55)),M(h.TableCell,"border",ke(no(h.divider,1),.68)),M(h.Tooltip,"bg",no(h.grey[700],.92))}Kt(h.background,"default"),Kt(h.background,"paper"),Kt(h.common,"background"),Kt(h.common,"onBackground"),Kt(h,"divider"),Object.keys(h).forEach(H=>{const I=h[H];H!=="tonalOffset"&&I&&typeof I=="object"&&(I.main&&M(h[H],"mainChannel",Cr(Sr(I.main))),I.light&&M(h[H],"lightChannel",Cr(Sr(I.light))),I.dark&&M(h[H],"darkChannel",Cr(Sr(I.dark))),I.contrastText&&M(h[H],"contrastTextChannel",Cr(Sr(I.contrastText))),H==="text"&&(Kt(h[H],"primary"),Kt(h[H],"secondary")),H==="action"&&(I.active&&Kt(h[H],"active"),I.selected&&Kt(h[H],"selected")))})}),b=t.reduce((k,h)=>pt(k,h),b);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:my(b)},{vars:R,generateThemeVars:P,generateStyleSheets:z}=Fg(b,C);return b.vars=R,Object.entries(b.colorSchemes[b.defaultColorScheme]).forEach(([k,h])=>{b[k]=h}),b.generateThemeVars=P,b.generateStyleSheets=z,b.generateSpacing=function(){return hd(d.spacing,ps(this))},b.getColorSchemeSelector=Hg(c),b.spacing=b.generateSpacing(),b.shouldSkipGeneratingVar=s,b.unstable_sxConfig={...Dr,...d?.unstable_sxConfig},b.unstable_sx=function(h){return Qn({sx:h,theme:this})},b.toRuntimeSource=jd,b}function Wl(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:xs({...n===!0?{}:n.palette,mode:t})})}function xy(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n?.mode,...s}=e,c=i||"light",l=o?.[c],d={...o,...n?{[c]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Ba(e,...t);let u=n;"palette"in e||d[c]&&(d[c]!==!0?u=d[c].palette:c==="dark"&&(u={mode:"dark"}));const f=Ba({...e,palette:u},...t);return f.defaultColorScheme=c,f.colorSchemes=d,f.palette.mode==="light"&&(f.colorSchemes.light={...d.light!==!0&&d.light,palette:f.palette},Wl(f,"dark",d.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:f.palette},Wl(f,"light",d.light)),f}return!n&&!("light"in d)&&c==="light"&&(d.light=!0),by({...s,colorSchemes:d,defaultColorScheme:c,...typeof r!="boolean"&&r},...t)}const Nd=xy(),ws="$$material";function ur(){const e=rg(Nd);return process.env.NODE_ENV!=="production"&&E.useDebugValue(e),e[ws]||e}function wy(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Cs=e=>wy(e)&&e!=="classes",me=dg({themeId:ws,defaultTheme:Nd,rootShouldForwardProp:Cs});function Cy(){return Ym}process.env.NODE_ENV!=="production"&&(a.node,a.object.isRequired);function nt(e){return Lg(e)}function Va(){return Va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Va.apply(null,arguments)}function Ld(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Fa(e,t){return Fa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Fa(e,t)}function zd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fa(e,t)}const ql={disabled:!1};var Sy=process.env.NODE_ENV!=="production"?a.oneOfType([a.number,a.shape({enter:a.number,exit:a.number,appear:a.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&a.oneOfType([a.string,a.shape({enter:a.string,exit:a.string,active:a.string}),a.shape({enter:a.string,enterDone:a.string,enterActive:a.string,exit:a.string,exitDone:a.string,exitActive:a.string})]);const Ro=te.createContext(null);var Ey=function(t){return t.scrollTop},Er="unmounted",yn="exited",vn="entering",Hn="entered",Ha="exiting",kt=function(e){zd(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,c=s&&!s.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?c?(l=yn,i.appearStatus=vn):l=Hn:r.unmountOnExit||r.mountOnEnter?l=Er:l=yn,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Er?{status:yn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==vn&&s!==Hn&&(i=vn):(s===vn||s===Hn)&&(i=Ha)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,c;return i=s=c=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,c=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:c}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===vn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:xr.findDOMNode(this);s&&Ey(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===yn&&this.setState({status:Er})},n.performEnter=function(o){var i=this,s=this.props.enter,c=this.context?this.context.isMounting:o,l=this.props.nodeRef?[c]:[xr.findDOMNode(this),c],d=l[0],u=l[1],f=this.getTimeouts(),m=c?f.appear:f.enter;if(!o&&!s||ql.disabled){this.safeSetState({status:Hn},function(){i.props.onEntered(d)});return}this.props.onEnter(d,u),this.safeSetState({status:vn},function(){i.props.onEntering(d,u),i.onTransitionEnd(m,function(){i.safeSetState({status:Hn},function(){i.props.onEntered(d,u)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),c=this.props.nodeRef?void 0:xr.findDOMNode(this);if(!i||ql.disabled){this.safeSetState({status:yn},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Ha},function(){o.props.onExiting(c),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:yn},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(c){s&&(s=!1,i.nextCallback=null,o(c))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:xr.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!s||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],d=l[0],u=l[1];this.props.addEndListener(d,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Er)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var c=Ld(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return te.createElement(Ro.Provider,{value:null},typeof s=="function"?s(o,c):te.cloneElement(te.Children.only(s),c))},t}(te.Component);kt.contextType=Ro;kt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:a.shape({current:typeof Element>"u"?a.any:function(e,t,n,r,o,i){var s=e[t];return a.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:a.oneOfType([a.func.isRequired,a.element.isRequired]).isRequired,in:a.bool,mountOnEnter:a.bool,unmountOnExit:a.bool,appear:a.bool,enter:a.bool,exit:a.bool,timeout:function(t){var n=Sy;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.apply(void 0,[t].concat(o))},addEndListener:a.func,onEnter:a.func,onEntering:a.func,onEntered:a.func,onExit:a.func,onExiting:a.func,onExited:a.func}:{};function Fn(){}kt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Fn,onEntering:Fn,onEntered:Fn,onExit:Fn,onExiting:Fn,onExited:Fn};kt.UNMOUNTED=Er;kt.EXITED=yn;kt.ENTERING=vn;kt.ENTERED=Hn;kt.EXITING=Ha;function Ty(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ss(e,t){var n=function(i){return t&&te.isValidElement(i)?t(i):i},r=Object.create(null);return e&&te.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Oy(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,c={};for(var l in t){if(r[l])for(s=0;s<r[l].length;s++){var d=r[l][s];c[r[l][s]]=n(d)}c[l]=n(l)}for(s=0;s<o.length;s++)c[o[s]]=n(o[s]);return c}function Sn(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Ry(e,t){return Ss(e.children,function(n){return te.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Sn(n,"appear",e),enter:Sn(n,"enter",e),exit:Sn(n,"exit",e)})})}function Py(e,t,n){var r=Ss(e.children),o=Oy(t,r);return Object.keys(o).forEach(function(i){var s=o[i];if(te.isValidElement(s)){var c=i in t,l=i in r,d=t[i],u=te.isValidElement(d)&&!d.props.in;l&&(!c||u)?o[i]=te.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Sn(s,"exit",e),enter:Sn(s,"enter",e)}):!l&&c&&!u?o[i]=te.cloneElement(s,{in:!1}):l&&c&&te.isValidElement(d)&&(o[i]=te.cloneElement(s,{onExited:n.bind(null,s),in:d.props.in,exit:Sn(s,"exit",e),enter:Sn(s,"enter",e)}))}}),o}var $y=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ky={component:"div",childFactory:function(t){return t}},Es=function(e){zd(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=i.handleExited.bind(Ty(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}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(o,i){var s=i.children,c=i.handleExited,l=i.firstRender;return{children:l?Ry(o,c):Py(o,s,c),firstRender:!1}},n.handleExited=function(o,i){var s=Ss(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(c){var l=Va({},c.children);return delete l[o.key],{children:l}}))},n.render=function(){var o=this.props,i=o.component,s=o.childFactory,c=Ld(o,["component","childFactory"]),l=this.state.contextValue,d=$y(this.state.children).map(s);return delete c.appear,delete c.enter,delete c.exit,i===null?te.createElement(Ro.Provider,{value:l},d):te.createElement(Ro.Provider,{value:l},te.createElement(i,c,d))},t}(te.Component);Es.propTypes=process.env.NODE_ENV!=="production"?{component:a.any,children:a.node,appear:a.bool,enter:a.bool,exit:a.bool,childFactory:a.func}:{};Es.defaultProps=ky;const Bd=e=>e.scrollTop;function er(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function Wa(e){return`scale(${e}, ${e**2})`}const _y={entering:{opacity:1,transform:Wa(1)},entered:{opacity:1,transform:"none"}},Sa=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ar=E.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:c,onEnter:l,onEntered:d,onEntering:u,onExit:f,onExited:m,onExiting:g,style:y,timeout:p="auto",TransitionComponent:T=kt,...O}=t,S=Cn(),v=E.useRef(),b=ur(),C=E.useRef(null),R=ft(C,Vr(i),n),P=L=>N=>{if(L){const q=C.current;N===void 0?L(q):L(q,N)}},z=P(u),k=P((L,N)=>{Bd(L);const{duration:q,delay:ae,easing:Q}=er({style:y,timeout:p,easing:s},{mode:"enter"});let $;p==="auto"?($=b.transitions.getAutoHeightDuration(L.clientHeight),v.current=$):$=q,L.style.transition=[b.transitions.create("opacity",{duration:$,delay:ae}),b.transitions.create("transform",{duration:Sa?$:$*.666,delay:ae,easing:Q})].join(","),l&&l(L,N)}),h=P(d),_=P(g),H=P(L=>{const{duration:N,delay:q,easing:ae}=er({style:y,timeout:p,easing:s},{mode:"exit"});let Q;p==="auto"?(Q=b.transitions.getAutoHeightDuration(L.clientHeight),v.current=Q):Q=N,L.style.transition=[b.transitions.create("opacity",{duration:Q,delay:q}),b.transitions.create("transform",{duration:Sa?Q:Q*.666,delay:Sa?q:q||Q*.333,easing:ae})].join(","),L.style.opacity=0,L.style.transform=Wa(.75),f&&f(L)}),I=P(m),F=L=>{p==="auto"&&S.start(v.current||0,L),r&&r(C.current,L)};return x.jsx(T,{appear:o,in:c,nodeRef:C,onEnter:k,onEntered:h,onEntering:z,onExit:H,onExited:I,onExiting:_,addEndListener:F,timeout:p==="auto"?null:p,...O,children:(L,{ownerState:N,...q})=>E.cloneElement(i,{style:{opacity:0,transform:Wa(.75),visibility:L==="exited"&&!c?"hidden":void 0,..._y[L],...y,...i.props.style},ref:R,...q})})});process.env.NODE_ENV!=="production"&&(Ar.propTypes={addEndListener:a.func,appear:a.bool,children:lr.isRequired,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,style:a.object,timeout:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});Ar&&(Ar.muiSupportAuto=!0);function My(e){const t=wt(e);return t.body===e?un(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Pr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ul(e){return parseInt(un(e).getComputedStyle(e).paddingRight,10)||0}function jy(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Gl(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const c=!i.includes(s),l=!jy(s);c&&l&&Pr(s,o)})}function Ea(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Ay(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(My(r)){const s=Mg(un(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ul(r)+s}px`;const c=wt(r).querySelectorAll(".mui-fixed");[].forEach.call(c,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Ul(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=wt(r).body;else{const s=r.parentElement,c=un(r);i=s?.nodeName==="HTML"&&c.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:c})=>{i?s.style.setProperty(c,i):s.style.removeProperty(c)})}}function Iy(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Ny{constructor(){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&&Pr(t.modalRef,!1);const o=Iy(n);Gl(n,t.mount,t.modalRef,o,!0);const i=Ea(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Ea(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=Ay(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Ea(this.containers,s=>s.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Pr(t.modalRef,n),Gl(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Pr(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Ly=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zy(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 By(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 Dy(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||By(e))}function Vy(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ly)).forEach((r,o)=>{const i=zy(r);i===-1||!Dy(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function Fy(){return!0}function Po(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Vy,isEnabled:s=Fy,open:c}=e,l=E.useRef(!1),d=E.useRef(null),u=E.useRef(null),f=E.useRef(null),m=E.useRef(null),g=E.useRef(!1),y=E.useRef(null),p=ft(Vr(t),y),T=E.useRef(null);E.useEffect(()=>{!c||!y.current||(g.current=!n)},[n,c]),E.useEffect(()=>{if(!c||!y.current)return;const v=wt(y.current);return y.current.contains(v.activeElement)||(y.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(`
|
|
245
|
-
`)),y.current.setAttribute("tabIndex","-1")),g.current&&y.current.focus()),()=>{o||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[c]),E.useEffect(()=>{if(!c||!y.current)return;const v=wt(y.current),b=P=>{T.current=P,!(r||!s()||P.key!=="Tab")&&v.activeElement===y.current&&P.shiftKey&&(l.current=!0,u.current&&u.current.focus())},C=()=>{const P=y.current;if(P===null)return;if(!v.hasFocus()||!s()||l.current){l.current=!1;return}if(P.contains(v.activeElement)||r&&v.activeElement!==d.current&&v.activeElement!==u.current)return;if(v.activeElement!==m.current)m.current=null;else if(m.current!==null)return;if(!g.current)return;let z=[];if((v.activeElement===d.current||v.activeElement===u.current)&&(z=i(y.current)),z.length>0){const k=!!(T.current?.shiftKey&&T.current?.key==="Tab"),h=z[0],_=z[z.length-1];typeof h!="string"&&typeof _!="string"&&(k?_.focus():h.focus())}else P.focus()};v.addEventListener("focusin",C),v.addEventListener("keydown",b,!0);const R=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(R),v.removeEventListener("focusin",C),v.removeEventListener("keydown",b,!0)}},[n,r,o,s,c,i]);const O=v=>{f.current===null&&(f.current=v.relatedTarget),g.current=!0,m.current=v.target;const b=t.props.onFocus;b&&b(v)},S=v=>{f.current===null&&(f.current=v.relatedTarget),g.current=!0};return x.jsxs(E.Fragment,{children:[x.jsx("div",{tabIndex:c?0:-1,onFocus:S,ref:d,"data-testid":"sentinelStart"}),E.cloneElement(t,{ref:p,onFocus:O}),x.jsx("div",{tabIndex:c?0:-1,onFocus:S,ref:u,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Po.propTypes={children:lr,disableAutoFocus:a.bool,disableEnforceFocus:a.bool,disableRestoreFocus:a.bool,getTabbable:a.func,isEnabled:a.func,open:a.bool.isRequired});process.env.NODE_ENV!=="production"&&(Po.propTypes=Ed(Po.propTypes));function Hy(e){return typeof e=="function"?e():e}const Ir=E.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,c]=E.useState(null),l=ft(E.isValidElement(r)?Vr(r):null,n);if($n(()=>{i||c(Hy(o)||document.body)},[o,i]),$n(()=>{if(s&&!i)return Ml(n,s),()=>{Ml(n,null)}},[n,s,i]),i){if(E.isValidElement(r)){const d={ref:l};return E.cloneElement(r,d)}return r}return s&&Tp.createPortal(r,s)});process.env.NODE_ENV!=="production"&&(Ir.propTypes={children:a.node,container:a.oneOfType([sn,a.func]),disablePortal:a.bool});process.env.NODE_ENV!=="production"&&(Ir.propTypes=Ed(Ir.propTypes));const et=zg;function je(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,internalForwardedProps:s,shouldForwardComponentProp:c=!1,...l}=t,{component:d,slots:u={[e]:void 0},slotProps:f={[e]:void 0},...m}=i,g=u[e]||r,y=$d(f[e],o),{props:{component:p,...T},internalRef:O}=Pd({className:n,...l,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:y}),S=ft(O,y?.ref,t.ref),v=e==="root"?p||d:p,b=Od(g,{...e==="root"&&!d&&!u[e]&&s,...e!=="root"&&!u[e]&&s,...T,...v&&!c&&{as:v},...v&&c&&{component:v},ref:S},o);return[g,b]}const Wy={entering:{opacity:1},entered:{opacity:1}},Dd=E.forwardRef(function(t,n){const r=ur(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:c,easing:l,in:d,onEnter:u,onEntered:f,onEntering:m,onExit:g,onExited:y,onExiting:p,style:T,timeout:O=o,TransitionComponent:S=kt,...v}=t,b=E.useRef(null),C=ft(b,Vr(c),n),R=F=>L=>{if(F){const N=b.current;L===void 0?F(N):F(N,L)}},P=R(m),z=R((F,L)=>{Bd(F);const N=er({style:T,timeout:O,easing:l},{mode:"enter"});F.style.webkitTransition=r.transitions.create("opacity",N),F.style.transition=r.transitions.create("opacity",N),u&&u(F,L)}),k=R(f),h=R(p),_=R(F=>{const L=er({style:T,timeout:O,easing:l},{mode:"exit"});F.style.webkitTransition=r.transitions.create("opacity",L),F.style.transition=r.transitions.create("opacity",L),g&&g(F)}),H=R(y),I=F=>{i&&i(b.current,F)};return x.jsx(S,{appear:s,in:d,nodeRef:b,onEnter:z,onEntered:k,onEntering:P,onExit:_,onExited:H,onExiting:h,addEndListener:I,timeout:O,...v,children:(F,{ownerState:L,...N})=>E.cloneElement(c,{style:{opacity:0,visibility:F==="exited"&&!d?"hidden":void 0,...Wy[F],...T,...c.props.style},ref:C,...N})})});process.env.NODE_ENV!=="production"&&(Dd.propTypes={addEndListener:a.func,appear:a.bool,children:lr.isRequired,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,style:a.object,timeout:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});function qy(e){return Ke("MuiBackdrop",e)}Je("MuiBackdrop",["root","invisible"]);const Uy=e=>{const{classes:t,invisible:n}=e;return tt({root:["root",n&&"invisible"]},qy,t)},Gy=me("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Vd=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:c=!1,open:l,components:d={},componentsProps:u={},slotProps:f={},slots:m={},TransitionComponent:g,transitionDuration:y,...p}=r,T={...r,component:s,invisible:c},O=Uy(T),S={transition:g,root:d.Root,...m},v={...u,...f},b={slots:S,slotProps:v},[C,R]=je("root",{elementType:Gy,externalForwardedProps:b,className:pe(O.root,i),ownerState:T}),[P,z]=je("transition",{elementType:Dd,externalForwardedProps:b,ownerState:T});return x.jsx(P,{in:l,timeout:y,...p,...z,children:x.jsx(C,{"aria-hidden":!0,...R,classes:O,ref:n,children:o})})});process.env.NODE_ENV!=="production"&&(Vd.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,components:a.shape({Root:a.elementType}),componentsProps:a.shape({root:a.object}),invisible:a.bool,open:a.bool.isRequired,slotProps:a.shape({root:a.oneOfType([a.func,a.object]),transition:a.oneOfType([a.func,a.object])}),slots:a.shape({root:a.elementType,transition:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});function Yy(e){return typeof e=="function"?e():e}function Ky(e){return e?e.props.hasOwnProperty("in"):!1}const Yl=()=>{},oo=new Ny;function Zy(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:s,children:c,onClose:l,open:d,rootRef:u}=e,f=E.useRef({}),m=E.useRef(null),g=E.useRef(null),y=ft(g,u),[p,T]=E.useState(!d),O=Ky(c);let S=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(S=!1);const v=()=>wt(m.current),b=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),C=()=>{oo.mount(b(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},R=$t(()=>{const L=Yy(t)||v().body;oo.add(b(),L),g.current&&C()}),P=()=>oo.isTopModal(b()),z=$t(L=>{m.current=L,L&&(d&&P()?C():g.current&&Pr(g.current,S))}),k=E.useCallback(()=>{oo.remove(b(),S)},[S]);E.useEffect(()=>()=>{k()},[k]),E.useEffect(()=>{d?R():(!O||!o)&&k()},[d,k,O,o,R]);const h=L=>N=>{L.onKeyDown?.(N),!(N.key!=="Escape"||N.which===229||!P())&&(n||(N.stopPropagation(),l&&l(N,"escapeKeyDown")))},_=L=>N=>{L.onClick?.(N),N.target===N.currentTarget&&l&&l(N,"backdropClick")};return{getRootProps:(L={})=>{const N=Rd(e);delete N.onTransitionEnter,delete N.onTransitionExited;const q={...N,...L};return{role:"presentation",...q,onKeyDown:h(q),ref:y}},getBackdropProps:(L={})=>{const N=L;return{"aria-hidden":!0,...N,onClick:_(N),open:d}},getTransitionProps:()=>{const L=()=>{T(!1),i&&i()},N=()=>{T(!0),s&&s(),o&&k()};return{onEnter:_l(L,c?.props.onEnter??Yl),onExited:_l(N,c?.props.onExited??Yl)}},rootRef:y,portalRef:z,isTopModal:P,exited:p,hasTransition:O}}function Xy(e){return Ke("MuiModal",e)}Je("MuiModal",["root","hidden","backdrop"]);const Jy=e=>{const{open:t,exited:n,classes:r}=e;return tt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Xy,r)},Qy=me("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(et(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),ev=me(Vd,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Fd=E.forwardRef(function(t,n){const r=nt({name:"MuiModal",props:t}),{BackdropComponent:o=ev,BackdropProps:i,classes:s,className:c,closeAfterTransition:l=!1,children:d,container:u,component:f,components:m={},componentsProps:g={},disableAutoFocus:y=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:T=!1,disablePortal:O=!1,disableRestoreFocus:S=!1,disableScrollLock:v=!1,hideBackdrop:b=!1,keepMounted:C=!1,onBackdropClick:R,onClose:P,onTransitionEnter:z,onTransitionExited:k,open:h,slotProps:_={},slots:H={},theme:I,...F}=r,L={...r,closeAfterTransition:l,disableAutoFocus:y,disableEnforceFocus:p,disableEscapeKeyDown:T,disablePortal:O,disableRestoreFocus:S,disableScrollLock:v,hideBackdrop:b,keepMounted:C},{getRootProps:N,getBackdropProps:q,getTransitionProps:ae,portalRef:Q,isTopModal:$,exited:B,hasTransition:K}=Zy({...L,rootRef:n}),ne={...L,exited:B},X=Jy(ne),U={};if(d.props.tabIndex===void 0&&(U.tabIndex="-1"),K){const{onEnter:oe,onExited:j}=ae();U.onEnter=oe,U.onExited=j}const A={slots:{root:m.Root,backdrop:m.Backdrop,...H},slotProps:{...g,..._}},[Z,Y]=je("root",{ref:n,elementType:Qy,externalForwardedProps:{...A,...F,component:f},getSlotProps:N,ownerState:ne,className:pe(c,X?.root,!ne.open&&ne.exited&&X?.hidden)}),[ie,G]=je("backdrop",{ref:i?.ref,elementType:o,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:oe=>q({...oe,onClick:j=>{R&&R(j),oe?.onClick&&oe.onClick(j)}}),className:pe(i?.className,X?.backdrop),ownerState:ne});return!C&&!h&&(!K||B)?null:x.jsx(Ir,{ref:Q,container:u,disablePortal:O,children:x.jsxs(Z,{...Y,children:[!b&&o?x.jsx(ie,{...G}):null,x.jsx(Po,{disableEnforceFocus:p,disableAutoFocus:y,disableRestoreFocus:S,isEnabled:$,open:h,children:E.cloneElement(d,U)})]})})});process.env.NODE_ENV!=="production"&&(Fd.propTypes={BackdropComponent:a.elementType,BackdropProps:a.object,children:lr.isRequired,classes:a.object,className:a.string,closeAfterTransition:a.bool,component:a.elementType,components:a.shape({Backdrop:a.elementType,Root:a.elementType}),componentsProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),container:a.oneOfType([sn,a.func]),disableAutoFocus:a.bool,disableEnforceFocus:a.bool,disableEscapeKeyDown:a.bool,disablePortal:a.bool,disableRestoreFocus:a.bool,disableScrollLock:a.bool,hideBackdrop:a.bool,keepMounted:a.bool,onBackdropClick:a.func,onClose:a.func,onTransitionEnter:a.func,onTransitionExited:a.func,open:a.bool.isRequired,slotProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({backdrop:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function tv(e){return Ke("MuiPaper",e)}Je("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 nv=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return tt(i,tv,o)},rv=me("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}`]]}})(et(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ts=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiPaper"}),o=ur(),{className:i,component:s="div",elevation:c=1,square:l=!1,variant:d="elevation",...u}=r,f={...r,component:s,elevation:c,square:l,variant:d},m=nv(f);return process.env.NODE_ENV!=="production"&&o.shadows[c]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${c}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${c}]\` is defined.`].join(`
|
|
246
|
-
`)),
|
|
244
|
+
To suppress this warning, you need to explicitly provide the \`palette.${t}Channel\` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.`))}function yy(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const Lt=e=>{try{return e()}catch{}},vy=(e="mui")=>Bg(e);function Ca(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=py({...t,palette:{mode:o,...t?.palette}});return}const{palette:i,...s}=Ba({...n,palette:{mode:o,...t?.palette}});return e[r]={...t,palette:i,opacity:{...Ad(o),...t?.opacity},overlays:t?.overlays||Id(o)},s}function by(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:i="mui",shouldSkipGeneratingVar:s=fy,colorSchemeSelector:c=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...d}=e,u=Object.keys(n)[0],f=r||(n.light&&u!=="light"?"light":u),m=vy(i),{[f]:g,light:y,dark:p,...T}=n,O={...T};let S=g;if((f==="dark"&&!("dark"in n)||f==="light"&&!("light"in n))&&(S=!0),!S)throw new Error(process.env.NODE_ENV!=="production"?`MUI: The \`colorSchemes.${f}\` option is either missing or invalid.`:cn(21,f));const v=Ca(O,S,d,f);y&&!O.light&&Ca(O,y,void 0,"light"),p&&!O.dark&&Ca(O,p,void 0,"dark");let x={defaultColorScheme:f,...v,cssVarPrefix:i,colorSchemeSelector:c,rootSelector:l,getCssVar:m,colorSchemes:O,font:{...Jg(v.typography),...v.font},spacing:yy(d.spacing)};Object.keys(x.colorSchemes).forEach(k=>{const h=x.colorSchemes[k].palette,_=H=>{const I=H.split("-"),F=I[1],L=I[2];return m(H,h[F][L])};if(h.mode==="light"&&(M(h.common,"background","#fff"),M(h.common,"onBackground","#000")),h.mode==="dark"&&(M(h.common,"background","#000"),M(h.common,"onBackground","#fff")),gy(h,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),h.mode==="light"){M(h.Alert,"errorColor",ke(h.error.light,.6)),M(h.Alert,"infoColor",ke(h.info.light,.6)),M(h.Alert,"successColor",ke(h.success.light,.6)),M(h.Alert,"warningColor",ke(h.warning.light,.6)),M(h.Alert,"errorFilledBg",_("palette-error-main")),M(h.Alert,"infoFilledBg",_("palette-info-main")),M(h.Alert,"successFilledBg",_("palette-success-main")),M(h.Alert,"warningFilledBg",_("palette-warning-main")),M(h.Alert,"errorFilledColor",Lt(()=>h.getContrastText(h.error.main))),M(h.Alert,"infoFilledColor",Lt(()=>h.getContrastText(h.info.main))),M(h.Alert,"successFilledColor",Lt(()=>h.getContrastText(h.success.main))),M(h.Alert,"warningFilledColor",Lt(()=>h.getContrastText(h.warning.main))),M(h.Alert,"errorStandardBg",_e(h.error.light,.9)),M(h.Alert,"infoStandardBg",_e(h.info.light,.9)),M(h.Alert,"successStandardBg",_e(h.success.light,.9)),M(h.Alert,"warningStandardBg",_e(h.warning.light,.9)),M(h.Alert,"errorIconColor",_("palette-error-main")),M(h.Alert,"infoIconColor",_("palette-info-main")),M(h.Alert,"successIconColor",_("palette-success-main")),M(h.Alert,"warningIconColor",_("palette-warning-main")),M(h.AppBar,"defaultBg",_("palette-grey-100")),M(h.Avatar,"defaultBg",_("palette-grey-400")),M(h.Button,"inheritContainedBg",_("palette-grey-300")),M(h.Button,"inheritContainedHoverBg",_("palette-grey-A100")),M(h.Chip,"defaultBorder",_("palette-grey-400")),M(h.Chip,"defaultAvatarColor",_("palette-grey-700")),M(h.Chip,"defaultIconColor",_("palette-grey-700")),M(h.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),M(h.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),M(h.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),M(h.LinearProgress,"primaryBg",_e(h.primary.main,.62)),M(h.LinearProgress,"secondaryBg",_e(h.secondary.main,.62)),M(h.LinearProgress,"errorBg",_e(h.error.main,.62)),M(h.LinearProgress,"infoBg",_e(h.info.main,.62)),M(h.LinearProgress,"successBg",_e(h.success.main,.62)),M(h.LinearProgress,"warningBg",_e(h.warning.main,.62)),M(h.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.11)`),M(h.Slider,"primaryTrack",_e(h.primary.main,.62)),M(h.Slider,"secondaryTrack",_e(h.secondary.main,.62)),M(h.Slider,"errorTrack",_e(h.error.main,.62)),M(h.Slider,"infoTrack",_e(h.info.main,.62)),M(h.Slider,"successTrack",_e(h.success.main,.62)),M(h.Slider,"warningTrack",_e(h.warning.main,.62));const H=ro(h.background.default,.8);M(h.SnackbarContent,"bg",H),M(h.SnackbarContent,"color",Lt(()=>h.getContrastText(H))),M(h.SpeedDialAction,"fabHoverBg",ro(h.background.paper,.15)),M(h.StepConnector,"border",_("palette-grey-400")),M(h.StepContent,"border",_("palette-grey-400")),M(h.Switch,"defaultColor",_("palette-common-white")),M(h.Switch,"defaultDisabledColor",_("palette-grey-100")),M(h.Switch,"primaryDisabledColor",_e(h.primary.main,.62)),M(h.Switch,"secondaryDisabledColor",_e(h.secondary.main,.62)),M(h.Switch,"errorDisabledColor",_e(h.error.main,.62)),M(h.Switch,"infoDisabledColor",_e(h.info.main,.62)),M(h.Switch,"successDisabledColor",_e(h.success.main,.62)),M(h.Switch,"warningDisabledColor",_e(h.warning.main,.62)),M(h.TableCell,"border",_e(no(h.divider,1),.88)),M(h.Tooltip,"bg",no(h.grey[700],.92))}if(h.mode==="dark"){M(h.Alert,"errorColor",_e(h.error.light,.6)),M(h.Alert,"infoColor",_e(h.info.light,.6)),M(h.Alert,"successColor",_e(h.success.light,.6)),M(h.Alert,"warningColor",_e(h.warning.light,.6)),M(h.Alert,"errorFilledBg",_("palette-error-dark")),M(h.Alert,"infoFilledBg",_("palette-info-dark")),M(h.Alert,"successFilledBg",_("palette-success-dark")),M(h.Alert,"warningFilledBg",_("palette-warning-dark")),M(h.Alert,"errorFilledColor",Lt(()=>h.getContrastText(h.error.dark))),M(h.Alert,"infoFilledColor",Lt(()=>h.getContrastText(h.info.dark))),M(h.Alert,"successFilledColor",Lt(()=>h.getContrastText(h.success.dark))),M(h.Alert,"warningFilledColor",Lt(()=>h.getContrastText(h.warning.dark))),M(h.Alert,"errorStandardBg",ke(h.error.light,.9)),M(h.Alert,"infoStandardBg",ke(h.info.light,.9)),M(h.Alert,"successStandardBg",ke(h.success.light,.9)),M(h.Alert,"warningStandardBg",ke(h.warning.light,.9)),M(h.Alert,"errorIconColor",_("palette-error-main")),M(h.Alert,"infoIconColor",_("palette-info-main")),M(h.Alert,"successIconColor",_("palette-success-main")),M(h.Alert,"warningIconColor",_("palette-warning-main")),M(h.AppBar,"defaultBg",_("palette-grey-900")),M(h.AppBar,"darkBg",_("palette-background-paper")),M(h.AppBar,"darkColor",_("palette-text-primary")),M(h.Avatar,"defaultBg",_("palette-grey-600")),M(h.Button,"inheritContainedBg",_("palette-grey-800")),M(h.Button,"inheritContainedHoverBg",_("palette-grey-700")),M(h.Chip,"defaultBorder",_("palette-grey-700")),M(h.Chip,"defaultAvatarColor",_("palette-grey-300")),M(h.Chip,"defaultIconColor",_("palette-grey-300")),M(h.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),M(h.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),M(h.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),M(h.LinearProgress,"primaryBg",ke(h.primary.main,.5)),M(h.LinearProgress,"secondaryBg",ke(h.secondary.main,.5)),M(h.LinearProgress,"errorBg",ke(h.error.main,.5)),M(h.LinearProgress,"infoBg",ke(h.info.main,.5)),M(h.LinearProgress,"successBg",ke(h.success.main,.5)),M(h.LinearProgress,"warningBg",ke(h.warning.main,.5)),M(h.Skeleton,"bg",`rgba(${_("palette-text-primaryChannel")} / 0.13)`),M(h.Slider,"primaryTrack",ke(h.primary.main,.5)),M(h.Slider,"secondaryTrack",ke(h.secondary.main,.5)),M(h.Slider,"errorTrack",ke(h.error.main,.5)),M(h.Slider,"infoTrack",ke(h.info.main,.5)),M(h.Slider,"successTrack",ke(h.success.main,.5)),M(h.Slider,"warningTrack",ke(h.warning.main,.5));const H=ro(h.background.default,.98);M(h.SnackbarContent,"bg",H),M(h.SnackbarContent,"color",Lt(()=>h.getContrastText(H))),M(h.SpeedDialAction,"fabHoverBg",ro(h.background.paper,.15)),M(h.StepConnector,"border",_("palette-grey-600")),M(h.StepContent,"border",_("palette-grey-600")),M(h.Switch,"defaultColor",_("palette-grey-300")),M(h.Switch,"defaultDisabledColor",_("palette-grey-600")),M(h.Switch,"primaryDisabledColor",ke(h.primary.main,.55)),M(h.Switch,"secondaryDisabledColor",ke(h.secondary.main,.55)),M(h.Switch,"errorDisabledColor",ke(h.error.main,.55)),M(h.Switch,"infoDisabledColor",ke(h.info.main,.55)),M(h.Switch,"successDisabledColor",ke(h.success.main,.55)),M(h.Switch,"warningDisabledColor",ke(h.warning.main,.55)),M(h.TableCell,"border",ke(no(h.divider,1),.68)),M(h.Tooltip,"bg",no(h.grey[700],.92))}Kt(h.background,"default"),Kt(h.background,"paper"),Kt(h.common,"background"),Kt(h.common,"onBackground"),Kt(h,"divider"),Object.keys(h).forEach(H=>{const I=h[H];H!=="tonalOffset"&&I&&typeof I=="object"&&(I.main&&M(h[H],"mainChannel",Cr(Sr(I.main))),I.light&&M(h[H],"lightChannel",Cr(Sr(I.light))),I.dark&&M(h[H],"darkChannel",Cr(Sr(I.dark))),I.contrastText&&M(h[H],"contrastTextChannel",Cr(Sr(I.contrastText))),H==="text"&&(Kt(h[H],"primary"),Kt(h[H],"secondary")),H==="action"&&(I.active&&Kt(h[H],"active"),I.selected&&Kt(h[H],"selected")))})}),x=t.reduce((k,h)=>pt(k,h),x);const C={prefix:i,disableCssColorScheme:o,shouldSkipGeneratingVar:s,getSelector:my(x)},{vars:R,generateThemeVars:P,generateStyleSheets:z}=Fg(x,C);return x.vars=R,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([k,h])=>{x[k]=h}),x.generateThemeVars=P,x.generateStyleSheets=z,x.generateSpacing=function(){return hd(d.spacing,ps(this))},x.getColorSchemeSelector=Hg(c),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=s,x.unstable_sxConfig={...Dr,...d?.unstable_sxConfig},x.unstable_sx=function(h){return Qn({sx:h,theme:this})},x.toRuntimeSource=jd,x}function Wl(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:xs({...n===!0?{}:n.palette,mode:t})})}function xy(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:i=n?.mode,...s}=e,c=i||"light",l=o?.[c],d={...o,...n?{[c]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Ba(e,...t);let u=n;"palette"in e||d[c]&&(d[c]!==!0?u=d[c].palette:c==="dark"&&(u={mode:"dark"}));const f=Ba({...e,palette:u},...t);return f.defaultColorScheme=c,f.colorSchemes=d,f.palette.mode==="light"&&(f.colorSchemes.light={...d.light!==!0&&d.light,palette:f.palette},Wl(f,"dark",d.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...d.dark!==!0&&d.dark,palette:f.palette},Wl(f,"light",d.light)),f}return!n&&!("light"in d)&&c==="light"&&(d.light=!0),by({...s,colorSchemes:d,defaultColorScheme:c,...typeof r!="boolean"&&r},...t)}const Nd=xy(),ws="$$material";function ur(){const e=rg(Nd);return process.env.NODE_ENV!=="production"&&E.useDebugValue(e),e[ws]||e}function wy(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const Cs=e=>wy(e)&&e!=="classes",me=dg({themeId:ws,defaultTheme:Nd,rootShouldForwardProp:Cs});function Cy(){return Ym}process.env.NODE_ENV!=="production"&&(a.node,a.object.isRequired);function nt(e){return Lg(e)}function Va(){return Va=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Va.apply(null,arguments)}function Ld(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Fa(e,t){return Fa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Fa(e,t)}function zd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fa(e,t)}const ql={disabled:!1};var Sy=process.env.NODE_ENV!=="production"?a.oneOfType([a.number,a.shape({enter:a.number,exit:a.number,appear:a.number}).isRequired]):null;process.env.NODE_ENV!=="production"&&a.oneOfType([a.string,a.shape({enter:a.string,exit:a.string,active:a.string}),a.shape({enter:a.string,enterDone:a.string,enterActive:a.string,exit:a.string,exitDone:a.string,exitActive:a.string})]);const Ro=te.createContext(null);var Ey=function(t){return t.scrollTop},Er="unmounted",yn="exited",vn="entering",Hn="entered",Ha="exiting",kt=function(e){zd(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=o,c=s&&!s.isMounting?r.enter:r.appear,l;return i.appearStatus=null,r.in?c?(l=yn,i.appearStatus=vn):l=Hn:r.unmountOnExit||r.mountOnEnter?l=Er:l=yn,i.state={status:l},i.nextCallback=null,i}t.getDerivedStateFromProps=function(o,i){var s=o.in;return s&&i.status===Er?{status:yn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var i=null;if(o!==this.props){var s=this.state.status;this.props.in?s!==vn&&s!==Hn&&(i=vn):(s===vn||s===Hn)&&(i=Ha)}this.updateStatus(!1,i)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,i,s,c;return i=s=c=o,o!=null&&typeof o!="number"&&(i=o.exit,s=o.enter,c=o.appear!==void 0?o.appear:s),{exit:i,enter:s,appear:c}},n.updateStatus=function(o,i){if(o===void 0&&(o=!1),i!==null)if(this.cancelNextCallback(),i===vn){if(this.props.unmountOnExit||this.props.mountOnEnter){var s=this.props.nodeRef?this.props.nodeRef.current:xr.findDOMNode(this);s&&Ey(s)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===yn&&this.setState({status:Er})},n.performEnter=function(o){var i=this,s=this.props.enter,c=this.context?this.context.isMounting:o,l=this.props.nodeRef?[c]:[xr.findDOMNode(this),c],d=l[0],u=l[1],f=this.getTimeouts(),m=c?f.appear:f.enter;if(!o&&!s||ql.disabled){this.safeSetState({status:Hn},function(){i.props.onEntered(d)});return}this.props.onEnter(d,u),this.safeSetState({status:vn},function(){i.props.onEntering(d,u),i.onTransitionEnd(m,function(){i.safeSetState({status:Hn},function(){i.props.onEntered(d,u)})})})},n.performExit=function(){var o=this,i=this.props.exit,s=this.getTimeouts(),c=this.props.nodeRef?void 0:xr.findDOMNode(this);if(!i||ql.disabled){this.safeSetState({status:yn},function(){o.props.onExited(c)});return}this.props.onExit(c),this.safeSetState({status:Ha},function(){o.props.onExiting(c),o.onTransitionEnd(s.exit,function(){o.safeSetState({status:yn},function(){o.props.onExited(c)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,i){i=this.setNextCallback(i),this.setState(o,i)},n.setNextCallback=function(o){var i=this,s=!0;return this.nextCallback=function(c){s&&(s=!1,i.nextCallback=null,o(c))},this.nextCallback.cancel=function(){s=!1},this.nextCallback},n.onTransitionEnd=function(o,i){this.setNextCallback(i);var s=this.props.nodeRef?this.props.nodeRef.current:xr.findDOMNode(this),c=o==null&&!this.props.addEndListener;if(!s||c){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[s,this.nextCallback],d=l[0],u=l[1];this.props.addEndListener(d,u)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Er)return null;var i=this.props,s=i.children;i.in,i.mountOnEnter,i.unmountOnExit,i.appear,i.enter,i.exit,i.timeout,i.addEndListener,i.onEnter,i.onEntering,i.onEntered,i.onExit,i.onExiting,i.onExited,i.nodeRef;var c=Ld(i,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return te.createElement(Ro.Provider,{value:null},typeof s=="function"?s(o,c):te.cloneElement(te.Children.only(s),c))},t}(te.Component);kt.contextType=Ro;kt.propTypes=process.env.NODE_ENV!=="production"?{nodeRef:a.shape({current:typeof Element>"u"?a.any:function(e,t,n,r,o,i){var s=e[t];return a.instanceOf(s&&"ownerDocument"in s?s.ownerDocument.defaultView.Element:Element)(e,t,n,r,o,i)}}),children:a.oneOfType([a.func.isRequired,a.element.isRequired]).isRequired,in:a.bool,mountOnEnter:a.bool,unmountOnExit:a.bool,appear:a.bool,enter:a.bool,exit:a.bool,timeout:function(t){var n=Sy;t.addEndListener||(n=n.isRequired);for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return n.apply(void 0,[t].concat(o))},addEndListener:a.func,onEnter:a.func,onEntering:a.func,onEntered:a.func,onExit:a.func,onExiting:a.func,onExited:a.func}:{};function Fn(){}kt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Fn,onEntering:Fn,onEntered:Fn,onExit:Fn,onExiting:Fn,onExited:Fn};kt.UNMOUNTED=Er;kt.EXITED=yn;kt.ENTERING=vn;kt.ENTERED=Hn;kt.EXITING=Ha;function Ty(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ss(e,t){var n=function(i){return t&&te.isValidElement(i)?t(i):i},r=Object.create(null);return e&&te.Children.map(e,function(o){return o}).forEach(function(o){r[o.key]=n(o)}),r}function Oy(e,t){e=e||{},t=t||{};function n(u){return u in t?t[u]:e[u]}var r=Object.create(null),o=[];for(var i in e)i in t?o.length&&(r[i]=o,o=[]):o.push(i);var s,c={};for(var l in t){if(r[l])for(s=0;s<r[l].length;s++){var d=r[l][s];c[r[l][s]]=n(d)}c[l]=n(l)}for(s=0;s<o.length;s++)c[o[s]]=n(o[s]);return c}function Sn(e,t,n){return n[t]!=null?n[t]:e.props[t]}function Ry(e,t){return Ss(e.children,function(n){return te.cloneElement(n,{onExited:t.bind(null,n),in:!0,appear:Sn(n,"appear",e),enter:Sn(n,"enter",e),exit:Sn(n,"exit",e)})})}function Py(e,t,n){var r=Ss(e.children),o=Oy(t,r);return Object.keys(o).forEach(function(i){var s=o[i];if(te.isValidElement(s)){var c=i in t,l=i in r,d=t[i],u=te.isValidElement(d)&&!d.props.in;l&&(!c||u)?o[i]=te.cloneElement(s,{onExited:n.bind(null,s),in:!0,exit:Sn(s,"exit",e),enter:Sn(s,"enter",e)}):!l&&c&&!u?o[i]=te.cloneElement(s,{in:!1}):l&&c&&te.isValidElement(d)&&(o[i]=te.cloneElement(s,{onExited:n.bind(null,s),in:d.props.in,exit:Sn(s,"exit",e),enter:Sn(s,"enter",e)}))}}),o}var $y=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},ky={component:"div",childFactory:function(t){return t}},Es=function(e){zd(t,e);function t(r,o){var i;i=e.call(this,r,o)||this;var s=i.handleExited.bind(Ty(i));return i.state={contextValue:{isMounting:!0},handleExited:s,firstRender:!0},i}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(o,i){var s=i.children,c=i.handleExited,l=i.firstRender;return{children:l?Ry(o,c):Py(o,s,c),firstRender:!1}},n.handleExited=function(o,i){var s=Ss(this.props.children);o.key in s||(o.props.onExited&&o.props.onExited(i),this.mounted&&this.setState(function(c){var l=Va({},c.children);return delete l[o.key],{children:l}}))},n.render=function(){var o=this.props,i=o.component,s=o.childFactory,c=Ld(o,["component","childFactory"]),l=this.state.contextValue,d=$y(this.state.children).map(s);return delete c.appear,delete c.enter,delete c.exit,i===null?te.createElement(Ro.Provider,{value:l},d):te.createElement(Ro.Provider,{value:l},te.createElement(i,c,d))},t}(te.Component);Es.propTypes=process.env.NODE_ENV!=="production"?{component:a.any,children:a.node,appear:a.bool,enter:a.bool,exit:a.bool,childFactory:a.func}:{};Es.defaultProps=ky;const Bd=e=>e.scrollTop;function er(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function Wa(e){return`scale(${e}, ${e**2})`}const _y={entering:{opacity:1,transform:Wa(1)},entered:{opacity:1,transform:"none"}},Sa=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ar=E.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:i,easing:s,in:c,onEnter:l,onEntered:d,onEntering:u,onExit:f,onExited:m,onExiting:g,style:y,timeout:p="auto",TransitionComponent:T=kt,...O}=t,S=Cn(),v=E.useRef(),x=ur(),C=E.useRef(null),R=ft(C,Vr(i),n),P=L=>N=>{if(L){const q=C.current;N===void 0?L(q):L(q,N)}},z=P(u),k=P((L,N)=>{Bd(L);const{duration:q,delay:ae,easing:Q}=er({style:y,timeout:p,easing:s},{mode:"enter"});let $;p==="auto"?($=x.transitions.getAutoHeightDuration(L.clientHeight),v.current=$):$=q,L.style.transition=[x.transitions.create("opacity",{duration:$,delay:ae}),x.transitions.create("transform",{duration:Sa?$:$*.666,delay:ae,easing:Q})].join(","),l&&l(L,N)}),h=P(d),_=P(g),H=P(L=>{const{duration:N,delay:q,easing:ae}=er({style:y,timeout:p,easing:s},{mode:"exit"});let Q;p==="auto"?(Q=x.transitions.getAutoHeightDuration(L.clientHeight),v.current=Q):Q=N,L.style.transition=[x.transitions.create("opacity",{duration:Q,delay:q}),x.transitions.create("transform",{duration:Sa?Q:Q*.666,delay:Sa?q:q||Q*.333,easing:ae})].join(","),L.style.opacity=0,L.style.transform=Wa(.75),f&&f(L)}),I=P(m),F=L=>{p==="auto"&&S.start(v.current||0,L),r&&r(C.current,L)};return b.jsx(T,{appear:o,in:c,nodeRef:C,onEnter:k,onEntered:h,onEntering:z,onExit:H,onExited:I,onExiting:_,addEndListener:F,timeout:p==="auto"?null:p,...O,children:(L,{ownerState:N,...q})=>E.cloneElement(i,{style:{opacity:0,transform:Wa(.75),visibility:L==="exited"&&!c?"hidden":void 0,..._y[L],...y,...i.props.style},ref:R,...q})})});process.env.NODE_ENV!=="production"&&(Ar.propTypes={addEndListener:a.func,appear:a.bool,children:lr.isRequired,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,style:a.object,timeout:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});Ar&&(Ar.muiSupportAuto=!0);function My(e){const t=wt(e);return t.body===e?un(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function Pr(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ul(e){return parseInt(un(e).getComputedStyle(e).paddingRight,10)||0}function jy(e){const n=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r=e.tagName==="INPUT"&&e.getAttribute("type")==="hidden";return n||r}function Gl(e,t,n,r,o){const i=[t,n,...r];[].forEach.call(e.children,s=>{const c=!i.includes(s),l=!jy(s);c&&l&&Pr(s,o)})}function Ea(e,t){let n=-1;return e.some((r,o)=>t(r)?(n=o,!0):!1),n}function Ay(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(My(r)){const s=Mg(un(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${Ul(r)+s}px`;const c=wt(r).querySelectorAll(".mui-fixed");[].forEach.call(c,l=>{n.push({value:l.style.paddingRight,property:"padding-right",el:l}),l.style.paddingRight=`${Ul(l)+s}px`})}let i;if(r.parentNode instanceof DocumentFragment)i=wt(r).body;else{const s=r.parentElement,c=un(r);i=s?.nodeName==="HTML"&&c.getComputedStyle(s).overflowY==="scroll"?s:r}n.push({value:i.style.overflow,property:"overflow",el:i},{value:i.style.overflowX,property:"overflow-x",el:i},{value:i.style.overflowY,property:"overflow-y",el:i}),i.style.overflow="hidden"}return()=>{n.forEach(({value:i,el:s,property:c})=>{i?s.style.setProperty(c,i):s.style.removeProperty(c)})}}function Iy(e){const t=[];return[].forEach.call(e.children,n=>{n.getAttribute("aria-hidden")==="true"&&t.push(n)}),t}class Ny{constructor(){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&&Pr(t.modalRef,!1);const o=Iy(n);Gl(n,t.mount,t.modalRef,o,!0);const i=Ea(this.containers,s=>s.container===n);return i!==-1?(this.containers[i].modals.push(t),r):(this.containers.push({modals:[t],container:n,restore:null,hiddenSiblings:o}),r)}mount(t,n){const r=Ea(this.containers,i=>i.modals.includes(t)),o=this.containers[r];o.restore||(o.restore=Ay(o,n))}remove(t,n=!0){const r=this.modals.indexOf(t);if(r===-1)return r;const o=Ea(this.containers,s=>s.modals.includes(t)),i=this.containers[o];if(i.modals.splice(i.modals.indexOf(t),1),this.modals.splice(r,1),i.modals.length===0)i.restore&&i.restore(),t.modalRef&&Pr(t.modalRef,n),Gl(i.container,t.mount,t.modalRef,i.hiddenSiblings,!1),this.containers.splice(o,1);else{const s=i.modals[i.modals.length-1];s.modalRef&&Pr(s.modalRef,!1)}return r}isTopModal(t){return this.modals.length>0&&this.modals[this.modals.length-1]===t}}const Ly=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function zy(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 By(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 Dy(e){return!(e.disabled||e.tagName==="INPUT"&&e.type==="hidden"||By(e))}function Vy(e){const t=[],n=[];return Array.from(e.querySelectorAll(Ly)).forEach((r,o)=>{const i=zy(r);i===-1||!Dy(r)||(i===0?t.push(r):n.push({documentOrder:o,tabIndex:i,node:r}))}),n.sort((r,o)=>r.tabIndex===o.tabIndex?r.documentOrder-o.documentOrder:r.tabIndex-o.tabIndex).map(r=>r.node).concat(t)}function Fy(){return!0}function Po(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Vy,isEnabled:s=Fy,open:c}=e,l=E.useRef(!1),d=E.useRef(null),u=E.useRef(null),f=E.useRef(null),m=E.useRef(null),g=E.useRef(!1),y=E.useRef(null),p=ft(Vr(t),y),T=E.useRef(null);E.useEffect(()=>{!c||!y.current||(g.current=!n)},[n,c]),E.useEffect(()=>{if(!c||!y.current)return;const v=wt(y.current);return y.current.contains(v.activeElement)||(y.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(`
|
|
245
|
+
`)),y.current.setAttribute("tabIndex","-1")),g.current&&y.current.focus()),()=>{o||(f.current&&f.current.focus&&(l.current=!0,f.current.focus()),f.current=null)}},[c]),E.useEffect(()=>{if(!c||!y.current)return;const v=wt(y.current),x=P=>{T.current=P,!(r||!s()||P.key!=="Tab")&&v.activeElement===y.current&&P.shiftKey&&(l.current=!0,u.current&&u.current.focus())},C=()=>{const P=y.current;if(P===null)return;if(!v.hasFocus()||!s()||l.current){l.current=!1;return}if(P.contains(v.activeElement)||r&&v.activeElement!==d.current&&v.activeElement!==u.current)return;if(v.activeElement!==m.current)m.current=null;else if(m.current!==null)return;if(!g.current)return;let z=[];if((v.activeElement===d.current||v.activeElement===u.current)&&(z=i(y.current)),z.length>0){const k=!!(T.current?.shiftKey&&T.current?.key==="Tab"),h=z[0],_=z[z.length-1];typeof h!="string"&&typeof _!="string"&&(k?_.focus():h.focus())}else P.focus()};v.addEventListener("focusin",C),v.addEventListener("keydown",x,!0);const R=setInterval(()=>{v.activeElement&&v.activeElement.tagName==="BODY"&&C()},50);return()=>{clearInterval(R),v.removeEventListener("focusin",C),v.removeEventListener("keydown",x,!0)}},[n,r,o,s,c,i]);const O=v=>{f.current===null&&(f.current=v.relatedTarget),g.current=!0,m.current=v.target;const x=t.props.onFocus;x&&x(v)},S=v=>{f.current===null&&(f.current=v.relatedTarget),g.current=!0};return b.jsxs(E.Fragment,{children:[b.jsx("div",{tabIndex:c?0:-1,onFocus:S,ref:d,"data-testid":"sentinelStart"}),E.cloneElement(t,{ref:p,onFocus:O}),b.jsx("div",{tabIndex:c?0:-1,onFocus:S,ref:u,"data-testid":"sentinelEnd"})]})}process.env.NODE_ENV!=="production"&&(Po.propTypes={children:lr,disableAutoFocus:a.bool,disableEnforceFocus:a.bool,disableRestoreFocus:a.bool,getTabbable:a.func,isEnabled:a.func,open:a.bool.isRequired});process.env.NODE_ENV!=="production"&&(Po.propTypes=Ed(Po.propTypes));function Hy(e){return typeof e=="function"?e():e}const Ir=E.forwardRef(function(t,n){const{children:r,container:o,disablePortal:i=!1}=t,[s,c]=E.useState(null),l=ft(E.isValidElement(r)?Vr(r):null,n);if($n(()=>{i||c(Hy(o)||document.body)},[o,i]),$n(()=>{if(s&&!i)return Ml(n,s),()=>{Ml(n,null)}},[n,s,i]),i){if(E.isValidElement(r)){const d={ref:l};return E.cloneElement(r,d)}return r}return s&&Tp.createPortal(r,s)});process.env.NODE_ENV!=="production"&&(Ir.propTypes={children:a.node,container:a.oneOfType([sn,a.func]),disablePortal:a.bool});process.env.NODE_ENV!=="production"&&(Ir.propTypes=Ed(Ir.propTypes));const et=zg;function je(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:i,internalForwardedProps:s,shouldForwardComponentProp:c=!1,...l}=t,{component:d,slots:u={[e]:void 0},slotProps:f={[e]:void 0},...m}=i,g=u[e]||r,y=$d(f[e],o),{props:{component:p,...T},internalRef:O}=Pd({className:n,...l,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:y}),S=ft(O,y?.ref,t.ref),v=e==="root"?p||d:p,x=Od(g,{...e==="root"&&!d&&!u[e]&&s,...e!=="root"&&!u[e]&&s,...T,...v&&!c&&{as:v},...v&&c&&{component:v},ref:S},o);return[g,x]}const Wy={entering:{opacity:1},entered:{opacity:1}},Dd=E.forwardRef(function(t,n){const r=ur(),o={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:i,appear:s=!0,children:c,easing:l,in:d,onEnter:u,onEntered:f,onEntering:m,onExit:g,onExited:y,onExiting:p,style:T,timeout:O=o,TransitionComponent:S=kt,...v}=t,x=E.useRef(null),C=ft(x,Vr(c),n),R=F=>L=>{if(F){const N=x.current;L===void 0?F(N):F(N,L)}},P=R(m),z=R((F,L)=>{Bd(F);const N=er({style:T,timeout:O,easing:l},{mode:"enter"});F.style.webkitTransition=r.transitions.create("opacity",N),F.style.transition=r.transitions.create("opacity",N),u&&u(F,L)}),k=R(f),h=R(p),_=R(F=>{const L=er({style:T,timeout:O,easing:l},{mode:"exit"});F.style.webkitTransition=r.transitions.create("opacity",L),F.style.transition=r.transitions.create("opacity",L),g&&g(F)}),H=R(y),I=F=>{i&&i(x.current,F)};return b.jsx(S,{appear:s,in:d,nodeRef:x,onEnter:z,onEntered:k,onEntering:P,onExit:_,onExited:H,onExiting:h,addEndListener:I,timeout:O,...v,children:(F,{ownerState:L,...N})=>E.cloneElement(c,{style:{opacity:0,visibility:F==="exited"&&!d?"hidden":void 0,...Wy[F],...T,...c.props.style},ref:C,...N})})});process.env.NODE_ENV!=="production"&&(Dd.propTypes={addEndListener:a.func,appear:a.bool,children:lr.isRequired,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,style:a.object,timeout:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});function qy(e){return Ke("MuiBackdrop",e)}Je("MuiBackdrop",["root","invisible"]);const Uy=e=>{const{classes:t,invisible:n}=e;return tt({root:["root",n&&"invisible"]},qy,t)},Gy=me("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})({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",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),Vd=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiBackdrop"}),{children:o,className:i,component:s="div",invisible:c=!1,open:l,components:d={},componentsProps:u={},slotProps:f={},slots:m={},TransitionComponent:g,transitionDuration:y,...p}=r,T={...r,component:s,invisible:c},O=Uy(T),S={transition:g,root:d.Root,...m},v={...u,...f},x={slots:S,slotProps:v},[C,R]=je("root",{elementType:Gy,externalForwardedProps:x,className:pe(O.root,i),ownerState:T}),[P,z]=je("transition",{elementType:Dd,externalForwardedProps:x,ownerState:T});return b.jsx(P,{in:l,timeout:y,...p,...z,children:b.jsx(C,{"aria-hidden":!0,...R,classes:O,ref:n,children:o})})});process.env.NODE_ENV!=="production"&&(Vd.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,components:a.shape({Root:a.elementType}),componentsProps:a.shape({root:a.object}),invisible:a.bool,open:a.bool.isRequired,slotProps:a.shape({root:a.oneOfType([a.func,a.object]),transition:a.oneOfType([a.func,a.object])}),slots:a.shape({root:a.elementType,transition:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});function Yy(e){return typeof e=="function"?e():e}function Ky(e){return e?e.props.hasOwnProperty("in"):!1}const Yl=()=>{},oo=new Ny;function Zy(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,closeAfterTransition:o=!1,onTransitionEnter:i,onTransitionExited:s,children:c,onClose:l,open:d,rootRef:u}=e,f=E.useRef({}),m=E.useRef(null),g=E.useRef(null),y=ft(g,u),[p,T]=E.useState(!d),O=Ky(c);let S=!0;(e["aria-hidden"]==="false"||e["aria-hidden"]===!1)&&(S=!1);const v=()=>wt(m.current),x=()=>(f.current.modalRef=g.current,f.current.mount=m.current,f.current),C=()=>{oo.mount(x(),{disableScrollLock:r}),g.current&&(g.current.scrollTop=0)},R=$t(()=>{const L=Yy(t)||v().body;oo.add(x(),L),g.current&&C()}),P=()=>oo.isTopModal(x()),z=$t(L=>{m.current=L,L&&(d&&P()?C():g.current&&Pr(g.current,S))}),k=E.useCallback(()=>{oo.remove(x(),S)},[S]);E.useEffect(()=>()=>{k()},[k]),E.useEffect(()=>{d?R():(!O||!o)&&k()},[d,k,O,o,R]);const h=L=>N=>{L.onKeyDown?.(N),!(N.key!=="Escape"||N.which===229||!P())&&(n||(N.stopPropagation(),l&&l(N,"escapeKeyDown")))},_=L=>N=>{L.onClick?.(N),N.target===N.currentTarget&&l&&l(N,"backdropClick")};return{getRootProps:(L={})=>{const N=Rd(e);delete N.onTransitionEnter,delete N.onTransitionExited;const q={...N,...L};return{role:"presentation",...q,onKeyDown:h(q),ref:y}},getBackdropProps:(L={})=>{const N=L;return{"aria-hidden":!0,...N,onClick:_(N),open:d}},getTransitionProps:()=>{const L=()=>{T(!1),i&&i()},N=()=>{T(!0),s&&s(),o&&k()};return{onEnter:_l(L,c?.props.onEnter??Yl),onExited:_l(N,c?.props.onExited??Yl)}},rootRef:y,portalRef:z,isTopModal:P,exited:p,hasTransition:O}}function Xy(e){return Ke("MuiModal",e)}Je("MuiModal",["root","hidden","backdrop"]);const Jy=e=>{const{open:t,exited:n,classes:r}=e;return tt({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Xy,r)},Qy=me("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})(et(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:t})=>!t.open&&t.exited,style:{visibility:"hidden"}}]}))),ev=me(Vd,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Fd=E.forwardRef(function(t,n){const r=nt({name:"MuiModal",props:t}),{BackdropComponent:o=ev,BackdropProps:i,classes:s,className:c,closeAfterTransition:l=!1,children:d,container:u,component:f,components:m={},componentsProps:g={},disableAutoFocus:y=!1,disableEnforceFocus:p=!1,disableEscapeKeyDown:T=!1,disablePortal:O=!1,disableRestoreFocus:S=!1,disableScrollLock:v=!1,hideBackdrop:x=!1,keepMounted:C=!1,onBackdropClick:R,onClose:P,onTransitionEnter:z,onTransitionExited:k,open:h,slotProps:_={},slots:H={},theme:I,...F}=r,L={...r,closeAfterTransition:l,disableAutoFocus:y,disableEnforceFocus:p,disableEscapeKeyDown:T,disablePortal:O,disableRestoreFocus:S,disableScrollLock:v,hideBackdrop:x,keepMounted:C},{getRootProps:N,getBackdropProps:q,getTransitionProps:ae,portalRef:Q,isTopModal:$,exited:B,hasTransition:K}=Zy({...L,rootRef:n}),ne={...L,exited:B},X=Jy(ne),U={};if(d.props.tabIndex===void 0&&(U.tabIndex="-1"),K){const{onEnter:oe,onExited:j}=ae();U.onEnter=oe,U.onExited=j}const A={slots:{root:m.Root,backdrop:m.Backdrop,...H},slotProps:{...g,..._}},[Z,Y]=je("root",{ref:n,elementType:Qy,externalForwardedProps:{...A,...F,component:f},getSlotProps:N,ownerState:ne,className:pe(c,X?.root,!ne.open&&ne.exited&&X?.hidden)}),[ie,G]=je("backdrop",{ref:i?.ref,elementType:o,externalForwardedProps:A,shouldForwardComponentProp:!0,additionalProps:i,getSlotProps:oe=>q({...oe,onClick:j=>{R&&R(j),oe?.onClick&&oe.onClick(j)}}),className:pe(i?.className,X?.backdrop),ownerState:ne});return!C&&!h&&(!K||B)?null:b.jsx(Ir,{ref:Q,container:u,disablePortal:O,children:b.jsxs(Z,{...Y,children:[!x&&o?b.jsx(ie,{...G}):null,b.jsx(Po,{disableEnforceFocus:p,disableAutoFocus:y,disableRestoreFocus:S,isEnabled:$,open:h,children:E.cloneElement(d,U)})]})})});process.env.NODE_ENV!=="production"&&(Fd.propTypes={BackdropComponent:a.elementType,BackdropProps:a.object,children:lr.isRequired,classes:a.object,className:a.string,closeAfterTransition:a.bool,component:a.elementType,components:a.shape({Backdrop:a.elementType,Root:a.elementType}),componentsProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),container:a.oneOfType([sn,a.func]),disableAutoFocus:a.bool,disableEnforceFocus:a.bool,disableEscapeKeyDown:a.bool,disablePortal:a.bool,disableRestoreFocus:a.bool,disableScrollLock:a.bool,hideBackdrop:a.bool,keepMounted:a.bool,onBackdropClick:a.func,onClose:a.func,onTransitionEnter:a.func,onTransitionExited:a.func,open:a.bool.isRequired,slotProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({backdrop:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function tv(e){return Ke("MuiPaper",e)}Je("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 nv=e=>{const{square:t,elevation:n,variant:r,classes:o}=e,i={root:["root",r,!t&&"rounded",r==="elevation"&&`elevation${n}`]};return tt(i,tv,o)},rv=me("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}`]]}})(et(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow"),variants:[{props:({ownerState:t})=>!t.square,style:{borderRadius:e.shape.borderRadius}},{props:{variant:"outlined"},style:{border:`1px solid ${(e.vars||e).palette.divider}`}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}))),Ts=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiPaper"}),o=ur(),{className:i,component:s="div",elevation:c=1,square:l=!1,variant:d="elevation",...u}=r,f={...r,component:s,elevation:c,square:l,variant:d},m=nv(f);return process.env.NODE_ENV!=="production"&&o.shadows[c]===void 0&&console.error([`MUI: The elevation provided <Paper elevation={${c}}> is not available in the theme.`,`Please make sure that \`theme.shadows[${c}]\` is defined.`].join(`
|
|
246
|
+
`)),b.jsx(rv,{as:s,ownerState:f,className:pe(m.root,i),ref:n,...u,style:{...d==="elevation"&&{"--Paper-shadow":(o.vars||o).shadows[c],...o.vars&&{"--Paper-overlay":o.vars.overlays?.[c]},...!o.vars&&o.palette.mode==="dark"&&{"--Paper-overlay":`linear-gradient(${kn("#fff",Da(c))}, ${kn("#fff",Da(c))})`}},...u.style}})});process.env.NODE_ENV!=="production"&&(Ts.propTypes={children:a.node,classes:a.object,className:a.string,component:a.elementType,elevation:Mn(dd,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:a.bool,style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["elevation","outlined"]),a.string])});function ov(e){return Ke("MuiPopover",e)}Je("MuiPopover",["root","paper"]);function iv(e){return Ke("MuiSvgIcon",e)}Je("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const av=e=>{const{color:t,fontSize:n,classes:r}=e,o={root:["root",t!=="inherit"&&`color${Ze(t)}`,`fontSize${Ze(n)}`]};return tt(o,iv,r)},sv=me("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${Ze(n.color)}`],t[`fontSize${Ze(n.fontSize)}`]]}})(et(({theme:e})=>({userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:e.transitions?.create?.("fill",{duration:(e.vars??e).transitions?.duration?.shorter}),variants:[{props:t=>!t.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:e.typography?.pxToRem?.(20)||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:e.typography?.pxToRem?.(24)||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:e.typography?.pxToRem?.(35)||"2.1875rem"}},...Object.entries((e.vars??e).palette).filter(([,t])=>t&&t.main).map(([t])=>({props:{color:t},style:{color:(e.vars??e).palette?.[t]?.main}})),{props:{color:"action"},style:{color:(e.vars??e).palette?.action?.active}},{props:{color:"disabled"},style:{color:(e.vars??e).palette?.action?.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}))),$o=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:s="inherit",component:c="svg",fontSize:l="medium",htmlColor:d,inheritViewBox:u=!1,titleAccess:f,viewBox:m="0 0 24 24",...g}=r,y=E.isValidElement(o)&&o.type==="svg",p={...r,color:s,component:c,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:m,hasSvgAsChild:y},T={};u||(T.viewBox=m);const O=av(p);return b.jsxs(sv,{as:c,className:pe(O.root,i),focusable:"false",color:d,"aria-hidden":f?void 0:!0,role:f?"img":void 0,ref:n,...T,...g,...y&&o.props,ownerState:p,children:[y?o.props.children:o,f?b.jsx("title",{children:f}):null]})});process.env.NODE_ENV!=="production"&&($o.propTypes={children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["inherit","action","disabled","primary","secondary","error","info","success","warning"]),a.string]),component:a.elementType,fontSize:a.oneOfType([a.oneOf(["inherit","large","medium","small"]),a.string]),htmlColor:a.string,inheritViewBox:a.bool,shapeRendering:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),titleAccess:a.string,viewBox:a.string});$o.muiName="SvgIcon";function Fr(e,t){function n(r,o){return b.jsx($o,{"data-testid":`${t}Icon`,ref:o,...r,children:e})}return process.env.NODE_ENV!=="production"&&(n.displayName=`${t}Icon`),n.muiName=$o.muiName,E.memo(E.forwardRef(n))}function Hd(e,t){if(!e)return t;if(typeof e=="function"||typeof t=="function")return o=>{const i=typeof t=="function"?t(o):t,s=typeof e=="function"?e({...o,...i}):e,c=pe(o?.className,i?.className,s?.className);return{...i,...s,...!!c&&{className:c},...i?.style&&s?.style&&{style:{...i.style,...s.style}},...i?.sx&&s?.sx&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(s.sx)?s.sx:[s.sx]]}}};const n=t,r=pe(n?.className,e?.className);return{...t,...e,...!!r&&{className:r},...n?.style&&e?.style&&{style:{...n.style,...e.style}},...n?.sx&&e?.sx&&{sx:[...Array.isArray(n.sx)?n.sx:[n.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}function Kl(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.height/2:t==="bottom"&&(n=e.height),n}function Zl(e,t){let n=0;return typeof t=="number"?n=t:t==="center"?n=e.width/2:t==="right"&&(n=e.width),n}function Xl(e){return[e.horizontal,e.vertical].map(t=>typeof t=="number"?`${t}px`:t).join(" ")}function Tr(e){return typeof e=="function"?e():e}const cv=e=>{const{classes:t}=e;return tt({root:["root"],paper:["paper"]},ov,t)},lv=me(Fd,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),uv=me(Ts,{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}),Os=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiPopover"}),{action:o,anchorEl:i,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:l="anchorEl",children:d,className:u,container:f,elevation:m=8,marginThreshold:g=16,open:y,PaperProps:p={},slots:T={},slotProps:O={},transformOrigin:S={vertical:"top",horizontal:"left"},TransitionComponent:v,transitionDuration:x="auto",TransitionProps:C={},disableScrollLock:R=!1,...P}=r,z=E.useRef(),k={...r,anchorOrigin:s,anchorReference:l,elevation:m,marginThreshold:g,transformOrigin:S,TransitionComponent:v,transitionDuration:x,TransitionProps:C},h=cv(k),_=E.useCallback(()=>{if(l==="anchorPosition")return process.env.NODE_ENV!=="production"&&(c||console.error('MUI: You need to provide a `anchorPosition` prop when using <Popover anchorReference="anchorPosition" />.')),c;const G=Tr(i),oe=G&&G.nodeType===1?G:wt(z.current).body,j=oe.getBoundingClientRect();if(process.env.NODE_ENV!=="production"){const be=oe.getBoundingClientRect();process.env.NODE_ENV!=="test"&&be.top===0&&be.left===0&&be.right===0&&be.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(`
|
|
247
247
|
`))}return{top:j.top+Kl(j,s.vertical),left:j.left+Zl(j,s.horizontal)}},[i,s.horizontal,s.vertical,c,l]),H=E.useCallback(G=>({vertical:Kl(G,S.vertical),horizontal:Zl(G,S.horizontal)}),[S.horizontal,S.vertical]),I=E.useCallback(G=>{const oe={width:G.offsetWidth,height:G.offsetHeight},j=H(oe);if(l==="none")return{top:null,left:null,transformOrigin:Xl(j)};const be=_();let Te=be.top-j.vertical,Ie=be.left-j.horizontal;const He=Te+oe.height,Oe=Ie+oe.width,Me=un(Tr(i)),Ne=Me.innerHeight-g,We=Me.innerWidth-g;if(g!==null&&Te<g){const Ee=Te-g;Te-=Ee,j.vertical+=Ee}else if(g!==null&&He>Ne){const Ee=He-Ne;Te-=Ee,j.vertical+=Ee}if(process.env.NODE_ENV!=="production"&&oe.height>Ne&&oe.height&&Ne&&console.error(["MUI: The popover component is too tall.",`Some part of it can not be seen on the screen (${oe.height-Ne}px).`,"Please consider adding a `max-height` to improve the user-experience."].join(`
|
|
248
|
-
`)),g!==null&&Ie<g){const Ee=Ie-g;Ie-=Ee,j.horizontal+=Ee}else if(Oe>We){const Ee=Oe-We;Ie-=Ee,j.horizontal+=Ee}return{top:`${Math.round(Te)}px`,left:`${Math.round(Ie)}px`,transformOrigin:Xl(j)}},[i,l,_,H,g]),[F,L]=E.useState(y),N=E.useCallback(()=>{const G=z.current;if(!G)return;const oe=I(G);oe.top!==null&&G.style.setProperty("top",oe.top),oe.left!==null&&(G.style.left=oe.left),G.style.transformOrigin=oe.transformOrigin,L(!0)},[I]);E.useEffect(()=>(R&&window.addEventListener("scroll",N),()=>window.removeEventListener("scroll",N)),[i,R,N]);const q=()=>{N()},ae=()=>{L(!1)};E.useEffect(()=>{y&&N()}),E.useImperativeHandle(o,()=>y?{updatePosition:()=>{N()}}:null,[y,N]),E.useEffect(()=>{if(!y)return;const G=vs(()=>{N()}),oe=un(Tr(i));return oe.addEventListener("resize",G),()=>{G.clear(),oe.removeEventListener("resize",G)}},[i,y,N]);let Q=
|
|
248
|
+
`)),g!==null&&Ie<g){const Ee=Ie-g;Ie-=Ee,j.horizontal+=Ee}else if(Oe>We){const Ee=Oe-We;Ie-=Ee,j.horizontal+=Ee}return{top:`${Math.round(Te)}px`,left:`${Math.round(Ie)}px`,transformOrigin:Xl(j)}},[i,l,_,H,g]),[F,L]=E.useState(y),N=E.useCallback(()=>{const G=z.current;if(!G)return;const oe=I(G);oe.top!==null&&G.style.setProperty("top",oe.top),oe.left!==null&&(G.style.left=oe.left),G.style.transformOrigin=oe.transformOrigin,L(!0)},[I]);E.useEffect(()=>(R&&window.addEventListener("scroll",N),()=>window.removeEventListener("scroll",N)),[i,R,N]);const q=()=>{N()},ae=()=>{L(!1)};E.useEffect(()=>{y&&N()}),E.useImperativeHandle(o,()=>y?{updatePosition:()=>{N()}}:null,[y,N]),E.useEffect(()=>{if(!y)return;const G=vs(()=>{N()}),oe=un(Tr(i));return oe.addEventListener("resize",G),()=>{G.clear(),oe.removeEventListener("resize",G)}},[i,y,N]);let Q=x;const $={slots:{transition:v,...T},slotProps:{transition:C,paper:p,...O}},[B,K]=je("transition",{elementType:Ar,externalForwardedProps:$,ownerState:k,getSlotProps:G=>({...G,onEntering:(oe,j)=>{G.onEntering?.(oe,j),q()},onExited:oe=>{G.onExited?.(oe),ae()}}),additionalProps:{appear:!0,in:y}});x==="auto"&&!B.muiSupportAuto&&(Q=void 0);const ne=f||(i?wt(Tr(i)).body:void 0),[X,{slots:U,slotProps:A,...Z}]=je("root",{ref:n,elementType:lv,externalForwardedProps:{...$,...P},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:T.backdrop},slotProps:{backdrop:Hd(typeof O.backdrop=="function"?O.backdrop(k):O.backdrop,{invisible:!0})},container:ne,open:y},ownerState:k,className:pe(h.root,u)}),[Y,ie]=je("paper",{ref:z,className:h.paper,elementType:uv,externalForwardedProps:$,shouldForwardComponentProp:!0,additionalProps:{elevation:m,style:F?void 0:{opacity:0}},ownerState:k});return b.jsx(X,{...Z,...!J1(X)&&{slots:U,slotProps:A,disableScrollLock:R},children:b.jsx(B,{...K,timeout:Q,children:b.jsx(Y,{...ie,children:d})})})});process.env.NODE_ENV!=="production"&&(Os.propTypes={action:cr,anchorEl:Mn(a.oneOfType([sn,a.func]),e=>{if(e.open&&(!e.anchorReference||e.anchorReference==="anchorEl")){const t=Tr(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(`
|
|
249
249
|
`))}else return new Error(["MUI: The `anchorEl` prop provided to the component is invalid.",`It should be an Element or PopoverVirtualElement instance but it's \`${t}\` instead.`].join(`
|
|
250
|
-
`))}return null}),anchorOrigin:a.shape({horizontal:a.oneOfType([a.oneOf(["center","left","right"]),a.number]).isRequired,vertical:a.oneOfType([a.oneOf(["bottom","center","top"]),a.number]).isRequired}),anchorPosition:a.shape({left:a.number.isRequired,top:a.number.isRequired}),anchorReference:a.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:a.elementType,BackdropProps:a.object,children:a.node,classes:a.object,className:a.string,container:a.oneOfType([sn,a.func]),disableScrollLock:a.bool,elevation:dd,marginThreshold:a.number,onClose:a.func,open:a.bool.isRequired,PaperProps:a.shape({component:ds}),slotProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),paper:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object]),transition:a.oneOfType([a.func,a.object])}),slots:a.shape({backdrop:a.elementType,paper:a.elementType,root:a.elementType,transition:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),transformOrigin:a.shape({horizontal:a.oneOfType([a.oneOf(["center","left","right"]),a.number]).isRequired,vertical:a.oneOfType([a.oneOf(["bottom","center","top"]),a.number]).isRequired}),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})]),TransitionProps:a.object});function yr(e){if(typeof window>"u")return e;const t=E.useRef(null);return E.useLayoutEffect(()=>{t.current=e}),E.useCallback((...n)=>{var r;(r=t.current)===null||r===void 0||r.call(t,...n)},[])}const Jl={};function dv(e,t){Jl[e]||(Jl[e]=!0,console.error("[material-ui-popup-state] WARNING",t))}const pv={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},Ql=E,fv="useId"in Ql?()=>Ql.useId():()=>{};function hv({parentPopupState:e,popupId:t=fv(),variant:n,disableAutoFocus:r}){const o=te.useRef(!0);te.useEffect(()=>(o.current=!0,()=>{o.current=!1}),[]);const[i,s]=te.useState(pv),c=te.useCallback(S=>{o.current&&s(S)},[]),l=te.useCallback(S=>c(v=>({...v,setAnchorElUsed:!0,anchorEl:S??void 0})),[]),d=yr(S=>(i.isOpen?m(S):u(S),i)),u=yr(S=>{const v=S instanceof Element?void 0:S,
|
|
250
|
+
`))}return null}),anchorOrigin:a.shape({horizontal:a.oneOfType([a.oneOf(["center","left","right"]),a.number]).isRequired,vertical:a.oneOfType([a.oneOf(["bottom","center","top"]),a.number]).isRequired}),anchorPosition:a.shape({left:a.number.isRequired,top:a.number.isRequired}),anchorReference:a.oneOf(["anchorEl","anchorPosition","none"]),BackdropComponent:a.elementType,BackdropProps:a.object,children:a.node,classes:a.object,className:a.string,container:a.oneOfType([sn,a.func]),disableScrollLock:a.bool,elevation:dd,marginThreshold:a.number,onClose:a.func,open:a.bool.isRequired,PaperProps:a.shape({component:ds}),slotProps:a.shape({backdrop:a.oneOfType([a.func,a.object]),paper:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object]),transition:a.oneOfType([a.func,a.object])}),slots:a.shape({backdrop:a.elementType,paper:a.elementType,root:a.elementType,transition:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),transformOrigin:a.shape({horizontal:a.oneOfType([a.oneOf(["center","left","right"]),a.number]).isRequired,vertical:a.oneOfType([a.oneOf(["bottom","center","top"]),a.number]).isRequired}),TransitionComponent:a.elementType,transitionDuration:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})]),TransitionProps:a.object});function yr(e){if(typeof window>"u")return e;const t=E.useRef(null);return E.useLayoutEffect(()=>{t.current=e}),E.useCallback((...n)=>{var r;(r=t.current)===null||r===void 0||r.call(t,...n)},[])}const Jl={};function dv(e,t){Jl[e]||(Jl[e]=!0,console.error("[material-ui-popup-state] WARNING",t))}const pv={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1},Ql=E,fv="useId"in Ql?()=>Ql.useId():()=>{};function hv({parentPopupState:e,popupId:t=fv(),variant:n,disableAutoFocus:r}){const o=te.useRef(!0);te.useEffect(()=>(o.current=!0,()=>{o.current=!1}),[]);const[i,s]=te.useState(pv),c=te.useCallback(S=>{o.current&&s(S)},[]),l=te.useCallback(S=>c(v=>({...v,setAnchorElUsed:!0,anchorEl:S??void 0})),[]),d=yr(S=>(i.isOpen?m(S):u(S),i)),u=yr(S=>{const v=S instanceof Element?void 0:S,x=S instanceof Element?S:S?.currentTarget instanceof Element?S.currentTarget:void 0;if(v?.type==="touchstart"){c(k=>({...k,_deferNextOpen:!0}));return}const C=v?.clientX,R=v?.clientY,P=typeof C=="number"&&typeof R=="number"?{left:C,top:R}:void 0,z=k=>{if(!S&&!k.setAnchorElUsed&&n!=="dialog"&&dv("missingEventOrAnchorEl","eventOrAnchorEl should be defined if setAnchorEl is not used"),e){if(!e.isOpen)return k;setTimeout(()=>e._setChildPopupState(O))}const h={...k,isOpen:!0,anchorPosition:P,hovered:v?.type==="mouseover"||k.hovered,focused:v?.type==="focus"||k.focused,_openEventType:v?.type};return k.setAnchorElUsed||(v!=null&&v.currentTarget?h.anchorEl=v.currentTarget:x&&(h.anchorEl=x)),h};c(k=>k._deferNextOpen?(setTimeout(()=>c(z),0),{...k,_deferNextOpen:!1}):z(k))}),f=S=>{const{_childPopupState:v}=S;return setTimeout(()=>{v?.close(),e?._setChildPopupState(null)}),{...S,isOpen:!1,hovered:!1,focused:!1}},m=yr(S=>{const v=S instanceof Element?void 0:S;if(v?.type==="touchstart"){c(x=>({...x,_deferNextClose:!0}));return}c(x=>x._deferNextClose?(setTimeout(()=>c(f),0),{...x,_deferNextClose:!1}):f(x))}),g=te.useCallback((S,v)=>{S?u(v):m(v)},[]),y=yr(S=>{const{relatedTarget:v}=S;c(x=>x.hovered&&!(v instanceof Element&&qa(v,O))?x.focused?{...x,hovered:!1}:f(x):x)}),p=yr(S=>{if(!S)return;const{relatedTarget:v}=S;c(x=>x.focused&&!(v instanceof Element&&qa(v,O))?x.hovered?{...x,focused:!1}:f(x):x)}),T=te.useCallback(S=>c(v=>({...v,_childPopupState:S})),[]),O={...i,setAnchorEl:l,popupId:t??void 0,variant:n,open:u,close:m,toggle:d,setOpen:g,onBlur:p,onMouseLeave:y,disableAutoFocus:r??!!(i.hovered||i.focused),_setChildPopupState:T};return O}function mv({isOpen:e,popupId:t,variant:n}){return{...n==="popover"?{"aria-haspopup":!0,"aria-controls":e?t:void 0}:n==="popper"?{"aria-describedby":e?t:void 0}:void 0}}function Wd(e){return{...mv(e),onClick:e.open,onTouchStart:e.open}}function qd({isOpen:e,anchorEl:t,anchorPosition:n,close:r,popupId:o,onMouseLeave:i,disableAutoFocus:s,_openEventType:c}){return{id:o,anchorEl:t,anchorPosition:n,anchorReference:c==="contextmenu"?"anchorPosition":"anchorEl",open:e,onClose:r,onMouseLeave:i,...s&&{disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function gv(e,{popupId:t}){if(!t)return null;const n=typeof e.getRootNode=="function"?e.getRootNode():document;return typeof n.getElementById=="function"?n.getElementById(t):null}function qa(e,t){const{anchorEl:n,_childPopupState:r}=t;return eu(n,e)||eu(gv(e,t),e)||r!=null&&qa(e,r)}function eu(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}function Rs({children:e,popupId:t,variant:n,parentPopupState:r,disableAutoFocus:o}){const i=hv({popupId:t,variant:n,parentPopupState:r,disableAutoFocus:o}),s=e(i);return s??null}Rs.propTypes={children:a.func.isRequired,popupId:a.string,variant:a.oneOf(["popover","popper"]).isRequired,parentPopupState:a.object,disableAutoFocus:a.bool};const yv=Ae`
|
|
251
251
|
border-top: 1px solid ${V("slate.300")};
|
|
252
252
|
`,vv=e=>Ae`
|
|
253
253
|
background-color: ${e?V(e):""};
|
|
@@ -331,18 +331,18 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
331
331
|
& > svg {
|
|
332
332
|
padding-left: 0.1875rem; /* => 3px */
|
|
333
333
|
}
|
|
334
|
-
`,ko=({target:e="_blank",children:t,color:n="purple.800",rel:r=e==="_blank"?"noopener noreferrer":"noreferrer",to:o,hideUnderline:i=!1,hideUnderlineOnHover:s=!1,hideExternalUrlIcon:c=!1,iconProps:l,...d})=>x.jsxs(Tv,{rel:r,href:o,target:e,color:V(n),$showUnderline:!i,$showUnderlineOnHover:!s,...d,children:[t??o,!c&&x.jsx(Qt,{name:"openInNewWindow",...l})]});var ct="top",Ct="bottom",St="right",lt="left",Ps="auto",Hr=[ct,Ct,St,lt],tr="start",Nr="end",Ov="clippingParents",Ud="viewport",vr="popper",Rv="reference",ou=Hr.reduce(function(e,t){return e.concat([t+"-"+tr,t+"-"+Nr])},[]),Gd=[].concat(Hr,[Ps]).reduce(function(e,t){return e.concat([t,t+"-"+tr,t+"-"+Nr])},[]),Pv="beforeRead",$v="read",kv="afterRead",_v="beforeMain",Mv="main",jv="afterMain",Av="beforeWrite",Iv="write",Nv="afterWrite",Lv=[Pv,$v,kv,_v,Mv,jv,Av,Iv,Nv];function Ft(e){return e?(e.nodeName||"").toLowerCase():null}function ht(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _n(e){var t=ht(e).Element;return e instanceof t||e instanceof Element}function bt(e){var t=ht(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $s(e){if(typeof ShadowRoot>"u")return!1;var t=ht(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function zv(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!bt(i)||!Ft(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var c=o[s];c===!1?i.removeAttribute(s):i.setAttribute(s,c===!0?"":c)}))})}function Bv(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 o=t.elements[r],i=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=s.reduce(function(l,d){return l[d]="",l},{});!bt(o)||!Ft(o)||(Object.assign(o.style,c),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const Dv={name:"applyStyles",enabled:!0,phase:"write",fn:zv,effect:Bv,requires:["computeStyles"]};function Dt(e){return e.split("-")[0]}var On=Math.max,_o=Math.min,nr=Math.round;function Ua(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Yd(){return!/^((?!chrome|android).)*safari/i.test(Ua())}function rr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&bt(e)&&(o=e.offsetWidth>0&&nr(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&nr(r.height)/e.offsetHeight||1);var s=_n(e)?ht(e):window,c=s.visualViewport,l=!Yd()&&n,d=(r.left+(l&&c?c.offsetLeft:0))/o,u=(r.top+(l&&c?c.offsetTop:0))/i,f=r.width/o,m=r.height/i;return{width:f,height:m,top:u,right:d+f,bottom:u+m,left:d,x:d,y:u}}function ks(e){var t=rr(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 Kd(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&$s(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function tn(e){return ht(e).getComputedStyle(e)}function Vv(e){return["table","td","th"].indexOf(Ft(e))>=0}function pn(e){return((_n(e)?e.ownerDocument:e.document)||window.document).documentElement}function ai(e){return Ft(e)==="html"?e:e.assignedSlot||e.parentNode||($s(e)?e.host:null)||pn(e)}function iu(e){return!bt(e)||tn(e).position==="fixed"?null:e.offsetParent}function Fv(e){var t=/firefox/i.test(Ua()),n=/Trident/i.test(Ua());if(n&&bt(e)){var r=tn(e);if(r.position==="fixed")return null}var o=ai(e);for($s(o)&&(o=o.host);bt(o)&&["html","body"].indexOf(Ft(o))<0;){var i=tn(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Wr(e){for(var t=ht(e),n=iu(e);n&&Vv(n)&&tn(n).position==="static";)n=iu(n);return n&&(Ft(n)==="html"||Ft(n)==="body"&&tn(n).position==="static")?t:n||Fv(e)||t}function _s(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $r(e,t,n){return On(e,_o(t,n))}function Hv(e,t,n){var r=$r(e,t,n);return r>n?n:r}function Zd(){return{top:0,right:0,bottom:0,left:0}}function Xd(e){return Object.assign({},Zd(),e)}function Jd(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Wv=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Xd(typeof t!="number"?t:Jd(t,Hr))};function qv(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,c=Dt(n.placement),l=_s(c),d=[lt,St].indexOf(c)>=0,u=d?"height":"width";if(!(!i||!s)){var f=Wv(o.padding,n),m=ks(i),g=l==="y"?ct:lt,y=l==="y"?Ct:St,p=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],T=s[l]-n.rects.reference[l],O=Wr(i),S=O?l==="y"?O.clientHeight||0:O.clientWidth||0:0,v=p/2-T/2,b=f[g],C=S-m[u]-f[y],R=S/2-m[u]/2+v,P=$r(b,R,C),z=l;n.modifiersData[r]=(t={},t[z]=P,t.centerOffset=P-R,t)}}function Uv(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Kd(t.elements.popper,o)&&(t.elements.arrow=o))}const Gv={name:"arrow",enabled:!0,phase:"main",fn:qv,effect:Uv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function or(e){return e.split("-")[1]}var Yv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kv(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:nr(n*o)/o||0,y:nr(r*o)/o||0}}function au(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,c=e.position,l=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,f=e.isFixed,m=s.x,g=m===void 0?0:m,y=s.y,p=y===void 0?0:y,T=typeof u=="function"?u({x:g,y:p}):{x:g,y:p};g=T.x,p=T.y;var O=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),v=lt,b=ct,C=window;if(d){var R=Wr(n),P="clientHeight",z="clientWidth";if(R===ht(n)&&(R=pn(n),tn(R).position!=="static"&&c==="absolute"&&(P="scrollHeight",z="scrollWidth")),R=R,o===ct||(o===lt||o===St)&&i===Nr){b=Ct;var k=f&&R===C&&C.visualViewport?C.visualViewport.height:R[P];p-=k-r.height,p*=l?1:-1}if(o===lt||(o===ct||o===Ct)&&i===Nr){v=St;var h=f&&R===C&&C.visualViewport?C.visualViewport.width:R[z];g-=h-r.width,g*=l?1:-1}}var _=Object.assign({position:c},d&&Yv),H=u===!0?Kv({x:g,y:p},ht(n)):{x:g,y:p};if(g=H.x,p=H.y,l){var I;return Object.assign({},_,(I={},I[b]=S?"0":"",I[v]=O?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+p+"px)":"translate3d("+g+"px, "+p+"px, 0)",I))}return Object.assign({},_,(t={},t[b]=S?p+"px":"",t[v]=O?g+"px":"",t.transform="",t))}function Zv(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,c=n.roundOffsets,l=c===void 0?!0:c,d={placement:Dt(t.placement),variation:or(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,au(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,au(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Xv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zv,data:{}};var io={passive:!0};function Jv(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,c=s===void 0?!0:s,l=ht(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",n.update,io)}),c&&l.addEventListener("resize",n.update,io),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",n.update,io)}),c&&l.removeEventListener("resize",n.update,io)}}const Qv={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Jv,data:{}};var e2={left:"right",right:"left",bottom:"top",top:"bottom"};function yo(e){return e.replace(/left|right|bottom|top/g,function(t){return e2[t]})}var t2={start:"end",end:"start"};function su(e){return e.replace(/start|end/g,function(t){return t2[t]})}function Ms(e){var t=ht(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function js(e){return rr(pn(e)).left+Ms(e).scrollLeft}function n2(e,t){var n=ht(e),r=pn(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,c=0,l=0;if(o){i=o.width,s=o.height;var d=Yd();(d||!d&&t==="fixed")&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:c+js(e),y:l}}function r2(e){var t,n=pn(e),r=Ms(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=On(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=On(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+js(e),l=-r.scrollTop;return tn(o||n).direction==="rtl"&&(c+=On(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:c,y:l}}function As(e){var t=tn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Qd(e){return["html","body","#document"].indexOf(Ft(e))>=0?e.ownerDocument.body:bt(e)&&As(e)?e:Qd(ai(e))}function kr(e,t){var n;t===void 0&&(t=[]);var r=Qd(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=ht(r),s=o?[i].concat(i.visualViewport||[],As(r)?r:[]):r,c=t.concat(s);return o?c:c.concat(kr(ai(s)))}function Ga(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function o2(e,t){var n=rr(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 cu(e,t,n){return t===Ud?Ga(n2(e,n)):_n(t)?o2(t,n):Ga(r2(pn(e)))}function i2(e){var t=kr(ai(e)),n=["absolute","fixed"].indexOf(tn(e).position)>=0,r=n&&bt(e)?Wr(e):e;return _n(r)?t.filter(function(o){return _n(o)&&Kd(o,r)&&Ft(o)!=="body"}):[]}function a2(e,t,n,r){var o=t==="clippingParents"?i2(e):[].concat(t),i=[].concat(o,[n]),s=i[0],c=i.reduce(function(l,d){var u=cu(e,d,r);return l.top=On(u.top,l.top),l.right=_o(u.right,l.right),l.bottom=_o(u.bottom,l.bottom),l.left=On(u.left,l.left),l},cu(e,s,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function ep(e){var t=e.reference,n=e.element,r=e.placement,o=r?Dt(r):null,i=r?or(r):null,s=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,l;switch(o){case ct:l={x:s,y:t.y-n.height};break;case Ct:l={x:s,y:t.y+t.height};break;case St:l={x:t.x+t.width,y:c};break;case lt:l={x:t.x-n.width,y:c};break;default:l={x:t.x,y:t.y}}var d=o?_s(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case tr:l[d]=l[d]-(t[u]/2-n[u]/2);break;case Nr:l[d]=l[d]+(t[u]/2-n[u]/2);break}}return l}function Lr(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,s=i===void 0?e.strategy:i,c=n.boundary,l=c===void 0?Ov:c,d=n.rootBoundary,u=d===void 0?Ud:d,f=n.elementContext,m=f===void 0?vr:f,g=n.altBoundary,y=g===void 0?!1:g,p=n.padding,T=p===void 0?0:p,O=Xd(typeof T!="number"?T:Jd(T,Hr)),S=m===vr?Rv:vr,v=e.rects.popper,b=e.elements[y?S:m],C=a2(_n(b)?b:b.contextElement||pn(e.elements.popper),l,u,s),R=rr(e.elements.reference),P=ep({reference:R,element:v,placement:o}),z=Ga(Object.assign({},v,P)),k=m===vr?z:R,h={top:C.top-k.top+O.top,bottom:k.bottom-C.bottom+O.bottom,left:C.left-k.left+O.left,right:k.right-C.right+O.right},_=e.modifiersData.offset;if(m===vr&&_){var H=_[o];Object.keys(h).forEach(function(I){var F=[St,Ct].indexOf(I)>=0?1:-1,L=[ct,Ct].indexOf(I)>=0?"y":"x";h[I]+=H[L]*F})}return h}function s2(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,d=l===void 0?Gd:l,u=or(r),f=u?c?ou:ou.filter(function(y){return or(y)===u}):Hr,m=f.filter(function(y){return d.indexOf(y)>=0});m.length===0&&(m=f);var g=m.reduce(function(y,p){return y[p]=Lr(e,{placement:p,boundary:o,rootBoundary:i,padding:s})[Dt(p)],y},{});return Object.keys(g).sort(function(y,p){return g[y]-g[p]})}function c2(e){if(Dt(e)===Ps)return[];var t=yo(e);return[su(e),t,su(t)]}function l2(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,c=s===void 0?!0:s,l=n.fallbackPlacements,d=n.padding,u=n.boundary,f=n.rootBoundary,m=n.altBoundary,g=n.flipVariations,y=g===void 0?!0:g,p=n.allowedAutoPlacements,T=t.options.placement,O=Dt(T),S=O===T,v=l||(S||!y?[yo(T)]:c2(T)),b=[T].concat(v).reduce(function(X,U){return X.concat(Dt(U)===Ps?s2(t,{placement:U,boundary:u,rootBoundary:f,padding:d,flipVariations:y,allowedAutoPlacements:p}):U)},[]),C=t.rects.reference,R=t.rects.popper,P=new Map,z=!0,k=b[0],h=0;h<b.length;h++){var _=b[h],H=Dt(_),I=or(_)===tr,F=[ct,Ct].indexOf(H)>=0,L=F?"width":"height",N=Lr(t,{placement:_,boundary:u,rootBoundary:f,altBoundary:m,padding:d}),q=F?I?St:lt:I?Ct:ct;C[L]>R[L]&&(q=yo(q));var ae=yo(q),Q=[];if(i&&Q.push(N[H]<=0),c&&Q.push(N[q]<=0,N[ae]<=0),Q.every(function(X){return X})){k=_,z=!1;break}P.set(_,Q)}if(z)for(var $=y?3:1,B=function(U){var A=b.find(function(Z){var Y=P.get(Z);if(Y)return Y.slice(0,U).every(function(ie){return ie})});if(A)return k=A,"break"},K=$;K>0;K--){var ne=B(K);if(ne==="break")break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}}const u2={name:"flip",enabled:!0,phase:"main",fn:l2,requiresIfExists:["offset"],data:{_skip:!1}};function lu(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 uu(e){return[ct,St,Ct,lt].some(function(t){return e[t]>=0})}function d2(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=Lr(t,{elementContext:"reference"}),c=Lr(t,{altBoundary:!0}),l=lu(s,r),d=lu(c,o,i),u=uu(l),f=uu(d);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const p2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:d2};function f2(e,t,n){var r=Dt(e),o=[lt,ct].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=i[0],c=i[1];return s=s||0,c=(c||0)*o,[lt,St].indexOf(r)>=0?{x:c,y:s}:{x:s,y:c}}function h2(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,s=Gd.reduce(function(u,f){return u[f]=f2(f,t.rects,i),u},{}),c=s[t.placement],l=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=s}const m2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:h2};function g2(e){var t=e.state,n=e.name;t.modifiersData[n]=ep({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const y2={name:"popperOffsets",enabled:!0,phase:"read",fn:g2,data:{}};function v2(e){return e==="x"?"y":"x"}function b2(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,c=s===void 0?!1:s,l=n.boundary,d=n.rootBoundary,u=n.altBoundary,f=n.padding,m=n.tether,g=m===void 0?!0:m,y=n.tetherOffset,p=y===void 0?0:y,T=Lr(t,{boundary:l,rootBoundary:d,padding:f,altBoundary:u}),O=Dt(t.placement),S=or(t.placement),v=!S,b=_s(O),C=v2(b),R=t.modifiersData.popperOffsets,P=t.rects.reference,z=t.rects.popper,k=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,h=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(R){if(i){var I,F=b==="y"?ct:lt,L=b==="y"?Ct:St,N=b==="y"?"height":"width",q=R[b],ae=q+T[F],Q=q-T[L],$=g?-z[N]/2:0,B=S===tr?P[N]:z[N],K=S===tr?-z[N]:-P[N],ne=t.elements.arrow,X=g&&ne?ks(ne):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zd(),A=U[F],Z=U[L],Y=$r(0,P[N],X[N]),ie=v?P[N]/2-$-Y-A-h.mainAxis:B-Y-A-h.mainAxis,G=v?-P[N]/2+$+Y+Z+h.mainAxis:K+Y+Z+h.mainAxis,oe=t.elements.arrow&&Wr(t.elements.arrow),j=oe?b==="y"?oe.clientTop||0:oe.clientLeft||0:0,be=(I=_?.[b])!=null?I:0,Te=q+ie-be-j,Ie=q+G-be,He=$r(g?_o(ae,Te):ae,q,g?On(Q,Ie):Q);R[b]=He,H[b]=He-q}if(c){var Oe,Me=b==="x"?ct:lt,Ne=b==="x"?Ct:St,We=R[C],Ee=C==="y"?"height":"width",ce=We+T[Me],_t=We-T[Ne],Mt=[ct,lt].indexOf(O)!==-1,Ht=(Oe=_?.[C])!=null?Oe:0,Wt=Mt?ce:We-P[Ee]-z[Ee]-Ht+h.altAxis,Tt=Mt?We+P[Ee]+z[Ee]-Ht-h.altAxis:_t,qt=g&&Mt?Hv(Wt,We,Tt):$r(g?Wt:ce,We,g?Tt:_t);R[C]=qt,H[C]=qt-We}t.modifiersData[r]=H}}const x2={name:"preventOverflow",enabled:!0,phase:"main",fn:b2,requiresIfExists:["offset"]};function w2(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function C2(e){return e===ht(e)||!bt(e)?Ms(e):w2(e)}function S2(e){var t=e.getBoundingClientRect(),n=nr(t.width)/e.offsetWidth||1,r=nr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function E2(e,t,n){n===void 0&&(n=!1);var r=bt(t),o=bt(t)&&S2(t),i=pn(t),s=rr(e,o,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Ft(t)!=="body"||As(i))&&(c=C2(t)),bt(t)?(l=rr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=js(i))),{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function T2(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(c){if(!n.has(c)){var l=t.get(c);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function O2(e){var t=T2(e);return Lv.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function R2(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function P2(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var du={placement:"bottom",modifiers:[],strategy:"absolute"};function pu(){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 $2(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?du:o;return function(c,l,d){d===void 0&&(d=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},du,i),modifiersData:{},elements:{reference:c,popper:l},attributes:{},styles:{}},f=[],m=!1,g={state:u,setOptions:function(O){var S=typeof O=="function"?O(u.options):O;p(),u.options=Object.assign({},i,u.options,S),u.scrollParents={reference:_n(c)?kr(c):c.contextElement?kr(c.contextElement):[],popper:kr(l)};var v=O2(P2([].concat(r,u.options.modifiers)));return u.orderedModifiers=v.filter(function(b){return b.enabled}),y(),g.update()},forceUpdate:function(){if(!m){var O=u.elements,S=O.reference,v=O.popper;if(pu(S,v)){u.rects={reference:E2(S,Wr(v),u.options.strategy==="fixed"),popper:ks(v)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(h){return u.modifiersData[h.name]=Object.assign({},h.data)});for(var b=0;b<u.orderedModifiers.length;b++){if(u.reset===!0){u.reset=!1,b=-1;continue}var C=u.orderedModifiers[b],R=C.fn,P=C.options,z=P===void 0?{}:P,k=C.name;typeof R=="function"&&(u=R({state:u,options:z,name:k,instance:g})||u)}}}},update:R2(function(){return new Promise(function(T){g.forceUpdate(),T(u)})}),destroy:function(){p(),m=!0}};if(!pu(c,l))return g;g.setOptions(d).then(function(T){!m&&d.onFirstUpdate&&d.onFirstUpdate(T)});function y(){u.orderedModifiers.forEach(function(T){var O=T.name,S=T.options,v=S===void 0?{}:S,b=T.effect;if(typeof b=="function"){var C=b({state:u,name:O,instance:g,options:v}),R=function(){};f.push(C||R)}})}function p(){f.forEach(function(T){return T()}),f=[]}return g}}var k2=[Qv,y2,Xv,Dv,m2,u2,x2,Gv,p2],_2=$2({defaultModifiers:k2});function M2(e){return Ke("MuiPopper",e)}Je("MuiPopper",["root"]);function j2(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 Mo(e){return typeof e=="function"?e():e}function si(e){return e.nodeType!==void 0}function A2(e){return!si(e)}const I2=e=>{const{classes:t}=e;return tt({root:["root"]},M2,t)},N2={},L2=E.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:i,disablePortal:s,modifiers:c,open:l,placement:d,popperOptions:u,popperRef:f,slotProps:m={},slots:g={},TransitionProps:y,ownerState:p,...T}=t,O=E.useRef(null),S=ft(O,n),v=E.useRef(null),b=ft(v,f),C=E.useRef(b);$n(()=>{C.current=b},[b]),E.useImperativeHandle(f,()=>v.current,[]);const R=j2(d,i),[P,z]=E.useState(R),[k,h]=E.useState(Mo(r));E.useEffect(()=>{v.current&&v.current.forceUpdate()}),E.useEffect(()=>{r&&h(Mo(r))},[r]),$n(()=>{if(!k||!l)return;const L=ae=>{z(ae.placement)};if(process.env.NODE_ENV!=="production"&&k&&si(k)&&k.nodeType===1){const ae=k.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ae.top===0&&ae.left===0&&ae.right===0&&ae.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(`
|
|
335
|
-
`))}let N=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:ae})=>{L(ae)}}];c!=null&&(N=N.concat(c)),u&&u.modifiers!=null&&(N=N.concat(u.modifiers));const q=_2(k,O.current,{placement:R,...u,modifiers:N});return C.current(q),()=>{q.destroy(),C.current(null)}},[k,s,c,l,u,R]);const _={placement:P};y!==null&&(_.TransitionProps=y);const H=I2(t),I=g.root??"div",F=Mr({elementType:I,externalSlotProps:m.root,externalForwardedProps:T,additionalProps:{role:"tooltip",ref:S},ownerState:t,className:H.root});return
|
|
334
|
+
`,ko=({target:e="_blank",children:t,color:n="purple.800",rel:r=e==="_blank"?"noopener noreferrer":"noreferrer",to:o,hideUnderline:i=!1,hideUnderlineOnHover:s=!1,hideExternalUrlIcon:c=!1,iconProps:l,...d})=>b.jsxs(Tv,{rel:r,href:o,target:e,color:V(n),$showUnderline:!i,$showUnderlineOnHover:!s,...d,children:[t??o,!c&&b.jsx(Qt,{name:"openInNewWindow",...l})]});var ct="top",Ct="bottom",St="right",lt="left",Ps="auto",Hr=[ct,Ct,St,lt],tr="start",Nr="end",Ov="clippingParents",Ud="viewport",vr="popper",Rv="reference",ou=Hr.reduce(function(e,t){return e.concat([t+"-"+tr,t+"-"+Nr])},[]),Gd=[].concat(Hr,[Ps]).reduce(function(e,t){return e.concat([t,t+"-"+tr,t+"-"+Nr])},[]),Pv="beforeRead",$v="read",kv="afterRead",_v="beforeMain",Mv="main",jv="afterMain",Av="beforeWrite",Iv="write",Nv="afterWrite",Lv=[Pv,$v,kv,_v,Mv,jv,Av,Iv,Nv];function Ft(e){return e?(e.nodeName||"").toLowerCase():null}function ht(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function _n(e){var t=ht(e).Element;return e instanceof t||e instanceof Element}function bt(e){var t=ht(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $s(e){if(typeof ShadowRoot>"u")return!1;var t=ht(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function zv(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},i=t.elements[n];!bt(i)||!Ft(i)||(Object.assign(i.style,r),Object.keys(o).forEach(function(s){var c=o[s];c===!1?i.removeAttribute(s):i.setAttribute(s,c===!0?"":c)}))})}function Bv(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 o=t.elements[r],i=t.attributes[r]||{},s=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),c=s.reduce(function(l,d){return l[d]="",l},{});!bt(o)||!Ft(o)||(Object.assign(o.style,c),Object.keys(i).forEach(function(l){o.removeAttribute(l)}))})}}const Dv={name:"applyStyles",enabled:!0,phase:"write",fn:zv,effect:Bv,requires:["computeStyles"]};function Dt(e){return e.split("-")[0]}var On=Math.max,_o=Math.min,nr=Math.round;function Ua(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Yd(){return!/^((?!chrome|android).)*safari/i.test(Ua())}function rr(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&bt(e)&&(o=e.offsetWidth>0&&nr(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&nr(r.height)/e.offsetHeight||1);var s=_n(e)?ht(e):window,c=s.visualViewport,l=!Yd()&&n,d=(r.left+(l&&c?c.offsetLeft:0))/o,u=(r.top+(l&&c?c.offsetTop:0))/i,f=r.width/o,m=r.height/i;return{width:f,height:m,top:u,right:d+f,bottom:u+m,left:d,x:d,y:u}}function ks(e){var t=rr(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 Kd(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&$s(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function tn(e){return ht(e).getComputedStyle(e)}function Vv(e){return["table","td","th"].indexOf(Ft(e))>=0}function pn(e){return((_n(e)?e.ownerDocument:e.document)||window.document).documentElement}function ai(e){return Ft(e)==="html"?e:e.assignedSlot||e.parentNode||($s(e)?e.host:null)||pn(e)}function iu(e){return!bt(e)||tn(e).position==="fixed"?null:e.offsetParent}function Fv(e){var t=/firefox/i.test(Ua()),n=/Trident/i.test(Ua());if(n&&bt(e)){var r=tn(e);if(r.position==="fixed")return null}var o=ai(e);for($s(o)&&(o=o.host);bt(o)&&["html","body"].indexOf(Ft(o))<0;){var i=tn(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return o;o=o.parentNode}return null}function Wr(e){for(var t=ht(e),n=iu(e);n&&Vv(n)&&tn(n).position==="static";)n=iu(n);return n&&(Ft(n)==="html"||Ft(n)==="body"&&tn(n).position==="static")?t:n||Fv(e)||t}function _s(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $r(e,t,n){return On(e,_o(t,n))}function Hv(e,t,n){var r=$r(e,t,n);return r>n?n:r}function Zd(){return{top:0,right:0,bottom:0,left:0}}function Xd(e){return Object.assign({},Zd(),e)}function Jd(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Wv=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Xd(typeof t!="number"?t:Jd(t,Hr))};function qv(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,s=n.modifiersData.popperOffsets,c=Dt(n.placement),l=_s(c),d=[lt,St].indexOf(c)>=0,u=d?"height":"width";if(!(!i||!s)){var f=Wv(o.padding,n),m=ks(i),g=l==="y"?ct:lt,y=l==="y"?Ct:St,p=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],T=s[l]-n.rects.reference[l],O=Wr(i),S=O?l==="y"?O.clientHeight||0:O.clientWidth||0:0,v=p/2-T/2,x=f[g],C=S-m[u]-f[y],R=S/2-m[u]/2+v,P=$r(x,R,C),z=l;n.modifiersData[r]=(t={},t[z]=P,t.centerOffset=P-R,t)}}function Uv(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||Kd(t.elements.popper,o)&&(t.elements.arrow=o))}const Gv={name:"arrow",enabled:!0,phase:"main",fn:qv,effect:Uv,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function or(e){return e.split("-")[1]}var Yv={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Kv(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:nr(n*o)/o||0,y:nr(r*o)/o||0}}function au(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,s=e.offsets,c=e.position,l=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,f=e.isFixed,m=s.x,g=m===void 0?0:m,y=s.y,p=y===void 0?0:y,T=typeof u=="function"?u({x:g,y:p}):{x:g,y:p};g=T.x,p=T.y;var O=s.hasOwnProperty("x"),S=s.hasOwnProperty("y"),v=lt,x=ct,C=window;if(d){var R=Wr(n),P="clientHeight",z="clientWidth";if(R===ht(n)&&(R=pn(n),tn(R).position!=="static"&&c==="absolute"&&(P="scrollHeight",z="scrollWidth")),R=R,o===ct||(o===lt||o===St)&&i===Nr){x=Ct;var k=f&&R===C&&C.visualViewport?C.visualViewport.height:R[P];p-=k-r.height,p*=l?1:-1}if(o===lt||(o===ct||o===Ct)&&i===Nr){v=St;var h=f&&R===C&&C.visualViewport?C.visualViewport.width:R[z];g-=h-r.width,g*=l?1:-1}}var _=Object.assign({position:c},d&&Yv),H=u===!0?Kv({x:g,y:p},ht(n)):{x:g,y:p};if(g=H.x,p=H.y,l){var I;return Object.assign({},_,(I={},I[x]=S?"0":"",I[v]=O?"0":"",I.transform=(C.devicePixelRatio||1)<=1?"translate("+g+"px, "+p+"px)":"translate3d("+g+"px, "+p+"px, 0)",I))}return Object.assign({},_,(t={},t[x]=S?p+"px":"",t[v]=O?g+"px":"",t.transform="",t))}function Zv(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,i=n.adaptive,s=i===void 0?!0:i,c=n.roundOffsets,l=c===void 0?!0:c,d={placement:Dt(t.placement),variation:or(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,au(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,au(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Xv={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Zv,data:{}};var io={passive:!0};function Jv(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=o===void 0?!0:o,s=r.resize,c=s===void 0?!0:s,l=ht(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",n.update,io)}),c&&l.addEventListener("resize",n.update,io),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",n.update,io)}),c&&l.removeEventListener("resize",n.update,io)}}const Qv={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Jv,data:{}};var e2={left:"right",right:"left",bottom:"top",top:"bottom"};function yo(e){return e.replace(/left|right|bottom|top/g,function(t){return e2[t]})}var t2={start:"end",end:"start"};function su(e){return e.replace(/start|end/g,function(t){return t2[t]})}function Ms(e){var t=ht(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function js(e){return rr(pn(e)).left+Ms(e).scrollLeft}function n2(e,t){var n=ht(e),r=pn(e),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,c=0,l=0;if(o){i=o.width,s=o.height;var d=Yd();(d||!d&&t==="fixed")&&(c=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:c+js(e),y:l}}function r2(e){var t,n=pn(e),r=Ms(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=On(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=On(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+js(e),l=-r.scrollTop;return tn(o||n).direction==="rtl"&&(c+=On(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:s,x:c,y:l}}function As(e){var t=tn(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Qd(e){return["html","body","#document"].indexOf(Ft(e))>=0?e.ownerDocument.body:bt(e)&&As(e)?e:Qd(ai(e))}function kr(e,t){var n;t===void 0&&(t=[]);var r=Qd(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=ht(r),s=o?[i].concat(i.visualViewport||[],As(r)?r:[]):r,c=t.concat(s);return o?c:c.concat(kr(ai(s)))}function Ga(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function o2(e,t){var n=rr(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 cu(e,t,n){return t===Ud?Ga(n2(e,n)):_n(t)?o2(t,n):Ga(r2(pn(e)))}function i2(e){var t=kr(ai(e)),n=["absolute","fixed"].indexOf(tn(e).position)>=0,r=n&&bt(e)?Wr(e):e;return _n(r)?t.filter(function(o){return _n(o)&&Kd(o,r)&&Ft(o)!=="body"}):[]}function a2(e,t,n,r){var o=t==="clippingParents"?i2(e):[].concat(t),i=[].concat(o,[n]),s=i[0],c=i.reduce(function(l,d){var u=cu(e,d,r);return l.top=On(u.top,l.top),l.right=_o(u.right,l.right),l.bottom=_o(u.bottom,l.bottom),l.left=On(u.left,l.left),l},cu(e,s,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function ep(e){var t=e.reference,n=e.element,r=e.placement,o=r?Dt(r):null,i=r?or(r):null,s=t.x+t.width/2-n.width/2,c=t.y+t.height/2-n.height/2,l;switch(o){case ct:l={x:s,y:t.y-n.height};break;case Ct:l={x:s,y:t.y+t.height};break;case St:l={x:t.x+t.width,y:c};break;case lt:l={x:t.x-n.width,y:c};break;default:l={x:t.x,y:t.y}}var d=o?_s(o):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case tr:l[d]=l[d]-(t[u]/2-n[u]/2);break;case Nr:l[d]=l[d]+(t[u]/2-n[u]/2);break}}return l}function Lr(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,i=n.strategy,s=i===void 0?e.strategy:i,c=n.boundary,l=c===void 0?Ov:c,d=n.rootBoundary,u=d===void 0?Ud:d,f=n.elementContext,m=f===void 0?vr:f,g=n.altBoundary,y=g===void 0?!1:g,p=n.padding,T=p===void 0?0:p,O=Xd(typeof T!="number"?T:Jd(T,Hr)),S=m===vr?Rv:vr,v=e.rects.popper,x=e.elements[y?S:m],C=a2(_n(x)?x:x.contextElement||pn(e.elements.popper),l,u,s),R=rr(e.elements.reference),P=ep({reference:R,element:v,placement:o}),z=Ga(Object.assign({},v,P)),k=m===vr?z:R,h={top:C.top-k.top+O.top,bottom:k.bottom-C.bottom+O.bottom,left:C.left-k.left+O.left,right:k.right-C.right+O.right},_=e.modifiersData.offset;if(m===vr&&_){var H=_[o];Object.keys(h).forEach(function(I){var F=[St,Ct].indexOf(I)>=0?1:-1,L=[ct,Ct].indexOf(I)>=0?"y":"x";h[I]+=H[L]*F})}return h}function s2(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,s=n.padding,c=n.flipVariations,l=n.allowedAutoPlacements,d=l===void 0?Gd:l,u=or(r),f=u?c?ou:ou.filter(function(y){return or(y)===u}):Hr,m=f.filter(function(y){return d.indexOf(y)>=0});m.length===0&&(m=f);var g=m.reduce(function(y,p){return y[p]=Lr(e,{placement:p,boundary:o,rootBoundary:i,padding:s})[Dt(p)],y},{});return Object.keys(g).sort(function(y,p){return g[y]-g[p]})}function c2(e){if(Dt(e)===Ps)return[];var t=yo(e);return[su(e),t,su(t)]}function l2(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,c=s===void 0?!0:s,l=n.fallbackPlacements,d=n.padding,u=n.boundary,f=n.rootBoundary,m=n.altBoundary,g=n.flipVariations,y=g===void 0?!0:g,p=n.allowedAutoPlacements,T=t.options.placement,O=Dt(T),S=O===T,v=l||(S||!y?[yo(T)]:c2(T)),x=[T].concat(v).reduce(function(X,U){return X.concat(Dt(U)===Ps?s2(t,{placement:U,boundary:u,rootBoundary:f,padding:d,flipVariations:y,allowedAutoPlacements:p}):U)},[]),C=t.rects.reference,R=t.rects.popper,P=new Map,z=!0,k=x[0],h=0;h<x.length;h++){var _=x[h],H=Dt(_),I=or(_)===tr,F=[ct,Ct].indexOf(H)>=0,L=F?"width":"height",N=Lr(t,{placement:_,boundary:u,rootBoundary:f,altBoundary:m,padding:d}),q=F?I?St:lt:I?Ct:ct;C[L]>R[L]&&(q=yo(q));var ae=yo(q),Q=[];if(i&&Q.push(N[H]<=0),c&&Q.push(N[q]<=0,N[ae]<=0),Q.every(function(X){return X})){k=_,z=!1;break}P.set(_,Q)}if(z)for(var $=y?3:1,B=function(U){var A=x.find(function(Z){var Y=P.get(Z);if(Y)return Y.slice(0,U).every(function(ie){return ie})});if(A)return k=A,"break"},K=$;K>0;K--){var ne=B(K);if(ne==="break")break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}}const u2={name:"flip",enabled:!0,phase:"main",fn:l2,requiresIfExists:["offset"],data:{_skip:!1}};function lu(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 uu(e){return[ct,St,Ct,lt].some(function(t){return e[t]>=0})}function d2(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,s=Lr(t,{elementContext:"reference"}),c=Lr(t,{altBoundary:!0}),l=lu(s,r),d=lu(c,o,i),u=uu(l),f=uu(d);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const p2={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:d2};function f2(e,t,n){var r=Dt(e),o=[lt,ct].indexOf(r)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=i[0],c=i[1];return s=s||0,c=(c||0)*o,[lt,St].indexOf(r)>=0?{x:c,y:s}:{x:s,y:c}}function h2(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=o===void 0?[0,0]:o,s=Gd.reduce(function(u,f){return u[f]=f2(f,t.rects,i),u},{}),c=s[t.placement],l=c.x,d=c.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=d),t.modifiersData[r]=s}const m2={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:h2};function g2(e){var t=e.state,n=e.name;t.modifiersData[n]=ep({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const y2={name:"popperOffsets",enabled:!0,phase:"read",fn:g2,data:{}};function v2(e){return e==="x"?"y":"x"}function b2(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=o===void 0?!0:o,s=n.altAxis,c=s===void 0?!1:s,l=n.boundary,d=n.rootBoundary,u=n.altBoundary,f=n.padding,m=n.tether,g=m===void 0?!0:m,y=n.tetherOffset,p=y===void 0?0:y,T=Lr(t,{boundary:l,rootBoundary:d,padding:f,altBoundary:u}),O=Dt(t.placement),S=or(t.placement),v=!S,x=_s(O),C=v2(x),R=t.modifiersData.popperOffsets,P=t.rects.reference,z=t.rects.popper,k=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,h=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(R){if(i){var I,F=x==="y"?ct:lt,L=x==="y"?Ct:St,N=x==="y"?"height":"width",q=R[x],ae=q+T[F],Q=q-T[L],$=g?-z[N]/2:0,B=S===tr?P[N]:z[N],K=S===tr?-z[N]:-P[N],ne=t.elements.arrow,X=g&&ne?ks(ne):{width:0,height:0},U=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Zd(),A=U[F],Z=U[L],Y=$r(0,P[N],X[N]),ie=v?P[N]/2-$-Y-A-h.mainAxis:B-Y-A-h.mainAxis,G=v?-P[N]/2+$+Y+Z+h.mainAxis:K+Y+Z+h.mainAxis,oe=t.elements.arrow&&Wr(t.elements.arrow),j=oe?x==="y"?oe.clientTop||0:oe.clientLeft||0:0,be=(I=_?.[x])!=null?I:0,Te=q+ie-be-j,Ie=q+G-be,He=$r(g?_o(ae,Te):ae,q,g?On(Q,Ie):Q);R[x]=He,H[x]=He-q}if(c){var Oe,Me=x==="x"?ct:lt,Ne=x==="x"?Ct:St,We=R[C],Ee=C==="y"?"height":"width",ce=We+T[Me],_t=We-T[Ne],Mt=[ct,lt].indexOf(O)!==-1,Ht=(Oe=_?.[C])!=null?Oe:0,Wt=Mt?ce:We-P[Ee]-z[Ee]-Ht+h.altAxis,Tt=Mt?We+P[Ee]+z[Ee]-Ht-h.altAxis:_t,qt=g&&Mt?Hv(Wt,We,Tt):$r(g?Wt:ce,We,g?Tt:_t);R[C]=qt,H[C]=qt-We}t.modifiersData[r]=H}}const x2={name:"preventOverflow",enabled:!0,phase:"main",fn:b2,requiresIfExists:["offset"]};function w2(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function C2(e){return e===ht(e)||!bt(e)?Ms(e):w2(e)}function S2(e){var t=e.getBoundingClientRect(),n=nr(t.width)/e.offsetWidth||1,r=nr(t.height)/e.offsetHeight||1;return n!==1||r!==1}function E2(e,t,n){n===void 0&&(n=!1);var r=bt(t),o=bt(t)&&S2(t),i=pn(t),s=rr(e,o,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((Ft(t)!=="body"||As(i))&&(c=C2(t)),bt(t)?(l=rr(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=js(i))),{x:s.left+c.scrollLeft-l.x,y:s.top+c.scrollTop-l.y,width:s.width,height:s.height}}function T2(e){var t=new Map,n=new Set,r=[];e.forEach(function(i){t.set(i.name,i)});function o(i){n.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(c){if(!n.has(c)){var l=t.get(c);l&&o(l)}}),r.push(i)}return e.forEach(function(i){n.has(i.name)||o(i)}),r}function O2(e){var t=T2(e);return Lv.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function R2(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function P2(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var du={placement:"bottom",modifiers:[],strategy:"absolute"};function pu(){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 $2(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,o=t.defaultOptions,i=o===void 0?du:o;return function(c,l,d){d===void 0&&(d=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},du,i),modifiersData:{},elements:{reference:c,popper:l},attributes:{},styles:{}},f=[],m=!1,g={state:u,setOptions:function(O){var S=typeof O=="function"?O(u.options):O;p(),u.options=Object.assign({},i,u.options,S),u.scrollParents={reference:_n(c)?kr(c):c.contextElement?kr(c.contextElement):[],popper:kr(l)};var v=O2(P2([].concat(r,u.options.modifiers)));return u.orderedModifiers=v.filter(function(x){return x.enabled}),y(),g.update()},forceUpdate:function(){if(!m){var O=u.elements,S=O.reference,v=O.popper;if(pu(S,v)){u.rects={reference:E2(S,Wr(v),u.options.strategy==="fixed"),popper:ks(v)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(h){return u.modifiersData[h.name]=Object.assign({},h.data)});for(var x=0;x<u.orderedModifiers.length;x++){if(u.reset===!0){u.reset=!1,x=-1;continue}var C=u.orderedModifiers[x],R=C.fn,P=C.options,z=P===void 0?{}:P,k=C.name;typeof R=="function"&&(u=R({state:u,options:z,name:k,instance:g})||u)}}}},update:R2(function(){return new Promise(function(T){g.forceUpdate(),T(u)})}),destroy:function(){p(),m=!0}};if(!pu(c,l))return g;g.setOptions(d).then(function(T){!m&&d.onFirstUpdate&&d.onFirstUpdate(T)});function y(){u.orderedModifiers.forEach(function(T){var O=T.name,S=T.options,v=S===void 0?{}:S,x=T.effect;if(typeof x=="function"){var C=x({state:u,name:O,instance:g,options:v}),R=function(){};f.push(C||R)}})}function p(){f.forEach(function(T){return T()}),f=[]}return g}}var k2=[Qv,y2,Xv,Dv,m2,u2,x2,Gv,p2],_2=$2({defaultModifiers:k2});function M2(e){return Ke("MuiPopper",e)}Je("MuiPopper",["root"]);function j2(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 Mo(e){return typeof e=="function"?e():e}function si(e){return e.nodeType!==void 0}function A2(e){return!si(e)}const I2=e=>{const{classes:t}=e;return tt({root:["root"]},M2,t)},N2={},L2=E.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:i,disablePortal:s,modifiers:c,open:l,placement:d,popperOptions:u,popperRef:f,slotProps:m={},slots:g={},TransitionProps:y,ownerState:p,...T}=t,O=E.useRef(null),S=ft(O,n),v=E.useRef(null),x=ft(v,f),C=E.useRef(x);$n(()=>{C.current=x},[x]),E.useImperativeHandle(f,()=>v.current,[]);const R=j2(d,i),[P,z]=E.useState(R),[k,h]=E.useState(Mo(r));E.useEffect(()=>{v.current&&v.current.forceUpdate()}),E.useEffect(()=>{r&&h(Mo(r))},[r]),$n(()=>{if(!k||!l)return;const L=ae=>{z(ae.placement)};if(process.env.NODE_ENV!=="production"&&k&&si(k)&&k.nodeType===1){const ae=k.getBoundingClientRect();process.env.NODE_ENV!=="test"&&ae.top===0&&ae.left===0&&ae.right===0&&ae.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(`
|
|
335
|
+
`))}let N=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:ae})=>{L(ae)}}];c!=null&&(N=N.concat(c)),u&&u.modifiers!=null&&(N=N.concat(u.modifiers));const q=_2(k,O.current,{placement:R,...u,modifiers:N});return C.current(q),()=>{q.destroy(),C.current(null)}},[k,s,c,l,u,R]);const _={placement:P};y!==null&&(_.TransitionProps=y);const H=I2(t),I=g.root??"div",F=Mr({elementType:I,externalSlotProps:m.root,externalForwardedProps:T,additionalProps:{role:"tooltip",ref:S},ownerState:t,className:H.root});return b.jsx(I,{...F,children:typeof o=="function"?o(_):o})}),tp=E.forwardRef(function(t,n){const{anchorEl:r,children:o,container:i,direction:s="ltr",disablePortal:c=!1,keepMounted:l=!1,modifiers:d,open:u,placement:f="bottom",popperOptions:m=N2,popperRef:g,style:y,transition:p=!1,slotProps:T={},slots:O={},...S}=t,[v,x]=E.useState(!0),C=()=>{x(!1)},R=()=>{x(!0)};if(!l&&!u&&(!p||v))return null;let P;if(i)P=i;else if(r){const h=Mo(r);P=h&&si(h)?wt(h).body:wt(null).body}const z=!u&&l&&(!p||v)?"none":void 0,k=p?{in:u,onEnter:C,onExited:R}:void 0;return b.jsx(Ir,{disablePortal:c,container:P,children:b.jsx(L2,{anchorEl:r,direction:s,disablePortal:c,modifiers:d,ref:n,open:p?!v:u,placement:f,popperOptions:m,popperRef:g,slotProps:T,slots:O,...S,style:{position:"fixed",top:0,left:0,display:z,...y},TransitionProps:k,children:o})})});process.env.NODE_ENV!=="production"&&(tp.propTypes={anchorEl:Mn(a.oneOfType([sn,a.object,a.func]),e=>{if(e.open){const t=Mo(e.anchorEl);if(t&&si(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(`
|
|
336
336
|
`))}else if(!t||typeof t.getBoundingClientRect!="function"||A2(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(`
|
|
337
|
-
`))}return null}),children:a.oneOfType([a.node,a.func]),container:a.oneOfType([sn,a.func]),direction:a.oneOf(["ltr","rtl"]),disablePortal:a.bool,keepMounted:a.bool,modifiers:a.arrayOf(a.shape({data:a.object,effect:a.func,enabled:a.bool,fn:a.func,name:a.any,options:a.object,phase:a.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:a.arrayOf(a.string),requiresIfExists:a.arrayOf(a.string)})),open:a.bool.isRequired,placement:a.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:a.shape({modifiers:a.array,onFirstUpdate:a.func,placement:a.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:a.oneOf(["absolute","fixed"])}),popperRef:cr,slotProps:a.shape({root:a.oneOfType([a.func,a.object])}),slots:a.shape({root:a.elementType}),transition:a.bool});const z2=me(tp,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Is=E.forwardRef(function(t,n){const r=ii(),o=nt({props:t,name:"MuiPopper"}),{anchorEl:i,component:s,components:c,componentsProps:l,container:d,disablePortal:u,keepMounted:f,modifiers:m,open:g,placement:y,popperOptions:p,popperRef:T,transition:O,slots:S,slotProps:v,...
|
|
338
|
-
`))},[I,$,le])}const be=Pg(S),Te=E.useRef(),Ie=$t(()=>{Te.current!==void 0&&(document.body.style.WebkitUserSelect=Te.current,Te.current=void 0),ie.clear()});E.useEffect(()=>Ie,[Ie]);const He=le=>{fu.clear(),ao=!0,oe(!0),R&&!j&&R(le)},Oe=$t(le=>{fu.start(800+v,()=>{ao=!1}),oe(!1),C&&j&&C(le),A.start(ae.transitions.duration.shortest,()=>{X.current=!1})}),Me=le=>{X.current&&le.type!=="touchstart"||($&&$.removeAttribute("title"),Z.clear(),Y.clear(),y||ao&&p?Z.start(ao?p:y,()=>{He(le)}):He(le))},Ne=le=>{Z.clear(),Y.start(v,()=>{Oe(le)})},[,We]=E.useState(!1),Ee=le=>{Oo(le.target)||(We(!1),Ne(le))},ce=le=>{$||B(le.currentTarget),Oo(le.target)&&(We(!0),Me(le))},_t=le=>{X.current=!0;const ut=q.props;ut.onTouchStart&&ut.onTouchStart(le)},Mt=le=>{_t(le),Y.clear(),A.clear(),Ie(),Te.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ie.start(T,()=>{document.body.style.WebkitUserSelect=Te.current,Me(le)})},Ht=le=>{q.props.onTouchEnd&&q.props.onTouchEnd(le),Ie(),Y.start(
|
|
337
|
+
`))}return null}),children:a.oneOfType([a.node,a.func]),container:a.oneOfType([sn,a.func]),direction:a.oneOf(["ltr","rtl"]),disablePortal:a.bool,keepMounted:a.bool,modifiers:a.arrayOf(a.shape({data:a.object,effect:a.func,enabled:a.bool,fn:a.func,name:a.any,options:a.object,phase:a.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:a.arrayOf(a.string),requiresIfExists:a.arrayOf(a.string)})),open:a.bool.isRequired,placement:a.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:a.shape({modifiers:a.array,onFirstUpdate:a.func,placement:a.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:a.oneOf(["absolute","fixed"])}),popperRef:cr,slotProps:a.shape({root:a.oneOfType([a.func,a.object])}),slots:a.shape({root:a.elementType}),transition:a.bool});const z2=me(tp,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Is=E.forwardRef(function(t,n){const r=ii(),o=nt({props:t,name:"MuiPopper"}),{anchorEl:i,component:s,components:c,componentsProps:l,container:d,disablePortal:u,keepMounted:f,modifiers:m,open:g,placement:y,popperOptions:p,popperRef:T,transition:O,slots:S,slotProps:v,...x}=o,C=S?.root??c?.Root,R={anchorEl:i,container:d,disablePortal:u,keepMounted:f,modifiers:m,open:g,placement:y,popperOptions:p,popperRef:T,transition:O,...x};return b.jsx(z2,{as:s,direction:r?"rtl":"ltr",slots:{root:C},slotProps:v??l,...R,ref:n})});process.env.NODE_ENV!=="production"&&(Is.propTypes={anchorEl:a.oneOfType([sn,a.object,a.func]),children:a.oneOfType([a.node,a.func]),component:a.elementType,components:a.shape({Root:a.elementType}),componentsProps:a.shape({root:a.oneOfType([a.func,a.object])}),container:a.oneOfType([sn,a.func]),disablePortal:a.bool,keepMounted:a.bool,modifiers:a.arrayOf(a.shape({data:a.object,effect:a.func,enabled:a.bool,fn:a.func,name:a.any,options:a.object,phase:a.oneOf(["afterMain","afterRead","afterWrite","beforeMain","beforeRead","beforeWrite","main","read","write"]),requires:a.arrayOf(a.string),requiresIfExists:a.arrayOf(a.string)})),open:a.bool.isRequired,placement:a.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:a.shape({modifiers:a.array,onFirstUpdate:a.func,placement:a.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:a.oneOf(["absolute","fixed"])}),popperRef:cr,slotProps:a.shape({root:a.oneOfType([a.func,a.object])}),slots:a.shape({root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),transition:a.bool});function B2(e){return Ke("MuiTooltip",e)}const De=Je("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function D2(e){return Math.round(e*1e5)/1e5}const V2=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:i}=e,s={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Ze(i.split("-")[0])}`],arrow:["arrow"]};return tt(s,B2,t)},F2=me(Is,{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]}})(et(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${De.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${De.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${De.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${De.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${De.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${De.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${De.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${De.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),H2=me("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${Ze(n.placement.split("-")[0])}`]]}})(et(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:kn(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,[`.${De.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${De.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${De.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${De.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${D2(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${De.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${De.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${De.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${De.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${De.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${De.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${De.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${De.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${De.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${De.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),W2=me("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(et(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:kn(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let ao=!1;const fu=new oi;let br={x:0,y:0};function so(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const jo=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTooltip"}),{arrow:o=!1,children:i,classes:s,components:c={},componentsProps:l={},describeChild:d=!1,disableFocusListener:u=!1,disableHoverListener:f=!1,disableInteractive:m=!1,disableTouchListener:g=!1,enterDelay:y=100,enterNextDelay:p=0,enterTouchDelay:T=700,followCursor:O=!1,id:S,leaveDelay:v=0,leaveTouchDelay:x=1500,onClose:C,onOpen:R,open:P,placement:z="bottom",PopperComponent:k,PopperProps:h={},slotProps:_={},slots:H={},title:I,TransitionComponent:F,TransitionProps:L,...N}=r,q=E.isValidElement(i)?i:b.jsx("span",{children:i}),ae=ur(),Q=ii(),[$,B]=E.useState(),[K,ne]=E.useState(null),X=E.useRef(!1),U=m||O,A=Cn(),Z=Cn(),Y=Cn(),ie=Cn(),[G,oe]=bs({controlled:P,default:!1,name:"Tooltip",state:"open"});let j=G;if(process.env.NODE_ENV!=="production"){const{current:le}=E.useRef(P!==void 0);E.useEffect(()=>{$&&$.disabled&&!le&&I!==""&&$.tagName.toLowerCase()==="button"&&console.warn(["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(`
|
|
338
|
+
`))},[I,$,le])}const be=Pg(S),Te=E.useRef(),Ie=$t(()=>{Te.current!==void 0&&(document.body.style.WebkitUserSelect=Te.current,Te.current=void 0),ie.clear()});E.useEffect(()=>Ie,[Ie]);const He=le=>{fu.clear(),ao=!0,oe(!0),R&&!j&&R(le)},Oe=$t(le=>{fu.start(800+v,()=>{ao=!1}),oe(!1),C&&j&&C(le),A.start(ae.transitions.duration.shortest,()=>{X.current=!1})}),Me=le=>{X.current&&le.type!=="touchstart"||($&&$.removeAttribute("title"),Z.clear(),Y.clear(),y||ao&&p?Z.start(ao?p:y,()=>{He(le)}):He(le))},Ne=le=>{Z.clear(),Y.start(v,()=>{Oe(le)})},[,We]=E.useState(!1),Ee=le=>{Oo(le.target)||(We(!1),Ne(le))},ce=le=>{$||B(le.currentTarget),Oo(le.target)&&(We(!0),Me(le))},_t=le=>{X.current=!0;const ut=q.props;ut.onTouchStart&&ut.onTouchStart(le)},Mt=le=>{_t(le),Y.clear(),A.clear(),Ie(),Te.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ie.start(T,()=>{document.body.style.WebkitUserSelect=Te.current,Me(le)})},Ht=le=>{q.props.onTouchEnd&&q.props.onTouchEnd(le),Ie(),Y.start(x,()=>{Oe(le)})};E.useEffect(()=>{if(!j)return;function le(ut){ut.key==="Escape"&&Oe(ut)}return document.addEventListener("keydown",le),()=>{document.removeEventListener("keydown",le)}},[Oe,j]);const Wt=ft(Vr(q),B,n);!I&&I!==0&&(j=!1);const Tt=E.useRef(),qt=le=>{const ut=q.props;ut.onMouseMove&&ut.onMouseMove(le),br={x:le.clientX,y:le.clientY},Tt.current&&Tt.current.update()},jt={},nn=typeof I=="string";d?(jt.title=!j&&nn&&!f?I:null,jt["aria-describedby"]=j?be:null):(jt["aria-label"]=nn?I:null,jt["aria-labelledby"]=j&&!nn?be:null);const rt={...jt,...N,...q.props,className:pe(N.className,q.props.className),onTouchStart:_t,ref:Wt,...O?{onMouseMove:qt}:{}};process.env.NODE_ENV!=="production"&&(rt["data-mui-internal-clone-element"]=!0,E.useEffect(()=>{$&&!$.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(`
|
|
339
339
|
`))},[$]));const At={};g||(rt.onTouchStart=Mt,rt.onTouchEnd=Ht),f||(rt.onMouseOver=so(Me,rt.onMouseOver),rt.onMouseLeave=so(Ne,rt.onMouseLeave),U||(At.onMouseOver=Me,At.onMouseLeave=Ne)),u||(rt.onFocus=so(ce,rt.onFocus),rt.onBlur=so(Ee,rt.onBlur),U||(At.onFocus=ce,At.onBlur=Ee)),process.env.NODE_ENV!=="production"&&q.props.title&&console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.",`Remove this title prop \`${q.props.title}\` or the Tooltip component.`].join(`
|
|
340
|
-
`));const Ot={...r,isRtl:Q,arrow:o,disableInteractive:U,placement:z,PopperComponentProp:k,touch:X.current},It=typeof _.popper=="function"?_.popper(Ot):_.popper,rn=E.useMemo(()=>{let le=[{name:"arrow",enabled:!!K,options:{element:K,padding:4}}];return h.popperOptions?.modifiers&&(le=le.concat(h.popperOptions.modifiers)),It?.popperOptions?.modifiers&&(le=le.concat(It.popperOptions.modifiers)),{...h.popperOptions,...It?.popperOptions,modifiers:le}},[K,h.popperOptions,It?.popperOptions]),fn=V2(Ot),dr=typeof _.transition=="function"?_.transition(Ot):_.transition,Rt={slots:{popper:c.Popper,transition:c.Transition??F,tooltip:c.Tooltip,arrow:c.Arrow,...H},slotProps:{arrow:_.arrow??l.arrow,popper:{...h,...It??l.popper},tooltip:_.tooltip??l.tooltip,transition:{...L,...dr??l.transition}}},[Ut,Nt]=je("popper",{elementType:F2,externalForwardedProps:Rt,ownerState:Ot,className:pe(fn.popper,h?.className)}),[hn,Gt]=je("transition",{elementType:Ar,externalForwardedProps:Rt,ownerState:Ot}),[jn,pr]=je("tooltip",{elementType:H2,className:fn.tooltip,externalForwardedProps:Rt,ownerState:Ot}),[An,fr]=je("arrow",{elementType:W2,className:fn.arrow,externalForwardedProps:Rt,ownerState:Ot,ref:ne});return
|
|
340
|
+
`));const Ot={...r,isRtl:Q,arrow:o,disableInteractive:U,placement:z,PopperComponentProp:k,touch:X.current},It=typeof _.popper=="function"?_.popper(Ot):_.popper,rn=E.useMemo(()=>{let le=[{name:"arrow",enabled:!!K,options:{element:K,padding:4}}];return h.popperOptions?.modifiers&&(le=le.concat(h.popperOptions.modifiers)),It?.popperOptions?.modifiers&&(le=le.concat(It.popperOptions.modifiers)),{...h.popperOptions,...It?.popperOptions,modifiers:le}},[K,h.popperOptions,It?.popperOptions]),fn=V2(Ot),dr=typeof _.transition=="function"?_.transition(Ot):_.transition,Rt={slots:{popper:c.Popper,transition:c.Transition??F,tooltip:c.Tooltip,arrow:c.Arrow,...H},slotProps:{arrow:_.arrow??l.arrow,popper:{...h,...It??l.popper},tooltip:_.tooltip??l.tooltip,transition:{...L,...dr??l.transition}}},[Ut,Nt]=je("popper",{elementType:F2,externalForwardedProps:Rt,ownerState:Ot,className:pe(fn.popper,h?.className)}),[hn,Gt]=je("transition",{elementType:Ar,externalForwardedProps:Rt,ownerState:Ot}),[jn,pr]=je("tooltip",{elementType:H2,className:fn.tooltip,externalForwardedProps:Rt,ownerState:Ot}),[An,fr]=je("arrow",{elementType:W2,className:fn.arrow,externalForwardedProps:Rt,ownerState:Ot,ref:ne});return b.jsxs(E.Fragment,{children:[E.cloneElement(q,rt),b.jsx(Ut,{as:k??Is,placement:z,anchorEl:O?{getBoundingClientRect:()=>({top:br.y,left:br.x,right:br.x,bottom:br.y,width:0,height:0})}:$,popperRef:Tt,open:$?j:!1,id:be,transition:!0,...At,...Nt,popperOptions:rn,children:({TransitionProps:le})=>b.jsx(hn,{timeout:ae.transitions.duration.shorter,...le,...Gt,children:b.jsxs(jn,{...pr,children:[I,o?b.jsx(An,{...fr}):null]})})})]})});process.env.NODE_ENV!=="production"&&(jo.propTypes={arrow:a.bool,children:lr.isRequired,classes:a.object,className:a.string,components:a.shape({Arrow:a.elementType,Popper:a.elementType,Tooltip:a.elementType,Transition:a.elementType}),componentsProps:a.shape({arrow:a.object,popper:a.object,tooltip:a.object,transition:a.object}),describeChild:a.bool,disableFocusListener:a.bool,disableHoverListener:a.bool,disableInteractive:a.bool,disableTouchListener:a.bool,enterDelay:a.number,enterNextDelay:a.number,enterTouchDelay:a.number,followCursor:a.bool,id:a.string,leaveDelay:a.number,leaveTouchDelay:a.number,onClose:a.func,onOpen:a.func,open:a.bool,placement:a.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"]),PopperComponent:a.elementType,PopperProps:a.object,slotProps:a.shape({arrow:a.oneOfType([a.func,a.object]),popper:a.oneOfType([a.func,a.object]),tooltip:a.oneOfType([a.func,a.object]),transition:a.oneOfType([a.func,a.object])}),slots:a.shape({arrow:a.elementType,popper:a.elementType,tooltip:a.elementType,transition:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),title:a.node,TransitionComponent:a.elementType,TransitionProps:a.object});const q2=W.span`
|
|
341
341
|
display: block;
|
|
342
342
|
overflow: hidden;
|
|
343
343
|
white-space: nowrap;
|
|
344
344
|
text-overflow: ellipsis;
|
|
345
|
-
`,U2=()=>{const[e,t]=te.useState([0,0]),n=()=>{t([window.innerWidth,window.innerHeight])};return te.useEffect(()=>(window.addEventListener("resize",n),n(),()=>{window.removeEventListener("resize",n)}),[]),e},G2=V("blue.950"),Y2=({styles:e,...t})=>{const n=me(({className:r,...o})=>
|
|
345
|
+
`,U2=()=>{const[e,t]=te.useState([0,0]),n=()=>{t([window.innerWidth,window.innerHeight])};return te.useEffect(()=>(window.addEventListener("resize",n),n(),()=>{window.removeEventListener("resize",n)}),[]),e},G2=V("blue.950"),Y2=({styles:e,...t})=>{const n=me(({className:r,...o})=>b.jsx(jo,{...o,classes:{popper:r},"data-testid":"tooltip"}))(()=>({[`& .${De.tooltip}`]:{color:e?.color,backgroundColor:e?.backgroundColor??G2,fontSize:"11px",fontFamily:Xe("roboto")}}));return b.jsx(n,{...t})},Vt=({disableHover:e=!1,enableOnlyWithEllipsisPoints:t=!1,title:n="",children:r,...o})=>{const[i,s]=te.useState(!1),[c,l]=U2(),d=o.open!==void 0,u=te.useRef(null),f=t&&!i;return te.useEffect(()=>{if(u.current){const m=u.current.clientWidth,g=u.current.scrollWidth;s(g>m)}},[c,l]),b.jsx(Y2,{placement:"bottom-start",disableHoverListener:e||f||d,disableFocusListener:!0,disableTouchListener:!0,title:n,...o,children:b.jsx(q2,{ref:u,className:"translate",children:r})})},K2=10,Z2=10,X2=({buttonProps:e,content:t,popupState:n,popupTrigger:r,tooltip:o,...i})=>{if(i.anchorType==="content")return b.jsx(wv,{...r,children:t});const s=n.isOpen?"arrowUp":"arrowDown";return b.jsx(Cv,{condition:!!o,wrapper:c=>b.jsx(Vt,{title:o,children:c}),children:b.jsx(Jt,{"data-testid":"dropdown-button",noMargin:!0,noIconMargin:!!e?.icon,typeSize:"medium",...e,icon:i.hideDropdownIcon?void 0:s,...r,children:b.jsxs("div",{style:{display:"flex",alignItems:"center",gap:Z2},children:[b.jsx(Qt,{name:e?.icon,size:e?.iconSize??K2}),i.hideLabel?null:i.label??"Open Popover"]})})})},J2=({anchorType:e,content:t,onSelect:n,onToggle:r,...o})=>{const i=async(s,c,l)=>{if(!s.isDisabled)try{s.onClick?await Promise.resolve(s.onClick()):c&&await Promise.resolve(c(s))}catch(d){console.error("Dropdown option click error:",d)}finally{l.close()}};return b.jsx(Rs,{variant:"popover",popupId:"demo-popup-popover",children:s=>(s.anchorEl&&r?.(s),b.jsxs(te.Fragment,{children:[b.jsx(X2,{...o,popupTrigger:{...Wd(s)},popupState:s,content:t,anchorType:e}),b.jsx(Os,{slotProps:{paper:{style:{marginTop:"10px",backgroundColor:"#FFF",width:"200px",borderRadius:"8px",boxShadow:"0 0 30px 0px rgba(0,0,0,0.15)"}}},...qd(s),...o.popoverProps,children:o.options&&b.jsx(bv,{id:o.id,children:o.options.map((c,l)=>b.jsx(Vt,{title:c.tooltip??"",children:c.url?b.jsx(ko,{to:c.url,hideUnderline:!0,...c.linkProps,style:{display:"block",marginRight:"auto",...c.linkProps?.style},children:b.jsxs(tu,{id:`option_${l.toString()}`,disabled:c.isDisabled,$isActive:c.isActive,$activeBackgroundColor:c.activeBackgroundColor,$brokenSequence:c.brokenSequence,onClick:d=>{(c.onClick||n)&&(d.preventDefault(),d.stopPropagation(),i(c,n,s))},children:[c.badge&&b.jsx(ru,{"data-testid":`option-${l.toString()}-badge`,$backgroundColor:c.badge.backgroundColor,children:c.badge.icon?b.jsx(Qt,{...c.badge,size:c.badge.size??12}):c.label?.at(0)}),c.label&&b.jsx(Vt,{title:c.label,enableOnlyWithEllipsisPoints:!0,children:b.jsx(nu,{$color:c.color,children:c.label})})]},`option${l.toString()}`)}):b.jsxs(tu,{id:`option_${l.toString()}`,disabled:c.isDisabled,$isActive:c.isActive,$activeBackgroundColor:c.activeBackgroundColor,$brokenSequence:c.brokenSequence,onClick:()=>void i(c,n,s),children:[c.badge&&b.jsx(ru,{"data-testid":`option-${l.toString()}-badge`,$backgroundColor:c.badge.backgroundColor,children:c.badge.icon?b.jsx(Qt,{...c.badge,size:c.badge.size??12}):c.label?.at(0)}),c.label&&b.jsx(Vt,{title:c.label,enableOnlyWithEllipsisPoints:!0,children:b.jsx(nu,{$color:c.color,children:c.label})})]},`option${l.toString()}`)},l))})})]}))})},Q2=W.span`
|
|
346
346
|
font-family: ${Xe("roboto")};
|
|
347
347
|
font-size: 0.8em;
|
|
348
348
|
font-weight: 400;
|
|
@@ -351,7 +351,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
351
351
|
width: 100%;
|
|
352
352
|
display: ${({children:e})=>e?"inline-block":"none"};
|
|
353
353
|
text-align: right;
|
|
354
|
-
`;function eb(e){return e?"type"in e&&e.type==="required"?"This field is required!":"message"in e?e.message:"errors"in e?e.errors.message:null:null}const tb="error-message",np=({error:e,className:t,id:n,role:r="status"})=>{const o=eb(e),i=["translate",t].filter(Boolean).join(" ");return
|
|
354
|
+
`;function eb(e){return e?"type"in e&&e.type==="required"?"This field is required!":"message"in e?e.message:"errors"in e?e.errors.message:null:null}const tb="error-message",np=({error:e,className:t,id:n,role:r="status"})=>{const o=eb(e),i=["translate",t].filter(Boolean).join(" ");return b.jsx(Q2,{id:n,role:r,className:i,"data-testid":tb,children:o})},nb=W.div`
|
|
355
355
|
display: flex;
|
|
356
356
|
justify-content: center;
|
|
357
357
|
align-items: center;
|
|
@@ -370,7 +370,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
370
370
|
margin-right: 15px;
|
|
371
371
|
}
|
|
372
372
|
${e=>e.hideFirstAndLastButton&&rb}
|
|
373
|
-
`,ib=({disableAllActions:e=!1,disablePreviousActions:t=!1,disableNextActions:n=!1,hideFirstAndLastButton:r=!1,firstPaginateAction:o,previousPaginateAction:i,nextPaginateAction:s,lastPaginateAction:c})=>
|
|
373
|
+
`,ib=({disableAllActions:e=!1,disablePreviousActions:t=!1,disableNextActions:n=!1,hideFirstAndLastButton:r=!1,firstPaginateAction:o,previousPaginateAction:i,nextPaginateAction:s,lastPaginateAction:c})=>b.jsx(nb,{children:b.jsxs(ob,{hideFirstAndLastButton:r,children:[b.jsx(Jt,{type:"button",buttonType:"outlinedAuxiliary",typeSize:"medium",noMargin:!0,onClick:o,disabled:e||t,children:"First"}),b.jsx(Jt,{type:"button",buttonType:"outlinedSecondary",typeSize:"medium",icon:"arrowLeft",noMargin:!0,onClick:i,disabled:e||t,children:"Previous"}),b.jsx(Jt,{type:"button",buttonType:"outlinedSecondary",typeSize:"medium",icon:"arrowRight",revertOrientation:!0,noMargin:!0,onClick:s,disabled:e||n,children:"Next"}),b.jsx(Jt,{type:"button",buttonType:"outlinedAuxiliary",typeSize:"medium",noMargin:!0,onClick:c,disabled:e||n,children:"Last"})]})}),ab=W.label`
|
|
374
374
|
color: ${V("blue.950")};
|
|
375
375
|
font-family: ${Xe("roboto")};
|
|
376
376
|
font-size: 13px;
|
|
@@ -395,7 +395,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
395
395
|
&:hover {
|
|
396
396
|
fill: ${V("blue.800")};
|
|
397
397
|
}
|
|
398
|
-
`,rp=({value:e,helpValue:t,isOptional:n=!1,htmlFor:r})=>
|
|
398
|
+
`,rp=({value:e,helpValue:t,isOptional:n=!1,htmlFor:r})=>b.jsxs(sb,{children:[b.jsxs(ab,{htmlFor:r,className:"translate",children:[e,n?" (Optional)":""]}),t&&b.jsx(Vt,{title:t,placement:"right-start",styles:{color:V("white")},style:{height:"16px"},children:b.jsx(cb,{role:"img","aria-label":"Help"})})]}),lb=W.div`
|
|
399
399
|
width: 30px;
|
|
400
400
|
overflow: hidden;
|
|
401
401
|
`,ub=W.svg.attrs({viewBox:"0 0 1 1",preserveAspectRatio:"none"})`
|
|
@@ -406,20 +406,20 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
406
406
|
margin-left: -2px;
|
|
407
407
|
fill: ${({fill:e})=>e};
|
|
408
408
|
stroke: ${({stroke:e})=>e};
|
|
409
|
-
`,db=({fill:e,stroke:t,style:n,onClick:r})=>
|
|
409
|
+
`,db=({fill:e,stroke:t,style:n,onClick:r})=>b.jsx(lb,{onClick:r,children:b.jsx(ub,{fill:e,stroke:t,style:n,children:b.jsx("path",{d:"M 0 0 L 0.84 0.42 Q 0.92 0.5 0.84 0.58 L 0 1 Z"})})});var pb={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function Ns(e){if(typeof e=="number")return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();n.includes(".")?t=parseFloat(n):t=parseInt(n,10);var r=(e.match(/[^0-9]*$/)||"").toString();return pb[r]?{value:t,unit:r}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}function an(e){var t=Ns(e);return"".concat(t.value).concat(t.unit)}var ci=function(e,t,n){var r="react-spinners-".concat(e,"-").concat(n);if(typeof window>"u"||!window.document)return r;var o=document.createElement("style");document.head.appendChild(o);var i=o.sheet,s=`
|
|
410
410
|
@keyframes `.concat(r,` {
|
|
411
411
|
`).concat(t,`
|
|
412
412
|
}
|
|
413
|
-
`);return i&&i.insertRule(s,0),r},Ao=function(){return Ao=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ao.apply(this,arguments)},fb=function(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},hb=ci("CircleLoader","0% {transform: rotate(0deg)} 50% {transform: rotate(180deg)} 100% {transform: rotate(360deg)}","circle");function mb(e){var t=e.loading,n=t===void 0?!0:t,r=e.color,o=r===void 0?"#000000":r,i=e.speedMultiplier,s=i===void 0?1:i,c=e.cssOverride,l=c===void 0?{}:c,d=e.size,u=d===void 0?50:d,f=fb(e,["loading","color","speedMultiplier","cssOverride","size"]),m=Ao({display:"inherit",position:"relative",width:an(u),height:an(u)},l),g=function(y){var p=Ns(u),T=p.value,O=p.unit;return{position:"absolute",height:"".concat(T*(1-y/10)).concat(O),width:"".concat(T*(1-y/10)).concat(O),borderTop:"1px solid ".concat(o),borderBottom:"none",borderLeft:"1px solid ".concat(o),borderRight:"none",borderRadius:"100%",transition:"2s",top:"".concat(y*.7*2.5,"%"),left:"".concat(y*.35*2.5,"%"),animation:"".concat(hb," ").concat(1/s,"s ").concat(y*.2/s,"s infinite linear")}};return n?E.createElement("span",Ao({style:m},f),E.createElement("span",{style:g(0)}),E.createElement("span",{style:g(1)}),E.createElement("span",{style:g(2)}),E.createElement("span",{style:g(3)}),E.createElement("span",{style:g(4)})):null}var Io=function(){return Io=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Io.apply(this,arguments)},gb=function(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},yb=ci("RingLoader","0% {transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg)} 100% {transform: rotateX(180deg) rotateY(360deg) rotateZ(360deg)}","right"),vb=ci("RingLoader","0% {transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg)} 100% {transform: rotateX(360deg) rotateY(180deg) rotateZ(360deg)}","left");function bb(e){var t=e.loading,n=t===void 0?!0:t,r=e.color,o=r===void 0?"#000000":r,i=e.speedMultiplier,s=i===void 0?1:i,c=e.cssOverride,l=c===void 0?{}:c,d=e.size,u=d===void 0?60:d,f=gb(e,["loading","color","speedMultiplier","cssOverride","size"]),m=Ns(u),g=m.value,y=m.unit,p=Io({display:"inherit",width:an(u),height:an(u),position:"relative"},l),T=function(O){return{position:"absolute",top:"0",left:"0",width:"".concat(g).concat(y),height:"".concat(g).concat(y),border:"".concat(g/10).concat(y," solid ").concat(o),opacity:"0.4",borderRadius:"100%",animationFillMode:"forwards",perspective:"800px",animation:"".concat(O===1?yb:vb," ").concat(2/s,"s 0s infinite linear")}};return n?E.createElement("span",Io({style:p},f),E.createElement("span",{style:T(1)}),E.createElement("span",{style:T(2)})):null}var No=function(){return No=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},No.apply(this,arguments)},xb=function(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},wb=function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},Cb=ci("ScaleLoader","0% {transform: scaley(1.0)} 50% {transform: scaley(0.4)} 100% {transform: scaley(1.0)}","scale");function Sb(e){var t=e.loading,n=t===void 0?!0:t,r=e.color,o=r===void 0?"#000000":r,i=e.speedMultiplier,s=i===void 0?1:i,c=e.cssOverride,l=c===void 0?{}:c,d=e.height,u=d===void 0?35:d,f=e.width,m=f===void 0?4:f,g=e.radius,y=g===void 0?2:g,p=e.margin,T=p===void 0?2:p,O=e.barCount,S=O===void 0?5:O,v=xb(e,["loading","color","speedMultiplier","cssOverride","height","width","radius","margin","barCount"]),
|
|
413
|
+
`);return i&&i.insertRule(s,0),r},Ao=function(){return Ao=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Ao.apply(this,arguments)},fb=function(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},hb=ci("CircleLoader","0% {transform: rotate(0deg)} 50% {transform: rotate(180deg)} 100% {transform: rotate(360deg)}","circle");function mb(e){var t=e.loading,n=t===void 0?!0:t,r=e.color,o=r===void 0?"#000000":r,i=e.speedMultiplier,s=i===void 0?1:i,c=e.cssOverride,l=c===void 0?{}:c,d=e.size,u=d===void 0?50:d,f=fb(e,["loading","color","speedMultiplier","cssOverride","size"]),m=Ao({display:"inherit",position:"relative",width:an(u),height:an(u)},l),g=function(y){var p=Ns(u),T=p.value,O=p.unit;return{position:"absolute",height:"".concat(T*(1-y/10)).concat(O),width:"".concat(T*(1-y/10)).concat(O),borderTop:"1px solid ".concat(o),borderBottom:"none",borderLeft:"1px solid ".concat(o),borderRight:"none",borderRadius:"100%",transition:"2s",top:"".concat(y*.7*2.5,"%"),left:"".concat(y*.35*2.5,"%"),animation:"".concat(hb," ").concat(1/s,"s ").concat(y*.2/s,"s infinite linear")}};return n?E.createElement("span",Ao({style:m},f),E.createElement("span",{style:g(0)}),E.createElement("span",{style:g(1)}),E.createElement("span",{style:g(2)}),E.createElement("span",{style:g(3)}),E.createElement("span",{style:g(4)})):null}var Io=function(){return Io=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},Io.apply(this,arguments)},gb=function(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},yb=ci("RingLoader","0% {transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg)} 100% {transform: rotateX(180deg) rotateY(360deg) rotateZ(360deg)}","right"),vb=ci("RingLoader","0% {transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg)} 100% {transform: rotateX(360deg) rotateY(180deg) rotateZ(360deg)}","left");function bb(e){var t=e.loading,n=t===void 0?!0:t,r=e.color,o=r===void 0?"#000000":r,i=e.speedMultiplier,s=i===void 0?1:i,c=e.cssOverride,l=c===void 0?{}:c,d=e.size,u=d===void 0?60:d,f=gb(e,["loading","color","speedMultiplier","cssOverride","size"]),m=Ns(u),g=m.value,y=m.unit,p=Io({display:"inherit",width:an(u),height:an(u),position:"relative"},l),T=function(O){return{position:"absolute",top:"0",left:"0",width:"".concat(g).concat(y),height:"".concat(g).concat(y),border:"".concat(g/10).concat(y," solid ").concat(o),opacity:"0.4",borderRadius:"100%",animationFillMode:"forwards",perspective:"800px",animation:"".concat(O===1?yb:vb," ").concat(2/s,"s 0s infinite linear")}};return n?E.createElement("span",Io({style:p},f),E.createElement("span",{style:T(1)}),E.createElement("span",{style:T(2)})):null}var No=function(){return No=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},No.apply(this,arguments)},xb=function(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 o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},wb=function(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))},Cb=ci("ScaleLoader","0% {transform: scaley(1.0)} 50% {transform: scaley(0.4)} 100% {transform: scaley(1.0)}","scale");function Sb(e){var t=e.loading,n=t===void 0?!0:t,r=e.color,o=r===void 0?"#000000":r,i=e.speedMultiplier,s=i===void 0?1:i,c=e.cssOverride,l=c===void 0?{}:c,d=e.height,u=d===void 0?35:d,f=e.width,m=f===void 0?4:f,g=e.radius,y=g===void 0?2:g,p=e.margin,T=p===void 0?2:p,O=e.barCount,S=O===void 0?5:O,v=xb(e,["loading","color","speedMultiplier","cssOverride","height","width","radius","margin","barCount"]),x=No({display:"inherit"},l),C=function(R){return{backgroundColor:o,width:an(m),height:an(u),margin:an(T),borderRadius:an(y),display:"inline-block",animation:"".concat(Cb," ").concat(1/s,"s ").concat(R*.1,"s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08)"),animationFillMode:"both"}};return n?E.createElement("span",No({style:x},v),wb([],Array(S),!0).map(function(R,P){return E.createElement("span",{key:P,style:C(P+1)})})):null}const op=e=>b.jsx(Sb,{color:V("gray.300"),size:4,...e}),ip=({paddingTop:e,...t})=>b.jsx(Ab,{paddingTop:e,children:b.jsx(mb,{color:V("purple.800"),size:20,...t})});function Eb(e){return typeof e.main=="string"}function Tb(e,t=[]){if(!Eb(e))return!1;for(const n of t)if(!e.hasOwnProperty(n)||typeof e[n]!="string")return!1;return!0}function Ya(e=[]){return([,t])=>t&&Tb(t,e)}function Ob(e){return Ke("MuiTypography",e)}Je("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Rb={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},Pb=Cy(),$b=e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:s}=e,c={root:["root",i,e.align!=="inherit"&&`align${Ze(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]};return tt(c,Ob,s)},kb=me("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${Ze(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(et(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([t,n])=>t!=="inherit"&&n&&typeof n=="object").map(([t,n])=>({props:{variant:t},style:n})),...Object.entries(e.palette).filter(Ya()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,t])=>typeof t=="string").map(([t])=>({props:{color:`text${Ze(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:t})=>t.align!=="inherit",style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:t})=>t.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:t})=>t.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:t})=>t.paragraph,style:{marginBottom:16}}]}))),hu={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ap=E.forwardRef(function(t,n){const{color:r,...o}=nt({props:t,name:"MuiTypography"}),i=!Rb[r],s=Pb({...o,...i&&{color:r}}),{align:c="inherit",className:l,component:d,gutterBottom:u=!1,noWrap:f=!1,paragraph:m=!1,variant:g="body1",variantMapping:y=hu,...p}=s,T={...s,align:c,color:r,className:l,component:d,gutterBottom:u,noWrap:f,paragraph:m,variant:g,variantMapping:y},O=d||(m?"p":y[g]||hu[g])||"span",S=$b(T);return b.jsx(kb,{as:O,ref:n,className:pe(S.root,l),...p,ownerState:T,style:{...c!=="inherit"&&{"--Typography-textAlign":c},...p.style}})});process.env.NODE_ENV!=="production"&&(ap.propTypes={align:a.oneOf(["center","inherit","justify","left","right"]),children:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["primary","secondary","success","error","info","warning","textPrimary","textSecondary","textDisabled"]),a.string]),component:a.elementType,gutterBottom:a.bool,noWrap:a.bool,paragraph:a.bool,style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),variant:a.oneOfType([a.oneOf(["body1","body2","button","caption","h1","h2","h3","h4","h5","h6","inherit","overline","subtitle1","subtitle2"]),a.string]),variantMapping:a.object});const _b=({children:e,className:t,variant:n,isSmall:r,...o})=>b.jsx(ap,{variant:n!=="span"?n:void 0,className:t,style:{fontSize:r?"0.8em":void 0},...o,children:e}),Ls=W(_b)`
|
|
414
414
|
color: ${V("purple.800")};
|
|
415
415
|
font-family: ${Xe("roboto")};
|
|
416
|
-
`,sp=({imageSrc:e,text:t="Loading..."})=>
|
|
416
|
+
`,sp=({imageSrc:e,text:t="Loading..."})=>b.jsx(jb,{children:b.jsxs("div",{children:[b.jsx("img",{src:e,alt:"Loading..."}),b.jsx(Ls,{className:"translate",children:t})]})}),Mb=W(bb)`
|
|
417
417
|
color: ${e=>e.color??"#000"};
|
|
418
418
|
fill: ${e=>e.color??"#000"};
|
|
419
419
|
&&& {
|
|
420
420
|
margin: 5px;
|
|
421
421
|
}
|
|
422
|
-
`,cp=({color:e,...t})=>
|
|
422
|
+
`,cp=({color:e,...t})=>b.jsx(Mb,{color:e,...t}),jb=W.div`
|
|
423
423
|
position: fixed;
|
|
424
424
|
top: 150px;
|
|
425
425
|
left: 0;
|
|
@@ -460,7 +460,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
460
460
|
${lp}
|
|
461
461
|
`,Bb=W(cp)`
|
|
462
462
|
margin: 5px auto;
|
|
463
|
-
`,Db={bar:zb,page:Lb,circle:Nb,ring:Bb},Vb=({text:e="",variant:t="page",paddingTop:n,isAlignLeft:r,...o})=>{const i=Db[t];return t==="page"?
|
|
463
|
+
`,Db={bar:zb,page:Lb,circle:Nb,ring:Bb},Vb=({text:e="",variant:t="page",paddingTop:n,isAlignLeft:r,...o})=>{const i=Db[t];return t==="page"?b.jsx(i,{}):b.jsxs(Ib,{paddingTop:n,isAlignLeft:r,children:[b.jsx(i,{paddingTop:n,...o}),e&&b.jsx(Ls,{className:"translate",isSmall:!0,children:e})]})},Fb=Ae`
|
|
464
464
|
background-color: ${V("purple.300")};
|
|
465
465
|
animation-name: color;
|
|
466
466
|
animation-duration: 1.6s;
|
|
@@ -482,7 +482,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
482
482
|
height: ${({heightPercent:e,height:t})=>e?`${String(e)}%`:`${String(t??1)}px`};
|
|
483
483
|
border-radius: ${e=>e.borderRadius??0}px;
|
|
484
484
|
${Fb}
|
|
485
|
-
`,Wb=e=>
|
|
485
|
+
`,Wb=e=>b.jsx(Hb,{"data-testid":"skeleton",className:e.className,...e}),qb=W.div`
|
|
486
486
|
width: ${({isSmallContainer:e})=>e?100:170}px;
|
|
487
487
|
height: ${({isSmallContainer:e})=>e?100:170}px;
|
|
488
488
|
overflow: hidden;
|
|
@@ -510,7 +510,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
510
510
|
`,Kb=`
|
|
511
511
|
You do not have any items created for this module.
|
|
512
512
|
To create use the Add button above.
|
|
513
|
-
`,Zb=({isSmallContainer:e,image:t,message:n})=>
|
|
513
|
+
`,Zb=({isSmallContainer:e,image:t,message:n})=>b.jsxs(Gb,{children:[t&&b.jsx(qb,{isSmallContainer:!!e,"data-testid":"emptydata-img-container",children:b.jsx(Ub,{src:t,alt:"Empty data logo",loading:"lazy"})}),b.jsx(Yb,{children:n??Kb})]}),li=Ae`
|
|
514
514
|
background-color: ${V("purple.300")};
|
|
515
515
|
animation-name: color;
|
|
516
516
|
animation-duration: 1.6s;
|
|
@@ -585,14 +585,14 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
585
585
|
height: 42px;
|
|
586
586
|
padding: 0px 15px;
|
|
587
587
|
box-sizing: border-box;
|
|
588
|
-
`,i4=()=>
|
|
588
|
+
`,i4=()=>b.jsxs(t4,{"data-testid":"card-loading",children:[b.jsx(r4,{children:b.jsxs(n4,{children:[b.jsx(Xb,{}),b.jsx(Jb,{})]})}),b.jsxs(o4,{children:[b.jsx(Qb,{}),b.jsx(e4,{})]})]}),a4=W.div`
|
|
589
589
|
display: flex;
|
|
590
590
|
flex-direction: ${({direction:e})=>e??"row"};
|
|
591
591
|
justify-content: ${({justify:e})=>e??"flex-start"};
|
|
592
592
|
align-items: ${({align:e})=>e??"flex-start"};
|
|
593
593
|
flex-wrap: ${({wrap:e})=>e??"nowrap"};
|
|
594
594
|
gap: ${({gap:e})=>e??"0"};
|
|
595
|
-
`,s4=({children:e,...t})=>
|
|
595
|
+
`,s4=({children:e,...t})=>b.jsx(a4,{...t,children:e}),c4=W.div`
|
|
596
596
|
width: 100%;
|
|
597
597
|
display: flex;
|
|
598
598
|
align-items: center;
|
|
@@ -622,7 +622,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
622
622
|
}
|
|
623
623
|
`,u4=W.div`
|
|
624
624
|
cursor: pointer;
|
|
625
|
-
`,d4=12,p4=({id:e,children:t})=>{const n=`copy_${e}`,[r,o]=te.useState("Copy to clipboard"),[i,s]=te.useState(!1),c=()=>{setTimeout(()=>{o("Copy to clipboard"),s(!1)},200)},l=()=>{const d=document.getElementById(n)?.innerText??"";navigator.clipboard.writeText(d).then(()=>{o("Copied!"),s(!0)}).catch(u=>{throw o("Error!"),new Error(`CopyToClipboard: unable to copy: ${JSON.stringify(u)}`)})};return x.jsxs(c4,{children:[x.jsx(l4,{id:n,children:t}),x.jsx(up,{children:x.jsx(Vt,{title:r,placement:"top-start",children:x.jsx(u4,{role:"button",className:"copyaction",onClick:l,onMouseOut:c,children:sr(i?"copy":"copyOutline",d4)})})})]})};function f4(e){return Ke("MuiCollapse",e)}Je("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const h4=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return tt(r,f4,n)},m4=me("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(et(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),g4=me("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),y4=me("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Lo=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:s,collapsedSize:c="0px",component:l,easing:d,in:u,onEnter:f,onEntered:m,onEntering:g,onExit:y,onExited:p,onExiting:T,orientation:O="vertical",style:S,timeout:v=Md.standard,TransitionComponent:b=kt,...C}=r,R={...r,orientation:O,collapsedSize:c},P=h4(R),z=ur(),k=Cn(),h=E.useRef(null),_=E.useRef(),H=typeof c=="number"?`${c}px`:c,I=O==="horizontal",F=I?"width":"height",L=E.useRef(null),N=ft(n,L),q=A=>Z=>{if(A){const Y=L.current;Z===void 0?A(Y):A(Y,Z)}},ae=()=>h.current?h.current[I?"clientWidth":"clientHeight"]:0,Q=q((A,Z)=>{h.current&&I&&(h.current.style.position="absolute"),A.style[F]=H,f&&f(A,Z)}),$=q((A,Z)=>{const Y=ae();h.current&&I&&(h.current.style.position="");const{duration:ie,easing:G}=er({style:S,timeout:v,easing:d},{mode:"enter"});if(v==="auto"){const oe=z.transitions.getAutoHeightDuration(Y);A.style.transitionDuration=`${oe}ms`,_.current=oe}else A.style.transitionDuration=typeof ie=="string"?ie:`${ie}ms`;A.style[F]=`${Y}px`,A.style.transitionTimingFunction=G,g&&g(A,Z)}),B=q((A,Z)=>{A.style[F]="auto",m&&m(A,Z)}),K=q(A=>{A.style[F]=`${ae()}px`,y&&y(A)}),ne=q(p),X=q(A=>{const Z=ae(),{duration:Y,easing:ie}=er({style:S,timeout:v,easing:d},{mode:"exit"});if(v==="auto"){const G=z.transitions.getAutoHeightDuration(Z);A.style.transitionDuration=`${G}ms`,_.current=G}else A.style.transitionDuration=typeof Y=="string"?Y:`${Y}ms`;A.style[F]=H,A.style.transitionTimingFunction=ie,T&&T(A)}),U=A=>{v==="auto"&&k.start(_.current||0,A),o&&o(L.current,A)};return x.jsx(b,{in:u,onEnter:Q,onEntered:B,onEntering:$,onExit:K,onExited:ne,onExiting:X,addEndListener:U,nodeRef:L,timeout:v==="auto"?null:v,...C,children:(A,{ownerState:Z,...Y})=>x.jsx(m4,{as:l,className:pe(P.root,s,{entered:P.entered,exited:!u&&H==="0px"&&P.hidden}[A]),style:{[I?"minWidth":"minHeight"]:H,...S},ref:N,ownerState:{...R,state:A},...Y,children:x.jsx(g4,{ownerState:{...R,state:A},className:P.wrapper,ref:h,children:x.jsx(y4,{ownerState:{...R,state:A},className:P.wrapperInner,children:i})})})})});process.env.NODE_ENV!=="production"&&(Lo.propTypes={addEndListener:a.func,children:a.node,classes:a.object,className:a.string,collapsedSize:a.oneOfType([a.number,a.string]),component:ds,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,orientation:a.oneOf(["horizontal","vertical"]),style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timeout:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});Lo&&(Lo.muiSupportAuto=!0);const zs=E.createContext({});process.env.NODE_ENV!=="production"&&(zs.displayName="AccordionContext");function v4(e){return Ke("MuiAccordion",e)}const co=Je("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),b4=e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e;return tt({root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],heading:["heading"],region:["region"]},v4,t)},x4=me(Ts,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${co.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(et(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${co.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${co.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),et(({theme:e})=>({variants:[{props:t=>!t.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:t=>!t.disableGutters,style:{[`&.${co.expanded}`]:{margin:"16px 0"}}}]}))),w4=me("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(e,t)=>t.heading})({all:"unset"}),dp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:s=!1,disabled:c=!1,disableGutters:l=!1,expanded:d,onChange:u,square:f=!1,slots:m={},slotProps:g={},TransitionComponent:y,TransitionProps:p,...T}=r,[O,S]=bs({controlled:d,default:s,name:"Accordion",state:"expanded"}),v=E.useCallback(ae=>{S(!O),u&&u(ae,!O)},[O,u,S]),[b,...C]=E.Children.toArray(o),R=E.useMemo(()=>({expanded:O,disabled:c,disableGutters:l,toggle:v}),[O,c,l,v]),P={...r,square:f,disabled:c,disableGutters:l,expanded:O},z=b4(P),k={transition:y,...m},h={transition:p,...g},_={slots:k,slotProps:h},[H,I]=je("root",{elementType:x4,externalForwardedProps:{..._,...T},className:pe(z.root,i),shouldForwardComponentProp:!0,ownerState:P,ref:n,additionalProps:{square:f}}),[F,L]=je("heading",{elementType:w4,externalForwardedProps:_,className:z.heading,ownerState:P}),[N,q]=je("transition",{elementType:Lo,externalForwardedProps:_,ownerState:P});return x.jsxs(H,{...I,children:[x.jsx(F,{...L,children:x.jsx(zs.Provider,{value:R,children:b})}),x.jsx(N,{in:O,timeout:"auto",...q,children:x.jsx("div",{"aria-labelledby":b.props.id,id:b.props["aria-controls"],role:"region",className:z.region,children:C})})]})});process.env.NODE_ENV!=="production"&&(dp.propTypes={children:Mn(a.node.isRequired,e=>{const t=E.Children.toArray(e.children)[0];return Jn.isFragment(t)?new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead."):E.isValidElement(t)?null:new Error("MUI: Expected the first child of Accordion to be a valid element.")}),classes:a.object,className:a.string,defaultExpanded:a.bool,disabled:a.bool,disableGutters:a.bool,expanded:a.bool,onChange:a.func,slotProps:a.shape({heading:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object]),transition:a.oneOfType([a.func,a.object])}),slots:a.shape({heading:a.elementType,root:a.elementType,transition:a.elementType}),square:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TransitionComponent:a.elementType,TransitionProps:a.object});function C4(e){return Ke("MuiAccordionDetails",e)}Je("MuiAccordionDetails",["root"]);const S4=e=>{const{classes:t}=e;return tt({root:["root"]},C4,t)},E4=me("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(et(({theme:e})=>({padding:e.spacing(1,2,2)}))),pp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAccordionDetails"}),{className:o,...i}=r,s=r,c=S4(s);return x.jsx(E4,{className:pe(c.root,o),ref:n,ownerState:s,...i})});process.env.NODE_ENV!=="production"&&(pp.propTypes={children:a.node,classes:a.object,className:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});class zo{static create(){return new zo}static use(){const t=Td(zo.create).current,[n,r]=E.useState(!1);return t.shouldMount=n,t.setShouldMount=r,E.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=O4(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function T4(){return zo.use()}function O4(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function fp(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:c,onExited:l,timeout:d}=e,[u,f]=E.useState(!1),m=pe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},y=pe(n.child,u&&n.childLeaving,r&&n.childPulsate);return!c&&!u&&f(!0),E.useEffect(()=>{if(!c&&l!=null){const p=setTimeout(l,d);return()=>{clearTimeout(p)}}},[l,c,d]),x.jsx("span",{className:m,style:g,children:x.jsx("span",{className:y})})}process.env.NODE_ENV!=="production"&&(fp.propTypes={classes:a.object.isRequired,className:a.string,in:a.bool,onExited:a.func,pulsate:a.bool,rippleSize:a.number,rippleX:a.number,rippleY:a.number,timeout:a.number.isRequired});const yt=Je("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ka=550,R4=80,P4=ls`
|
|
625
|
+
`,d4=12,p4=({id:e,children:t})=>{const n=`copy_${e}`,[r,o]=te.useState("Copy to clipboard"),[i,s]=te.useState(!1),c=()=>{setTimeout(()=>{o("Copy to clipboard"),s(!1)},200)},l=()=>{const d=document.getElementById(n)?.innerText??"";navigator.clipboard.writeText(d).then(()=>{o("Copied!"),s(!0)}).catch(u=>{throw o("Error!"),new Error(`CopyToClipboard: unable to copy: ${JSON.stringify(u)}`)})};return b.jsxs(c4,{children:[b.jsx(l4,{id:n,children:t}),b.jsx(up,{children:b.jsx(Vt,{title:r,placement:"top-start",children:b.jsx(u4,{role:"button",className:"copyaction",onClick:l,onMouseOut:c,children:sr(i?"copy":"copyOutline",d4)})})})]})};function f4(e){return Ke("MuiCollapse",e)}Je("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const h4=e=>{const{orientation:t,classes:n}=e,r={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return tt(r,f4,n)},m4=me("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.orientation],n.state==="entered"&&t.entered,n.state==="exited"&&!n.in&&n.collapsedSize==="0px"&&t.hidden]}})(et(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:t})=>t.state==="exited"&&!t.in&&t.collapsedSize==="0px",style:{visibility:"hidden"}}]}))),g4=me("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),y4=me("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),Lo=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:s,collapsedSize:c="0px",component:l,easing:d,in:u,onEnter:f,onEntered:m,onEntering:g,onExit:y,onExited:p,onExiting:T,orientation:O="vertical",style:S,timeout:v=Md.standard,TransitionComponent:x=kt,...C}=r,R={...r,orientation:O,collapsedSize:c},P=h4(R),z=ur(),k=Cn(),h=E.useRef(null),_=E.useRef(),H=typeof c=="number"?`${c}px`:c,I=O==="horizontal",F=I?"width":"height",L=E.useRef(null),N=ft(n,L),q=A=>Z=>{if(A){const Y=L.current;Z===void 0?A(Y):A(Y,Z)}},ae=()=>h.current?h.current[I?"clientWidth":"clientHeight"]:0,Q=q((A,Z)=>{h.current&&I&&(h.current.style.position="absolute"),A.style[F]=H,f&&f(A,Z)}),$=q((A,Z)=>{const Y=ae();h.current&&I&&(h.current.style.position="");const{duration:ie,easing:G}=er({style:S,timeout:v,easing:d},{mode:"enter"});if(v==="auto"){const oe=z.transitions.getAutoHeightDuration(Y);A.style.transitionDuration=`${oe}ms`,_.current=oe}else A.style.transitionDuration=typeof ie=="string"?ie:`${ie}ms`;A.style[F]=`${Y}px`,A.style.transitionTimingFunction=G,g&&g(A,Z)}),B=q((A,Z)=>{A.style[F]="auto",m&&m(A,Z)}),K=q(A=>{A.style[F]=`${ae()}px`,y&&y(A)}),ne=q(p),X=q(A=>{const Z=ae(),{duration:Y,easing:ie}=er({style:S,timeout:v,easing:d},{mode:"exit"});if(v==="auto"){const G=z.transitions.getAutoHeightDuration(Z);A.style.transitionDuration=`${G}ms`,_.current=G}else A.style.transitionDuration=typeof Y=="string"?Y:`${Y}ms`;A.style[F]=H,A.style.transitionTimingFunction=ie,T&&T(A)}),U=A=>{v==="auto"&&k.start(_.current||0,A),o&&o(L.current,A)};return b.jsx(x,{in:u,onEnter:Q,onEntered:B,onEntering:$,onExit:K,onExited:ne,onExiting:X,addEndListener:U,nodeRef:L,timeout:v==="auto"?null:v,...C,children:(A,{ownerState:Z,...Y})=>b.jsx(m4,{as:l,className:pe(P.root,s,{entered:P.entered,exited:!u&&H==="0px"&&P.hidden}[A]),style:{[I?"minWidth":"minHeight"]:H,...S},ref:N,ownerState:{...R,state:A},...Y,children:b.jsx(g4,{ownerState:{...R,state:A},className:P.wrapper,ref:h,children:b.jsx(y4,{ownerState:{...R,state:A},className:P.wrapperInner,children:i})})})})});process.env.NODE_ENV!=="production"&&(Lo.propTypes={addEndListener:a.func,children:a.node,classes:a.object,className:a.string,collapsedSize:a.oneOfType([a.number,a.string]),component:ds,easing:a.oneOfType([a.shape({enter:a.string,exit:a.string}),a.string]),in:a.bool,onEnter:a.func,onEntered:a.func,onEntering:a.func,onExit:a.func,onExited:a.func,onExiting:a.func,orientation:a.oneOf(["horizontal","vertical"]),style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),timeout:a.oneOfType([a.oneOf(["auto"]),a.number,a.shape({appear:a.number,enter:a.number,exit:a.number})])});Lo&&(Lo.muiSupportAuto=!0);const zs=E.createContext({});process.env.NODE_ENV!=="production"&&(zs.displayName="AccordionContext");function v4(e){return Ke("MuiAccordion",e)}const co=Je("MuiAccordion",["root","heading","rounded","expanded","disabled","gutters","region"]),b4=e=>{const{classes:t,square:n,expanded:r,disabled:o,disableGutters:i}=e;return tt({root:["root",!n&&"rounded",r&&"expanded",o&&"disabled",!i&&"gutters"],heading:["heading"],region:["region"]},v4,t)},x4=me(Ts,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${co.region}`]:t.region},t.root,!n.square&&t.rounded,!n.disableGutters&&t.gutters]}})(et(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${co.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${co.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}}),et(({theme:e})=>({variants:[{props:t=>!t.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:t=>!t.disableGutters,style:{[`&.${co.expanded}`]:{margin:"16px 0"}}}]}))),w4=me("h3",{name:"MuiAccordion",slot:"Heading",overridesResolver:(e,t)=>t.heading})({all:"unset"}),dp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:s=!1,disabled:c=!1,disableGutters:l=!1,expanded:d,onChange:u,square:f=!1,slots:m={},slotProps:g={},TransitionComponent:y,TransitionProps:p,...T}=r,[O,S]=bs({controlled:d,default:s,name:"Accordion",state:"expanded"}),v=E.useCallback(ae=>{S(!O),u&&u(ae,!O)},[O,u,S]),[x,...C]=E.Children.toArray(o),R=E.useMemo(()=>({expanded:O,disabled:c,disableGutters:l,toggle:v}),[O,c,l,v]),P={...r,square:f,disabled:c,disableGutters:l,expanded:O},z=b4(P),k={transition:y,...m},h={transition:p,...g},_={slots:k,slotProps:h},[H,I]=je("root",{elementType:x4,externalForwardedProps:{..._,...T},className:pe(z.root,i),shouldForwardComponentProp:!0,ownerState:P,ref:n,additionalProps:{square:f}}),[F,L]=je("heading",{elementType:w4,externalForwardedProps:_,className:z.heading,ownerState:P}),[N,q]=je("transition",{elementType:Lo,externalForwardedProps:_,ownerState:P});return b.jsxs(H,{...I,children:[b.jsx(F,{...L,children:b.jsx(zs.Provider,{value:R,children:x})}),b.jsx(N,{in:O,timeout:"auto",...q,children:b.jsx("div",{"aria-labelledby":x.props.id,id:x.props["aria-controls"],role:"region",className:z.region,children:C})})]})});process.env.NODE_ENV!=="production"&&(dp.propTypes={children:Mn(a.node.isRequired,e=>{const t=E.Children.toArray(e.children)[0];return Jn.isFragment(t)?new Error("MUI: The Accordion doesn't accept a Fragment as a child. Consider providing an array instead."):E.isValidElement(t)?null:new Error("MUI: Expected the first child of Accordion to be a valid element.")}),classes:a.object,className:a.string,defaultExpanded:a.bool,disabled:a.bool,disableGutters:a.bool,expanded:a.bool,onChange:a.func,slotProps:a.shape({heading:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object]),transition:a.oneOfType([a.func,a.object])}),slots:a.shape({heading:a.elementType,root:a.elementType,transition:a.elementType}),square:a.bool,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TransitionComponent:a.elementType,TransitionProps:a.object});function C4(e){return Ke("MuiAccordionDetails",e)}Je("MuiAccordionDetails",["root"]);const S4=e=>{const{classes:t}=e;return tt({root:["root"]},C4,t)},E4=me("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(et(({theme:e})=>({padding:e.spacing(1,2,2)}))),pp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAccordionDetails"}),{className:o,...i}=r,s=r,c=S4(s);return b.jsx(E4,{className:pe(c.root,o),ref:n,ownerState:s,...i})});process.env.NODE_ENV!=="production"&&(pp.propTypes={children:a.node,classes:a.object,className:a.string,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});class zo{static create(){return new zo}static use(){const t=Td(zo.create).current,[n,r]=E.useState(!1);return t.shouldMount=n,t.setShouldMount=r,E.useEffect(t.mountEffect,[n]),t}constructor(){this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}mount(){return this.mounted||(this.mounted=O4(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}mountEffect=()=>{this.shouldMount&&!this.didMount&&this.ref.current!==null&&(this.didMount=!0,this.mounted.resolve())};start(...t){this.mount().then(()=>this.ref.current?.start(...t))}stop(...t){this.mount().then(()=>this.ref.current?.stop(...t))}pulsate(...t){this.mount().then(()=>this.ref.current?.pulsate(...t))}}function T4(){return zo.use()}function O4(){let e,t;const n=new Promise((r,o)=>{e=r,t=o});return n.resolve=e,n.reject=t,n}function fp(e){const{className:t,classes:n,pulsate:r=!1,rippleX:o,rippleY:i,rippleSize:s,in:c,onExited:l,timeout:d}=e,[u,f]=E.useState(!1),m=pe(t,n.ripple,n.rippleVisible,r&&n.ripplePulsate),g={width:s,height:s,top:-(s/2)+i,left:-(s/2)+o},y=pe(n.child,u&&n.childLeaving,r&&n.childPulsate);return!c&&!u&&f(!0),E.useEffect(()=>{if(!c&&l!=null){const p=setTimeout(l,d);return()=>{clearTimeout(p)}}},[l,c,d]),b.jsx("span",{className:m,style:g,children:b.jsx("span",{className:y})})}process.env.NODE_ENV!=="production"&&(fp.propTypes={classes:a.object.isRequired,className:a.string,in:a.bool,onExited:a.func,pulsate:a.bool,rippleSize:a.number,rippleX:a.number,rippleY:a.number,timeout:a.number.isRequired});const yt=Je("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),Ka=550,R4=80,P4=ls`
|
|
626
626
|
0% {
|
|
627
627
|
transform: scale(0);
|
|
628
628
|
opacity: 0.1;
|
|
@@ -695,7 +695,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
695
695
|
animation-iteration-count: infinite;
|
|
696
696
|
animation-delay: 200ms;
|
|
697
697
|
}
|
|
698
|
-
`,hp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...c}=r,[l,d]=E.useState([]),u=E.useRef(0),f=E.useRef(null);E.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const m=E.useRef(!1),g=Cn(),y=E.useRef(null),p=E.useRef(null),T=E.useCallback(
|
|
698
|
+
`,hp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:s,...c}=r,[l,d]=E.useState([]),u=E.useRef(0),f=E.useRef(null);E.useEffect(()=>{f.current&&(f.current(),f.current=null)},[l]);const m=E.useRef(!1),g=Cn(),y=E.useRef(null),p=E.useRef(null),T=E.useCallback(x=>{const{pulsate:C,rippleX:R,rippleY:P,rippleSize:z,cb:k}=x;d(h=>[...h,b.jsx(M4,{classes:{ripple:pe(i.ripple,yt.ripple),rippleVisible:pe(i.rippleVisible,yt.rippleVisible),ripplePulsate:pe(i.ripplePulsate,yt.ripplePulsate),child:pe(i.child,yt.child),childLeaving:pe(i.childLeaving,yt.childLeaving),childPulsate:pe(i.childPulsate,yt.childPulsate)},timeout:Ka,pulsate:C,rippleX:R,rippleY:P,rippleSize:z},u.current)]),u.current+=1,f.current=k},[i]),O=E.useCallback((x={},C={},R=()=>{})=>{const{pulsate:P=!1,center:z=o||C.pulsate,fakeElement:k=!1}=C;if(x?.type==="mousedown"&&m.current){m.current=!1;return}x?.type==="touchstart"&&(m.current=!0);const h=k?null:p.current,_=h?h.getBoundingClientRect():{width:0,height:0,left:0,top:0};let H,I,F;if(z||x===void 0||x.clientX===0&&x.clientY===0||!x.clientX&&!x.touches)H=Math.round(_.width/2),I=Math.round(_.height/2);else{const{clientX:L,clientY:N}=x.touches&&x.touches.length>0?x.touches[0]:x;H=Math.round(L-_.left),I=Math.round(N-_.top)}if(z)F=Math.sqrt((2*_.width**2+_.height**2)/3),F%2===0&&(F+=1);else{const L=Math.max(Math.abs((h?h.clientWidth:0)-H),H)*2+2,N=Math.max(Math.abs((h?h.clientHeight:0)-I),I)*2+2;F=Math.sqrt(L**2+N**2)}x?.touches?y.current===null&&(y.current=()=>{T({pulsate:P,rippleX:H,rippleY:I,rippleSize:F,cb:R})},g.start(R4,()=>{y.current&&(y.current(),y.current=null)})):T({pulsate:P,rippleX:H,rippleY:I,rippleSize:F,cb:R})},[o,T,g]),S=E.useCallback(()=>{O({},{pulsate:!0})},[O]),v=E.useCallback((x,C)=>{if(g.clear(),x?.type==="touchend"&&y.current){y.current(),y.current=null,g.start(0,()=>{v(x,C)});return}y.current=null,d(R=>R.length>0?R.slice(1):R),f.current=C},[g]);return E.useImperativeHandle(n,()=>({pulsate:S,start:O,stop:v}),[S,O,v]),b.jsx(_4,{className:pe(yt.root,i.root,s),ref:p,...c,children:b.jsx(Es,{component:null,exit:!0,children:l})})});process.env.NODE_ENV!=="production"&&(hp.propTypes={center:a.bool,classes:a.object,className:a.string});function j4(e){return Ke("MuiButtonBase",e)}const A4=Je("MuiButtonBase",["root","disabled","focusVisible"]),I4=e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,s=tt({root:["root",t&&"disabled",n&&"focusVisible"]},j4,o);return n&&r&&(s.root+=` ${r}`),s},N4=me("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"},[`&.${A4.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),qr=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:s,className:c,component:l="button",disabled:d=!1,disableRipple:u=!1,disableTouchRipple:f=!1,focusRipple:m=!1,focusVisibleClassName:g,LinkComponent:y="a",onBlur:p,onClick:T,onContextMenu:O,onDragLeave:S,onFocus:v,onFocusVisible:x,onKeyDown:C,onKeyUp:R,onMouseDown:P,onMouseLeave:z,onMouseUp:k,onTouchEnd:h,onTouchMove:_,onTouchStart:H,tabIndex:I=0,TouchRippleProps:F,touchRippleRef:L,type:N,...q}=r,ae=E.useRef(null),Q=T4(),$=ft(Q.ref,L),[B,K]=E.useState(!1);d&&B&&K(!1),E.useImperativeHandle(o,()=>({focusVisible:()=>{K(!0),ae.current.focus()}}),[]);const ne=Q.shouldMount&&!u&&!d;E.useEffect(()=>{B&&m&&!u&&Q.pulsate()},[u,m,B,Q]);const X=Zt(Q,"start",P,f),U=Zt(Q,"stop",O,f),A=Zt(Q,"stop",S,f),Z=Zt(Q,"stop",k,f),Y=Zt(Q,"stop",ce=>{B&&ce.preventDefault(),z&&z(ce)},f),ie=Zt(Q,"start",H,f),G=Zt(Q,"stop",h,f),oe=Zt(Q,"stop",_,f),j=Zt(Q,"stop",ce=>{Oo(ce.target)||K(!1),p&&p(ce)},!1),be=$t(ce=>{ae.current||(ae.current=ce.currentTarget),Oo(ce.target)&&(K(!0),x&&x(ce)),v&&v(ce)}),Te=()=>{const ce=ae.current;return l&&l!=="button"&&!(ce.tagName==="A"&&ce.href)},Ie=$t(ce=>{m&&!ce.repeat&&B&&ce.key===" "&&Q.stop(ce,()=>{Q.start(ce)}),ce.target===ce.currentTarget&&Te()&&ce.key===" "&&ce.preventDefault(),C&&C(ce),ce.target===ce.currentTarget&&Te()&&ce.key==="Enter"&&!d&&(ce.preventDefault(),T&&T(ce))}),He=$t(ce=>{m&&ce.key===" "&&B&&!ce.defaultPrevented&&Q.stop(ce,()=>{Q.pulsate(ce)}),R&&R(ce),T&&ce.target===ce.currentTarget&&Te()&&ce.key===" "&&!ce.defaultPrevented&&T(ce)});let Oe=l;Oe==="button"&&(q.href||q.to)&&(Oe=y);const Me={};Oe==="button"?(Me.type=N===void 0?"button":N,Me.disabled=d):(!q.href&&!q.to&&(Me.role="button"),d&&(Me["aria-disabled"]=d));const Ne=ft(n,ae),We={...r,centerRipple:i,component:l,disabled:d,disableRipple:u,disableTouchRipple:f,focusRipple:m,tabIndex:I,focusVisible:B},Ee=I4(We);return b.jsxs(N4,{as:Oe,className:pe(Ee.root,c),ownerState:We,onBlur:j,onClick:T,onContextMenu:U,onFocus:be,onKeyDown:Ie,onKeyUp:He,onMouseDown:X,onMouseLeave:Y,onMouseUp:Z,onDragLeave:A,onTouchEnd:G,onTouchMove:oe,onTouchStart:ie,ref:Ne,tabIndex:d?-1:I,type:N,...Me,...q,children:[s,ne?b.jsx(hp,{ref:$,center:i,...F}):null]})});function Zt(e,t,n,r=!1){return $t(o=>(n&&n(o),r||e[t](o),!0))}process.env.NODE_ENV!=="production"&&(qr.propTypes={action:cr,centerRipple:a.bool,children:a.node,classes:a.object,className:a.string,component:ds,disabled:a.bool,disableRipple:a.bool,disableTouchRipple:a.bool,focusRipple:a.bool,focusVisibleClassName:a.string,href:a.any,LinkComponent:a.elementType,onBlur:a.func,onClick:a.func,onContextMenu:a.func,onDragLeave:a.func,onFocus:a.func,onFocusVisible:a.func,onKeyDown:a.func,onKeyUp:a.func,onMouseDown:a.func,onMouseLeave:a.func,onMouseUp:a.func,onTouchEnd:a.func,onTouchMove:a.func,onTouchStart:a.func,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),tabIndex:a.number,TouchRippleProps:a.object,touchRippleRef:a.oneOfType([a.func,a.shape({current:a.shape({pulsate:a.func.isRequired,start:a.func.isRequired,stop:a.func.isRequired})})]),type:a.oneOfType([a.oneOf(["button","reset","submit"]),a.string])});function L4(e){return Ke("MuiAccordionSummary",e)}const Wn=Je("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),z4=e=>{const{classes:t,expanded:n,disabled:r,disableGutters:o}=e;return tt({root:["root",n&&"expanded",r&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]},L4,t)},B4=me(qr,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(et(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",width:"100%",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${Wn.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Wn.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${Wn.disabled})`]:{cursor:"pointer"},variants:[{props:n=>!n.disableGutters,style:{[`&.${Wn.expanded}`]:{minHeight:64}}}]}})),D4=me("span",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(et(({theme:e})=>({display:"flex",textAlign:"start",flexGrow:1,margin:"12px 0",variants:[{props:t=>!t.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${Wn.expanded}`]:{margin:"20px 0"}}}]}))),V4=me("span",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(et(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${Wn.expanded}`]:{transform:"rotate(180deg)"}}))),mp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:s,focusVisibleClassName:c,onClick:l,slots:d,slotProps:u,...f}=r,{disabled:m=!1,disableGutters:g,expanded:y,toggle:p}=E.useContext(zs),T=h=>{p&&p(h),l&&l(h)},O={...r,expanded:y,disabled:m,disableGutters:g},S=z4(O),v={slots:d,slotProps:u},[x,C]=je("root",{ref:n,shouldForwardComponentProp:!0,className:pe(S.root,i),elementType:B4,externalForwardedProps:{...v,...f},ownerState:O,additionalProps:{focusRipple:!1,disableRipple:!0,disabled:m,"aria-expanded":y,focusVisibleClassName:pe(S.focusVisible,c)},getSlotProps:h=>({...h,onClick:_=>{h.onClick?.(_),T(_)}})}),[R,P]=je("content",{className:S.content,elementType:D4,externalForwardedProps:v,ownerState:O}),[z,k]=je("expandIconWrapper",{className:S.expandIconWrapper,elementType:V4,externalForwardedProps:v,ownerState:O});return b.jsxs(x,{...C,children:[b.jsx(R,{...P,children:o}),s&&b.jsx(z,{...k,children:s})]})});process.env.NODE_ENV!=="production"&&(mp.propTypes={children:a.node,classes:a.object,className:a.string,expandIcon:a.node,focusVisibleClassName:a.string,onClick:a.func,slotProps:a.shape({content:a.oneOfType([a.func,a.object]),expandIconWrapper:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({content:a.elementType,expandIconWrapper:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});const F4=Ae`
|
|
699
699
|
> svg {
|
|
700
700
|
color: #fff;
|
|
701
701
|
fill: #fff;
|
|
@@ -777,7 +777,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
777
777
|
flex-direction: column;
|
|
778
778
|
gap: 8px;
|
|
779
779
|
border-top: 1px solid #ddd;
|
|
780
|
-
`,U4=({label:e,tooltip:t,isDisabled:n=!1,items:r,navigationComponent:o,onItemClickError:i})=>{const s=
|
|
780
|
+
`,U4=({label:e,tooltip:t,isDisabled:n=!1,items:r,navigationComponent:o,onItemClickError:i})=>{const s=b.jsx(W4,{expandIcon:b.jsx(U0,{}),"aria-controls":"panel-content",id:"panel-header",children:b.jsx(mu,{color:"blue.800",children:e})}),c=async l=>{if(l.onClick)try{await Promise.resolve(l.onClick())}catch(d){i?.(d)}};return b.jsx("div",{style:{width:"100%"},children:b.jsxs(H4,{disabled:n,children:[t?b.jsx(jo,{title:t,children:s}):s,b.jsx(q4,{children:r.map((l,d)=>{const u=b.jsx("div",{style:{display:"flex",alignItems:"center",gap:8,opacity:l.isDisabled?.5:1,cursor:l.isDisabled?"not-allowed":"pointer"},onClick:f=>{l.isDisabled||l.onClick&&(f.preventDefault(),f.stopPropagation(),c(l))},children:l.label&&b.jsx(jo,{title:l.label,children:b.jsx(mu,{style:{fontSize:13,fontWeight:400},color:l.color,children:l.label})})},d);if(l.url&&o){const f=o;return b.jsx(f,{to:l.url,style:{display:"block"},hideUnderline:!0,children:u},`link-${String(d)}`)}return u})})]})})},G4=Ae`
|
|
781
781
|
width: 100vw;
|
|
782
782
|
height: calc(100vh - (105px + 42px));
|
|
783
783
|
`,Y4=Ae`
|
|
@@ -806,10 +806,10 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
806
806
|
width: 80px;
|
|
807
807
|
height: 80px;
|
|
808
808
|
}
|
|
809
|
-
`,X4=ve("effect_load_starship_devopness.gif"),J4=({isFullContainer:e})=>x.jsx(K4,{isFullContainer:e,children:x.jsx(Z4,{src:X4,alt:"This is an animated GIF image of the devopness starship"})}),Q4=te.memo(J4),gp=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(gp.displayName="FormControlContext");function e5(){return E.useContext(gp)}function t5(e){return Ke("PrivateSwitchBase",e)}Je("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const n5=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${Ze(o)}`],input:["input"]};return tt(i,t5,t)},r5=me(qr,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),o5=me("input",{name:"MuiSwitchBase",shouldForwardProp:Cs})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),yp=E.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,defaultChecked:s,disabled:c,disableFocusRipple:l=!1,edge:d=!1,icon:u,id:f,inputProps:m,inputRef:g,name:y,onBlur:p,onChange:T,onFocus:O,readOnly:S,required:v=!1,tabIndex:b,type:C,value:R,slots:P={},slotProps:z={},...k}=t,[h,_]=bs({controlled:o,default:!!s,name:"SwitchBase",state:"checked"}),H=e5(),I=U=>{O&&O(U),H&&H.onFocus&&H.onFocus(U)},F=U=>{p&&p(U),H&&H.onBlur&&H.onBlur(U)},L=U=>{if(U.nativeEvent.defaultPrevented)return;const A=U.target.checked;_(A),T&&T(U,A)};let N=c;H&&typeof N>"u"&&(N=H.disabled);const q=C==="checkbox"||C==="radio",ae={...t,checked:h,disabled:N,disableFocusRipple:l,edge:d},Q=n5(ae),$={slots:P,slotProps:{input:m,...z}},[B,K]=je("root",{ref:n,elementType:r5,className:Q.root,shouldForwardComponentProp:!0,externalForwardedProps:{...$,component:"span",...k},getSlotProps:U=>({...U,onFocus:A=>{U.onFocus?.(A),I(A)},onBlur:A=>{U.onBlur?.(A),F(A)}}),ownerState:ae,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:N,role:void 0,tabIndex:null}}),[ne,X]=je("input",{ref:g,elementType:o5,className:Q.input,externalForwardedProps:$,getSlotProps:U=>({onChange:A=>{U.onChange?.(A),L(A)}}),ownerState:ae,additionalProps:{autoFocus:r,checked:o,defaultChecked:s,disabled:N,id:q?f:void 0,name:y,readOnly:S,required:v,tabIndex:b,type:C,...C==="checkbox"&&R===void 0?{}:{value:R}}});return x.jsxs(B,{...K,children:[x.jsx(ne,{...X}),h?i:u]})});process.env.NODE_ENV!=="production"&&(yp.propTypes={autoFocus:a.bool,checked:a.bool,checkedIcon:a.node.isRequired,classes:a.object,className:a.string,defaultChecked:a.bool,disabled:a.bool,disableFocusRipple:a.bool,edge:a.oneOf(["end","start",!1]),icon:a.node.isRequired,id:a.string,inputProps:a.object,inputRef:cr,name:a.string,onBlur:a.func,onChange:a.func,onFocus:a.func,readOnly:a.bool,required:a.bool,slotProps:a.shape({input:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({input:a.elementType,root:a.elementType}),sx:a.object,tabIndex:a.oneOfType([a.number,a.string]),type:a.string.isRequired,value:a.any});const i5=Fr(x.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),a5=Fr(x.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),s5=Fr(x.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function c5(e){return Ke("MuiCheckbox",e)}const Ta=Je("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),l5=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${Ze(r)}`,`size${Ze(o)}`]},s=tt(i,c5,t);return{...t,...s}},u5=me(yp,{shouldForwardProp:e=>Cs(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Ze(n.size)}`],n.color!=="default"&&t[`color${Ze(n.color)}`]]}})(et(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ya()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ya()).map(([t])=>({props:{color:t},style:{[`&.${Ta.checked}, &.${Ta.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Ta.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),d5=x.jsx(a5,{}),p5=x.jsx(i5,{}),f5=x.jsx(s5,{}),Za=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCheckbox"}),{checkedIcon:o=d5,color:i="primary",icon:s=p5,indeterminate:c=!1,indeterminateIcon:l=f5,inputProps:d,size:u="medium",disableRipple:f=!1,className:m,slots:g={},slotProps:y={},...p}=r,T=c?l:s,O=c?l:o,S={...r,disableRipple:f,color:i,indeterminate:c,size:u},v=l5(S),b=y.input??d,[C,R]=je("root",{ref:n,elementType:u5,className:pe(v.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:g,slotProps:y,...p},ownerState:S,additionalProps:{type:"checkbox",icon:E.cloneElement(T,{fontSize:T.props.fontSize??u}),checkedIcon:E.cloneElement(O,{fontSize:O.props.fontSize??u}),disableRipple:f,slots:g,slotProps:{input:Hd(typeof b=="function"?b(S):b,{"data-indeterminate":c})}}});return x.jsx(C,{...R,classes:v})});process.env.NODE_ENV!=="production"&&(Za.propTypes={checked:a.bool,checkedIcon:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["default","primary","secondary","error","info","success","warning"]),a.string]),defaultChecked:a.bool,disabled:a.bool,disableRipple:a.bool,icon:a.node,id:a.string,indeterminate:a.bool,indeterminateIcon:a.node,inputProps:a.object,onChange:a.func,required:a.bool,size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),slotProps:a.shape({input:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({input:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),value:a.any});const h5=({isChecked:e=!1,isStroke:t=!1,disabled:n=!1,size:r="medium",hasError:o=null,isControlled:i=!0,ref:s,...c})=>{const l=V(n?"purple.800":o?"red.500":"purple.800"),d=o?V("red.150"):"transparent",u=o?"transparent":V("indigo.100"),f={color:l,"& .MuiSvgIcon-root":{color:l},"&.Mui-checked":{color:l,"& .MuiSvgIcon-root":{color:l},"&:hover":{backgroundColor:u}},"&:hover":{backgroundColor:u},"&:not(.Mui-checked) .MuiIconButton-label:after":{content:'""',height:15,width:15,position:"absolute",backgroundColor:d,zIndex:-1}};return i?x.jsx(Za,{size:r,checked:e,indeterminate:t&&e,disabled:n,sx:f,...c}):x.jsx(Za,{ref:s,sx:f,...c})},m5=te.memo(h5),g5=wd({themeId:ws});function y5(e){return Ke("MuiTab",e)}const at=Je("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),v5=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:s,selected:c,disabled:l}=e,d={root:["root",i&&s&&"labelIcon",`textColor${Ze(n)}`,r&&"fullWidth",o&&"wrapped",c&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return tt(d,y5,t)},b5=me(qr,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Ze(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${at.iconWrapper}`]:t.iconWrapper},{[`& .${at.icon}`]:t.icon}]}})(et(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="top",style:{[`& > .${at.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="bottom",style:{[`& > .${at.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="start",style:{[`& > .${at.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="end",style:{[`& > .${at.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${at.selected}`]:{opacity:1},[`&.${at.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${at.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${at.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${at.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${at.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),vp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTab"}),{className:o,disabled:i=!1,disableFocusRipple:s=!1,fullWidth:c,icon:l,iconPosition:d="top",indicator:u,label:f,onChange:m,onClick:g,onFocus:y,selected:p,selectionFollowsFocus:T,textColor:O="inherit",value:S,wrapped:v=!1,...b}=r,C={...r,disabled:i,disableFocusRipple:s,selected:p,icon:!!l,iconPosition:d,label:!!f,fullWidth:c,textColor:O,wrapped:v},R=v5(C),P=l&&f&&E.isValidElement(l)?E.cloneElement(l,{className:pe(R.icon,l.props.className)}):l,z=h=>{!p&&m&&m(h,S),g&&g(h)},k=h=>{T&&!p&&m&&m(h,S),y&&y(h)};return x.jsxs(b5,{focusRipple:!s,className:pe(R.root,o),ref:n,role:"tab","aria-selected":p,disabled:i,onClick:z,onFocus:k,ownerState:C,tabIndex:p?0:-1,...b,children:[d==="top"||d==="start"?x.jsxs(E.Fragment,{children:[P,f]}):x.jsxs(E.Fragment,{children:[f,P]}),u]})});process.env.NODE_ENV!=="production"&&(vp.propTypes={children:$g,classes:a.object,className:a.string,disabled:a.bool,disableFocusRipple:a.bool,disableRipple:a.bool,icon:a.oneOfType([a.element,a.string]),iconPosition:a.oneOf(["bottom","end","start","top"]),label:a.node,onChange:a.func,onClick:a.func,onFocus:a.func,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),value:a.any,wrapped:a.bool});const x5=Fr(x.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),w5=Fr(x.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function C5(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function S5(e,t,n,r={},o=()=>{}){const{ease:i=C5,duration:s=300}=r;let c=null;const l=t[e];let d=!1;const u=()=>{d=!0},f=m=>{if(d){o(new Error("Animation cancelled"));return}c===null&&(c=m);const g=Math.min(1,(m-c)/s);if(t[e]=i(g)*(n-l)+l,g>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(f)};return l===n?(o(new Error("Element already at target position")),u):(requestAnimationFrame(f),u)}const E5={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function bp(e){const{onChange:t,...n}=e,r=E.useRef(),o=E.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return $n(()=>{const s=vs(()=>{const l=r.current;i(),l!==r.current&&t(r.current)}),c=un(o.current);return c.addEventListener("resize",s),()=>{s.clear(),c.removeEventListener("resize",s)}},[t]),E.useEffect(()=>{i(),t(r.current)},[t]),x.jsx("div",{style:E5,...n,ref:o})}process.env.NODE_ENV!=="production"&&(bp.propTypes={onChange:a.func.isRequired});function T5(e){return Ke("MuiTabScrollButton",e)}const O5=Je("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),R5=e=>{const{classes:t,orientation:n,disabled:r}=e;return tt({root:["root",n,r&&"disabled"]},T5,t)},P5=me(qr,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${O5.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),xp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTabScrollButton"}),{className:o,slots:i={},slotProps:s={},direction:c,orientation:l,disabled:d,...u}=r,f=ii(),m={isRtl:f,...r},g=R5(m),y=i.StartScrollButtonIcon??x5,p=i.EndScrollButtonIcon??w5,T=Mr({elementType:y,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),O=Mr({elementType:p,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return x.jsx(P5,{component:"div",className:pe(g.root,o),ref:n,role:null,ownerState:m,tabIndex:null,...u,style:{...u.style,...l==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${f?-90:90}deg)`}},children:c==="left"?x.jsx(y,{...T}):x.jsx(p,{...O})})});process.env.NODE_ENV!=="production"&&(xp.propTypes={children:a.node,classes:a.object,className:a.string,direction:a.oneOf(["left","right"]).isRequired,disabled:a.bool,orientation:a.oneOf(["horizontal","vertical"]).isRequired,slotProps:a.shape({endScrollButtonIcon:a.oneOfType([a.func,a.object]),startScrollButtonIcon:a.oneOfType([a.func,a.object])}),slots:a.shape({EndScrollButtonIcon:a.elementType,StartScrollButtonIcon:a.elementType}),style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function $5(e){return Ke("MuiTabs",e)}const Un=Je("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),gu=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,yu=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,lo=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const i=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||i)o=n(e,o);else{o.focus();return}}},k5=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:s,scrollButtonsHideMobile:c,classes:l}=e;return tt({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",c&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},$5,l)},_5=me("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Un.scrollButtons}`]:t.scrollButtons},{[`& .${Un.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(et(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${Un.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),M5=me("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]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),j5=me("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.list,t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),A5=me("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(et(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),I5=me(bp)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),vu={};let bu=!1;const wp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTabs"}),o=ur(),i=ii(),{"aria-label":s,"aria-labelledby":c,action:l,centered:d=!1,children:u,className:f,component:m="div",allowScrollButtonsMobile:g=!1,indicatorColor:y="primary",onChange:p,orientation:T="horizontal",ScrollButtonComponent:O,scrollButtons:S="auto",selectionFollowsFocus:v,slots:b={},slotProps:C={},TabIndicatorProps:R={},TabScrollButtonProps:P={},textColor:z="primary",value:k,variant:h="standard",visibleScrollbar:_=!1,...H}=r,I=h==="scrollable",F=T==="vertical",L=F?"scrollTop":"scrollLeft",N=F?"top":"left",q=F?"bottom":"right",ae=F?"clientHeight":"clientWidth",Q=F?"height":"width",$={...r,component:m,allowScrollButtonsMobile:g,indicatorColor:y,orientation:T,vertical:F,scrollButtons:S,textColor:z,variant:h,visibleScrollbar:_,fixed:!I,hideScrollbar:I&&!_,scrollableX:I&&!F,scrollableY:I&&F,centered:d&&!I,scrollButtonsHideMobile:!g},B=k5($),K=Mr({elementType:b.StartScrollButtonIcon,externalSlotProps:C.startScrollButtonIcon,ownerState:$}),ne=Mr({elementType:b.EndScrollButtonIcon,externalSlotProps:C.endScrollButtonIcon,ownerState:$});process.env.NODE_ENV!=="production"&&d&&I&&console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');const[X,U]=E.useState(!1),[A,Z]=E.useState(vu),[Y,ie]=E.useState(!1),[G,oe]=E.useState(!1),[j,be]=E.useState(!1),[Te,Ie]=E.useState({overflow:"hidden",scrollbarWidth:0}),He=new Map,Oe=E.useRef(null),Me=E.useRef(null),Ne={slots:b,slotProps:{indicator:R,scrollButton:P,...C}},We=()=>{const re=Oe.current;let se;if(re){const ge=re.getBoundingClientRect();se={clientWidth:re.clientWidth,scrollLeft:re.scrollLeft,scrollTop:re.scrollTop,scrollWidth:re.scrollWidth,top:ge.top,bottom:ge.bottom,left:ge.left,right:ge.right}}let he;if(re&&k!==!1){const ge=Me.current.children;if(ge.length>0){const Be=ge[He.get(k)];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 "${k}".`,He.keys?`You can provide one of the following values: ${Array.from(He.keys()).join(", ")}.`:null].join(`
|
|
809
|
+
`,X4=ve("effect_load_starship_devopness.gif"),J4=({isFullContainer:e})=>b.jsx(K4,{isFullContainer:e,children:b.jsx(Z4,{src:X4,alt:"This is an animated GIF image of the devopness starship"})}),Q4=te.memo(J4),gp=E.createContext(void 0);process.env.NODE_ENV!=="production"&&(gp.displayName="FormControlContext");function e5(){return E.useContext(gp)}function t5(e){return Ke("PrivateSwitchBase",e)}Je("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const n5=e=>{const{classes:t,checked:n,disabled:r,edge:o}=e,i={root:["root",n&&"checked",r&&"disabled",o&&`edge${Ze(o)}`],input:["input"]};return tt(i,t5,t)},r5=me(qr,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),o5=me("input",{name:"MuiSwitchBase",shouldForwardProp:Cs})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),yp=E.forwardRef(function(t,n){const{autoFocus:r,checked:o,checkedIcon:i,defaultChecked:s,disabled:c,disableFocusRipple:l=!1,edge:d=!1,icon:u,id:f,inputProps:m,inputRef:g,name:y,onBlur:p,onChange:T,onFocus:O,readOnly:S,required:v=!1,tabIndex:x,type:C,value:R,slots:P={},slotProps:z={},...k}=t,[h,_]=bs({controlled:o,default:!!s,name:"SwitchBase",state:"checked"}),H=e5(),I=U=>{O&&O(U),H&&H.onFocus&&H.onFocus(U)},F=U=>{p&&p(U),H&&H.onBlur&&H.onBlur(U)},L=U=>{if(U.nativeEvent.defaultPrevented)return;const A=U.target.checked;_(A),T&&T(U,A)};let N=c;H&&typeof N>"u"&&(N=H.disabled);const q=C==="checkbox"||C==="radio",ae={...t,checked:h,disabled:N,disableFocusRipple:l,edge:d},Q=n5(ae),$={slots:P,slotProps:{input:m,...z}},[B,K]=je("root",{ref:n,elementType:r5,className:Q.root,shouldForwardComponentProp:!0,externalForwardedProps:{...$,component:"span",...k},getSlotProps:U=>({...U,onFocus:A=>{U.onFocus?.(A),I(A)},onBlur:A=>{U.onBlur?.(A),F(A)}}),ownerState:ae,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:N,role:void 0,tabIndex:null}}),[ne,X]=je("input",{ref:g,elementType:o5,className:Q.input,externalForwardedProps:$,getSlotProps:U=>({onChange:A=>{U.onChange?.(A),L(A)}}),ownerState:ae,additionalProps:{autoFocus:r,checked:o,defaultChecked:s,disabled:N,id:q?f:void 0,name:y,readOnly:S,required:v,tabIndex:x,type:C,...C==="checkbox"&&R===void 0?{}:{value:R}}});return b.jsxs(B,{...K,children:[b.jsx(ne,{...X}),h?i:u]})});process.env.NODE_ENV!=="production"&&(yp.propTypes={autoFocus:a.bool,checked:a.bool,checkedIcon:a.node.isRequired,classes:a.object,className:a.string,defaultChecked:a.bool,disabled:a.bool,disableFocusRipple:a.bool,edge:a.oneOf(["end","start",!1]),icon:a.node.isRequired,id:a.string,inputProps:a.object,inputRef:cr,name:a.string,onBlur:a.func,onChange:a.func,onFocus:a.func,readOnly:a.bool,required:a.bool,slotProps:a.shape({input:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({input:a.elementType,root:a.elementType}),sx:a.object,tabIndex:a.oneOfType([a.number,a.string]),type:a.string.isRequired,value:a.any});const i5=Fr(b.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),a5=Fr(b.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),s5=Fr(b.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function c5(e){return Ke("MuiCheckbox",e)}const Ta=Je("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),l5=e=>{const{classes:t,indeterminate:n,color:r,size:o}=e,i={root:["root",n&&"indeterminate",`color${Ze(r)}`,`size${Ze(o)}`]},s=tt(i,c5,t);return{...t,...s}},u5=me(yp,{shouldForwardProp:e=>Cs(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.indeterminate&&t.indeterminate,t[`size${Ze(n.size)}`],n.color!=="default"&&t[`color${Ze(n.color)}`]]}})(et(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(Ya()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:kn(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(Ya()).map(([t])=>({props:{color:t},style:{[`&.${Ta.checked}, &.${Ta.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Ta.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),d5=b.jsx(a5,{}),p5=b.jsx(i5,{}),f5=b.jsx(s5,{}),Za=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiCheckbox"}),{checkedIcon:o=d5,color:i="primary",icon:s=p5,indeterminate:c=!1,indeterminateIcon:l=f5,inputProps:d,size:u="medium",disableRipple:f=!1,className:m,slots:g={},slotProps:y={},...p}=r,T=c?l:s,O=c?l:o,S={...r,disableRipple:f,color:i,indeterminate:c,size:u},v=l5(S),x=y.input??d,[C,R]=je("root",{ref:n,elementType:u5,className:pe(v.root,m),shouldForwardComponentProp:!0,externalForwardedProps:{slots:g,slotProps:y,...p},ownerState:S,additionalProps:{type:"checkbox",icon:E.cloneElement(T,{fontSize:T.props.fontSize??u}),checkedIcon:E.cloneElement(O,{fontSize:O.props.fontSize??u}),disableRipple:f,slots:g,slotProps:{input:Hd(typeof x=="function"?x(S):x,{"data-indeterminate":c})}}});return b.jsx(C,{...R,classes:v})});process.env.NODE_ENV!=="production"&&(Za.propTypes={checked:a.bool,checkedIcon:a.node,classes:a.object,className:a.string,color:a.oneOfType([a.oneOf(["default","primary","secondary","error","info","success","warning"]),a.string]),defaultChecked:a.bool,disabled:a.bool,disableRipple:a.bool,icon:a.node,id:a.string,indeterminate:a.bool,indeterminateIcon:a.node,inputProps:a.object,onChange:a.func,required:a.bool,size:a.oneOfType([a.oneOf(["medium","small"]),a.string]),slotProps:a.shape({input:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object])}),slots:a.shape({input:a.elementType,root:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),value:a.any});const h5=({isChecked:e=!1,isStroke:t=!1,disabled:n=!1,size:r="medium",hasError:o=null,isControlled:i=!0,ref:s,...c})=>{const l=V(n?"purple.800":o?"red.500":"purple.800"),d=o?V("red.150"):"transparent",u=o?"transparent":V("indigo.100"),f={color:l,"& .MuiSvgIcon-root":{color:l},"&.Mui-checked":{color:l,"& .MuiSvgIcon-root":{color:l},"&:hover":{backgroundColor:u}},"&:hover":{backgroundColor:u},"&:not(.Mui-checked) .MuiIconButton-label:after":{content:'""',height:15,width:15,position:"absolute",backgroundColor:d,zIndex:-1}};return i?b.jsx(Za,{size:r,checked:e,indeterminate:t&&e,disabled:n,sx:f,...c}):b.jsx(Za,{ref:s,sx:f,...c})},m5=te.memo(h5),g5=wd({themeId:ws});function y5(e){return Ke("MuiTab",e)}const at=Je("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper","icon"]),v5=e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:s,selected:c,disabled:l}=e,d={root:["root",i&&s&&"labelIcon",`textColor${Ze(n)}`,r&&"fullWidth",o&&"wrapped",c&&"selected",l&&"disabled"],icon:["iconWrapper","icon"]};return tt(d,y5,t)},b5=me(qr,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Ze(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${at.iconWrapper}`]:t.iconWrapper},{[`& .${at.icon}`]:t.icon}]}})(et(({theme:e})=>({...e.typography.button,maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center",lineHeight:1.25,variants:[{props:({ownerState:t})=>t.label&&(t.iconPosition==="top"||t.iconPosition==="bottom"),style:{flexDirection:"column"}},{props:({ownerState:t})=>t.label&&t.iconPosition!=="top"&&t.iconPosition!=="bottom",style:{flexDirection:"row"}},{props:({ownerState:t})=>t.icon&&t.label,style:{minHeight:72,paddingTop:9,paddingBottom:9}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="top",style:{[`& > .${at.icon}`]:{marginBottom:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="bottom",style:{[`& > .${at.icon}`]:{marginTop:6}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="start",style:{[`& > .${at.icon}`]:{marginRight:e.spacing(1)}}},{props:({ownerState:t,iconPosition:n})=>t.icon&&t.label&&n==="end",style:{[`& > .${at.icon}`]:{marginLeft:e.spacing(1)}}},{props:{textColor:"inherit"},style:{color:"inherit",opacity:.6,[`&.${at.selected}`]:{opacity:1},[`&.${at.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}}},{props:{textColor:"primary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${at.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${at.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:{textColor:"secondary"},style:{color:(e.vars||e).palette.text.secondary,[`&.${at.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${at.disabled}`]:{color:(e.vars||e).palette.text.disabled}}},{props:({ownerState:t})=>t.fullWidth,style:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"}},{props:({ownerState:t})=>t.wrapped,style:{fontSize:e.typography.pxToRem(12)}}]}))),vp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTab"}),{className:o,disabled:i=!1,disableFocusRipple:s=!1,fullWidth:c,icon:l,iconPosition:d="top",indicator:u,label:f,onChange:m,onClick:g,onFocus:y,selected:p,selectionFollowsFocus:T,textColor:O="inherit",value:S,wrapped:v=!1,...x}=r,C={...r,disabled:i,disableFocusRipple:s,selected:p,icon:!!l,iconPosition:d,label:!!f,fullWidth:c,textColor:O,wrapped:v},R=v5(C),P=l&&f&&E.isValidElement(l)?E.cloneElement(l,{className:pe(R.icon,l.props.className)}):l,z=h=>{!p&&m&&m(h,S),g&&g(h)},k=h=>{T&&!p&&m&&m(h,S),y&&y(h)};return b.jsxs(b5,{focusRipple:!s,className:pe(R.root,o),ref:n,role:"tab","aria-selected":p,disabled:i,onClick:z,onFocus:k,ownerState:C,tabIndex:p?0:-1,...x,children:[d==="top"||d==="start"?b.jsxs(E.Fragment,{children:[P,f]}):b.jsxs(E.Fragment,{children:[f,P]}),u]})});process.env.NODE_ENV!=="production"&&(vp.propTypes={children:$g,classes:a.object,className:a.string,disabled:a.bool,disableFocusRipple:a.bool,disableRipple:a.bool,icon:a.oneOfType([a.element,a.string]),iconPosition:a.oneOf(["bottom","end","start","top"]),label:a.node,onChange:a.func,onClick:a.func,onFocus:a.func,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),value:a.any,wrapped:a.bool});const x5=Fr(b.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),w5=Fr(b.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function C5(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}function S5(e,t,n,r={},o=()=>{}){const{ease:i=C5,duration:s=300}=r;let c=null;const l=t[e];let d=!1;const u=()=>{d=!0},f=m=>{if(d){o(new Error("Animation cancelled"));return}c===null&&(c=m);const g=Math.min(1,(m-c)/s);if(t[e]=i(g)*(n-l)+l,g>=1){requestAnimationFrame(()=>{o(null)});return}requestAnimationFrame(f)};return l===n?(o(new Error("Element already at target position")),u):(requestAnimationFrame(f),u)}const E5={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function bp(e){const{onChange:t,...n}=e,r=E.useRef(),o=E.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return $n(()=>{const s=vs(()=>{const l=r.current;i(),l!==r.current&&t(r.current)}),c=un(o.current);return c.addEventListener("resize",s),()=>{s.clear(),c.removeEventListener("resize",s)}},[t]),E.useEffect(()=>{i(),t(r.current)},[t]),b.jsx("div",{style:E5,...n,ref:o})}process.env.NODE_ENV!=="production"&&(bp.propTypes={onChange:a.func.isRequired});function T5(e){return Ke("MuiTabScrollButton",e)}const O5=Je("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),R5=e=>{const{classes:t,orientation:n,disabled:r}=e;return tt({root:["root",n,r&&"disabled"]},T5,t)},P5=me(qr,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})({width:40,flexShrink:0,opacity:.8,[`&.${O5.disabled}`]:{opacity:0},variants:[{props:{orientation:"vertical"},style:{width:"100%",height:40,"& svg":{transform:"var(--TabScrollButton-svgRotate)"}}}]}),xp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTabScrollButton"}),{className:o,slots:i={},slotProps:s={},direction:c,orientation:l,disabled:d,...u}=r,f=ii(),m={isRtl:f,...r},g=R5(m),y=i.StartScrollButtonIcon??x5,p=i.EndScrollButtonIcon??w5,T=Mr({elementType:y,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m}),O=Mr({elementType:p,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:m});return b.jsx(P5,{component:"div",className:pe(g.root,o),ref:n,role:null,ownerState:m,tabIndex:null,...u,style:{...u.style,...l==="vertical"&&{"--TabScrollButton-svgRotate":`rotate(${f?-90:90}deg)`}},children:c==="left"?b.jsx(y,{...T}):b.jsx(p,{...O})})});process.env.NODE_ENV!=="production"&&(xp.propTypes={children:a.node,classes:a.object,className:a.string,direction:a.oneOf(["left","right"]).isRequired,disabled:a.bool,orientation:a.oneOf(["horizontal","vertical"]).isRequired,slotProps:a.shape({endScrollButtonIcon:a.oneOfType([a.func,a.object]),startScrollButtonIcon:a.oneOfType([a.func,a.object])}),slots:a.shape({EndScrollButtonIcon:a.elementType,StartScrollButtonIcon:a.elementType}),style:a.object,sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object])});function $5(e){return Ke("MuiTabs",e)}const Un=Je("MuiTabs",["root","vertical","list","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),gu=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,yu=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,lo=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const i=o.disabled||o.getAttribute("aria-disabled")==="true";if(!o.hasAttribute("tabindex")||i)o=n(e,o);else{o.focus();return}}},k5=e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:s,scrollButtonsHideMobile:c,classes:l}=e;return tt({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],list:["list","flexContainer",t&&"flexContainerVertical",t&&"vertical",s&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",c&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},$5,l)},_5=me("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Un.scrollButtons}`]:t.scrollButtons},{[`& .${Un.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(et(({theme:e})=>({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex",variants:[{props:({ownerState:t})=>t.vertical,style:{flexDirection:"column"}},{props:({ownerState:t})=>t.scrollButtonsHideMobile,style:{[`& .${Un.scrollButtons}`]:{[e.breakpoints.down("sm")]:{display:"none"}}}}]}))),M5=me("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]}})({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap",variants:[{props:({ownerState:e})=>e.fixed,style:{overflowX:"hidden",width:"100%"}},{props:({ownerState:e})=>e.hideScrollbar,style:{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}},{props:({ownerState:e})=>e.scrollableX,style:{overflowX:"auto",overflowY:"hidden"}},{props:({ownerState:e})=>e.scrollableY,style:{overflowY:"auto",overflowX:"hidden"}}]}),j5=me("div",{name:"MuiTabs",slot:"List",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.list,t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})({display:"flex",variants:[{props:({ownerState:e})=>e.vertical,style:{flexDirection:"column"}},{props:({ownerState:e})=>e.centered,style:{justifyContent:"center"}}]}),A5=me("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(et(({theme:e})=>({position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create(),variants:[{props:{indicatorColor:"primary"},style:{backgroundColor:(e.vars||e).palette.primary.main}},{props:{indicatorColor:"secondary"},style:{backgroundColor:(e.vars||e).palette.secondary.main}},{props:({ownerState:t})=>t.vertical,style:{height:"100%",width:2,right:0}}]}))),I5=me(bp)({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),vu={};let bu=!1;const wp=E.forwardRef(function(t,n){const r=nt({props:t,name:"MuiTabs"}),o=ur(),i=ii(),{"aria-label":s,"aria-labelledby":c,action:l,centered:d=!1,children:u,className:f,component:m="div",allowScrollButtonsMobile:g=!1,indicatorColor:y="primary",onChange:p,orientation:T="horizontal",ScrollButtonComponent:O,scrollButtons:S="auto",selectionFollowsFocus:v,slots:x={},slotProps:C={},TabIndicatorProps:R={},TabScrollButtonProps:P={},textColor:z="primary",value:k,variant:h="standard",visibleScrollbar:_=!1,...H}=r,I=h==="scrollable",F=T==="vertical",L=F?"scrollTop":"scrollLeft",N=F?"top":"left",q=F?"bottom":"right",ae=F?"clientHeight":"clientWidth",Q=F?"height":"width",$={...r,component:m,allowScrollButtonsMobile:g,indicatorColor:y,orientation:T,vertical:F,scrollButtons:S,textColor:z,variant:h,visibleScrollbar:_,fixed:!I,hideScrollbar:I&&!_,scrollableX:I&&!F,scrollableY:I&&F,centered:d&&!I,scrollButtonsHideMobile:!g},B=k5($),K=Mr({elementType:x.StartScrollButtonIcon,externalSlotProps:C.startScrollButtonIcon,ownerState:$}),ne=Mr({elementType:x.EndScrollButtonIcon,externalSlotProps:C.endScrollButtonIcon,ownerState:$});process.env.NODE_ENV!=="production"&&d&&I&&console.error('MUI: You can not use the `centered={true}` and `variant="scrollable"` properties at the same time on a `Tabs` component.');const[X,U]=E.useState(!1),[A,Z]=E.useState(vu),[Y,ie]=E.useState(!1),[G,oe]=E.useState(!1),[j,be]=E.useState(!1),[Te,Ie]=E.useState({overflow:"hidden",scrollbarWidth:0}),He=new Map,Oe=E.useRef(null),Me=E.useRef(null),Ne={slots:x,slotProps:{indicator:R,scrollButton:P,...C}},We=()=>{const re=Oe.current;let se;if(re){const ge=re.getBoundingClientRect();se={clientWidth:re.clientWidth,scrollLeft:re.scrollLeft,scrollTop:re.scrollTop,scrollWidth:re.scrollWidth,top:ge.top,bottom:ge.bottom,left:ge.left,right:ge.right}}let he;if(re&&k!==!1){const ge=Me.current.children;if(ge.length>0){const Be=ge[He.get(k)];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 "${k}".`,He.keys?`You can provide one of the following values: ${Array.from(He.keys()).join(", ")}.`:null].join(`
|
|
810
810
|
`))),he=Be?Be.getBoundingClientRect():null,process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="test"&&!bu&&he&&he.width===0&&he.height===0&&se.clientWidth!==0&&(se=null,console.error(["MUI: The `value` provided to the Tabs component is invalid.",`The Tab with this \`value\` ("${k}") 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(`
|
|
811
|
-
`)),bu=!0)}}return{tabsMeta:se,tabMeta:he}},Ee=$t(()=>{const{tabsMeta:re,tabMeta:se}=We();let he=0,ge;F?(ge="top",se&&re&&(he=se.top-re.top+re.scrollTop)):(ge=i?"right":"left",se&&re&&(he=(i?-1:1)*(se[ge]-re[ge]+re.scrollLeft)));const Be={[ge]:he,[Q]:se?se[Q]:0};if(typeof A[ge]!="number"||typeof A[Q]!="number")Z(Be);else{const mt=Math.abs(A[ge]-Be[ge]),Yt=Math.abs(A[Q]-Be[Q]);(mt>=1||Yt>=1)&&Z(Be)}}),ce=(re,{animation:se=!0}={})=>{se?S5(L,Oe.current,re,{duration:o.transitions.duration.standard}):Oe.current[L]=re},_t=re=>{let se=Oe.current[L];F?se+=re:se+=re*(i?-1:1),ce(se)},Mt=()=>{const re=Oe.current[ae];let se=0;const he=Array.from(Me.current.children);for(let ge=0;ge<he.length;ge+=1){const Be=he[ge];if(se+Be[ae]>re){ge===0&&(se=re);break}se+=Be[ae]}return se},Ht=()=>{_t(-1*Mt())},Wt=()=>{_t(Mt())},[Tt,{onChange:qt,...jt}]=je("scrollbar",{className:pe(B.scrollableX,B.hideScrollbar),elementType:I5,shouldForwardComponentProp:!0,externalForwardedProps:Ne,ownerState:$}),nn=E.useCallback(re=>{qt?.(re),Ie({overflow:null,scrollbarWidth:re})},[qt]),[rt,At]=je("scrollButtons",{className:pe(B.scrollButtons,P.className),elementType:xp,externalForwardedProps:Ne,ownerState:$,additionalProps:{orientation:T,slots:{StartScrollButtonIcon:
|
|
812
|
-
`));const se=re.props.value===void 0?Ut:re.props.value;He.set(se,Ut);const he=se===k;return Ut+=1,E.cloneElement(re,{fullWidth:h==="fullWidth",indicator:he&&!X&&Rt,selected:he,selectionFollowsFocus:v,onChange:p,textColor:z,value:se,...Ut===1&&k===!1&&!re.props.tabIndex?{tabIndex:0}:{}})}),hn=re=>{if(re.altKey||re.shiftKey||re.ctrlKey||re.metaKey)return;const se=Me.current,he=wt(se).activeElement;if(he.getAttribute("role")!=="tab")return;let Be=T==="horizontal"?"ArrowLeft":"ArrowUp",mt=T==="horizontal"?"ArrowRight":"ArrowDown";switch(T==="horizontal"&&i&&(Be="ArrowRight",mt="ArrowLeft"),re.key){case Be:re.preventDefault(),lo(se,he,yu);break;case mt:re.preventDefault(),lo(se,he,gu);break;case"Home":re.preventDefault(),lo(se,null,gu);break;case"End":re.preventDefault(),lo(se,null,yu);break}},Gt=Ot(),[jn,pr]=je("root",{ref:n,className:pe(B.root,f),elementType:_5,externalForwardedProps:{...Ne,...H,component:m},ownerState:$}),[An,fr]=je("scroller",{ref:Oe,className:B.scroller,elementType:M5,externalForwardedProps:Ne,ownerState:$,additionalProps:{style:{overflow:Te.overflow,[F?`margin${i?"Left":"Right"}`:"marginBottom"]:_?void 0:-Te.scrollbarWidth}}}),[le,ut]=je("list",{ref:Me,className:pe(B.list,B.flexContainer),elementType:j5,externalForwardedProps:Ne,ownerState:$,getSlotProps:re=>({...re,onKeyDown:se=>{hn(se),re.onKeyDown?.(se)}})});return
|
|
811
|
+
`)),bu=!0)}}return{tabsMeta:se,tabMeta:he}},Ee=$t(()=>{const{tabsMeta:re,tabMeta:se}=We();let he=0,ge;F?(ge="top",se&&re&&(he=se.top-re.top+re.scrollTop)):(ge=i?"right":"left",se&&re&&(he=(i?-1:1)*(se[ge]-re[ge]+re.scrollLeft)));const Be={[ge]:he,[Q]:se?se[Q]:0};if(typeof A[ge]!="number"||typeof A[Q]!="number")Z(Be);else{const mt=Math.abs(A[ge]-Be[ge]),Yt=Math.abs(A[Q]-Be[Q]);(mt>=1||Yt>=1)&&Z(Be)}}),ce=(re,{animation:se=!0}={})=>{se?S5(L,Oe.current,re,{duration:o.transitions.duration.standard}):Oe.current[L]=re},_t=re=>{let se=Oe.current[L];F?se+=re:se+=re*(i?-1:1),ce(se)},Mt=()=>{const re=Oe.current[ae];let se=0;const he=Array.from(Me.current.children);for(let ge=0;ge<he.length;ge+=1){const Be=he[ge];if(se+Be[ae]>re){ge===0&&(se=re);break}se+=Be[ae]}return se},Ht=()=>{_t(-1*Mt())},Wt=()=>{_t(Mt())},[Tt,{onChange:qt,...jt}]=je("scrollbar",{className:pe(B.scrollableX,B.hideScrollbar),elementType:I5,shouldForwardComponentProp:!0,externalForwardedProps:Ne,ownerState:$}),nn=E.useCallback(re=>{qt?.(re),Ie({overflow:null,scrollbarWidth:re})},[qt]),[rt,At]=je("scrollButtons",{className:pe(B.scrollButtons,P.className),elementType:xp,externalForwardedProps:Ne,ownerState:$,additionalProps:{orientation:T,slots:{StartScrollButtonIcon:x.startScrollButtonIcon||x.StartScrollButtonIcon,EndScrollButtonIcon:x.endScrollButtonIcon||x.EndScrollButtonIcon},slotProps:{startScrollButtonIcon:K,endScrollButtonIcon:ne}}}),Ot=()=>{const re={};re.scrollbarSizeListener=I?b.jsx(Tt,{...jt,onChange:nn}):null;const he=I&&(S==="auto"&&(Y||G)||S===!0);return re.scrollButtonStart=he?b.jsx(rt,{direction:i?"right":"left",onClick:Ht,disabled:!Y,...At}):null,re.scrollButtonEnd=he?b.jsx(rt,{direction:i?"left":"right",onClick:Wt,disabled:!G,...At}):null,re},It=$t(re=>{const{tabsMeta:se,tabMeta:he}=We();if(!(!he||!se)){if(he[N]<se[N]){const ge=se[L]+(he[N]-se[N]);ce(ge,{animation:re})}else if(he[q]>se[q]){const ge=se[L]+(he[q]-se[q]);ce(ge,{animation:re})}}}),rn=$t(()=>{I&&S!==!1&&be(!j)});E.useEffect(()=>{const re=vs(()=>{Oe.current&&Ee()});let se;const he=mt=>{mt.forEach(Yt=>{Yt.removedNodes.forEach(mn=>{se?.unobserve(mn)}),Yt.addedNodes.forEach(mn=>{se?.observe(mn)})}),re(),rn()},ge=un(Oe.current);ge.addEventListener("resize",re);let Be;return typeof ResizeObserver<"u"&&(se=new ResizeObserver(re),Array.from(Me.current.children).forEach(mt=>{se.observe(mt)})),typeof MutationObserver<"u"&&(Be=new MutationObserver(he),Be.observe(Me.current,{childList:!0})),()=>{re.clear(),ge.removeEventListener("resize",re),Be?.disconnect(),se?.disconnect()}},[Ee,rn]),E.useEffect(()=>{const re=Array.from(Me.current.children),se=re.length;if(typeof IntersectionObserver<"u"&&se>0&&I&&S!==!1){const he=re[0],ge=re[se-1],Be={root:Oe.current,threshold:.99},mt=D=>{ie(!D[0].isIntersecting)},Yt=new IntersectionObserver(mt,Be);Yt.observe(he);const mn=D=>{oe(!D[0].isIntersecting)},w=new IntersectionObserver(mn,Be);return w.observe(ge),()=>{Yt.disconnect(),w.disconnect()}}},[I,S,j,u?.length]),E.useEffect(()=>{U(!0)},[]),E.useEffect(()=>{Ee()}),E.useEffect(()=>{It(vu!==A)},[It,A]),E.useImperativeHandle(l,()=>({updateIndicator:Ee,updateScrollButtons:rn}),[Ee,rn]);const[fn,dr]=je("indicator",{className:pe(B.indicator,R.className),elementType:A5,externalForwardedProps:Ne,ownerState:$,additionalProps:{style:A}}),Rt=b.jsx(fn,{...dr});let Ut=0;const Nt=E.Children.map(u,re=>{if(!E.isValidElement(re))return null;process.env.NODE_ENV!=="production"&&Jn.isFragment(re)&&console.error(["MUI: The Tabs component doesn't accept a Fragment as a child.","Consider providing an array instead."].join(`
|
|
812
|
+
`));const se=re.props.value===void 0?Ut:re.props.value;He.set(se,Ut);const he=se===k;return Ut+=1,E.cloneElement(re,{fullWidth:h==="fullWidth",indicator:he&&!X&&Rt,selected:he,selectionFollowsFocus:v,onChange:p,textColor:z,value:se,...Ut===1&&k===!1&&!re.props.tabIndex?{tabIndex:0}:{}})}),hn=re=>{if(re.altKey||re.shiftKey||re.ctrlKey||re.metaKey)return;const se=Me.current,he=wt(se).activeElement;if(he.getAttribute("role")!=="tab")return;let Be=T==="horizontal"?"ArrowLeft":"ArrowUp",mt=T==="horizontal"?"ArrowRight":"ArrowDown";switch(T==="horizontal"&&i&&(Be="ArrowRight",mt="ArrowLeft"),re.key){case Be:re.preventDefault(),lo(se,he,yu);break;case mt:re.preventDefault(),lo(se,he,gu);break;case"Home":re.preventDefault(),lo(se,null,gu);break;case"End":re.preventDefault(),lo(se,null,yu);break}},Gt=Ot(),[jn,pr]=je("root",{ref:n,className:pe(B.root,f),elementType:_5,externalForwardedProps:{...Ne,...H,component:m},ownerState:$}),[An,fr]=je("scroller",{ref:Oe,className:B.scroller,elementType:M5,externalForwardedProps:Ne,ownerState:$,additionalProps:{style:{overflow:Te.overflow,[F?`margin${i?"Left":"Right"}`:"marginBottom"]:_?void 0:-Te.scrollbarWidth}}}),[le,ut]=je("list",{ref:Me,className:pe(B.list,B.flexContainer),elementType:j5,externalForwardedProps:Ne,ownerState:$,getSlotProps:re=>({...re,onKeyDown:se=>{hn(se),re.onKeyDown?.(se)}})});return b.jsxs(jn,{...pr,children:[Gt.scrollButtonStart,Gt.scrollbarSizeListener,b.jsxs(An,{...fr,children:[b.jsx(le,{"aria-label":s,"aria-labelledby":c,"aria-orientation":T==="vertical"?"vertical":null,role:"tablist",...ut,children:Nt}),X&&Rt]}),Gt.scrollButtonEnd]})});process.env.NODE_ENV!=="production"&&(wp.propTypes={action:cr,allowScrollButtonsMobile:a.bool,"aria-label":a.string,"aria-labelledby":a.string,centered:a.bool,children:a.node,classes:a.object,className:a.string,component:a.elementType,indicatorColor:a.oneOfType([a.oneOf(["primary","secondary"]),a.string]),onChange:a.func,orientation:a.oneOf(["horizontal","vertical"]),ScrollButtonComponent:a.elementType,scrollButtons:a.oneOf(["auto",!1,!0]),selectionFollowsFocus:a.bool,slotProps:a.shape({endScrollButtonIcon:a.oneOfType([a.func,a.object]),indicator:a.oneOfType([a.func,a.object]),list:a.oneOfType([a.func,a.object]),root:a.oneOfType([a.func,a.object]),scrollbar:a.oneOfType([a.func,a.object]),scrollButtons:a.oneOfType([a.func,a.object]),scroller:a.oneOfType([a.func,a.object]),startScrollButtonIcon:a.oneOfType([a.func,a.object])}),slots:a.shape({endScrollButtonIcon:a.elementType,EndScrollButtonIcon:a.elementType,indicator:a.elementType,list:a.elementType,root:a.elementType,scrollbar:a.elementType,scrollButtons:a.elementType,scroller:a.elementType,startScrollButtonIcon:a.elementType,StartScrollButtonIcon:a.elementType}),sx:a.oneOfType([a.arrayOf(a.oneOfType([a.func,a.object,a.bool])),a.func,a.object]),TabIndicatorProps:a.object,TabScrollButtonProps:a.object,textColor:a.oneOf(["inherit","primary","secondary"]),value:a.any,variant:a.oneOf(["fullWidth","scrollable","standard"]),visibleScrollbar:a.bool});const N5=W.div`
|
|
813
813
|
display: grid;
|
|
814
814
|
grid-template-columns: auto;
|
|
815
815
|
grid-template-rows: 82px 1fr;
|
|
@@ -832,7 +832,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
832
832
|
max-width: 100%;
|
|
833
833
|
max-height: 100%;
|
|
834
834
|
}
|
|
835
|
-
`,L5={white:ve("logo_devopness_beta.png"),colored:ve("logo_devopness_alfa.png")},z5=({className:e,logo:t="colored",backgroundColor:n="indigo.10",minWidth:r="600px",children:o})=>g5(`(min-width:${r})`)?
|
|
835
|
+
`,L5={white:ve("logo_devopness_beta.png"),colored:ve("logo_devopness_alfa.png")},z5=({className:e,logo:t="colored",backgroundColor:n="indigo.10",minWidth:r="600px",children:o})=>g5(`(min-width:${r})`)?b.jsxs(N5,{className:e,backgroundColor:n,children:[b.jsx("img",{src:L5[t],alt:"devopness"}),o]}):null,B5=({trigger:e,children:t})=>b.jsx(Rs,{variant:"popover",popupId:"popover-popup-state",children:n=>b.jsxs("div",{children:[b.jsx(Jt,{...Wd(n),noMargin:!0,buttonType:"borderless",children:e}),b.jsx(Os,{...qd(n),anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},children:t})]})}),D5=W.div`
|
|
836
836
|
cursor: pointer;
|
|
837
837
|
display: flex;
|
|
838
838
|
justify-content: center;
|
|
@@ -846,7 +846,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
846
846
|
font-family: ${Xe("roboto")};
|
|
847
847
|
color: ${V("blue.950")};
|
|
848
848
|
font-size: 13px;
|
|
849
|
-
`,V5=({timerStartDate:e,timerFinalDate:t,shouldResetTimer:n=!1,shouldStopTimer:r=!1,shouldStartTimer:o=!0,formatDurationTime:i,formatDateTime:s})=>{const[c,l]=te.useState("—"),d=te.useRef(null),u=te.useCallback(()=>{d.current&&(clearInterval(d.current),d.current=null)},[]),f=te.useCallback(()=>{l(i(e,t))},[i,e,t]),m=te.useCallback(()=>
|
|
849
|
+
`,V5=({timerStartDate:e,timerFinalDate:t,shouldResetTimer:n=!1,shouldStopTimer:r=!1,shouldStartTimer:o=!0,formatDurationTime:i,formatDateTime:s})=>{const[c,l]=te.useState("—"),d=te.useRef(null),u=te.useCallback(()=>{d.current&&(clearInterval(d.current),d.current=null)},[]),f=te.useCallback(()=>{l(i(e,t))},[i,e,t]),m=te.useCallback(()=>b.jsxs("div",{children:[b.jsxs("div",{children:["Started at: ",s(e)]}),b.jsxs("div",{children:["Finished at: ",s(t)]})]}),[e,t,s]);return te.useEffect(()=>{f()},[t,n,r,f]),te.useEffect(()=>(o||l("00:00"),n||e==null?(l("00:00"),u()):r?(u(),f()):d.current=setInterval(f,1e3),()=>{u()}),[o,n,r,e,f,u]),b.jsx(D5,{children:b.jsx(Vt,{title:m(),children:c})})},F5=te.memo(V5),H5=W.div`
|
|
850
850
|
display: flex;
|
|
851
851
|
min-height: ${({$disableMinHeight:e})=>e?"auto":"105px"};
|
|
852
852
|
width: relative;
|
|
@@ -958,7 +958,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
958
958
|
font-weight: 700;
|
|
959
959
|
font-family: ${Xe("roboto")};
|
|
960
960
|
color: ${V("blue.950")};
|
|
961
|
-
`,Z5=({indicator:e})=>{if(e!==void 0)return typeof e=="number"&&e>99?
|
|
961
|
+
`,Z5=({indicator:e})=>{if(e!==void 0)return typeof e=="number"&&e>99?b.jsx(xu,{children:"+99"}):b.jsx(xu,{children:e})},Cu="white",Su="gray.615",Eu=23,X5=({children:e,...t})=>b.jsxs(H5,{$disableMinHeight:!t.footer&&!e,id:t.id,children:[b.jsx(ko,{hideExternalUrlIcon:!0,hideUnderline:!0,hideUnderlineOnHover:!0,style:{display:"block",marginRight:"auto",width:"100%"},...typeof t.url=="object"?t.url:void 0,to:typeof t.url=="object"?t.url.to:t.url,children:b.jsxs(G5,{"data-testid":"card-header",$backgroundColor:t.headerProps?.backgroundColor,$borderBottomColor:t.headerProps?.borderBottomColor,$hideBorder:!t.footer&&!e,children:[b.jsxs(W5,{$backgroundColor:t.avatarProps.backgroundColor,children:[typeof t.icon=="object"&&b.jsx(Qt,{...t.icon,color:t.icon.color??Cu,size:t.icon.size??Eu}),typeof t.icon=="string"&&b.jsx(Qt,{name:t.icon,color:Cu,size:Eu}),!t.icon&&b.jsx(K5,{children:t.title.charAt(0).toUpperCase()})]}),b.jsxs("div",{children:[b.jsx(Vt,{title:t.title,enableOnlyWithEllipsisPoints:!0,children:b.jsx(q5,{...t.titleProps,children:t.title})}),t.subtitle&&b.jsx(U5,{children:t.subtitle})]}),b.jsx(Z5,{indicator:t.indicator})]})}),e,t.footer&&b.jsx(Y5,{"data-testid":"card-footer",$showBorder:!!e,className:t.footer.length===1?"only-child":void 0,children:t.footer.map((n,r)=>b.jsx(Vt,{...typeof n.tooltip=="object"?n.tooltip:void 0,title:typeof n.tooltip=="object"?n.tooltip.title:n.tooltip,children:b.jsxs(ko,{hideExternalUrlIcon:!0,hideUnderline:!0,style:{alignItems:"center",display:"flex",gap:"0.5rem",marginRight:"auto"},...typeof n.url=="object"?n.url:void 0,to:typeof n.url=="object"?n.url.to:n.url,children:[typeof n.icon=="object"&&b.jsx(Qt,{...n.icon,color:n.icon.color??Su}),typeof n.icon=="string"&&b.jsx(Qt,{name:n.icon,color:Su}),b.jsxs(Jt,{buttonType:"borderless",noMargin:!0,noPadding:!0,children:[typeof n.label=="object"&&b.jsx(wu,{...n.label,children:n.label.content}),typeof n.label=="string"&&b.jsx(wu,{children:n.label})]})]})},`footer-${String(r)}`))})]}),J5=W(wp)`
|
|
962
962
|
&.${Un.root} {
|
|
963
963
|
height: 40px;
|
|
964
964
|
min-height: 40px;
|
|
@@ -993,7 +993,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
993
993
|
color: ${V("purple.800")};
|
|
994
994
|
font-weight: 600;
|
|
995
995
|
}
|
|
996
|
-
`,e3=({data:e,currentTabIndex:t,onTabClick:n=r=>null})=>e.length===0?null:e.length===1?e.at(0)?.component:
|
|
996
|
+
`,e3=({data:e,currentTabIndex:t,onTabClick:n=r=>null})=>e.length===0?null:e.length===1?e.at(0)?.component:b.jsxs(b.Fragment,{children:[b.jsx(J5,{value:t,variant:"scrollable",scrollButtons:!1,children:e.map(({label:r},o)=>b.jsx(Q5,{label:r,onClick:()=>{n({index:o,label:r})}},r))}),e.at(t)?.component]}),t3=e=>{switch(e){case"error":return V("red.500");case"warning":return V("amber.400");case"success":return V("green.600")}},Tu=e=>{switch(e){case"error":return V("red.300");case"warning":return V("amber.200");case"success":return V("green.300")}},n3=e=>{switch(e){case"error":return V("red.200");case"warning":return V("amber.100");case"success":return V("green.150")}},r3=W.div`
|
|
997
997
|
display: flex;
|
|
998
998
|
align-items: center;
|
|
999
999
|
width: 100%;
|
|
@@ -1027,7 +1027,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
1027
1027
|
justify-content: space-between;
|
|
1028
1028
|
align-items: flex-start;
|
|
1029
1029
|
gap: 1rem;
|
|
1030
|
-
`,c3={error:"error",success:"success",warning:"warning"},l3={error:"blue.950",success:"red.500",warning:"red.500"},u3=13,d3=e=>
|
|
1030
|
+
`,c3={error:"error",success:"success",warning:"warning"},l3={error:"blue.950",success:"red.500",warning:"red.500"},u3=13,d3=e=>b.jsx(r3,{noPadding:e.noPadding,children:b.jsxs(o3,{type:e.type,children:[b.jsx(i3,{type:e.type,children:sr(c3[e.type],u3)}),b.jsx(a3,{fullWidth:e.canClose,className:"translate",children:b.jsxs(s3,{children:[e.alertDescription,e.canClose?b.jsx(Jt,{icon:"close",buttonType:"borderless",iconColor:V(l3[e.type]),noPadding:!0,noIconMargin:!0,onClick:e.onClose}):b.jsx(b.Fragment,{})]})})]})}),p3=Ae`
|
|
1031
1031
|
outline: none;
|
|
1032
1032
|
|
|
1033
1033
|
& textarea:focus,
|
|
@@ -1154,7 +1154,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
1154
1154
|
${!!e&&Oa.disabled()};
|
|
1155
1155
|
${!!t&&Oa.readOnly()};
|
|
1156
1156
|
`}
|
|
1157
|
-
`,Cp=te.forwardRef((e,t)=>{const n=te.useRef(null),[r,o]=te.useState(!1),i=t??n,{autoFocusOnError:s,error:c,inputProps:l,labelProps:d,icon:u,iconPosition:f="left",disabled:m,readOnly:g,type:y,...p}=e,T=l?.id??`input-${Math.random().toString(36).slice(2,11)}`;te.useEffect(()=>{s&&c&&i.current&&i.current.focus()},[s,c,i]);const O=`${T}-error`,S=!!c;return
|
|
1157
|
+
`,Cp=te.forwardRef((e,t)=>{const n=te.useRef(null),[r,o]=te.useState(!1),i=t??n,{autoFocusOnError:s,error:c,inputProps:l,labelProps:d,icon:u,iconPosition:f="left",disabled:m,readOnly:g,type:y,...p}=e,T=l?.id??`input-${Math.random().toString(36).slice(2,11)}`;te.useEffect(()=>{s&&c&&i.current&&i.current.focus()},[s,c,i]);const O=`${T}-error`,S=!!c;return b.jsxs(m3,{children:[d&&b.jsx(rp,{...d,htmlFor:T}),b.jsx(g3,{disabled:m,readOnly:g,error:S,children:b.jsxs(vo,{hasError:S,disabled:m,readOnly:g,children:[u&&b.jsx(_r,{iconPosition:f,children:u}),b.jsx(Xa,{className:"translate",ref:i,type:y==="password"&&r?"text":y,hasError:S,hasIcon:!!u,iconPosition:f,disabled:m,readOnly:g,"aria-invalid":S,"aria-errormessage":c?O:void 0,"aria-describedby":c?O:void 0,...p,...l,id:T}),y==="password"&&f!=="right"&&b.jsx(_r,{iconPosition:"right",onClick:()=>{o(!r)},role:"button",tabIndex:0,style:{cursor:"pointer"},"aria-label":r?"Hide password":"Show password","aria-pressed":r,children:sr(r?"eyeOpen":"eyeClosed")})]})}),S&&b.jsx(np,{id:O,error:c})]})});Cp.displayName="Input";const y3=W.div`
|
|
1158
1158
|
display: grid;
|
|
1159
1159
|
grid-template-columns: repeat(12, 1fr);
|
|
1160
1160
|
grid-template-rows: auto;
|
|
@@ -1178,7 +1178,7 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
1178
1178
|
|
|
1179
1179
|
background: ${({styles:e})=>e?.backgroundWrapperContent??"transparent"};
|
|
1180
1180
|
height: ${({styles:e})=>e?.height?`${String(e.height)}px`:"auto"};
|
|
1181
|
-
`,b3=({shouldRemoveTopMargin:e=!1,styles:t,children:n})=>
|
|
1181
|
+
`,b3=({shouldRemoveTopMargin:e=!1,styles:t,children:n})=>b.jsx(y3,{shouldRemoveTopMargin:e,children:b.jsx(v3,{styles:t,children:n})}),x3=W.div`
|
|
1182
1182
|
width: 100%;
|
|
1183
1183
|
`,w3=W.div`
|
|
1184
1184
|
box-sizing: border-box;
|
|
@@ -1201,4 +1201,12 @@ To suppress this warning, you need to explicitly provide the \`palette.${t}Chann
|
|
|
1201
1201
|
a {
|
|
1202
1202
|
color: ${V("purple.800")};
|
|
1203
1203
|
}
|
|
1204
|
-
`,E3=({title:e,subTitle:t,subTitleColor:n})=>
|
|
1204
|
+
`,E3=({title:e,subTitle:t,subTitleColor:n})=>b.jsxs(x3,{children:[b.jsx(C3,{children:e}),t&&b.jsx(S3,{subtitleColor:n,children:t}),b.jsx(w3,{})]}),T3=W.div`
|
|
1205
|
+
display: flex;
|
|
1206
|
+
justify-content: center;
|
|
1207
|
+
align-items: center;
|
|
1208
|
+
|
|
1209
|
+
width: 100%;
|
|
1210
|
+
height: 126px;
|
|
1211
|
+
border-bottom: 1px solid ${V("slate.300")};
|
|
1212
|
+
`,O3=({children:e})=>b.jsx(T3,{children:e});exports.AccordionExpand=U4;exports.Alert=d3;exports.ArrowHead=db;exports.BarLoader=op;exports.Button=Jt;exports.Card=X5;exports.CardLoading=i4;exports.CheckBox=m5;exports.CircleLoader=ip;exports.Container=b3;exports.CopyToClipboard=p4;exports.Cover=z5;exports.Dropdown=J2;exports.EmptyData=Zb;exports.ErrorMessage=np;exports.FlexContainer=s4;exports.FormText=E3;exports.IconComponent=Qt;exports.Illustration=O3;exports.Input=Cp;exports.Label=rp;exports.Link=ko;exports.LoadStarship=Q4;exports.Loader=Vb;exports.PageLoader=sp;exports.Pagination=ib;exports.PopoverPopupState=B5;exports.RingLoader=cp;exports.Skeleton=Wb;exports.Tabs=e3;exports.Text=Ls;exports.TimerCounter=F5;exports.Tooltip=Vt;exports.getColor=V;exports.getFont=Xe;exports.getImageAssetUrl=ve;exports.getOpacity=_u;exports.iconLoader=sr;
|