@nebula.js/sn-tabbed-container 0.13.5 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-specification/spec.json +1 -1
- package/core/esm/index.js +10 -19
- package/dist/sn-tabbed-container.js +11 -30
- package/dist/sn-tabbed-container.systemjs.js +10 -19
- package/package.json +31 -31
- package/sn-tabbed-container-ext/dist/sn-tabbed-container.js +11 -30
- package/sn-tabbed-container-ext/sn-tabbed-container.qext +1 -1
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/sn-tabbed-container
|
|
3
|
-
* Copyright (c)
|
|
2
|
+
* @nebula.js/sn-tabbed-container v1.0.0
|
|
3
|
+
* Copyright (c) 2025 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use strict";var t,n,o,r,i,a,l,s,c,d,u,p,h,f,m,b,g,v,y,x,E,S,C,w,R,A,k,I,L,_,T;return{setters:[function(e){t=e.useOptions,n=e.useEffect,o=e.useState,r=e.onTakeSnapshot,i=e.useKeyboard,a=e.useMemo,l=e.useElement,s=e.useApp,c=e.useStaleLayout,d=e.useEmbed,u=e.useModel,p=e.useTranslator,h=e.useEmitter,f=e.useInteractionState,m=e.usePromise,b=e.onContextMenu,g=e.useImperativeHandle},function(e){v=e,y=e.forwardRef,x=e.useContext,E=e.default,S=e.Children,C=e.isValidElement,w=e.cloneElement,R=e.useState,A=e.useEffect,k=e.useRef,I=e.useMemo,L=e.useCallback},function(e){_=e.default,T=e}],execute:function(){e("default",(function(e){const t=new yd({translator:e.translator});return{qae:{properties:yf,data:vf},ext:uh({env:e,propertyHandlerData:t}),component(){const n=Dh(e),r=p();a((()=>{!function(e){if(e&&e.get&&e.add){const t="LayoutContainer.EmptyList.AddContent";if(e.get(t)!==t)return;Object.keys(M).forEach((t=>{e.add(M[t])}))}}(r)}),[r]);const{dataHandler:i,model:l,accessibility:s,setAccessibility:c,interactions:d,element:u,modifiedLayout:h}=n,{renderHelper:f,sharedContainerUtilities:m,activeTabId:b}=gf({element:u,models:n,env:e});ph({containerId:(null==l?void 0:l.id)||"",element:u,sharedContainerUtilities:m,translator:r,dataHandler:i,propertyHandlerData:t,renderHelper:f});const[v,y]=o(!0);Rh({isContainerActive:v,activeTabId:b,renderHelper:f,modifiedLayout:h}),Ch({element:u,accessibility:s,setAccessibility:c,renderHelper:f,interactions:d});const{getViewState:x}=bh(f,Ef);g((()=>({getViewState:x,getChildrenObjects(){const e=f.getChildrenObjects();return xf(e)},updateActiveState(e){y(e)}})),[])}}}));var M={LayoutContainer_EmptyList_AddContent:{id:"LayoutContainer.EmptyList.AddContent",locale:{"de-DE":"Inhalt hinzufügen","en-US":"Add content","es-ES":"Añadir contenido","fr-FR":"Ajouter un contenu","it-IT":"Aggiungi contenuto","ja-JP":"コンテンツを追加","ko-KR":"콘텐츠 추가","nl-NL":"Inhoud toevoegen","pl-PL":"Dodaj zawartość","pt-BR":"Adicionar conteúdo","ru-RU":"Добавить содержимое","sv-SE":"Lägg till innehåll","tr-TR":"İçerik ekle","zh-CN":"添加内容","zh-TW":"新增內容"}},LayoutContainer_EmptyList_EmptyHint:{id:"LayoutContainer.EmptyList.EmptyHint",locale:{"de-DE":"Leere Sammelbox","en-US":"Empty container","es-ES":"Contenedor vacío","fr-FR":"Conteneur vide","it-IT":"Contenitore vuoto","ja-JP":"コンテナが空です","ko-KR":"빈 컨테이너","nl-NL":"Lege container","pl-PL":"Pusty kontener","pt-BR":"Esvaziar contêiner","ru-RU":"Пустой контейнер","sv-SE":"Tom behållare","tr-TR":"Kapsayıcı boş","zh-CN":"空容器","zh-TW":"空的容器"}},LayoutContainer_Object_Charts:{id:"LayoutContainer.Object.Charts",locale:{"de-DE":"Diagramme","en-US":"Charts","es-ES":"Gráficos","fr-FR":"Graphiques","it-IT":"Grafici","ja-JP":"チャート","ko-KR":"차트","nl-NL":"Diagrammen","pl-PL":"Wykresy","pt-BR":"Gráficos","ru-RU":"Диаграммы","sv-SE":"Diagram","tr-TR":"Grafikler","zh-CN":"图表","zh-TW":"圖表"}},LayoutContainer_Object_CustomObjects:{id:"LayoutContainer.Object.CustomObjects",locale:{"de-DE":"Benutzerdefinierte Objekte","en-US":"Custom objects","es-ES":"Objetos personalizados","fr-FR":"Objets personnalisés","it-IT":"Oggetti personalizzati","ja-JP":"カスタム オブジェクト","ko-KR":"사용자 지정 개체","nl-NL":"Aangepaste objecten","pl-PL":"Obiekty niestandardowe","pt-BR":"Objetos personalizados","ru-RU":"Пользовательские объекты","sv-SE":"Anpassade objekt","tr-TR":"Özel nesneler","zh-CN":"自定义对象","zh-TW":"自訂物件"}},LayoutContainer_Object_DashboardBundle:{id:"LayoutContainer.Object.DashboardBundle",locale:{"de-DE":"Qlik Dashboard Bundle","en-US":"Qlik Dashboard bundle","es-ES":"Paquete Qlik Dashboard","fr-FR":"Bundle Qlik Dashboard","it-IT":"Bundle Qlik Dashboard","ja-JP":"Qlik ダッシュボード バンドル","ko-KR":"Qlik 대시보드 번들","nl-NL":"Qlik Dashboard-bundel","pl-PL":"Pakiet Qlik Dashboard","pt-BR":"Pacote Dashboard do Qlik","ru-RU":"Пакет Qlik Dashboard Bundle","sv-SE":"Qlik Dashboard-paket","tr-TR":"Qlik Gösterge Paneli paketi","zh-CN":"Qlik Dashboard 捆绑","zh-TW":"Qlik 儀表板搭售"}},LayoutContainer_Object_MasterItems:{id:"LayoutContainer.Object.MasterItems",locale:{"de-DE":"Master-Elemente","en-US":"Master items","es-ES":"Elementos maestros","fr-FR":"Éléments principaux","it-IT":"Voci principali","ja-JP":"マスター アイテム","ko-KR":"마스터 항목","nl-NL":"Masteritems","pl-PL":"Elementy główne","pt-BR":"Itens mestre","ru-RU":"Основные элементы","sv-SE":"Originalobjekt","tr-TR":"Ana öğeler","zh-CN":"主条目","zh-TW":"主項目"}},LayoutContainer_Object_SmartBundle:{id:"LayoutContainer.Object.SmartBundle",locale:{"de-DE":"Qlik Smart Bundle","en-US":"Qlik Smart bundle","es-ES":"Paquete Qlik Smart","fr-FR":"Bundle Qlik Smart","it-IT":"Bundle Qlik Smart","ja-JP":"Qlik スマート バンドル","ko-KR":"Qlik 스마트 번들","nl-NL":"Qlik Smart-bundel","pl-PL":"Pakiet Qlik Smart","pt-BR":"Pacote Smart do Qlik","ru-RU":"Пакет Qlik Smart Bundle","sv-SE":"Qlik Smart-paket","tr-TR":"Qlik Akıllı paket","zh-CN":"Qlik Smart 捆绑","zh-TW":"Qlik 智慧搭售"}},LayoutContainer_Object_VisualizationBundle:{id:"LayoutContainer.Object.VisualizationBundle",locale:{"de-DE":"Qlik Visualization Bundle","en-US":"Qlik Visualization bundle","es-ES":"Paquete Qlik Visualizations","fr-FR":"Qlik Visualization bundle","it-IT":"Bundle Qlik Visualization","ja-JP":"Qlik ビジュアライゼーション バンドル","ko-KR":"Qlik 시각화 번들","nl-NL":"Qlik Visualization-bundel","pl-PL":"Pakiet Qlik Visualization","pt-BR":"Pacote Visualização do Qlik","ru-RU":"Пакет Qlik Visualization Bundle","sv-SE":"Qlik visualiseringspaket","tr-TR":"Qlik Görselleştirme paketi","zh-CN":"Qlik Visualization 捆绑","zh-TW":"Qlik 視覺化搭售"}},Container_Label_Visualizations:{id:"Container.Label.Visualizations",locale:{"en-US":"Visualizations"}}};function P(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function O(e,t,n){return(t=P(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var N="$$material";function B(){return B=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},B.apply(this,arguments)}function j(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}function D(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var z=/^((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)-.*))$/,F=D((function(e){return z.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var G=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),H="-ms-",Y="-moz-",W="-webkit-",V="comm",U="rule",q="decl",K="@keyframes",X=Math.abs,Q=String.fromCharCode,Z=Object.assign;function J(e){return e.trim()}function ee(e,t,n){return e.replace(t,n)}function te(e,t){return e.indexOf(t)}function ne(e,t){return 0|e.charCodeAt(t)}function oe(e,t,n){return e.slice(t,n)}function re(e){return e.length}function ie(e){return e.length}function ae(e,t){return t.push(e),e}var le=1,se=1,ce=0,de=0,ue=0,pe="";function he(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:le,column:se,length:a,return:""}}function fe(e,t){return Z(he("",null,null,"",null,null,0),e,{length:-e.length},t)}function me(){return ue=de>0?ne(pe,--de):0,se--,10===ue&&(se=1,le--),ue}function be(){return ue=de<ce?ne(pe,de++):0,se++,10===ue&&(se=1,le++),ue}function ge(){return ne(pe,de)}function ve(){return de}function ye(e,t){return oe(pe,e,t)}function xe(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 Ee(e){return le=se=1,ce=re(pe=e),de=0,[]}function Se(e){return pe="",e}function Ce(e){return J(ye(de-1,Ae(91===e?e+2:40===e?e+1:e)))}function we(e){for(;(ue=ge())&&ue<33;)be();return xe(e)>2||xe(ue)>3?"":" "}function Re(e,t){for(;--t&&be()&&!(ue<48||ue>102||ue>57&&ue<65||ue>70&&ue<97););return ye(e,ve()+(t<6&&32==ge()&&32==be()))}function Ae(e){for(;be();)switch(ue){case e:return de;case 34:case 39:34!==e&&39!==e&&Ae(ue);break;case 40:41===e&&Ae(e);break;case 92:be()}return de}function ke(e,t){for(;be()&&e+ue!==57&&(e+ue!==84||47!==ge()););return"/*"+ye(t,de-1)+"*"+Q(47===e?e:be())}function Ie(e){for(;!xe(ge());)be();return ye(e,de)}function Le(e){return Se(_e("",null,null,null,[""],e=Ee(e),0,[0],e))}function _e(e,t,n,o,r,i,a,l,s){for(var c=0,d=0,u=a,p=0,h=0,f=0,m=1,b=1,g=1,v=0,y="",x=r,E=i,S=o,C=y;b;)switch(f=v,v=be()){case 40:if(108!=f&&58==ne(C,u-1)){-1!=te(C+=ee(Ce(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:C+=Ce(v);break;case 9:case 10:case 13:case 32:C+=we(f);break;case 92:C+=Re(ve()-1,7);continue;case 47:switch(ge()){case 42:case 47:ae(Me(ke(be(),ve()),t,n),s);break;default:C+="/"}break;case 123*m:l[c++]=re(C)*g;case 125*m:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+d:-1==g&&(C=ee(C,/\f/g,"")),h>0&&re(C)-u&&ae(h>32?Pe(C+";",o,n,u-1):Pe(ee(C," ","")+";",o,n,u-2),s);break;case 59:C+=";";default:if(ae(S=Te(C,t,n,c,d,r,l,y,x=[],E=[],u),i),123===v)if(0===d)_e(C,t,S,S,x,i,u,l,E);else switch(99===p&&110===ne(C,3)?100:p){case 100:case 108:case 109:case 115:_e(e,S,S,o&&ae(Te(e,S,S,0,0,r,l,y,r,x=[],u),E),r,E,u,l,o?x:E);break;default:_e(C,S,S,S,[""],E,0,l,E)}}c=d=h=0,m=g=1,y=C="",u=a;break;case 58:u=1+re(C),h=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==me())continue;switch(C+=Q(v),v*m){case 38:g=d>0?1:(C+="\f",-1);break;case 44:l[c++]=(re(C)-1)*g,g=1;break;case 64:45===ge()&&(C+=Ce(be())),p=ge(),d=u=re(y=C+=Ie(ve())),v++;break;case 45:45===f&&2==re(C)&&(m=0)}}return i}function Te(e,t,n,o,r,i,a,l,s,c,d){for(var u=r-1,p=0===r?i:[""],h=ie(p),f=0,m=0,b=0;f<o;++f)for(var g=0,v=oe(e,u+1,u=X(m=a[f])),y=e;g<h;++g)(y=J(m>0?p[g]+" "+v:ee(v,/&\f/g,p[g])))&&(s[b++]=y);return he(e,t,n,0===r?U:l,s,c,d)}function Me(e,t,n){return he(e,t,n,V,Q(ue),oe(e,2,-2),0)}function Pe(e,t,n,o){return he(e,t,n,q,oe(e,0,o),oe(e,o+1,-1),o)}function Oe(e,t){for(var n="",o=ie(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function $e(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case q:return e.return=e.return||e.value;case V:return"";case K:return e.return=e.value+"{"+Oe(e.children,o)+"}";case U:e.value=e.props.join(",")}return re(n=Oe(e.children,o))?e.return=e.value+"{"+n+"}":""}function Ne(e){var t=ie(e);return function(n,o,r,i){for(var a="",l=0;l<t;l++)a+=e[l](n,o,r,i)||"";return a}}var Be=function(e,t,n){for(var o=0,r=0;o=r,r=ge(),38===o&&12===r&&(t[n]=1),!xe(r);)be();return ye(e,de)},je=function(e,t){return Se(function(e,t){var n=-1,o=44;do{switch(xe(o)){case 0:38===o&&12===ge()&&(t[n]=1),e[n]+=Be(de-1,t,n);break;case 2:e[n]+=Ce(o);break;case 4:if(44===o){e[++n]=58===ge()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Q(o)}}while(o=be());return e}(Ee(e),t))},De=new WeakMap,ze=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,o=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||De.get(n))&&!o){De.set(e,!0);for(var r=[],i=je(t,r),a=n.props,l=0,s=0;l<i.length;l++)for(var c=0;c<a.length;c++,s++)e.props[s]=r[l]?i[l].replace(/&\f/g,a[c]):a[c]+" "+i[l]}}},Fe=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Ge(e,t){switch(function(e,t){return 45^ne(e,0)?(((t<<2^ne(e,0))<<2^ne(e,1))<<2^ne(e,2))<<2^ne(e,3):0}(e,t)){case 5103:return W+"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 W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+Y+e+H+e+e;case 6828:case 4268:return W+e+H+e+e;case 6165:return W+e+H+"flex-"+e+e;case 5187:return W+e+ee(e,/(\w+).+(:[^]+)/,W+"box-$1$2"+H+"flex-$1$2")+e;case 5443:return W+e+H+"flex-item-"+ee(e,/flex-|-self/,"")+e;case 4675:return W+e+H+"flex-line-pack"+ee(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+H+ee(e,"shrink","negative")+e;case 5292:return W+e+H+ee(e,"basis","preferred-size")+e;case 6060:return W+"box-"+ee(e,"-grow","")+W+e+H+ee(e,"grow","positive")+e;case 4554:return W+ee(e,/([^-])(transform)/g,"$1"+W+"$2")+e;case 6187:return ee(ee(ee(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return ee(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return ee(ee(e,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+H+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return ee(e,/(.+)-inline(.+)/,W+"$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(re(e)-1-t>6)switch(ne(e,t+1)){case 109:if(45!==ne(e,t+4))break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+Y+(108==ne(e,t+3)?"$3":"$2-$3"))+e;case 115:return~te(e,"stretch")?Ge(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ne(e,t+1))break;case 6444:switch(ne(e,re(e)-3-(~te(e,"!important")&&10))){case 107:return ee(e,":",":"+W)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===ne(e,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+H+"$2box$3")+e}break;case 5936:switch(ne(e,t+11)){case 114:return W+e+H+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+H+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+H+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+H+e+e}return e}var He,Ye,We="undefined"!=typeof document,Ve=We?void 0:(He=function(){return D((function(){var e={};return function(t){return e[t]}}))},Ye=new WeakMap,function(e){if(Ye.has(e))return Ye.get(e);var t=He(e);return Ye.set(e,t),t}),Ue=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case q:e.return=Ge(e.value,e.length);break;case K:return Oe([fe(e,{value:ee(e.value,"@","@"+W)})],o);case U:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Oe([fe(e,{props:[ee(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Oe([fe(e,{props:[ee(t,/:(plac\w+)/,":"+W+"input-$1")]}),fe(e,{props:[ee(t,/:(plac\w+)/,":-moz-$1")]}),fe(e,{props:[ee(t,/:(plac\w+)/,H+"input-$1")]})],o)}return""}))}}],qe=function(e){var t=e.key;if(We&&"css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,r,i=e.stylisPlugins||Ue,a={},l=[];We&&(o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;l.push(e)})));var s,c=[ze,Fe];if(We){var d,u=[$e,(s=function(e){d.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=Ne(c.concat(i,u));r=function(e,t,n,o){d=n,function(e){Oe(Le(e),p)}(e?e+"{"+t.styles+"}":t.styles),o&&(g.inserted[t.name]=!0)}}else{var h=[$e],f=Ne(c.concat(i,h)),m=Ve(i)(t),b=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return Oe(Le(e),f)}(e?e+"{"+t.styles+"}":t.styles)),m[n]};r=function(e,t,n,o){var r=t.name,i=b(e,t);return void 0===g.compat?(o&&(g.inserted[r]=!0),i):o?void(g.inserted[r]=i):i}}var g={key:t,sheet:new G({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return g.sheet.hydrate(l),g},Ke={exports:{}},Xe={},Qe="function"==typeof Symbol&&Symbol.for,Ze=Qe?Symbol.for("react.element"):60103,Je=Qe?Symbol.for("react.portal"):60106,et=Qe?Symbol.for("react.fragment"):60107,tt=Qe?Symbol.for("react.strict_mode"):60108,nt=Qe?Symbol.for("react.profiler"):60114,ot=Qe?Symbol.for("react.provider"):60109,rt=Qe?Symbol.for("react.context"):60110,it=Qe?Symbol.for("react.async_mode"):60111,at=Qe?Symbol.for("react.concurrent_mode"):60111,lt=Qe?Symbol.for("react.forward_ref"):60112,st=Qe?Symbol.for("react.suspense"):60113,ct=Qe?Symbol.for("react.suspense_list"):60120,dt=Qe?Symbol.for("react.memo"):60115,ut=Qe?Symbol.for("react.lazy"):60116,pt=Qe?Symbol.for("react.block"):60121,ht=Qe?Symbol.for("react.fundamental"):60117,ft=Qe?Symbol.for("react.responder"):60118,mt=Qe?Symbol.for("react.scope"):60119;function bt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ze:switch(e=e.type){case it:case at:case et:case nt:case tt:case st:return e;default:switch(e=e&&e.$$typeof){case rt:case lt:case ut:case dt:case ot:return e;default:return t}}case Je:return t}}}function gt(e){return bt(e)===at}Xe.AsyncMode=it,Xe.ConcurrentMode=at,Xe.ContextConsumer=rt,Xe.ContextProvider=ot,Xe.Element=Ze,Xe.ForwardRef=lt,Xe.Fragment=et,Xe.Lazy=ut,Xe.Memo=dt,Xe.Portal=Je,Xe.Profiler=nt,Xe.StrictMode=tt,Xe.Suspense=st,Xe.isAsyncMode=function(e){return gt(e)||bt(e)===it},Xe.isConcurrentMode=gt,Xe.isContextConsumer=function(e){return bt(e)===rt},Xe.isContextProvider=function(e){return bt(e)===ot},Xe.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ze},Xe.isForwardRef=function(e){return bt(e)===lt},Xe.isFragment=function(e){return bt(e)===et},Xe.isLazy=function(e){return bt(e)===ut},Xe.isMemo=function(e){return bt(e)===dt},Xe.isPortal=function(e){return bt(e)===Je},Xe.isProfiler=function(e){return bt(e)===nt},Xe.isStrictMode=function(e){return bt(e)===tt},Xe.isSuspense=function(e){return bt(e)===st},Xe.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===et||e===at||e===nt||e===tt||e===st||e===ct||"object"==typeof e&&null!==e&&(e.$$typeof===ut||e.$$typeof===dt||e.$$typeof===ot||e.$$typeof===rt||e.$$typeof===lt||e.$$typeof===ht||e.$$typeof===ft||e.$$typeof===mt||e.$$typeof===pt)},Xe.typeOf=bt,Ke.exports=Xe;var vt=Ke.exports,yt={};yt[vt.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yt[vt.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var xt="undefined"!=typeof document;var Et=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===xt&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)},St=function(e,t,n){Et(e,t,n);var o=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var r="",i=t;do{var a=e.insert(t===i?"."+o:"",i,e.sheet,!0);xt||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!xt&&0!==r.length)return r}};var Ct={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},wt=/[A-Z]|^ms/g,Rt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,At=function(e){return 45===e.charCodeAt(1)},kt=function(e){return null!=e&&"boolean"!=typeof e},It=D((function(e){return At(e)?e:e.replace(wt,"-$&").toLowerCase()})),Lt=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Rt,(function(e,t,n){return Tt={name:t,styles:n,next:Tt},t}))}return 1===Ct[e]||At(e)||"number"!=typeof t||0===t?t:t+"px"};function _t(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Tt={name:n.name,styles:n.styles,next:Tt},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)Tt={name:o.name,styles:o.styles,next:Tt},o=o.next;return n.styles+";"}return function(e,t,n){var o="";if(Array.isArray(n))for(var r=0;r<n.length;r++)o+=_t(e,t,n[r])+";";else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?o+=i+"{"+t[a]+"}":kt(a)&&(o+=It(i)+":"+Lt(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=_t(e,t,a);switch(i){case"animation":case"animationName":o+=It(i)+":"+l+";";break;default:o+=i+"{"+l+"}"}}else for(var s=0;s<a.length;s++)kt(a[s])&&(o+=It(i)+":"+Lt(i,a[s])+";")}return o}(e,t,n);case"function":if(void 0!==e){var r=Tt,i=n(e);return Tt=r,_t(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var Tt,Mt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Pt=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,r="";Tt=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=_t(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++)r+=_t(n,t,e[a]),o&&(r+=i[a]);Mt.lastIndex=0;for(var l,s="";null!==(l=Mt.exec(r));)s+="-"+l[1];var c=function(e){for(var t,n=0,o=0,r=e.length;r>=4;++o,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(o+2))<<16;case 2:n^=(255&e.charCodeAt(o+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(o)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+s;return{name:c,styles:r,next:Tt}},Ot="undefined"!=typeof document,$t=function(e){return e()},Nt=!!v.useInsertionEffect&&v.useInsertionEffect,Bt=Ot&&Nt||$t,jt=Nt||v.useLayoutEffect,Dt="undefined"!=typeof document,zt=v.createContext("undefined"!=typeof HTMLElement?qe({key:"css"}):null);zt.Provider;var Ft=function(e){return y((function(t,n){var o=x(zt);return e(t,o,n)}))};Dt||(Ft=function(e){return function(t){var n=x(zt);return null===n?(n=qe({key:"css"}),v.createElement(zt.Provider,{value:n},e(t,n))):e(t,n)}});var Gt=v.createContext({}),Ht=Ft((function(e,t){var n=e.styles,o=Pt([n],void 0,v.useContext(Gt));if(!Dt){for(var r,i=o.name,a=o.styles,l=o.next;void 0!==l;)i+=" "+l.name,a+=l.styles,l=l.next;var s=!0===t.compat,c=t.insert("",{name:i,styles:a},t.sheet,s);return s?null:v.createElement("style",((r={})["data-emotion"]=t.key+"-global "+i,r.dangerouslySetInnerHTML={__html:c},r.nonce=t.sheet.nonce,r))}var d=v.useRef();return jt((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,i=document.querySelector('style[data-emotion="'+e+" "+o.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==i&&(r=!0,i.setAttribute("data-emotion",e),n.hydrate([i])),d.current=[n,r],function(){n.flush()}}),[t]),jt((function(){var e=d.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==o.next&&St(t,o.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",o,n,!1)}}),[t,o.name]),null}));function Yt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Pt(t)}var Wt=function(){var e=Yt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Vt=F,Ut=function(e){return"theme"!==e},qt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Vt:Ut},Kt=function(e,t,n){var o;if(t){var r=t.shouldForwardProp;o=e.__emotion_forwardProp&&r?function(t){return e.__emotion_forwardProp(t)&&r(t)}:r}return"function"!=typeof o&&n&&(o=e.__emotion_forwardProp),o},Xt="undefined"!=typeof document,Qt=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;Et(t,n,o);var r=Bt((function(){return St(t,n,o)}));if(!Xt&&void 0!==r){for(var i,a=n.name,l=n.next;void 0!==l;)a+=" "+l.name,l=l.next;return v.createElement("style",((i={})["data-emotion"]=t.key+" "+a,i.dangerouslySetInnerHTML={__html:r},i.nonce=t.sheet.nonce,i))}return null},Zt=function e(t,n){var o,r,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(o=n.label,r=n.target);var l=Kt(t,n,i),s=l||qt(a),c=!s("as");return function(){var d=arguments,u=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&u.push("label:"+o+";"),null==d[0]||void 0===d[0].raw)u.push.apply(u,d);else{u.push(d[0][0]);for(var p=d.length,h=1;h<p;h++)u.push(d[h],d[0][h])}var f=Ft((function(e,t,n){var o,i,d,p,h=c&&e.as||a,f="",m=[],b=e;if(null==e.theme){for(var g in b={},e)b[g]=e[g];b.theme=v.useContext(Gt)}"string"==typeof e.className?(o=t.registered,i=m,d=e.className,p="",d.split(" ").forEach((function(e){void 0!==o[e]?i.push(o[e]+";"):p+=e+" "})),f=p):null!=e.className&&(f=e.className+" ");var y=Pt(u.concat(m),t.registered,b);f+=t.key+"-"+y.name,void 0!==r&&(f+=" "+r);var x=c&&void 0===l?qt(h):s,E={};for(var S in e)c&&"as"===S||x(S)&&(E[S]=e[S]);return E.className=f,E.ref=n,v.createElement(v.Fragment,null,v.createElement(Qt,{cache:t,serialized:y,isStringTag:"string"==typeof h}),v.createElement(h,E))}));return f.displayName=void 0!==o?o:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",f.defaultProps=t.defaultProps,f.__emotion_real=f,f.__emotion_base=a,f.__emotion_styles=u,f.__emotion_forwardProp=l,Object.defineProperty(f,"toString",{value:function(){return"."+r}}),f.withComponent=function(t,o){return e(t,B({},n,o,{shouldForwardProp:Kt(f,o,!0)})).apply(void 0,u)},f}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){Zt[e]=Zt(e)}));var Jt={exports:{}},en={},tn=E,nn=Symbol.for("react.element"),on=Symbol.for("react.fragment"),rn=Object.prototype.hasOwnProperty,an=tn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,ln={key:!0,ref:!0,__self:!0,__source:!0};function sn(e,t,n){var o,r={},i=null,a=null;for(o in void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),void 0!==t.ref&&(a=t.ref),t)rn.call(t,o)&&!ln.hasOwnProperty(o)&&(r[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===r[o]&&(r[o]=t[o]);return{$$typeof:nn,type:e,key:i,ref:a,props:r,_owner:an.current}}en.Fragment=on,en.jsx=sn,en.jsxs=sn,Jt.exports=en;var cn=Jt.exports;function dn(e){const{styles:t,defaultTheme:n={}}=e,o="function"==typeof t?e=>{return t(null==(o=e)||0===Object.keys(o).length?n:e);var o}:t;return cn.jsx(Ht,{styles:o})}
|
|
7
|
+
System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use strict";var t,r,n,o,i,a,l,s,c,d,u,p,h,f,m,b,g,v,y,x,E,S,C,w,R,k,A,_,I,T,O;return{setters:[function(e){t=e.useOptions,r=e.useEffect,n=e.useState,o=e.onTakeSnapshot,i=e.useKeyboard,a=e.useMemo,l=e.useElement,s=e.useApp,c=e.useStaleLayout,d=e.useEmbed,u=e.useModel,p=e.useTranslator,h=e.useEmitter,f=e.useInteractionState,m=e.usePromise,b=e.onContextMenu,g=e.useImperativeHandle},function(e){v=e,y=e.forwardRef,x=e.useContext,E=e.default,S=e.Children,C=e.isValidElement,w=e.cloneElement,R=e.useState,k=e.useEffect,A=e.useRef,_=e.useMemo,I=e.useCallback},function(e){T=e.default,O=e}],execute:function(){e("default",(function(e){const t=new Vd({translator:e.translator});return{qae:{properties:Hf,data:Gf},ext:jh({env:e,propertyHandlerData:t}),component(){const r=df(e),o=p();a((()=>{!function(e){if(e&&e.get&&e.add){const t="LayoutContainer.EmptyList.AddContent";if(e.get(t)!==t)return;Object.keys(L).forEach((t=>{e.add(L[t])}))}}(o)}),[o]);const{dataHandler:i,model:l,accessibility:s,setAccessibility:c,interactions:d,element:u,modifiedLayout:h}=r,{renderHelper:f,sharedContainerUtilities:m,activeTabId:b}=Ff({element:u,models:r,env:e});Nh({containerId:(null==l?void 0:l.id)||"",element:u,sharedContainerUtilities:m,translator:o,dataHandler:i,propertyHandlerData:t,renderHelper:f});const[v,y]=n(!0);Kh({isContainerActive:v,activeTabId:b,renderHelper:f,modifiedLayout:h}),Uh({element:u,accessibility:s,setAccessibility:c,renderHelper:f,interactions:d});const{getViewState:x}=Dh(f,Yf);g((()=>({getViewState:x,getChildrenObjects(){const e=f.getChildrenObjects();return Wf(e)},updateActiveState(e){y(e)}})),[])}}}));var L={Container_Label_Visualizations:{id:"Container.Label.Visualizations",locale:{"de-DE":"Visualisierungen","en-US":"Visualizations","es-ES":"Visualizaciones","fr-FR":"Visualisations","it-IT":"Visualizzazioni","ja-JP":"ビジュアライゼーション","ko-KR":"시각화","nl-NL":"Visualisaties","pl-PL":"Wizualizacje","pt-BR":"Visualizações","ru-RU":"Визуализации","sv-SE":"Visualiseringar","tr-TR":"Görselleştirmeler","zh-CN":"可视化","zh-TW":"視覺化"}},LayoutContainer_EmptyList_AddContent:{id:"LayoutContainer.EmptyList.AddContent",locale:{"de-DE":"Inhalt hinzufügen","en-US":"Add content","es-ES":"Añadir contenido","fr-FR":"Ajouter un contenu","it-IT":"Aggiungi contenuto","ja-JP":"コンテンツを追加","ko-KR":"콘텐츠 추가","nl-NL":"Inhoud toevoegen","pl-PL":"Dodaj zawartość","pt-BR":"Adicionar conteúdo","ru-RU":"Добавить содержимое","sv-SE":"Lägg till innehåll","tr-TR":"İçerik ekle","zh-CN":"添加内容","zh-TW":"新增內容"}},LayoutContainer_EmptyList_EmptyHint:{id:"LayoutContainer.EmptyList.EmptyHint",locale:{"de-DE":"Leere Sammelbox","en-US":"Empty container","es-ES":"Contenedor vacío","fr-FR":"Conteneur vide","it-IT":"Contenitore vuoto","ja-JP":"コンテナが空です","ko-KR":"빈 컨테이너","nl-NL":"Lege container","pl-PL":"Pusty kontener","pt-BR":"Esvaziar contêiner","ru-RU":"Пустой контейнер","sv-SE":"Tom behållare","tr-TR":"Kapsayıcı boş","zh-CN":"空容器","zh-TW":"空的容器"}},LayoutContainer_Object_Charts:{id:"LayoutContainer.Object.Charts",locale:{"de-DE":"Diagramme","en-US":"Charts","es-ES":"Gráficos","fr-FR":"Graphiques","it-IT":"Grafici","ja-JP":"チャート","ko-KR":"차트","nl-NL":"Diagrammen","pl-PL":"Wykresy","pt-BR":"Gráficos","ru-RU":"Диаграммы","sv-SE":"Diagram","tr-TR":"Grafikler","zh-CN":"图表","zh-TW":"圖表"}},LayoutContainer_Object_CustomObjects:{id:"LayoutContainer.Object.CustomObjects",locale:{"de-DE":"Benutzerdefinierte Objekte","en-US":"Custom objects","es-ES":"Objetos personalizados","fr-FR":"Objets personnalisés","it-IT":"Oggetti personalizzati","ja-JP":"カスタム オブジェクト","ko-KR":"사용자 지정 개체","nl-NL":"Aangepaste objecten","pl-PL":"Obiekty niestandardowe","pt-BR":"Objetos personalizados","ru-RU":"Пользовательские объекты","sv-SE":"Anpassade objekt","tr-TR":"Özel nesneler","zh-CN":"自定义对象","zh-TW":"自訂物件"}},LayoutContainer_Object_DashboardBundle:{id:"LayoutContainer.Object.DashboardBundle",locale:{"de-DE":"Qlik Dashboard Bundle","en-US":"Qlik Dashboard bundle","es-ES":"Paquete Qlik Dashboard","fr-FR":"Bundle Qlik Dashboard","it-IT":"Bundle Qlik Dashboard","ja-JP":"Qlik ダッシュボード バンドル","ko-KR":"Qlik 대시보드 번들","nl-NL":"Qlik Dashboard-bundel","pl-PL":"Pakiet Qlik Dashboard","pt-BR":"Pacote Dashboard do Qlik","ru-RU":"Пакет Qlik Dashboard Bundle","sv-SE":"Qlik Dashboard-paket","tr-TR":"Qlik Gösterge Paneli paketi","zh-CN":"Qlik Dashboard 捆绑","zh-TW":"Qlik 儀表板搭售"}},LayoutContainer_Object_Description:{id:"LayoutContainer.Object.Description",locale:{"de-DE":"Die Sammelbox besteht aus folgenden Objekten: {0}. Verwenden Sie zum Navigieren die Nach-links- und Nach-rechts-Pfeiltasten. Drücken Sie die Eingabetaste oder die Leertaste, um die Diagramme auszuwählen.","en-US":"Container consists of the following objects: {0}. Use left and right arrow keys to navigate through the inner charts. Press enter or space to select the charts.","es-ES":"El contenedor consta de los siguientes objetos: {0}. Utilice las teclas de flecha izquierda y derecha para navegar por los gráficos interiores. Pulse Intro o espacio para seleccionar los gráficos.","fr-FR":"Le conteneur comprend les objets suivants : {0}. Utilisez les touches de direction gauche et droite pour parcourir les graphiques internes. Appuyez sur la touche Entrée ou espace pour sélectionner les graphiques.","it-IT":"Il contenitore include i seguenti oggetti: {0}. Utilizzare i tasti freccia sinistro e destro per navigare tra i grafici interni. Per selezionare i grafici, premere Invio o Spazio.","ja-JP":"コンテナは以下のオブジェクトで構成されます: {0}。左右の矢印キーを使用して、内部のチャートをナビゲートします。Enter キーかスペース キーを押してチャートを選択します。","ko-KR":"컨테이너는 다음 개체로 구성됩니다. {0}. 왼쪽 및 오른쪽 화살표 키를 사용하여 내부 차트를 탐색하십시오. 차트를 선택하려면 Enter 키나 스페이스바를 누르십시오.","nl-NL":"Container bevat de volgende objecten: {0}. Navigeer met de pijl-links en pijl-rechts langs de binnenste diagrammen. Druk op Enter of de spatiebalk om de diagrammen te selecteren.","pl-PL":"Kontener zawiera następujące obiekty: {0}. Do nawigacji po wewnętrznych wykresach użyj lewego i prawego klawisza strzałki. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać wykresy.","pt-BR":"O contêiner consiste nos seguintes objetos: {0}. Use as setas para a esquerda e para a direita para navegar pelos gráficos internos. Pressione Enter ou espaço para selecionar os gráficos.","ru-RU":"Контейнер состоит из следующих объектов: {0}. Для навигации по внутренним диаграммам используйте клавиши со стрелками влево и вправо. Нажмите клавишу Enter или пробел, чтобы выбрать диаграммы.","sv-SE":"Behållaren innehåller följande objekt: {0}. Använd vänster och höger piltangent för att navigera genom de inre diagrammen. Tryck på returtangenten eller mellanslag för att välja diagram.","tr-TR":"Kapsayıcı şu nesneleri içerir: {0}. İç grafikler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Grafik seçmek için enter veya boşluk tuşuna basın.","zh-CN":"容器由以下对象组成:{0}。使用左右箭头键浏览内部图表。按回车或空格键选择图表。","zh-TW":"容器由下列物件組成:{0}。使用向左和向右方向鍵瀏覽內部圖表。按下 Enter 或空間以選取圖表。"}},LayoutContainer_Object_MasterItems:{id:"LayoutContainer.Object.MasterItems",locale:{"de-DE":"Master-Elemente","en-US":"Master items","es-ES":"Elementos maestros","fr-FR":"Éléments principaux","it-IT":"Voci principali","ja-JP":"マスター アイテム","ko-KR":"마스터 항목","nl-NL":"Masteritems","pl-PL":"Elementy główne","pt-BR":"Itens mestre","ru-RU":"Основные элементы","sv-SE":"Originalobjekt","tr-TR":"Ana öğeler","zh-CN":"主条目","zh-TW":"主項目"}},LayoutContainer_Object_SmartBundle:{id:"LayoutContainer.Object.SmartBundle",locale:{"de-DE":"Qlik Smart Bundle","en-US":"Qlik Smart bundle","es-ES":"Paquete Qlik Smart","fr-FR":"Bundle Qlik Smart","it-IT":"Bundle Qlik Smart","ja-JP":"Qlik スマート バンドル","ko-KR":"Qlik 스마트 번들","nl-NL":"Qlik Smart-bundel","pl-PL":"Pakiet Qlik Smart","pt-BR":"Pacote Smart do Qlik","ru-RU":"Пакет Qlik Smart Bundle","sv-SE":"Qlik Smart-paket","tr-TR":"Qlik Akıllı paket","zh-CN":"Qlik Smart 捆绑","zh-TW":"Qlik 智慧搭售"}},LayoutContainer_Object_Untitled:{id:"LayoutContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}},LayoutContainer_Object_VisualizationBundle:{id:"LayoutContainer.Object.VisualizationBundle",locale:{"de-DE":"Qlik Visualization Bundle","en-US":"Qlik Visualization bundle","es-ES":"Paquete Qlik Visualizations","fr-FR":"Bundle Qlik Visualization","it-IT":"Bundle Qlik Visualization","ja-JP":"Qlik ビジュアライゼーション バンドル","ko-KR":"Qlik 시각화 번들","nl-NL":"Qlik Visualization-bundel","pl-PL":"Pakiet Qlik Visualization","pt-BR":"Pacote Visualização do Qlik","ru-RU":"Пакет Qlik Visualization Bundle","sv-SE":"Qlik visualiseringspaket","tr-TR":"Qlik Görselleştirme paketi","zh-CN":"Qlik Visualization 捆绑","zh-TW":"Qlik 視覺化搭售"}}};function P(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}var j=Object.freeze({__proto__:null,default:M}),N="$$material";function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},$.apply(null,arguments)}function B(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}var z=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0!==e.speedy&&e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1],r=64===e.charCodeAt(0)&&105===e.charCodeAt(1);if(r&&this._alreadyInsertedOrderInsensitiveRule&&console.error("You're attempting to insert the following rule:\n"+e+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!r,this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(t){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(e)||console.error('There was a problem inserting the following rule: "'+e+'"',t)}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),D="-ms-",F="-moz-",G="-webkit-",H="comm",W="rule",Y="decl",V="@keyframes",U=Math.abs,q=String.fromCharCode,K=Object.assign;function X(e){return e.trim()}function Q(e,t,r){return e.replace(t,r)}function Z(e,t){return e.indexOf(t)}function J(e,t){return 0|e.charCodeAt(t)}function ee(e,t,r){return e.slice(t,r)}function te(e){return e.length}function re(e){return e.length}function ne(e,t){return t.push(e),e}var oe=1,ie=1,ae=0,le=0,se=0,ce="";function de(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:oe,column:ie,length:a,return:""}}function ue(e,t){return K(de("",null,null,"",null,null,0),e,{length:-e.length},t)}function pe(){return se=le>0?J(ce,--le):0,ie--,10===se&&(ie=1,oe--),se}function he(){return se=le<ae?J(ce,le++):0,ie++,10===se&&(ie=1,oe++),se}function fe(){return J(ce,le)}function me(){return le}function be(e,t){return ee(ce,e,t)}function ge(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 ve(e){return oe=ie=1,ae=te(ce=e),le=0,[]}function ye(e){return ce="",e}function xe(e){return X(be(le-1,Ce(91===e?e+2:40===e?e+1:e)))}function Ee(e){for(;(se=fe())&&se<33;)he();return ge(e)>2||ge(se)>3?"":" "}function Se(e,t){for(;--t&&he()&&!(se<48||se>102||se>57&&se<65||se>70&&se<97););return be(e,me()+(t<6&&32==fe()&&32==he()))}function Ce(e){for(;he();)switch(se){case e:return le;case 34:case 39:34!==e&&39!==e&&Ce(se);break;case 40:41===e&&Ce(e);break;case 92:he()}return le}function we(e,t){for(;he()&&e+se!==57&&(e+se!==84||47!==fe()););return"/*"+be(t,le-1)+"*"+q(47===e?e:he())}function Re(e){for(;!ge(fe());)he();return be(e,le)}function ke(e){return ye(Ae("",null,null,null,[""],e=ve(e),0,[0],e))}function Ae(e,t,r,n,o,i,a,l,s){for(var c=0,d=0,u=a,p=0,h=0,f=0,m=1,b=1,g=1,v=0,y="",x=o,E=i,S=n,C=y;b;)switch(f=v,v=he()){case 40:if(108!=f&&58==J(C,u-1)){-1!=Z(C+=Q(xe(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:C+=xe(v);break;case 9:case 10:case 13:case 32:C+=Ee(f);break;case 92:C+=Se(me()-1,7);continue;case 47:switch(fe()){case 42:case 47:ne(Ie(we(he(),me()),t,r),s);break;default:C+="/"}break;case 123*m:l[c++]=te(C)*g;case 125*m:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+d:-1==g&&(C=Q(C,/\f/g,"")),h>0&&te(C)-u&&ne(h>32?Te(C+";",n,r,u-1):Te(Q(C," ","")+";",n,r,u-2),s);break;case 59:C+=";";default:if(ne(S=_e(C,t,r,c,d,o,l,y,x=[],E=[],u),i),123===v)if(0===d)Ae(C,t,S,S,x,i,u,l,E);else switch(99===p&&110===J(C,3)?100:p){case 100:case 108:case 109:case 115:Ae(e,S,S,n&&ne(_e(e,S,S,0,0,o,l,y,o,x=[],u),E),o,E,u,l,n?x:E);break;default:Ae(C,S,S,S,[""],E,0,l,E)}}c=d=h=0,m=g=1,y=C="",u=a;break;case 58:u=1+te(C),h=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==pe())continue;switch(C+=q(v),v*m){case 38:g=d>0?1:(C+="\f",-1);break;case 44:l[c++]=(te(C)-1)*g,g=1;break;case 64:45===fe()&&(C+=xe(he())),p=fe(),d=u=te(y=C+=Re(me())),v++;break;case 45:45===f&&2==te(C)&&(m=0)}}return i}function _e(e,t,r,n,o,i,a,l,s,c,d){for(var u=o-1,p=0===o?i:[""],h=re(p),f=0,m=0,b=0;f<n;++f)for(var g=0,v=ee(e,u+1,u=U(m=a[f])),y=e;g<h;++g)(y=X(m>0?p[g]+" "+v:Q(v,/&\f/g,p[g])))&&(s[b++]=y);return de(e,t,r,0===o?W:l,s,c,d)}function Ie(e,t,r){return de(e,t,r,H,q(se),ee(e,2,-2),0)}function Te(e,t,r,n){return de(e,t,r,Y,ee(e,0,n),ee(e,n+1,-1),n)}function Oe(e,t){for(var r="",n=re(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function Le(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Y:return e.return=e.return||e.value;case H:return"";case V:return e.return=e.value+"{"+Oe(e.children,n)+"}";case W:e.value=e.props.join(",")}return te(r=Oe(e.children,n))?e.return=e.value+"{"+r+"}":""}function Pe(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}var Me=function(e,t,r){for(var n=0,o=0;n=o,o=fe(),38===n&&12===o&&(t[r]=1),!ge(o);)he();return be(e,le)},je=function(e,t){return ye(function(e,t){var r=-1,n=44;do{switch(ge(n)){case 0:38===n&&12===fe()&&(t[r]=1),e[r]+=Me(le-1,t,r);break;case 2:e[r]+=xe(n);break;case 4:if(44===n){e[++r]=58===fe()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=q(n)}}while(n=he());return e}(ve(e),t))},Ne=new WeakMap,$e=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Ne.get(r))&&!n){Ne.set(e,!0);for(var o=[],i=je(t,o),a=r.props,l=0,s=0;l<i.length;l++)for(var c=0;c<a.length;c++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[c]):a[c]+" "+i[l]}}},Be=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}},ze=function(e){return"comm"===e.type&&e.children.indexOf("emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason")>-1},De=function(e){return 105===e.type.charCodeAt(1)&&64===e.type.charCodeAt(0)},Fe=function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},Ge=function(e,t,r){De(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Fe(e)):function(e,t){for(var r=e-1;r>=0;r--)if(!De(t[r]))return!0;return!1}(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Fe(e)))};function He(e,t){switch(function(e,t){return 45^J(e,0)?(((t<<2^J(e,0))<<2^J(e,1))<<2^J(e,2))<<2^J(e,3):0}(e,t)){case 5103:return G+"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 G+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+F+e+D+e+e;case 6828:case 4268:return G+e+D+e+e;case 6165:return G+e+D+"flex-"+e+e;case 5187:return G+e+Q(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+D+"flex-$1$2")+e;case 5443:return G+e+D+"flex-item-"+Q(e,/flex-|-self/,"")+e;case 4675:return G+e+D+"flex-line-pack"+Q(e,/align-content|flex-|-self/,"")+e;case 5548:return G+e+D+Q(e,"shrink","negative")+e;case 5292:return G+e+D+Q(e,"basis","preferred-size")+e;case 6060:return G+"box-"+Q(e,"-grow","")+G+e+D+Q(e,"grow","positive")+e;case 4554:return G+Q(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return Q(Q(Q(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return Q(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return Q(Q(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+D+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4095:case 3583:case 4068:case 2532:return Q(e,/(.+)-inline(.+)/,G+"$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(te(e)-1-t>6)switch(J(e,t+1)){case 109:if(45!==J(e,t+4))break;case 102:return Q(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+F+(108==J(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Z(e,"stretch")?He(Q(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==J(e,t+1))break;case 6444:switch(J(e,te(e)-3-(~Z(e,"!important")&&10))){case 107:return Q(e,":",":"+G)+e;case 101:return Q(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(45===J(e,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+D+"$2box$3")+e}break;case 5936:switch(J(e,t+11)){case 114:return G+e+D+Q(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+D+Q(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+D+Q(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+D+e+e}return e}var We,Ye=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Y:e.return=He(e.value,e.length);break;case V:return Oe([ue(e,{value:Q(e.value,"@","@"+G)})],n);case W:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Oe([ue(e,{props:[Q(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Oe([ue(e,{props:[Q(t,/:(plac\w+)/,":"+G+"input-$1")]}),ue(e,{props:[Q(t,/:(plac\w+)/,":-moz-$1")]}),ue(e,{props:[Q(t,/:(plac\w+)/,D+"input-$1")]})],n)}return""}))}}],Ve=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;We=function(e){var t=e.match(Ve);if(t)return t[t.length-1]};var Ue=function(e){var t=e.key;if(!t)throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\nIf multiple caches share the same key they might \"fight\" for each other's style elements.");if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var n=e.stylisPlugins||Ye;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var o,i,a={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;l.push(e)}));var s=[$e,Be];s.push(function(e){return function(t,r,n){if("rule"===t.type&&!e.compat){var o=t.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var i=t.parent?t.parent.children:n,a=i.length-1;a>=0;a--){var l=i[a];if(l.line<t.line)break;if(l.column<t.column){if(ze(l))return;break}}o.forEach((function(e){console.error('The pseudo class "'+e+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+e.split("-child")[0]+'-of-type".')}))}}}}({get compat(){return p.compat}}),Ge);var c,d=[Le,function(e){e.root||(e.return?c.insert(e.return):e.value&&e.type!==H&&c.insert(e.value+"{}"))}],u=function(e){var t=re(e);return function(r,n,o,i){for(var a="",l=0;l<t;l++)a+=e[l](r,n,o,i)||"";return a}}(s.concat(n,d));i=function(e,t,r,n){if(c=r,We){var o=We(t.styles);o&&(c={insert:function(e){r.insert(e+o)}})}!function(e){Oe(ke(e),u)}(e?e+"{"+t.styles+"}":t.styles),n&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new z({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return p.sheet.hydrate(l),p};function qe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ke(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach((function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})})),r}var Xe,Qe,Ze,Je,et={exports:{}},tt={};function rt(){return Qe||(Qe=1,et.exports=function(){if(Xe)return tt;Xe=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,f=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,g=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case c:case n:case i:case o:case u:return e;default:switch(e=e&&e.$$typeof){case l:case d:case f:case h:case a:return e;default:return p}}case r:return p}}}function x(e){return y(e)===c}return tt.AsyncMode=s,tt.ConcurrentMode=c,tt.ContextConsumer=l,tt.ContextProvider=a,tt.Element=t,tt.ForwardRef=d,tt.Fragment=n,tt.Lazy=f,tt.Memo=h,tt.Portal=r,tt.Profiler=i,tt.StrictMode=o,tt.Suspense=u,tt.isAsyncMode=function(e){return x(e)||y(e)===s},tt.isConcurrentMode=x,tt.isContextConsumer=function(e){return y(e)===l},tt.isContextProvider=function(e){return y(e)===a},tt.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},tt.isForwardRef=function(e){return y(e)===d},tt.isFragment=function(e){return y(e)===n},tt.isLazy=function(e){return y(e)===f},tt.isMemo=function(e){return y(e)===h},tt.isPortal=function(e){return y(e)===r},tt.isProfiler=function(e){return y(e)===i},tt.isStrictMode=function(e){return y(e)===o},tt.isSuspense=function(e){return y(e)===u},tt.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===c||e===i||e===o||e===u||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===h||e.$$typeof===a||e.$$typeof===l||e.$$typeof===d||e.$$typeof===b||e.$$typeof===g||e.$$typeof===v||e.$$typeof===m)},tt.typeOf=y,tt}()),et.exports}!function(){if(Je)return Ze;Je=1;var e=rt(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(r){return e.isMemo(r)?n:o[r.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=n;var a=Object.defineProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,u=Object.prototype;Ze=function e(t,n,o){if("string"!=typeof n){if(u){var p=d(n);p&&p!==u&&e(t,p,o)}var h=l(n);s&&(h=h.concat(s(n)));for(var f=i(t),m=i(n),b=0;b<h.length;++b){var g=h[b];if(!(r[g]||o&&o[g]||m&&m[g]||f&&f[g])){var v=c(n,g);try{a(t,g,v)}catch(e){}}}}return t}}();function nt(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")})),n}var ot=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},it=function(e,t,r){ot(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var at={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},lt="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",st="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",ct=/[A-Z]|^ms/g,dt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ut=function(e){return 45===e.charCodeAt(1)},pt=function(e){return null!=e&&"boolean"!=typeof e},ht=Pe((function(e){return ut(e)?e:e.replace(ct,"-$&").toLowerCase()})),ft=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(dt,(function(e,t,r){return Ct={name:t,styles:r,next:Ct},t}))}return 1===at[e]||ut(e)||"number"!=typeof t||0===t?t:t+"px"},mt=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,bt=["normal","none","initial","inherit","unset"],gt=ft,vt=/^-ms-/,yt=/-(.)/g,xt={};ft=function(e,t){if("content"===e&&("string"!=typeof t||-1===bt.indexOf(t)&&!mt.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||'"'!==t.charAt(0)&&"'"!==t.charAt(0))))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=gt(e,t);return""===r||ut(e)||-1===e.indexOf("-")||void 0!==xt[e]||(xt[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(vt,"ms-").replace(yt,(function(e,t){return t.toUpperCase()}))+"?")),r};var Et="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function St(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles){if("NO_COMPONENT_SELECTOR"===String(n))throw new Error(Et);return n}switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return Ct={name:o.name,styles:o.styles,next:Ct},o.name;var i=r;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)Ct={name:a.name,styles:a.styles,next:Ct},a=a.next;return i.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=St(e,t,r[o])+";";else for(var i in r){var a=r[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?n+=i+"{"+t[l]+"}":pt(l)&&(n+=ht(i)+":"+ft(i,l)+";")}else{if("NO_COMPONENT_SELECTOR"===i)throw new Error(Et);if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=St(e,t,a);switch(i){case"animation":case"animationName":n+=ht(i)+":"+s+";";break;default:"undefined"===i&&console.error(st),n+=i+"{"+s+"}"}}else for(var c=0;c<a.length;c++)pt(a[c])&&(n+=ht(i)+":"+ft(i,a[c])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var l=Ct,s=r(e);return Ct=l,St(e,t,s)}console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break;case"string":var c=[],d=r.replace(dt,(function(e,t,r){var n="animation"+c.length;return c.push("const "+n+" = keyframes`"+r.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+n+"}"}));c.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(c,["`"+d+"`"]).join("\n")+"\n\nYou should wrap it with `css` like this:\n\ncss`"+d+"`")}var u=r;if(null==t)return u;var p=t[u];return void 0!==p?p:u}var Ct,wt=/label:\s*([^\s;{]+)\s*(;|$)/g;function Rt(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";Ct=void 0;var i=e[0];if(null==i||void 0===i.raw)n=!1,o+=St(r,t,i);else{var a=i;void 0===a[0]&&console.error(lt),o+=a[0]}for(var l=1;l<e.length;l++)if(o+=St(r,t,e[l]),n){var s=i;void 0===s[l]&&console.error(lt),o+=s[l]}wt.lastIndex=0;for(var c,d="";null!==(c=wt.exec(o));)d+="-"+c[1];var u=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+d;return{name:u,styles:o,next:Ct,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}}var kt=!!v.useInsertionEffect&&v.useInsertionEffect,At=kt||function(e){return e()},_t=kt||v.useLayoutEffect,It=v.createContext("undefined"!=typeof HTMLElement?Ue({key:"css"}):null);It.displayName="EmotionCacheContext";var Tt=It.Provider,Ot=function(e){return y((function(t,r){var n=x(It);return e(t,n,r)}))},Lt=v.createContext({});Lt.displayName="EmotionThemeContext";var Pt={}.hasOwnProperty,Mt=function(e){var t=e.split(".");return t[t.length-1]},jt=function(e){var t=/^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(e);return t||(t=/^([A-Za-z0-9$.]+)@/.exec(e))?Mt(t[1]):void 0},Nt=new Set(["renderWithHooks","processChild","finishClassComponent","renderToString"]),$t=function(e){return e.replace(/\$/g,"-")},Bt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Dt=function(e,t){if("string"==typeof t.css&&-1!==t.css.indexOf(":"))throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`"+t.css+"`");var r={};for(var n in t)Pt.call(t,n)&&(r[n]=t[n]);if(r[Bt]=e,"undefined"!=typeof globalThis&&globalThis.EMOTION_RUNTIME_AUTO_LABEL&&t.css&&("object"!=typeof t.css||!("name"in t.css)||"string"!=typeof t.css.name||-1===t.css.name.indexOf("-"))){var o=function(e){if(e)for(var t=e.split("\n"),r=0;r<t.length;r++){var n=jt(t[r]);if(n){if(Nt.has(n))break;if(/^[A-Z]/.test(n))return $t(n)}}}((new Error).stack);o&&(r[zt]=o)}return r},Ft=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ot(t,r,n),At((function(){return it(t,r,n)})),null},Gt=Ot((function(e,t,r){var n=e.css;"string"==typeof n&&void 0!==t.registered[n]&&(n=t.registered[n]);var o=e[Bt],i=[n],a="";"string"==typeof e.className?a=nt(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=Rt(i,void 0,v.useContext(Lt));if(-1===l.name.indexOf("-")){var s=e[zt];s&&(l=Rt([l,"label:"+s+";"]))}a+=t.key+"-"+l.name;var c={};for(var d in e)Pt.call(e,d)&&"css"!==d&&d!==Bt&&d!==zt&&(c[d]=e[d]);return c.className=a,r&&(c.ref=r),v.createElement(v.Fragment,null,v.createElement(Ft,{cache:t,serialized:l,isStringTag:"string"==typeof o}),v.createElement(o,c))}));Gt.displayName="EmotionCssPropInternal";var Ht,Wt,Yt=Gt,Vt=function(e,t){var r=arguments;if(null==t||!Pt.call(t,"css"))return v.createElement.apply(void 0,r);var n=r.length,o=new Array(n);o[0]=Yt,o[1]=Dt(e,t);for(var i=2;i<n;i++)o[i]=r[i];return v.createElement.apply(null,o)};Ht=Vt||(Vt={}),Wt||(Wt=Ht.JSX||(Ht.JSX={}));var Ut=!1,qt=Ot((function(e,t){!Ut&&("className"in e&&e.className||"css"in e&&e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Ut=!0);var r=Rt([e.styles],void 0,v.useContext(Lt)),n=v.useRef();return _t((function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+r.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),n.current=[o,i],function(){o.flush()}}),[t]),_t((function(){var e=n.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&it(t,r.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",r,o,!1)}}),[t,r.name]),null}));function Kt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Rt(t)}function Xt(){var e=Kt.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}qt.displayName="EmotionGlobal";var Qt=function e(t){for(var r=t.length,n=0,o="";n<r;n++){var i=t[n];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var l in void 0!==i.styles&&void 0!==i.name&&console.error("You have passed styles created with `css` from `@emotion/react` package to the `cx`.\n`cx` is meant to compose class names (strings) so you should convert those styles to a class name by passing them to the `css` received from <ClassNames/> component."),a="",i)i[l]&&l&&(a&&(a+=" "),a+=l);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};var Zt=function(e){var t=e.cache,r=e.serializedArr;return At((function(){for(var e=0;e<r.length;e++)it(t,r[e],!1)})),null},Jt=Ot((function(e,t){var r=!1,n=[],o=function(){if(r)throw new Error("css can only be used during render");for(var e=arguments.length,o=new Array(e),i=0;i<e;i++)o[i]=arguments[i];var a=Rt(o,t.registered);return n.push(a),ot(t,a,!1),t.key+"-"+a.name},i={css:o,cx:function(){if(r)throw new Error("cx can only be used during render");for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return function(e,t,r){var n=[],o=nt(e,n,r);return n.length<2?r:o+t(n)}(t.registered,o,Qt(n))},theme:v.useContext(Lt)},a=e.children(i);return r=!0,v.createElement(v.Fragment,null,v.createElement(Zt,{cache:t,serializedArr:n}),a)}));Jt.displayName="EmotionClassNames";var er="undefined"!=typeof document,tr="undefined"!=typeof jest||"undefined"!=typeof vi;if(er&&!tr){var rr="undefined"!=typeof globalThis?globalThis:er?window:global,nr="__EMOTION_REACT_"+"11.14.0".split(".")[0]+"__";rr[nr]&&console.warn("You are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used."),rr[nr]=!0}var or=/^((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|fetchpriority|fetchPriority|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)-.*))$/,ir=Pe((function(e){return or.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),ar=function(e){return"theme"!==e},lr=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?ir:ar},sr=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},cr="You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences",dr=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return ot(t,r,n),At((function(){return it(t,r,n)})),null},ur=function e(t,r){if(void 0===t)throw new Error("You are trying to create a styled element with an undefined component.\nYou may have forgotten to import it.");var n,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==r&&(n=r.label,o=r.target);var l=sr(t,r,i),s=l||lr(a),c=!s("as");return function(){var d=arguments,u=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==n&&u.push("label:"+n+";"),null==d[0]||void 0===d[0].raw)u.push.apply(u,d);else{var p=d[0];void 0===p[0]&&console.error(cr),u.push(p[0]);for(var h=d.length,f=1;f<h;f++)void 0===p[f]&&console.error(cr),u.push(d[f],p[f])}var m=Ot((function(e,t,r){var n=c&&e.as||a,i="",d=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=v.useContext(Lt)}"string"==typeof e.className?i=nt(t.registered,d,e.className):null!=e.className&&(i=e.className+" ");var f=Rt(u.concat(d),t.registered,p);i+=t.key+"-"+f.name,void 0!==o&&(i+=" "+o);var m=c&&void 0===l?lr(n):s,b={};for(var g in e)c&&"as"===g||m(g)&&(b[g]=e[g]);return b.className=i,r&&(b.ref=r),v.createElement(v.Fragment,null,v.createElement(dr,{cache:t,serialized:f,isStringTag:"string"==typeof n}),v.createElement(n,b))}));return m.displayName=void 0!==n?n:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=u,m.__emotion_forwardProp=l,Object.defineProperty(m,"toString",{value:function(){return void 0===o?"NO_COMPONENT_SELECTOR":"."+o}}),m.withComponent=function(t,n){return e(t,$({},r,n,{shouldForwardProp:sr(m,n,!0)})).apply(void 0,u)},m}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){ur[e]=ur(e)}));var pr,hr,fr={exports:{}},mr={};var br=(hr||(hr=1,fr.exports=function(){if(pr)return mr;pr=1;var e=E,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,r,a){var l,s={},c=null,d=null;for(l in void 0!==a&&(c=""+a),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(d=r.ref),r)n.call(r,l)&&!i.hasOwnProperty(l)&&(s[l]=r[l]);if(e&&e.defaultProps)for(l in r=e.defaultProps)void 0===s[l]&&(s[l]=r[l]);return{$$typeof:t,type:e,key:c,ref:d,props:s,_owner:o.current}}return mr.Fragment=r,mr.jsx=a,mr.jsxs=a,mr}()),fr.exports);let gr;function vr(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return br.jsx(qt,{styles:n})}
|
|
8
8
|
/**
|
|
9
|
-
* @mui/styled-engine v5.
|
|
9
|
+
* @mui/styled-engine v5.16.14
|
|
10
10
|
*
|
|
11
11
|
* @license MIT
|
|
12
12
|
* This source code is licensed under the MIT license found in the
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/function un(e,t){return Zt(e,t)}function pn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function hn(e){if(!pn(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=hn(e[n])})),t}function fn(e,t,n={clone:!0}){const o=n.clone?B({},e):e;return pn(e)&&pn(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(pn(t[r])&&r in e&&pn(e[r])?o[r]=fn(e[r],t[r],n):n.clone?o[r]=pn(t[r])?hn(t[r]):t[r]:o[r]=t[r])})),o}const mn=["values","unit","step"],bn=e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>B({},e,{[t.key]:t.val})),{})};var gn={borderRadius:4};function vn(e,t){return t?fn(e,t,{clone:!1}):e}const yn={xs:0,sm:600,md:900,lg:1200,xl:1536},xn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${yn[e]}px)`};function En(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||xn;return t.reduce(((o,r,i)=>(o[e.up(e.keys[i])]=n(t[i]),o)),{})}if("object"==typeof t){const e=o.breakpoints||xn;return Object.keys(t).reduce(((o,r)=>{if(-1!==Object.keys(e.values||yn).indexOf(r)){o[e.up(r)]=n(t[r],r)}else{const e=r;o[e]=t[e]}return o}),{})}return n(t)}function Sn(e){if("string"!=typeof e)throw new Error($(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Cn(e,t,n=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&n){const n=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=n)return n}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function wn(e,t,n,o=n){let r;return r="function"==typeof e?e(n):Array.isArray(e)?e[n]||o:Cn(e,n)||o,t&&(r=t(r,o,e)),r}function Rn(e){const{prop:t,cssProperty:n=e.prop,themeKey:o,transform:r}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Cn(e.theme,o)||{};return En(e,i,(e=>{let o=wn(a,r,e);return e===o&&"string"==typeof e&&(o=wn(a,r,`${t}${"default"===e?"":Sn(e)}`,e)),!1===n?o:{[n]:o}}))};return i.propTypes={},i.filterProps=[t],i}const An={m:"margin",p:"padding"},kn={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},In={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Ln=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!In[e])return[e];e=In[e]}const[t,n]=e.split(""),o=An[t],r=kn[n]||"";return Array.isArray(r)?r.map((e=>o+e)):[o+r]})),_n=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Tn=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Mn(e,t,n,o){var r;const i=null!=(r=Cn(e,t,!1))?r:n;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Pn(e){return Mn(e,"spacing",8)}function On(e,t){if("string"==typeof t||null==t)return t;const n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:`-${n}`}function $n(e,t,n,o){if(-1===t.indexOf(n))return null;const r=function(e,t){return n=>e.reduce(((e,o)=>(e[o]=On(t,n),e)),{})}(Ln(n),o);return En(e,e[n],r)}function Nn(e,t){const n=Pn(e.theme);return Object.keys(e).map((o=>$n(e,t,o,n))).reduce(vn,{})}function Bn(e){return Nn(e,_n)}function jn(e){return Nn(e,Tn)}function Dn(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((n=>{e[n]=t})),e)),{}),n=e=>Object.keys(e).reduce(((n,o)=>t[o]?vn(n,t[o](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function zn(e){return"number"!=typeof e?e:`${e}px solid`}function Fn(e,t){return Rn({prop:e,themeKey:"borders",transform:t})}Bn.propTypes={},Bn.filterProps=_n,jn.propTypes={},jn.filterProps=Tn;const Gn=Fn("border",zn),Hn=Fn("borderTop",zn),Yn=Fn("borderRight",zn),Wn=Fn("borderBottom",zn),Vn=Fn("borderLeft",zn),Un=Fn("borderColor"),qn=Fn("borderTopColor"),Kn=Fn("borderRightColor"),Xn=Fn("borderBottomColor"),Qn=Fn("borderLeftColor"),Zn=Fn("outline",zn),Jn=Fn("outlineColor"),eo=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Mn(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:On(t,e)});return En(e,e.borderRadius,n)}return null};eo.propTypes={},eo.filterProps=["borderRadius"],Dn(Gn,Hn,Yn,Wn,Vn,Un,qn,Kn,Xn,Qn,eo,Zn,Jn);const to=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Mn(e.theme,"spacing",8),n=e=>({gap:On(t,e)});return En(e,e.gap,n)}return null};to.propTypes={},to.filterProps=["gap"];const no=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Mn(e.theme,"spacing",8),n=e=>({columnGap:On(t,e)});return En(e,e.columnGap,n)}return null};no.propTypes={},no.filterProps=["columnGap"];const oo=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Mn(e.theme,"spacing",8),n=e=>({rowGap:On(t,e)});return En(e,e.rowGap,n)}return null};oo.propTypes={},oo.filterProps=["rowGap"];function ro(e,t){return"grey"===t?t:e}Dn(to,no,oo,Rn({prop:"gridColumn"}),Rn({prop:"gridRow"}),Rn({prop:"gridAutoFlow"}),Rn({prop:"gridAutoColumns"}),Rn({prop:"gridAutoRows"}),Rn({prop:"gridTemplateColumns"}),Rn({prop:"gridTemplateRows"}),Rn({prop:"gridTemplateAreas"}),Rn({prop:"gridArea"}));function io(e){return e<=1&&0!==e?100*e+"%":e}Dn(Rn({prop:"color",themeKey:"palette",transform:ro}),Rn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:ro}),Rn({prop:"backgroundColor",themeKey:"palette",transform:ro}));const ao=Rn({prop:"width",transform:io}),lo=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,o;const r=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||yn[t];return r?"px"!==(null==(o=e.theme)||null==(o=o.breakpoints)?void 0:o.unit)?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:io(t)}};return En(e,e.maxWidth,t)}return null};lo.filterProps=["maxWidth"];const so=Rn({prop:"minWidth",transform:io}),co=Rn({prop:"height",transform:io}),uo=Rn({prop:"maxHeight",transform:io}),po=Rn({prop:"minHeight",transform:io});Rn({prop:"size",cssProperty:"width",transform:io}),Rn({prop:"size",cssProperty:"height",transform:io});Dn(ao,lo,so,co,uo,po,Rn({prop:"boxSizing"}));var ho={border:{themeKey:"borders",transform:zn},borderTop:{themeKey:"borders",transform:zn},borderRight:{themeKey:"borders",transform:zn},borderBottom:{themeKey:"borders",transform:zn},borderLeft:{themeKey:"borders",transform:zn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:zn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:eo},color:{themeKey:"palette",transform:ro},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:ro},backgroundColor:{themeKey:"palette",transform:ro},p:{style:jn},pt:{style:jn},pr:{style:jn},pb:{style:jn},pl:{style:jn},px:{style:jn},py:{style:jn},padding:{style:jn},paddingTop:{style:jn},paddingRight:{style:jn},paddingBottom:{style:jn},paddingLeft:{style:jn},paddingX:{style:jn},paddingY:{style:jn},paddingInline:{style:jn},paddingInlineStart:{style:jn},paddingInlineEnd:{style:jn},paddingBlock:{style:jn},paddingBlockStart:{style:jn},paddingBlockEnd:{style:jn},m:{style:Bn},mt:{style:Bn},mr:{style:Bn},mb:{style:Bn},ml:{style:Bn},mx:{style:Bn},my:{style:Bn},margin:{style:Bn},marginTop:{style:Bn},marginRight:{style:Bn},marginBottom:{style:Bn},marginLeft:{style:Bn},marginX:{style:Bn},marginY:{style:Bn},marginInline:{style:Bn},marginInlineStart:{style:Bn},marginInlineEnd:{style:Bn},marginBlock:{style:Bn},marginBlockStart:{style:Bn},marginBlockEnd:{style:Bn},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:to},rowGap:{style:oo},columnGap:{style:no},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:io},maxWidth:{style:lo},minWidth:{transform:io},height:{transform:io},maxHeight:{transform:io},minHeight:{transform:io},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const fo=function(){function e(e,t,n,o){const r={[e]:t,theme:n},i=o[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:c}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const d=Cn(n,l)||{};if(c)return c(r);return En(r,t,(t=>{let n=wn(d,s,t);return t===n&&"string"==typeof t&&(n=wn(d,s,`${e}${"default"===t?"":Sn(t)}`,t)),!1===a?n:{[a]:n}}))}return function t(n){var o;const{sx:r,theme:i={}}=n||{};if(!r)return null;const a=null!=(o=i.unstable_sxConfig)?o:ho;function l(n){let o=n;if("function"==typeof n)o=n(i);else if("object"!=typeof n)return n;if(!o)return null;const r=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,n)=>(t[e.up(n)]={},t)),{}))||{}}(i.breakpoints),l=Object.keys(r);let s=r;return Object.keys(o).forEach((n=>{const r=(l=o[n],c=i,"function"==typeof l?l(c):l);var l,c;if(null!=r)if("object"==typeof r)if(a[n])s=vn(s,e(n,r,i,a));else{const e=En({theme:i},r,(e=>({[n]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),n=new Set(t);return e.every((e=>n.size===Object.keys(e).length))}(e,r)?s=vn(s,e):s[n]=t({sx:r,theme:i})}else s=vn(s,e(n,r,i,a))})),function(e,t){return e.reduce(((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(r)?r.map(l):l(r)}}();fo.filterProps=["sx"];var mo=fo;function bo(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const o=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[o]:t}}return n.palette.mode===e?t:{}}const go=["breakpoints","palette","spacing","shape"];function vo(e={},...t){const{breakpoints:n={},palette:o={},spacing:r,shape:i={}}=e,a=j(e,go),l=function(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:o=5}=e,r=j(e,mn),i=bn(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-o/100}${n})`}function c(e,r){const i=a.indexOf(r);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${n}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:r)-o/100}${n})`}return B({keys:a,values:i,up:l,down:s,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},r)}(n),s=function(e=8){if(e.mui)return e;const t=Pn({spacing:e}),n=(...e)=>(0===e.length?[1]:e).map((e=>{const n=t(e);return"number"==typeof n?`${n}px`:n})).join(" ");return n.mui=!0,n}(r);let c=fn({breakpoints:l,direction:"ltr",components:{},palette:B({mode:"light"},o),spacing:s,shape:B({},gn,i)},a);return c.applyStyles=bo,c=t.reduce(((e,t)=>fn(e,t)),c),c.unstable_sxConfig=B({},ho,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return mo({sx:e,theme:this})},c}function yo(e=null){const t=v.useContext(Gt);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const xo=vo();function Eo(e=xo){return yo(e)}function So({styles:e,themeId:t,defaultTheme:n={}}){const o=Eo(n),r="function"==typeof e?e(t&&o[t]||o):e;return cn.jsx(dn,{styles:r})}const Co=["sx"],wo=e=>{var t,n;const o={systemProps:{},otherProps:{}},r=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:ho;return Object.keys(e).forEach((t=>{r[t]?o.systemProps[t]=e[t]:o.otherProps[t]=e[t]})),o};function Ro(e){const{sx:t}=e,n=j(e,Co),{systemProps:o,otherProps:r}=wo(n);let i;return i=Array.isArray(t)?[o,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return pn(n)?B({},o,n):o}:B({},o,t),B({},r,{sx:i})}const Ao=e=>e;var ko=(()=>{let e=Ao;return{configure(t){e=t},generate:t=>e(t),reset(){e=Ao}}})();function Io(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=Io(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Lo(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=Io(e))&&(o&&(o+=" "),o+=t);return o}const _o=["className","component"];const To={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 Mo(e,t,n="Mui"){const o=To[t];return o?`${n}-${o}`:`${ko.generate(e)}-${t}`}function Po(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=Mo(e,t,n)})),o}var Oo,$o={},No=Symbol.for("react.element"),Bo=Symbol.for("react.portal"),jo=Symbol.for("react.fragment"),Do=Symbol.for("react.strict_mode"),zo=Symbol.for("react.profiler"),Fo=Symbol.for("react.provider"),Go=Symbol.for("react.context"),Ho=Symbol.for("react.server_context"),Yo=Symbol.for("react.forward_ref"),Wo=Symbol.for("react.suspense"),Vo=Symbol.for("react.suspense_list"),Uo=Symbol.for("react.memo"),qo=Symbol.for("react.lazy"),Ko=Symbol.for("react.offscreen");
|
|
15
|
-
/**
|
|
16
|
-
* @license React
|
|
17
|
-
* react-is.production.min.js
|
|
18
|
-
*
|
|
19
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
20
|
-
*
|
|
21
|
-
* This source code is licensed under the MIT license found in the
|
|
22
|
-
* LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/function Xo(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case No:switch(e=e.type){case jo:case zo:case Do:case Wo:case Vo:return e;default:switch(e=e&&e.$$typeof){case Ho:case Go:case Yo:case qo:case Uo:case Fo:return e;default:return t}}case Bo:return t}}}Oo=Symbol.for("react.module.reference"),$o.ContextConsumer=Go,$o.ContextProvider=Fo,$o.Element=No,$o.ForwardRef=Yo,$o.Fragment=jo,$o.Lazy=qo,$o.Memo=Uo,$o.Portal=Bo,$o.Profiler=zo,$o.StrictMode=Do,$o.Suspense=Wo,$o.SuspenseList=Vo,$o.isAsyncMode=function(){return!1},$o.isConcurrentMode=function(){return!1},$o.isContextConsumer=function(e){return Xo(e)===Go},$o.isContextProvider=function(e){return Xo(e)===Fo},$o.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===No},$o.isForwardRef=function(e){return Xo(e)===Yo},$o.isFragment=function(e){return Xo(e)===jo},$o.isLazy=function(e){return Xo(e)===qo},$o.isMemo=function(e){return Xo(e)===Uo},$o.isPortal=function(e){return Xo(e)===Bo},$o.isProfiler=function(e){return Xo(e)===zo},$o.isStrictMode=function(e){return Xo(e)===Do},$o.isSuspense=function(e){return Xo(e)===Wo},$o.isSuspenseList=function(e){return Xo(e)===Vo},$o.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===jo||e===zo||e===Do||e===Wo||e===Vo||e===Ko||"object"==typeof e&&null!==e&&(e.$$typeof===qo||e.$$typeof===Uo||e.$$typeof===Fo||e.$$typeof===Go||e.$$typeof===Yo||e.$$typeof===Oo||void 0!==e.getModuleId)},$o.typeOf=Xo;const Qo=["ownerState"],Zo=["variants"],Jo=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function er(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const tr=vo(),nr=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function or({defaultTheme:e,theme:t,themeId:n}){return o=t,0===Object.keys(o).length?e:t[n]||t;var o}function rr(e){return e?(t,n)=>n[e]:null}function ir(e,t){let{ownerState:n}=t,o=j(t,Qo);const r="function"==typeof e?e(B({ownerState:n},o)):e;if(Array.isArray(r))return r.flatMap((e=>ir(e,B({ownerState:n},o))));if(r&&"object"==typeof r&&Array.isArray(r.variants)){const{variants:e=[]}=r;let t=j(r,Zo);return e.forEach((e=>{let r=!0;"function"==typeof e.props?r=e.props(B({ownerState:n},o,n)):Object.keys(e.props).forEach((t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(r=!1)})),r&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style(B({ownerState:n},o,n)):e.style))})),t}return r}function ar(e,t){const n=B({},t);return Object.keys(e).forEach((o=>{if(o.toString().match(/^(components|slots)$/))n[o]=B({},e[o],n[o]);else if(o.toString().match(/^(componentsProps|slotProps)$/)){const r=e[o]||{},i=t[o];n[o]={},i&&Object.keys(i)?r&&Object.keys(r)?(n[o]=B({},i),Object.keys(r).forEach((e=>{n[o][e]=ar(r[e],i[e])}))):n[o]=i:n[o]=r}else void 0===n[o]&&(n[o]=e[o])})),n}function lr({props:e,name:t,defaultTheme:n,themeId:o}){let r=Eo(n);o&&(r=r[o]||r);const i=function(e){const{theme:t,name:n,props:o}=e;return t&&t.components&&t.components[n]&&t.components[n].defaultProps?ar(t.components[n].defaultProps,o):o}({theme:r,name:t,props:e});return i}var sr="undefined"!=typeof window?v.useLayoutEffect:v.useEffect;function cr(e,t=0,n=1){return function(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}(e,t,n)}function dr(e){if(e.type)return e;if("#"===e.charAt(0))return dr(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&1===n[0].length&&(n=n.map((e=>e+e))),n?`rgb${4===n.length?"a":""}(${n.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error($(9,e));let o,r=e.substring(t+1,e.length-1);if("color"===n){if(r=r.split(" "),o=r.shift(),4===r.length&&"/"===r[3].charAt(0)&&(r[3]=r[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(o))throw new Error($(10,o))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:n,values:r,colorSpace:o}}function ur(e){const{type:t,colorSpace:n}=e;let{values:o}=e;return-1!==t.indexOf("rgb")?o=o.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(o[1]=`${o[1]}%`,o[2]=`${o[2]}%`),o=-1!==t.indexOf("color")?`${n} ${o.join(" ")}`:`${o.join(", ")}`,`${t}(${o})`}function pr(e){let t="hsl"===(e=dr(e)).type||"hsla"===e.type?dr(function(e){e=dr(e);const{values:t}=e,n=t[0],o=t[1]/100,r=t[2]/100,i=o*Math.min(r,1-r),a=(e,t=(e+n/30)%12)=>r-i*Math.max(Math.min(t-3,9-t,1),-1);let l="rgb";const s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),ur({type:l,values:s})}(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function hr(e,t){return e=dr(e),t=cr(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,ur(e)}function fr(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function mr(e,t=166){let n;function o(...o){clearTimeout(n),n=setTimeout((()=>{e.apply(this,o)}),t)}return o.clear=()=>{clearTimeout(n)},o}function br(e){return e&&e.ownerDocument||document}function gr(e){return br(e).defaultView||window}function vr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function yr(e){const t=v.useRef(e);return sr((()=>{t.current=e})),v.useRef(((...e)=>(0,t.current)(...e))).current}function xr(...e){return v.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{vr(e,t)}))}),e)}class Er{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Er}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let Sr=!0,Cr=!1;const wr=new Er,Rr={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ar(e){e.metaKey||e.altKey||e.ctrlKey||(Sr=!0)}function kr(){Sr=!1}function Ir(){"hidden"===this.visibilityState&&Cr&&(Sr=!0)}function Lr(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Sr||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Rr[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function _r(){const e=v.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Ar,!0),t.addEventListener("mousedown",kr,!0),t.addEventListener("pointerdown",kr,!0),t.addEventListener("touchstart",kr,!0),t.addEventListener("visibilitychange",Ir,!0))}),[]),t=v.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Lr(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Cr=!0,wr.start(100,(()=>{Cr=!1})),t.current=!1,!0)},ref:e}}function Tr(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Mr;function Pr(){if(Mr)return Mr;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Mr="reverse",e.scrollLeft>0?Mr="default":(e.scrollLeft=1,0===e.scrollLeft&&(Mr="negative")),document.body.removeChild(e),Mr}function Or(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Pr()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function $r(e,t,n=void 0){const o={};return Object.keys(e).forEach((r=>{o[r]=e[r].reduce(((e,o)=>{if(o){const r=t(o);""!==r&&e.push(r),n&&n[o]&&e.push(n[o])}return e}),[]).join(" ")})),o}var Nr=v.createContext(null);function Br(){return v.useContext(Nr)}var jr="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Dr(e){const{children:t,theme:n}=e,o=Br(),r=v.useMemo((()=>{const e=null===o?n:function(e,t){if("function"==typeof t)return t(e);return B({},e,t)}(o,n);return null!=e&&(e[jr]=null!==o),e}),[n,o]);return cn.jsx(Nr.Provider,{value:r,children:t})}const zr=["value"],Fr=v.createContext();function Gr(e){let{value:t}=e,n=j(e,zr);return cn.jsx(Fr.Provider,B({value:null==t||t},n))}const Hr={};function Yr(e,t,n,o=!1){return v.useMemo((()=>{const r=e&&t[e]||t;if("function"==typeof n){const i=n(r),a=e?B({},t,{[e]:i}):i;return o?()=>a:a}return B({},t,e?{[e]:n}:n)}),[e,t,n,o])}function Wr(e){const{children:t,theme:n,themeId:o}=e,r=yo(Hr),i=Br()||Hr,a=Yr(o,r,n),l=Yr(o,i,n,!0),s="rtl"===a.direction;return cn.jsx(Dr,{theme:l,children:cn.jsx(Gt.Provider,{value:a,children:cn.jsx(Gr,{value:s,children:t})})})}var Vr={black:"#000",white:"#fff"};var Ur={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"};var qr={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var Kr={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var Xr={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var Qr={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var Zr={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var Jr={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const ei=["mode","contrastThreshold","tonalOffset"],ti={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:Vr.white,default:Vr.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}},ni={text:{primary:Vr.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:Vr.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function oi(e,t,n,o){const r=o.light||o,i=o.dark||1.5*o;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=dr(e),t=cr(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ur(e)}(e.main,r):"dark"===t&&(e.dark=function(e,t){if(e=dr(e),t=cr(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ur(e)}(e.main,i)))}function ri(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,r=j(e,ei),i=e.primary||function(e="light"){return"dark"===e?{main:Qr[200],light:Qr[50],dark:Qr[400]}:{main:Qr[700],light:Qr[400],dark:Qr[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:qr[200],light:qr[50],dark:qr[400]}:{main:qr[500],light:qr[300],dark:qr[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Kr[500],light:Kr[300],dark:Kr[700]}:{main:Kr[700],light:Kr[400],dark:Kr[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:Zr[400],light:Zr[300],dark:Zr[700]}:{main:Zr[700],light:Zr[500],dark:Zr[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Jr[400],light:Jr[300],dark:Jr[700]}:{main:Jr[800],light:Jr[500],dark:Jr[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Xr[400],light:Xr[300],dark:Xr[700]}:{main:"#ed6c02",light:Xr[500],dark:Xr[900]}}(t);function u(e){const t=function(e,t){const n=pr(e),o=pr(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}(e,ni.text.primary)>=n?ni.text.primary:ti.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:r=300,darkShade:i=700})=>{if(!(e=B({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error($(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error($(12,t?` (${t})`:"",JSON.stringify(e.main)));return oi(e,"light",r,o),oi(e,"dark",i,o),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:ni,light:ti};return fn(B({common:B({},Vr),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:Ur,contrastThreshold:n,getContrastText:u,augmentColor:p,tonalOffset:o},h[t]),r)}const ii=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const ai={textTransform:"uppercase"},li='"Roboto", "Helvetica", "Arial", sans-serif';function si(e,t){const n="function"==typeof t?t(e):t,{fontFamily:o=li,fontSize:r=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=n,p=j(n,ii),h=r/14,f=u||(e=>e/c*h+"rem"),m=(e,t,n,r,i)=>{return B({fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:n},o===li?{letterSpacing:(a=r/t,Math.round(1e5*a)/1e5)+"em"}:{},i,d);var a},b={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,ai),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,ai),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return fn(B({htmlFontSize:c,pxToRem:f,fontFamily:o,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},b),p,{clone:!1})}function ci(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var di=["none",ci(0,2,1,-1,0,1,1,0,0,1,3,0),ci(0,3,1,-2,0,2,2,0,0,1,5,0),ci(0,3,3,-2,0,3,4,0,0,1,8,0),ci(0,2,4,-1,0,4,5,0,0,1,10,0),ci(0,3,5,-1,0,5,8,0,0,1,14,0),ci(0,3,5,-1,0,6,10,0,0,1,18,0),ci(0,4,5,-2,0,7,10,1,0,2,16,1),ci(0,5,5,-3,0,8,10,1,0,3,14,2),ci(0,5,6,-3,0,9,12,1,0,3,16,2),ci(0,6,6,-3,0,10,14,1,0,4,18,3),ci(0,6,7,-4,0,11,15,1,0,4,20,3),ci(0,7,8,-4,0,12,17,2,0,5,22,4),ci(0,7,8,-4,0,13,19,2,0,5,24,4),ci(0,7,9,-4,0,14,21,2,0,5,26,4),ci(0,8,9,-5,0,15,22,2,0,6,28,5),ci(0,8,10,-5,0,16,24,2,0,6,30,5),ci(0,8,11,-5,0,17,26,2,0,6,32,5),ci(0,9,11,-5,0,18,28,2,0,7,34,6),ci(0,9,12,-6,0,19,29,2,0,7,36,6),ci(0,10,13,-6,0,20,31,3,0,8,38,7),ci(0,10,13,-6,0,21,33,3,0,8,40,7),ci(0,10,14,-6,0,22,35,3,0,8,42,7),ci(0,11,14,-7,0,23,36,3,0,9,44,8),ci(0,11,15,-7,0,24,38,3,0,9,46,8)];const ui=["duration","easing","delay"],pi={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)"},hi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function fi(e){return`${Math.round(e)}ms`}function mi(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function bi(e){const t=B({},pi,e.easing),n=B({},hi,e.duration);return B({getAutoHeightDuration:mi,create:(e=["all"],o={})=>{const{duration:r=n.standard,easing:i=t.easeInOut,delay:a=0}=o;return j(o,ui),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:fi(r)} ${i} ${"string"==typeof a?a:fi(a)}`)).join(",")}},e,{easing:t,duration:n})}var gi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const vi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function yi(e={},...t){const{mixins:n={},palette:o={},transitions:r={},typography:i={}}=e,a=j(e,vi);if(e.vars)throw new Error($(18));const l=ri(o),s=vo(e);let c=fn(s,{mixins:(d=s.breakpoints,u=n,B({toolbar:{minHeight:56,[d.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[d.up("sm")]:{minHeight:64}}},u)),palette:l,shadows:di.slice(),typography:si(l,i),transitions:bi(r),zIndex:B({},gi)});var d,u;return c=fn(c,a),c=t.reduce(((e,t)=>fn(e,t)),c),c.unstable_sxConfig=B({},ho,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return mo({sx:e,theme:this})},c}var xi=yi();function Ei(){const e=Eo(xi);return e[N]||e}function Si({props:e,name:t}){return lr({props:e,name:t,defaultTheme:xi,themeId:N})}const Ci=e=>er(e)&&"classes"!==e,wi=function(e={}){const{themeId:t,defaultTheme:n=tr,rootShouldForwardProp:o=er,slotShouldForwardProp:r=er}=e,i=e=>mo(B({},e,{theme:or(B({},e,{defaultTheme:n,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{((e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))})(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:l,slot:s,skipVariantsResolver:c,skipSx:d,overridesResolver:u=rr(nr(s))}=a,p=j(a,Jo),h=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,f=d||!1;let m=er;"Root"===s||"root"===s?m=o:s?m=r:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(m=void 0);const b=un(e,B({shouldForwardProp:m,label:undefined},p)),g=e=>"function"==typeof e&&e.__emotion_real!==e||pn(e)?o=>ir(e,B({},o,{theme:or({theme:o.theme,defaultTheme:n,themeId:t})})):e,v=(o,...r)=>{let a=g(o);const s=r?r.map(g):[];l&&u&&s.push((e=>{const o=or(B({},e,{defaultTheme:n,themeId:t}));if(!o.components||!o.components[l]||!o.components[l].styleOverrides)return null;const r=o.components[l].styleOverrides,i={};return Object.entries(r).forEach((([t,n])=>{i[t]=ir(n,B({},e,{theme:o}))})),u(e,i)})),l&&!h&&s.push((e=>{var o;const r=or(B({},e,{defaultTheme:n,themeId:t}));return ir({variants:null==r||null==(o=r.components)||null==(o=o[l])?void 0:o.variants},B({},e,{theme:r}))})),f||s.push(i);const c=s.length-r.length;if(Array.isArray(o)&&c>0){const e=new Array(c).fill("");a=[...o,...e],a.raw=[...o.raw,...e]}const d=b(a,...s);return e.muiName&&(d.muiName=e.muiName),d};return b.withConfig&&(v.withConfig=b.withConfig),v}}({themeId:N,defaultTheme:xi,rootShouldForwardProp:Ci});var Ri=wi;const Ai=["theme"];function ki(e){let{theme:t}=e,n=j(e,Ai);const o=t[N];return cn.jsx(Wr,B({},n,{themeId:o?N:void 0,theme:o||t}))}var Ii=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Li(e){return Mo("MuiSvgIcon",e)}Po("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const _i=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],Ti=Ri("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Sn(n.color)}`],t[`fontSize${Sn(n.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var n,o,r,i,a,l,s,c,d,u,p,h,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(o=n.create)?void 0:o.call(n,"fill",{duration:null==(r=e.transitions)||null==(r=r.duration)?void 0:r.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(u=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?u:{action:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[t.color]}})),Mi=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiSvgIcon"}),{children:o,className:r,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:d,viewBox:u="0 0 24 24"}=n,p=j(n,_i),h=v.isValidElement(o)&&"svg"===o.type,f=B({},n,{color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:u,hasSvgAsChild:h}),m={};c||(m.viewBox=u);const b=(e=>{const{color:t,fontSize:n,classes:o}=e;return $r({root:["root","inherit"!==t&&`color${Sn(t)}`,`fontSize${Sn(n)}`]},Li,o)})(f);return cn.jsxs(Ti,B({as:a,className:Lo(b.root,r),focusable:"false",color:s,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},m,p,h&&o.props,{ownerState:f,children:[h?o.props.children:o,d?cn.jsx("title",{children:d}):null]}))}));Mi.muiName="SvgIcon";var Pi=Mi;function Oi(e,t){function n(n,o){return cn.jsx(Pi,B({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=Pi.muiName,v.memo(v.forwardRef(n))}function $i(e,t){return $i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$i(e,t)}function Ni(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,$i(e,t)}var Bi=!1,ji=E.createContext(null),Di="unmounted",zi="exited",Fi="entering",Gi="entered",Hi="exiting",Yi=function(e){function t(t,n){var o;o=e.call(this,t,n)||this;var r,i=n&&!n.isMounting?t.enter:t.appear;return o.appearStatus=null,t.in?i?(r=zi,o.appearStatus=Fi):r=Gi:r=t.unmountOnExit||t.mountOnEnter?Di:zi,o.state={status:r},o.nextCallback=null,o}Ni(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Di?{status:zi}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Fi&&n!==Gi&&(t=Fi):n!==Fi&&n!==Gi||(t=Hi)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,o=this.props.timeout;return e=t=n=o,null!=o&&"number"!=typeof o&&(e=o.exit,t=o.enter,n=void 0!==o.appear?o.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===Fi){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:_.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zi&&this.setState({status:Di})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[_.findDOMNode(this),o],i=r[0],a=r[1],l=this.getTimeouts(),s=o?l.appear:l.enter;!e&&!n||Bi?this.safeSetState({status:Gi},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Fi},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Gi},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),o=this.props.nodeRef?void 0:_.findDOMNode(this);t&&!Bi?(this.props.onExit(o),this.safeSetState({status:Hi},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:zi},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:zi},(function(){e.props.onExited(o)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(o){n&&(n=!1,t.nextCallback=null,e(o))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:_.findDOMNode(this),o=null==e&&!this.props.addEndListener;if(n&&!o){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=r[0],a=r[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Di)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var o=j(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return E.createElement(ji.Provider,{value:null},"function"==typeof n?n(e,o):E.cloneElement(E.Children.only(n),o))},t}(E.Component);function Wi(){}Yi.contextType=ji,Yi.propTypes={},Yi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wi,onEntering:Wi,onEntered:Wi,onExit:Wi,onExiting:Wi,onExited:Wi},Yi.UNMOUNTED=Di,Yi.EXITED=zi,Yi.ENTERING=Fi,Yi.ENTERED=Gi,Yi.EXITING=Hi;var Vi=Yi;function Ui(e,t){var n=Object.create(null);return e&&S.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&C(e)?t(e):e}(e)})),n}function qi(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Ki(e,t,n){var o=Ui(e.children),r=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var o,r=Object.create(null),i=[];for(var a in e)a in t?i.length&&(r[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(r[s])for(o=0;o<r[s].length;o++){var c=r[s][o];l[r[s][o]]=n(c)}l[s]=n(s)}for(o=0;o<i.length;o++)l[i[o]]=n(i[o]);return l}(t,o);return Object.keys(r).forEach((function(i){var a=r[i];if(C(a)){var l=i in t,s=i in o,c=t[i],d=C(c)&&!c.props.in;!s||l&&!d?s||!l||d?s&&l&&C(c)&&(r[i]=w(a,{onExited:n.bind(null,a),in:c.props.in,exit:qi(a,"exit",e),enter:qi(a,"enter",e)})):r[i]=w(a,{in:!1}):r[i]=w(a,{onExited:n.bind(null,a),in:!0,exit:qi(a,"exit",e),enter:qi(a,"enter",e)})}})),r}var Xi=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Qi=function(e){function t(t,n){var o,r=(o=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(o));return o.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},o}Ni(t,e);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(e,t){var n,o,r=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,o=i,Ui(n.children,(function(e){return w(e,{onExited:o.bind(null,e),in:!0,appear:qi(e,"appear",n),enter:qi(e,"enter",n),exit:qi(e,"exit",n)})}))):Ki(e,r,i),firstRender:!1}},n.handleExited=function(e,t){var n=Ui(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=B({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=j(e,["component","childFactory"]),r=this.state.contextValue,i=Xi(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?E.createElement(ji.Provider,{value:r},i):E.createElement(ji.Provider,{value:r},E.createElement(t,o,i))},t}(E.Component);Qi.propTypes={},Qi.defaultProps={component:"div",childFactory:function(e){return e}};var Zi=Qi;const Ji=e=>e.scrollTop;function ea(e,t){var n,o;const{timeout:r,easing:i,style:a={}}=e;return{duration:null!=(n=a.transitionDuration)?n:"number"==typeof r?r:r[t.mode]||0,easing:null!=(o=a.transitionTimingFunction)?o:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function ta(e){return Mo("MuiPaper",e)}Po("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 na=["className","component","elevation","square","variant"],oa=Ri("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],!n.square&&t.rounded,"elevation"===n.variant&&t[`elevation${n.elevation}`]]}})((({theme:e,ownerState:t})=>{var n;return B({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&B({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${hr("#fff",Ii(t.elevation))}, ${hr("#fff",Ii(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}));var ra=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiPaper"}),{className:o,component:r="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=j(n,na),c=B({},n,{component:r,elevation:i,square:a,variant:l}),d=(e=>{const{square:t,elevation:n,variant:o,classes:r}=e;return $r({root:["root",o,!t&&"rounded","elevation"===o&&`elevation${n}`]},ta,r)})(c);return cn.jsx(oa,B({as:r,ownerState:c,className:Lo(d.root,o),ref:t},s))}));function ia(e){return"string"==typeof e}function aa(e,t=[]){if(void 0===e)return{};const n={};return Object.keys(e).filter((n=>n.match(/^on[A-Z]/)&&"function"==typeof e[n]&&!t.includes(n))).forEach((t=>{n[t]=e[t]})),n}function la(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((n=>{t[n]=e[n]})),t}const sa=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function ca(e){var t;const{elementType:n,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:i=!1}=e,a=j(e,sa),l=i?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(o,r),{props:s,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:o,externalForwardedProps:r,className:i}=e;if(!t){const e=Lo(null==n?void 0:n.className,i,null==r?void 0:r.className,null==o?void 0:o.className),t=B({},null==n?void 0:n.style,null==r?void 0:r.style,null==o?void 0:o.style),a=B({},n,r,o);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=aa(B({},r,o)),l=la(o),s=la(r),c=t(a),d=Lo(null==c?void 0:c.className,null==n?void 0:n.className,i,null==r?void 0:r.className,null==o?void 0:o.className),u=B({},null==c?void 0:c.style,null==n?void 0:n.style,null==r?void 0:r.style,null==o?void 0:o.style),p=B({},c,n,s,l);return d.length>0&&(p.className=d),Object.keys(u).length>0&&(p.style=u),{props:p,internalRef:c.ref}}(B({},a,{externalSlotProps:l})),d=function(e,t,n){return void 0===e||ia(e)?t:B({},t,{ownerState:B({},t.ownerState,n)})}(n,B({},s,{ref:xr(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),r);return d}var da=Po("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const ua=["center","classes","className"];let pa,ha,fa,ma,ba=e=>e;const ga=Wt(pa||(pa=ba`
|
|
14
|
+
*/function yr(e,t){return ur(e,t)}"object"==typeof document&&(gr=Ue({key:"css",prepend:!0}));var xr=Object.freeze({__proto__:null,GlobalStyles:vr,StyledEngineProvider:function(e){const{injectFirst:t,children:r}=e;return t&&gr?br.jsx(Tt,{value:gr,children:r}):r},ThemeContext:Lt,css:Kt,default:yr,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},keyframes:Xt});function Er(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function Sr(e){if(v.isValidElement(e)||!Er(e))return e;const t={};return Object.keys(e).forEach((r=>{t[r]=Sr(e[r])})),t}function Cr(e,t,r={clone:!0}){const n=r.clone?$({},e):e;return Er(e)&&Er(t)&&Object.keys(t).forEach((o=>{v.isValidElement(t[o])?n[o]=t[o]:Er(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Er(e[o])?n[o]=Cr(e[o],t[o],r):r.clone?n[o]=Er(t[o])?Sr(t[o]):t[o]:n[o]=t[o]})),n}var wr=Object.freeze({__proto__:null,default:Cr,isPlainObject:Er});const Rr=["values","unit","step"];function kr(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,o=B(e,Rr),i=(e=>{const t=Object.keys(e).map((t=>({key:t,val:e[t]})))||[];return t.sort(((e,t)=>e.val-t.val)),t.reduce(((e,t)=>$({},e,{[t.key]:t.val})),{})})(t),a=Object.keys(i);function l(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function s(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-n/100}${r})`}function c(e,o){const i=a.indexOf(o);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==i&&"number"==typeof t[a[i]]?t[a[i]]:o)-n/100}${r})`}return $({keys:a,values:i,up:l,down:s,between:c,only:function(e){return a.indexOf(e)+1<a.length?c(e,a[a.indexOf(e)+1]):l(e)},not:function(e){const t=a.indexOf(e);return 0===t?l(a[1]):t===a.length-1?s(a[t]):c(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},o)}var Ar={borderRadius:4};function _r(e,t){return t?Cr(e,t,{clone:!1}):e}const Ir={xs:0,sm:600,md:900,lg:1200,xl:1536},Tr={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Ir[e]}px)`};function Or(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||Tr;return t.reduce(((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n)),{})}if("object"==typeof t){const e=n.breakpoints||Tr;return Object.keys(t).reduce(((n,o)=>{if(-1!==Object.keys(e.values||Ir).indexOf(o)){n[e.up(o)]=r(t[o],o)}else{const e=o;n[e]=t[e]}return n}),{})}return r(t)}function Lr(e){if("string"!=typeof e)throw new Error(M(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Pr=Object.freeze({__proto__:null,default:Lr});function Mr(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce(((e,t)=>e&&e[t]?e[t]:null),e);if(null!=r)return r}return t.split(".").reduce(((e,t)=>e&&null!=e[t]?e[t]:null),e)}function jr(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:Mr(e,r)||n,t&&(o=t(o,n,e)),o}function Nr(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Mr(e.theme,n)||{};return Or(e,i,(e=>{let n=jr(a,o,e);return e===n&&"string"==typeof e&&(n=jr(a,o,`${t}${"default"===e?"":Lr(e)}`,e)),!1===r?n:{[r]:n}}))};return i.propTypes={},i.filterProps=[t],i}const $r={m:"margin",p:"padding"},Br={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},zr={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Dr=function(e){const t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}((e=>{if(e.length>2){if(!zr[e])return[e];e=zr[e]}const[t,r]=e.split(""),n=$r[t],o=Br[r]||"";return Array.isArray(o)?o.map((e=>n+e)):[n+o]})),Fr=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Gr=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Hr(e,t,r,n){var o;const i=null!=(o=Mr(e,t,!1))?o:r;return"number"==typeof i?e=>"string"==typeof e?e:i*e:Array.isArray(i)?e=>"string"==typeof e?e:i[e]:"function"==typeof i?i:()=>{}}function Wr(e){return Hr(e,"spacing",8)}function Yr(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function Vr(e,t,r,n){if(-1===t.indexOf(r))return null;const o=function(e,t){return r=>e.reduce(((e,n)=>(e[n]=Yr(t,r),e)),{})}(Dr(r),n);return Or(e,e[r],o)}function Ur(e,t){const r=Wr(e.theme);return Object.keys(e).map((n=>Vr(e,t,n,r))).reduce(_r,{})}function qr(e){return Ur(e,Fr)}function Kr(e){return Ur(e,Gr)}function Xr(...e){const t=e.reduce(((e,t)=>(t.filterProps.forEach((r=>{e[r]=t})),e)),{}),r=e=>Object.keys(e).reduce(((r,n)=>t[n]?_r(r,t[n](e)):r),{});return r.propTypes={},r.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),r}function Qr(e){return"number"!=typeof e?e:`${e}px solid`}function Zr(e,t){return Nr({prop:e,themeKey:"borders",transform:t})}qr.propTypes={},qr.filterProps=Fr,Kr.propTypes={},Kr.filterProps=Gr;const Jr=Zr("border",Qr),en=Zr("borderTop",Qr),tn=Zr("borderRight",Qr),rn=Zr("borderBottom",Qr),nn=Zr("borderLeft",Qr),on=Zr("borderColor"),an=Zr("borderTopColor"),ln=Zr("borderRightColor"),sn=Zr("borderBottomColor"),cn=Zr("borderLeftColor"),dn=Zr("outline",Qr),un=Zr("outlineColor"),pn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Hr(e.theme,"shape.borderRadius",4),r=e=>({borderRadius:Yr(t,e)});return Or(e,e.borderRadius,r)}return null};pn.propTypes={},pn.filterProps=["borderRadius"],Xr(Jr,en,tn,rn,nn,on,an,ln,sn,cn,pn,dn,un);const hn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Hr(e.theme,"spacing",8),r=e=>({gap:Yr(t,e)});return Or(e,e.gap,r)}return null};hn.propTypes={},hn.filterProps=["gap"];const fn=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Hr(e.theme,"spacing",8),r=e=>({columnGap:Yr(t,e)});return Or(e,e.columnGap,r)}return null};fn.propTypes={},fn.filterProps=["columnGap"];const mn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Hr(e.theme,"spacing",8),r=e=>({rowGap:Yr(t,e)});return Or(e,e.rowGap,r)}return null};mn.propTypes={},mn.filterProps=["rowGap"];function bn(e,t){return"grey"===t?t:e}Xr(hn,fn,mn,Nr({prop:"gridColumn"}),Nr({prop:"gridRow"}),Nr({prop:"gridAutoFlow"}),Nr({prop:"gridAutoColumns"}),Nr({prop:"gridAutoRows"}),Nr({prop:"gridTemplateColumns"}),Nr({prop:"gridTemplateRows"}),Nr({prop:"gridTemplateAreas"}),Nr({prop:"gridArea"}));function gn(e){return e<=1&&0!==e?100*e+"%":e}Xr(Nr({prop:"color",themeKey:"palette",transform:bn}),Nr({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:bn}),Nr({prop:"backgroundColor",themeKey:"palette",transform:bn}));const vn=Nr({prop:"width",transform:gn}),yn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||Ir[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:gn(t)}};return Or(e,e.maxWidth,t)}return null};yn.filterProps=["maxWidth"];const xn=Nr({prop:"minWidth",transform:gn}),En=Nr({prop:"height",transform:gn}),Sn=Nr({prop:"maxHeight",transform:gn}),Cn=Nr({prop:"minHeight",transform:gn});Nr({prop:"size",cssProperty:"width",transform:gn}),Nr({prop:"size",cssProperty:"height",transform:gn});Xr(vn,yn,xn,En,Sn,Cn,Nr({prop:"boxSizing"}));var wn={border:{themeKey:"borders",transform:Qr},borderTop:{themeKey:"borders",transform:Qr},borderRight:{themeKey:"borders",transform:Qr},borderBottom:{themeKey:"borders",transform:Qr},borderLeft:{themeKey:"borders",transform:Qr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:pn},color:{themeKey:"palette",transform:bn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:bn},backgroundColor:{themeKey:"palette",transform:bn},p:{style:Kr},pt:{style:Kr},pr:{style:Kr},pb:{style:Kr},pl:{style:Kr},px:{style:Kr},py:{style:Kr},padding:{style:Kr},paddingTop:{style:Kr},paddingRight:{style:Kr},paddingBottom:{style:Kr},paddingLeft:{style:Kr},paddingX:{style:Kr},paddingY:{style:Kr},paddingInline:{style:Kr},paddingInlineStart:{style:Kr},paddingInlineEnd:{style:Kr},paddingBlock:{style:Kr},paddingBlockStart:{style:Kr},paddingBlockEnd:{style:Kr},m:{style:qr},mt:{style:qr},mr:{style:qr},mb:{style:qr},ml:{style:qr},mx:{style:qr},my:{style:qr},margin:{style:qr},marginTop:{style:qr},marginRight:{style:qr},marginBottom:{style:qr},marginLeft:{style:qr},marginX:{style:qr},marginY:{style:qr},marginInline:{style:qr},marginInlineStart:{style:qr},marginInlineEnd:{style:qr},marginBlock:{style:qr},marginBlockStart:{style:qr},marginBlockEnd:{style:qr},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:hn},rowGap:{style:mn},columnGap:{style:fn},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:gn},maxWidth:{style:yn},minWidth:{transform:gn},height:{transform:gn},maxHeight:{transform:gn},minHeight:{transform:gn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Rn(){function e(e,t,r,n){const o={[e]:t,theme:r},i=n[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:c}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const d=Mr(r,l)||{};if(c)return c(o);return Or(o,t,(t=>{let r=jr(d,s,t);return t===r&&"string"==typeof t&&(r=jr(d,s,`${e}${"default"===t?"":Lr(t)}`,t)),!1===a?r:{[a]:r}}))}return function t(r){var n;const{sx:o,theme:i={}}=r||{};if(!o)return null;const a=null!=(n=i.unstable_sxConfig)?n:wn;function l(r){let n=r;if("function"==typeof r)n=r(i);else if("object"!=typeof r)return r;if(!n)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce(((t,r)=>(t[e.up(r)]={},t)),{}))||{}}(i.breakpoints),l=Object.keys(o);let s=o;return Object.keys(n).forEach((r=>{const o=(l=n[r],c=i,"function"==typeof l?l(c):l);var l,c;if(null!=o)if("object"==typeof o)if(a[r])s=_r(s,e(r,o,i,a));else{const e=Or({theme:i},o,(e=>({[r]:e})));!function(...e){const t=e.reduce(((e,t)=>e.concat(Object.keys(t))),[]),r=new Set(t);return e.every((e=>r.size===Object.keys(e).length))}(e,o)?s=_r(s,e):s[r]=t({sx:o,theme:i})}else s=_r(s,e(r,o,i,a))})),function(e,t){return e.reduce(((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e}),t)}(l,s)}return Array.isArray(o)?o.map(l):l(o)}}const kn=Rn();kn.filterProps=["sx"];var An=kn;function _n(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}const In=["breakpoints","palette","spacing","shape"];function Tn(e={},...t){const{breakpoints:r={},palette:n={},spacing:o,shape:i={}}=e,a=B(e,In),l=kr(r),s=function(e=8){if(e.mui)return e;const t=Wr({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map((e=>{const r=t(e);return"number"==typeof r?`${r}px`:r})).join(" ");return r.mui=!0,r}(o);let c=Cr({breakpoints:l,direction:"ltr",components:{},palette:$({mode:"light"},n),spacing:s,shape:$({},Ar,i)},a);return c.applyStyles=_n,c=t.reduce(((e,t)=>Cr(e,t)),c),c.unstable_sxConfig=$({},wn,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return An({sx:e,theme:this})},c}var On=Object.freeze({__proto__:null,default:Tn,private_createBreakpoints:kr,unstable_applyStyles:_n});function Ln(e=null){const t=v.useContext(Lt);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}const Pn=Tn();function Mn(e=Pn){return Ln(e)}function jn({styles:e,themeId:t,defaultTheme:r={}}){const n=Mn(r),o="function"==typeof e?e(t&&n[t]||n):e;return br.jsx(vr,{styles:o})}const Nn=["sx"];function $n(e){const{sx:t}=e,r=B(e,Nn),{systemProps:n,otherProps:o}=(e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:wn;return Object.keys(e).forEach((t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]})),n})(r);let i;return i=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return Er(r)?$({},n,r):n}:$({},n,t),$({},o,{sx:i})}var Bn=Object.freeze({__proto__:null,default:An,extendSxProp:$n,unstable_createStyleFunctionSx:Rn,unstable_defaultSxConfig:wn});const zn=e=>e;var Dn=(()=>{let e=zn;return{configure(t){e=t},generate:t=>e(t),reset(){e=zn}}})();function Fn(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Fn(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Gn(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Fn(e))&&(n&&(n+=" "),n+=t);return n}const Hn=["className","component"];const Wn={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 Yn(e,t,r="Mui"){const n=Wn[t];return n?`${r}-${n}`:`${Dn.generate(e)}-${t}`}function Vn(e,t,r="Mui"){const n={};return t.forEach((t=>{n[t]=Yn(e,t,r)})),n}var Un,qn,Kn={exports:{}},Xn={};function Qn(){if(Un)return Xn;Un=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),u=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),h=Symbol.for("react.client.reference");function f(p){if("object"==typeof p&&null!==p){var h=p.$$typeof;switch(h){case e:switch(p=p.type){case r:case o:case n:case s:case c:return p;default:switch(p=p&&p.$$typeof){case a:case l:case u:case d:case i:return p;default:return h}}case t:return h}}}return Xn.ContextConsumer=i,Xn.ContextProvider=a,Xn.Element=e,Xn.ForwardRef=l,Xn.Fragment=r,Xn.Lazy=u,Xn.Memo=d,Xn.Portal=t,Xn.Profiler=o,Xn.StrictMode=n,Xn.Suspense=s,Xn.SuspenseList=c,Xn.isContextConsumer=function(e){return f(e)===i},Xn.isContextProvider=function(e){return f(e)===a},Xn.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},Xn.isForwardRef=function(e){return f(e)===l},Xn.isFragment=function(e){return f(e)===r},Xn.isLazy=function(e){return f(e)===u},Xn.isMemo=function(e){return f(e)===d},Xn.isPortal=function(e){return f(e)===t},Xn.isProfiler=function(e){return f(e)===o},Xn.isStrictMode=function(e){return f(e)===n},Xn.isSuspense=function(e){return f(e)===s},Xn.isSuspenseList=function(e){return f(e)===c},Xn.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===o||e===n||e===s||e===c||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===u||e.$$typeof===d||e.$$typeof===a||e.$$typeof===i||e.$$typeof===l||e.$$typeof===h||void 0!==e.getModuleId)},Xn.typeOf=f,Xn}function Zn(){return qn||(qn=1,Kn.exports=Qn()),Kn.exports}var Jn=Zn();const eo=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function to(e){const t=`${e}`.match(eo);return t&&t[1]||""}function ro(e,t=""){return e.displayName||e.name||to(e)||t}function no(e,t,r){const n=ro(t);return e.displayName||(""!==n?`${r}(${n})`:r)}var oo=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ro(e,"Component");if("object"==typeof e)switch(e.$$typeof){case Jn.ForwardRef:return no(e,e.render,"ForwardRef");case Jn.Memo:return no(e,e.type,"memo");default:return}}},getFunctionName:to});function io(e,t){const r=$({},t);return Object.keys(e).forEach((n=>{if(n.toString().match(/^(components|slots)$/))r[n]=$({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=$({},i),Object.keys(o).forEach((e=>{r[n][e]=io(o[e],i[e])}))):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])})),r}var ao="undefined"!=typeof window?v.useLayoutEffect:v.useEffect;function lo(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}var so=Object.freeze({__proto__:null,default:lo});function co(e){if(e.type)return e;if("#"===e.charAt(0))return co(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error(M(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error(M(10,n))}else o=o.split(",");return o=o.map((e=>parseFloat(e))),{type:r,values:o,colorSpace:n}}function uo(e,t){return e=co(e),t=function(e,t=0,r=1){return lo(e,t,r)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}(e)}function po(...e){return e.reduce(((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)}),(()=>{}))}function ho(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout((()=>{e.apply(this,n)}),t)}return n.clear=()=>{clearTimeout(r)},n}function fo(e){return e&&e.ownerDocument||document}function mo(e){return fo(e).defaultView||window}function bo(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function go(e){const t=v.useRef(e);return ao((()=>{t.current=e})),v.useRef(((...e)=>(0,t.current)(...e))).current}function vo(...e){return v.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{bo(e,t)}))}),e)}const yo={};const xo=[];class Eo{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Eo}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}function So(){const e=function(e,t){const r=v.useRef(yo);return r.current===yo&&(r.current=e(t)),r}(Eo.create).current;return function(e){v.useEffect(e,xo)}(e.disposeEffect),e}let Co=!0,wo=!1;const Ro=new Eo,ko={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function Ao(e){e.metaKey||e.altKey||e.ctrlKey||(Co=!0)}function _o(){Co=!1}function Io(){"hidden"===this.visibilityState&&wo&&(Co=!0)}function To(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Co||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!ko[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}function Oo(){const e=v.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Ao,!0),t.addEventListener("mousedown",_o,!0),t.addEventListener("pointerdown",_o,!0),t.addEventListener("touchstart",_o,!0),t.addEventListener("visibilitychange",Io,!0))}),[]),t=v.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!To(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(wo=!0,Ro.start(100,(()=>{wo=!1})),t.current=!1,!0)},ref:e}}function Lo(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Po;function Mo(){if(Po)return Po;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Po="reverse",e.scrollLeft>0?Po="default":(e.scrollLeft=1,0===e.scrollLeft&&(Po="negative")),document.body.removeChild(e),Po}function jo(e,t){const r=e.scrollLeft;if("rtl"!==t)return r;switch(Mo()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}function No(e,t,r=void 0){const n={};return Object.keys(e).forEach((o=>{n[o]=e[o].reduce(((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e}),[]).join(" ")})),n}function $o(e){return"string"==typeof e}function Bo(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter((r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r))).forEach((t=>{r[t]=e[t]})),r}function zo(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((r=>{t[r]=e[r]})),t}const Do=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Fo(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=B(e,Do),l=i?{}:function(e,t,r){return"function"==typeof e?e(t,r):e}(n,o),{props:s,internalRef:c}=function(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=Gn(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=$({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=$({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Bo($({},o,n)),l=zo(n),s=zo(o),c=t(a),d=Gn(null==c?void 0:c.className,null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),u=$({},null==c?void 0:c.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),p=$({},c,r,s,l);return d.length>0&&(p.className=d),Object.keys(u).length>0&&(p.style=u),{props:p,internalRef:c.ref}}($({},a,{externalSlotProps:l})),d=function(e,t,r){return void 0===e||$o(e)?t:$({},t,{ownerState:$({},t.ownerState,r)})}(r,$({},s,{ref:vo(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return d}function Go(e){var t;return parseInt(v.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}var Ho=v.createContext(null);function Wo(){return v.useContext(Ho)}var Yo="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Vo(e){const{children:t,theme:r}=e,n=Wo(),o=v.useMemo((()=>{const e=null===n?r:function(e,t){if("function"==typeof t)return t(e);return $({},e,t)}(n,r);return null!=e&&(e[Yo]=null!==n),e}),[r,n]);return br.jsx(Ho.Provider,{value:o,children:t})}const Uo=["value"],qo=v.createContext();function Ko(e){let{value:t}=e,r=B(e,Uo);return br.jsx(qo.Provider,$({value:null==t||t},r))}const Xo=()=>{const e=v.useContext(qo);return null!=e&&e},Qo=v.createContext(void 0);function Zo({value:e,children:t}){return br.jsx(Qo.Provider,{value:e,children:t})}function Jo({props:e,name:t}){return function(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const o=t.components[r];return o.defaultProps?io(o.defaultProps,n):o.styleOverrides||o.variants?n:io(o,n)}({props:e,name:t,theme:{components:v.useContext(Qo)}})}const ei={};function ti(e,t,r,n=!1){return v.useMemo((()=>{const o=e&&t[e]||t;if("function"==typeof r){const i=r(o),a=e?$({},t,{[e]:i}):i;return n?()=>a:a}return $({},t,e?{[e]:r}:r)}),[e,t,r,n])}function ri(e){const{children:t,theme:r,themeId:n}=e,o=Ln(ei),i=Wo()||ei,a=ti(n,o,r),l=ti(n,i,r,!0),s="rtl"===a.direction;return br.jsx(Vo,{theme:l,children:br.jsx(Lt.Provider,{value:a,children:br.jsx(Ko,{value:s,children:br.jsx(Zo,{value:null==a?void 0:a.components,children:t})})})})}var ni,oi={},ii={exports:{}};function ai(){return ni||(ni=1,(e=ii).exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports),ii.exports;var e}var li,si=Ke(j),ci=Ke(so);function di(){if(li)return oi;li=1;var e=ai();Object.defineProperty(oi,"__esModule",{value:!0}),oi.alpha=d,oi.blend=function(e,t,r,n=1){const o=(e,t)=>Math.round((e**(1/n)*(1-r)+t**(1/n)*r)**n),a=i(e),s=i(t),c=[o(a.values[0],s.values[0]),o(a.values[1],s.values[1]),o(a.values[2],s.values[2])];return l({type:"rgb",values:c})},oi.colorChannel=void 0,oi.darken=u,oi.decomposeColor=i,oi.emphasize=h,oi.getContrastRatio=function(e,t){const r=c(e),n=c(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},oi.getLuminance=c,oi.hexToRgb=o,oi.hslToRgb=s,oi.lighten=p,oi.private_safeAlpha=function(e,t,r){try{return d(e,t)}catch(t){return e}},oi.private_safeColorChannel=void 0,oi.private_safeDarken=function(e,t,r){try{return u(e,t)}catch(t){return e}},oi.private_safeEmphasize=function(e,t,r){try{return h(e,t)}catch(t){return e}},oi.private_safeLighten=function(e,t,r){try{return p(e,t)}catch(t){return e}},oi.recomposeColor=l,oi.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=i(e);return`#${t.map(((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e))).join("")}`};var t=e(si),r=e(ci);function n(e,t=0,n=1){return(0,r.default)(e,t,n)}function o(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map((e=>e+e))),r?`rgb${4===r.length?"a":""}(${r.map(((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3)).join(", ")})`:""}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(o(e));const r=e.indexOf("("),n=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw new Error((0,t.default)(9,e));let a,l=e.substring(r+1,e.length-1);if("color"===n){if(l=l.split(" "),a=l.shift(),4===l.length&&"/"===l[3].charAt(0)&&(l[3]=l[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a))throw new Error((0,t.default)(10,a))}else l=l.split(",");return l=l.map((e=>parseFloat(e))),{type:n,values:l,colorSpace:a}}const a=e=>{const t=i(e);return t.values.slice(0,3).map(((e,r)=>-1!==t.type.indexOf("hsl")&&0!==r?`${e}%`:e)).join(" ")};oi.colorChannel=a;function l(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map(((e,t)=>t<3?parseInt(e,10):e)):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function s(e){e=i(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,a=n*Math.min(o,1-o),s=(e,t=(e+r/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const d=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(c+="a",d.push(t[3])),l({type:c,values:d})}function c(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(s(e)).values:e.values;return t=t.map((t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4))),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function d(e,t){return e=i(e),t=n(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function u(e,t){if(e=i(e),t=n(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function p(e,t){if(e=i(e),t=n(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}function h(e,t=.15){return c(e)>.5?u(e,t):p(e,t)}return oi.private_safeColorChannel=(e,t)=>{try{return a(e)}catch(t){return e}},oi}var ui=di();var pi={black:"#000",white:"#fff"};var hi={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"};var fi={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"};var mi={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"};var bi={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"};var gi={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"};var yi={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"};var xi={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"};const Ei=["mode","contrastThreshold","tonalOffset"],Si={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:pi.white,default:pi.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}},Ci={text:{primary:pi.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:pi.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function wi(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=ui.lighten(e.main,o):"dark"===t&&(e.dark=ui.darken(e.main,i)))}function Ri(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=B(e,Ei),i=e.primary||function(e="light"){return"dark"===e?{main:gi[200],light:gi[50],dark:gi[400]}:{main:gi[700],light:gi[400],dark:gi[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:fi[200],light:fi[50],dark:fi[400]}:{main:fi[500],light:fi[300],dark:fi[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:mi[500],light:mi[300],dark:mi[700]}:{main:mi[700],light:mi[400],dark:mi[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:yi[400],light:yi[300],dark:yi[700]}:{main:yi[700],light:yi[500],dark:yi[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:xi[400],light:xi[300],dark:xi[700]}:{main:xi[800],light:xi[500],dark:xi[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:bi[400],light:bi[300],dark:bi[700]}:{main:"#ed6c02",light:bi[500],dark:bi[900]}}(t);function u(e){return ui.getContrastRatio(e,Ci.text.primary)>=r?Ci.text.primary:Si.text.primary}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=$({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error(M(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error(M(12,t?` (${t})`:"",JSON.stringify(e.main)));return wi(e,"light",o,n),wi(e,"dark",i,n),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:Ci,light:Si};return Cr($({common:$({},pi),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:l,name:"error"}),warning:p({color:d,name:"warning"}),info:p({color:s,name:"info"}),success:p({color:c,name:"success"}),grey:hi,contrastThreshold:r,getContrastText:u,augmentColor:p,tonalOffset:n},h[t]),o)}const ki=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const Ai={textTransform:"uppercase"},_i='"Roboto", "Helvetica", "Arial", sans-serif';function Ii(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=_i,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:c=16,allVariants:d,pxToRem:u}=r,p=B(r,ki),h=o/14,f=u||(e=>e/c*h+"rem"),m=(e,t,r,o,i)=>{return $({fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:r},n===_i?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,d);var a},b={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(l,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(l,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(l,14,1.75,.4,Ai),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,Ai),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Cr($({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},b),p,{clone:!1})}function Ti(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}var Oi=["none",Ti(0,2,1,-1,0,1,1,0,0,1,3,0),Ti(0,3,1,-2,0,2,2,0,0,1,5,0),Ti(0,3,3,-2,0,3,4,0,0,1,8,0),Ti(0,2,4,-1,0,4,5,0,0,1,10,0),Ti(0,3,5,-1,0,5,8,0,0,1,14,0),Ti(0,3,5,-1,0,6,10,0,0,1,18,0),Ti(0,4,5,-2,0,7,10,1,0,2,16,1),Ti(0,5,5,-3,0,8,10,1,0,3,14,2),Ti(0,5,6,-3,0,9,12,1,0,3,16,2),Ti(0,6,6,-3,0,10,14,1,0,4,18,3),Ti(0,6,7,-4,0,11,15,1,0,4,20,3),Ti(0,7,8,-4,0,12,17,2,0,5,22,4),Ti(0,7,8,-4,0,13,19,2,0,5,24,4),Ti(0,7,9,-4,0,14,21,2,0,5,26,4),Ti(0,8,9,-5,0,15,22,2,0,6,28,5),Ti(0,8,10,-5,0,16,24,2,0,6,30,5),Ti(0,8,11,-5,0,17,26,2,0,6,32,5),Ti(0,9,11,-5,0,18,28,2,0,7,34,6),Ti(0,9,12,-6,0,19,29,2,0,7,36,6),Ti(0,10,13,-6,0,20,31,3,0,8,38,7),Ti(0,10,13,-6,0,21,33,3,0,8,40,7),Ti(0,10,14,-6,0,22,35,3,0,8,42,7),Ti(0,11,14,-7,0,23,36,3,0,9,44,8),Ti(0,11,15,-7,0,24,38,3,0,9,46,8)];const Li=["duration","easing","delay"],Pi={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)"},Mi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ji(e){return`${Math.round(e)}ms`}function Ni(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function $i(e){const t=$({},Pi,e.easing),r=$({},Mi,e.duration);return $({getAutoHeightDuration:Ni,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return B(n,Li),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof o?o:ji(o)} ${i} ${"string"==typeof a?a:ji(a)}`)).join(",")}},e,{easing:t,duration:r})}var Bi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const zi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Di(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=B(e,zi);if(e.vars)throw new Error(M(18));const l=Ri(n),s=Tn(e);let c=Cr(s,{mixins:(d=s.breakpoints,u=r,$({toolbar:{minHeight:56,[d.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[d.up("sm")]:{minHeight:64}}},u)),palette:l,shadows:Oi.slice(),typography:Ii(l,i),transitions:$i(o),zIndex:$({},Bi)});var d,u;return c=Cr(c,a),c=t.reduce(((e,t)=>Cr(e,t)),c),c.unstable_sxConfig=$({},wn,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return An({sx:e,theme:this})},c}var Fi=Di();function Gi(){const e=Mn(Fi);return e[N]||e}var Hi,Wi={},Yi={exports:{}};var Vi,Ui={exports:{}};var qi,Ki=Ke(xr),Xi=Ke(wr),Qi=Ke(Pr),Zi=Ke(oo),Ji=Ke(On),ea=Ke(Bn);function ta(){if(qi)return Wi;qi=1;var e=ai();Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.default=function(e={}){const{themeId:t,defaultTheme:a=h,rootShouldForwardProp:s=p,slotShouldForwardProp:c=p}=e,u=e=>(0,l.default)((0,r.default)({},e,{theme:m((0,r.default)({},e,{defaultTheme:a,themeId:t}))}));return u.__mui_systemSx=!0,(e,l={})=>{(0,o.internal_processStyles)(e,(e=>e.filter((e=>!(null!=e&&e.__mui_systemSx)))));const{name:h,slot:v,skipVariantsResolver:y,skipSx:x,overridesResolver:E=b(f(v))}=l,S=(0,n.default)(l,d),C=void 0!==y?y:v&&"Root"!==v&&"root"!==v||!1,w=x||!1;let R=p;"Root"===v||"root"===v?R=s:v?R=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(R=void 0);const k=(0,o.default)(e,(0,r.default)({shouldForwardProp:R,label:undefined},S)),A=e=>"function"==typeof e&&e.__emotion_real!==e||(0,i.isPlainObject)(e)?n=>g(e,(0,r.default)({},n,{theme:m({theme:n.theme,defaultTheme:a,themeId:t})})):e,_=(n,...o)=>{let i=A(n);const l=o?o.map(A):[];h&&E&&l.push((e=>{const n=m((0,r.default)({},e,{defaultTheme:a,themeId:t}));if(!n.components||!n.components[h]||!n.components[h].styleOverrides)return null;const o=n.components[h].styleOverrides,i={};return Object.entries(o).forEach((([t,o])=>{i[t]=g(o,(0,r.default)({},e,{theme:n}))})),E(e,i)})),h&&!C&&l.push((e=>{var n;const o=m((0,r.default)({},e,{defaultTheme:a,themeId:t}));return g({variants:null==o||null==(n=o.components)||null==(n=n[h])?void 0:n.variants},(0,r.default)({},e,{theme:o}))})),w||l.push(u);const s=l.length-o.length;if(Array.isArray(n)&&s>0){const e=new Array(s).fill("");i=[...n,...e],i.raw=[...n.raw,...e]}const c=k(i,...l);return e.muiName&&(c.muiName=e.muiName),c};return k.withConfig&&(_.withConfig=k.withConfig),_}},Wi.shouldForwardProp=p,Wi.systemDefaultTheme=void 0;var t,r=e((Hi||(Hi=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Yi)),Yi.exports)),n=e((Vi||(Vi=1,(t=Ui).exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r},t.exports.__esModule=!0,t.exports.default=t.exports),Ui.exports)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(Ki),i=Xi;e(Qi),e(Zi);var a=e(Ji),l=e(ea);const s=["ownerState"],c=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const h=Wi.systemDefaultTheme=(0,a.default)(),f=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function b(e){return e?(t,r)=>r[e]:null}function g(e,t){let{ownerState:o}=t,i=(0,n.default)(t,s);const a="function"==typeof e?e((0,r.default)({ownerState:o},i)):e;if(Array.isArray(a))return a.flatMap((e=>g(e,(0,r.default)({ownerState:o},i))));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,n.default)(a,c);return e.forEach((e=>{let n=!0;"function"==typeof e.props?n=e.props((0,r.default)({ownerState:o},i,o)):Object.keys(e.props).forEach((t=>{(null==o?void 0:o[t])!==e.props[t]&&i[t]!==e.props[t]&&(n=!1)})),n&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,r.default)({ownerState:o},i,o)):e.style))})),t}return a}return Wi}var ra=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e;var na=qe(ta())({themeId:N,defaultTheme:Fi,rootShouldForwardProp:ra});const oa=["theme"];function ia(e){let{theme:t}=e,r=B(e,oa);const n=t[N];return br.jsx(ri,$({},r,{themeId:n?N:void 0,theme:n||t}))}var aa=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function la(e){return Jo(e)}function sa(e){return Yn("MuiSvgIcon",e)}Vn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ca=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],da=na("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${Lr(r.color)}`],t[`fontSize${Lr(r.fontSize)}`]]}})((({theme:e,ownerState:t})=>{var r,n,o,i,a,l,s,c,d,u,p,h,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(c=e.typography)||null==(d=c.pxToRem)?void 0:d.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(u=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?u:{action:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[t.color]}})),ua=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiSvgIcon"}),{children:n,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:c=!1,titleAccess:d,viewBox:u="0 0 24 24"}=r,p=B(r,ca),h=v.isValidElement(n)&&"svg"===n.type,f=$({},r,{color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:c,viewBox:u,hasSvgAsChild:h}),m={};c||(m.viewBox=u);const b=(e=>{const{color:t,fontSize:r,classes:n}=e;return No({root:["root","inherit"!==t&&`color${Lr(t)}`,`fontSize${Lr(r)}`]},sa,n)})(f);return br.jsxs(da,$({as:a,className:Gn(b.root,o),focusable:"false",color:s,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:t},m,p,h&&n.props,{ownerState:f,children:[h?n.props.children:n,d?br.jsx("title",{children:d}):null]}))}));ua.muiName="SvgIcon";var pa=ua;function ha(e,t){function r(r,n){return br.jsx(pa,$({"data-testid":`${t}Icon`,ref:n},r,{children:e}))}return r.muiName=pa.muiName,v.memo(v.forwardRef(r))}function fa(e,t){return fa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},fa(e,t)}function ma(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,fa(e,t)}var ba=!1,ga=E.createContext(null),va="unmounted",ya="exited",xa="entering",Ea="entered",Sa="exiting",Ca=function(e){function t(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=ya,n.appearStatus=xa):o=Ea:o=t.unmountOnExit||t.mountOnEnter?va:ya,n.state={status:o},n.nextCallback=null,n}ma(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===va?{status:ya}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==xa&&r!==Ea&&(t=xa):r!==xa&&r!==Ea||(t=Sa)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===xa){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:T.findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ya&&this.setState({status:va})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[T.findDOMNode(this),n],i=o[0],a=o[1],l=this.getTimeouts(),s=n?l.appear:l.enter;!e&&!r||ba?this.safeSetState({status:Ea},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:xa},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Ea},(function(){t.props.onEntered(i,a)}))}))})))},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:T.findDOMNode(this);t&&!ba?(this.props.onExit(n),this.safeSetState({status:Sa},(function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,(function(){e.safeSetState({status:ya},(function(){e.props.onExited(n)}))}))}))):this.safeSetState({status:ya},(function(){e.props.onExited(n)}))},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:T.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},r.render=function(){var e=this.state.status;if(e===va)return null;var t=this.props,r=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var n=B(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return E.createElement(ga.Provider,{value:null},"function"==typeof r?r(e,n):E.cloneElement(E.Children.only(r),n))},t}(E.Component);function wa(){}Ca.contextType=ga,Ca.propTypes={},Ca.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:wa,onEntering:wa,onEntered:wa,onExit:wa,onExiting:wa,onExited:wa},Ca.UNMOUNTED=va,Ca.EXITED=ya,Ca.ENTERING=xa,Ca.ENTERED=Ea,Ca.EXITING=Sa;var Ra=Ca;function ka(e,t){var r=Object.create(null);return e&&S.map(e,(function(e){return e})).forEach((function(e){r[e.key]=function(e){return t&&C(e)?t(e):e}(e)})),r}function Aa(e,t,r){return null!=r[t]?r[t]:e.props[t]}function _a(e,t,r){var n=ka(e.children),o=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var l={};for(var s in t){if(o[s])for(n=0;n<o[s].length;n++){var c=o[s][n];l[o[s][n]]=r(c)}l[s]=r(s)}for(n=0;n<i.length;n++)l[i[n]]=r(i[n]);return l}(t,n);return Object.keys(o).forEach((function(i){var a=o[i];if(C(a)){var l=i in t,s=i in n,c=t[i],d=C(c)&&!c.props.in;!s||l&&!d?s||!l||d?s&&l&&C(c)&&(o[i]=w(a,{onExited:r.bind(null,a),in:c.props.in,exit:Aa(a,"exit",e),enter:Aa(a,"enter",e)})):o[i]=w(a,{in:!1}):o[i]=w(a,{onExited:r.bind(null,a),in:!0,exit:Aa(a,"exit",e),enter:Aa(a,"enter",e)})}})),o}var Ia=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Ta=function(e){function t(t,r){var n,o=(n=e.call(this,t,r)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}ma(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r,n,o=t.children,i=t.handleExited;return{children:t.firstRender?(r=e,n=i,ka(r.children,(function(e){return w(e,{onExited:n.bind(null,e),in:!0,appear:Aa(e,"appear",r),enter:Aa(e,"enter",r),exit:Aa(e,"exit",r)})}))):_a(e,o,i),firstRender:!1}},r.handleExited=function(e,t){var r=ka(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var r=$({},t.children);return delete r[e.key],{children:r}})))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,n=B(e,["component","childFactory"]),o=this.state.contextValue,i=Ia(this.state.children).map(r);return delete n.appear,delete n.enter,delete n.exit,null===t?E.createElement(ga.Provider,{value:o},i):E.createElement(ga.Provider,{value:o},E.createElement(t,n,i))},t}(E.Component);Ta.propTypes={},Ta.defaultProps={component:"div",childFactory:function(e){return e}};var Oa=Ta;const La=e=>e.scrollTop;function Pa(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}function Ma(e){return Yn("MuiPaper",e)}Vn("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 ja=["className","component","elevation","square","variant"],Na=na("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})((({theme:e,ownerState:t})=>{var r;return $({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&$({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${ui.alpha("#fff",aa(t.elevation))}, ${ui.alpha("#fff",aa(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))}));var $a=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiPaper"}),{className:n,component:o="div",elevation:i=1,square:a=!1,variant:l="elevation"}=r,s=B(r,ja),c=$({},r,{component:o,elevation:i,square:a,variant:l}),d=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return No({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},Ma,o)})(c);return br.jsx(Na,$({as:o,ownerState:c,className:Gn(d.root,n),ref:t},s))}));var Ba=Vn("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const za=["center","classes","className"];let Da,Fa,Ga,Ha,Wa=e=>e;const Ya=Xt(Da||(Da=Wa`
|
|
24
15
|
0% {
|
|
25
16
|
transform: scale(0);
|
|
26
17
|
opacity: 0.1;
|
|
@@ -30,7 +21,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
|
|
|
30
21
|
transform: scale(1);
|
|
31
22
|
opacity: 0.3;
|
|
32
23
|
}
|
|
33
|
-
`)),
|
|
24
|
+
`)),Va=Xt(Fa||(Fa=Wa`
|
|
34
25
|
0% {
|
|
35
26
|
opacity: 1;
|
|
36
27
|
}
|
|
@@ -38,7 +29,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
|
|
|
38
29
|
100% {
|
|
39
30
|
opacity: 0;
|
|
40
31
|
}
|
|
41
|
-
`)),
|
|
32
|
+
`)),Ua=Xt(Ga||(Ga=Wa`
|
|
42
33
|
0% {
|
|
43
34
|
transform: scale(1);
|
|
44
35
|
}
|
|
@@ -50,7 +41,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
|
|
|
50
41
|
100% {
|
|
51
42
|
transform: scale(1);
|
|
52
43
|
}
|
|
53
|
-
`)),
|
|
44
|
+
`)),qa=na("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ka=na((function(e){const{className:t,classes:r,pulsate:n=!1,rippleX:o,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:c}=e,[d,u]=v.useState(!1),p=Gn(t,r.ripple,r.rippleVisible,n&&r.ripplePulsate),h={width:a,height:a,top:-a/2+i,left:-a/2+o},f=Gn(r.child,d&&r.childLeaving,n&&r.childPulsate);return l||d||u(!0),v.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,c);return()=>{clearTimeout(e)}}}),[s,l,c]),br.jsx("span",{className:p,style:h,children:br.jsx("span",{className:f})})}),{name:"MuiTouchRipple",slot:"Ripple"})(Ha||(Ha=Wa`
|
|
54
45
|
opacity: 0;
|
|
55
46
|
position: absolute;
|
|
56
47
|
|
|
@@ -93,6 +84,6 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
|
|
|
93
84
|
animation-iteration-count: infinite;
|
|
94
85
|
animation-delay: 200ms;
|
|
95
86
|
}
|
|
96
|
-
`),da.rippleVisible,ga,550,(({theme:e})=>e.transitions.easing.easeInOut),da.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),da.child,da.childLeaving,va,550,(({theme:e})=>e.transitions.easing.easeInOut),da.childPulsate,ya,(({theme:e})=>e.transitions.easing.easeInOut));var Sa=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:r={},className:i}=n,a=j(n,ua),[l,s]=v.useState([]),c=v.useRef(0),d=v.useRef(null);v.useEffect((()=>{d.current&&(d.current(),d.current=null)}),[l]);const u=v.useRef(!1),p=v.useRef(0),h=v.useRef(null),f=v.useRef(null);v.useEffect((()=>()=>{p.current&&clearTimeout(p.current)}),[]);const m=v.useCallback((e=>{const{pulsate:t,rippleX:n,rippleY:o,rippleSize:i,cb:a}=e;s((e=>[...e,cn.jsx(Ea,{classes:{ripple:Lo(r.ripple,da.ripple),rippleVisible:Lo(r.rippleVisible,da.rippleVisible),ripplePulsate:Lo(r.ripplePulsate,da.ripplePulsate),child:Lo(r.child,da.child),childLeaving:Lo(r.childLeaving,da.childLeaving),childPulsate:Lo(r.childPulsate,da.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:o,rippleSize:i},c.current)])),c.current+=1,d.current=a}),[r]),b=v.useCallback(((e={},t={},n=(()=>{}))=>{const{pulsate:r=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&u.current)return void(u.current=!1);"touchstart"===(null==e?void 0:e.type)&&(u.current=!0);const l=a?null:f.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,d,b;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),d=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),d=Math.round(n-s.top)}if(i)b=Math.sqrt((2*s.width**2+s.height**2)/3),b%2==0&&(b+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-d),d)+2;b=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{m({pulsate:r,rippleX:c,rippleY:d,rippleSize:b,cb:n})},p.current=setTimeout((()=>{h.current&&(h.current(),h.current=null)}),80)):m({pulsate:r,rippleX:c,rippleY:d,rippleSize:b,cb:n})}),[o,m]),g=v.useCallback((()=>{b({},{pulsate:!0})}),[b]),y=v.useCallback(((e,t)=>{if(clearTimeout(p.current),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void(p.current=setTimeout((()=>{y(e,t)})));h.current=null,s((e=>e.length>0?e.slice(1):e)),d.current=t}),[]);return v.useImperativeHandle(t,(()=>({pulsate:g,start:b,stop:y})),[g,b,y]),cn.jsx(xa,B({className:Lo(da.root,r.root,i),ref:f},a,{children:cn.jsx(Zi,{component:null,exit:!0,children:l})}))}));function Ca(e){return Mo("MuiButtonBase",e)}var wa=Po("MuiButtonBase",["root","disabled","focusVisible"]);const Ra=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],Aa=Ri("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"},[`&.${wa.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),ka=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiButtonBase"}),{action:o,centerRipple:r=!1,children:i,className:a,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:u=!1,LinkComponent:p="a",onBlur:h,onClick:f,onContextMenu:m,onDragLeave:b,onFocus:g,onFocusVisible:y,onKeyDown:x,onKeyUp:E,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:R,onTouchMove:A,onTouchStart:k,tabIndex:I=0,TouchRippleProps:L,touchRippleRef:_,type:T}=n,M=j(n,Ra),P=v.useRef(null),O=v.useRef(null),$=xr(O,_),{isFocusVisibleRef:N,onFocus:D,onBlur:z,ref:F}=_r(),[G,H]=v.useState(!1);s&&G&&H(!1),v.useImperativeHandle(o,(()=>({focusVisible:()=>{H(!0),P.current.focus()}})),[]);const[Y,W]=v.useState(!1);v.useEffect((()=>{W(!0)}),[]);const V=Y&&!c&&!s;function U(e,t,n=d){return yr((o=>{t&&t(o);return!n&&O.current&&O.current[e](o),!0}))}v.useEffect((()=>{G&&u&&!c&&Y&&O.current.pulsate()}),[c,u,G,Y]);const q=U("start",S),K=U("stop",m),X=U("stop",b),Q=U("stop",w),Z=U("stop",(e=>{G&&e.preventDefault(),C&&C(e)})),J=U("start",k),ee=U("stop",R),te=U("stop",A),ne=U("stop",(e=>{z(e),!1===N.current&&H(!1),h&&h(e)}),!1),oe=yr((e=>{P.current||(P.current=e.currentTarget),D(e),!0===N.current&&(H(!0),y&&y(e)),g&&g(e)})),re=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ie=v.useRef(!1),ae=yr((e=>{u&&!ie.current&&G&&O.current&&" "===e.key&&(ie.current=!0,O.current.stop(e,(()=>{O.current.start(e)}))),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!s&&(e.preventDefault(),f&&f(e))})),le=yr((e=>{u&&" "===e.key&&O.current&&G&&!e.defaultPrevented&&(ie.current=!1,O.current.stop(e,(()=>{O.current.pulsate(e)}))),E&&E(e),f&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&f(e)}));let se=l;"button"===se&&(M.href||M.to)&&(se=p);const ce={};"button"===se?(ce.type=void 0===T?"button":T,ce.disabled=s):(M.href||M.to||(ce.role="button"),s&&(ce["aria-disabled"]=s));const de=xr(t,F,P),ue=B({},n,{centerRipple:r,component:l,disabled:s,disableRipple:c,disableTouchRipple:d,focusRipple:u,tabIndex:I,focusVisible:G}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:o,classes:r}=e,i=$r({root:["root",t&&"disabled",n&&"focusVisible"]},Ca,r);return n&&o&&(i.root+=` ${o}`),i})(ue);return cn.jsxs(Aa,B({as:se,className:Lo(pe.root,a),ownerState:ue,onBlur:ne,onClick:f,onContextMenu:K,onFocus:oe,onKeyDown:ae,onKeyUp:le,onMouseDown:q,onMouseLeave:Z,onMouseUp:Q,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:J,ref:de,tabIndex:s?-1:I,type:T},ce,M,{children:[i,V?cn.jsx(Sa,B({ref:$,center:r},L)):null]}))}));var Ia=ka;function La(e){return Mo("MuiTypography",e)}Po("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const _a=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Ta=Ri("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.variant&&t[n.variant],"inherit"!==n.align&&t[`align${Sn(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>B({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),Ma={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Pa={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Oa=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiTypography"}),o=(e=>Pa[e]||e)(n.color),r=Ro(B({},n,{color:o})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:d=!1,variant:u="body1",variantMapping:p=Ma}=r,h=j(r,_a),f=B({},r,{align:i,color:o,className:a,component:l,gutterBottom:s,noWrap:c,paragraph:d,variant:u,variantMapping:p}),m=l||(d?"p":p[u]||Ma[u])||"span",b=(e=>{const{align:t,gutterBottom:n,noWrap:o,paragraph:r,variant:i,classes:a}=e;return $r({root:["root",i,"inherit"!==e.align&&`align${Sn(t)}`,n&&"gutterBottom",o&&"noWrap",r&&"paragraph"]},La,a)})(f);return cn.jsx(Ta,B({as:m,ref:t,ownerState:f,className:Lo(b.root,a)},h))}));var $a=Oa;const Na=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Ba(e){const t=[],n=[];return Array.from(e.querySelectorAll(Na)).forEach(((e,o)=>{const r=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==r&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===r?t.push(e):n.push({documentOrder:o,tabIndex:r,node:e}))})),n.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function ja(){return!0}function Da(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:r=!1,getTabbable:i=Ba,isEnabled:a=ja,open:l}=e,s=v.useRef(!1),c=v.useRef(null),d=v.useRef(null),u=v.useRef(null),p=v.useRef(null),h=v.useRef(!1),f=v.useRef(null),m=xr(t.ref,f),b=v.useRef(null);v.useEffect((()=>{l&&f.current&&(h.current=!n)}),[n,l]),v.useEffect((()=>{if(!l||!f.current)return;const e=br(f.current);return f.current.contains(e.activeElement)||(f.current.hasAttribute("tabIndex")||f.current.setAttribute("tabIndex","-1"),h.current&&f.current.focus()),()=>{r||(u.current&&u.current.focus&&(s.current=!0,u.current.focus()),u.current=null)}}),[l]),v.useEffect((()=>{if(!l||!f.current)return;const e=br(f.current),t=t=>{b.current=t,!o&&a()&&"Tab"===t.key&&e.activeElement===f.current&&t.shiftKey&&(s.current=!0,d.current&&d.current.focus())},n=()=>{const t=f.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==c.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!h.current)return;let n=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(n=i(f.current)),n.length>0){var r,l;const e=Boolean((null==(r=b.current)?void 0:r.shiftKey)&&"Tab"===(null==(l=b.current)?void 0:l.key)),t=n[0],o=n[n.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}}),[n,o,r,a,l,i]);const g=e=>{null===u.current&&(u.current=e.relatedTarget),h.current=!0};return cn.jsxs(v.Fragment,{children:[cn.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:c,"data-testid":"sentinelStart"}),v.cloneElement(t,{ref:m,onFocus:e=>{null===u.current&&(u.current=e.relatedTarget),h.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),cn.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})}const za=v.forwardRef((function(e,t){const{children:n,container:o,disablePortal:r=!1}=e,[i,a]=v.useState(null),l=xr(v.isValidElement(n)?n.ref:null,t);if(sr((()=>{r||a(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,r]),sr((()=>{if(i&&!r)return vr(t,i),()=>{vr(t,null)}}),[t,i,r]),r){if(v.isValidElement(n)){const e={ref:l};return v.cloneElement(n,e)}return cn.jsx(v.Fragment,{children:n})}return cn.jsx(v.Fragment,{children:i?T.createPortal(n,i):i})}));function Fa(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ga(e){return parseInt(gr(e).getComputedStyle(e).paddingRight,10)||0}function Ha(e,t,n,o,r){const i=[t,n,...o];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),n=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),n="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||n}(e);t&&n&&Fa(e,r)}))}function Ya(e,t){let n=-1;return e.some(((e,o)=>!!t(e)&&(n=o,!0))),n}function Wa(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(function(e){const t=br(e);return t.body===e?gr(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){const e=Tr(br(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${Ga(o)+e}px`;const t=br(o).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Ga(t)+e}px`}))}let e;if(o.parentNode instanceof DocumentFragment)e=br(o).body;else{const t=o.parentElement,n=gr(o);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:o}n.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{n.forEach((({value:e,el:t,property:n})=>{e?t.style.setProperty(n,e):t.style.removeProperty(n)}))}}const Va=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Fa(e.modalRef,!1);const o=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Ha(t,e.mount,e.modalRef,o,!0);const r=Ya(this.containers,(e=>e.container===t));return-1!==r?(this.containers[r].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:o}),n)}mount(e,t){const n=Ya(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];o.restore||(o.restore=Wa(o,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const o=Ya(this.containers,(t=>-1!==t.modals.indexOf(e))),r=this.containers[o];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(n,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Fa(e.modalRef,t),Ha(r.container,e.mount,e.modalRef,r.hiddenSiblings,!1),this.containers.splice(o,1);else{const e=r.modals[r.modals.length-1];e.modalRef&&Fa(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Ua(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:r=Va,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:c,open:d,rootRef:u}=e,p=v.useRef({}),h=v.useRef(null),f=v.useRef(null),m=xr(f,u),[b,g]=v.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const E=()=>(p.current.modalRef=f.current,p.current.mount=h.current,p.current),S=()=>{r.mount(E(),{disableScrollLock:o}),f.current&&(f.current.scrollTop=0)},C=yr((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||br(h.current).body;r.add(E(),e),f.current&&S()})),w=v.useCallback((()=>r.isTopModal(E())),[r]),R=yr((e=>{h.current=e,e&&(d&&w()?S():f.current&&Fa(f.current,x))})),A=v.useCallback((()=>{r.remove(E(),x)}),[x,r]);v.useEffect((()=>()=>{A()}),[A]),v.useEffect((()=>{d?C():y&&i||A()}),[d,A,y,i,C]);const k=e=>t=>{var o;null==(o=e.onKeyDown)||o.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(n||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},I=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const n=aa(e);delete n.onTransitionEnter,delete n.onTransitionExited;const o=B({},n,t);return B({role:"presentation"},o,{onKeyDown:k(o),ref:m})},getBackdropProps:(e={})=>B({"aria-hidden":!0},e,{onClick:I(e),open:d}),getTransitionProps:()=>({onEnter:fr((()=>{g(!1),a&&a()}),null==s?void 0:s.props.onEnter),onExited:fr((()=>{g(!0),l&&l(),i&&A()}),null==s?void 0:s.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:b,hasTransition:y}}const qa=["onChange","maxRows","minRows","style","value"];function Ka(e){return parseInt(e,10)||0}const Xa={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Qa(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const Za=v.forwardRef((function(e,t){const{onChange:n,maxRows:o,minRows:r=1,style:i,value:a}=e,l=j(e,qa),{current:s}=v.useRef(null!=a),c=v.useRef(null),d=xr(t,c),u=v.useRef(null),p=v.useRef(0),[h,f]=v.useState({outerHeightStyle:0}),m=v.useCallback((()=>{const t=c.current,n=gr(t).getComputedStyle(t);if("0px"===n.width)return{outerHeightStyle:0};const i=u.current;i.style.width=n.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=n.boxSizing,l=Ka(n.paddingBottom)+Ka(n.paddingTop),s=Ka(n.borderBottomWidth)+Ka(n.borderTopWidth),d=i.scrollHeight;i.value="x";const p=i.scrollHeight;let h=d;r&&(h=Math.max(Number(r)*p,h)),o&&(h=Math.min(Number(o)*p,h)),h=Math.max(h,p);return{outerHeightStyle:h+("border-box"===a?l+s:0),overflow:Math.abs(h-d)<=1}}),[o,r,e.placeholder]),b=(e,t)=>{const{outerHeightStyle:n,overflow:o}=t;return p.current<20&&(n>0&&Math.abs((e.outerHeightStyle||0)-n)>1||e.overflow!==o)?(p.current+=1,{overflow:o,outerHeightStyle:n}):e},g=v.useCallback((()=>{const e=m();Qa(e)||f((t=>b(t,e)))}),[m]);sr((()=>{const e=()=>{p.current=0,(()=>{const e=m();Qa(e)||T.flushSync((()=>{f((t=>b(t,e)))}))})()};const t=mr(e),n=c.current,o=gr(n);let r;return o.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(e),r.observe(n)),()=>{t.clear(),cancelAnimationFrame(undefined),o.removeEventListener("resize",t),r&&r.disconnect()}}),[m]),sr((()=>{g()})),v.useEffect((()=>{p.current=0}),[a]);return cn.jsxs(v.Fragment,{children:[cn.jsx("textarea",B({value:a,onChange:e=>{p.current=0,s||g(),n&&n(e)},ref:d,rows:r,style:B({height:h.outerHeightStyle,overflow:h.overflow?"hidden":void 0},i)},l)),cn.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:u,tabIndex:-1,style:B({},Xa,i,{paddingTop:0,paddingBottom:0})})]})}));var Ja=v.createContext(void 0);function el(){return v.useContext(Ja)}function tl(e){return cn.jsx(So,B({},e,{defaultTheme:xi,themeId:N}))}function nl(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function ol(e){return Mo("MuiInputBase",e)}var rl=Po("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const il=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],al=Ri("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.formControl&&t.formControl,n.startAdornment&&t.adornedStart,n.endAdornment&&t.adornedEnd,n.error&&t.error,"small"===n.size&&t.sizeSmall,n.multiline&&t.multiline,n.color&&t[`color${Sn(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>B({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${rl.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&B({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),ll=Ri("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.input,"small"===n.size&&t.inputSizeSmall,n.multiline&&t.inputMultiline,"search"===n.type&&t.inputTypeSearch,n.startAdornment&&t.inputAdornedStart,n.endAdornment&&t.inputAdornedEnd,n.hiddenLabel&&t.inputHiddenLabel]}})((({theme:e,ownerState:t})=>{const n="light"===e.palette.mode,o=B({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),r={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return B({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${rl.formControl} &`]:{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${rl.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),sl=cn.jsx(tl,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),cl=v.forwardRef((function(e,t){var n;const o=Si({props:e,name:"MuiInputBase"}),{"aria-describedby":r,autoComplete:i,autoFocus:a,className:l,components:s={},componentsProps:c={},defaultValue:d,disabled:u,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:f=!1,id:m,inputComponent:b="input",inputProps:g={},inputRef:y,maxRows:x,minRows:E,multiline:S=!1,name:C,onBlur:w,onChange:R,onClick:A,onFocus:k,onKeyDown:I,onKeyUp:L,placeholder:_,readOnly:T,renderSuffix:M,rows:P,slotProps:O={},slots:N={},startAdornment:D,type:z="text",value:F}=o,G=j(o,il),H=null!=g.value?g.value:F,{current:Y}=v.useRef(null!=H),W=v.useRef(),V=v.useCallback((e=>{}),[]),U=xr(W,y,g.ref,V),[q,K]=v.useState(!1),X=el(),Q=function({props:e,states:t,muiFormControl:n}){return t.reduce(((t,o)=>(t[o]=e[o],n&&void 0===e[o]&&(t[o]=n[o]),t)),{})}({props:o,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Q.focused=X?X.focused:q,v.useEffect((()=>{!X&&u&&q&&(K(!1),w&&w())}),[X,u,q,w]);const Z=X&&X.onFilled,J=X&&X.onEmpty,ee=v.useCallback((e=>{!function(e,t=!1){return e&&(nl(e.value)&&""!==e.value||t&&nl(e.defaultValue)&&""!==e.defaultValue)}(e)?J&&J():Z&&Z()}),[Z,J]);sr((()=>{Y&&ee({value:H})}),[H,ee,Y]);v.useEffect((()=>{ee(W.current)}),[]);let te=b,ne=g;S&&"input"===te&&(ne=B(P?{type:void 0,minRows:P,maxRows:P}:{type:void 0,maxRows:x,minRows:E},ne),te=Za);v.useEffect((()=>{X&&X.setAdornedStart(Boolean(D))}),[X,D]);const oe=B({},o,{color:Q.color||"primary",disabled:Q.disabled,endAdornment:h,error:Q.error,focused:Q.focused,formControl:X,fullWidth:f,hiddenLabel:Q.hiddenLabel,multiline:S,size:Q.size,startAdornment:D,type:z}),re=(e=>{const{classes:t,color:n,disabled:o,error:r,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:c,multiline:d,readOnly:u,size:p,startAdornment:h,type:f}=e;return $r({root:["root",`color${Sn(n)}`,o&&"disabled",r&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Sn(p)}`,d&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",u&&"readOnly"],input:["input",o&&"disabled","search"===f&&"inputTypeSearch",d&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",u&&"readOnly"]},ol,t)})(oe),ie=N.root||s.Root||al,ae=O.root||c.root||{},le=N.input||s.Input||ll;return ne=B({},ne,null!=(n=O.input)?n:c.input),cn.jsxs(v.Fragment,{children:[!p&&sl,cn.jsxs(ie,B({},ae,!ia(ie)&&{ownerState:B({},oe,ae.ownerState)},{ref:t,onClick:e=>{W.current&&e.currentTarget===e.target&&W.current.focus(),A&&A(e)}},G,{className:Lo(re.root,ae.className,l,T&&"MuiInputBase-readOnly"),children:[D,cn.jsx(Ja.Provider,{value:null,children:cn.jsx(le,B({ownerState:oe,"aria-invalid":Q.error,"aria-describedby":r,autoComplete:i,autoFocus:a,defaultValue:d,disabled:Q.disabled,id:m,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?W.current:{value:"x"})},name:C,placeholder:_,readOnly:T,required:Q.required,rows:P,value:H,onKeyDown:I,onKeyUp:L,type:z},ne,!ia(le)&&{as:te,ownerState:B({},oe,ne.ownerState)},{ref:U,className:Lo(re.input,ne.className,T&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),g.onBlur&&g.onBlur(e),X&&X.onBlur?X.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!Y){const t=e.target||W.current;if(null==t)throw new Error($(1));ee({value:t.value})}g.onChange&&g.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{Q.disabled?e.stopPropagation():(k&&k(e),g.onFocus&&g.onFocus(e),X&&X.onFocus?X.onFocus(e):K(!0))}}))}),h,M?M(B({},Q,{startAdornment:D})):null]}))]})}));var dl=cl;const ul=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],pl={entering:{opacity:1},entered:{opacity:1}},hl=v.forwardRef((function(e,t){const n=Ei(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:r,appear:i=!0,children:a,easing:l,in:s,onEnter:c,onEntered:d,onEntering:u,onExit:p,onExited:h,onExiting:f,style:m,timeout:b=o,TransitionComponent:g=Vi}=e,y=j(e,ul),x=v.useRef(null),E=xr(x,a.ref,t),S=e=>t=>{if(e){const n=x.current;void 0===t?e(n):e(n,t)}},C=S(u),w=S(((e,t)=>{Ji(e);const o=ea({style:m,timeout:b,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",o),e.style.transition=n.transitions.create("opacity",o),c&&c(e,t)})),R=S(d),A=S(f),k=S((e=>{const t=ea({style:m,timeout:b,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),p&&p(e)})),I=S(h);return cn.jsx(g,B({appear:i,in:s,nodeRef:x,onEnter:w,onEntered:R,onEntering:C,onExit:k,onExited:I,onExiting:A,addEndListener:e=>{r&&r(x.current,e)},timeout:b},y,{children:(e,t)=>v.cloneElement(a,B({style:B({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},pl[e],m,a.props.style),ref:E},t))}))}));var fl=hl;function ml(e){return Mo("MuiBackdrop",e)}Po("MuiBackdrop",["root","invisible"]);const bl=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],gl=Ri("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>B({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),vl=v.forwardRef((function(e,t){var n,o,r;const i=Si({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:c={},componentsProps:d={},invisible:u=!1,open:p,slotProps:h={},slots:f={},TransitionComponent:m=fl,transitionDuration:b}=i,g=j(i,bl),v=B({},i,{component:s,invisible:u}),y=(e=>{const{classes:t,invisible:n}=e;return $r({root:["root",n&&"invisible"]},ml,t)})(v),x=null!=(n=h.root)?n:d.root;return cn.jsx(m,B({in:p,timeout:b},g,{children:cn.jsx(gl,B({"aria-hidden":!0},x,{as:null!=(o=null!=(r=f.root)?r:c.Root)?o:s,className:Lo(y.root,l,null==x?void 0:x.className),ownerState:B({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var yl=vl;var xl=Po("MuiBox",["root"]);const El=yi(),Sl=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:r}=e,i=un("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(mo);return v.forwardRef((function(e,a){const l=Eo(n),s=Ro(e),{className:c,component:d="div"}=s,u=j(s,_o);return cn.jsx(i,B({as:d,ref:a,className:Lo(c,r?r(o):o),theme:t&&l[t]||l},u))}))}({themeId:N,defaultTheme:El,defaultClassName:xl.root,generateClassName:ko.generate});var Cl=Sl;function wl(e){return Mo("MuiButton",e)}var Rl=Po("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Al=v.createContext({});var kl=v.createContext(void 0);const Il=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Ll=e=>B({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),_l=Ri(Ia,{shouldForwardProp:e=>Ci(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Sn(n.color)}`],t[`size${Sn(n.size)}`],t[`${n.variant}Size${Sn(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var n,o;const r="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return B({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":B({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:hr(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:hr(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:hr(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":B({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Rl.focusVisible}`]:B({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Rl.disabled}`]:B({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${hr(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(o=e.palette).getContrastText)?void 0:n.call(o,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:r,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Rl.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Rl.disabled}`]:{boxShadow:"none"}})),Tl=Ri("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Sn(n.size)}`]]}})((({ownerState:e})=>B({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Ll(e)))),Ml=Ri("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Sn(n.size)}`]]}})((({ownerState:e})=>B({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Ll(e)))),Pl=v.forwardRef((function(e,t){const n=v.useContext(Al),o=v.useContext(kl),r=Si({props:ar(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,disabled:c=!1,disableElevation:d=!1,disableFocusRipple:u=!1,endIcon:p,focusVisibleClassName:h,fullWidth:f=!1,size:m="medium",startIcon:b,type:g,variant:y="text"}=r,x=j(r,Il),E=B({},r,{color:a,component:l,disabled:c,disableElevation:d,disableFocusRipple:u,fullWidth:f,size:m,type:g,variant:y}),S=(e=>{const{color:t,disableElevation:n,fullWidth:o,size:r,variant:i,classes:a}=e;return B({},a,$r({root:["root",i,`${i}${Sn(t)}`,`size${Sn(r)}`,`${i}Size${Sn(r)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${Sn(r)}`],endIcon:["endIcon",`iconSize${Sn(r)}`]},wl,a))})(E),C=b&&cn.jsx(Tl,{className:S.startIcon,ownerState:E,children:b}),w=p&&cn.jsx(Ml,{className:S.endIcon,ownerState:E,children:p}),R=o||"";return cn.jsxs(_l,B({ownerState:E,className:Lo(n.className,S.root,s,R),component:l,disabled:c,focusRipple:!u,focusVisibleClassName:Lo(S.focusVisible,h),ref:t,type:g},x,{classes:S,children:[C,i,w]}))}));var Ol=Pl;function $l(e){return Mo("MuiModal",e)}Po("MuiModal",["root","hidden","backdrop"]);const Nl=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],Bl=Ri("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.open&&n.exited&&t.hidden]}})((({theme:e,ownerState:t})=>B({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),jl=Ri(yl,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Dl=v.forwardRef((function(e,t){var n,o,r,i,a,l;const s=Si({name:"MuiModal",props:e}),{BackdropComponent:c=jl,BackdropProps:d,className:u,closeAfterTransition:p=!1,children:h,container:f,component:m,components:b={},componentsProps:g={},disableAutoFocus:y=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:E=!1,disablePortal:S=!1,disableRestoreFocus:C=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:A=!1,onBackdropClick:k,open:I,slotProps:L,slots:_}=s,T=j(s,Nl),M=B({},s,{closeAfterTransition:p,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:E,disablePortal:S,disableRestoreFocus:C,disableScrollLock:w,hideBackdrop:R,keepMounted:A}),{getRootProps:P,getBackdropProps:O,getTransitionProps:$,portalRef:N,isTopModal:D,exited:z,hasTransition:F}=Ua(B({},M,{rootRef:t})),G=B({},M,{exited:z}),H=(e=>{const{open:t,exited:n,classes:o}=e;return $r({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},$l,o)})(G),Y={};if(void 0===h.props.tabIndex&&(Y.tabIndex="-1"),F){const{onEnter:e,onExited:t}=$();Y.onEnter=e,Y.onExited=t}const W=null!=(n=null!=(o=null==_?void 0:_.root)?o:b.Root)?n:Bl,V=null!=(r=null!=(i=null==_?void 0:_.backdrop)?i:b.Backdrop)?r:c,U=null!=(a=null==L?void 0:L.root)?a:g.root,q=null!=(l=null==L?void 0:L.backdrop)?l:g.backdrop,K=ca({elementType:W,externalSlotProps:U,externalForwardedProps:T,getSlotProps:P,additionalProps:{ref:t,as:m},ownerState:G,className:Lo(u,null==U?void 0:U.className,null==H?void 0:H.root,!G.open&&G.exited&&(null==H?void 0:H.hidden))}),X=ca({elementType:V,externalSlotProps:q,additionalProps:d,getSlotProps:e=>O(B({},e,{onClick:t=>{k&&k(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Lo(null==q?void 0:q.className,null==d?void 0:d.className,null==H?void 0:H.backdrop),ownerState:G});return A||I||F&&!z?cn.jsx(za,{ref:N,container:f,disablePortal:S,children:cn.jsxs(W,B({},K,{children:[!R&&c?cn.jsx(V,B({},X)):null,cn.jsx(Da,{disableEnforceFocus:x,disableAutoFocus:y,disableRestoreFocus:C,isEnabled:D,open:I,children:v.cloneElement(h,Y)})]}))}):null}));var zl=Dl;function Fl(e){return Mo("MuiDivider",e)}const Gl=Po("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Hl=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Yl=Ri("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.absolute&&t.absolute,t[n.variant],n.light&&t.light,"vertical"===n.orientation&&t.vertical,n.flexItem&&t.flexItem,n.children&&t.withChildren,n.children&&"vertical"===n.orientation&&t.withChildrenVertical,"right"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignRight,"left"===n.textAlign&&"vertical"!==n.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>B({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:hr(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>B({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>B({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>B({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>B({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),Wl=Ri("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>B({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),Vl=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiDivider"}),{absolute:o=!1,children:r,className:i,component:a=(r?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:d=("hr"!==a?"separator":void 0),textAlign:u="center",variant:p="fullWidth"}=n,h=j(n,Hl),f=B({},n,{absolute:o,component:a,flexItem:l,light:s,orientation:c,role:d,textAlign:u,variant:p}),m=(e=>{const{absolute:t,children:n,classes:o,flexItem:r,light:i,orientation:a,textAlign:l,variant:s}=e;return $r({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",r&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},Fl,o)})(f);return cn.jsx(Yl,B({as:a,className:Lo(m.root,i),role:d,ref:t,ownerState:f},h,{children:r?cn.jsx(Wl,{className:m.wrapper,ownerState:f,children:r}):null}))}));Vl.muiSkipListHighlight=!0;var Ul=Vl;const ql=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Kl(e){return`scale(${e}, ${e**2})`}const Xl={entering:{opacity:1,transform:Kl(1)},entered:{opacity:1,transform:"none"}},Ql="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Zl=v.forwardRef((function(e,t){const{addEndListener:n,appear:o=!0,children:r,easing:i,in:a,onEnter:l,onEntered:s,onEntering:c,onExit:d,onExited:u,onExiting:p,style:h,timeout:f="auto",TransitionComponent:m=Vi}=e,b=j(e,ql),g=v.useRef(),y=v.useRef(),x=Ei(),E=v.useRef(null),S=xr(E,r.ref,t),C=e=>t=>{if(e){const n=E.current;void 0===t?e(n):e(n,t)}},w=C(c),R=C(((e,t)=>{Ji(e);const{duration:n,delay:o,easing:r}=ea({style:h,timeout:f,easing:i},{mode:"enter"});let a;"auto"===f?(a=x.transitions.getAutoHeightDuration(e.clientHeight),y.current=a):a=n,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:o}),x.transitions.create("transform",{duration:Ql?a:.666*a,delay:o,easing:r})].join(","),l&&l(e,t)})),A=C(s),k=C(p),I=C((e=>{const{duration:t,delay:n,easing:o}=ea({style:h,timeout:f,easing:i},{mode:"exit"});let r;"auto"===f?(r=x.transitions.getAutoHeightDuration(e.clientHeight),y.current=r):r=t,e.style.transition=[x.transitions.create("opacity",{duration:r,delay:n}),x.transitions.create("transform",{duration:Ql?r:.666*r,delay:Ql?n:n||.333*r,easing:o})].join(","),e.style.opacity=0,e.style.transform=Kl(.75),d&&d(e)})),L=C(u);return v.useEffect((()=>()=>{clearTimeout(g.current)}),[]),cn.jsx(m,B({appear:o,in:a,nodeRef:E,onEnter:R,onEntered:A,onEntering:w,onExit:I,onExited:L,onExiting:k,addEndListener:e=>{"auto"===f&&(g.current=setTimeout(e,y.current||0)),n&&n(E.current,e)},timeout:"auto"===f?null:f},b,{children:(e,t)=>v.cloneElement(r,B({style:B({opacity:0,transform:Kl(.75),visibility:"exited"!==e||a?void 0:"hidden"},Xl[e],h,r.props.style),ref:S},t))}))}));Zl.muiSupportAuto=!0;var Jl=Zl;function es(e){return Mo("MuiInputAdornment",e)}var ts,ns=Po("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);const os=["children","className","component","disablePointerEvents","disableTypography","position","variant"],rs=Ri("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Sn(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>B({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${ns.positionStart}&:not(.${ns.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),is=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiInputAdornment"}),{children:o,className:r,component:i="div",disablePointerEvents:a=!1,disableTypography:l=!1,position:s,variant:c}=n,d=j(n,os),u=el()||{};let p=c;c&&u.variant,u&&!p&&(p=u.variant);const h=B({},n,{hiddenLabel:u.hiddenLabel,size:u.size,disablePointerEvents:a,position:s,variant:p}),f=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:o,position:r,size:i,variant:a}=e;return $r({root:["root",n&&"disablePointerEvents",r&&`position${Sn(r)}`,a,o&&"hiddenLabel",i&&`size${Sn(i)}`]},es,t)})(h);return cn.jsx(Ja.Provider,{value:null,children:cn.jsx(rs,B({as:i,ownerState:h,className:Lo(f.root,r),ref:t},d,{children:"string"!=typeof o||l?cn.jsxs(v.Fragment,{children:["start"===s?ts||(ts=cn.jsx("span",{className:"notranslate",children:""})):null,o]}):cn.jsx($a,{color:"text.secondary",children:o})}))})}));var as=is;var ls=v.createContext({});function ss(e){return Mo("MuiList",e)}Po("MuiList",["root","padding","dense","subheader"]);const cs=["children","className","component","dense","disablePadding","subheader"],ds=Ri("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,!n.disablePadding&&t.padding,n.dense&&t.dense,n.subheader&&t.subheader]}})((({ownerState:e})=>B({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var us=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiList"}),{children:o,className:r,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,c=j(n,cs),d=v.useMemo((()=>({dense:a})),[a]),u=B({},n,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:o,subheader:r}=e;return $r({root:["root",!n&&"padding",o&&"dense",r&&"subheader"]},ss,t)})(u);return cn.jsx(ls.Provider,{value:d,children:cn.jsxs(ds,B({as:i,className:Lo(p.root,r),ref:t,ownerState:u},c,{children:[s,o]}))})}));function ps(e){return Mo("MuiListItem",e)}var hs=Po("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function fs(e){return Mo("MuiListItemButton",e)}var ms=Po("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);const bs=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],gs=Ri(Ia,{shouldForwardProp:e=>Ci(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>B({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${ms.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:hr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ms.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:hr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ms.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:hr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:hr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${ms.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ms.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})));var vs=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiListItemButton"}),{alignItems:o="center",autoFocus:r=!1,component:i="div",children:a,dense:l=!1,disableGutters:s=!1,divider:c=!1,focusVisibleClassName:d,selected:u=!1,className:p}=n,h=j(n,bs),f=v.useContext(ls),m=v.useMemo((()=>({dense:l||f.dense||!1,alignItems:o,disableGutters:s})),[o,f.dense,l,s]),b=v.useRef(null);sr((()=>{r&&b.current&&b.current.focus()}),[r]);const g=B({},n,{alignItems:o,dense:m.dense,disableGutters:s,divider:c,selected:u}),y=(e=>{const{alignItems:t,classes:n,dense:o,disabled:r,disableGutters:i,divider:a,selected:l}=e;return B({},n,$r({root:["root",o&&"dense",!i&&"gutters",a&&"divider",r&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},fs,n))})(g),x=xr(b,t);return cn.jsx(ls.Provider,{value:m,children:cn.jsx(gs,B({ref:x,href:h.href||h.to,component:(h.href||h.to)&&"div"===i?"button":i,focusVisibleClassName:Lo(y.focusVisible,d),ownerState:g,className:Lo(y.root,p)},h,{classes:y,children:a}))})}));function ys(e){return Mo("MuiListItemSecondaryAction",e)}Po("MuiListItemSecondaryAction",["root","disableGutters"]);const xs=["className"],Es=Ri("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>B({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),Ss=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=n,r=j(n,xs),i=B({},n,{disableGutters:v.useContext(ls).disableGutters}),a=(e=>{const{disableGutters:t,classes:n}=e;return $r({root:["root",t&&"disableGutters"]},ys,n)})(i);return cn.jsx(Es,B({className:Lo(a.root,o),ownerState:i,ref:t},r))}));Ss.muiName="ListItemSecondaryAction";var Cs=Ss;const ws=["className"],Rs=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],As=Ri("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,"flex-start"===n.alignItems&&t.alignItemsFlexStart,n.divider&&t.divider,!n.disableGutters&&t.gutters,!n.disablePadding&&t.padding,n.button&&t.button,n.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>B({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&B({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${ms.root}`]:{paddingRight:48}},{[`&.${hs.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${hs.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:hr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${hs.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:hr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${hs.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${hs.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:hr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:hr(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),ks=Ri("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Is=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiListItem"}),{alignItems:o="center",autoFocus:r=!1,button:i=!1,children:a,className:l,component:s,components:c={},componentsProps:d={},ContainerComponent:u="li",ContainerProps:{className:p}={},dense:h=!1,disabled:f=!1,disableGutters:m=!1,disablePadding:b=!1,divider:g=!1,focusVisibleClassName:y,secondaryAction:x,selected:E=!1,slotProps:S={},slots:C={}}=n,w=j(n.ContainerProps,ws),R=j(n,Rs),A=v.useContext(ls),k=v.useMemo((()=>({dense:h||A.dense||!1,alignItems:o,disableGutters:m})),[o,A.dense,h,m]),I=v.useRef(null);sr((()=>{r&&I.current&&I.current.focus()}),[r]);const L=v.Children.toArray(a),_=L.length&&(T=L[L.length-1],M=["ListItemSecondaryAction"],v.isValidElement(T)&&-1!==M.indexOf(null!=(P=T.type.muiName)?P:null==(O=T.type)||null==(O=O._payload)||null==(O=O.value)?void 0:O.muiName));var T,M,P,O;const $=B({},n,{alignItems:o,autoFocus:r,button:i,dense:k.dense,disabled:f,disableGutters:m,disablePadding:b,divider:g,hasSecondaryAction:_,selected:E}),N=(e=>{const{alignItems:t,button:n,classes:o,dense:r,disabled:i,disableGutters:a,disablePadding:l,divider:s,hasSecondaryAction:c,selected:d}=e;return $r({root:["root",r&&"dense",!a&&"gutters",!l&&"padding",s&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},ps,o)})($),D=xr(I,t),z=C.root||c.Root||As,F=S.root||d.root||{},G=B({className:Lo(N.root,F.className,l),disabled:f},R);let H=s||"li";return i&&(G.component=s||"div",G.focusVisibleClassName=Lo(hs.focusVisible,y),H=Ia),_?(H=G.component||s?H:"div","li"===u&&("li"===H?H="div":"li"===G.component&&(G.component="div")),cn.jsx(ls.Provider,{value:k,children:cn.jsxs(ks,B({as:u,className:Lo(N.container,p),ref:D,ownerState:$},w,{children:[cn.jsx(z,B({},F,!ia(z)&&{as:H,ownerState:B({},$,F.ownerState)},G,{children:L})),L.pop()]}))})):cn.jsx(ls.Provider,{value:k,children:cn.jsxs(z,B({},F,{as:H,ref:D},!ia(z)&&{ownerState:B({},$,F.ownerState)},G,{children:[L,x&&cn.jsx(Cs,{children:x})]}))})}));var Ls=Is;function _s(e){return Mo("MuiListItemIcon",e)}const Ts=Po("MuiListItemIcon",["root","alignItemsFlexStart"]),Ms=["className"],Ps=Ri("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"flex-start"===n.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>B({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})));var Os=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiListItemIcon"}),{className:o}=n,r=j(n,Ms),i=B({},n,{alignItems:v.useContext(ls).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return $r({root:["root","flex-start"===t&&"alignItemsFlexStart"]},_s,n)})(i);return cn.jsx(Ps,B({className:Lo(a.root,o),ownerState:i,ref:t},r))}));var $s=Po("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const Ns=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Bs(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function js(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Ds(e,t){if(void 0===t)return!0;let n=e.innerText;return void 0===n&&(n=e.textContent),n=n.trim().toLowerCase(),0!==n.length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function zs(e,t,n,o,r,i){let a=!1,l=r(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!o&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Ds(l,i)&&!t)return l.focus(),!0;l=r(e,l,n)}return!1}var Fs=v.forwardRef((function(e,t){const{actions:n,autoFocus:o=!1,autoFocusItem:r=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:c,variant:d="selectedMenu"}=e,u=j(e,Ns),p=v.useRef(null),h=v.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});sr((()=>{o&&p.current.focus()}),[o]),v.useImperativeHandle(n,(()=>({adjustStyleForScrollbar:(e,t)=>{const n=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&n){const n=`${Tr(br(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const f=xr(p,t);let m=-1;v.Children.forEach(i,((e,t)=>{v.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const b=v.Children.map(i,((e,t)=>{if(t===m){const t={};return r&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),v.cloneElement(e,t)}return e}));return cn.jsx(us,B({role:"menu",ref:f,className:a,onKeyDown:e=>{const t=p.current,n=e.key,o=br(t).activeElement;if("ArrowDown"===n)e.preventDefault(),zs(t,o,s,l,Bs);else if("ArrowUp"===n)e.preventDefault(),zs(t,o,s,l,js);else if("Home"===n)e.preventDefault(),zs(t,null,s,l,Bs);else if("End"===n)e.preventDefault(),zs(t,null,s,l,js);else if(1===n.length){const r=h.current,i=n.toLowerCase(),a=performance.now();r.keys.length>0&&(a-r.lastTime>500?(r.keys=[],r.repeating=!0,r.previousKeyMatched=!0):r.repeating&&i!==r.keys[0]&&(r.repeating=!1)),r.lastTime=a,r.keys.push(i);const s=o&&!r.repeating&&Ds(o,r);r.previousKeyMatched&&(s||zs(t,o,!1,l,Bs,r))?e.preventDefault():r.previousKeyMatched=!1}c&&c(e)},tabIndex:o?0:-1},u,{children:b}))}));function Gs(e){return Mo("MuiPopover",e)}Po("MuiPopover",["root","paper"]);const Hs=["onEntering"],Ys=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Ws=["slotProps"];function Vs(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Us(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function qs(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Ks(e){return"function"==typeof e?e():e}const Xs=Ri(zl,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Qs=Ri(ra,{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});var Zs=v.forwardRef((function(e,t){var n,o,r;const i=Si({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:u,className:p,container:h,elevation:f=8,marginThreshold:m=16,open:b,PaperProps:g={},slots:y,slotProps:x,transformOrigin:E={vertical:"top",horizontal:"left"},TransitionComponent:S=Jl,transitionDuration:C="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,A=j(i.TransitionProps,Hs),k=j(i,Ys),I=null!=(n=null==x?void 0:x.paper)?n:g,L=v.useRef(),_=xr(L,I.ref),T=B({},i,{anchorOrigin:s,anchorReference:d,elevation:f,marginThreshold:m,externalPaperSlotProps:I,transformOrigin:E,TransitionComponent:S,transitionDuration:C,TransitionProps:A}),M=(e=>{const{classes:t}=e;return $r({root:["root"],paper:["paper"]},Gs,t)})(T),P=v.useCallback((()=>{if("anchorPosition"===d)return c;const e=Ks(l),t=(e&&1===e.nodeType?e:br(L.current).body).getBoundingClientRect();return{top:t.top+Vs(t,s.vertical),left:t.left+Us(t,s.horizontal)}}),[l,s.horizontal,s.vertical,c,d]),O=v.useCallback((e=>({vertical:Vs(e,E.vertical),horizontal:Us(e,E.horizontal)})),[E.horizontal,E.vertical]),$=v.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=O(t);if("none"===d)return{top:null,left:null,transformOrigin:qs(n)};const o=P();let r=o.top-n.vertical,i=o.left-n.horizontal;const a=r+t.height,s=i+t.width,c=gr(Ks(l)),u=c.innerHeight-m,p=c.innerWidth-m;if(null!==m&&r<m){const e=r-m;r-=e,n.vertical+=e}else if(null!==m&&a>u){const e=a-u;r-=e,n.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,n.horizontal+=e}else if(s>p){const e=s-p;i-=e,n.horizontal+=e}return{top:`${Math.round(r)}px`,left:`${Math.round(i)}px`,transformOrigin:qs(n)}}),[l,d,P,O,m]),[N,D]=v.useState(b),z=v.useCallback((()=>{const e=L.current;if(!e)return;const t=$(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,D(!0)}),[$]);v.useEffect((()=>(R&&window.addEventListener("scroll",z),()=>window.removeEventListener("scroll",z))),[l,R,z]);v.useEffect((()=>{b&&z()})),v.useImperativeHandle(a,(()=>b?{updatePosition:()=>{z()}}:null),[b,z]),v.useEffect((()=>{if(!b)return;const e=mr((()=>{z()})),t=gr(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[l,b,z]);let F=C;"auto"!==C||S.muiSupportAuto||(F=void 0);const G=h||(l?br(Ks(l)).body:void 0),H=null!=(o=null==y?void 0:y.root)?o:Xs,Y=null!=(r=null==y?void 0:y.paper)?r:Qs,W=ca({elementType:Y,externalSlotProps:B({},I,{style:N?I.style:B({},I.style,{opacity:0})}),additionalProps:{elevation:f,ref:_},ownerState:T,className:Lo(M.paper,null==I?void 0:I.className)}),V=ca({elementType:H,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:k,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:G,open:b},ownerState:T,className:Lo(M.root,p)}),{slotProps:U}=V,q=j(V,Ws);return cn.jsx(H,B({},q,!ia(H)&&{slotProps:U,disableScrollLock:R},{children:cn.jsx(S,B({appear:!0,in:b,onEntering:(e,t)=>{w&&w(e,t),z()},onExited:()=>{D(!1)},timeout:F},A,{children:cn.jsx(Y,B({},W,{children:u}))}))}))}));function Js(e){return Mo("MuiMenu",e)}Po("MuiMenu",["root","paper","list"]);const ec=["onEntering"],tc=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],nc={vertical:"top",horizontal:"right"},oc={vertical:"top",horizontal:"left"},rc=Ri(Zs,{shouldForwardProp:e=>Ci(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),ic=Ri(Qs,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),ac=Ri(Fs,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var lc=v.forwardRef((function(e,t){var n,o;const r=Si({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:s=!1,MenuListProps:c={},onClose:d,open:u,PaperProps:p={},PopoverClasses:h,transitionDuration:f="auto",TransitionProps:{onEntering:m}={},variant:b="selectedMenu",slots:g={},slotProps:y={}}=r,x=j(r.TransitionProps,ec),E=j(r,tc),S=Ei(),C="rtl"===S.direction,w=B({},r,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:c,onEntering:m,PaperProps:p,transitionDuration:f,TransitionProps:x,variant:b}),R=(e=>{const{classes:t}=e;return $r({root:["root"],paper:["paper"],list:["list"]},Js,t)})(w),A=i&&!s&&u,k=v.useRef(null);let I=-1;v.Children.map(a,((e,t)=>{v.isValidElement(e)&&(e.props.disabled||("selectedMenu"===b&&e.props.selected||-1===I)&&(I=t))}));const L=null!=(n=g.paper)?n:ic,_=null!=(o=y.paper)?o:p,T=ca({elementType:g.root,externalSlotProps:y.root,ownerState:w,className:[R.root,l]}),M=ca({elementType:L,externalSlotProps:_,ownerState:w,className:R.paper});return cn.jsx(rc,B({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?nc:oc,slots:{paper:L,root:g.root},slotProps:{root:T,paper:M},open:u,ref:t,transitionDuration:f,TransitionProps:B({onEntering:(e,t)=>{k.current&&k.current.adjustStyleForScrollbar(e,S),m&&m(e,t)}},x),ownerState:w},E,{classes:h,children:cn.jsx(ac,B({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:k,autoFocus:i&&(-1===I||s),autoFocusItem:A,variant:b},c,{className:Lo(R.list,c.className),children:a}))}))}));function sc(e){return Mo("MuiMenuItem",e)}var cc=Po("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const dc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],uc=Ri(Ia,{shouldForwardProp:e=>Ci(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.dense&&t.dense,n.divider&&t.divider,!n.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>B({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${cc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:hr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${cc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:hr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${cc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:hr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:hr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${cc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${cc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Gl.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Gl.inset}`]:{marginLeft:52},[`& .${$s.root}`]:{marginTop:0,marginBottom:0},[`& .${$s.inset}`]:{paddingLeft:36},[`& .${Ts.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&B({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Ts.root} svg`]:{fontSize:"1.25rem"}}))));var pc=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiMenuItem"}),{autoFocus:o=!1,component:r="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:c="menuitem",tabIndex:d,className:u}=n,p=j(n,dc),h=v.useContext(ls),f=v.useMemo((()=>({dense:i||h.dense||!1,disableGutters:l})),[h.dense,i,l]),m=v.useRef(null);sr((()=>{o&&m.current&&m.current.focus()}),[o]);const b=B({},n,{dense:f.dense,divider:a,disableGutters:l}),g=(e=>{const{disabled:t,dense:n,divider:o,disableGutters:r,selected:i,classes:a}=e;return B({},a,$r({root:["root",n&&"dense",t&&"disabled",!r&&"gutters",o&&"divider",i&&"selected"]},sc,a))})(n),y=xr(m,t);let x;return n.disabled||(x=void 0!==d?d:-1),cn.jsx(ls.Provider,{value:f,children:cn.jsx(uc,B({ref:y,role:c,tabIndex:x,component:r,focusVisibleClassName:Lo(g.focusVisible,s),className:Lo(g.root,u)},p,{ownerState:b,classes:g}))})}));function hc(e){return Mo("MuiTab",e)}var fc=Po("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);const mc=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],bc=Ri(Ia,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Sn(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>B({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${fc.iconWrapper}`]:B({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${fc.selected}`]:{opacity:1},[`&.${fc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${fc.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${fc.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${fc.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${fc.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)}))),gc=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiTab"}),{className:o,disabled:r=!1,disableFocusRipple:i=!1,fullWidth:a,icon:l,iconPosition:s="top",indicator:c,label:d,onChange:u,onClick:p,onFocus:h,selected:f,selectionFollowsFocus:m,textColor:b="inherit",value:g,wrapped:y=!1}=n,x=j(n,mc),E=B({},n,{disabled:r,disableFocusRipple:i,selected:f,icon:!!l,iconPosition:s,label:!!d,fullWidth:a,textColor:b,wrapped:y}),S=(e=>{const{classes:t,textColor:n,fullWidth:o,wrapped:r,icon:i,label:a,selected:l,disabled:s}=e;return $r({root:["root",i&&a&&"labelIcon",`textColor${Sn(n)}`,o&&"fullWidth",r&&"wrapped",l&&"selected",s&&"disabled"],iconWrapper:["iconWrapper"]},hc,t)})(E),C=l&&d&&v.isValidElement(l)?v.cloneElement(l,{className:Lo(S.iconWrapper,l.props.className)}):l;return cn.jsxs(bc,B({focusRipple:!i,className:Lo(S.root,o),ref:t,role:"tab","aria-selected":f,disabled:r,onClick:e=>{!f&&u&&u(e,g),p&&p(e)},onFocus:e=>{m&&!f&&u&&u(e,g),h&&h(e)},ownerState:E,tabIndex:f?0:-1},x,{children:["top"===s||"start"===s?cn.jsxs(v.Fragment,{children:[C,d]}):cn.jsxs(v.Fragment,{children:[d,C]}),c]}))}));var vc=gc,yc=Oi(cn.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),xc=Oi(cn.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function Ec(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const Sc=["onChange"],Cc={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function wc(e){return Mo("MuiTabScrollButton",e)}var Rc=Po("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);const Ac=["className","slots","slotProps","direction","orientation","disabled"],kc=Ri(Ia,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>B({width:40,flexShrink:0,opacity:.8,[`&.${Rc.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),Ic=v.forwardRef((function(e,t){var n,o;const r=Si({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:l={},direction:s}=r,c=j(r,Ac),d=B({isRtl:"rtl"===Ei().direction},r),u=(e=>{const{classes:t,orientation:n,disabled:o}=e;return $r({root:["root",n,o&&"disabled"]},wc,t)})(d),p=null!=(n=a.StartScrollButtonIcon)?n:yc,h=null!=(o=a.EndScrollButtonIcon)?o:xc,f=ca({elementType:p,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),m=ca({elementType:h,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return cn.jsx(kc,B({component:"div",className:Lo(u.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===s?cn.jsx(p,B({},f)):cn.jsx(h,B({},m))}))}));var Lc=Ic;function _c(e){return Mo("MuiTabs",e)}var Tc=Po("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);const Mc=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Pc=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Oc=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,$c=(e,t,n)=>{let o=!1,r=n(e,t);for(;r;){if(r===e.firstChild){if(o)return;o=!0}const t=r.disabled||"true"===r.getAttribute("aria-disabled");if(r.hasAttribute("tabindex")&&!t)return void r.focus();r=n(e,r)}},Nc=Ri("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Tc.scrollButtons}`]:t.scrollButtons},{[`& .${Tc.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>B({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Tc.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),Bc=Ri("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.scroller,n.fixed&&t.fixed,n.hideScrollbar&&t.hideScrollbar,n.scrollableX&&t.scrollableX,n.scrollableY&&t.scrollableY]}})((({ownerState:e})=>B({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),jc=Ri("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.flexContainer,n.vertical&&t.flexContainerVertical,n.centered&&t.centered]}})((({ownerState:e})=>B({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),Dc=Ri("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>B({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),zc=Ri((function(e){const{onChange:t}=e,n=j(e,Sc),o=v.useRef(),r=v.useRef(null),i=()=>{o.current=r.current.offsetHeight-r.current.clientHeight};return sr((()=>{const e=mr((()=>{const e=o.current;i(),e!==o.current&&t(o.current)})),n=gr(r.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),v.useEffect((()=>{i(),t(o.current)}),[t]),cn.jsx("div",B({style:Cc,ref:r},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),Fc={},Gc=v.forwardRef((function(e,t){const n=Si({props:e,name:"MuiTabs"}),o=Ei(),r="rtl"===o.direction,{"aria-label":i,"aria-labelledby":a,action:l,centered:s=!1,children:c,className:d,component:u="div",allowScrollButtonsMobile:p=!1,indicatorColor:h="primary",onChange:f,orientation:m="horizontal",ScrollButtonComponent:b=Lc,scrollButtons:g="auto",selectionFollowsFocus:y,slots:x={},slotProps:E={},TabIndicatorProps:S={},TabScrollButtonProps:C={},textColor:w="primary",value:R,variant:A="standard",visibleScrollbar:k=!1}=n,I=j(n,Mc),L="scrollable"===A,_="vertical"===m,T=_?"scrollTop":"scrollLeft",M=_?"top":"left",P=_?"bottom":"right",O=_?"clientHeight":"clientWidth",$=_?"height":"width",N=B({},n,{component:u,allowScrollButtonsMobile:p,indicatorColor:h,orientation:m,vertical:_,scrollButtons:g,textColor:w,variant:A,visibleScrollbar:k,fixed:!L,hideScrollbar:L&&!k,scrollableX:L&&!_,scrollableY:L&&_,centered:s&&!L,scrollButtonsHideMobile:!p}),D=(e=>{const{vertical:t,fixed:n,hideScrollbar:o,scrollableX:r,scrollableY:i,centered:a,scrollButtonsHideMobile:l,classes:s}=e;return $r({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",o&&"hideScrollbar",r&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[r&&"scrollableX"],hideScrollbar:[o&&"hideScrollbar"]},_c,s)})(N),z=ca({elementType:x.StartScrollButtonIcon,externalSlotProps:E.startScrollButtonIcon,ownerState:N}),F=ca({elementType:x.EndScrollButtonIcon,externalSlotProps:E.endScrollButtonIcon,ownerState:N}),[G,H]=v.useState(!1),[Y,W]=v.useState(Fc),[V,U]=v.useState(!1),[q,K]=v.useState(!1),[X,Q]=v.useState(!1),[Z,J]=v.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,te=v.useRef(null),ne=v.useRef(null),oe=()=>{const e=te.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:Or(e,o.direction),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==R){const e=ne.current.children;if(e.length>0){const t=e[ee.get(R)];n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},re=yr((()=>{const{tabsMeta:e,tabMeta:t}=oe();let n,o=0;if(_)n="top",t&&e&&(o=t.top-e.top+e.scrollTop);else if(n=r?"right":"left",t&&e){const i=r?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;o=(r?-1:1)*(t[n]-e[n]+i)}const i={[n]:o,[$]:t?t[$]:0};if(isNaN(Y[n])||isNaN(Y[$]))W(i);else{const e=Math.abs(Y[n]-i[n]),t=Math.abs(Y[$]-i[$]);(e>=1||t>=1)&&W(i)}})),ie=(e,{animation:t=!0}={})=>{t?function(e,t,n,o={},r=(()=>{})){const{ease:i=Ec,duration:a=300}=o;let l=null;const s=t[e];let c=!1;const d=()=>{c=!0},u=o=>{if(c)return void r(new Error("Animation cancelled"));null===l&&(l=o);const d=Math.min(1,(o-l)/a);t[e]=i(d)*(n-s)+s,d>=1?requestAnimationFrame((()=>{r(null)})):requestAnimationFrame(u)};s===n?r(new Error("Element already at target position")):requestAnimationFrame(u)}(T,te.current,e,{duration:o.transitions.duration.standard}):te.current[T]=e},ae=e=>{let t=te.current[T];_?t+=e:(t+=e*(r?-1:1),t*=r&&"reverse"===Pr()?-1:1),ie(t)},le=()=>{const e=te.current[O];let t=0;const n=Array.from(ne.current.children);for(let o=0;o<n.length;o+=1){const r=n[o];if(t+r[O]>e){0===o&&(t=e);break}t+=r[O]}return t},se=()=>{ae(-1*le())},ce=()=>{ae(le())},de=v.useCallback((e=>{J({overflow:null,scrollbarWidth:e})}),[]),ue=yr((e=>{const{tabsMeta:t,tabMeta:n}=oe();if(n&&t)if(n[M]<t[M]){const o=t[T]+(n[M]-t[M]);ie(o,{animation:e})}else if(n[P]>t[P]){const o=t[T]+(n[P]-t[P]);ie(o,{animation:e})}})),pe=yr((()=>{L&&!1!==g&&Q(!X)}));v.useEffect((()=>{const e=mr((()=>{te.current&&re()}));let t;const n=n=>{n.forEach((e=>{e.removedNodes.forEach((e=>{var n;null==(n=t)||n.unobserve(e)})),e.addedNodes.forEach((e=>{var n;null==(n=t)||n.observe(e)}))})),e(),pe()},o=gr(te.current);let r;return o.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(ne.current.children).forEach((e=>{t.observe(e)}))),"undefined"!=typeof MutationObserver&&(r=new MutationObserver(n),r.observe(ne.current,{childList:!0})),()=>{var n,i;e.clear(),o.removeEventListener("resize",e),null==(n=r)||n.disconnect(),null==(i=t)||i.disconnect()}}),[re,pe]),v.useEffect((()=>{const e=Array.from(ne.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&L&&!1!==g){const n=e[0],o=e[t-1],r={root:te.current,threshold:.99},i=new IntersectionObserver((e=>{U(!e[0].isIntersecting)}),r);i.observe(n);const a=new IntersectionObserver((e=>{K(!e[0].isIntersecting)}),r);return a.observe(o),()=>{i.disconnect(),a.disconnect()}}}),[L,g,X,null==c?void 0:c.length]),v.useEffect((()=>{H(!0)}),[]),v.useEffect((()=>{re()})),v.useEffect((()=>{ue(Fc!==Y)}),[ue,Y]),v.useImperativeHandle(l,(()=>({updateIndicator:re,updateScrollButtons:pe})),[re,pe]);const he=cn.jsx(Dc,B({},S,{className:Lo(D.indicator,S.className),ownerState:N,style:B({},Y,S.style)}));let fe=0;const me=v.Children.map(c,(e=>{if(!v.isValidElement(e))return null;const t=void 0===e.props.value?fe:e.props.value;ee.set(t,fe);const n=t===R;return fe+=1,v.cloneElement(e,B({fullWidth:"fullWidth"===A,indicator:n&&!G&&he,selected:n,selectionFollowsFocus:y,onChange:f,textColor:w,value:t},1!==fe||!1!==R||e.props.tabIndex?{}:{tabIndex:0}))})),be=(()=>{const e={};e.scrollbarSizeListener=L?cn.jsx(zc,{onChange:de,className:Lo(D.scrollableX,D.hideScrollbar)}):null;const t=L&&("auto"===g&&(V||q)||!0===g);return e.scrollButtonStart=t?cn.jsx(b,B({slots:{StartScrollButtonIcon:x.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:z},orientation:m,direction:r?"right":"left",onClick:se,disabled:!V},C,{className:Lo(D.scrollButtons,C.className)})):null,e.scrollButtonEnd=t?cn.jsx(b,B({slots:{EndScrollButtonIcon:x.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:F},orientation:m,direction:r?"left":"right",onClick:ce,disabled:!q},C,{className:Lo(D.scrollButtons,C.className)})):null,e})();return cn.jsxs(Nc,B({className:Lo(D.root,d),ownerState:N,ref:t,as:u},I,{children:[be.scrollButtonStart,be.scrollbarSizeListener,cn.jsxs(Bc,{className:D.scroller,ownerState:N,style:{overflow:Z.overflow,[_?"margin"+(r?"Left":"Right"):"marginBottom"]:k?void 0:-Z.scrollbarWidth},ref:te,children:[cn.jsx(jc,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===m?"vertical":null,className:D.flexContainer,ownerState:N,onKeyDown:e=>{const t=ne.current,n=br(t).activeElement;if("tab"!==n.getAttribute("role"))return;let o="horizontal"===m?"ArrowLeft":"ArrowUp",i="horizontal"===m?"ArrowRight":"ArrowDown";switch("horizontal"===m&&r&&(o="ArrowRight",i="ArrowLeft"),e.key){case o:e.preventDefault(),$c(t,n,Oc);break;case i:e.preventDefault(),$c(t,n,Pc);break;case"Home":e.preventDefault(),$c(t,null,Pc);break;case"End":e.preventDefault(),$c(t,null,Oc)}},ref:ne,role:"tablist",children:me}),G&&he]}),be.scrollButtonEnd]}))}));var Hc,Yc=Gc;function Wc(){return Wc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},Wc.apply(null,arguments)}var Vc,Uc=function(e){return v.createElement("svg",Wc({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Hc||(Hc=v.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function qc(){return qc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},qc.apply(null,arguments)}var Kc=function(e){return v.createElement("svg",qc({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Vc||(Vc=v.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function Xc({fontSize:e="medium",children:t=null,className:n=""}={}){const o="small"===e?"16px":"20px",r="small"===e?"-2px 0":void 0;return E.createElement("i",{style:{fontSize:o,margin:r,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n},t)}const Qc={WHITE:"#FFFFFF",GREY:"#999999",GREY_PALE:"#B2B2B2",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_25:"rgba(0, 0, 0, 0.25)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_0_65:"rgba(0, 0, 0, 0.65)",GREYSCALE_100_05:"rgba(255, 255, 255, 0.05)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_25:"rgba(255, 255, 255, 0.25)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},Zc=12,Jc=14,ed=16,td=24,nd=3,od=300,rd=400,id=600,ad=700,ld={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};var sd=(e={})=>E.createElement(Xc,{...e},E.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},E.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},E.createElement("rect",{stroke:Qc.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})))),cd=(e={})=>E.createElement(Xc,{...e},E.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20"},E.createElement("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),E.createElement("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"}))),dd=(e={})=>E.createElement(Xc,{...e},E.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},E.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},E.createElement("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),E.createElement("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})))),ud=(e={})=>E.createElement(Xc,{fontSize:"medium",...e},E.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},E.createElement("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212"},E.createElement("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})))),pd=(e={})=>E.createElement(Xc,{fontSize:"medium",...e},E.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},E.createElement("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),E.createElement("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"}))),hd=({className:e})=>E.createElement(Xc,{fontSize:"small",className:e},E.createElement("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon"},E.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},E.createElement("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero"},E.createElement("g",{transform:"translate(4.324187, 1.300372)"},E.createElement("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),E.createElement("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"}))))));const fd={MuiAccordion:{styleOverrides:{root:{backgroundColor:Qc.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Qc.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:E.createElement(Uc,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${Qc.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Qc.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`,borderRadius:nd,backgroundColor:Qc.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${Qc.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Qc.WHITE,color:Qc.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:nd},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Qc.GREYSCALE_0_15,backgroundColor:Qc.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Qc.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Qc.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Qc.GREEN_PALE},"&:active":{backgroundColor:Qc.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Qc.GREEN_PALE,boxShadow:`0 0 0 3px ${hr(Qc.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Qc.BLUE_PALE},"&:active":{backgroundColor:Qc.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Qc.BLUE_PALE,boxShadow:`0 0 0 3px ${hr(Qc.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:nd,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Qc.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Qc.GREYSCALE_0_15,backgroundColor:Qc.GREYSCALE_100_60,"&:active":{backgroundColor:Qc.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Qc.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Qc.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Qc.PURPLE,"&.Mui-focusVisible":{borderColor:Qc.PURPLE,boxShadow:`0 0 0 3px ${hr(Qc.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Qc.GREEN,"&.Mui-focusVisible":{borderColor:Qc.GREEN,boxShadow:`0 0 0 3px ${hr(Qc.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Qc.BLUE,"&.Mui-focusVisible":{borderColor:Qc.BLUE,boxShadow:`0 0 0 3px ${hr(Qc.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Qc.ORANGE,"&.Mui-focusVisible":{borderColor:Qc.ORANGE,boxShadow:`0 0 0 3px ${hr(Qc.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Qc.RED,"&.Mui-focusVisible":{borderColor:Qc.RED,boxShadow:`0 0 0 3px ${hr(Qc.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Qc.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Qc.PURPLE_PALE},"&:active":{backgroundColor:Qc.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Qc.PURPLE_PALE,boxShadow:`0 0 0 3px ${hr(Qc.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Qc.GREEN_PALE},"&:active":{backgroundColor:Qc.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Qc.GREEN_PALE,boxShadow:`0 0 0 3px ${hr(Qc.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Qc.BLUE_PALE},"&:active":{backgroundColor:Qc.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Qc.BLUE_PALE,boxShadow:`0 0 0 3px ${hr(Qc.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Qc.ORANGE_PALE},"&:active":{backgroundColor:Qc.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Qc.ORANGE_PALE,boxShadow:`0 0 0 3px ${hr(Qc.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Qc.RED_PALE},"&:active":{backgroundColor:Qc.RED_DARK},"&.Mui-focusVisible":{borderColor:Qc.RED_PALE,boxShadow:`0 0 0 3px ${hr(Qc.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:Qc.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Qc.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:nd,boxShadow:`inset 0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:E.createElement(Kc,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:Zc,borderRadius:nd,color:Qc.TEXT_PRIMARY,backgroundColor:Qc.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Qc.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Qc.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Qc.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Qc.GREYSCALE_0_05,color:Qc.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Qc.GREEN,borderColor:Qc.GREEN},"&.MuiChip-outlinedInfo":{color:Qc.BLUE,borderColor:Qc.BLUE},"&.MuiChip-outlinedWarning":{color:Qc.ORANGE,borderColor:Qc.ORANGE},"&.MuiChip-outlinedError":{color:Qc.RED,borderColor:Qc.RED}},outlined:{border:`solid 1px ${Qc.GREYSCALE_0_15}`,backgroundColor:Qc.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:nd,boxShadow:"none",backgroundColor:Qc.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Qc.GREEN,borderColor:Qc.GREEN},outlinedSecondary:{color:Qc.BLUE,borderColor:Qc.BLUE},label:{fontFamily:ld.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:E.createElement(Kc,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:E.createElement(Uc,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:nd},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:nd,fontSize:Jc,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Qc.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Qc.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Qc.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Qc.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Qc.GREYSCALE_0_05}}},popupIndicator:{borderRadius:nd,border:`solid 1px ${Qc.GREYSCALE_0_15}`,color:Qc.GREYSCALE_0_60,marginRight:0,width:td,height:td},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Qc.GREYSCALE_0_15}`},clearIndicator:{borderRadius:nd,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Qc.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Jc}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:Zc,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Qc.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Qc.GREYSCALE_25,fontSize:Zc,fontFamily:ld.FONT_FAMILY,fontWeight:id,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Qc.TEXT_PRIMARY},"&.Mui-error":{color:Qc.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Qc.TEXT_SECONDARY,content:"'(optional)'",fontWeight:rd,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Qc.TEXT_SECONDARY,content:"'(required)'",fontWeight:rd,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Jc,lineHeight:"16px",backgroundColor:Qc.WHITE,borderRadius:nd,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Qc.GREYSCALE_0_05}`,borderColor:Qc.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Qc.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Qc.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Qc.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Qc.RED}`,boxShadow:`0px 0px 0px 1px ${Qc.RED}, inset 0 2px 0 0 ${Qc.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Qc.GREYSCALE_0_10}`,borderColor:Qc.GREYSCALE_0_10,backgroundColor:Qc.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Qc.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Qc.GREYSCALE_0_15,borderRadius:nd,boxShadow:`inset 0 2px 0 0 ${Qc.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>E.createElement(Uc,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:Qc.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Qc.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Qc.GREYSCALE_0_03},"&:active":{backgroundColor:Qc.GREYSCALE_0_10},"&:focus":{backgroundColor:Qc.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Qc.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Qc.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Qc.GREYSCALE_0_30,"&:hover":{backgroundColor:Qc.GREYSCALE_0_0,borderColor:Qc.GREYSCALE_0_15},"& ~svg":{color:Qc.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Qc.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:nd}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Qc.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Qc.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Jc,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:Zc,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:Zc,fontWeight:id,color:Qc.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:id}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Qc.GREYSCALE_0_15}, 0px 0px 0px 1px ${Qc.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:E.createElement(ud,null),checkedIcon:E.createElement(pd,null)},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Qc.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Qc.GREEN_PALE,boxShadow:`0 0 0 3px ${hr(Qc.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Qc.BLUE_PALE,boxShadow:`0 0 0 3px ${hr(Qc.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Qc.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Qc.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:E.createElement(sd,null),checkedIcon:E.createElement(cd,null),indeterminateIcon:E.createElement(dd,null)},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:nd,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Qc.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Qc.GREYSCALE_0_55,color:Qc.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:Qc.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Qc.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Qc.GREYSCALE_0_55,"&:hover":{color:Qc.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:Qc.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Qc.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Jc,color:Qc.TEXT_PRIMARY,lineHeight:"16px",fontWeight:id},secondary:{fontSize:Zc,color:Qc.GREYSCALE_45,fontWeight:rd,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Jc,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:Qc.GREYSCALE_0_03},"&:active":{backgroundColor:Qc.GREYSCALE_0_05}}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Jc,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Qc.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Zc,borderBottom:`solid 1px ${Qc.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Jc,color:Qc.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Qc.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Qc.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Qc.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:Qc.RED}}},"&.Mui-focusVisible":{backgroundColor:Qc.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:Qc.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:Qc.GREEN,height:"24px","&.Mui-disabled":{color:Qc.GREYSCALE_0_15}},rail:{backgroundColor:Qc.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Qc.GREYSCALE_0_05}`,borderRadius:nd,boxShadow:`inset 0px 0px 0px 1px ${Qc.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Qc.GREYSCALE_0_05}`,borderRadius:nd},thumb:{height:"16px",width:"16px",borderRadius:nd,backgroundColor:Qc.WHITE,boxShadow:`0px 1px 2px 0px ${Qc.GREYSCALE_0_15}, 0px 0px 0px 1px ${Qc.GREYSCALE_0_05}`,"&:hover":{borderRadius:nd,boxShadow:`0 2px 4px 0 ${Qc.GREYSCALE_0_30}, 0 0 0 1px ${Qc.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Qc.GREYSCALE_0_15}, 0 0 0 1px ${Qc.GREYSCALE_0_06}, 0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Qc.GREYSCALE_0_15}, 0 0 0 1px ${Qc.GREYSCALE_0_06}, 0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Qc.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Qc.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Qc.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Qc.GREYSCALE_0_15},markLabel:{color:Qc.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Qc.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Qc.WHITE,color:Qc.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:Qc.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Qc.GREEN_PALE,boxShadow:`0 0 0 3px ${hr(Qc.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Qc.BLUE_PALE,boxShadow:`0 0 0 3px ${hr(Qc.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Qc.GREYSCALE_0_15,borderRadius:nd},thumb:{height:"16px",width:"16px",borderRadius:nd,backgroundColor:Qc.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:Jc,fontWeight:id,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Qc.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Qc.MISC_FOCUS_BORDER}`,backgroundColor:Qc.GREYSCALE_0_03,borderRadius:nd},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Qc.GREYSCALE_25,"&.Mui-selected":{color:Qc.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Jc,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:nd,"&:hover":{backgroundColor:`${Qc.GREYSCALE_0_03}`},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Qc.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Qc.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:nd,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Qc.GREYSCALE_0_05},"&:hover":{backgroundColor:`${Qc.GREYSCALE_0_03}`,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Qc.GREYSCALE_85}`,borderRight:`1px solid ${Qc.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:id,backgroundColor:Qc.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:Qc.GREYSCALE_98,borderBottom:`1px solid ${Qc.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Qc.GREYSCALE_85}`,borderTop:`1px solid ${Qc.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Qc.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Qc.GREYSCALE_0_05,"&:hover":{backgroundColor:Qc.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Qc.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>E.createElement(hd,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${Qc.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Jc,borderRadius:nd,padding:"7px 16px",border:`1px solid ${Qc.GREYSCALE_0_15}`,backgroundColor:Qc.GREYSCALE_100_60,color:Qc.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Qc.GREYSCALE_0_10,border:`1px solid ${Qc.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Qc.GREYSCALE_0_03,border:`1px solid ${Qc.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Qc.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Qc.MISC_FOCUS_BORDER}`,border:`1px solid ${Qc.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Qc.GREYSCALE_25,backgroundColor:Qc.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Qc.GREYSCALE_0_10,border:`1px solid ${Qc.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Zc,height:24,width:24,padding:7},sizeLarge:{fontSize:ed,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Jc,borderRadius:nd}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:Qc.GREYSCALE_20},tooltip:{backgroundColor:Qc.GREYSCALE_20,fontSize:Zc,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}};var md=e=>fd;const bd={mode:"light",primary:{ultraLight:Qc.GREEN_ULTRA_LIGHT,light:Qc.GREEN_PALE,main:Qc.GREEN,dark:Qc.GREEN_DARK,extraDark:Qc.GREEN_EXTRA_DARK,contrastText:Qc.WHITE},secondary:{ultraLight:Qc.BLUE_ULTRA_LIGHT,light:Qc.BLUE_PALE,main:Qc.BLUE,dark:Qc.BLUE_DARK,extraDark:Qc.BLUE_EXTRA_DARK,contrastText:Qc.WHITE},error:{ultraLight:Qc.RED_ULTRA_LIGHT,light:Qc.RED_PALE,main:Qc.RED,dark:Qc.RED_DARK,extraDark:Qc.RED_EXTRA_DARK,contrastText:Qc.WHITE},warning:{ultraLight:Qc.ORANGE_ULTRA_LIGHT,light:Qc.ORANGE_PALE,main:Qc.ORANGE,dark:Qc.ORANGE_DARK,extraDark:Qc.ORANGE_EXTRA_DARK,contrastText:Qc.WHITE},success:{ultraLight:Qc.GREEN_ULTRA_LIGHT,light:Qc.GREEN_PALE,main:Qc.GREEN,dark:Qc.GREEN_DARK,extraDark:Qc.GREEN_EXTRA_DARK,contrastText:Qc.WHITE},info:{ultraLight:Qc.BLUE_ULTRA_LIGHT,light:Qc.BLUE_PALE,main:Qc.BLUE,dark:Qc.BLUE_DARK,extraDark:Qc.BLUE_EXTRA_DARK,contrastText:Qc.WHITE},text:{primary:Qc.TEXT_PRIMARY,secondary:Qc.TEXT_SECONDARY,disabled:Qc.GREYSCALE_0_30},action:{hover:Qc.GREYSCALE_0_03,hoverOpacity:.03,selected:Qc.GREYSCALE_0_05,selectedOpacity:.05,focus:Qc.MISC_FOCUS_BORDER},amethyst:{ultraLight:Qc.WHITE,main:Qc.PURPLE,light:Qc.PURPLE_PALE,dark:Qc.PURPLE_DARK,extraDark:Qc.GREYSCALE_0_0,contrastText:Qc.WHITE},background:{paper:Qc.WHITE,default:Qc.GREYSCALE_95},divider:Qc.GREYSCALE_0_15},gd=e=>bd;function vd(e){return yi({components:md(),palette:gd(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{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)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:Jc,fontWeightLight:od,fontWeightRegular:rd,fontWeightMedium:id,fontWeightBold:ad,htmlFontSize:Jc,fontFamily:ld.FONT_FAMILY,button:{fontWeight:id,fontSize:Jc,textTransform:"none"},body1:{fontSize:ed,lineHeight:"24px"},body2:{fontSize:Jc,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:td,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:ed,fontWeight:id,lineHeight:"16px"},h6:{fontSize:Jc,fontWeight:id,lineHeight:"16px"},caption:{color:Qc.TEXT_SECONDARY},subtitle1:{fontSize:Jc,color:Qc.TEXT_SECONDARY},subtitle2:{fontSize:Zc,color:Qc.TEXT_SECONDARY}},shape:{borderRadius:nd},direction:e})}class yd{constructor({translator:e}){O(this,"translator",void 0),O(this,"muiTheme",void 0),O(this,"containers",{}),O(this,"sync",(({element:e,sharedContainerUtilities:t,translator:n,containerId:o,dataHandler:r,renderHelper:i})=>{this.translator=n,this.containers[o]={element:e,sharedContainerUtilities:t,dataHandler:r,renderHelper:i}})),O(this,"setMuiTheme",(e=>{this.muiTheme=vd(e)})),O(this,"destroy",(e=>{delete this.containers[e]})),this.translator=e}}const xd=["container","sn-layout-container","sn-tabbed-container","listbox","qlik-tabbed-container","qlik-show-hide-container","qlik-trellis-container","qlik-on-demand-reporting","sn-analysis-autochart"];class Ed{constructor(e,t){O(this,"embed",void 0),O(this,"translator",void 0),O(this,"charts",{}),O(this,"getCharts",(()=>{var e;return this.charts=(null===(e=this.embed)||void 0===e?void 0:e.getRegisteredTypes()).reduce(((e,t)=>{var n,o;if(!(xd.includes(t.id)||!1===(null===(n=t.libraryInfo)||void 0===n?void 0:n.isLibraryItem)||null!==(o=t.libraryInfo)&&void 0!==o&&o.deprecated)){var r;const n=t;null!==(r=n.libraryInfo)&&void 0!==r&&r.translationKey&&(n.libraryInfo.translation=this.translator.get(n.libraryInfo.translationKey)),e[t.id||t.type]=n}return e}),{}),this.charts})),O(this,"getChart",(e=>(this.charts[e]||this.getCharts(),this.charts[e]))),this.embed=e,this.translator=t}}var Sd,Cd=_;function wd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Sd=Cd.createRoot,Cd.hydrateRoot;const Rd=(e,t)=>E.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){wd(e,t,n[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),E.createElement("path",{d:"M9.057 11.164a6 6 0 1 1 2.112-2.116 1 1 0 0 1 .052.044l4.176 4.08a1 1 0 0 1 .009 1.422l-.707.707a1 1 0 0 1-1.406.008l-4.185-4.087a1 1 0 0 1-.05-.058ZM10.5 6a4.5 4.5 0 1 0-9 0 4.5 4.5 0 0 0 9 0"})),Ad=y(Rd),kd="rgb(89, 89, 89)",Id=Zt(Cl)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),Ld=Zt(Cl)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}),_d=Zt(us,{shouldForwardProp:e=>"width"!==e})((({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}}))),Td=Zt($a)({color:kd,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),Md=Zt(Os)({"&.MuiListItemIcon-root":{minWidth:32,color:kd,marginRight:"0px"}}),Pd=Zt(Ul)({"&.MuiDivider-root":{borderBottom:"3px solid #595959"}}),Od=Zt(Ol)({"&.MuiButton-contained":{backgroundColor:kd,color:"rgb(255, 255, 255)"},"&.MuiButton-outlined":{backgroundColor:"rgb(255, 255, 255)",borderColor:kd,color:kd,border:"1px solid rgb(179, 179, 179)","&:hover":{backgroundColor:"rgb(255, 255, 255)",border:`1px solid ${kd}`}}}),$d=Zt(Pi)({width:"1em",height:"1em",paddingBottom:"8px"}),Nd=Zt(Pi)({width:"16px",height:"16px"}),Bd=({name:e,items:t,onSelect:n})=>E.createElement(E.Fragment,null,E.createElement(Ls,{key:e,dense:!0},E.createElement(Td,{noWrap:!0,fontWeight:"bold"},e)),E.createElement(Pd,null),t.map((e=>{var t;return E.createElement(Ls,{key:null!==(t=e.qExtendsId)&&void 0!==t?t:e.name,divider:!0,disablePadding:!0,disableGutters:!0},E.createElement(vs,{sx:{minHeight:"32px",height:"auto"},onClick:()=>n(e),disableRipple:!0,dense:!0},e.iconPath&&E.createElement(Md,null,e.IconDefinition?E.createElement(e.IconDefinition,null):E.createElement(Nd,{viewBox:"0 0 16 16"},E.createElement("path",{d:e.iconPath}))),E.createElement(Td,{noWrap:!0,title:e.translation||e.name},e.translation||e.name)))}))),jd=({categories:e,anchorEl:t,onClose:n,onSelect:o,width:r})=>{const[i,a]=R(""),l=!!t;return A((()=>{l&&a("")}),[l]),E.createElement(Zs,{open:l,anchorEl:t,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{marginTop:"5px"}},E.createElement(dl,{fullWidth:!0,onChange:e=>{a(e.target.value)},startAdornment:E.createElement(as,{position:"start"},E.createElement(Ad,null))}),E.createElement(Pd,null),E.createElement(_d,{width:r},e.map((e=>{const t=e.items.filter((e=>{const t=e.translation||e.name;return(null==t?void 0:t.toLocaleLowerCase().indexOf(i.toLocaleLowerCase()))>-1}));return t.length>0&&E.createElement(Bd,{key:e.name,name:e.name,items:t,onSelect:o})}))))},Dd=({anchorEl:e,onClose:t,dataHandler:n,translator:o,sharedContainerUtilities:r,width:i})=>{const[a,l]=R([]),[s,c]=R({});A((()=>{if(e&&n){(async()=>{const e=await n.getMasterVizList();l(e),c(n.getCharts())})().catch((()=>{}))}}),[e,n]);const d=[],u=[],p=[],h=[],f=[],m=Object.values(s);if(0===m.length&&0===a.length)return null;m.forEach((e=>{var t,n,o;!e.libraryInfo||!e.libraryInfo.isThirdParty&&e.libraryInfo.visible?d.push(e):e.libraryInfo.visible&&("qlik-dashboard-bundle"===(null===(t=e.libraryInfo.bundle)||void 0===t?void 0:t.id)?h.push(e):"qlik-visualization-bundle"===(null===(n=e.libraryInfo.bundle)||void 0===n?void 0:n.id)?p.push(e):"qlik-smart-bundle"===(null===(o=e.libraryInfo.bundle)||void 0===o?void 0:o.id)?f.push(e):!e.libraryInfo.bundle&&e.libraryInfo.isThirdParty&&u.push(e))}));const b=e=>e.map((e=>{var t,n,o,r;return{iconPath:null===(t=e.libraryInfo)||void 0===t?void 0:t.iconPath,IconDefinition:null===(n=e.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:e.id,translation:(null===(o=e.libraryInfo)||void 0===o?void 0:o.translation)||(null===(r=e.libraryInfo)||void 0===r?void 0:r.name)||e.id||"",type:e.id}})).sort(((e,t)=>(e.translation||e.name).localeCompare(t.translation||t.name))),g=[{name:o.get("LayoutContainer.Object.MasterItems"),items:a.map((e=>{var t,n;return{qExtendsId:e.qExtendsId,iconPath:s&&(null===(t=s[e.visualization])||void 0===t||null===(t=t.libraryInfo)||void 0===t?void 0:t.iconPath),IconDefinition:null===(n=s[e.visualization])||void 0===n||null===(n=n.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:e.name,type:e.visualization}})).sort(((e,t)=>e.name.localeCompare(t.name)))},{name:o.get("LayoutContainer.Object.Charts"),items:d.map((e=>{var t,n,o,r,i;return{iconPath:(null===(t=e.libraryInfo)||void 0===t?void 0:t.iconPath)||"",IconDefinition:null===(n=e.libraryInfo)||void 0===n?void 0:n.IconDefinition,name:(null===(o=e.libraryInfo)||void 0===o?void 0:o.name)||e.id,type:(null===(r=e.libraryInfo)||void 0===r?void 0:r.template)||e.id,translation:(null===(i=e.libraryInfo)||void 0===i?void 0:i.translation)||e.id||""}})).sort(((e,t)=>e.translation.localeCompare(t.translation)))},{name:o.get("LayoutContainer.Object.CustomObjects"),items:b(u)},{name:o.get("LayoutContainer.Object.VisualizationBundle"),items:b(p)},{name:o.get("LayoutContainer.Object.DashboardBundle"),items:b(h)},{name:o.get("LayoutContainer.Object.SmartBundle"),items:b(f)}];return E.createElement(jd,{categories:g,anchorEl:e,onSelect:e=>{if(!n)return;const{qExtendsId:o}=e;(o?n.addMasterObjectAsChild({initProps:{qExtendsId:o,qInfo:{qType:"undefined"}}}):n.addVizAsChild({type:e.type,objectInitProps:{label:e.translation}})).then((e=>{null!=e&&e.id&&(null==r||r.setSelected([e.id]))})).catch((e=>{console.warn(e)})).finally((()=>{t()}))},onClose:t,width:i})},zd=e=>{var t,n;const o=Gd(e);return null!==(t=null===(n=e.objects)||void 0===n?void 0:n.map((e=>{const{childRefId:t}=e;if(!t)return e;const n=o[t];return n?{...e,id:n}:e})))&&void 0!==t?t:[]},Fd=(e,t)=>{var n;return null==e||null===(n=e.qChildList)||void 0===n||null===(n=n.qItems)||void 0===n?void 0:n.find((e=>{var n;return(null==e||null===(n=e.qData)||void 0===n?void 0:n.childRefId)===t}))},Gd=e=>{var t;return null==e||null===(t=e.qChildList)||void 0===t||null===(t=t.qItems)||void 0===t?void 0:t.reduce(((e,t)=>{var n,o;return e[null==t||null===(n=t.qData)||void 0===n?void 0:n.childRefId]=null==t||null===(o=t.qInfo)||void 0===o?void 0:o.qId,e}),{})};var Hd=Fd,Yd=e=>{const t={...e};return t.objects=zd(t),t},Wd=e=>{var t;return null==e||null===(t=e.qChildList)||void 0===t||null===(t=t.qItems)||void 0===t?void 0:t.reduce(((e,t)=>{var n,o;return e[null==t||null===(n=t.qInfo)||void 0===n?void 0:n.qId]=null===(o=t.qData)||void 0===o?void 0:o.childRefId,e}),{})},Vd=e=>e.objects.reduce(((e,t)=>(e[t.childRefId]=t,e)),{}),Ud=(e,t)=>{var n;if(!e)return t;const o=Fd(e,t);return null==o||null===(n=o.qInfo)||void 0===n?void 0:n.qId};class qd{constructor({app:e,data:t}){O(this,"layout",void 0),O(this,"app",void 0),O(this,"activeId",""),O(this,"data",void 0),O(this,"properties",void 0),O(this,"setSelectedChild",(e=>{var t;null===(t=this.activeContainer)||void 0===t||null===(t=t.sharedContainerUtilities)||void 0===t||t.setSelected(e)})),O(this,"addChild",(({initProps:e,objectInitProps:t,children:n})=>{if(!this.activeContainer)return;const{dataHandler:o}=this.activeContainer;if(null!=e&&e.qExtendsId){const{qExtendsId:r,qInfo:i}=e;return null==o?void 0:o.addMasterObjectAsChild({initProps:{qExtendsId:r,qInfo:i},objectInitProps:t,children:n})}return null==o?void 0:o.addVizAsChild({type:null==e?void 0:e.visualization,initProps:e,objectInitProps:t,children:n})})),O(this,"deleteChild",(async e=>{if(!this.activeContainer)return;const{dataHandler:t}=this.activeContainer;await(null==t?void 0:t.deleteChildren([e]))})),O(this,"duplicateChild",(async e=>{var t;const{childRefId:n,...o}=e,r=this.getEngineId(n);if(!r)return;const i=await(null===(t=this.app)||void 0===t?void 0:t.getObject(r));if(i&&this.activeContainer){const{sharedContainerUtilities:e}=this.activeContainer,t=await i.getFullPropertyTree(),n=t.qProperty,r=t.qChildren,a=await this.addChild({initProps:n,children:r,objectInitProps:o});a&&(null==e||e.setSelected([a.id]))}})),O(this,"openAddChildPopover",(e=>{if(this.activeContainer&&this.activeContainer.dataHandler&&this.data.muiTheme){const t=((e,t)=>{const n=e.getElementsByClassName(t);let o;return 0===n.length?(o=document.createElement("div"),o.className=t,e.appendChild(o)):o=n[0],Sd(o)})(this.activeContainer.element,"add-child-popover"),n=()=>{t.unmount()};null==t||t.render(E.createElement(ki,{theme:this.data.muiTheme},E.createElement(Dd,{translator:this.data.translator,anchorEl:e,dataHandler:this.activeContainer.dataHandler,onClose:n,width:220,sharedContainerUtilities:this.activeContainer.sharedContainerUtilities})))}})),O(this,"setModel",(e=>{this.activeId=e.id})),O(this,"setLayout",(e=>{this.layout=e})),O(this,"getLayout",(()=>this.layout)),O(this,"getEngineId",(e=>Ud(this.layout,e))),O(this,"setProperties",(e=>{this.properties=e})),O(this,"canAddDimension",(()=>!1)),O(this,"canAddMeasure",(()=>!1)),O(this,"canColorBy",(()=>!1)),O(this,"getDimensions",(()=>[])),O(this,"getMeasures",(()=>[])),O(this,"minDimensions",(()=>0)),O(this,"minMeasures",(()=>0)),O(this,"maxDimensions",(()=>0)),O(this,"maxMeasures",(()=>0)),this.app=e,this.data=t}get activeContainer(){return this.data.containers[this.activeId]}getObject(e){const t=this.getEngineId(e);var n;if(t)return null===(n=this.activeContainer)||void 0===n?void 0:n.renderHelper.objectMap[t]}}function Kd(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,l=[],s=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(o=i.call(n)).done)&&(l.push(o.value),l.length!==t);s=!0);}catch(e){c=!0,r=e}finally{try{if(!s&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return l}}(e,t)||Qd(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xd(e){return function(e){if(Array.isArray(e))return Zd(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Qd(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qd(e,t){if(e){if("string"==typeof e)return Zd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zd(e,t):void 0}}function Zd(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var Jd=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],eu=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];var tu=function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1),groupHeader:!1,disabled:!1,styles:{fontFamily:e}}};function nu(e){var t=e.theme,n=e.translator,o=e.defaultValue,r=e.flags,i=[],a=t.getStyle("","","fontFamilies");return Array.isArray(a)&&a.length?i.push.apply(i,Xd(new Set([o].concat(Xd(a.map((function(e){return e.split(",").map((function(e){return e.trim()})).map((function(e){return e.replace(/\s+/g," ").trim()})).filter(Boolean).join(", ")}))))))):i.push(o),[{value:"ThemeHeader",label:n.get("properties.themeFonts"),metaText:n.get("properties.theme"),groupHeader:!0}].concat(Xd(i.map((function(e){return tu(e)}))),[{value:"DefaultHeader",label:n.get("properties.allFonts"),metaText:n.get("properties.default"),groupHeader:!0}],Xd(function(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?eu:Jd}(r).map((function(e){return tu(e)}))))}function ou(e){var t=e.theme,n=e.translator,o=e.id,r=e.path,i=e.flags,a=function(){return t.getStyle(o,r,"fontFamily")};return{getDefaultValue:function(){return a()},getOptions:function(){return nu({theme:t,translator:n,defaultValue:a(),flags:i})}}}var ru=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],iu=function(e){return{value:e,label:e,groupHeader:!1,disabled:!1}};function au(e){var t=e.theme,n=e.translator,o=e.id,r=e.path,i=function(){return t.getStyle(o,r,"fontSize")};return{getDefaultValue:function(){return i()},getOptions:function(){return function(e){var t=e.translator,n=e.defaultValue,o=[],r=e.theme.getStyle("","","fontSizes");return Array.isArray(r)&&r.length?o.push.apply(o,Xd(new Set([n].concat(Xd(r))))):o.push(n),[{value:"ThemeHeader",label:t.get("properties.themeFontSizes"),metaText:t.get("properties.theme"),groupHeader:!0}].concat(Xd(o.map((function(e){return iu(e)}))),[{value:"DefaultHeader",label:t.get("properties.allFontSizes"),metaText:t.get("properties.default"),groupHeader:!0}],Xd(ru.map((function(e){return iu(e)}))))}({theme:t,translator:n,defaultValue:i()})}}}function lu(e){var t=e.theme,n=e.translator,o=e.id,r=e.path;return{fontFamily:ou({theme:t,translator:n,id:o,path:r,flags:e.flags}),fontSize:au({theme:t,translator:n,id:o,path:r})}}var su=Object.prototype.hasOwnProperty,cu=Object.prototype.toString,du=Object.defineProperty,uu=Object.getOwnPropertyDescriptor,pu=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===cu.call(e)},hu=function(e){if(!e||"[object Object]"!==cu.call(e))return!1;var t,n=su.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&su.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!o)return!1;for(t in e);return void 0===t||su.call(e,t)},fu=function(e,t){du&&"__proto__"===t.name?du(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},mu=function(e,t){if("__proto__"===t){if(!su.call(e,t))return;if(uu)return uu(e,t).value}return e[t]};function bu(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function gu(e,t){var n=Object.create(e.prototype);for(var o in t)n[o]=t[o];return n}function vu(){}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")&&e.default}((function e(){var t,n,o,r,i,a,l=arguments[0],s=1,c=arguments.length,d=!1;for("boolean"==typeof l&&(d=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<c;++s)if(null!=(t=arguments[s]))for(n in t)o=mu(l,n),l!==(r=mu(t,n))&&(d&&r&&(hu(r)||(i=pu(r)))?(i?(i=!1,a=o&&pu(o)?o:[]):a=o&&hu(o)?o:{},fu(l,{name:n,newValue:e(d,a,r)})):void 0!==r&&fu(l,{name:n,newValue:r}));return l}));var yu=1/.7,xu="\\s*([+-]?\\d+)\\s*",Eu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Su="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Cu=/^#([0-9a-f]{3,8})$/,wu=new RegExp(`^rgb\\(${xu},${xu},${xu}\\)$`),Ru=new RegExp(`^rgb\\(${Su},${Su},${Su}\\)$`),Au=new RegExp(`^rgba\\(${xu},${xu},${xu},${Eu}\\)$`),ku=new RegExp(`^rgba\\(${Su},${Su},${Su},${Eu}\\)$`),Iu=new RegExp(`^hsl\\(${Eu},${Su},${Su}\\)$`),Lu=new RegExp(`^hsla\\(${Eu},${Su},${Su},${Eu}\\)$`),_u={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Tu(){return this.rgb().formatHex()}function Mu(){return this.rgb().formatRgb()}function Pu(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Cu.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Ou(t):3===n?new ju(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?$u(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?$u(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=wu.exec(e))?new ju(t[1],t[2],t[3],1):(t=Ru.exec(e))?new ju(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Au.exec(e))?$u(t[1],t[2],t[3],t[4]):(t=ku.exec(e))?$u(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Iu.exec(e))?Yu(t[1],t[2]/100,t[3]/100,1):(t=Lu.exec(e))?Yu(t[1],t[2]/100,t[3]/100,t[4]):_u.hasOwnProperty(e)?Ou(_u[e]):"transparent"===e?new ju(NaN,NaN,NaN,0):null}function Ou(e){return new ju(e>>16&255,e>>8&255,255&e,1)}function $u(e,t,n,o){return o<=0&&(e=t=n=NaN),new ju(e,t,n,o)}function Nu(e){return e instanceof vu||(e=Pu(e)),e?new ju((e=e.rgb()).r,e.g,e.b,e.opacity):new ju}function Bu(e,t,n,o){return 1===arguments.length?Nu(e):new ju(e,t,n,null==o?1:o)}function ju(e,t,n,o){this.r=+e,this.g=+t,this.b=+n,this.opacity=+o}function Du(){return`#${Hu(this.r)}${Hu(this.g)}${Hu(this.b)}`}function zu(){const e=Fu(this.opacity);return`${1===e?"rgb(":"rgba("}${Gu(this.r)}, ${Gu(this.g)}, ${Gu(this.b)}${1===e?")":`, ${e})`}`}function Fu(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Gu(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Hu(e){return((e=Gu(e))<16?"0":"")+e.toString(16)}function Yu(e,t,n,o){return o<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Vu(e,t,n,o)}function Wu(e){if(e instanceof Vu)return new Vu(e.h,e.s,e.l,e.opacity);if(e instanceof vu||(e=Pu(e)),!e)return new Vu;if(e instanceof Vu)return e;var t=(e=e.rgb()).r/255,n=e.g/255,o=e.b/255,r=Math.min(t,n,o),i=Math.max(t,n,o),a=NaN,l=i-r,s=(i+r)/2;return l?(a=t===i?(n-o)/l+6*(n<o):n===i?(o-t)/l+2:(t-n)/l+4,l/=s<.5?i+r:2-i-r,a*=60):l=s>0&&s<1?0:a,new Vu(a,l,s,e.opacity)}function Vu(e,t,n,o){this.h=+e,this.s=+t,this.l=+n,this.opacity=+o}function Uu(e){return(e=(e||0)%360)<0?e+360:e}function qu(e){return Math.max(0,Math.min(1,e||0))}function Ku(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}bu(vu,Pu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Tu,formatHex:Tu,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Wu(this).formatHsl()},formatRgb:Mu,toString:Mu}),bu(ju,Bu,gu(vu,{brighter(e){return e=null==e?yu:Math.pow(yu,e),new ju(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new ju(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ju(Gu(this.r),Gu(this.g),Gu(this.b),Fu(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Du,formatHex:Du,formatHex8:function(){return`#${Hu(this.r)}${Hu(this.g)}${Hu(this.b)}${Hu(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:zu,toString:zu})),bu(Vu,(function(e,t,n,o){return 1===arguments.length?Wu(e):new Vu(e,t,n,null==o?1:o)}),gu(vu,{brighter(e){return e=null==e?yu:Math.pow(yu,e),new Vu(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Vu(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,o=n+(n<.5?n:1-n)*t,r=2*n-o;return new ju(Ku(e>=240?e-240:e+120,r,o),Ku(e,r,o),Ku(e<120?e+240:e-120,r,o),this.opacity)},clamp(){return new Vu(Uu(this.h),qu(this.s),qu(this.l),Fu(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Fu(this.opacity);return`${1===e?"hsl(":"hsla("}${Uu(this.h)}, ${100*qu(this.s)}%, ${100*qu(this.l)}%${1===e?")":`, ${e})`}`}}));const Xu=Math.PI/180,Qu=180/Math.PI,Zu=4/29,Ju=6/29,ep=3*Ju*Ju;function tp(e){if(e instanceof np)return new np(e.l,e.a,e.b,e.opacity);if(e instanceof lp)return sp(e);e instanceof ju||(e=Nu(e));var t,n,o=ap(e.r),r=ap(e.g),i=ap(e.b),a=op((.2225045*o+.7168786*r+.0606169*i)/1);return o===r&&r===i?t=n=a:(t=op((.4360747*o+.3850649*r+.1430804*i)/.96422),n=op((.0139322*o+.0971045*r+.7141733*i)/.82521)),new np(116*a-16,500*(t-a),200*(a-n),e.opacity)}function np(e,t,n,o){this.l=+e,this.a=+t,this.b=+n,this.opacity=+o}function op(e){return e>.008856451679035631?Math.pow(e,1/3):e/ep+Zu}function rp(e){return e>Ju?e*e*e:ep*(e-Zu)}function ip(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function ap(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function lp(e,t,n,o){this.h=+e,this.c=+t,this.l=+n,this.opacity=+o}function sp(e){if(isNaN(e.h))return new np(e.l,0,0,e.opacity);var t=e.h*Xu;return new np(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}bu(np,(function(e,t,n,o){return 1===arguments.length?tp(e):new np(e,t,n,null==o?1:o)}),gu(vu,{brighter(e){return new np(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new np(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return new ju(ip(3.1338561*(t=.96422*rp(t))-1.6168667*(e=1*rp(e))-.4906146*(n=.82521*rp(n))),ip(-.9787684*t+1.9161415*e+.033454*n),ip(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),bu(lp,(function(e,t,n,o){return 1===arguments.length?function(e){if(e instanceof lp)return new lp(e.h,e.c,e.l,e.opacity);if(e instanceof np||(e=tp(e)),0===e.a&&0===e.b)return new lp(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Qu;return new lp(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new lp(e,t,n,null==o?1:o)}),gu(vu,{brighter(e){return new lp(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new lp(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return sp(this).rgb()}}));var cp=e=>()=>e;function dp(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):cp(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1==(e=+e)?dp:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(o){return Math.pow(e+o*t,n)}}(t,n,e):cp(isNaN(t)?n:t)}}(t);function o(e,t){var o=n((e=Bu(e)).r,(t=Bu(t)).r),r=n(e.g,t.g),i=n(e.b,t.b),a=dp(e.opacity,t.opacity);return function(t){return e.r=o(t),e.g=r(t),e.b=i(t),e.opacity=a(t),e+""}}return o.gamma=e,o}(1);var up="center",pp="bottom";function hp(e,t,n){if(void 0===e||void 0===t)return n;for(var o=t.split("."),r=e,i=0;i<o.length;++i){var a=o[i];if(void 0===r[a])return n;r=r[a]}return r}[{key:"NoDataExist",alignment:up,condition:function(e){var t=e.layoutService;if(!t)return!1;var n=t.meta.size;return n.x*n.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:up,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:up,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var n=t.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:up},{key:"DataRangeIncludingZero",alignment:pp},{key:"LimitedData",alignment:pp},{key:"NegativeOrZeroValues",alignment:pp}].reduce((function(e,t){return e[t.key]=t,e}),{});var fp,mp=["__proto__","constructor"];function bp(e,t,n){if(void 0!==e&&void 0!==t){var o=t.split("."),r=o[o.length-1];if(!mp.some((function(e){return o.includes(e)}))){for(var i=e,a=0;a<o.length-1;++a){var l=o[a];void 0===i[l]&&(i[l]=Number.isNaN(+o[a+1])?{}:[]),i=i[l]}void 0!==n?i[r]=n:delete i[r]}}}function gp(e){var t=0,n=e.children,o=n&&n.length;if(o)for(;--o>=0;)t+=n[o].value;else t=1;e.value=t}function vp(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=xp)):void 0===t&&(t=yp);for(var n,o,r,i,a,l=new Cp(e),s=[l];n=s.pop();)if((r=t(n.data))&&(a=(r=Array.from(r)).length))for(n.children=r,i=a-1;i>=0;--i)s.push(o=r[i]=new Cp(r[i])),o.parent=n,o.depth=n.depth+1;return l.eachBefore(Sp)}function yp(e){return e.children}function xp(e){return Array.isArray(e)?e[1]:null}function Ep(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function Sp(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Cp(e){this.data=e,this.depth=this.height=0,this.parent=null}Cp.prototype=vp.prototype={constructor:Cp,count:function(){return this.eachAfter(gp)},each:function(e,t){let n=-1;for(const o of this)e.call(t,o,++n,this);return this},eachAfter:function(e,t){for(var n,o,r,i=this,a=[i],l=[],s=-1;i=a.pop();)if(l.push(i),n=i.children)for(o=0,r=n.length;o<r;++o)a.push(n[o]);for(;i=l.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var n,o,r=this,i=[r],a=-1;r=i.pop();)if(e.call(t,r,++a,this),n=r.children)for(o=n.length-1;o>=0;--o)i.push(n[o]);return this},find:function(e,t){let n=-1;for(const o of this)if(e.call(t,o,++n,this))return o},sum:function(e){return this.eachAfter((function(t){for(var n=+e(t.data)||0,o=t.children,r=o&&o.length;--r>=0;)n+=o[r].value;t.value=n}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),o=t.ancestors(),r=null;for(e=n.pop(),t=o.pop();e===t;)r=e,e=n.pop(),t=o.pop();return r}(t,e),o=[t];t!==n;)t=t.parent,o.push(t);for(var r=o.length;e!==n;)o.splice(r,0,e),e=e.parent;return o},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(n){n!==e&&t.push({source:n.parent,target:n})})),t},copy:function(){return vp(this).eachBefore(Ep)},[Symbol.iterator]:function*(){var e,t,n,o,r=this,i=[r];do{for(e=i.reverse(),i=[];r=e.pop();)if(yield r,t=r.children)for(n=0,o=t.length;n<o;++n)i.push(t[n])}while(i.length)}},fp=function(e){
|
|
87
|
+
`),Ba.rippleVisible,Ya,550,(({theme:e})=>e.transitions.easing.easeInOut),Ba.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),Ba.child,Ba.childLeaving,Va,550,(({theme:e})=>e.transitions.easing.easeInOut),Ba.childPulsate,Ua,(({theme:e})=>e.transitions.easing.easeInOut));var Xa=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiTouchRipple"}),{center:n=!1,classes:o={},className:i}=r,a=B(r,za),[l,s]=v.useState([]),c=v.useRef(0),d=v.useRef(null);v.useEffect((()=>{d.current&&(d.current(),d.current=null)}),[l]);const u=v.useRef(!1),p=So(),h=v.useRef(null),f=v.useRef(null),m=v.useCallback((e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:i,cb:a}=e;s((e=>[...e,br.jsx(Ka,{classes:{ripple:Gn(o.ripple,Ba.ripple),rippleVisible:Gn(o.rippleVisible,Ba.rippleVisible),ripplePulsate:Gn(o.ripplePulsate,Ba.ripplePulsate),child:Gn(o.child,Ba.child),childLeaving:Gn(o.childLeaving,Ba.childLeaving),childPulsate:Gn(o.childPulsate,Ba.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:i},c.current)])),c.current+=1,d.current=a}),[o]),b=v.useCallback(((e={},t={},r=()=>{})=>{const{pulsate:o=!1,center:i=n||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&u.current)return void(u.current=!1);"touchstart"===(null==e?void 0:e.type)&&(u.current=!0);const l=a?null:f.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,d,b;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(s.width/2),d=Math.round(s.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-s.left),d=Math.round(r-s.top)}if(i)b=Math.sqrt((2*s.width**2+s.height**2)/3),b%2==0&&(b+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-d),d)+2;b=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===h.current&&(h.current=()=>{m({pulsate:o,rippleX:c,rippleY:d,rippleSize:b,cb:r})},p.start(80,(()=>{h.current&&(h.current(),h.current=null)}))):m({pulsate:o,rippleX:c,rippleY:d,rippleSize:b,cb:r})}),[n,m,p]),g=v.useCallback((()=>{b({},{pulsate:!0})}),[b]),y=v.useCallback(((e,t)=>{if(p.clear(),"touchend"===(null==e?void 0:e.type)&&h.current)return h.current(),h.current=null,void p.start(0,(()=>{y(e,t)}));h.current=null,s((e=>e.length>0?e.slice(1):e)),d.current=t}),[p]);return v.useImperativeHandle(t,(()=>({pulsate:g,start:b,stop:y})),[g,b,y]),br.jsx(qa,$({className:Gn(Ba.root,o.root,i),ref:f},a,{children:br.jsx(Oa,{component:null,exit:!0,children:l})}))}));function Qa(e){return Yn("MuiButtonBase",e)}var Za=Vn("MuiButtonBase",["root","disabled","focusVisible"]);const Ja=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],el=na("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"},[`&.${Za.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),tl=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiButtonBase"}),{action:n,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!1,disableRipple:c=!1,disableTouchRipple:d=!1,focusRipple:u=!1,LinkComponent:p="a",onBlur:h,onClick:f,onContextMenu:m,onDragLeave:b,onFocus:g,onFocusVisible:y,onKeyDown:x,onKeyUp:E,onMouseDown:S,onMouseLeave:C,onMouseUp:w,onTouchEnd:R,onTouchMove:k,onTouchStart:A,tabIndex:_=0,TouchRippleProps:I,touchRippleRef:T,type:O}=r,L=B(r,Ja),P=v.useRef(null),M=v.useRef(null),j=vo(M,T),{isFocusVisibleRef:N,onFocus:z,onBlur:D,ref:F}=Oo(),[G,H]=v.useState(!1);s&&G&&H(!1),v.useImperativeHandle(n,(()=>({focusVisible:()=>{H(!0),P.current.focus()}})),[]);const[W,Y]=v.useState(!1);v.useEffect((()=>{Y(!0)}),[]);const V=W&&!c&&!s;function U(e,t,r=d){return go((n=>{t&&t(n);return!r&&M.current&&M.current[e](n),!0}))}v.useEffect((()=>{G&&u&&!c&&W&&M.current.pulsate()}),[c,u,G,W]);const q=U("start",S),K=U("stop",m),X=U("stop",b),Q=U("stop",w),Z=U("stop",(e=>{G&&e.preventDefault(),C&&C(e)})),J=U("start",A),ee=U("stop",R),te=U("stop",k),re=U("stop",(e=>{D(e),!1===N.current&&H(!1),h&&h(e)}),!1),ne=go((e=>{P.current||(P.current=e.currentTarget),z(e),!0===N.current&&(H(!0),y&&y(e)),g&&g(e)})),oe=()=>{const e=P.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ie=v.useRef(!1),ae=go((e=>{u&&!ie.current&&G&&M.current&&" "===e.key&&(ie.current=!0,M.current.stop(e,(()=>{M.current.start(e)}))),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!s&&(e.preventDefault(),f&&f(e))})),le=go((e=>{u&&" "===e.key&&M.current&&G&&!e.defaultPrevented&&(ie.current=!1,M.current.stop(e,(()=>{M.current.pulsate(e)}))),E&&E(e),f&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&f(e)}));let se=l;"button"===se&&(L.href||L.to)&&(se=p);const ce={};"button"===se?(ce.type=void 0===O?"button":O,ce.disabled=s):(L.href||L.to||(ce.role="button"),s&&(ce["aria-disabled"]=s));const de=vo(t,F,P),ue=$({},r,{centerRipple:o,component:l,disabled:s,disableRipple:c,disableTouchRipple:d,focusRipple:u,tabIndex:_,focusVisible:G}),pe=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=No({root:["root",t&&"disabled",r&&"focusVisible"]},Qa,o);return r&&n&&(i.root+=` ${n}`),i})(ue);return br.jsxs(el,$({as:se,className:Gn(pe.root,a),ownerState:ue,onBlur:re,onClick:f,onContextMenu:K,onFocus:ne,onKeyDown:ae,onKeyUp:le,onMouseDown:q,onMouseLeave:Z,onMouseUp:Q,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:J,ref:de,tabIndex:s?-1:_,type:O},ce,L,{children:[i,V?br.jsx(Xa,$({ref:j,center:o},I)):null]}))}));var rl=tl;function nl(e){return Yn("MuiTypography",e)}Vn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const ol=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],il=na("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${Lr(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>$({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16}))),al={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},ll={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},sl=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiTypography"}),n=(e=>ll[e]||e)(r.color),o=$n($({},r,{color:n})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:d=!1,variant:u="body1",variantMapping:p=al}=o,h=B(o,ol),f=$({},o,{align:i,color:n,className:a,component:l,gutterBottom:s,noWrap:c,paragraph:d,variant:u,variantMapping:p}),m=l||(d?"p":p[u]||al[u])||"span",b=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e;return No({root:["root",i,"inherit"!==e.align&&`align${Lr(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},nl,a)})(f);return br.jsx(il,$({as:m,ref:t,ownerState:f,className:Gn(b.root,a)},h))}));var cl=sl;var dl=v.forwardRef((function(e,t){const{children:r,container:n,disablePortal:o=!1}=e,[i,a]=v.useState(null),l=vo(v.isValidElement(r)?Go(r):null,t);if(ao((()=>{o||a(function(e){return"function"==typeof e?e():e}(n)||document.body)}),[n,o]),ao((()=>{if(i&&!o)return bo(t,i),()=>{bo(t,null)}}),[t,i,o]),o){if(v.isValidElement(r)){const e={ref:l};return v.cloneElement(r,e)}return br.jsx(v.Fragment,{children:r})}return br.jsx(v.Fragment,{children:i?O.createPortal(r,i):i})}));const ul=["onChange","maxRows","minRows","style","value"];function pl(e){return parseInt(e,10)||0}const hl={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};const fl=v.forwardRef((function(e,t){const{onChange:r,maxRows:n,minRows:o=1,style:i,value:a}=e,l=B(e,ul),{current:s}=v.useRef(null!=a),c=v.useRef(null),d=vo(t,c),u=v.useRef(null),p=v.useRef(null),h=v.useCallback((()=>{const t=c.current,r=mo(t).getComputedStyle(t);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};const i=p.current;i.style.width=r.width,i.value=t.value||e.placeholder||"x","\n"===i.value.slice(-1)&&(i.value+=" ");const a=r.boxSizing,l=pl(r.paddingBottom)+pl(r.paddingTop),s=pl(r.borderBottomWidth)+pl(r.borderTopWidth),d=i.scrollHeight;i.value="x";const u=i.scrollHeight;let h=d;o&&(h=Math.max(Number(o)*u,h)),n&&(h=Math.min(Number(n)*u,h)),h=Math.max(h,u);return{outerHeightStyle:h+("border-box"===a?l+s:0),overflowing:Math.abs(h-d)<=1}}),[n,o,e.placeholder]),f=v.useCallback((()=>{const e=h();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const r=e.outerHeightStyle,n=c.current;u.current!==r&&(u.current=r,n.style.height=`${r}px`),n.style.overflow=e.overflowing?"hidden":""}),[h]);ao((()=>{const e=()=>{f()};const t=ho(e),r=c.current,n=mo(r);let o;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(r)),()=>{t.clear(),cancelAnimationFrame(undefined),n.removeEventListener("resize",t),o&&o.disconnect()}}),[h,f]),ao((()=>{f()}));return br.jsxs(v.Fragment,{children:[br.jsx("textarea",$({value:a,onChange:e=>{s||f(),r&&r(e)},ref:d,rows:o,style:i},l)),br.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:$({},hl,i,{paddingTop:0,paddingBottom:0})})]})}));var ml=fl;var bl=v.createContext(void 0);function gl(){return v.useContext(bl)}function vl(e){return br.jsx(jn,$({},e,{defaultTheme:Fi,themeId:N}))}function yl(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function xl(e){return Yn("MuiInputBase",e)}var El=Vn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const Sl=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],Cl=na("div",{name:"MuiInputBase",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Lr(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>$({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${El.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&$({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),wl=na("input",{name:"MuiInputBase",slot:"Input",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]}})((({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=$({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return $({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${El.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${El.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})})),Rl=br.jsx(vl,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),kl=v.forwardRef((function(e,t){var r;const n=la({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:l,components:s={},componentsProps:c={},defaultValue:d,disabled:u,disableInjectingGlobalStyles:p,endAdornment:h,fullWidth:f=!1,id:m,inputComponent:b="input",inputProps:g={},inputRef:y,maxRows:x,minRows:E,multiline:S=!1,name:C,onBlur:w,onChange:R,onClick:k,onFocus:A,onKeyDown:_,onKeyUp:I,placeholder:T,readOnly:O,renderSuffix:L,rows:P,slotProps:j={},slots:N={},startAdornment:z,type:D="text",value:F}=n,G=B(n,Sl),H=null!=g.value?g.value:F,{current:W}=v.useRef(null!=H),Y=v.useRef(),V=v.useCallback((e=>{}),[]),U=vo(Y,y,g.ref,V),[q,K]=v.useState(!1),X=gl(),Q=function({props:e,states:t,muiFormControl:r}){return t.reduce(((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t)),{})}({props:n,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Q.focused=X?X.focused:q,v.useEffect((()=>{!X&&u&&q&&(K(!1),w&&w())}),[X,u,q,w]);const Z=X&&X.onFilled,J=X&&X.onEmpty,ee=v.useCallback((e=>{!function(e,t=!1){return e&&(yl(e.value)&&""!==e.value||t&&yl(e.defaultValue)&&""!==e.defaultValue)}(e)?J&&J():Z&&Z()}),[Z,J]);ao((()=>{W&&ee({value:H})}),[H,ee,W]);v.useEffect((()=>{ee(Y.current)}),[]);let te=b,re=g;S&&"input"===te&&(re=$(P?{type:void 0,minRows:P,maxRows:P}:{type:void 0,maxRows:x,minRows:E},re),te=ml);v.useEffect((()=>{X&&X.setAdornedStart(Boolean(z))}),[X,z]);const ne=$({},n,{color:Q.color||"primary",disabled:Q.disabled,endAdornment:h,error:Q.error,focused:Q.focused,formControl:X,fullWidth:f,hiddenLabel:Q.hiddenLabel,multiline:S,size:Q.size,startAdornment:z,type:D}),oe=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:c,multiline:d,readOnly:u,size:p,startAdornment:h,type:f}=e;return No({root:["root",`color${Lr(r)}`,n&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Lr(p)}`,d&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",u&&"readOnly"],input:["input",n&&"disabled","search"===f&&"inputTypeSearch",d&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",u&&"readOnly"]},xl,t)})(ne),ie=N.root||s.Root||Cl,ae=j.root||c.root||{},le=N.input||s.Input||wl;return re=$({},re,null!=(r=j.input)?r:c.input),br.jsxs(v.Fragment,{children:[!p&&Rl,br.jsxs(ie,$({},ae,!$o(ie)&&{ownerState:$({},ne,ae.ownerState)},{ref:t,onClick:e=>{Y.current&&e.currentTarget===e.target&&Y.current.focus(),k&&k(e)}},G,{className:Gn(oe.root,ae.className,l,O&&"MuiInputBase-readOnly"),children:[z,br.jsx(bl.Provider,{value:null,children:br.jsx(le,$({ownerState:ne,"aria-invalid":Q.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:d,disabled:Q.disabled,id:m,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?Y.current:{value:"x"})},name:C,placeholder:T,readOnly:O,required:Q.required,rows:P,value:H,onKeyDown:_,onKeyUp:I,type:D},re,!$o(le)&&{as:te,ownerState:$({},ne,re.ownerState)},{ref:U,className:Gn(oe.input,re.className,O&&"MuiInputBase-readOnly"),onBlur:e=>{w&&w(e),g.onBlur&&g.onBlur(e),X&&X.onBlur?X.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!W){const t=e.target||Y.current;if(null==t)throw new Error(M(1));ee({value:t.value})}g.onChange&&g.onChange(e,...t),R&&R(e,...t)},onFocus:e=>{Q.disabled?e.stopPropagation():(A&&A(e),g.onFocus&&g.onFocus(e),X&&X.onFocus?X.onFocus(e):K(!0))}}))}),h,L?L($({},Q,{startAdornment:z})):null]}))]})}));var Al=kl;const _l=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Il={entering:{opacity:1},entered:{opacity:1}},Tl=v.forwardRef((function(e,t){const r=Gi(),n={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:c,onEntered:d,onEntering:u,onExit:p,onExited:h,onExiting:f,style:m,timeout:b=n,TransitionComponent:g=Ra}=e,y=B(e,_l),x=v.useRef(null),E=vo(x,Go(a),t),S=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},C=S(u),w=S(((e,t)=>{La(e);const n=Pa({style:m,timeout:b,easing:l},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),c&&c(e,t)})),R=S(d),k=S(f),A=S((e=>{const t=Pa({style:m,timeout:b,easing:l},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),p&&p(e)})),_=S(h);return br.jsx(g,$({appear:i,in:s,nodeRef:x,onEnter:w,onEntered:R,onEntering:C,onExit:A,onExited:_,onExiting:k,addEndListener:e=>{o&&o(x.current,e)},timeout:b},y,{children:(e,t)=>v.cloneElement(a,$({style:$({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Il[e],m,a.props.style),ref:E},t))}))}));var Ol=Tl;function Ll(e){return Yn("MuiBackdrop",e)}Vn("MuiBackdrop",["root","invisible"]);const Pl=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Ml=na("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})((({ownerState:e})=>$({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})));var jl=v.forwardRef((function(e,t){var r,n,o;const i=la({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:c={},componentsProps:d={},invisible:u=!1,open:p,slotProps:h={},slots:f={},TransitionComponent:m=Ol,transitionDuration:b}=i,g=B(i,Pl),v=$({},i,{component:s,invisible:u}),y=(e=>{const{classes:t,invisible:r}=e;return No({root:["root",r&&"invisible"]},Ll,t)})(v),x=null!=(r=h.root)?r:d.root;return br.jsx(m,$({in:p,timeout:b},g,{children:br.jsx(Ml,$({"aria-hidden":!0},x,{as:null!=(n=null!=(o=f.root)?o:c.Root)?n:s,className:Gn(y.root,l,null==x?void 0:x.className),ownerState:$({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var Nl=Vn("MuiBox",["root"]);const $l=Di(),Bl=function(e={}){const{themeId:t,defaultTheme:r,defaultClassName:n="MuiBox-root",generateClassName:o}=e,i=yr("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(An);return v.forwardRef((function(e,a){const l=Mn(r),s=$n(e),{className:c,component:d="div"}=s,u=B(s,Hn);return br.jsx(i,$({as:d,ref:a,className:Gn(c,o?o(n):n),theme:t&&l[t]||l},u))}))}({themeId:N,defaultTheme:$l,defaultClassName:Nl.root,generateClassName:Dn.generate});var zl=Bl;function Dl(e){return Yn("MuiButton",e)}var Fl=Vn("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var Gl=v.createContext({});var Hl=v.createContext(void 0);const Wl=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Yl=e=>$({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Vl=na(rl,{shouldForwardProp:e=>ra(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${Lr(r.color)}`],t[`size${Lr(r.size)}`],t[`${r.variant}Size${Lr(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return $({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":$({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:ui.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ui.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:ui.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":$({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Fl.focusVisible}`]:$({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Fl.disabled}`]:$({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${ui.alpha(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${Fl.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${Fl.disabled}`]:{boxShadow:"none"}})),Ul=na("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${Lr(r.size)}`]]}})((({ownerState:e})=>$({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Yl(e)))),ql=na("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${Lr(r.size)}`]]}})((({ownerState:e})=>$({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Yl(e)))),Kl=v.forwardRef((function(e,t){const r=v.useContext(Gl),n=v.useContext(Hl),o=la({props:io(r,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,disabled:c=!1,disableElevation:d=!1,disableFocusRipple:u=!1,endIcon:p,focusVisibleClassName:h,fullWidth:f=!1,size:m="medium",startIcon:b,type:g,variant:y="text"}=o,x=B(o,Wl),E=$({},o,{color:a,component:l,disabled:c,disableElevation:d,disableFocusRipple:u,fullWidth:f,size:m,type:g,variant:y}),S=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e;return $({},a,No({root:["root",i,`${i}${Lr(t)}`,`size${Lr(o)}`,`${i}Size${Lr(o)}`,`color${Lr(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Lr(o)}`],endIcon:["icon","endIcon",`iconSize${Lr(o)}`]},Dl,a))})(E),C=b&&br.jsx(Ul,{className:S.startIcon,ownerState:E,children:b}),w=p&&br.jsx(ql,{className:S.endIcon,ownerState:E,children:p}),R=n||"";return br.jsxs(Vl,$({ownerState:E,className:Gn(r.className,S.root,s,R),component:l,disabled:c,focusRipple:!u,focusVisibleClassName:Gn(S.focusVisible,h),ref:t,type:g},x,{classes:S,children:[C,i,w]}))}));var Xl=Kl;function Ql(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Zl(e){return parseInt(mo(e).getComputedStyle(e).paddingRight,10)||0}function Jl(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,(e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&Ql(e,o)}))}function es(e,t){let r=-1;return e.some(((e,n)=>!!t(e)&&(r=n,!0))),r}function ts(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=fo(e);return t.body===e?mo(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=Lo(fo(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${Zl(n)+e}px`;const t=fo(n).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Zl(t)+e}px`}))}let e;if(n.parentNode instanceof DocumentFragment)e=fo(n).body;else{const t=n.parentElement,r=mo(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach((({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)}))}}const rs=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function ns(e){const t=[],r=[];return Array.from(e.querySelectorAll(rs)).forEach(((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))})),r.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function os(){return!0}function is(e){const{children:t,disableAutoFocus:r=!1,disableEnforceFocus:n=!1,disableRestoreFocus:o=!1,getTabbable:i=ns,isEnabled:a=os,open:l}=e,s=v.useRef(!1),c=v.useRef(null),d=v.useRef(null),u=v.useRef(null),p=v.useRef(null),h=v.useRef(!1),f=v.useRef(null),m=vo(Go(t),f),b=v.useRef(null);v.useEffect((()=>{l&&f.current&&(h.current=!r)}),[r,l]),v.useEffect((()=>{if(!l||!f.current)return;const e=fo(f.current);return f.current.contains(e.activeElement)||(f.current.hasAttribute("tabIndex")||f.current.setAttribute("tabIndex","-1"),h.current&&f.current.focus()),()=>{o||(u.current&&u.current.focus&&(s.current=!0,u.current.focus()),u.current=null)}}),[l]),v.useEffect((()=>{if(!l||!f.current)return;const e=fo(f.current),t=t=>{b.current=t,!n&&a()&&"Tab"===t.key&&e.activeElement===f.current&&t.shiftKey&&(s.current=!0,d.current&&d.current.focus())},r=()=>{const t=f.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(n&&e.activeElement!==c.current&&e.activeElement!==d.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!h.current)return;let r=[];if(e.activeElement!==c.current&&e.activeElement!==d.current||(r=i(f.current)),r.length>0){var o,l;const e=Boolean((null==(o=b.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=b.current)?void 0:l.key)),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const o=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()}),50);return()=>{clearInterval(o),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}}),[r,n,o,a,l,i]);const g=e=>{null===u.current&&(u.current=e.relatedTarget),h.current=!0};return br.jsxs(v.Fragment,{children:[br.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:c,"data-testid":"sentinelStart"}),v.cloneElement(t,{ref:m,onFocus:e=>{null===u.current&&(u.current=e.relatedTarget),h.current=!0,p.current=e.target;const r=t.props.onFocus;r&&r(e)}}),br.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})}const as=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&Ql(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Jl(t,e.mount,e.modalRef,n,!0);const o=es(this.containers,(e=>e.container===t));return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=es(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];n.restore||(n.restore=ts(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=es(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Ql(e.modalRef,t),Jl(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Ql(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function ls(e){const{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:n=!1,manager:o=as,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:c,open:d,rootRef:u}=e,p=v.useRef({}),h=v.useRef(null),f=v.useRef(null),m=vo(f,u),[b,g]=v.useState(!d),y=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let x=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(x=!1);const E=()=>(p.current.modalRef=f.current,p.current.mount=h.current,p.current),S=()=>{o.mount(E(),{disableScrollLock:n}),f.current&&(f.current.scrollTop=0)},C=go((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||fo(h.current).body;o.add(E(),e),f.current&&S()})),w=v.useCallback((()=>o.isTopModal(E())),[o]),R=go((e=>{h.current=e,e&&(d&&w()?S():f.current&&Ql(f.current,x))})),k=v.useCallback((()=>{o.remove(E(),x)}),[x,o]);v.useEffect((()=>()=>{k()}),[k]),v.useEffect((()=>{d?C():y&&i||k()}),[d,k,y,i,C]);const A=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&w()&&(r||(t.stopPropagation(),c&&c(t,"escapeKeyDown")))},_=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:(t={})=>{const r=Bo(e);delete r.onTransitionEnter,delete r.onTransitionExited;const n=$({},r,t);return $({role:"presentation"},n,{onKeyDown:A(n),ref:m})},getBackdropProps:(e={})=>$({"aria-hidden":!0},e,{onClick:_(e),open:d}),getTransitionProps:()=>({onEnter:po((()=>{g(!1),a&&a()}),null==s?void 0:s.props.onEnter),onExited:po((()=>{g(!0),l&&l(),i&&k()}),null==s?void 0:s.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:b,hasTransition:y}}function ss(e){return Yn("MuiModal",e)}Vn("MuiModal",["root","hidden","backdrop"]);const cs=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],ds=na("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((({theme:e,ownerState:t})=>$({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),us=na(jl,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ps=v.forwardRef((function(e,t){var r,n,o,i,a,l;const s=la({name:"MuiModal",props:e}),{BackdropComponent:c=us,BackdropProps:d,className:u,closeAfterTransition:p=!1,children:h,container:f,component:m,components:b={},componentsProps:g={},disableAutoFocus:y=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:E=!1,disablePortal:S=!1,disableRestoreFocus:C=!1,disableScrollLock:w=!1,hideBackdrop:R=!1,keepMounted:k=!1,onBackdropClick:A,open:_,slotProps:I,slots:T}=s,O=B(s,cs),L=$({},s,{closeAfterTransition:p,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:E,disablePortal:S,disableRestoreFocus:C,disableScrollLock:w,hideBackdrop:R,keepMounted:k}),{getRootProps:P,getBackdropProps:M,getTransitionProps:j,portalRef:N,isTopModal:z,exited:D,hasTransition:F}=ls($({},L,{rootRef:t})),G=$({},L,{exited:D}),H=(e=>{const{open:t,exited:r,classes:n}=e;return No({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},ss,n)})(G),W={};if(void 0===h.props.tabIndex&&(W.tabIndex="-1"),F){const{onEnter:e,onExited:t}=j();W.onEnter=e,W.onExited=t}const Y=null!=(r=null!=(n=null==T?void 0:T.root)?n:b.Root)?r:ds,V=null!=(o=null!=(i=null==T?void 0:T.backdrop)?i:b.Backdrop)?o:c,U=null!=(a=null==I?void 0:I.root)?a:g.root,q=null!=(l=null==I?void 0:I.backdrop)?l:g.backdrop,K=Fo({elementType:Y,externalSlotProps:U,externalForwardedProps:O,getSlotProps:P,additionalProps:{ref:t,as:m},ownerState:G,className:Gn(u,null==U?void 0:U.className,null==H?void 0:H.root,!G.open&&G.exited&&(null==H?void 0:H.hidden))}),X=Fo({elementType:V,externalSlotProps:q,additionalProps:d,getSlotProps:e=>M($({},e,{onClick:t=>{A&&A(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Gn(null==q?void 0:q.className,null==d?void 0:d.className,null==H?void 0:H.backdrop),ownerState:G});return k||_||F&&!D?br.jsx(dl,{ref:N,container:f,disablePortal:S,children:br.jsxs(Y,$({},K,{children:[!R&&c?br.jsx(V,$({},X)):null,br.jsx(is,{disableEnforceFocus:x,disableAutoFocus:y,disableRestoreFocus:C,isEnabled:z,open:_,children:v.cloneElement(h,W)})]}))}):null}));var hs=ps;function fs(e){return Yn("MuiDivider",e)}const ms=Vn("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),bs=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],gs=na("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})((({theme:e,ownerState:t})=>$({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:ui.alpha(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"})),(({ownerState:e})=>$({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>$({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}})),(({theme:e,ownerState:t})=>$({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}})),(({ownerState:e})=>$({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),vs=na("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>$({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`}))),ys=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:c="horizontal",role:d=("hr"!==a?"separator":void 0),textAlign:u="center",variant:p="fullWidth"}=r,h=B(r,bs),f=$({},r,{absolute:n,component:a,flexItem:l,light:s,orientation:c,role:d,textAlign:u,variant:p}),m=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:l,variant:s}=e;return No({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},fs,n)})(f);return br.jsx(gs,$({as:a,className:Gn(m.root,i),role:d,ref:t,ownerState:f},h,{children:o?br.jsx(vs,{className:m.wrapper,ownerState:f,children:o}):null}))}));ys.muiSkipListHighlight=!0;var xs=ys;const Es=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ss(e){return`scale(${e}, ${e**2})`}const Cs={entering:{opacity:1,transform:Ss(1)},entered:{opacity:1,transform:"none"}},ws="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Rs=v.forwardRef((function(e,t){const{addEndListener:r,appear:n=!0,children:o,easing:i,in:a,onEnter:l,onEntered:s,onEntering:c,onExit:d,onExited:u,onExiting:p,style:h,timeout:f="auto",TransitionComponent:m=Ra}=e,b=B(e,Es),g=So(),y=v.useRef(),x=Gi(),E=v.useRef(null),S=vo(E,Go(o),t),C=e=>t=>{if(e){const r=E.current;void 0===t?e(r):e(r,t)}},w=C(c),R=C(((e,t)=>{La(e);const{duration:r,delay:n,easing:o}=Pa({style:h,timeout:f,easing:i},{mode:"enter"});let a;"auto"===f?(a=x.transitions.getAutoHeightDuration(e.clientHeight),y.current=a):a=r,e.style.transition=[x.transitions.create("opacity",{duration:a,delay:n}),x.transitions.create("transform",{duration:ws?a:.666*a,delay:n,easing:o})].join(","),l&&l(e,t)})),k=C(s),A=C(p),_=C((e=>{const{duration:t,delay:r,easing:n}=Pa({style:h,timeout:f,easing:i},{mode:"exit"});let o;"auto"===f?(o=x.transitions.getAutoHeightDuration(e.clientHeight),y.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:r}),x.transitions.create("transform",{duration:ws?o:.666*o,delay:ws?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Ss(.75),d&&d(e)})),I=C(u);return br.jsx(m,$({appear:n,in:a,nodeRef:E,onEnter:R,onEntered:k,onEntering:w,onExit:_,onExited:I,onExiting:A,addEndListener:e=>{"auto"===f&&g.start(y.current||0,e),r&&r(E.current,e)},timeout:"auto"===f?null:f},b,{children:(e,t)=>v.cloneElement(o,$({style:$({opacity:0,transform:Ss(.75),visibility:"exited"!==e||a?void 0:"hidden"},Cs[e],h,o.props.style),ref:S},t))}))}));Rs.muiSupportAuto=!0;var ks=Rs;function As(e){return Yn("MuiInputAdornment",e)}var _s,Is=Vn("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);const Ts=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Os=na("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${Lr(r.position)}`],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})((({theme:e,ownerState:t})=>$({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${Is.positionStart}&:not(.${Is.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),Ls=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiInputAdornment"}),{children:n,className:o,component:i="div",disablePointerEvents:a=!1,disableTypography:l=!1,position:s,variant:c}=r,d=B(r,Ts),u=gl()||{};let p=c;c&&u.variant,u&&!p&&(p=u.variant);const h=$({},r,{hiddenLabel:u.hiddenLabel,size:u.size,disablePointerEvents:a,position:s,variant:p}),f=(e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:i,variant:a}=e;return No({root:["root",r&&"disablePointerEvents",o&&`position${Lr(o)}`,a,n&&"hiddenLabel",i&&`size${Lr(i)}`]},As,t)})(h);return br.jsx(bl.Provider,{value:null,children:br.jsx(Os,$({as:i,ownerState:h,className:Gn(f.root,o),ref:t},d,{children:"string"!=typeof n||l?br.jsxs(v.Fragment,{children:["start"===s?_s||(_s=br.jsx("span",{className:"notranslate",children:""})):null,n]}):br.jsx(cl,{color:"text.secondary",children:n})}))})}));var Ps=Ls;var Ms=v.createContext({});function js(e){return Yn("MuiList",e)}Vn("MuiList",["root","padding","dense","subheader"]);const Ns=["children","className","component","dense","disablePadding","subheader"],$s=na("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})((({ownerState:e})=>$({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var Bs=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiList"}),{children:n,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=r,c=B(r,Ns),d=v.useMemo((()=>({dense:a})),[a]),u=$({},r,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return No({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},js,t)})(u);return br.jsx(Ms.Provider,{value:d,children:br.jsxs($s,$({as:i,className:Gn(p.root,o),ref:t,ownerState:u},c,{children:[s,n]}))})}));function zs(e){return Yn("MuiListItem",e)}var Ds=Vn("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function Fs(e){return Yn("MuiListItemButton",e)}var Gs=Vn("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);const Hs=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],Ws=na(rl,{shouldForwardProp:e=>ra(e)||"classes"===e,name:"MuiListItemButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>$({display:"flex",flexGrow:1,justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minWidth:0,boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Gs.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Gs.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Gs.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Gs.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Gs.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},"flex-start"===t.alignItems&&{alignItems:"flex-start"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.dense&&{paddingTop:4,paddingBottom:4})));var Ys=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiListItemButton"}),{alignItems:n="center",autoFocus:o=!1,component:i="div",children:a,dense:l=!1,disableGutters:s=!1,divider:c=!1,focusVisibleClassName:d,selected:u=!1,className:p}=r,h=B(r,Hs),f=v.useContext(Ms),m=v.useMemo((()=>({dense:l||f.dense||!1,alignItems:n,disableGutters:s})),[n,f.dense,l,s]),b=v.useRef(null);ao((()=>{o&&b.current&&b.current.focus()}),[o]);const g=$({},r,{alignItems:n,dense:m.dense,disableGutters:s,divider:c,selected:u}),y=(e=>{const{alignItems:t,classes:r,dense:n,disabled:o,disableGutters:i,divider:a,selected:l}=e;return $({},r,No({root:["root",n&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},Fs,r))})(g),x=vo(b,t);return br.jsx(Ms.Provider,{value:m,children:br.jsx(Ws,$({ref:x,href:h.href||h.to,component:(h.href||h.to)&&"div"===i?"button":i,focusVisibleClassName:Gn(y.focusVisible,d),ownerState:g,className:Gn(y.root,p)},h,{classes:y,children:a}))})}));function Vs(e){return Yn("MuiListItemSecondaryAction",e)}Vn("MuiListItemSecondaryAction",["root","disableGutters"]);const Us=["className"],qs=na("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.disableGutters&&t.disableGutters]}})((({ownerState:e})=>$({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),Ks=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiListItemSecondaryAction"}),{className:n}=r,o=B(r,Us),i=$({},r,{disableGutters:v.useContext(Ms).disableGutters}),a=(e=>{const{disableGutters:t,classes:r}=e;return No({root:["root",t&&"disableGutters"]},Vs,r)})(i);return br.jsx(qs,$({className:Gn(a.root,n),ownerState:i,ref:t},o))}));Ks.muiName="ListItemSecondaryAction";var Xs=Ks;const Qs=["className"],Zs=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Js=na("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,"flex-start"===r.alignItems&&t.alignItemsFlexStart,r.divider&&t.divider,!r.disableGutters&&t.gutters,!r.disablePadding&&t.padding,r.button&&t.button,r.hasSecondaryAction&&t.secondaryAction]}})((({theme:e,ownerState:t})=>$({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&$({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${Gs.root}`]:{paddingRight:48}},{[`&.${Ds.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ds.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ds.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ds.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"flex-start"===t.alignItems&&{alignItems:"flex-start"},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},t.button&&{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ds.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),ec=na("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),tc=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiListItem"}),{alignItems:n="center",autoFocus:o=!1,button:i=!1,children:a,className:l,component:s,components:c={},componentsProps:d={},ContainerComponent:u="li",ContainerProps:{className:p}={},dense:h=!1,disabled:f=!1,disableGutters:m=!1,disablePadding:b=!1,divider:g=!1,focusVisibleClassName:y,secondaryAction:x,selected:E=!1,slotProps:S={},slots:C={}}=r,w=B(r.ContainerProps,Qs),R=B(r,Zs),k=v.useContext(Ms),A=v.useMemo((()=>({dense:h||k.dense||!1,alignItems:n,disableGutters:m})),[n,k.dense,h,m]),_=v.useRef(null);ao((()=>{o&&_.current&&_.current.focus()}),[o]);const I=v.Children.toArray(a),T=I.length&&(O=I[I.length-1],L=["ListItemSecondaryAction"],v.isValidElement(O)&&-1!==L.indexOf(null!=(P=O.type.muiName)?P:null==(M=O.type)||null==(M=M._payload)||null==(M=M.value)?void 0:M.muiName));var O,L,P,M;const j=$({},r,{alignItems:n,autoFocus:o,button:i,dense:A.dense,disabled:f,disableGutters:m,disablePadding:b,divider:g,hasSecondaryAction:T,selected:E}),N=(e=>{const{alignItems:t,button:r,classes:n,dense:o,disabled:i,disableGutters:a,disablePadding:l,divider:s,hasSecondaryAction:c,selected:d}=e;return No({root:["root",o&&"dense",!a&&"gutters",!l&&"padding",s&&"divider",i&&"disabled",r&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},zs,n)})(j),z=vo(_,t),D=C.root||c.Root||Js,F=S.root||d.root||{},G=$({className:Gn(N.root,F.className,l),disabled:f},R);let H=s||"li";return i&&(G.component=s||"div",G.focusVisibleClassName=Gn(Ds.focusVisible,y),H=rl),T?(H=G.component||s?H:"div","li"===u&&("li"===H?H="div":"li"===G.component&&(G.component="div")),br.jsx(Ms.Provider,{value:A,children:br.jsxs(ec,$({as:u,className:Gn(N.container,p),ref:z,ownerState:j},w,{children:[br.jsx(D,$({},F,!$o(D)&&{as:H,ownerState:$({},j,F.ownerState)},G,{children:I})),I.pop()]}))})):br.jsx(Ms.Provider,{value:A,children:br.jsxs(D,$({},F,{as:H,ref:z},!$o(D)&&{ownerState:$({},j,F.ownerState)},G,{children:[I,x&&br.jsx(Xs,{children:x})]}))})}));var rc=tc;function nc(e){return Yn("MuiListItemIcon",e)}const oc=Vn("MuiListItemIcon",["root","alignItemsFlexStart"]),ic=["className"],ac=na("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})((({theme:e,ownerState:t})=>$({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})));var lc=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiListItemIcon"}),{className:n}=r,o=B(r,ic),i=$({},r,{alignItems:v.useContext(Ms).alignItems}),a=(e=>{const{alignItems:t,classes:r}=e;return No({root:["root","flex-start"===t&&"alignItemsFlexStart"]},nc,r)})(i);return br.jsx(ac,$({className:Gn(a.root,n),ownerState:i,ref:t},o))}));var sc=Vn("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const cc=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function dc(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function uc(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function pc(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function hc(e,t,r,n,o,i){let a=!1,l=o(e,t,!!t&&r);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!n&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&pc(l,i)&&!t)return l.focus(),!0;l=o(e,l,r)}return!1}var fc=v.forwardRef((function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:c,variant:d="selectedMenu"}=e,u=B(e,cc),p=v.useRef(null),h=v.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});ao((()=>{n&&p.current.focus()}),[n]),v.useImperativeHandle(r,(()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!p.current.style.width;if(e.clientHeight<p.current.clientHeight&&r){const r=`${Lo(fo(e))}px`;p.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,p.current.style.width=`calc(100% + ${r})`}return p.current}})),[]);const f=vo(p,t);let m=-1;v.Children.forEach(i,((e,t)=>{v.isValidElement(e)?(e.props.disabled||("selectedMenu"===d&&e.props.selected||-1===m)&&(m=t),m===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(m+=1,m>=i.length&&(m=-1))):m===t&&(m+=1,m>=i.length&&(m=-1))}));const b=v.Children.map(i,((e,t)=>{if(t===m){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===d&&(t.tabIndex=0),v.cloneElement(e,t)}return e}));return br.jsx(Bs,$({role:"menu",ref:f,className:a,onKeyDown:e=>{const t=p.current,r=e.key,n=fo(t).activeElement;if("ArrowDown"===r)e.preventDefault(),hc(t,n,s,l,dc);else if("ArrowUp"===r)e.preventDefault(),hc(t,n,s,l,uc);else if("Home"===r)e.preventDefault(),hc(t,null,s,l,dc);else if("End"===r)e.preventDefault(),hc(t,null,s,l,uc);else if(1===r.length){const o=h.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=n&&!o.repeating&&pc(n,o);o.previousKeyMatched&&(s||hc(t,n,!1,l,dc,o))?e.preventDefault():o.previousKeyMatched=!1}c&&c(e)},tabIndex:n?0:-1},u,{children:b}))}));function mc(e){return Yn("MuiPopover",e)}Vn("MuiPopover",["root","paper"]);const bc=["onEntering"],gc=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],vc=["slotProps"];function yc(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function xc(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function Ec(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function Sc(e){return"function"==typeof e?e():e}const Cc=na(hs,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),wc=na($a,{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});var Rc=v.forwardRef((function(e,t){var r,n,o;const i=la({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:c,anchorReference:d="anchorEl",children:u,className:p,container:h,elevation:f=8,marginThreshold:m=16,open:b,PaperProps:g={},slots:y,slotProps:x,transformOrigin:E={vertical:"top",horizontal:"left"},TransitionComponent:S=ks,transitionDuration:C="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,k=B(i.TransitionProps,bc),A=B(i,gc),_=null!=(r=null==x?void 0:x.paper)?r:g,I=v.useRef(),T=vo(I,_.ref),O=$({},i,{anchorOrigin:s,anchorReference:d,elevation:f,marginThreshold:m,externalPaperSlotProps:_,transformOrigin:E,TransitionComponent:S,transitionDuration:C,TransitionProps:k}),L=(e=>{const{classes:t}=e;return No({root:["root"],paper:["paper"]},mc,t)})(O),P=v.useCallback((()=>{if("anchorPosition"===d)return c;const e=Sc(l),t=(e&&1===e.nodeType?e:fo(I.current).body).getBoundingClientRect();return{top:t.top+yc(t,s.vertical),left:t.left+xc(t,s.horizontal)}}),[l,s.horizontal,s.vertical,c,d]),M=v.useCallback((e=>({vertical:yc(e,E.vertical),horizontal:xc(e,E.horizontal)})),[E.horizontal,E.vertical]),j=v.useCallback((e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=M(t);if("none"===d)return{top:null,left:null,transformOrigin:Ec(r)};const n=P();let o=n.top-r.vertical,i=n.left-r.horizontal;const a=o+t.height,s=i+t.width,c=mo(Sc(l)),u=c.innerHeight-m,p=c.innerWidth-m;if(null!==m&&o<m){const e=o-m;o-=e,r.vertical+=e}else if(null!==m&&a>u){const e=a-u;o-=e,r.vertical+=e}if(null!==m&&i<m){const e=i-m;i-=e,r.horizontal+=e}else if(s>p){const e=s-p;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:Ec(r)}}),[l,d,P,M,m]),[N,z]=v.useState(b),D=v.useCallback((()=>{const e=I.current;if(!e)return;const t=j(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,z(!0)}),[j]);v.useEffect((()=>(R&&window.addEventListener("scroll",D),()=>window.removeEventListener("scroll",D))),[l,R,D]);v.useEffect((()=>{b&&D()})),v.useImperativeHandle(a,(()=>b?{updatePosition:()=>{D()}}:null),[b,D]),v.useEffect((()=>{if(!b)return;const e=ho((()=>{D()})),t=mo(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}}),[l,b,D]);let F=C;"auto"!==C||S.muiSupportAuto||(F=void 0);const G=h||(l?fo(Sc(l)).body:void 0),H=null!=(n=null==y?void 0:y.root)?n:Cc,W=null!=(o=null==y?void 0:y.paper)?o:wc,Y=Fo({elementType:W,externalSlotProps:$({},_,{style:N?_.style:$({},_.style,{opacity:0})}),additionalProps:{elevation:f,ref:T},ownerState:O,className:Gn(L.paper,null==_?void 0:_.className)}),V=Fo({elementType:H,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:A,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:G,open:b},ownerState:O,className:Gn(L.root,p)}),{slotProps:U}=V,q=B(V,vc);return br.jsx(H,$({},q,!$o(H)&&{slotProps:U,disableScrollLock:R},{children:br.jsx(S,$({appear:!0,in:b,onEntering:(e,t)=>{w&&w(e,t),D()},onExited:()=>{z(!1)},timeout:F},k,{children:br.jsx(W,$({},Y,{children:u}))}))}))}));function kc(e){return Yn("MuiMenu",e)}Vn("MuiMenu",["root","paper","list"]);const Ac=["onEntering"],_c=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],Ic={vertical:"top",horizontal:"right"},Tc={vertical:"top",horizontal:"left"},Oc=na(Rc,{shouldForwardProp:e=>ra(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Lc=na(wc,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Pc=na(fc,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var Mc=v.forwardRef((function(e,t){var r,n;const o=la({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:s=!1,MenuListProps:c={},onClose:d,open:u,PaperProps:p={},PopoverClasses:h,transitionDuration:f="auto",TransitionProps:{onEntering:m}={},variant:b="selectedMenu",slots:g={},slotProps:y={}}=o,x=B(o.TransitionProps,Ac),E=B(o,_c),S=Xo(),C=$({},o,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:c,onEntering:m,PaperProps:p,transitionDuration:f,TransitionProps:x,variant:b}),w=(e=>{const{classes:t}=e;return No({root:["root"],paper:["paper"],list:["list"]},kc,t)})(C),R=i&&!s&&u,k=v.useRef(null);let A=-1;v.Children.map(a,((e,t)=>{v.isValidElement(e)&&(e.props.disabled||("selectedMenu"===b&&e.props.selected||-1===A)&&(A=t))}));const _=null!=(r=g.paper)?r:Lc,I=null!=(n=y.paper)?n:p,T=Fo({elementType:g.root,externalSlotProps:y.root,ownerState:C,className:[w.root,l]}),O=Fo({elementType:_,externalSlotProps:I,ownerState:C,className:w.paper});return br.jsx(Oc,$({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?Ic:Tc,slots:{paper:_,root:g.root},slotProps:{root:T,paper:O},open:u,ref:t,transitionDuration:f,TransitionProps:$({onEntering:(e,t)=>{k.current&&k.current.adjustStyleForScrollbar(e,{direction:S?"rtl":"ltr"}),m&&m(e,t)}},x),ownerState:C},E,{classes:h,children:br.jsx(Pc,$({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:k,autoFocus:i&&(-1===A||s),autoFocusItem:R,variant:b},c,{className:Gn(w.list,c.className),children:a}))}))}));function jc(e){return Yn("MuiMenuItem",e)}var Nc=Vn("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const $c=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Bc=na(rl,{shouldForwardProp:e=>ra(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})((({theme:e,ownerState:t})=>$({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Nc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Nc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Nc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:ui.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Nc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Nc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${ms.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${ms.inset}`]:{marginLeft:52},[`& .${sc.root}`]:{marginTop:0,marginBottom:0},[`& .${sc.inset}`]:{paddingLeft:36},[`& .${oc.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&$({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${oc.root} svg`]:{fontSize:"1.25rem"}}))));var zc=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiMenuItem"}),{autoFocus:n=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:c="menuitem",tabIndex:d,className:u}=r,p=B(r,$c),h=v.useContext(Ms),f=v.useMemo((()=>({dense:i||h.dense||!1,disableGutters:l})),[h.dense,i,l]),m=v.useRef(null);ao((()=>{n&&m.current&&m.current.focus()}),[n]);const b=$({},r,{dense:f.dense,divider:a,disableGutters:l}),g=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e;return $({},a,No({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},jc,a))})(r),y=vo(m,t);let x;return r.disabled||(x=void 0!==d?d:-1),br.jsx(Ms.Provider,{value:f,children:br.jsx(Bc,$({ref:y,role:c,tabIndex:x,component:o,focusVisibleClassName:Gn(g.focusVisible,s),className:Gn(g.root,u)},p,{ownerState:b,classes:g}))})}));function Dc(e){return Yn("MuiTab",e)}var Fc=Vn("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);const Gc=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Hc=na(rl,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${Lr(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped,{[`& .${Fc.iconWrapper}`]:t.iconWrapper}]}})((({theme:e,ownerState:t})=>$({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${Fc.iconWrapper}`]:$({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${Fc.selected}`]:{opacity:1},[`&.${Fc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${Fc.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Fc.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${Fc.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Fc.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)}))),Wc=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiTab"}),{className:n,disabled:o=!1,disableFocusRipple:i=!1,fullWidth:a,icon:l,iconPosition:s="top",indicator:c,label:d,onChange:u,onClick:p,onFocus:h,selected:f,selectionFollowsFocus:m,textColor:b="inherit",value:g,wrapped:y=!1}=r,x=B(r,Gc),E=$({},r,{disabled:o,disableFocusRipple:i,selected:f,icon:!!l,iconPosition:s,label:!!d,fullWidth:a,textColor:b,wrapped:y}),S=(e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:o,icon:i,label:a,selected:l,disabled:s}=e;return No({root:["root",i&&a&&"labelIcon",`textColor${Lr(r)}`,n&&"fullWidth",o&&"wrapped",l&&"selected",s&&"disabled"],iconWrapper:["iconWrapper"]},Dc,t)})(E),C=l&&d&&v.isValidElement(l)?v.cloneElement(l,{className:Gn(S.iconWrapper,l.props.className)}):l;return br.jsxs(Hc,$({focusRipple:!i,className:Gn(S.root,n),ref:t,role:"tab","aria-selected":f,disabled:o,onClick:e=>{!f&&u&&u(e,g),p&&p(e)},onFocus:e=>{m&&!f&&u&&u(e,g),h&&h(e)},ownerState:E,tabIndex:f?0:-1},x,{children:["top"===s||"start"===s?br.jsxs(v.Fragment,{children:[C,d]}):br.jsxs(v.Fragment,{children:[d,C]}),c]}))}));var Yc=Wc,Vc=ha(br.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),Uc=ha(br.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function qc(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const Kc=["onChange"],Xc={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Qc(e){return Yn("MuiTabScrollButton",e)}var Zc=Vn("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);const Jc=["className","slots","slotProps","direction","orientation","disabled"],ed=na(rl,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})((({ownerState:e})=>$({width:40,flexShrink:0,opacity:.8,[`&.${Zc.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),td=v.forwardRef((function(e,t){var r,n;const o=la({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:l={},direction:s}=o,c=B(o,Jc),d=$({isRtl:Xo()},o),u=(e=>{const{classes:t,orientation:r,disabled:n}=e;return No({root:["root",r,n&&"disabled"]},Qc,t)})(d),p=null!=(r=a.StartScrollButtonIcon)?r:Vc,h=null!=(n=a.EndScrollButtonIcon)?n:Uc,f=Fo({elementType:p,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),m=Fo({elementType:h,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return br.jsx(ed,$({component:"div",className:Gn(u.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===s?br.jsx(p,$({},f)):br.jsx(h,$({},m))}))}));var rd=td;function nd(e){return Yn("MuiTabs",e)}var od=Vn("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);const id=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],ad=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,ld=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,sd=(e,t,r)=>{let n=!1,o=r(e,t);for(;o;){if(o===e.firstChild){if(n)return;n=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=r(e,o)}},cd=na("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${od.scrollButtons}`]:t.scrollButtons},{[`& .${od.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>$({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${od.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),dd=na("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})((({ownerState:e})=>$({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"}))),ud=na("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})((({ownerState:e})=>$({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),pd=na("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>$({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0}))),hd=na((function(e){const{onChange:t}=e,r=B(e,Kc),n=v.useRef(),o=v.useRef(null),i=()=>{n.current=o.current.offsetHeight-o.current.clientHeight};return ao((()=>{const e=ho((()=>{const e=n.current;i(),e!==n.current&&t(n.current)})),r=mo(o.current);return r.addEventListener("resize",e),()=>{e.clear(),r.removeEventListener("resize",e)}}),[t]),v.useEffect((()=>{i(),t(n.current)}),[t]),br.jsx("div",$({style:Xc},r,{ref:o}))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),fd={},md=v.forwardRef((function(e,t){const r=la({props:e,name:"MuiTabs"}),n=Gi(),o=Xo(),{"aria-label":i,"aria-labelledby":a,action:l,centered:s=!1,children:c,className:d,component:u="div",allowScrollButtonsMobile:p=!1,indicatorColor:h="primary",onChange:f,orientation:m="horizontal",ScrollButtonComponent:b=rd,scrollButtons:g="auto",selectionFollowsFocus:y,slots:x={},slotProps:E={},TabIndicatorProps:S={},TabScrollButtonProps:C={},textColor:w="primary",value:R,variant:k="standard",visibleScrollbar:A=!1}=r,_=B(r,id),I="scrollable"===k,T="vertical"===m,O=T?"scrollTop":"scrollLeft",L=T?"top":"left",P=T?"bottom":"right",M=T?"clientHeight":"clientWidth",j=T?"height":"width",N=$({},r,{component:u,allowScrollButtonsMobile:p,indicatorColor:h,orientation:m,vertical:T,scrollButtons:g,textColor:w,variant:k,visibleScrollbar:A,fixed:!I,hideScrollbar:I&&!A,scrollableX:I&&!T,scrollableY:I&&T,centered:s&&!I,scrollButtonsHideMobile:!p}),z=(e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:l,classes:s}=e;return No({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},nd,s)})(N),D=Fo({elementType:x.StartScrollButtonIcon,externalSlotProps:E.startScrollButtonIcon,ownerState:N}),F=Fo({elementType:x.EndScrollButtonIcon,externalSlotProps:E.endScrollButtonIcon,ownerState:N}),[G,H]=v.useState(!1),[W,Y]=v.useState(fd),[V,U]=v.useState(!1),[q,K]=v.useState(!1),[X,Q]=v.useState(!1),[Z,J]=v.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,te=v.useRef(null),re=v.useRef(null),ne=()=>{const e=te.current;let t,r;if(e){const r=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:jo(e,o?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(e&&!1!==R){const e=re.current.children;if(e.length>0){const t=e[ee.get(R)];r=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:r}},oe=go((()=>{const{tabsMeta:e,tabMeta:t}=ne();let r,n=0;if(T)r="top",t&&e&&(n=t.top-e.top+e.scrollTop);else if(r=o?"right":"left",t&&e){const i=o?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;n=(o?-1:1)*(t[r]-e[r]+i)}const i={[r]:n,[j]:t?t[j]:0};if(isNaN(W[r])||isNaN(W[j]))Y(i);else{const e=Math.abs(W[r]-i[r]),t=Math.abs(W[j]-i[j]);(e>=1||t>=1)&&Y(i)}})),ie=(e,{animation:t=!0}={})=>{t?function(e,t,r,n={},o=()=>{}){const{ease:i=qc,duration:a=300}=n;let l=null;const s=t[e];let c=!1;const d=()=>{c=!0},u=n=>{if(c)return void o(new Error("Animation cancelled"));null===l&&(l=n);const d=Math.min(1,(n-l)/a);t[e]=i(d)*(r-s)+s,d>=1?requestAnimationFrame((()=>{o(null)})):requestAnimationFrame(u)};s===r?o(new Error("Element already at target position")):requestAnimationFrame(u)}(O,te.current,e,{duration:n.transitions.duration.standard}):te.current[O]=e},ae=e=>{let t=te.current[O];T?t+=e:(t+=e*(o?-1:1),t*=o&&"reverse"===Mo()?-1:1),ie(t)},le=()=>{const e=te.current[M];let t=0;const r=Array.from(re.current.children);for(let n=0;n<r.length;n+=1){const o=r[n];if(t+o[M]>e){0===n&&(t=e);break}t+=o[M]}return t},se=()=>{ae(-1*le())},ce=()=>{ae(le())},de=v.useCallback((e=>{J({overflow:null,scrollbarWidth:e})}),[]),ue=go((e=>{const{tabsMeta:t,tabMeta:r}=ne();if(r&&t)if(r[L]<t[L]){const n=t[O]+(r[L]-t[L]);ie(n,{animation:e})}else if(r[P]>t[P]){const n=t[O]+(r[P]-t[P]);ie(n,{animation:e})}})),pe=go((()=>{I&&!1!==g&&Q(!X)}));v.useEffect((()=>{const e=ho((()=>{te.current&&oe()}));let t;const r=r=>{r.forEach((e=>{e.removedNodes.forEach((e=>{var r;null==(r=t)||r.unobserve(e)})),e.addedNodes.forEach((e=>{var r;null==(r=t)||r.observe(e)}))})),e(),pe()},n=mo(te.current);let o;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(re.current.children).forEach((e=>{t.observe(e)}))),"undefined"!=typeof MutationObserver&&(o=new MutationObserver(r),o.observe(re.current,{childList:!0})),()=>{var r,i;e.clear(),n.removeEventListener("resize",e),null==(r=o)||r.disconnect(),null==(i=t)||i.disconnect()}}),[oe,pe]),v.useEffect((()=>{const e=Array.from(re.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&I&&!1!==g){const r=e[0],n=e[t-1],o={root:te.current,threshold:.99},i=new IntersectionObserver((e=>{U(!e[0].isIntersecting)}),o);i.observe(r);const a=new IntersectionObserver((e=>{K(!e[0].isIntersecting)}),o);return a.observe(n),()=>{i.disconnect(),a.disconnect()}}}),[I,g,X,null==c?void 0:c.length]),v.useEffect((()=>{H(!0)}),[]),v.useEffect((()=>{oe()})),v.useEffect((()=>{ue(fd!==W)}),[ue,W]),v.useImperativeHandle(l,(()=>({updateIndicator:oe,updateScrollButtons:pe})),[oe,pe]);const he=br.jsx(pd,$({},S,{className:Gn(z.indicator,S.className),ownerState:N,style:$({},W,S.style)}));let fe=0;const me=v.Children.map(c,(e=>{if(!v.isValidElement(e))return null;const t=void 0===e.props.value?fe:e.props.value;ee.set(t,fe);const r=t===R;return fe+=1,v.cloneElement(e,$({fullWidth:"fullWidth"===k,indicator:r&&!G&&he,selected:r,selectionFollowsFocus:y,onChange:f,textColor:w,value:t},1!==fe||!1!==R||e.props.tabIndex?{}:{tabIndex:0}))})),be=(()=>{const e={};e.scrollbarSizeListener=I?br.jsx(hd,{onChange:de,className:Gn(z.scrollableX,z.hideScrollbar)}):null;const t=I&&("auto"===g&&(V||q)||!0===g);return e.scrollButtonStart=t?br.jsx(b,$({slots:{StartScrollButtonIcon:x.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:D},orientation:m,direction:o?"right":"left",onClick:se,disabled:!V},C,{className:Gn(z.scrollButtons,C.className)})):null,e.scrollButtonEnd=t?br.jsx(b,$({slots:{EndScrollButtonIcon:x.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:F},orientation:m,direction:o?"left":"right",onClick:ce,disabled:!q},C,{className:Gn(z.scrollButtons,C.className)})):null,e})();return br.jsxs(cd,$({className:Gn(z.root,d),ownerState:N,ref:t,as:u},_,{children:[be.scrollButtonStart,be.scrollbarSizeListener,br.jsxs(dd,{className:z.scroller,ownerState:N,style:{overflow:Z.overflow,[T?"margin"+(o?"Left":"Right"):"marginBottom"]:A?void 0:-Z.scrollbarWidth},ref:te,children:[br.jsx(ud,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===m?"vertical":null,className:z.flexContainer,ownerState:N,onKeyDown:e=>{const t=re.current,r=fo(t).activeElement;if("tab"!==r.getAttribute("role"))return;let n="horizontal"===m?"ArrowLeft":"ArrowUp",i="horizontal"===m?"ArrowRight":"ArrowDown";switch("horizontal"===m&&o&&(n="ArrowRight",i="ArrowLeft"),e.key){case n:e.preventDefault(),sd(t,r,ld);break;case i:e.preventDefault(),sd(t,r,ad);break;case"Home":e.preventDefault(),sd(t,null,ad);break;case"End":e.preventDefault(),sd(t,null,ld)}},ref:re,role:"tablist",children:me}),G&&he]}),be.scrollButtonEnd]}))}));var bd,gd=md;function vd(){return vd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},vd.apply(null,arguments)}var yd,xd=function(e){return v.createElement("svg",vd({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),bd||(bd=v.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Ed(){return Ed=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Ed.apply(null,arguments)}var Sd=function(e){return v.createElement("svg",Ed({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),yd||(yd=v.createElement("path",{d:"m9.345 8 3.982 3.982a.951.951 0 0 1-1.345 1.345L8 9.345l-3.982 3.982a.951.951 0 0 1-1.345-1.345L6.655 8 2.673 4.018a.951.951 0 0 1 1.345-1.345L8 6.655l3.982-3.982a.951.951 0 1 1 1.345 1.345z"})))};function Cd({fontSize:e="medium",children:t=null,className:r=""}={}){const n="small"===e?"16px":"20px",o="small"===e?"-2px 0":void 0;return br.jsx("i",{style:{fontSize:n,margin:o,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:r,children:t})}const wd={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_25:"rgba(0, 0, 0, 0.25)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},Rd=12,kd=14,Ad=16,_d=24,Id=3,Td=300,Od=400,Ld=600,Pd=700,Md={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function jd(e={}){return br.jsx(Cd,{...e,children:br.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:br.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:br.jsx("rect",{stroke:wd.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}function Nd(e={}){return br.jsx(Cd,{...e,children:br.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[br.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),br.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function $d(e={}){return br.jsx(Cd,{...e,children:br.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:br.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[br.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),br.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function Bd(e={}){return br.jsx(Cd,{fontSize:"medium",...e,children:br.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:br.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:br.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function zd(e={}){return br.jsx(Cd,{fontSize:"medium",...e,children:br.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[br.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),br.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function Dd({className:e}){return br.jsx(Cd,{fontSize:"small",className:e,children:br.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:br.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:br.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:br.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[br.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),br.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}const Fd={MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{}}},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:Id,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"},transition:"unset",color:"var(--sprout-common-foreground-color-default)",boxShadow:"none","&:hover":{backgroundColor:"var(--sprout-common-background-color-hover)"},"&:active":{backgroundColor:"var(--sprout-common-background-color-pressed)"},"&.Mui-disabled":{backgroundColor:"var(--sprout-common-background-color-disabled)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"calc(var(--sprout-focus-border-default-width) / -2)",backgroundColor:"var(--sprout-focus-background-color-default)",zIndex:100}},text:{padding:"8px 16px",backgroundColor:"transparent"},textPrimary:{color:"var(--sprout-brand-primary-color-default)"},textSecondary:{color:"var(--sprout-info-color-default)"},textWarning:{color:"var(--sprout-warning-color-default)"},textError:{color:"var(--sprout-danger-color-default)"},outlined:{padding:"7px 16px",border:"var(--sprout-common-border-moderate)",backgroundColor:"var(--sprout-common-background-color-enabled)","&.Mui-focusVisible":{borderColor:"transparent"},"&:hover":{border:"var(--sprout-common-border-moderate)"}},outlinedPrimary:{borderColor:"var(--sprout-brand-primary-color-default)",color:"var(--sprout-brand-primary-color-default)","&:hover":{borderColor:"var(--sprout-brand-primary-color-default)"}},outlinedSecondary:{borderColor:"var(--sprout-info-color-default)",color:"var(--sprout-info-color-default)","&:hover":{borderColor:"var(--sprout-info-color-default)"}},outlinedWarning:{borderColor:"var(--sprout-warning-color-default)",color:"var(--sprout-warning-color-default)","&:hover":{borderColor:"var(--sprout-warning-color-default)"}},outlinedError:{borderColor:"var(--sprout-danger-color-default)",color:"var(--sprout-danger-color-default)","&:hover":{borderColor:"var(--sprout-danger-color-default)"}},contained:{color:"var(--sprout-brand-primary-color-inverse)",backgroundColor:"var(--sprout-brand-primary-color-default)",padding:"8px 16px","&:hover":{backgroundColor:"var(--sprout-brand-primary-color-hover)"},"&:active":{backgroundColor:"var(--sprout-brand-primary-color-pressed)"},"&.Mui-focusVisible":{outline:"var(--sprout-focus-border-default)",outlineOffset:"var(--sprout-focus-border-default-width)",background:"var(--sprout-brand-primary-color-focus)"}},containedError:{backgroundColor:"var(--sprout-danger-color-default)","&:hover":{backgroundColor:"var(--sprout-danger-color-hover)"},"&:active":{backgroundColor:"var(--sprout-danger-color-pressed)"},"&.Mui-focusVisible":{outlineColor:"var(--sprout-danger-color-inverse)",backgroundColor:"var(--sprout-danger-color-focus)"}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]}};var Gd=(e,t)=>(e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:wd.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:wd.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:br.jsx(xd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:16,height:16})},styleOverrides:{root:{padding:"0px 12px 0px 16px",minHeight:"auto",boxShadow:`inset 0px -1px 0px 0px ${wd.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:wd.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${wd.MISC_FOCUS_BORDER}`,borderRadius:Id,backgroundColor:wd.GREYSCALE_0_03},"&.Mui-expanded":{minHeight:"auto"}},content:{overflow:"hidden",textOverflow:"ellipsis","&.Mui-expanded":{margin:"12px 0px"}}}},MuiAppBar:{defaultProps:{elevation:0},styleOverrides:{root:{flex:"0 0 48px",boxShadow:`inset 0 -1px 0 0 ${wd.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:wd.WHITE,color:wd.TEXT_PRIMARY}}},MuiBadge:{styleOverrides:{badge:{height:"16px",minWidth:"16px",fontSize:"12px",padding:"0px 5px"},anchorOriginTopRightRectangular:{top:"-3px",right:"-3px"}}},MuiButtonBase:{defaultProps:{disableRipple:!0,disableTouchRipple:!0,focusVisibleClassName:"sprout-focus-visible"}},MuiButtonGroup:{defaultProps:{disableRipple:!0},styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:14,borderRadius:Id},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${wd.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:wd.GREYSCALE_0_15,backgroundColor:wd.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:wd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${wd.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:wd.GREEN_PALE},"&:active":{backgroundColor:wd.GREEN_DARK},"&.Mui-focusVisible":{borderColor:wd.GREEN_PALE,boxShadow:`0 0 0 3px ${uo(wd.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:wd.BLUE_PALE},"&:active":{backgroundColor:wd.BLUE_DARK},"&.Mui-focusVisible":{borderColor:wd.BLUE_PALE,boxShadow:`0 0 0 3px ${uo(wd.BLUE_PALE,.5)}`}}},variants:[{props:{size:"small"},style:{height:"24px"}},{props:{size:"large"},style:{height:"40px"}}]},MuiButton:{defaultProps:{color:"inherit",disableRipple:!0,focusVisibleClassName:"sprout-focus-visible"},styleOverrides:{root:{height:"32px",lineHeight:"16px",minWidth:"24px",fontSize:14,borderRadius:Id,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:wd.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${wd.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:wd.GREYSCALE_0_15,backgroundColor:wd.GREYSCALE_100_60,"&:active":{backgroundColor:wd.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:wd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${wd.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:wd.PURPLE,"&.Mui-focusVisible":{borderColor:wd.PURPLE,boxShadow:`0 0 0 3px ${uo(wd.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:wd.GREEN,"&.Mui-focusVisible":{borderColor:wd.GREEN,boxShadow:`0 0 0 3px ${uo(wd.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:wd.BLUE,"&.Mui-focusVisible":{borderColor:wd.BLUE,boxShadow:`0 0 0 3px ${uo(wd.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:wd.ORANGE,"&.Mui-focusVisible":{borderColor:wd.ORANGE,boxShadow:`0 0 0 3px ${uo(wd.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:wd.RED,"&.Mui-focusVisible":{borderColor:wd.RED,boxShadow:`0 0 0 3px ${uo(wd.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:wd.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:wd.PURPLE_PALE},"&:active":{backgroundColor:wd.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:wd.PURPLE_PALE,boxShadow:`0 0 0 3px ${uo(wd.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:wd.GREEN_PALE},"&:active":{backgroundColor:wd.GREEN_DARK},"&.Mui-focusVisible":{borderColor:wd.GREEN_PALE,boxShadow:`0 0 0 3px ${uo(wd.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:wd.BLUE_PALE},"&:active":{backgroundColor:wd.BLUE_DARK},"&.Mui-focusVisible":{borderColor:wd.BLUE_PALE,boxShadow:`0 0 0 3px ${uo(wd.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:wd.ORANGE_PALE},"&:active":{backgroundColor:wd.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:wd.ORANGE_PALE,boxShadow:`0 0 0 3px ${uo(wd.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:wd.RED_PALE},"&:active":{backgroundColor:wd.RED_DARK},"&.Mui-focusVisible":{borderColor:wd.RED_PALE,boxShadow:`0 0 0 3px ${uo(wd.RED_PALE,.5)}`}},sizeSmall:{fontSize:12,height:"24px","& > svg:only-child, & > i:only-child":{marginLeft:"-7px",marginRight:"-7px"}},sizeLarge:{fontSize:16,height:"40px",lineHeight:"20px","& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},textSizeSmall:{padding:"4px 11px"},textSizeLarge:{padding:"10px 19px"},outlinedSizeSmall:{padding:"3px 11px"},outlinedSizeLarge:{padding:"9px 19px"},containedSizeSmall:{padding:"4px 11px"},containedSizeLarge:{padding:"10px 19px"}},variants:[]},MuiCardActionArea:{styleOverrides:{root:{height:"100%","&.MuiCardActionArea-focusHighlight":{opacity:0},"&:hover":{boxShadow:"none",backgroundColor:wd.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:wd.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:Id,boxShadow:`inset 0 0 0 2px ${wd.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:br.jsx(Sd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:Rd,borderRadius:Id,color:wd.TEXT_PRIMARY,backgroundColor:wd.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:wd.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${wd.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:wd.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:wd.GREYSCALE_0_05,color:wd.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:wd.GREEN,borderColor:wd.GREEN},"&.MuiChip-outlinedInfo":{color:wd.BLUE,borderColor:wd.BLUE},"&.MuiChip-outlinedWarning":{color:wd.ORANGE,borderColor:wd.ORANGE},"&.MuiChip-outlinedError":{color:wd.RED,borderColor:wd.RED}},outlined:{border:`solid 1px ${wd.GREYSCALE_0_15}`,backgroundColor:wd.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:Id,boxShadow:"none",backgroundColor:wd.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:wd.GREEN,borderColor:wd.GREEN},outlinedSecondary:{color:wd.BLUE,borderColor:wd.BLUE},label:{fontFamily:Md.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:br.jsx(Sd,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:br.jsx(xd,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),forcePopupIcon:!0},styleOverrides:{root:{"& .MuiAutocomplete-endAdornment > button":{border:"none",backgroundColor:"unset"}},input:{"&.MuiAutocomplete-input":{padding:"6px 4px"}},inputRoot:{padding:"0px 2px",boxSizing:"border-box",borderRadius:Id},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:Id,fontSize:kd,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:wd.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${wd.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:wd.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:wd.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:wd.GREYSCALE_0_05}}},popupIndicator:{borderRadius:Id,border:`solid 1px ${wd.GREYSCALE_0_15}`,color:wd.GREYSCALE_0_60,marginRight:0,width:_d,height:_d},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${wd.GREYSCALE_0_15}`},clearIndicator:{borderRadius:Id,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:wd.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:kd}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:Rd,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:wd.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:wd.GREYSCALE_25,fontSize:Rd,fontFamily:Md.FONT_FAMILY,fontWeight:Ld,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:wd.TEXT_PRIMARY},"&.Mui-error":{color:wd.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:wd.TEXT_SECONDARY,content:"'(optional)'",fontWeight:Od,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:wd.TEXT_SECONDARY,content:"'(required)'",fontWeight:Od,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:kd,lineHeight:"16px",backgroundColor:wd.WHITE,borderRadius:Id,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${wd.GREYSCALE_0_05}`,borderColor:wd.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${wd.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${wd.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${wd.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${wd.RED}`,boxShadow:`0px 0px 0px 1px ${wd.RED}, inset 0 2px 0 0 ${wd.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${wd.GREYSCALE_0_10}`,borderColor:wd.GREYSCALE_0_10,backgroundColor:wd.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:wd.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:wd.GREYSCALE_0_15,borderRadius:Id,boxShadow:`inset 0 2px 0 0 ${wd.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>br.jsx(xd,{...e,"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),MenuProps:{anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}}},styleOverrides:{select:{padding:"7px 12px",borderRadius:"3px !important",minHeight:"1em","& em":{color:wd.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:wd.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:wd.GREYSCALE_0_03},"&:active":{backgroundColor:wd.GREYSCALE_0_10},"&:focus":{backgroundColor:wd.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${wd.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${wd.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:wd.GREYSCALE_0_30,"&:hover":{backgroundColor:wd.GREYSCALE_0_0,borderColor:wd.GREYSCALE_0_15},"& ~svg":{color:wd.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${wd.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:Id}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:wd.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${wd.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:wd.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:kd,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:Rd,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:Rd,fontWeight:Ld,color:wd.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:Ld}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${wd.GREYSCALE_0_15}, 0px 0px 0px 1px ${wd.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:br.jsx(Bd,{}),checkedIcon:br.jsx(zd,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:wd.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${wd.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:wd.GREEN_PALE,boxShadow:`0 0 0 3px ${uo(wd.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:wd.BLUE_PALE,boxShadow:`0 0 0 3px ${uo(wd.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:wd.GREYSCALE_0_20}},"&.Mui-disabled":{fill:wd.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:br.jsx(jd,{}),checkedIcon:br.jsx(Nd,{}),indeterminateIcon:br.jsx($d,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:Id,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:wd.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:wd.GREYSCALE_0_55,color:wd.GREYSCALE_0_03}}},"&.sprout-focus-visible i":{boxShadow:"0px 0px 0px 2px #0275D9",g:{rect:{stroke:"none"}}}}}},"&.Mui-disabled":{"& i":{pointerEvents:"auto",cursor:"not-allowed !important",color:wd.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:wd.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:wd.GREYSCALE_0_55,"&:hover":{color:wd.GREYSCALE_25}}}}}},MuiCircularProgress:{defaultProps:{thickness:3,disableShrink:!0}},MuiDialog:{defaultProps:{fullWidth:!0}},MuiDialogActions:{styleOverrides:{root:{padding:"16px"}}},MuiDialogTitle:{styleOverrides:{root:{display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"content-box",minHeight:"31px",padding:"16px 16px 16px 24px",fontSize:"16px",lineHeight:"24px"}}},MuiDialogContentText:{defaultProps:{variant:"body2"},styleOverrides:{root:{marginBottom:0}}},MuiDialogContent:{styleOverrides:{root:{padding:"16px 24px !important"}}},MuiDivider:{styleOverrides:{middle:{margin:"4px 8px"}}},MuiLink:{defaultProps:{underline:"none",color:wd.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:wd.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:kd,color:wd.TEXT_PRIMARY,lineHeight:"16px",fontWeight:Ld},secondary:{fontSize:Rd,color:wd.GREYSCALE_45,fontWeight:Od,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:kd,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:kd,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:wd.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Rd,borderBottom:`solid 1px ${wd.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:kd,color:wd.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:wd.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:wd.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:wd.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:"url('data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%228px%22%20height%3D%227px%22%20viewBox%3D%220%200%208%207%22%20version%3D%221.1%22%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20aria-labelledby%3D%22Tick%22%3E%20%20%3Cg%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%3Cg%20transform%3D%22translate%280.000000%2C%20-1.000000%29%22%3E%20%20%20%20%20%20%3Cpath%20d%3D%22M7.51662484%2C1.29325%20C7.12545778%2C0.90225%206.49218732%2C0.90225%206.10202068%2C1.29325%20L2.73658335%2C4.65725%20L1.90722914%2C3.82925%20C1.5170625%2C3.43825%200.883792042%2C3.43825%200.492624979%2C3.82925%20C0.102458344%2C4.21925%200.102458344%2C4.85225%200.492624979%2C5.24325%20L2.02928127%2C6.77825%20C2.4194479%2C7.16925%203.05271836%2C7.16925%203.44388542%2C6.77825%20L7.51662484%2C2.70725%20C7.9077919%2C2.31725%207.9077919%2C1.68425%207.51662484%2C1.29325%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E')",fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:wd.RED}}},"&.Mui-focusVisible":{backgroundColor:wd.GREYSCALE_0_03}},divider:{marginTop:"8px",marginBottom:"8px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiMenu:{styleOverrides:{list:{paddingTop:"4px",paddingBottom:"4px"},paper:{marginTop:"4px !important",marginBottom:"4px",background:wd.WHITE,boxShadow:"0 0 0 1px rgba(0,0,0,0.05), 0 4px 10px 0 rgba(0,0,0,0.15) !important",borderRadius:"2px !important"}}},MuiSlider:{styleOverrides:{root:{color:wd.GREEN,height:"24px","&.Mui-disabled":{color:wd.GREYSCALE_0_15}},rail:{backgroundColor:wd.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${wd.GREYSCALE_0_05}`,borderRadius:Id,boxShadow:`inset 0px 0px 0px 1px ${wd.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${wd.GREYSCALE_0_05}`,borderRadius:Id},thumb:{height:"16px",width:"16px",borderRadius:Id,backgroundColor:wd.WHITE,boxShadow:`0px 1px 2px 0px ${wd.GREYSCALE_0_15}, 0px 0px 0px 1px ${wd.GREYSCALE_0_05}`,"&:hover":{borderRadius:Id,boxShadow:`0 2px 4px 0 ${wd.GREYSCALE_0_30}, 0 0 0 1px ${wd.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${wd.GREYSCALE_0_15}, 0 0 0 1px ${wd.GREYSCALE_0_06}, 0 0 0 2px ${wd.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${wd.GREYSCALE_0_15}, 0 0 0 1px ${wd.GREYSCALE_0_06}, 0 0 0 2px ${wd.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:wd.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:wd.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:wd.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:wd.GREYSCALE_0_15},markLabel:{color:wd.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:wd.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:wd.WHITE,color:wd.GREYSCALE_25}}},MuiSwitch:{defaultProps:{color:"primary",size:"small"},styleOverrides:{root:{padding:"10px",width:"60px",height:"40px","& .MuiSwitch-switchBase":{"&:hover":{backgroundColor:"unset"},"&.Mui-checked":{"&:hover":{backgroundColor:"unset"}}}},switchBase:{padding:"12px","&.Mui-disabled":{"&.MuiSwitch-thumb":{backgroundColor:wd.GREYSCALE_100_50}},"&.Mui-checked + .MuiSwitch-track":{opacity:1},"&.Mui-disabled + .MuiSwitch-track":{opacity:.12},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"}},colorPrimary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:wd.GREEN_PALE,boxShadow:`0 0 0 3px ${uo(wd.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:wd.BLUE_PALE,boxShadow:`0 0 0 3px ${uo(wd.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:wd.GREYSCALE_0_15,borderRadius:Id},thumb:{height:"16px",width:"16px",borderRadius:Id,backgroundColor:wd.GREYSCALE_100},sizeSmall:{height:"32px",width:"52px",padding:"8px 10px","& .MuiSwitch-thumb":{height:"12px",width:"12px"},"& .MuiSwitch-switchBase":{padding:"10px 12px"}}}},MuiTextField:{defaultProps:{margin:"dense",variant:"outlined"},styleOverrides:{root:{marginBottom:0}}},MuiTab:{styleOverrides:{root:{fontSize:kd,fontWeight:Ld,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${wd.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${wd.MISC_FOCUS_BORDER}`,backgroundColor:wd.GREYSCALE_0_03,borderRadius:Id},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:wd.GREYSCALE_25,"&.Mui-selected":{color:wd.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:kd,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:Id,"&:hover":{backgroundColor:wd.GREYSCALE_0_03},"&.Mui-disabled":{opacity:"unset","& .MuiSvgIcon-root":{opacity:.3}}},vertical:{padding:"8px",boxSizing:"border-box","& .MuiTabs-indicator":{left:0,right:"unset",transition:"none",clipPath:"inset(12px 0 12px 0)",marginLeft:"1px"},"& .MuiTabs-scrollButtons":{flexDirection:"column",position:"relative","&:first-child":{marginBottom:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${wd.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${wd.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:Id,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:wd.GREYSCALE_0_05},"&:hover":{backgroundColor:wd.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${wd.GREYSCALE_85}`,borderRight:`1px solid ${wd.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:Ld,backgroundColor:wd.GREYSCALE_98},paddingCheckbox:{width:"40px",padding:"0px"},paddingNone:{padding:"0px"},sizeSmall:{padding:"0px 8px",height:"29px","&.MuiTableCell-head":{height:"31px"},"&.MuiTableCell-paddingCheckbox":{width:"40px",padding:"0px"}},stickyHeader:{backgroundColor:wd.GREYSCALE_98,borderBottom:`1px solid ${wd.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${wd.GREYSCALE_85}`,borderTop:`1px solid ${wd.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:wd.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:wd.GREYSCALE_0_05,"&:hover":{backgroundColor:wd.GREYSCALE_0_03}},"&&:hover":{backgroundColor:wd.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>br.jsx(Dd,{className:e})},styleOverrides:{root:{display:"flex",justifyContent:"space-between","&:hover":{"& icon":{opacity:.5}},"&.Mui-active":{"&& icon":{opacity:1}}},icon:{opacity:0},iconDirectionDesc:{transform:"rotate(180deg)"},iconDirectionAsc:{transform:"rotate(0deg)"}}},MuiTable:{styleOverrides:{root:{borderLeft:`1px solid ${wd.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:kd,borderRadius:Id,padding:"7px 16px",border:`1px solid ${wd.GREYSCALE_0_15}`,backgroundColor:wd.GREYSCALE_100_60,color:wd.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:wd.GREYSCALE_0_10,border:`1px solid ${wd.GREYSCALE_0_30}`},"&:hover":{backgroundColor:wd.GREYSCALE_0_03,border:`1px solid ${wd.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:wd.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${wd.MISC_FOCUS_BORDER}`,border:`1px solid ${wd.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:wd.GREYSCALE_25,backgroundColor:wd.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:wd.GREYSCALE_0_10,border:`1px solid ${wd.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Rd,height:24,width:24,padding:7},sizeLarge:{fontSize:Ad,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:kd,borderRadius:Id}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:{color:wd.GREYSCALE_20},tooltip:{backgroundColor:wd.GREYSCALE_20,fontSize:Rd,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}},...e?{...Fd}:{}}))(t);const Hd=e=>({mode:"light",primary:{ultraLight:wd.GREEN_ULTRA_LIGHT,light:wd.GREEN_PALE,main:wd.GREEN,dark:wd.GREEN_DARK,extraDark:wd.GREEN_EXTRA_DARK,contrastText:wd.WHITE},secondary:{ultraLight:wd.BLUE_ULTRA_LIGHT,light:wd.BLUE_PALE,main:wd.BLUE,dark:wd.BLUE_DARK,extraDark:wd.BLUE_EXTRA_DARK,contrastText:wd.WHITE},error:{ultraLight:wd.RED_ULTRA_LIGHT,light:wd.RED_PALE,main:wd.RED,dark:wd.RED_DARK,extraDark:wd.RED_EXTRA_DARK,contrastText:wd.WHITE},warning:{ultraLight:wd.ORANGE_ULTRA_LIGHT,light:wd.ORANGE_PALE,main:wd.ORANGE,dark:wd.ORANGE_DARK,extraDark:wd.ORANGE_EXTRA_DARK,contrastText:wd.WHITE},success:{ultraLight:wd.GREEN_ULTRA_LIGHT,light:wd.GREEN_PALE,main:wd.GREEN,dark:wd.GREEN_DARK,extraDark:wd.GREEN_EXTRA_DARK,contrastText:wd.WHITE},info:{ultraLight:wd.BLUE_ULTRA_LIGHT,light:wd.BLUE_PALE,main:wd.BLUE,dark:wd.BLUE_DARK,extraDark:wd.BLUE_EXTRA_DARK,contrastText:wd.WHITE},text:{primary:wd.TEXT_PRIMARY,secondary:wd.TEXT_SECONDARY,disabled:wd.GREYSCALE_0_30},action:{hover:wd.GREYSCALE_0_03,hoverOpacity:.03,selected:wd.GREYSCALE_0_05,selectedOpacity:.05,focus:wd.MISC_FOCUS_BORDER},amethyst:{ultraLight:wd.WHITE,main:wd.PURPLE,light:wd.PURPLE_PALE,dark:wd.PURPLE_DARK,extraDark:wd.GREYSCALE_0_0,contrastText:wd.WHITE},background:{paper:wd.WHITE,default:wd.GREYSCALE_95},divider:wd.GREYSCALE_0_15}),Wd=(e,t=!1)=>({components:Gd(0,t),palette:Hd(),breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:960,lg:1280,xl:1920}},spacing:8,shadows:["none","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 1px 2px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 2px 4px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 4px 10px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)","0px 6px 20px 0px rgba(0,0,0,0.15)"],transitions:{easing:{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)"},duration:{standard:300,short:250,enteringScreen:225,shorter:200,leavingScreen:195,shortest:150,complex:375}},typography:{fontSize:kd,fontWeightLight:Td,fontWeightRegular:Od,fontWeightMedium:Ld,fontWeightBold:Pd,htmlFontSize:kd,fontFamily:Md.FONT_FAMILY,button:{fontWeight:Ld,fontSize:kd,textTransform:"none"},body1:{fontSize:Ad,lineHeight:"24px"},body2:{fontSize:kd,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:_d,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:Ad,fontWeight:Ld,lineHeight:"16px"},h6:{fontSize:kd,fontWeight:Ld,lineHeight:"16px"},caption:{color:wd.TEXT_SECONDARY},subtitle1:{fontSize:kd,color:wd.TEXT_SECONDARY},subtitle2:{fontSize:Rd,color:wd.TEXT_SECONDARY}},shape:{borderRadius:Id}});function Yd(e){return Di({...Wd(),direction:e})}class Vd{constructor({translator:e}){P(this,"translator",void 0),P(this,"muiTheme",void 0),P(this,"containers",{}),P(this,"sync",(({element:e,sharedContainerUtilities:t,translator:r,containerId:n,dataHandler:o,renderHelper:i})=>{this.translator=r,this.containers[n]={element:e,sharedContainerUtilities:t,dataHandler:o,renderHelper:i}})),P(this,"setMuiTheme",(e=>{this.muiTheme=Yd(e)})),P(this,"destroy",(e=>{delete this.containers[e]})),this.translator=e}}const Ud=["container","sn-layout-container","sn-tabbed-container","listbox","qlik-tabbed-container","qlik-show-hide-container","qlik-trellis-container","qlik-on-demand-reporting","sn-analysis-autochart"];class qd{constructor(e,t){P(this,"embed",void 0),P(this,"translator",void 0),P(this,"charts",{}),P(this,"getCharts",(()=>{var e;return this.charts=(null===(e=this.embed)||void 0===e?void 0:e.getRegisteredTypes()).reduce(((e,t)=>{var r,n;if(!(Ud.includes(t.id)||!1===(null===(r=t.libraryInfo)||void 0===r?void 0:r.isLibraryItem)||null!==(n=t.libraryInfo)&&void 0!==n&&n.deprecated)){var o;const r=t;null!==(o=r.libraryInfo)&&void 0!==o&&o.translationKey&&(r.libraryInfo.translation=this.translator.get(r.libraryInfo.translationKey)),e[t.id||t.type]=r}return e}),{}),this.charts})),P(this,"getChart",(e=>(this.charts[e]||this.getCharts(),this.charts[e]))),this.embed=e,this.translator=t}}var Kd,Xd={};var Qd=function(){if(Kd)return Xd;Kd=1;var e=T;return Xd.createRoot=e.createRoot,Xd.hydrateRoot=e.hydrateRoot,Xd}();function Zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Jd=(e,t)=>E.createElement("svg",function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){Zd(e,t,r[t])}))}return e}({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t},e),E.createElement("path",{d:"M9.057 11.164a6 6 0 1 1 2.112-2.116 1 1 0 0 1 .052.044l4.176 4.08a1 1 0 0 1 .009 1.422l-.707.707a1 1 0 0 1-1.406.008l-4.185-4.087a1 1 0 0 1-.05-.058ZM10.5 6a4.5 4.5 0 1 0-9 0 4.5 4.5 0 0 0 9 0"})),eu=y(Jd),tu="rgb(89, 89, 89)",ru=ur(zl)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),nu=ur(zl)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}),ou=ur(Bs,{shouldForwardProp:e=>"width"!==e})((({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}}))),iu=ur(cl)({color:tu,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),au=ur(lc)({"&.MuiListItemIcon-root":{minWidth:32,color:tu,marginRight:"0px"}}),lu=ur(xs)({"&.MuiDivider-root":{borderBottom:"3px solid #595959"}}),su=ur(Xl)({"&.MuiButton-contained":{backgroundColor:tu,color:"rgb(255, 255, 255)"},"&.MuiButton-outlined":{backgroundColor:"rgb(255, 255, 255)",borderColor:tu,color:tu,border:"1px solid rgb(179, 179, 179)","&:hover":{backgroundColor:"rgb(255, 255, 255)",border:`1px solid ${tu}`}}}),cu=ur(pa)({width:"1em",height:"1em",paddingBottom:"8px"}),du=ur(pa)({width:"16px",height:"16px"}),uu=({name:e,items:t,onSelect:r})=>E.createElement(E.Fragment,null,E.createElement(rc,{key:e,dense:!0},E.createElement(iu,{noWrap:!0,fontWeight:"bold"},e)),E.createElement(lu,null),t.map((e=>{var t;return E.createElement(rc,{key:null!==(t=e.qExtendsId)&&void 0!==t?t:e.name,divider:!0,disablePadding:!0,disableGutters:!0},E.createElement(Ys,{sx:{minHeight:"32px",height:"auto"},onClick:()=>{r(e)},disableRipple:!0,dense:!0},e.iconPath&&E.createElement(au,null,e.IconDefinition?E.createElement(e.IconDefinition,null):E.createElement(du,{viewBox:"0 0 16 16"},E.createElement("path",{d:e.iconPath}))),E.createElement(iu,{noWrap:!0,title:e.translation||e.name},e.translation||e.name)))}))),pu=({categories:e,anchorEl:t,onClose:r,onSelect:n,width:o})=>{const[i,a]=R(""),l=!!t;return k((()=>{l&&a("")}),[l]),E.createElement(Rc,{open:l,anchorEl:t,onClose:r,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{marginTop:"5px"}},E.createElement(Al,{fullWidth:!0,onChange:e=>{a(e.target.value)},startAdornment:E.createElement(Ps,{position:"start"},E.createElement(eu,null))}),E.createElement(lu,null),E.createElement(ou,{width:o},e.map((e=>{const t=e.items.filter((e=>{const t=e.translation||e.name;return(null==t?void 0:t.toLocaleLowerCase().indexOf(i.toLocaleLowerCase()))>-1}));return t.length>0&&E.createElement(uu,{key:e.name,name:e.name,items:t,onSelect:n})}))))},hu=({anchorEl:e,onClose:t,dataHandler:r,translator:n,sharedContainerUtilities:o,width:i})=>{const[a,l]=R([]),[s,c]=R({});k((()=>{if(e&&r){(async()=>{const e=await r.getMasterVizList();l(e),c(r.getCharts())})().catch((()=>{}))}}),[e,r]);const d=[],u=[],p=[],h=[],f=[],m=Object.values(s);if(0===m.length&&0===a.length)return null;m.forEach((e=>{var t,r,n;!e.libraryInfo||!e.libraryInfo.isThirdParty&&e.libraryInfo.visible?d.push(e):e.libraryInfo.visible&&("qlik-dashboard-bundle"===(null===(t=e.libraryInfo.bundle)||void 0===t?void 0:t.id)?h.push(e):"qlik-visualization-bundle"===(null===(r=e.libraryInfo.bundle)||void 0===r?void 0:r.id)?p.push(e):"qlik-smart-bundle"===(null===(n=e.libraryInfo.bundle)||void 0===n?void 0:n.id)?f.push(e):!e.libraryInfo.bundle&&e.libraryInfo.isThirdParty&&u.push(e))}));const b=e=>e.map((e=>{var t,r,n,o;return{iconPath:null===(t=e.libraryInfo)||void 0===t?void 0:t.iconPath,IconDefinition:null===(r=e.libraryInfo)||void 0===r?void 0:r.IconDefinition,name:e.id,translation:(null===(n=e.libraryInfo)||void 0===n?void 0:n.translation)||(null===(o=e.libraryInfo)||void 0===o?void 0:o.name)||e.id||"",type:e.id}})).sort(((e,t)=>(e.translation||e.name).localeCompare(t.translation||t.name))),g=[{name:n.get("LayoutContainer.Object.MasterItems"),items:a.map((e=>{var t,r;return{qExtendsId:e.qExtendsId,iconPath:s&&(null===(t=s[e.visualization])||void 0===t||null===(t=t.libraryInfo)||void 0===t?void 0:t.iconPath),IconDefinition:null===(r=s[e.visualization])||void 0===r||null===(r=r.libraryInfo)||void 0===r?void 0:r.IconDefinition,name:e.name,type:e.visualization}})).sort(((e,t)=>e.name.localeCompare(t.name)))},{name:n.get("LayoutContainer.Object.Charts"),items:d.map((e=>{var t,r,n,o,i;return{iconPath:(null===(t=e.libraryInfo)||void 0===t?void 0:t.iconPath)||"",IconDefinition:null===(r=e.libraryInfo)||void 0===r?void 0:r.IconDefinition,name:(null===(n=e.libraryInfo)||void 0===n?void 0:n.name)||e.id,type:(null===(o=e.libraryInfo)||void 0===o?void 0:o.template)||e.id,translation:(null===(i=e.libraryInfo)||void 0===i?void 0:i.translation)||e.id||""}})).sort(((e,t)=>e.translation.localeCompare(t.translation)))},{name:n.get("LayoutContainer.Object.CustomObjects"),items:b(u)},{name:n.get("LayoutContainer.Object.VisualizationBundle"),items:b(p)},{name:n.get("LayoutContainer.Object.DashboardBundle"),items:b(h)},{name:n.get("LayoutContainer.Object.SmartBundle"),items:b(f)}];return E.createElement(pu,{categories:g,anchorEl:e,onSelect:e=>{if(!r)return;const{qExtendsId:n}=e;(n?r.addMasterObjectAsChild({initProps:{qExtendsId:n,qInfo:{qType:"undefined"}}}):r.addVizAsChild({type:e.type,objectInitProps:{label:e.translation}})).then((e=>{null!=e&&e.id&&(null==o||o.setSelected([e.id]))})).catch((e=>{console.warn(e)})).finally((()=>{t()}))},onClose:t,width:i})},fu=e=>{var t,r;const n=bu(e);return null!==(t=null===(r=e.objects)||void 0===r?void 0:r.map((e=>{const{childRefId:t}=e;if(!t)return e;const r=n[t];return r?{...e,id:r}:e})))&&void 0!==t?t:[]},mu=(e,t)=>{var r;return null==e||null===(r=e.qChildList)||void 0===r||null===(r=r.qItems)||void 0===r?void 0:r.find((e=>{var r;return(null==e||null===(r=e.qData)||void 0===r?void 0:r.childRefId)===t}))},bu=e=>{var t;return null==e||null===(t=e.qChildList)||void 0===t||null===(t=t.qItems)||void 0===t?void 0:t.reduce(((e,t)=>{var r,n;return e[null==t||null===(r=t.qData)||void 0===r?void 0:r.childRefId]=null==t||null===(n=t.qInfo)||void 0===n?void 0:n.qId,e}),{})};var gu=mu,vu=e=>{const t={...e};return t.objects=fu(t),t},yu=e=>{var t;return null==e||null===(t=e.qChildList)||void 0===t||null===(t=t.qItems)||void 0===t?void 0:t.reduce(((e,t)=>{var r,n;return e[null==t||null===(r=t.qInfo)||void 0===r?void 0:r.qId]=null===(n=t.qData)||void 0===n?void 0:n.childRefId,e}),{})},xu=e=>e.objects.reduce(((e,t)=>(e[t.childRefId]=t,e)),{}),Eu=(e,t)=>{var r;if(!e)return t;const n=mu(e,t);return null==n||null===(r=n.qInfo)||void 0===r?void 0:r.qId};class Su{constructor({app:e,data:t}){P(this,"layout",void 0),P(this,"app",void 0),P(this,"activeId",""),P(this,"data",void 0),P(this,"properties",void 0),P(this,"setSelectedChild",(e=>{var t;null===(t=this.activeContainer)||void 0===t||null===(t=t.sharedContainerUtilities)||void 0===t||t.setSelected(e)})),P(this,"addChild",(({initProps:e,objectInitProps:t,children:r})=>{if(!this.activeContainer)return;const{dataHandler:n}=this.activeContainer;if(null!=e&&e.qExtendsId){const{qExtendsId:o,qInfo:i}=e;return null==n?void 0:n.addMasterObjectAsChild({initProps:{qExtendsId:o,qInfo:i},objectInitProps:t,children:r})}return null==n?void 0:n.addVizAsChild({type:null==e?void 0:e.visualization,initProps:e,objectInitProps:t,children:r})})),P(this,"deleteChild",(async e=>{if(!this.activeContainer)return;const{dataHandler:t}=this.activeContainer;await(null==t?void 0:t.deleteChildren([e]))})),P(this,"duplicateChild",(async e=>{var t;const{childRefId:r,...n}=e,o=this.getEngineId(r);if(!o)return;const i=await(null===(t=this.app)||void 0===t?void 0:t.getObject(o));if(i&&this.activeContainer){const{sharedContainerUtilities:e}=this.activeContainer,t=await i.getFullPropertyTree(),r=t.qProperty,o=t.qChildren,a=await this.addChild({initProps:r,children:o,objectInitProps:n});a&&(null==e||e.setSelected([a.id]))}})),P(this,"openAddChildPopover",(e=>{if(this.activeContainer&&this.activeContainer.dataHandler&&this.data.muiTheme){const t=((e,t)=>{const r=e.getElementsByClassName(t);let n;return 0===r.length?(n=document.createElement("div"),n.className=t,e.appendChild(n)):n=r[0],Qd.createRoot(n)})(this.activeContainer.element,"add-child-popover"),r=()=>{t.unmount()};null==t||t.render(E.createElement(ia,{theme:this.data.muiTheme},E.createElement(hu,{translator:this.data.translator,anchorEl:e,dataHandler:this.activeContainer.dataHandler,onClose:r,width:220,sharedContainerUtilities:this.activeContainer.sharedContainerUtilities})))}})),P(this,"setModel",(e=>{this.activeId=e.id})),P(this,"setLayout",(e=>{this.layout=e})),P(this,"getLayout",(()=>this.layout)),P(this,"getEngineId",(e=>Eu(this.layout,e))),P(this,"setProperties",(e=>{this.properties=e})),P(this,"canAddDimension",(()=>!1)),P(this,"canAddMeasure",(()=>!1)),P(this,"canColorBy",(()=>!1)),P(this,"getDimensions",(()=>[])),P(this,"getMeasures",(()=>[])),P(this,"minDimensions",(()=>0)),P(this,"minMeasures",(()=>0)),P(this,"maxDimensions",(()=>0)),P(this,"maxMeasures",(()=>0)),this.app=e,this.data=t}get activeContainer(){return this.data.containers[this.activeId]}getObject(e){const t=this.getEngineId(e);var r;if(t)return null===(r=this.activeContainer)||void 0===r?void 0:r.renderHelper.objectMap[t]}}function Cu(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function wu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(l.push(n.value),l.length!==t);s=!0);}catch(e){c=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw o}}return l}}(e,t)||ku(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ru(e){return function(e){if(Array.isArray(e))return Cu(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ku(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ku(e,t){if(e){if("string"==typeof e)return Cu(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Cu(e,t):void 0}}var Au=["American Typewriter, serif","Andalé Mono, monospace","Arial Black, sans-serif","Arial, sans-serif","Bradley Hand, cursive","Brush Script MT, cursive","Comic Sans MS, cursive","Courier, monospace","Didot, serif","Georgia, serif","Impact, sans-serif","Lucida Console, monospace","Luminari, fantasy","Monaco, monospace","QlikView Sans, sans-serif","Source Sans Pro, sans-serif","Tahoma, sans-serif","Times New Roman, serif","Trebuchet MS, sans-serif","Verdana, sans-serif"],_u=["Abril Fatface, serif","Bangers, fantasy","Bebas Neue, sans serif","EB Garamond, serif","Fredoka One, fantasy","Graduate, fantasy","Gravitas One, serif","Indie Flower, fantasy","Inter, sans-serif","Lobster, fantasy","Montserrat, sans-serif","Nixie One, sans-serif","Noto Sans, sans-serif","Open Sans, sans-serif","PT Serif, serif","Pacifico, cursive","Permanent Marker, fantasy","QlikView Sans, sans-serif","Raleway, sans-serif","Rammetto One, fantasy","Roboto, sans-serif","Source Sans Pro, sans-serif","Titan One, fantasy","Yanone Kaffeesatz, sans-serif"];var Iu=function(e){return{value:e,label:e.charAt(0).toUpperCase()+e.slice(1),groupHeader:!1,disabled:!1,styles:{fontFamily:e}}};function Tu(e){var t=e.theme,r=e.translator,n=e.defaultValue,o=e.flags,i=[],a=t.getStyle("","","fontFamilies");return Array.isArray(a)&&a.length?i.push.apply(i,Ru(new Set([n].concat(Ru(a.map((function(e){return e.split(",").map((function(e){return e.trim()})).map((function(e){return e.replace(/\s+/g," ").trim()})).filter(Boolean).join(", ")}))))))):i.push(n),[{value:"ThemeHeader",label:r.get("properties.themeFonts"),metaText:r.get("properties.theme"),groupHeader:!0}].concat(Ru(i.map((function(e){return Iu(e)}))),[{value:"DefaultHeader",label:r.get("properties.allFonts"),metaText:r.get("properties.default"),groupHeader:!0}],Ru(function(e){return null!=e&&e.isEnabled("PS_20852_WYSIWYG_FONT_SUPPORT")?_u:Au}(o).map((function(e){return Iu(e)}))))}function Ou(e){var t=e.theme,r=e.translator,n=e.id,o=e.path,i=e.flags,a=function(){return t.getStyle(n,o,"fontFamily")};return{getDefaultValue:function(){return a()},getOptions:function(){return Tu({theme:t,translator:r,defaultValue:a(),flags:i})}}}var Lu,Pu,Mu=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"],ju=function(e){return{value:e,label:e,groupHeader:!1,disabled:!1}};function Nu(e){var t=e.theme,r=e.translator,n=e.id,o=e.path,i=function(){return t.getStyle(n,o,"fontSize")};return{getDefaultValue:function(){return i()},getOptions:function(){return function(e){var t=e.translator,r=e.defaultValue,n=[],o=e.theme.getStyle("","","fontSizes");return Array.isArray(o)&&o.length?n.push.apply(n,Ru(new Set([r].concat(Ru(o))))):n.push(r),[{value:"ThemeHeader",label:t.get("properties.themeFontSizes"),metaText:t.get("properties.theme"),groupHeader:!0}].concat(Ru(n.map((function(e){return ju(e)}))),[{value:"DefaultHeader",label:t.get("properties.allFontSizes"),metaText:t.get("properties.default"),groupHeader:!0}],Ru(Mu.map((function(e){return ju(e)}))))}({theme:t,translator:r,defaultValue:i()})}}}function $u(e){var t=e.theme,r=e.translator,n=e.id,o=e.path;return{fontFamily:Ou({theme:t,translator:r,id:n,path:o,flags:e.flags}),fontSize:Nu({theme:t,translator:r,id:n,path:o})}}var Bu,zu=function(){if(Pu)return Lu;Pu=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(r){if(!r||"[object Object]"!==t.call(r))return!1;var n,o=e.call(r,"constructor"),i=r.constructor&&r.constructor.prototype&&e.call(r.constructor.prototype,"isPrototypeOf");if(r.constructor&&!o&&!i)return!1;for(n in r);return void 0===n||e.call(r,n)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(t,r){if("__proto__"===r){if(!e.call(t,r))return;if(n)return n(t,r).value}return t[r]};return Lu=function e(){var t,r,n,s,c,d,u=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof u&&(f=u,u=arguments[1]||{},p=2),(null==u||"object"!=typeof u&&"function"!=typeof u)&&(u={});p<h;++p)if(null!=(t=arguments[p]))for(r in t)n=l(u,r),u!==(s=l(t,r))&&(f&&s&&(i(s)||(c=o(s)))?(c?(c=!1,d=n&&o(n)?n:[]):d=n&&i(n)?n:{},a(u,{name:r,newValue:e(f,d,s)})):void 0!==s&&a(u,{name:r,newValue:s}));return u},Lu}();function Du(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Fu(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Gu(){}(Bu=zu)&&Bu.__esModule&&Object.prototype.hasOwnProperty.call(Bu,"default")&&Bu.default;var Hu=1/.7,Wu="\\s*([+-]?\\d+)\\s*",Yu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Vu="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Uu=/^#([0-9a-f]{3,8})$/,qu=new RegExp(`^rgb\\(${Wu},${Wu},${Wu}\\)$`),Ku=new RegExp(`^rgb\\(${Vu},${Vu},${Vu}\\)$`),Xu=new RegExp(`^rgba\\(${Wu},${Wu},${Wu},${Yu}\\)$`),Qu=new RegExp(`^rgba\\(${Vu},${Vu},${Vu},${Yu}\\)$`),Zu=new RegExp(`^hsl\\(${Yu},${Vu},${Vu}\\)$`),Ju=new RegExp(`^hsla\\(${Yu},${Vu},${Vu},${Yu}\\)$`),ep={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function tp(){return this.rgb().formatHex()}function rp(){return this.rgb().formatRgb()}function np(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=Uu.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?op(t):3===r?new sp(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?ip(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?ip(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=qu.exec(e))?new sp(t[1],t[2],t[3],1):(t=Ku.exec(e))?new sp(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Xu.exec(e))?ip(t[1],t[2],t[3],t[4]):(t=Qu.exec(e))?ip(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Zu.exec(e))?fp(t[1],t[2]/100,t[3]/100,1):(t=Ju.exec(e))?fp(t[1],t[2]/100,t[3]/100,t[4]):ep.hasOwnProperty(e)?op(ep[e]):"transparent"===e?new sp(NaN,NaN,NaN,0):null}function op(e){return new sp(e>>16&255,e>>8&255,255&e,1)}function ip(e,t,r,n){return n<=0&&(e=t=r=NaN),new sp(e,t,r,n)}function ap(e){return e instanceof Gu||(e=np(e)),e?new sp((e=e.rgb()).r,e.g,e.b,e.opacity):new sp}function lp(e,t,r,n){return 1===arguments.length?ap(e):new sp(e,t,r,null==n?1:n)}function sp(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function cp(){return`#${hp(this.r)}${hp(this.g)}${hp(this.b)}`}function dp(){const e=up(this.opacity);return`${1===e?"rgb(":"rgba("}${pp(this.r)}, ${pp(this.g)}, ${pp(this.b)}${1===e?")":`, ${e})`}`}function up(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function pp(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function hp(e){return((e=pp(e))<16?"0":"")+e.toString(16)}function fp(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new bp(e,t,r,n)}function mp(e){if(e instanceof bp)return new bp(e.h,e.s,e.l,e.opacity);if(e instanceof Gu||(e=np(e)),!e)return new bp;if(e instanceof bp)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,o=Math.min(t,r,n),i=Math.max(t,r,n),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(r-n)/l+6*(r<n):r===i?(n-t)/l+2:(t-r)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new bp(a,l,s,e.opacity)}function bp(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function gp(e){return(e=(e||0)%360)<0?e+360:e}function vp(e){return Math.max(0,Math.min(1,e||0))}function yp(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}Du(Gu,np,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:tp,formatHex:tp,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return mp(this).formatHsl()},formatRgb:rp,toString:rp}),Du(sp,lp,Fu(Gu,{brighter(e){return e=null==e?Hu:Math.pow(Hu,e),new sp(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new sp(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new sp(pp(this.r),pp(this.g),pp(this.b),up(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:cp,formatHex:cp,formatHex8:function(){return`#${hp(this.r)}${hp(this.g)}${hp(this.b)}${hp(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:dp,toString:dp})),Du(bp,(function(e,t,r,n){return 1===arguments.length?mp(e):new bp(e,t,r,null==n?1:n)}),Fu(Gu,{brighter(e){return e=null==e?Hu:Math.pow(Hu,e),new bp(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new bp(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,o=2*r-n;return new sp(yp(e>=240?e-240:e+120,o,n),yp(e,o,n),yp(e<120?e+240:e-120,o,n),this.opacity)},clamp(){return new bp(gp(this.h),vp(this.s),vp(this.l),up(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=up(this.opacity);return`${1===e?"hsl(":"hsla("}${gp(this.h)}, ${100*vp(this.s)}%, ${100*vp(this.l)}%${1===e?")":`, ${e})`}`}}));const xp=Math.PI/180,Ep=180/Math.PI,Sp=4/29,Cp=6/29,wp=3*Cp*Cp;function Rp(e){if(e instanceof kp)return new kp(e.l,e.a,e.b,e.opacity);if(e instanceof Op)return Lp(e);e instanceof sp||(e=ap(e));var t,r,n=Tp(e.r),o=Tp(e.g),i=Tp(e.b),a=Ap((.2225045*n+.7168786*o+.0606169*i)/1);return n===o&&o===i?t=r=a:(t=Ap((.4360747*n+.3850649*o+.1430804*i)/.96422),r=Ap((.0139322*n+.0971045*o+.7141733*i)/.82521)),new kp(116*a-16,500*(t-a),200*(a-r),e.opacity)}function kp(e,t,r,n){this.l=+e,this.a=+t,this.b=+r,this.opacity=+n}function Ap(e){return e>.008856451679035631?Math.pow(e,1/3):e/wp+Sp}function _p(e){return e>Cp?e*e*e:wp*(e-Sp)}function Ip(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function Tp(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function Op(e,t,r,n){this.h=+e,this.c=+t,this.l=+r,this.opacity=+n}function Lp(e){if(isNaN(e.h))return new kp(e.l,0,0,e.opacity);var t=e.h*xp;return new kp(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}Du(kp,(function(e,t,r,n){return 1===arguments.length?Rp(e):new kp(e,t,r,null==n?1:n)}),Fu(Gu,{brighter(e){return new kp(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new kp(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,r=isNaN(this.b)?e:e-this.b/200;return new sp(Ip(3.1338561*(t=.96422*_p(t))-1.6168667*(e=1*_p(e))-.4906146*(r=.82521*_p(r))),Ip(-.9787684*t+1.9161415*e+.033454*r),Ip(.0719453*t-.2289914*e+1.4052427*r),this.opacity)}})),Du(Op,(function(e,t,r,n){return 1===arguments.length?function(e){if(e instanceof Op)return new Op(e.h,e.c,e.l,e.opacity);if(e instanceof kp||(e=Rp(e)),0===e.a&&0===e.b)return new Op(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ep;return new Op(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new Op(e,t,r,null==n?1:n)}),Fu(Gu,{brighter(e){return new Op(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new Op(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return Lp(this).rgb()}}));var Pp=e=>()=>e;function Mp(e,t){var r=t-e;return r?function(e,t){return function(r){return e+r*t}}(e,r):Pp(isNaN(e)?t:e)}!function e(t){var r=function(e){return 1==(e=+e)?Mp:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):Pp(isNaN(t)?r:t)}}(t);function n(e,t){var n=r((e=lp(e)).r,(t=lp(t)).r),o=r(e.g,t.g),i=r(e.b,t.b),a=Mp(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);var jp="center",Np="bottom";function $p(e,t,r){if(void 0===e||void 0===t)return r;for(var n=t.split("."),o=e,i=0;i<n.length;++i){var a=n[i];if(void 0===o[a])return r;o=o[a]}return o}[{key:"NoDataExist",alignment:jp,condition:function(e){var t=e.layoutService;if(!t)return!1;var r=t.meta.size;return r.x*r.y==0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:jp,condition:function(e){var t=e.layoutService;return!!t&&t.getHyperCubeValue("qMeasureInfo").every((function(e){return"NaN"===e.qMin&&"NaN"===e.qMax}))}},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:jp,condition:function(e){var t=e.layoutService;if(!t)return!1;if(!t.meta.isContinuous)return!1;var r=t.getHyperCubeValue("qDimensionInfo.0");return r&&(r.qMax<r.qMin||"NaN"===r.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:jp},{key:"DataRangeIncludingZero",alignment:Np},{key:"LimitedData",alignment:Np},{key:"NegativeOrZeroValues",alignment:Np}].reduce((function(e,t){return e[t.key]=t,e}),{});var Bp,zp=["__proto__","constructor"];function Dp(e,t,r){if(void 0!==e&&void 0!==t){var n=t.split("."),o=n[n.length-1];if(!zp.some((function(e){return n.includes(e)}))){for(var i=e,a=0;a<n.length-1;++a){var l=n[a];void 0===i[l]&&(i[l]=Number.isNaN(+n[a+1])?{}:[]),i=i[l]}void 0!==r?i[o]=r:delete i[o]}}}function Fp(e){var t=0,r=e.children,n=r&&r.length;if(n)for(;--n>=0;)t+=r[n].value;else t=1;e.value=t}function Gp(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=Wp)):void 0===t&&(t=Hp);for(var r,n,o,i,a,l=new Up(e),s=[l];r=s.pop();)if((o=t(r.data))&&(a=(o=Array.from(o)).length))for(r.children=o,i=a-1;i>=0;--i)s.push(n=o[i]=new Up(o[i])),n.parent=r,n.depth=r.depth+1;return l.eachBefore(Vp)}function Hp(e){return e.children}function Wp(e){return Array.isArray(e)?e[1]:null}function Yp(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function Vp(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function Up(e){this.data=e,this.depth=this.height=0,this.parent=null}Up.prototype=Gp.prototype={constructor:Up,count:function(){return this.eachAfter(Fp)},each:function(e,t){let r=-1;for(const n of this)e.call(t,n,++r,this);return this},eachAfter:function(e,t){for(var r,n,o,i=this,a=[i],l=[],s=-1;i=a.pop();)if(l.push(i),r=i.children)for(n=0,o=r.length;n<o;++n)a.push(r[n]);for(;i=l.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var r,n,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),r=o.children)for(n=r.length-1;n>=0;--n)i.push(r[n]);return this},find:function(e,t){let r=-1;for(const n of this)if(e.call(t,n,++r,this))return n},sum:function(e){return this.eachAfter((function(t){for(var r=+e(t.data)||0,n=t.children,o=n&&n.length;--o>=0;)r+=n[o].value;t.value=r}))},sort:function(e){return this.eachBefore((function(t){t.children&&t.children.sort(e)}))},path:function(e){for(var t=this,r=function(e,t){if(e===t)return e;var r=e.ancestors(),n=t.ancestors(),o=null;for(e=r.pop(),t=n.pop();e===t;)o=e,e=r.pop(),t=n.pop();return o}(t,e),n=[t];t!==r;)t=t.parent,n.push(t);for(var o=n.length;e!==r;)n.splice(o,0,e),e=e.parent;return n},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore((function(t){t.children||e.push(t)})),e},links:function(){var e=this,t=[];return e.each((function(r){r!==e&&t.push({source:r.parent,target:r})})),t},copy:function(){return Gp(this).eachBefore(Yp)},[Symbol.iterator]:function*(){var e,t,r,n,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(r=0,n=t.length;r<n;++r)i.push(t[r])}while(i.length)}},Bp=function(e){
|
|
97
88
|
/*! javascript-number-formatter - v1.1.11 - http://mottie.github.com/javascript-number-formatter/ * © ecava */
|
|
98
|
-
e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,o,r,i,a,l,s,c,d,u,p=e.length,h=e.search(/[0-9\-\+#]/),f=h>0?e.substring(0,h):"",m=e.split("").reverse().join(""),b=m.search(/[0-9\-\+#]/),g=p-b,v=e.substring(g,g+1),y=g+("."===v||","===v?1:0),x=b>0?e.substring(y,p):"";if(n=(t="-"===(e=e.substring(h,y)).charAt(0)?-t:+t)<0?t=-t:0,r=(o=e.match(/[^\d\-\+#]/g))&&o[o.length-1]||".",i=o&&o[1]&&o[0]||",",e=e.split(r),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=l)&&(t=(+t).toFixed(l+1)),d=e[0].split(i),e[0]=d.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-a;)c[0]="0"+c[0];else 0==+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],s=d[1]&&d[d.length-1].length){for(m="",g=(u=t[0]).length%s,p=u.length,y=0;y<p;y++)m+=u.charAt(y),!((y-g+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?r+t[1]:"","0"!==(o=t.join(""))&&""!==o||(n=!1),f+(n?"-":"")+o+x}},fp({exports:{}});var wp="'Source Sans Pro', 'Arial', 'sans-serif'",Rp="#333333",Ap="#595959",kp="#737373",Ip="#cccccc",Lp="#e6e6e6";function _p(e){var t={};return[].concat(Xd(e),Xd([["","","color"],["object","","fontFamily"],["object","axis.label.name","color",Ap],["object","axis.label.name","fontFamily",wp],["object","axis.label.name","fontSize","12px"],["object","axis.line.major","color",Ip],["object","axis.line.minor","color",Lp],["object","axis.title","color"],["object","axis.title","fontFamily",wp],["object","axis.title","fontSize","13px"],["object","grid.line.highContrast","color",Lp],["object","grid.line.major","color",Ip],["object","grid.line.minor","color",Lp],["object","label.value","color",Ap],["object","label.value","fontFamily",wp],["object","label.value","fontSize","12px"],[!1,"label.value","darkColor",Ap],[!1,"label.value","lightColor",Lp],["object","outOfRange","color","#999"],["object","legend.title","color",Rp],["object","legend.title","fontFamily",wp],["object","legend.title","fontSize","15px"],["object","legend.label","color",Ap],["object","legend.label","fontFamily",wp],["object","legend.label","fontSize","13px"],["object","referenceLine.label.name","color",Rp],["object","referenceLine.label.name","fontFamily",wp],["object","referenceLine.label.name","fontSize","12px"],["object","referenceLine.outOfBounds","color",Lp],["object","referenceLine.outOfBounds","fontFamily",wp],["object","referenceLine.outOfBounds","fontSize","12px"],["object","referenceLine.outOfBounds","backgroundColor",kp,function(e){return"transparent"===e?kp:e}]])).reduce((function(e,n){var o="".concat(n[0],"-").concat(n[1],"-").concat(n[2],"}");return t[o]||(t[o]=!0,e.push(n)),e}),[]).sort((function(e,t){return(e[0].split?e[0].split(".").length:0)-(t[0].split?t[0].split(".").length:0)}))}var Tp=function(e){return e};function Mp(e){var t=e.theme,n=e.id,o=e.transform,r=e.extend,i=e.matrix,a={},l=o.reduce((function(e,t){var n=Kd(t,2),o=n[0],r=n[1];return e[o]=r,e}),{});return i.forEach((function(e){var o=Kd(e,5),r=o[0],i=o[1],s=o[2],c=o[3],d=o[4],u=void 0===d?function(e){return e}:d,p=function(e){var t=e.theme,n=e.base,o=e.path,r=e.attribute,i=e.defaultValue,a=void 0===i?void 0:i;if(!t||!1===n)return a;var l=t.getStyle(n,o,r);return void 0===l?a:l}({theme:t,base:"object"===r&&n?"".concat("object",".").concat(n):r,path:i,attribute:s,defaultValue:c}),h=(l["".concat(i,".").concat(s)]||Tp)(u(p));bp(a,[i,s].filter(Boolean).join("."),h)})),r.forEach((function(e){var t=Kd(e,2),n=t[0],o=t[1];bp(a,n,o)})),a}const Pp={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}};function Op(e){if(!e.objects)return{};const t=Vd(e);return{container_id:e.qInfo.qId,objects:e.qChildList.qItems.map((n=>{var o;return{chart_type:n.qData.visualization,chart_id:n.qInfo.qId,chart_isMaster:!!n.qData.qExtendsId,tab_isVisible:0!==(null===(o=t[n.qData.childRefId])||void 0===o?void 0:o.condition),tab_isActive:n.qData.childRefId===e.cachedTabId}}))}}const $p=({ref:e,theme:t,change:n})=>({component:"inline-wrapper",items:{bgColorDropdown:{ref:`${e}.useColorExpression`,width:9.5,component:"dropdown",change(t){(hp(t,`${e}.color`)||hp(t,`${e}.colorExpression`))&&(bp(t,`${e}.color`,void 0),bp(t,`${e}.colorExpression`,void 0)),null==n||n(t)},options:[{value:!1,translation:"properties.colorMode.primary"},{value:!0,translation:"properties.colorMode.byExpression"}],defaultValue:!1,placeholder:"properties.colorMode.primary"},bgColorPicker:{component:"color-picker",ref:`${e}.color`,width:1,show:t=>!hp(t,`${e}.useColorExpression`),disableNone:!1,defaultValue:()=>{var n;return{color:null!==(n=null==t?void 0:t.getStyle("object.tabbedContainer",e,"color"))&&void 0!==n?n:"none"}},showAlpha:!0,change:e=>{null==n||n(e)}},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>hp(t,`${e}.useColorExpression`)}}}),Np=({theme:e})=>({bgColorAllWrapper:$p({ref:"background.unselected"}),selectedTab:{translation:"properties.chartType.selected",component:"text"},bgColorSelectedWrapper:$p({ref:"background.selected"}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:$p({ref:"background.hover",theme:e,change:e=>{bp(e,"indicator.hover.color",hp(e,"background.hover.color")),bp(e,"indicator.hover.useColorExpression",hp(e,"background.hover.useColorExpression"))}})},show:(e,t)=>"left"===t.layout.orientation}}),Bp=({paths:e,fontResolver:t,theme:n})=>{const o=`${e.theme}.fontSize`;return{fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.size`,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o),show:e=>{var t;return!1!==(null===(t=e.icon)||void 0===t?void 0:t.show)}},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")}),show:e=>{var t;return!1!==(null===(t=e.icon)||void 0===t?void 0:t.show)}}}},position:{type:"string",ref:"icon.position",component:"dropdown",options:[{value:"start",translation:"properties.dock.start"},{value:"top",translation:"properties.dock.top"},{value:"end",translation:"properties.dock.end"},{value:"bottom",translation:"properties.dock.bottom"}],defaultValue:(e,{layout:t})=>"left"===t.orientation?"top":"start",show:e=>"tabs"===e.key},hide:{type:"boolean",translation:"properties.show",ref:"icon.show",component:"switch",defaultValue:!0,show:e=>"tab"===e.key}}},jp=({theme:e})=>({colorWrapper:$p({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:$p({ref:"indicator.hover",theme:e,change:e=>{bp(e,"background.hover.color",hp(e,"indicator.hover.color")),bp(e,"background.hover.useColorExpression",hp(e,"indicator.hover.useColorExpression"))}})},show:(e,t)=>"left"!==t.layout.orientation}}),Dp=({paths:e,fontResolver:t,theme:n})=>{const o=`${e.theme}.fontFamily`,r=`${e.theme}.fontSize`;return{fontFamilyItem:{component:"dropdown",ref:`${e.ref}.fontFamily`,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o),change:(e,t,n)=>{var o;const r=null===(o=e.label)||void 0===o?void 0:o.fontFamily,i=(e=>{const t=[];return e.objects.forEach((e=>{var n,o;const r=null===(n=e.components)||void 0===n?void 0:n.find((e=>"tab"===e.key)),i=null==r||null===(o=r.label)||void 0===o?void 0:o.fontFamily;i&&-1===t.indexOf(i)&&t.push(i)})),t})(n);r&&-1===i.indexOf(r)&&i.push(r),n.fontsUsed=i}},fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.fontSize`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r)},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")})}}},alignment:{component:"text-align-buttons",ref:"label.alignment",show:e=>"tabs"===e.key},hide:{type:"boolean",translation:"properties.show",ref:"label.show",component:"switch",defaultValue:!0}}},zp=({ref:e,key:t,fontResolver:n,theme:o})=>({translation:"Object.Container.Props.Label",component:"panel-section",items:{label:{component:"items",ref:e,key:t,items:Dp({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:o})}}}),Fp=({ref:e,key:t})=>({translation:"Visualizations.Descriptions.Width",component:"panel-section",items:{width:{component:"items",ref:e,key:t,items:{unit:{type:"string",ref:"width.unit",component:"dropdown",options:[{value:"%",translation:"Object.Table.Column.Percentage"},{value:"px",translation:"Object.Table.Column.Pixels"}],defaultValue:"%",change:e=>{var t,n;if(void 0!==(null===(t=e.width)||void 0===t?void 0:t.value)&&"%"===(null===(n=e.width)||void 0===n?void 0:n.unit))for(let t=0;t<e.width.value.length;t++)e.width.value[t]>100?e.width.value[t]=100:e.width.value[t]<5&&(e.width.value[t]=5)}},valuePixel:{translation:"properties.axis.minMax",component:"slider",ref:"width.value",range:!0,step:1,min:0,max:800,show:e=>{var t;return"px"===(null===(t=e.width)||void 0===t?void 0:t.unit)},defaultValue:[0,360]},valuePercentage:{translation:"properties.axis.minMax",component:"slider",type:"array",ref:"width.value",range:!0,step:1,min:5,max:100,show:e=>{var t,n;return!(null!==(t=e.width)&&void 0!==t&&t.unit)||"px"!==(null===(n=e.width)||void 0===n?void 0:n.unit)},defaultValue:[5,20]}}}}}),Gp=({theme:e,ref:t,key:n})=>({translation:"Object.TabbedContainer.Indicator",component:"panel-section",items:{indicator:{component:"items",ref:t,key:n,items:jp({theme:e,ref:t,key:n})}}}),Hp=({ref:e,key:t,fontResolver:n,theme:o})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:Bp({paths:{ref:"icon",theme:"icon.value"},fontResolver:n,theme:o})}},show:(e,{layout:t})=>!0===t.showIcons}),Yp=({theme:e,ref:t,key:n})=>({translation:"Object.OrgChart.BackgroundColor",component:"panel-section",items:{background:{component:"items",ref:t,key:n,items:"tab"===n?{bgColorWrapper:$p({ref:"background"})}:Np({theme:e})}}}),Wp=({fontResolver:e,theme:t})=>{const n="components",o="tab";return{component:"styling-panel",chartTitle:"Object.Container",tabTitle:"scripteditor.dataconnectors.delimiter.tab",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",ref:n,items:{label:zp({ref:n,key:o,fontResolver:e,theme:t}),width:{...Fp({ref:n,key:o}),show:(e,{layout:t})=>"left"!==t.orientation},icon:Hp({ref:n,key:o,fontResolver:e,theme:t}),background:Yp({ref:n,key:o,theme:t})}}},Vp={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},Up={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},qp=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{var n,o,r;const i=t.getLayout(),a=null===(n=Hd(i,e.childRefId))||void 0===n?void 0:n.qMeta;return!(null!=a&&null!==(o=a.privileges)&&void 0!==o&&o.includes("update")&&null!==(r=i.permissions)&&void 0!==r&&r.update)},action(t,n,{app:o}){const{sense:r}=e.env.anything,i=n.getEngineId(t.childRefId);i&&(r.propertyPanel.show({id:i,app:o,parent:"current",headerLabel:t.label}),n.setSelectedChild([i]))}}),Kp=e=>{const{sense:t}=e.env.anything;return{label:Vp,condition:Up,styling:Wp({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),editProperties:qp(e)}},Xp={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},Qp={translation:"Common.Charts",component:"text",show:e=>e.objects?e.objects.length>1:e.children.length>1},Zp=e=>({type:"array",ref:"objects",itemTitleRef:e=>e.label,allowAdd:!0,customAdd:!0,allowMove:!0,allowRemove:!0,customRemove:!0,addTranslation:"Object.Container.Props.Add",cId:"childRefId",grouped:!0,add(e,t,n){const o=document.querySelector(".pp-toplist-add-button");null!==o&&n.openAddChildPopover(o)},remove(e,t,n){n.deleteChild(e.childRefId).catch((()=>{}))},items:Kp(e)}),Jp=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:Xp,chartsLabel:Qp,chartList:Zp(e)}}),eh={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},th={type:"boolean",translation:"Object.Container.Props.UseDropdown",label:"Menu",ref:"useDropdown",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}],defaultValue:!1,show:e=>e.showTabs},nh={type:"boolean",translation:"Object.Container.Props.UseScrollButtons",ref:"useScrollButton",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}],defaultValue:!0,show:e=>e.showTabs},oh={type:"boolean",translation:"Object.Container.Props.ShowIcons",ref:"showIcons",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1,show:e=>e.showTabs},rh={type:"string",translation:"Object.Container.Props.DefaultTab",ref:"defaultTabId",component:"dropdown",defaultValue:void 0,options(e,t){const n=t.getLayout();return n?n.objects.map((e=>({translation:e.label,value:e.childRefId}))):[]},change(e,t){const n=Ud(t.getLayout(),e.defaultTabId);n&&t.setSelectedChild([n])},show:e=>e.objects.length>0},ih={type:"string",translation:"properties.orientation",ref:"orientation",component:"dropdown",options:[{value:"top",translation:"properties.orientation.horizontal"},{value:"left",translation:"properties.orientation.vertical"}],defaultValue:"top",show:e=>e.showTabs},ah=({fontResolver:e,theme:t})=>{const n="components",o="tabs";return{component:"styling-panel",chartTitle:"Object.TabContainer",tabTitle:"Object.Container.Props.ShowTabs",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,useBackground:!0,items:{label:zp({ref:n,key:o,fontResolver:e,theme:t}),width:Fp({ref:n,key:o}),indicator:Gp({ref:n,key:o,theme:t}),icon:Hp({ref:n,key:o,fontResolver:e,theme:t}),background:Yp({ref:n,key:o,theme:t})}}},lh={items:{details:{show:e=>!0===e.showDetails}}},sh=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:ah({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),container:{type:"items",items:{showTabs:eh,useDropdown:th,useScrollButton:nh,showIcons:oh,orientation:ih,defaultTabId:rh}}}}},ch=e=>({uses:"settings",items:{general:lh,presentation:sh(e)}}),dh=e=>({type:"items",component:"accordion",items:{content:Jp(e),settings:ch(e)}}),uh=e=>{const{sense:t}=e.env.anything,n=function(e){var t=e.theme,n=e.translator,o=e.config,r=void 0===o?{}:o,i=e.flags,a=function(e){var t=e.config,n=void 0===t?{}:t,o=n.id,r=n.paths;return{id:void 0===o?"object":"".concat("object",".").concat(o),paths:Array.isArray(r)?r:[]}}({config:r}),l=a.id,s=a.paths,c={};s.forEach((function(e){for(var o=e.split("."),r=c,a=0;a<o.length;a++){var s=o[a];a===o.length-1?r[s]=lu({theme:t,translator:n,id:l,path:e,flags:i}):void 0===r[s]&&(r[s]={}),r=r[s]}}));var d=function(e){for(var t=e.split("."),n=c,o=0;o<t.length;o++){var r=t[o];if(void 0===n[r])throw new Error("font-resolver: Path '".concat(e,"' could not be resolved."));n=n[r]}return n};return c.getDefaultValue=function(e){return d(e).getDefaultValue()},c.getOptions=function(e){return d(e).getOptions()},c}({theme:null==t?void 0:t.theme,translator:e.env.translator,flags:e.env.flags,config:{id:"tabbedContainer",paths:["label.value","icon.value"]}}),o=function(e){return{async getDropOptions(e,t,n){const{item:o}=t,r=e.getCreatePropertyHandler();if(r.setModel(e.model),"state"===t.item.type){var i;const o=await e.model.getProperties();return r.setProperties(o),r.setLayout(null===(i=e.model)||void 0===i?void 0:i.layout),this.getDropStateOptions(t,r,e.model,n)}if("visualization"===o.type)return t.menu.addItem({translation:["Object.Container.DropItem",o.name],tid:"addvisualization",select(){var e;null===(e=r.addChild({initProps:{qExtendsId:o.id,qInfo:{qType:"undefined"}}}))||void 0===e||e.then((e=>{e&&r.setSelectedChild([e.id])}))}}),void n();const a=await t.item.getDropOption(t.item);"newObject"===(null==a?void 0:a.id)&&t.menu.addItem({translation:["Object.Container.DropItem",o.name],tid:"createvisualization",select(){var e,t;null===(e=r.addChild({initProps:{...a.args.init,visualization:a.args.template},children:null===(t=a.args.children)||void 0===t?void 0:t.map((e=>({qProperty:e})))}))||void 0===e||e.then((e=>{e&&r.setSelectedChild([e.id])}))}}),n()},async addChild(t,n){const{model:o}=this,r=new qd({app:o.app,data:e.propertyHandlerData});return r.setModel(o),{childModel:await r.addChild({initProps:t,children:n}),handler:r}},canReceive(e){if(this.model.layout.qExtendsId)return!1;if("libraryitem"===e.type){const{item:t}=e;if("template"===t.type&&xd.includes(t.template))return!1;if("visualization"===t.type&&xd.includes(t.visualization))return!1}return"gridcell"!==e.type||!xd.includes(e.cell.model.layout.visualization)}}}(e);return{definition:dh({...e,fontResolver:n}),support:{snapshot:!1,export:!0,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new qd({app:t,data:e.propertyHandlerData}),...o,addChild:async function(e,t){const{childModel:n,handler:r}=await o.addChild.apply(this,[e,t]);n&&r.setSelectedChild([n.id])},migrate:{properties:(e,t)=>((async(e,t)=>{if(!e.objects){const{objects:n,defaultTabId:o,components:r,orientation:i,showDetails:a}=await t.getEffectiveProperties(),l=await t.getFullPropertyTree();if(!l.qProperty.objects&&n){const s=[];l.qChildren.forEach((e=>{const n=e.qProperty;if(n.qInfo.qId){const o=async o=>{const r=await t.getChild(o),i=await r.getEffectiveProperties();return{...e,qProperty:{...n,childRefId:i.childRefId}}};s.push(o(n.qInfo.qId))}}));const c=await Promise.all(s),d={...e,objects:n,defaultTabId:null!=o?o:"",components:r,qChildListDef:Pp,orientation:i,showDetails:a};t.clearSoftPatches(),await t.setFullPropertyTree({...l,qProperty:d,qChildren:c})}}})(e,t),e)},exportProperties:null,importProperties:(e,t)=>{const n={...e.properties};return"masterobject"!==e.properties.qInfo.qType&&(n.qInfo.qType=t.qInfo.qType),n.visualization=t.visualization,{qProperty:n,qChildren:e.qChildren}},extendMetrics:Op}},ph=({propertyHandlerData:e,element:o,sharedContainerUtilities:r,translator:i,containerId:a,dataHandler:l,renderHelper:s})=>{const c=t();a&&e.sync({containerId:a,element:o,sharedContainerUtilities:r,translator:i,dataHandler:l,renderHelper:s}),n((()=>{e.setMuiTheme(c.direction)}),[c.direction,e]),n((()=>()=>{a&&e.destroy(a)}),[a,e,c.direction])},hh=e=>e.reduce(((e,{id:t,data:n})=>(n&&(e[t]=n),e)),{}),fh=async e=>{const t=Object.entries(e).map((([e,t])=>{const n={id:e,data:void 0};return t.getViewState().then((t=>({id:e,data:t}))).catch((()=>n))})),n=await Promise.all(t);return{viewStates:hh(n)}},mh=async e=>{const t=Object.entries(e).map((([e,t])=>{const n={id:e,data:void 0};return t.getSnapshotLayout().then((t=>({id:e,data:t}))).catch((()=>n))})),n=await Promise.all(t);return hh(n)},bh=(e,t)=>(r((async n=>{const o=n,{snapshotData:r}=o;if(r){const n=Yd(o),i=t(e.objectMap,n),[a,l]=await Promise.all([mh(i.objectMap),fh(i.objectMap)]);r.objectsData={layouts:a},o.objects=i.objects,r.viewState=l}return n})),{getViewState:()=>fh(e.objectMap)});let gh=function(e){return e.COPY="ctrl+c",e.CUT="ctrl+x",e.PASTE="ctrl+v",e.OPEN_CONTEXT_MENU="shift+F10",e.ESCAPE="Escape",e.SPACE=" ",e.ENTER="Enter",e.BACKSPACE="Backspace",e.DELETE="Delete",e.SHIFT="Shift",e}({}),vh=function(e){return e.KEY_DOWN="keydown",e.KEY_UP="keyup",e.FOCUS_OUT="focusout",e}({});var yh,xh;!function(e){e.TAB_MENU="tab-menu",e.TAB_MENU_ITEM="tab-menu-item",e.ACTIVE_TAB="active-tab-button",e.TAB_WRAPPER="tab-wrapper",e.TAB="tab-button",e.TAB_EXTRA_PRIO="MuiTab-root",e.TAB_LABEL="tab-label",e.TABS_ICON="tab-icon",e.ACTIVE_TAB_PANEL="active-tab-panel",e.TAB_INDICATOR="MuiTabs-indicator"}(yh||(yh={})),function(e){e.TABS="& .tab-button.MuiTab-root, .tab-button.active-tab-button",e.TABS_HOVER="& .tab-button.MuiTab-root:hover",e.TABS_LABEL="& .tab-label",e.TABS_ICON="& .tab-icon svg",e.TABS_WRAPPER="& .tab-wrapper",e.TAB_INDICATOR="& .MuiTabs-indicator"}(xh||(xh={}));const Eh=e=>{var t;return null===(t=e.getElementsByClassName(yh.ACTIVE_TAB))||void 0===t?void 0:t[0]},Sh=e=>{var t;return null===(t=e.getElementsByClassName(yh.ACTIVE_TAB_PANEL))||void 0===t?void 0:t[0]},Ch=({element:e,setAccessibility:t,accessibility:r,renderHelper:l,interactions:s})=>{const c=i(),d=a((()=>()=>{var e;(t(!1),c.enabled)&&(null===(e=c.blur)||void 0===e||e.call(c,!0))}),[c,t]),u=a((()=>t=>{switch(t.shiftKey?`shift+${t.key}`:t.key){case gh.ESCAPE:var n;t.stopPropagation(),null===(n=c.blur)||void 0===n||n.call(c,!0);break;case gh.ENTER:case gh.SPACE:{t.stopPropagation();const n=t.target;var o;if(null!=n&&n.classList.contains(yh.ACTIVE_TAB))null===(o=Sh(e))||void 0===o||o.focus();break}}}),[e,c]),p=a((()=>(t,n)=>{switch(t.shiftKey?`shift+${t.key}`:t.key){case gh.ESCAPE:var o;t.stopPropagation();var r,i;if((null==n?void 0:n.viewDataToggled)&&(null===(o=n.supportViewData)||void 0===o?void 0:o.call(n)))null===(r=n.toggleDataView)||void 0===r||r.call(n);else null===(i=Eh(e))||void 0===i||i.focus();break;case gh.ENTER:case gh.SPACE:var a,l,s;if(!n)break;t.stopPropagation(),null===(a=n.setOnBlurHandler)||void 0===a||a.call(n,(()=>{var t;null===(t=Sh(e))||void 0===t||t.focus(),n.setOnBlurHandler(void 0)}));var c;if(!n.viewDataToggled&&(null===(l=n.supportViewData)||void 0===l?void 0:l.call(n)))null===(c=n.toggleDataView)||void 0===c||c.call(n);else n.viewDataToggled&&"function"==typeof(null===(s=n.dataViewObject)||void 0===s?void 0:s.focus)?n.dataViewObject.focus():"function"==typeof n.focus&&n.focus();break;case gh.OPEN_CONTEXT_MENU:t.stopPropagation(),null!=n&&n.viewDataToggled||e!==document.activeElement&&(d(),e.focus())}}),[e,d]),h=a((()=>e=>{const t=e.target;if(null!=t&&t.classList.contains(yh.ACTIVE_TAB_PANEL)){const t=Object.values(l.objectMap)[0];p(e,t)}else u(e)}),[u,p,l]);n((()=>(r&&e.addEventListener(vh.KEY_DOWN,h),()=>{e.removeEventListener(vh.KEY_DOWN,h)})),[e,r,h]);const[f,m]=o(!1);n((()=>{f&&(m(!1),window.setTimeout((()=>{var t,n;return null===(t=null!==(n=(e=>{var t;return null===(t=e.getElementsByClassName(yh.TAB_MENU))||void 0===t?void 0:t[0]})(e))&&void 0!==n?n:Eh(e))||void 0===t?void 0:t.focus()}),0))}),[e,f]),n((()=>{t(!1)}),[s.edit,t]),n((()=>{const n=t=>{const n=t.relatedTarget;null!=e&&e.contains(n)||null!=n&&n.classList.contains(yh.TAB_MENU_ITEM)||null==d||d()};return c.enabled&&c.active&&!s.edit&&(t(!0),m(!0),e.addEventListener(vh.FOCUS_OUT,n)),()=>{e.removeEventListener(vh.FOCUS_OUT,n)}}),[c])},wh=e=>{const[t]=o(e);return[t,function(e){Object.assign(t,e)}]},Rh=({isContainerActive:e,activeTabId:t,modifiedLayout:o,renderHelper:r})=>{const i={modifiedLayout:o,activeTabId:t,renderHelper:r,isContainerActive:e},[l,s]=wh(i);s(i);const c=a((()=>()=>{const e=Wd(l.modifiedLayout);Object.entries(l.renderHelper.objectMap).forEach((([t,n])=>{const o=l.isContainerActive&&l.activeTabId===e[t];"setIsActive"in n&&n.setIsActive(o)}))}),[l]);n((()=>{l.isContainerActive&&c()}),[r.objectMap,c,l]),n((()=>{c()}),[e,c])},Ah={getChar(e){let t,n=e;return n>9?(t=65+n-10,t>90&&(t+=6)):n=`${n}`.charCodeAt(0),!t||[48,111,79,105,73,108].indexOf(t)>-1?this.getChar(n+1):String.fromCharCode(t)},base62(e){const t=this.getChar(e%62),n=Math.floor(e/62);return n>0?this.base62(n)+t:t},id(){return this.base62(Math.round(99e11*Math.random()+1e11)).replace(/\W/g,"")}};const kh={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class Ih{constructor(e){O(this,"sessionObject",void 0),O(this,"getOrCreateSessionObject",(async e=>{const t=kh.qInfo.qId;this.sessionObject=await e.getObject(t).catch((()=>e.createSessionObject(kh)))})),O(this,"getMasterVisualizations",(async()=>{try{if(!this.sessionObject)return[];const e=await this.sessionObject.getLayout();return("qAppObjectList"in e?e.qAppObjectList.qItems:e).map((e=>({...e.qData,qExtendsId:e.qInfo.qId}))).filter((e=>!xd.includes(e.visualization)))}catch(e){return[]}})),this.getOrCreateSessionObject(e).catch((()=>{}))}}let Lh=function(e){return e[e.TOP=0]="TOP",e[e.BOTTOM=1]="BOTTOM",e[e.UP=2]="UP",e[e.DOWN=3]="DOWN",e}({});class _h{constructor({embed:e,model:t,app:n,translator:o,mutex:r}){O(this,"model",void 0),O(this,"embed",void 0),O(this,"app",void 0),O(this,"undoRedoModel",void 0),O(this,"chartList",void 0),O(this,"masterVizList",void 0),O(this,"mutex",void 0),O(this,"rememberAsGroup",(async e=>{let t;this.undoRedoModel&&(t=await this.undoRedoModel.startGroup());const n=await e();return t&&this.undoRedoModel&&await this.undoRedoModel.endGroup(t),n})),O(this,"generateProperties",(async(e,t)=>await this.embed.generateProperties({type:e,properties:t}))),O(this,"addVizAsChild",(async({type:e,initProps:t,objectInitProps:n,children:o})=>{try{const r=await this.generateProperties(e,t);let i=(null==n?void 0:n.label)||(null==t?void 0:t.title);if(!i){const n=this.getChart(null==t?void 0:t.visualization),o=null==n?void 0:n.libraryInfo;i=(null==o?void 0:o.translation)||(null==o?void 0:o.name)||e}const a={...n,label:i};return await this.addChild(r,o,a)}catch(e){return}})),O(this,"addMasterObjectAsChild",(async({initProps:e,objectInitProps:t,children:n})=>{try{if(!e||!e.qExtendsId||!this.app)return;const o=await this.app.getObject(e.qExtendsId),r=await o.getProperties(),i=(null==t?void 0:t.label)||r.title||r.qMetaDef.title,a={...e,qInfo:{qType:"childObject"}},l={...t,label:i};return await this.addChild(a,n,l)}catch(e){return}})),O(this,"deleteChildren",(async e=>{const{model:t}=this;if(0===e.length||!t)return!1;try{await this.mutex.lock();const n=await t.getFullPropertyTree(),{qChildren:o,qProperty:r}=n,i=new Set(e);return n.qChildren=o.filter((({qProperty:e})=>{const t=e.childRefId;return!t||!i.has(t)})),n.qProperty.objects=r.objects.filter((e=>!i.has(e.childRefId))),await t.setFullPropertyTree(n),!0}catch(e){return!1}finally{this.mutex.unlock()}})),O(this,"moveChild",(async(e,t)=>{if(this.model)try{await this.mutex.lock();const n=await this.model.getProperties(),{objects:o}=n,r=o.findIndex((e=>e.childRefId===t));let i=!1;switch(e){case Lh.TOP:{if(0===r)break;const e=o.splice(r,1)[0];o.unshift(e),i=!0;break}case Lh.BOTTOM:{if(r===o.length-1)break;const e=o.splice(r,1)[0];o.push(e),i=!0;break}case Lh.UP:{if(0===r)break;const e=o.splice(r,1)[0];o.splice(r-1,0,e),i=!0;break}case Lh.DOWN:{if(r===o.length-1)break;const e=o.splice(r,1)[0];o.splice(r+1,0,e),i=!0;break}}i&&await this.model.setProperties(n)}finally{this.mutex.unlock()}})),O(this,"getCharts",(()=>{var e;return(null===(e=this.chartList)||void 0===e?void 0:e.getCharts())||{}})),O(this,"getMasterVizList",(()=>{var e;return(null===(e=this.masterVizList)||void 0===e?void 0:e.getMasterVisualizations())||Promise.resolve([])})),O(this,"getChart",(e=>{var t;return null===(t=this.chartList)||void 0===t?void 0:t.getChart(e)})),O(this,"getChartLabelById",((e,t)=>{var n,o;const r=null==e||null===(n=e.qChildList)||void 0===n?void 0:n.qItems.find((e=>e.qInfo.qId===t));if(!r)return"";const{visualization:i,title:a}=r.qData;if(a)return a;const l=this.getChart(i);return(null==l||null===(o=l.libraryInfo)||void 0===o?void 0:o.translation)||i})),this.model=t,this.embed=e,this.app=n;const i=n;i&&i.getUndoInfoObject&&i.getUndoInfoObject().then((e=>{this.undoRedoModel=e})).catch((()=>{})),n&&(this.masterVizList=new Ih(n)),e&&o&&(this.chartList=new Ed(e,o)),this.mutex=r}async addChild(e,t,n){if(this.model&&!xd.includes(e.visualization))try{await this.mutex.lock();const{model:o}=this,r=async()=>{e.childRefId=Ah.id();const r=await o.createChild(e);if(r){const t=await o.getProperties();t.objects.unshift({childRefId:e.childRefId,...n,condition:{qValueExpression:{qExpr:""}}}),await o.setProperties(t)}return t&&r&&await Promise.all(t.map((({qProperty:e})=>r.createChild(e)))),r};return await this.rememberAsGroup(r)}catch(e){return}finally{this.mutex.unlock()}}}class Th{constructor(e){O(this,"locked",!1),O(this,"tasks",[]),O(this,"id",void 0),O(this,"lock",(async()=>this.locked?new Promise((e=>{this.tasks.push(e)})):(this.locked=!0,!0))),O(this,"unlock",(()=>{if(this.tasks.length>0){const e=this.tasks.shift();null==e||e(!0)}else this.locked=!1})),this.id=e}}const Mh={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},Ph={index:-1,color:"none",alpha:1},Oh=e=>{let t=parseFloat(e[1]),n=parseFloat(e[3]),o=parseFloat(e[5]);return t%=360,n/=100,o/=100,t=Math.max(0,Math.min(t,360)),n=Math.max(0,Math.min(n,1)),o=Math.max(0,Math.min(o,1)),{h:t,s:n,l:o,v:o}},$h=(e,t,n,o,r=1)=>{let i,a,l,s=[];switch(n=Math.floor(n)){case 0:s=[e,t,0];break;case 1:s=[t,e,0];break;case 2:s=[0,e,t];break;case 3:s=[0,t,e];break;case 4:s=[t,0,e];break;case 5:s=[e,0,t];break;default:s=[0,0,0]}return i=s[0]+o,a=s[1]+o,l=s[2]+o,i=Math.round(255*i),a=Math.round(255*a),l=Math.round(255*l),`rgba(${i},${a},${l},${r})`},Nh=e=>{const{h:t,s:n,l:o}=Oh(e),r=e.length>7?parseFloat(e[7]):1,i=o<=.5?2*o*n:(2-2*o)*n,a=t/60,l=i*(1-Math.abs(a%2-1));return $h(i,l,a,o-.5*i,r)},Bh={resolveExpression:({colorExpression:e=""})=>{let t=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e);if(t)return`rgb(${t[1]},${t[2]},${t[3]})`;if(t=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return`rgba(${t[1]},${t[2]},${t[3]},${t[4]})`;if(t=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e),t){const e=Math.round(Number(t[1])/255*100)/100;return`rgba(${t[2]},${t[3]},${t[4]},${e})`}if(t=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e),t)return Nh(t);if(t=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return Nh(t);if(t=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e),t)return(e=>{const{h:t,s:n,v:o}=Oh(e),r=o*n,i=t/60,a=r*(1-Math.abs(i%2-1));return $h(r,a,i,o-r)})(t);if(t=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e),t)return e;if(t=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e),t)return e;const n=e&&Mh[e.toLowerCase()];if(n){const e=void 0!==n.a?n.a:1;return`rgba(${n.r},${n.g},${n.b},${e})`}return"none"},getColor({style:e,defaultColor:t,theme:n}){const o=(null==e?void 0:e.color)||Ph;let r;if(null!=e&&e.useColorExpression)r=Bh.resolveExpression(e);else if("string"==typeof o)r=o;else if(o){const e=void 0!==(null==o?void 0:o.alpha)&&(null==o?void 0:o.alpha)<1?Math.round(100*o.alpha):"";r=`${(null==n?void 0:n.getColorPickerColor(o))||""}${e}`}return r&&"none"!==r?r:t}};class jh{constructor({modifiedLayout:e,themeService:t}){var n;O(this,"modifiedLayout",void 0),O(this,"themeStyle",void 0),O(this,"style",void 0),O(this,"objectMap",void 0),O(this,"activeTabId",void 0),O(this,"theme",void 0),O(this,"getTabsWidth",(e=>{const t=this.resolveComponentStyle({compPath:"width.value",themePath:"tabWidth.value"});if(void 0===t||2!==t.length||e!==this.modifiedLayout.orientation)return{};const n=this.resolveComponentStyle({compPath:"width.unit",themePath:"tabWidth.unit",defaultValue:"%"});return{minWidth:`${t[0]}${n}`,maxWidth:`${t[1]}${n}`}})),O(this,"getTabWidth",(e=>{var t;const n=null==e?void 0:e.value,o=null!==(t=null==e?void 0:e.unit)&&void 0!==t?t:"%";if(void 0===n||2!==n.length||"left"===this.modifiedLayout.orientation)return{};return{minWidth:`${n[0]}${o}`,maxWidth:`${n[1]}${o}`}})),O(this,"getColorStyle",((e,t=e)=>{const n=this.resolveComponentStyle({compPath:e,themePath:t}),o=Bh.getColor({style:n,theme:this.theme});return null!=o?o:n})),O(this,"getTabBackgroundStyle",((e,t)=>{var n;let o;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});o=Bh.getColor({style:e,theme:this.theme})}return null!==(n=o)&&void 0!==n?n:Bh.getColor({style:t,theme:this.theme})})),O(this,"createTabClasses",(()=>{var e;return null===(e=this.modifiedLayout.objects)||void 0===e?void 0:e.reduce(((e,t)=>{var n;const o=null==t?void 0:t.childRefId,r=null==t||null===(n=t.components)||void 0===n?void 0:n.find((e=>"tab"===e.key));return e[`#tab-${this.modifiedLayout.qInfo.qId}-${o}`]={textAlign:hp(r,"label.alignment"),backgroundColor:this.getTabBackgroundStyle(o,null==r?void 0:r.background),...this.getTabWidth(null==r?void 0:r.width)},e[`#tab-${this.modifiedLayout.qInfo.qId}-${o}:hover`]={..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","background.hover.color")}},e[`#tab-label-${this.modifiedLayout.qInfo.qId}-${o}`]={fontSize:hp(r,"label.fontSize"),fontFamily:hp(r,"label.fontFamily"),color:Bh.getColor({style:hp(r,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${o} svg`]={height:hp(r,"icon.size"),color:Bh.getColor({style:hp(r,"icon.color"),theme:this.theme})},e}),{})})),O(this,"createTabsClasses",(()=>({[xh.TABS_LABEL]:{fontSize:this.resolveComponentStyle({compPath:"label.fontSize",themePath:"label.value.fontSize"}),fontFamily:this.resolveComponentStyle({compPath:"label.fontFamily",themePath:"label.value.fontFamily"}),color:this.resolveComponentStyle({compPath:"label.color.color",themePath:"label.value.color"})},[xh.TABS_ICON]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value.color")},[xh.TABS]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[xh.TABS_HOVER]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[xh.TABS_WRAPPER]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[xh.TAB_INDICATOR]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected.color")}}))),O(this,"createStyleClasses",(()=>({...this.createTabsClasses(),...this.createTabClasses()}))),O(this,"resolveComponentStyle",(({key:e="tabs",compPath:t,themePath:n=t,defaultValue:o})=>{var r,i,a;const l=null===(r=this.modifiedLayout.components)||void 0===r?void 0:r.find((t=>t.key===e));return null!==(i=null!==(a=hp(l,t))&&void 0!==a?a:hp(this.themeStyle,n))&&void 0!==i?i:o})),this.modifiedLayout=e;const{cachedTabId:o,defaultTabId:r,objects:i}=this.modifiedLayout;this.activeTabId=o||r||(null===(n=i[0])||void 0===n?void 0:n.childRefId)||"",this.themeStyle=t.getStyles(),this.theme=t.getTheme(),this.objectMap=Vd(this.modifiedLayout),this.style=this.createStyleClasses()}getStyleClasses(){return this.style}getTabStyle(e){var t;return null===(t=this.objectMap[e].components)||void 0===t?void 0:t.find((e=>"tab"===e.key))}}const Dh=e=>{const{sense:n}=e.anything,r=l(),i=s(),m=c(),b=d(),g=u(),v=p(),y=t(),x=h(),E=f(),S=function(e){var t=e.theme,n=e.config,o=void 0===n?{}:n,r=o.id,i=o.resolve,a=void 0===i?[]:i,l=o.transform,s=void 0===l?[]:l,c=o.extend,d=void 0===c?[]:c,u={theme:t,matrix:_p(a),styles:void 0};return u.styles=Mp({theme:t,id:r,transform:s,extend:d,matrix:u.matrix}),{getStyles:function(){return u.styles},getTheme:function(){return u.theme},setTheme:function(e){u.theme=e,u.styles=Mp({theme:e,id:r,transform:s,extend:d,matrix:u.matrix})}}}({theme:null==n?void 0:n.theme,config:{id:"tabbedContainer",resolve:[["object.tabbedContainer","indicator.selected","color"],["object.tabbedContainer","indicator.hover","color"],["object.tabbedContainer","background.hover","color"],["object.tabbedContainer","icon.value","color"],["object.tabbedContainer","icon.value","fontSize"]]}}),C=a((()=>new Ed(b,v)),[b,v]),[w]=o(new Th(g.id)),[R,A]=o(!1),k=a((()=>b&&g&&i?new _h({embed:b,model:g,app:i,translator:v,mutex:w}):void 0),[b,g,i,v,w]),I=a((()=>Yd(m)),[m]),L=a((()=>new jh({modifiedLayout:I,themeService:S})),[I,S]);return a((()=>({app:i,modifiedLayout:I,embed:b,model:g,emitter:x,interactions:E,dataHandler:k,chartList:C,styleModel:L,mutex:w,options:y,accessibility:R,setAccessibility:A,translator:v,element:r})),[I,b,g,i,x,E,k,C,L,w,y,R,v,r])},zh=({dataHandler:e,modifiedLayout:t,translator:n,sharedContainerUtilities:o,Icon:r})=>{const[i,a]=R(void 0);if(!e||!t)return null;const l=!t.qExtendsId;return E.createElement(Ld,null,E.createElement(Id,null,E.createElement(r,null),l?E.createElement(E.Fragment,null,E.createElement(Od,{sx:{width:250,height:32,fontFamily:"inherit"},className:"init-button",variant:i?"contained":"outlined",onClick:e=>{a(e.currentTarget)},"aria-label":n.get("LayoutContainer.EmptyList.AddContent"),disableRipple:!0},n.get("LayoutContainer.EmptyList.AddContent")),E.createElement(Dd,{translator:n,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:o})):E.createElement($a,{variant:"inherit"},n.get("LayoutContainer.EmptyList.EmptyHint"))))};class Fh{constructor(e){O(this,"_rendered",new Set),O(this,"_objectMap",{}),O(this,"_resolver",void 0),O(this,"_dependencyData",void 0),O(this,"_recreateMap",new Map),O(this,"createTimerForRendering",(()=>{if(!this.resolver){let e;const t=setTimeout((()=>{this.doResolve()}),9e4),n=new Promise((t=>{e=t}));this._resolver={promise:n,resolve:e,timer:t}}return this._resolver})),O(this,"doResolve",(()=>{var e,t,n;this.resolver&&(clearTimeout(null===(e=this.resolver)||void 0===e?void 0:e.timer),null===(t=(n=this.resolver).resolve)||void 0===t||t.call(n,!0),this._resolver=void 0)})),O(this,"tryToResolve",(()=>{const{visibleLayoutObjects:e}=this._dependencyData;if(this.resolver){(0===e.length||e.every((e=>this.rendered.has(e.id))))&&this.doResolve()}})),this._dependencyData=e}set dependencyData(e){this._dependencyData=e}get rendered(){return this._rendered}get objectMap(){return this._objectMap}get resolver(){return this._resolver}get recreateMap(){return this._recreateMap}syncObjects(e){const t={},n=new Set,o=this.objectMap;let r=!1;e.forEach((e=>{o[e.id]?t[e.id]=o[e.id]:r=!0,this.rendered.has(e.id)&&n.add(e.id)}));let i=!1;return Object.entries(o).forEach((([e,n])=>{var o;t[e]||(this.confirmPotentialSelections(n),null===(o=n.destroy)||void 0===o||o.call(n),i=!0)})),this._objectMap=t,i&&(this._rendered=n,this.tryToResolve()),r}destroy(){const e=this.objectMap;Object.values(e).forEach((e=>{var t;null===(t=e.destroy)||void 0===t||t.call(e)})),this._objectMap={}}saveObject(e,t,n){const o=this.objectMap[e];var r;null!=o&&o.destroy?n?(null===(r=o.destroy)||void 0===r||r.call(o),this.objectMap[e]=t):(this.objectMap[e]=t,this.objectMap[e].destroy=o.destroy):this.objectMap[e]=t}onRendered(e){this.rendered.add(e),this.tryToResolve()}getChildrenObjects(){const{visibleLayoutObjects:e}=this._dependencyData,t=[];return e.forEach((e=>{this.objectMap[e.id]&&t.push(this.objectMap[e.id])})),t}getChildLayout(e){const{modifiedLayout:t}=this._dependencyData;return t.qChildList.qItems.find((t=>t.qInfo.qId===e))}getObjectOptions(e){var t,n;const{viewState:o,modifiedLayout:r,options:i}=this._dependencyData,{chartAnimations:a,direction:l,progressiveRendering:s,freeResize:c,navigation:d}=i;return{isReadonly:!1,setController:t=>{this.saveObject(e,t)},onRendered:()=>{this.onRendered(e)},onInitialRender:()=>{this.onRendered(e)},isParentMaster:!(null==r||!r.qExtendsId),isSnapshot:!!r.snapshotData,...!(null==o||null===(t=o.viewStates)||void 0===t||!t[e])&&{viewState:null==o?void 0:o.viewStates[e]},...!(null==o||null===(n=o.layouts)||void 0===n||!n[e])&&{layout:o.layouts[e]},direction:l,chartAnimations:a,progressiveRendering:s,freeResize:c,navigation:d,disableThemeBorder:!1}}confirmPotentialSelections(e){e&&"selectionsApi"in e&&e.selectionsApi.active&&e.selectionsApi.confirm()}}const Gh=()=>E.createElement($d,{viewBox:"0 0 16 16"},E.createElement("path",{d:"M15 6V5H5V2H1.5a.5.5 0 0 0-.5.5V6H0V2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4h-1Zm-5-4H6v2h4V2Zm4.5 0H11v2h4V2.5a.5.5 0 0 0-.5-.5Zm1.5 9h-1V8h1v3Zm0 3a1 1 0 0 1-1 1h-1v-1h.6a.4.4 0 0 0 .4-.4V13h1v1Zm-7 1v-1h3v1H9Zm-5 0v-1h3v1H4Zm-3 0a1 1 0 0 1-1-1v-1h1v.6c0 .22.18.4.4.4H2v1H1ZM0 8h1v3H0V8Zm4-.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4ZM5 11h6V8H5v3Z"})),Hh=({libraryInfo:e,style:t,id:n})=>E.createElement("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:yh.TABS_ICON},E.createElement(e.IconDefinition,null)),Yh=({style:e,id:t})=>E.createElement("div",{style:e,"data-testid":"tab-hidden-icon",id:t},E.createElement(Nd,{viewBox:"0 0 16 16"},E.createElement("path",{d:"m13.441.795.764.646-1.839 2.174c.568.434 1.076.914 1.522 1.385a13.79 13.79 0 0 1 2.109 3 13.798 13.798 0 0 1-2.108 3c-1.382 1.457-3.345 3-5.89 3-1.34 0-2.52-.428-3.536-1.045l-1.904 2.25-.764-.646L13.441.795ZM11.72 4.379l-1.427 1.686a3 3 0 0 1-3.82 4.516l-1.354 1.6c.86.497 1.819.819 2.88.819 2.121 0 3.834-1.287 5.161-2.685A12.666 12.666 0 0 0 14.857 8a12.691 12.691 0 0 0-1.697-2.315c-.35-.37-.727-.73-1.132-1.063l-.308-.243ZM8 2a6.428 6.428 0 0 1 2.242.412l.305.123-.681.805A5.359 5.359 0 0 0 8 3C5.877 3 4.164 4.287 2.837 5.685A12.664 12.664 0 0 0 1.14 8a12.66 12.66 0 0 0 1.697 2.315l.301.308.311.299-.646.765A14.567 14.567 0 0 1 2.109 11 13.791 13.791 0 0 1 0 8a13.801 13.801 0 0 1 2.109-3C3.49 3.543 5.454 2 8 2Zm1.633 4.845-2.5 2.956a1.999 1.999 0 0 0 2.5-2.956Zm-3.917-.793a3 3 0 0 1 2.692-1.025l.202.035-.809.948A2 2 0 0 0 6 7.967l.003.152-.808.947a3 3 0 0 1 .521-3.014Z"}))),Wh=()=>E.createElement(Nd,{viewBox:"0 0 16 16"},E.createElement("path",{d:"M12 4H6V3h6v1ZM6 8.5h4v-1H6v1Zm9 4.5H6v-1h9v1ZM3 11a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h1Zm0 1H2v1h1v-1Zm0-5.5a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h1Zm0 1H2v1h1v-1ZM3 2a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h1Zm0 1H2v1h1V3Z"})),Vh=Ri(Lc)({width:28,overflow:"hidden"}),Uh=Ri(Lc)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),qh=({chartObject:e,embed:t,renderHelper:n,direction:o,accessibility:r,interactions:i,env:a})=>{const l=k(),{id:s}=e;A((()=>{if(s&&l.current){const e=n.getObjectOptions(s)||{};e.disableThemeBorder=!0,t.render({id:s,element:l.current,options:e}).then((e=>{const t=!!n.objectMap[s];n.saveObject(s,e,t)})).catch((e=>{var t;const o=null===(t=n.getChildLayout(s))||void 0===t||null===(t=t.qInfo)||void 0===t?void 0:t.qType;console.error("Could not render chart with id",s,o,e)}))}}),[s,t,n,o]);const c=I((()=>()=>{if(null!=e&&e.id&&a.anything){const t=null==e?void 0:e.label,{sense:o}=a.anything,r="current",i=n.objectMap[e.id];o.propertyPanel.show({model:i.model,parent:r,headerLabel:t,keepCurrentActiveCell:!0})}}),[a,e,n]);return A((()=>{const e=null==l?void 0:l.current;return e&&null!=i&&i.edit&&e.addEventListener("dblclick",c),()=>{null==e||e.removeEventListener("dblclick",c)}}),[l,c,i]),E.createElement(Cl,{className:yh.ACTIVE_TAB_PANEL,"aria-label":e.label,tabIndex:r?0:-1,height:"100%",width:"100%",sx:{direction:"ltr",padding:"2px",boxSizing:"border-box","&:focus-visible":{boxShadow:"inset 0 0 0 2px #0275D9",borderRadius:"3px",zIndex:1200},flex:"1 0 0"}},E.createElement(Cl,{ref:l,sx:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`}))};var Kh;!function(e){e.TABS_HEIGHT="36px"}(Kh||(Kh={}));const Xh=(e,t)=>e.find((e=>e.childRefId===t)),Qh=(e,t)=>!t.edit&&0===e.condition,Zh=({charts:e,handleChangeTab:t,activeTabId:n,element:o,translator:r,accessibility:i,disabled:a})=>{const[l,s]=E.useState(null),c=Boolean(l),d=()=>{s(null)},u=L((e=>{null==e||e.focus()}),[]);return E.createElement(E.Fragment,null,E.createElement(Ol,{onClick:e=>{s(e.currentTarget)},disabled:a,"aria-haspopup":"menu","data-testid":"chartTabMenuDropdownButton",tabIndex:i?0:-1,"aria-label":r.get("Container.Label.Visualizations"),className:yh.TAB_MENU,sx:{m:"2px"}},E.createElement(Wh,null)),E.createElement(lc,{anchorEl:l,open:c,onClose:d,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},MenuListProps:{sx:{py:0}},slotProps:{paper:{sx:{maxHeight:"500px",maxWidth:"500px"}}}},e.map((e=>E.createElement(pc,{className:yh.TAB_MENU_ITEM,ref:n===e.childRefId&&c?u:null,key:`chartTabMenu-${e.childRefId}`,onClick:()=>(e=>{t(e.childRefId),d(),window.setTimeout((()=>{var e;return null===(e=o.getElementsByClassName(yh.ACTIVE_TAB_PANEL))||void 0===e||null===(e=e[0])||void 0===e?void 0:e.focus()}),0)})(e),sx:{...n===e.childRefId?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{}},"aria-label":e.label,title:e.label},E.createElement($a,{variant:"inherit",noWrap:!0},e.label))))))},Jh=({label:e,id:t})=>E.createElement(Cl,{className:yh.TAB_LABEL,id:`tab-label-${t}`,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",overflow:"hidden",flexWrap:"wrap"}},E.createElement("span",{style:{width:"100%",overflowWrap:"break-word",hyphens:"auto",fontWeight:"bold",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",lineHeight:"normal",overflow:"hidden"}},e)),ef=({libraryInfo:e,chart:t,iconPosition:n,id:o})=>{let r;switch(n){case"bottom":r={marginTop:"6px"};break;case"top":r={marginBottom:"6px"};break;case"end":r={marginInlineStart:"8px"};break;default:r={marginInlineEnd:"8px"}}r.display="flex",r.alignItems="center",r.height="100%",r.flex="1 0 0";return 0===t.condition?E.createElement(Yh,{id:`${yh.TABS_ICON}-${o}`,style:r}):e?E.createElement(Hh,{id:`${yh.TABS_ICON}-${o}`,libraryInfo:e,style:r}):null},tf=({models:e,activeTabId:t,handleChangeTab:n})=>{const{modifiedLayout:o,chartList:r,interactions:i,accessibility:a}=e,l=null==r?void 0:r.getCharts(),s=o.objects.filter((e=>!Qh(e,i))),{orientation:c,tabContainerStyle:d,ScrollButtonComponent:u}=(({orientation:e})=>"left"===e?{orientation:"vertical",tabContainerStyle:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"25%",flexShrink:0},ScrollButtonComponent:Uh}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:Vh})(o),p=!1===i.active&&!i.edit,[h,f]=R(!1),m=L((e=>{if(e){const t=e.getElementsByClassName("MuiTabs-flexContainer")[0];if(t)return void f("vertical"===c?t.scrollHeight>t.offsetHeight:t.scrollWidth>t.offsetWidth)}f(!1)}),[c]);return E.createElement(Cl,{className:yh.TAB_WRAPPER,sx:d,ref:e=>m(e)},o.useDropdown&&h&&E.createElement(Zh,{charts:s,handleChangeTab:n,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}),E.createElement(Yc,{value:t,onChange:(e,t)=>{n(t)},ScrollButtonComponent:u,variant:"scrollable",orientation:c,scrollButtons:!!o.useScrollButton&&"auto",TabScrollButtonProps:{...p&&{disabled:!0}},sx:{height:"100%",width:"100%",minHeight:Kh.TABS_HEIGHT}},s.map((n=>{var r,i,s,d,u;const h=null===(r=Hd(o,n.childRefId))||void 0===r||null===(r=r.qData)||void 0===r?void 0:r.visualization,f=h&&(null==l||null===(i=l[h])||void 0===i?void 0:i.libraryInfo),m=e.styleModel.getTabStyle(n.childRefId),b=0===n.condition||o.showIcons&&f&&!1!==(null==m||null===(s=m.icon)||void 0===s?void 0:s.show),g="vertical"===c?"top":"start",v=e.styleModel.resolveComponentStyle({compPath:"icon.position",defaultValue:g}),y=e.styleModel.resolveComponentStyle({compPath:"label.show"}),x=n.label&&(null!==(d=null==m||null===(u=m.label)||void 0===u?void 0:u.show)&&void 0!==d?d:!1!==y),S=`${o.qInfo.qId}-${n.childRefId}`;return E.createElement(vc,{className:`${yh.TAB} ${t===n.childRefId?yh.ACTIVE_TAB:""}`,disabled:p,id:`tab-${S}`,value:n.childRefId,title:n.label,label:x?E.createElement(Jh,{label:n.label,id:S}):void 0,icon:b?E.createElement(ef,{libraryInfo:f,chart:n,iconPosition:v,id:S}):"",iconPosition:v,key:n.childRefId,"data-testid":`container-tab-${n.childRefId}`,sx:{textAlign:"vertical"!==c||o.showIcons?"center":"start",minWidth:"vertical"===c?"100%":void 0,minHeight:Kh.TABS_HEIGHT,padding:"6px 16px","&:hover":{paddingBottom:"4px"},"&.Mui-disabled":{opacity:"inherit"}},"aria-label":n.label,"aria-controls":`tab-panel-${S}`,tabIndex:a&&t===n.childRefId?0:-1})}))))},nf=({models:e,renderHelper:t,activeTabId:n,handleChangeTab:o,env:r})=>{const{modifiedLayout:i,embed:a,interactions:l,options:s,styleModel:c,accessibility:d}=e,u=i.objects,p=l.edit||!!u.find((e=>0!==e.condition)),h=i.showTabs&&p,f="left"===i.orientation?"row":"column",m=c.getStyleClasses();return E.createElement(Cl,{sx:{display:"flex",flexDirection:f,height:"100%",width:"100%",direction:s.direction,...m}},h&&E.createElement(tf,{models:e,activeTabId:n,handleChangeTab:o}),u.map((e=>{const o=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,c=n===e.childRefId&&!Qh(e,l);return E.createElement("div",{role:"tabpanel",id:o,key:o,hidden:!c,style:{height:"100%",width:"100%"}},c&&E.createElement(qh,{chartObject:e,renderHelper:t,direction:s.direction,embed:a,accessibility:d,interactions:l,env:r}))})))};let of=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),rf=function(e){return e.COPY="copy",e.PASTE="paste-and-replace",e.DUPLICATE="duplicate",e.DELETE="delete",e.CUT="cut",e.EDIT_PROPERTIES="edit",e.ZOOM_IN="zoom-in",e.VISUAL_EXPLORATION="visual-exploration",e.MONITOR_IN_HUB="addto",e.TAKE_SNAP_SHOT="take-snapshot",e.SNAP_SHOT_GROUP="snapshotGroup",e.REORDER_LAYERS_GROUP="reorder-layers-group",e.BRING_TO_FRONT="bring-to-front",e.BRING_FORWARD="bring-forward",e.SEND_TO_BACK="send-to-back",e.SEND_BACKWARDS="send-backwards",e.CONTAINER_HEADER="container-header",e.CHART_HEADER="chart-header",e.ALERT_GROUP="alertGroup",e.ADD_TO_MASTER_ITEMS="add-to-master-items",e.UNLINK_VISUALIZATION="unlink",e.DEVELOPER="object-developer",e.SHOW_DETAILS="object-info",e.EXPLAIN_KEY_DRIVERS="explainKeyDrivers",e.SUBSCRIBE="subscribe",e.NOTES_GROUP="notesGroup",e.DOWNLOAD="download",e.SHARE_IMAGE="share",e}({});const af=[rf.PASTE,rf.ZOOM_IN,rf.VISUAL_EXPLORATION],lf=[rf.VISUAL_EXPLORATION,rf.ALERT_GROUP,rf.SHOW_DETAILS,rf.EXPLAIN_KEY_DRIVERS],sf=[rf.DELETE,rf.CUT,rf.ADD_TO_MASTER_ITEMS,rf.UNLINK_VISUALIZATION],cf=[rf.PASTE],df=(e,t)=>{const{childRefId:n}=e.model.layout,o=t.objects.find((e=>e.childRefId===n));return{...e,additionalData:{label:null==o?void 0:o.label}}},uf=(e,t,n,o,r)=>{const i=t.getSupportFunction(rf.COPY);if(!i)return void e.deleteItem(rf.COPY);const a=()=>{i(df(n,o)).catch((()=>{}))},l=e.items.find((e=>e.id===rf.COPY));if(l)l.updateItem({select:a});else if(r){const t=e.items.findIndex((e=>e.id===rf.CUT)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:rf.COPY,id:rf.COPY,icon:"copy",select:a,items:[]},n)}},pf=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,hf=async(e,t,n,o)=>{const r=t.getBuilder("default");if(!r)return;const i=await r();i.addItem({translation:"contextMenu.containerOptionsHeader",tid:rf.CONTAINER_HEADER,id:rf.CONTAINER_HEADER,bold:!0,items:[]},0);const a=pf(n);i.items.forEach((e=>{(lf.includes(e.id)||!a&&cf.includes(e.id))&&i.deleteItem(e.id)})),a&&await(async(e,t,n)=>{var o;const r=t.getSupportFunction(of.PASTE),i=await(null==r||null===(o=r())||void 0===o?void 0:o.catch((()=>{})));if(!i||xd.includes(i.template))return void e.deleteItem(rf.PASTE);const a=()=>{n()},l=e.items.find((e=>e.id===rf.PASTE));if(l)l.updateItem({translation:"contextMenu.paste",select:a});else{const t=e.items.findLastIndex((e=>e.id===rf.COPY||e.id===rf.DEVELOPER||e.id===rf.CONTAINER_HEADER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:rf.PASTE,id:rf.PASTE,icon:"paste",select:a,items:[]},n)}})(i,t,o),e.updateItem({items:i.items}),1===e.items.length&&e.deleteItem(rf.CONTAINER_HEADER)},ff=e=>{const t={[rf.MONITOR_IN_HUB]:!0,[rf.SUBSCRIBE]:!0,[rf.NOTES_GROUP]:!0,[rf.DOWNLOAD]:!0,[rf.SHARE_IMAGE]:!0};e.items.forEach((n=>{t[n.id]?e.deleteItem(n.id):n.items&&ff(n)}))},mf=(e,t,n,o,r,i)=>a=>{const{dataHandler:l,modifiedLayout:s}=o;if(pf(o)){n.isInvalid||(((e,t,n,o)=>{const{model:r,modifiedLayout:i}=n,a=e.items.findLastIndex((e=>e.id===rf.CHART_HEADER||e.id===rf.REORDER_LAYERS_GROUP)),l=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:rf.EDIT_PROPERTIES,id:rf.EDIT_PROPERTIES,icon:rf.EDIT_PROPERTIES,items:[],select:()=>{const{childRefId:e}=t.model.layout,n=i.objects.find((t=>t.childRefId===e)),a=null==n?void 0:n.label,{sense:l}=o.anything,s=r;l.propertyPanel.show({model:t.model,parent:s,headerLabel:a})}},l)})(a,n,o,r),((e,t,n,o,r,i)=>{const a=o.getSupportFunction(rf.COPY);if(!a)return void e.deleteItem(rf.CUT);const l=()=>{r&&a(df(n,i)).then((async()=>{await(null==r?void 0:r.deleteChildren([t]))})).catch((()=>{}))},s=e.items.find((e=>e.id===rf.CUT));if(s)s.updateItem({select:l});else{const t=e.items.findLastIndex((e=>e.id===rf.ADD_TO_MASTER_ITEMS||e.id===rf.UNLINK_VISUALIZATION||e.id===rf.EDIT_PROPERTIES||e.id===rf.REORDER_LAYERS_GROUP||e.id===rf.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:rf.CUT,id:rf.CUT,icon:"cut",select:l,items:[]},n)}})(a,t,n,e,l,s),uf(a,e,n,s,!0),((e,t,n,o,r)=>{const i=t.getSupportFunction(of.COPY),a=t.getSupportFunction(of.PASTE);if(!i||!a)return void e.deleteItem(rf.DUPLICATE);const l=()=>{i(df(n,o)).then((()=>{r()})).catch((()=>{}))},s=e.items.find((e=>e.id===rf.DUPLICATE));if(s)s.updateItem({select:l});else{const t=e.items.findIndex((e=>e.id===rf.COPY)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:rf.DUPLICATE,id:rf.DUPLICATE,icon:rf.DUPLICATE,items:[],select:l},n)}})(a,e,n,s,i)),((e,t,n)=>{const o=()=>{n&&(null==n||n.deleteChildren([t]).catch((()=>{})))},r=e.items.find((e=>e.id===rf.DELETE));if(r)r.updateItem({select:o});else{const t=e.items.findLastIndex((e=>e.id===rf.DUPLICATE||e.id===rf.ADD_TO_MASTER_ITEMS||e.id===rf.UNLINK_VISUALIZATION||e.id===rf.REORDER_LAYERS_GROUP||e.id===rf.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:rf.DELETE,id:rf.DELETE,icon:"bin",items:[],select:o},n)}})(a,t,l)}else uf(a,e,n,s,!1)},bf=(e,t,n,o)=>{b((async(r,i,a)=>{var l;if(!a)return!1;const s=((e,t)=>()=>{if(!e)return;const n=t.getSupportFunction(of.PASTE);n&&n().then((async({template:t,init:n,children:o,additionalData:r})=>{const{label:i}=r,a={label:i};n.qExtendsId?await e.addMasterObjectAsChild({initProps:n,children:o,objectInitProps:a}):await e.addVizAsChild({type:t,initProps:n,children:o,objectInitProps:a})})).catch((e=>{e&&t.getSupportFunction(of.RESET_COPY_BUFFER)}))})(n.dataHandler,a);if(await hf(r,a,n,s),ff(r),!(e=>{var t;let n;n="qv-radial-contextmenu"===e.type?null===(t=e.touches[0])||void 0===t?void 0:t.target:e.target;return n&&((e,t)=>{let n=e;for(;n;){var o;if(null!==(o=n.classList)&&void 0!==o&&o.contains(t))return n;n=n.parentNode}return null})(n,yh.ACTIVE_TAB_PANEL)})(i))return!0;const c=null===(l=n.modifiedLayout.objects.find((t=>t.childRefId===e)))||void 0===l?void 0:l.id;if(!c)return!0;const d=t.objectMap[c];if(!d)return!0;const u=mf(a,e,d,n,o,s),p=await(async(e,t,n,o)=>{const r=pf(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:rf.CHART_HEADER,id:rf.CHART_HEADER,bold:!0,items:[]},0),o(a),a.items.forEach((e=>{(af.includes(e.id)||!r&&sf.includes(e.id))&&a.deleteItem(e.id)})),1===a.items.length&&a.deleteItem(rf.CHART_HEADER),a})(a,d,n,u);return!p||(r.items.length>0&&p.addItem({translation:"contextMenu.subMenuContainerOptions",tid:"tabbed-container-menu",id:"tabbed-container-menu",icon:"tabbed-container",items:[...r.items]},p.items.length),r.updateItem({items:p.items}),!0)}))},gf=({element:e,models:r,env:i})=>{var l;const s=((e,t)=>{const[r,i]=o(void 0);return n((()=>{if(0===e.getElementsByClassName(t).length){const n=document.createElement("div");n.className=t,e.appendChild(n);const o=Sd(n);i(o)}}),[e,t]),r})(e,"init-component"),{options:c,modifiedLayout:d,interactions:u,model:p}=r,{cachedTabId:h,defaultTabId:f,objects:b,qChildList:g}=d,v=vd(c.direction),y=(e=>{const{viewState:n}=t(),{snapshotData:o}=e;if(o){var r;const{layouts:e}=o.objectsData;return{layouts:e,viewStates:null===(r=o.viewState)||void 0===r?void 0:r.viewStates}}if(n){const{viewStates:e}=n;return{viewStates:e}}})(d),x=h||f||(null===(l=b[0])||void 0===l?void 0:l.childRefId)||"",S={modifiedLayout:d,activeTabId:x,env:i},[C,w]=wh(S);w(S);const R=a((()=>d.objects.filter((e=>x===e.childRefId))),[x,d.objects]),{renderHelper:A}=(e=>{const{visibleLayoutObjects:t,options:r}=e,[i]=o(new Fh(e)),[,a]=o(r);return i.dependencyData=e,m((async()=>{var e,n;return a((e=>(e!==r&&t.forEach((e=>i.recreateMap.set(e.id,!0))),r))),i.syncObjects(t)?null===(n=i.createTimerForRendering())||void 0===n?void 0:n.promise:null===(e=i.resolver)||void 0===e?void 0:e.promise}),[t,r]),n((()=>()=>{i.destroy()}),[i]),{renderHelper:i}})({modifiedLayout:d,visibleLayoutObjects:R,viewState:y,options:c});bf(x,A,r,i);const[k]=o({current:void 0}),I=a((()=>e=>{(async({model:e,patchList:t})=>{if(null!=e&&e.applyPatches){const n=await e.getEffectiveProperties(),o=[];t.forEach((e=>{const{newValue:t,propertyName:r}=e,i=void 0!==n[r]?"Replace":"Add";t?o.push({qPath:`/${r}`,qOp:i,qValue:t&&JSON.stringify(t)}):"Replace"===i&&o.push({qPath:`/${r}`,qOp:"Remove"})})),o.length>0&&await e.applyPatches(o,!0)}})({model:p,patchList:[{newValue:e,propertyName:"cachedTabId"}]})}),[p]),L=a((()=>({setSelected:e=>{var t;const n=null===(t=C.modifiedLayout.objects.find((t=>t.id===e[0])))||void 0===t?void 0:t.childRefId;n?I(n):k.current=e[0]}})),[I,C,k]);n((()=>{const e=(({chartObjects:e,activeTabId:t})=>{var n;return!Xh(e,t)&&e.length>0?null===(n=e[0])||void 0===n?void 0:n.childRefId:t})({chartObjects:C.modifiedLayout.objects,activeTabId:C.activeTabId});if(e!==C.activeTabId)I(e);else if(k.current){var t;const e=null===(t=C.modifiedLayout.objects.find((e=>e.id===k.current)))||void 0===t?void 0:t.childRefId;e&&I(e)}k.current=void 0}),[null==d?void 0:d.objects.length,C,k,I]),n((()=>{const e=(({chartObjects:e,activeTabId:t,interactions:n})=>{const o=Xh(e,t);if(!o||Qh(o,n)){const n=e.find((e=>0!==e.condition));return(null==n?void 0:n.childRefId)||t}return t})({chartObjects:C.modifiedLayout.objects,activeTabId:C.activeTabId,interactions:u});e!==C.activeTabId&&I(e)}),[u,null==d?void 0:d.objects,C,I]);const _=0===g.qItems.length&&u.edit;return n((()=>{null==s||s.render(E.createElement(ki,{theme:v},_&&E.createElement(zh,{Icon:Gh,dataHandler:r.dataHandler,modifiedLayout:r.modifiedLayout,translator:r.translator,sharedContainerUtilities:L}),!_&&E.createElement(nf,{models:r,renderHelper:A,activeTabId:x,handleChangeTab:I,env:i})))}),[s,r,v,_,A,x,L,I,i]),{renderHelper:A,sharedContainerUtilities:L,activeTabId:x}};var vf={targets:[]};const yf={showTitles:!0,title:"",subtitle:"",footnote:"",disableNavMenu:!0,showDetails:!1,objects:[],qChildListDef:{qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}},showTabs:!0,useScrollButton:!0,useDropdown:!1,showIcons:!1,components:[],defaultTabId:"",orientation:"top",fontsUsed:[]};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===n&&o.firstChild?o.insertBefore(r,o.firstChild):o.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}(".init-component {\n height: 100%;\n overflow: hidden;\n}\n");const xf=e=>e.map((e=>{if(e.canReceive){const t=e=>"libraryitem"===e.type&&("field"===e.item.type||"measure"===e.item.type||"dimension"===e.item.type);return{...e,canReceive:n=>t(n)&&e.canReceive(n)}}return e})),Ef=(e,t)=>{let n=!0;const o=t.objects.reduce(((t,o)=>{const r=o.id;return 0!==o.condition?(e[r]&&(e=>e.supportExport())(e[r])&&(n=!1,t.objectMap[r]=e[r]),t.objects.push(o),t):t}),{objects:[],objectMap:{}});return n?{objects:[],objectMap:{}}:o}}}}));
|
|
89
|
+
e.exports=function(e,t){if(!e||isNaN(+t))return t;var r,n,o,i,a,l,s,c,d,u,p=e.length,h=e.search(/[0-9\-\+#]/),f=h>0?e.substring(0,h):"",m=e.split("").reverse().join(""),b=m.search(/[0-9\-\+#]/),g=p-b,v=e.substring(g,g+1),y=g+("."===v||","===v?1:0),x=b>0?e.substring(y,p):"";if(r=(t="-"===(e=e.substring(h,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(n=e.match(/[^\d\-\+#]/g))&&n[n.length-1]||".",i=n&&n[1]&&n[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(c=t.split("."))[1]||c[1]&&c[1].length<=l)&&(t=(+t).toFixed(l+1)),d=e[0].split(i),e[0]=d.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;c[0].length<e[0].length-a;)c[0]="0"+c[0];else 0==+c[0]&&(c[0]="");if((t=t.split("."))[0]=c[0],s=d[1]&&d[d.length-1].length){for(m="",g=(u=t[0]).length%s,p=u.length,y=0;y<p;y++)m+=u.charAt(y),!((y-g+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(n=t.join(""))&&""!==n||(r=!1),f+(r?"-":"")+n+x}},Bp({exports:{}});var qp="'Source Sans Pro', 'Arial', 'sans-serif'",Kp="#333333",Xp="#595959",Qp="#737373",Zp="#cccccc",Jp="#e6e6e6";function eh(e){var t={};return[].concat(Ru(e),Ru([["","","color"],["object","","fontFamily"],["object","axis.label.name","color",Xp],["object","axis.label.name","fontFamily",qp],["object","axis.label.name","fontSize","12px"],["object","axis.line.major","color",Zp],["object","axis.line.minor","color",Jp],["object","axis.title","color"],["object","axis.title","fontFamily",qp],["object","axis.title","fontSize","13px"],["object","grid.line.highContrast","color",Jp],["object","grid.line.major","color",Zp],["object","grid.line.minor","color",Jp],["object","label.value","color",Xp],["object","label.value","fontFamily",qp],["object","label.value","fontSize","12px"],[!1,"label.value","darkColor",Xp],[!1,"label.value","lightColor",Jp],["object","outOfRange","color","#999"],["object","legend.title","color",Kp],["object","legend.title","fontFamily",qp],["object","legend.title","fontSize","15px"],["object","legend.label","color",Xp],["object","legend.label","fontFamily",qp],["object","legend.label","fontSize","13px"],["object","referenceLine.label.name","color",Kp],["object","referenceLine.label.name","fontFamily",qp],["object","referenceLine.label.name","fontSize","12px"],["object","referenceLine.outOfBounds","color",Jp],["object","referenceLine.outOfBounds","fontFamily",qp],["object","referenceLine.outOfBounds","fontSize","12px"],["object","referenceLine.outOfBounds","backgroundColor",Qp,function(e){return"transparent"===e?Qp:e}]])).reduce((function(e,r){var n="".concat(r[0],"-").concat(r[1],"-").concat(r[2],"}");return t[n]||(t[n]=!0,e.push(r)),e}),[]).sort((function(e,t){return(e[0].split?e[0].split(".").length:0)-(t[0].split?t[0].split(".").length:0)}))}var th=function(e){return e};function rh(e){var t=e.theme,r=e.id,n=e.transform,o=e.extend,i=e.matrix,a={},l=n.reduce((function(e,t){var r=wu(t,2),n=r[0],o=r[1];return e[n]=o,e}),{});return i.forEach((function(e){var n=wu(e,5),o=n[0],i=n[1],s=n[2],c=n[3],d=n[4],u=void 0===d?function(e){return e}:d,p=function(e){var t=e.theme,r=e.base,n=e.path,o=e.attribute,i=e.defaultValue,a=void 0===i?void 0:i;if(!t||!1===r)return a;var l=t.getStyle(r,n,o);return void 0===l?a:l}({theme:t,base:"object"===o&&r?"".concat("object",".").concat(r):o,path:i,attribute:s,defaultValue:c}),h=(l["".concat(i,".").concat(s)]||th)(u(p));Dp(a,[i,s].filter(Boolean).join("."),h)})),o.forEach((function(e){var t=wu(e,2),r=t[0],n=t[1];Dp(a,r,n)})),a}const nh={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}};function oh(e){if(!e.objects)return{};const t=xu(e);return{container_id:e.qInfo.qId,objects:e.qChildList.qItems.map((r=>{var n;return{chart_type:r.qData.visualization,chart_id:r.qInfo.qId,chart_isMaster:!!r.qData.qExtendsId,tab_isVisible:0!==(null===(n=t[r.qData.childRefId])||void 0===n?void 0:n.condition),tab_isActive:r.qData.childRefId===e.cachedTabId}}))}}const ih=({ref:e,theme:t,change:r})=>({component:"inline-wrapper",items:{bgColorDropdown:{ref:`${e}.useColorExpression`,width:9.5,component:"dropdown",change(t){($p(t,`${e}.color`)||$p(t,`${e}.colorExpression`))&&(Dp(t,`${e}.color`,void 0),Dp(t,`${e}.colorExpression`,void 0)),null==r||r(t)},options:[{value:!1,translation:"properties.colorMode.primary"},{value:!0,translation:"properties.colorMode.byExpression"}],defaultValue:!1,placeholder:"properties.colorMode.primary"},bgColorPicker:{component:"color-picker",ref:`${e}.color`,width:1,show:t=>!$p(t,`${e}.useColorExpression`),disableNone:!1,defaultValue:()=>{var r;return{color:null!==(r=null==t?void 0:t.getStyle("object.tabbedContainer",e,"color"))&&void 0!==r?r:"none"}},showAlpha:!0,change:e=>{null==r||r(e)}},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>$p(t,`${e}.useColorExpression`)}}}),ah=({theme:e})=>({bgColorAllWrapper:ih({ref:"background.unselected"}),selectedTab:{translation:"properties.chartType.selected",component:"text"},bgColorSelectedWrapper:ih({ref:"background.selected"}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:ih({ref:"background.hover",theme:e,change:e=>{Dp(e,"indicator.hover.color",$p(e,"background.hover.color")),Dp(e,"indicator.hover.useColorExpression",$p(e,"background.hover.useColorExpression"))}})},show:(e,t)=>"left"===t.layout.orientation}}),lh=({paths:e,fontResolver:t,theme:r})=>{const n=`${e.theme}.fontSize`;return{fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.size`,options:()=>t.getOptions(n),defaultValue:()=>t.getDefaultValue(n),show:e=>{var t;return!1!==(null===(t=e.icon)||void 0===t?void 0:t.show)}},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:r.getStyle("object.tabbedContainer",e.theme,"color")}),show:e=>{var t;return!1!==(null===(t=e.icon)||void 0===t?void 0:t.show)}}}},position:{type:"string",ref:"icon.position",component:"dropdown",options:[{value:"start",translation:"properties.dock.start"},{value:"top",translation:"properties.dock.top"},{value:"end",translation:"properties.dock.end"},{value:"bottom",translation:"properties.dock.bottom"}],defaultValue:(e,{layout:t})=>"left"===t.orientation?"top":"start",show:e=>"tabs"===e.key},hide:{type:"boolean",translation:"properties.show",ref:"icon.show",component:"switch",defaultValue:!0,show:e=>"tab"===e.key}}},sh=({theme:e})=>({colorWrapper:ih({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:ih({ref:"indicator.hover",theme:e,change:e=>{Dp(e,"background.hover.color",$p(e,"indicator.hover.color")),Dp(e,"background.hover.useColorExpression",$p(e,"indicator.hover.useColorExpression"))}})},show:(e,t)=>"left"!==t.layout.orientation}}),ch=({paths:e,fontResolver:t,theme:r})=>{const n=`${e.theme}.fontFamily`,o=`${e.theme}.fontSize`;return{fontFamilyItem:{component:"dropdown",ref:`${e.ref}.fontFamily`,options:()=>t.getOptions(n),defaultValue:()=>t.getDefaultValue(n),change:(e,t,r)=>{var n;const o=null===(n=e.label)||void 0===n?void 0:n.fontFamily,i=(e=>{const t=[];return e.objects.forEach((e=>{var r,n;const o=null===(r=e.components)||void 0===r?void 0:r.find((e=>"tab"===e.key)),i=null==o||null===(n=o.label)||void 0===n?void 0:n.fontFamily;i&&-1===t.indexOf(i)&&t.push(i)})),t})(r);o&&-1===i.indexOf(o)&&i.push(o),r.fontsUsed=i}},fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.fontSize`,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o)},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:r.getStyle("object.tabbedContainer",e.theme,"color")})}}},alignment:{component:"text-align-buttons",ref:"label.alignment",show:e=>"tabs"===e.key},hide:{type:"boolean",translation:"properties.show",ref:"label.show",component:"switch",defaultValue:!0}}},dh=({ref:e,key:t,fontResolver:r,theme:n})=>({translation:"Object.Container.Props.Label",component:"panel-section",items:{label:{component:"items",ref:e,key:t,items:ch({paths:{ref:"label",theme:"label.value"},fontResolver:r,theme:n})}}}),uh=({ref:e,key:t})=>({translation:"Visualizations.Descriptions.Width",component:"panel-section",items:{width:{component:"items",ref:e,key:t,items:{unit:{type:"string",ref:"width.unit",component:"dropdown",options:[{value:"%",translation:"Object.Table.Column.Percentage"},{value:"px",translation:"Object.Table.Column.Pixels"}],defaultValue:"%",change:e=>{var t,r;if(void 0!==(null===(t=e.width)||void 0===t?void 0:t.value)&&"%"===(null===(r=e.width)||void 0===r?void 0:r.unit))for(let t=0;t<e.width.value.length;t++)e.width.value[t]>100?e.width.value[t]=100:e.width.value[t]<5&&(e.width.value[t]=5)}},valuePixel:{translation:"properties.axis.minMax",component:"slider",ref:"width.value",range:!0,step:1,min:0,max:800,show:e=>{var t;return"px"===(null===(t=e.width)||void 0===t?void 0:t.unit)},defaultValue:[0,360]},valuePercentage:{translation:"properties.axis.minMax",component:"slider",type:"array",ref:"width.value",range:!0,step:1,min:5,max:100,show:e=>{var t,r;return!(null!==(t=e.width)&&void 0!==t&&t.unit)||"px"!==(null===(r=e.width)||void 0===r?void 0:r.unit)},defaultValue:[5,20]}}}}}),ph=({theme:e,ref:t,key:r})=>({translation:"Object.TabbedContainer.Indicator",component:"panel-section",items:{indicator:{component:"items",ref:t,key:r,items:sh({theme:e,ref:t,key:r})}}}),hh=({ref:e,key:t,fontResolver:r,theme:n})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:lh({paths:{ref:"icon",theme:"icon.value"},fontResolver:r,theme:n})}},show:(e,{layout:t})=>!0===t.showIcons}),fh=({theme:e,ref:t,key:r})=>({translation:"Object.OrgChart.BackgroundColor",component:"panel-section",items:{background:{component:"items",ref:t,key:r,items:"tab"===r?{bgColorWrapper:ih({ref:"background"})}:ah({theme:e})}}}),mh=({fontResolver:e,theme:t})=>{const r="components",n="tab";return{component:"styling-panel",chartTitle:"Object.Container",tabTitle:"scripteditor.dataconnectors.delimiter.tab",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",ref:r,items:{label:dh({ref:r,key:n,fontResolver:e,theme:t}),width:{...uh({ref:r,key:n}),show:(e,{layout:t})=>"left"!==t.orientation},icon:hh({ref:r,key:n,fontResolver:e,theme:t}),background:fh({ref:r,key:n,theme:t})}}},bh={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},gh={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},vh=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{var r,n,o;const i=t.getLayout(),a=null===(r=gu(i,e.childRefId))||void 0===r?void 0:r.qMeta;return!(null!=a&&null!==(n=a.privileges)&&void 0!==n&&n.includes("update")&&null!==(o=i.permissions)&&void 0!==o&&o.update)},action(t,r,{app:n}){const{sense:o}=e.env.anything,i=r.getEngineId(t.childRefId);i&&(o.propertyPanel.show({id:i,app:n,parent:"current",headerLabel:t.label}),r.setSelectedChild([i]))}}),yh=e=>{const{sense:t}=e.env.anything;return{label:bh,condition:gh,styling:mh({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),editProperties:vh(e)}},xh={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},Eh={translation:"Common.Charts",component:"text",show:e=>e.objects?e.objects.length>1:e.children.length>1},Sh=e=>({type:"array",ref:"objects",itemTitleRef:e=>e.label,allowAdd:!0,customAdd:!0,allowMove:!0,allowRemove:!0,customRemove:!0,addTranslation:"Object.Container.Props.Add",cId:"childRefId",grouped:!0,add(e,t,r){const n=document.querySelector(".pp-toplist-add-button");null!==n&&r.openAddChildPopover(n)},remove(e,t,r){r.deleteChild(e.childRefId).catch((()=>{}))},items:yh(e)}),Ch=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:xh,chartsLabel:Eh,chartList:Sh(e)}}),wh={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},Rh={type:"boolean",translation:"Object.Container.Props.UseDropdown",label:"Menu",ref:"useDropdown",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}],defaultValue:!1,show:e=>e.showTabs},kh={type:"boolean",translation:"Object.Container.Props.UseScrollButtons",ref:"useScrollButton",component:"switch",options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}],defaultValue:!0,show:e=>e.showTabs},Ah={type:"boolean",translation:"Object.Container.Props.ShowIcons",ref:"showIcons",component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}],defaultValue:!1,show:e=>e.showTabs},_h={type:"string",translation:"Object.Container.Props.DefaultTab",ref:"defaultTabId",component:"dropdown",defaultValue:void 0,options(e,t){const r=t.getLayout();return r?r.objects.map((e=>({translation:e.label,value:e.childRefId}))):[]},change(e,t){const r=Eu(t.getLayout(),e.defaultTabId);r&&t.setSelectedChild([r])},show:e=>e.objects.length>0},Ih={type:"string",translation:"properties.orientation",ref:"orientation",component:"dropdown",options:[{value:"top",translation:"properties.orientation.horizontal"},{value:"left",translation:"properties.orientation.vertical"}],defaultValue:"top",show:e=>e.showTabs},Th=({fontResolver:e,theme:t})=>{const r="components",n="tabs";return{component:"styling-panel",chartTitle:"Object.TabContainer",tabTitle:"Object.Container.Props.ShowTabs",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,useBackground:!0,items:{label:dh({ref:r,key:n,fontResolver:e,theme:t}),width:uh({ref:r,key:n}),indicator:ph({ref:r,key:n,theme:t}),icon:hh({ref:r,key:n,fontResolver:e,theme:t}),background:fh({ref:r,key:n,theme:t})}}},Oh={items:{details:{show:e=>!0===e.showDetails}}},Lh=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:Th({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),container:{type:"items",items:{showTabs:wh,useDropdown:Rh,useScrollButton:kh,showIcons:Ah,orientation:Ih,defaultTabId:_h}}}}},Ph=e=>({uses:"settings",items:{general:Oh,presentation:Lh(e)}}),Mh=e=>({type:"items",component:"accordion",items:{content:Ch(e),settings:Ph(e)}}),jh=e=>{const{sense:t}=e.env.anything,r=function(e){var t=e.theme,r=e.translator,n=e.config,o=void 0===n?{}:n,i=e.flags,a=function(e){var t=e.config,r=void 0===t?{}:t,n=r.id,o=r.paths;return{id:void 0===n?"object":"".concat("object",".").concat(n),paths:Array.isArray(o)?o:[]}}({config:o}),l=a.id,s=a.paths,c={};s.forEach((function(e){for(var n=e.split("."),o=c,a=0;a<n.length;a++){var s=n[a];a===n.length-1?o[s]=$u({theme:t,translator:r,id:l,path:e,flags:i}):void 0===o[s]&&(o[s]={}),o=o[s]}}));var d=function(e){for(var t=e.split("."),r=c,n=0;n<t.length;n++){var o=t[n];if(void 0===r[o])throw new Error("font-resolver: Path '".concat(e,"' could not be resolved."));r=r[o]}return r};return c.getDefaultValue=function(e){return d(e).getDefaultValue()},c.getOptions=function(e){return d(e).getOptions()},c}({theme:null==t?void 0:t.theme,translator:e.env.translator,flags:e.env.flags,config:{id:"tabbedContainer",paths:["label.value","icon.value"]}}),n=function(e){return{async getDropOptions(e,t,r){const{item:n}=t,o=e.getCreatePropertyHandler();if(o.setModel(e.model),"state"===t.item.type){var i;const n=await e.model.getProperties();return o.setProperties(n),o.setLayout(null===(i=e.model)||void 0===i?void 0:i.layout),this.getDropStateOptions(t,o,e.model,r)}if("visualization"===n.type)return t.menu.addItem({translation:["Object.Container.DropItem",n.name],tid:"addvisualization",select(){var e;null===(e=o.addChild({initProps:{qExtendsId:n.id,qInfo:{qType:"undefined"}}}))||void 0===e||e.then((e=>{e&&o.setSelectedChild([e.id])}))}}),void r();const a=await t.item.getDropOption(t.item);"newObject"===(null==a?void 0:a.id)&&t.menu.addItem({translation:["Object.Container.DropItem",n.name],tid:"createvisualization",select(){var e,t;null===(e=o.addChild({initProps:{...a.args.init,visualization:a.args.template},children:null===(t=a.args.children)||void 0===t?void 0:t.map((e=>({qProperty:e})))}))||void 0===e||e.then((e=>{e&&o.setSelectedChild([e.id])}))}}),r()},async addChild(t,r){const{model:n}=this,o=new Su({app:n.app,data:e.propertyHandlerData});return o.setModel(n),{childModel:await o.addChild({initProps:t,children:r}),handler:o}},canReceive(e){if(this.model.layout.qExtendsId)return!1;if("libraryitem"===e.type){const{item:t}=e;if("template"===t.type&&Ud.includes(t.template))return!1;if("visualization"===t.type&&Ud.includes(t.visualization))return!1}return"gridcell"!==e.type||!Ud.includes(e.cell.model.layout.visualization)}}}(e);return{definition:Mh({...e,fontResolver:r}),support:{snapshot:!1,export:!0,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new Su({app:t,data:e.propertyHandlerData}),...n,addChild:async function(e,t){const{childModel:r,handler:o}=await n.addChild.apply(this,[e,t]);r&&o.setSelectedChild([r.id])},migrate:{properties:(e,t)=>((async(e,t)=>{if(!e.objects){const{objects:r,defaultTabId:n,components:o,orientation:i,showDetails:a}=await t.getEffectiveProperties(),l=await t.getFullPropertyTree();if(!l.qProperty.objects&&r){const s=[];l.qChildren.forEach((e=>{const r=e.qProperty;if(r.qInfo.qId){const n=async n=>{const o=await t.getChild(n),i=await o.getEffectiveProperties();return{...e,qProperty:{...r,childRefId:i.childRefId}}};s.push(n(r.qInfo.qId))}}));const c=await Promise.all(s),d={...e,objects:r,defaultTabId:null!=n?n:"",components:o,qChildListDef:nh,orientation:i,showDetails:a};t.clearSoftPatches(),await t.setFullPropertyTree({...l,qProperty:d,qChildren:c})}}})(e,t),e)},exportProperties:null,importProperties:(e,t)=>{const r={...e.properties};return"masterobject"!==e.properties.qInfo.qType&&(r.qInfo.qType=t.qInfo.qType),r.visualization=t.visualization,{qProperty:r,qChildren:e.qChildren}},extendMetrics:oh}},Nh=({propertyHandlerData:e,element:n,sharedContainerUtilities:o,translator:i,containerId:a,dataHandler:l,renderHelper:s})=>{const c=t();a&&e.sync({containerId:a,element:n,sharedContainerUtilities:o,translator:i,dataHandler:l,renderHelper:s}),r((()=>{e.setMuiTheme(c.direction)}),[c.direction,e]),r((()=>()=>{a&&e.destroy(a)}),[a,e,c.direction])},$h=e=>e.reduce(((e,{id:t,data:r})=>(r&&(e[t]=r),e)),{}),Bh=async e=>{const t=Object.entries(e).map((([e,t])=>{const r={id:e,data:void 0};return t.getViewState().then((t=>({id:e,data:t}))).catch((()=>r))})),r=await Promise.all(t);return{viewStates:$h(r)}},zh=async e=>{const t=Object.entries(e).map((([e,t])=>{const r={id:e,data:void 0};return t.getSnapshotLayout().then((t=>({id:e,data:t}))).catch((()=>r))})),r=await Promise.all(t);return $h(r)},Dh=(e,t)=>(o((async r=>{const n=r,{snapshotData:o}=n;if(o){const r=vu(n),i=t(e.objectMap,r),[a,l]=await Promise.all([zh(i.objectMap),Bh(i.objectMap)]);o.objectsData={layouts:a},n.objects=i.objects,o.viewState=l}return r})),{getViewState:()=>Bh(e.objectMap)});let Fh=function(e){return e.COPY="ctrl+c",e.CUT="ctrl+x",e.PASTE="ctrl+v",e.OPEN_CONTEXT_MENU="shift+F10",e.ESCAPE="Escape",e.SPACE=" ",e.ENTER="Enter",e.BACKSPACE="Backspace",e.DELETE="Delete",e.SHIFT="Shift",e}({}),Gh=function(e){return e.KEY_DOWN="keydown",e.KEY_UP="keyup",e.FOCUS_OUT="focusout",e}({});var Hh,Wh;!function(e){e.TAB_MENU="tab-menu",e.TAB_MENU_ITEM="tab-menu-item",e.ACTIVE_TAB="active-tab-button",e.TAB_WRAPPER="tab-wrapper",e.TAB="tab-button",e.TAB_EXTRA_PRIO="MuiTab-root",e.TAB_LABEL="tab-label",e.TABS_ICON="tab-icon",e.ACTIVE_TAB_PANEL="active-tab-panel",e.TAB_INDICATOR="MuiTabs-indicator"}(Hh||(Hh={})),function(e){e.TABS="& .tab-button.MuiTab-root, .tab-button.active-tab-button",e.TABS_HOVER="& .tab-button.MuiTab-root:hover",e.TABS_LABEL="& .tab-label",e.TABS_ICON="& .tab-icon svg",e.TABS_WRAPPER="& .tab-wrapper",e.TAB_INDICATOR="& .MuiTabs-indicator"}(Wh||(Wh={}));const Yh=e=>{var t;return null===(t=e.getElementsByClassName(Hh.ACTIVE_TAB))||void 0===t?void 0:t[0]},Vh=e=>{var t;return null===(t=e.getElementsByClassName(Hh.ACTIVE_TAB_PANEL))||void 0===t?void 0:t[0]},Uh=({element:e,setAccessibility:t,accessibility:o,renderHelper:l,interactions:s})=>{const c=i(),d=a((()=>()=>{var e;(t(!1),c.enabled)&&(null===(e=c.blur)||void 0===e||e.call(c,!0))}),[c,t]),u=a((()=>t=>{switch(t.shiftKey?`shift+${t.key}`:t.key){case Fh.ESCAPE:var r;t.stopPropagation(),null===(r=c.blur)||void 0===r||r.call(c,!0);break;case Fh.ENTER:case Fh.SPACE:{t.stopPropagation();const r=t.target;var n;if(null!=r&&r.classList.contains(Hh.ACTIVE_TAB))null===(n=Vh(e))||void 0===n||n.focus();break}}}),[e,c]),p=a((()=>(t,r)=>{switch(t.shiftKey?`shift+${t.key}`:t.key){case Fh.ESCAPE:var n;t.stopPropagation();var o,i;if((null==r?void 0:r.viewDataToggled)&&(null===(n=r.supportViewData)||void 0===n?void 0:n.call(r)))null===(o=r.toggleDataView)||void 0===o||o.call(r);else null===(i=Yh(e))||void 0===i||i.focus();break;case Fh.ENTER:case Fh.SPACE:var a,l,s;if(!r)break;t.stopPropagation(),null===(a=r.setOnBlurHandler)||void 0===a||a.call(r,(()=>{var t;null===(t=Vh(e))||void 0===t||t.focus(),r.setOnBlurHandler(void 0)}));var c;if(!r.viewDataToggled&&(null===(l=r.supportViewData)||void 0===l?void 0:l.call(r)))null===(c=r.toggleDataView)||void 0===c||c.call(r);else r.viewDataToggled&&"function"==typeof(null===(s=r.dataViewObject)||void 0===s?void 0:s.focus)?r.dataViewObject.focus():"function"==typeof r.focus&&r.focus();break;case Fh.OPEN_CONTEXT_MENU:t.stopPropagation(),null!=r&&r.viewDataToggled||e!==document.activeElement&&(d(),e.focus())}}),[e,d]),h=a((()=>e=>{const t=e.target;if(null!=t&&t.classList.contains(Hh.ACTIVE_TAB_PANEL)){const t=Object.values(l.objectMap)[0];p(e,t)}else u(e)}),[u,p,l]);r((()=>(o&&e.addEventListener(Gh.KEY_DOWN,h),()=>{e.removeEventListener(Gh.KEY_DOWN,h)})),[e,o,h]);const[f,m]=n(!1);r((()=>{f&&(m(!1),window.setTimeout((()=>{var t,r;return null===(t=null!==(r=(e=>{var t;return null===(t=e.getElementsByClassName(Hh.TAB_MENU))||void 0===t?void 0:t[0]})(e))&&void 0!==r?r:Yh(e))||void 0===t?void 0:t.focus()}),0))}),[e,f]),r((()=>{t(!1)}),[s.edit,t]),r((()=>{const r=t=>{const r=t.relatedTarget;null!=e&&e.contains(r)||null!=r&&r.classList.contains(Hh.TAB_MENU_ITEM)||null==d||d()};return c.enabled&&c.active&&!s.edit&&(t(!0),m(!0),e.addEventListener(Gh.FOCUS_OUT,r)),()=>{e.removeEventListener(Gh.FOCUS_OUT,r)}}),[c])},qh=e=>{const[t]=n(e);return[t,function(e){Object.assign(t,e)}]},Kh=({isContainerActive:e,activeTabId:t,modifiedLayout:n,renderHelper:o})=>{const i={modifiedLayout:n,activeTabId:t,renderHelper:o,isContainerActive:e},[l,s]=qh(i);s(i);const c=a((()=>()=>{const e=yu(l.modifiedLayout);Object.entries(l.renderHelper.objectMap).forEach((([t,r])=>{const n=l.isContainerActive&&l.activeTabId===e[t];"setIsActive"in r&&r.setIsActive(n)}))}),[l]);r((()=>{l.isContainerActive&&c()}),[o.objectMap,c,l]),r((()=>{c()}),[e,c])},Xh={getChar(e){let t,r=e;return r>9?(t=65+r-10,t>90&&(t+=6)):r=`${r}`.charCodeAt(0),!t||[48,111,79,105,73,108].indexOf(t)>-1?this.getChar(r+1):String.fromCharCode(t)},base62(e){const t=this.getChar(e%62),r=Math.floor(e/62);return r>0?this.base62(r)+t:t},id(){return this.base62(Math.round(99e11*Math.random()+1e11)).replace(/\W/g,"")}};const Qh={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class Zh{constructor(e){P(this,"sessionObject",void 0),P(this,"getOrCreateSessionObject",(async e=>{const t=Qh.qInfo.qId;this.sessionObject=await e.getObject(t).catch((()=>e.createSessionObject(Qh)))})),P(this,"getMasterVisualizations",(async()=>{try{if(!this.sessionObject)return[];const e=await this.sessionObject.getLayout();return("qAppObjectList"in e?e.qAppObjectList.qItems:e).map((e=>({...e.qData,qExtendsId:e.qInfo.qId}))).filter((e=>!Ud.includes(e.visualization)))}catch(e){return[]}})),this.getOrCreateSessionObject(e).catch((()=>{}))}}let Jh=function(e){return e[e.TOP=0]="TOP",e[e.BOTTOM=1]="BOTTOM",e[e.UP=2]="UP",e[e.DOWN=3]="DOWN",e}({});class ef{constructor({embed:e,model:t,app:r,translator:n,mutex:o}){P(this,"model",void 0),P(this,"embed",void 0),P(this,"app",void 0),P(this,"undoRedoModel",void 0),P(this,"chartList",void 0),P(this,"masterVizList",void 0),P(this,"mutex",void 0),P(this,"rememberAsGroup",(async e=>{let t;this.undoRedoModel&&(t=await this.undoRedoModel.startGroup());const r=await e();return t&&this.undoRedoModel&&await this.undoRedoModel.endGroup(t),r})),P(this,"generateProperties",(async(e,t)=>await this.embed.generateProperties({type:e,properties:t}))),P(this,"addVizAsChild",(async({type:e,initProps:t,objectInitProps:r,children:n})=>{try{const o=await this.generateProperties(e,t);let i=(null==r?void 0:r.label)||(null==t?void 0:t.title);if(!i){const r=this.getChart(null==t?void 0:t.visualization),n=null==r?void 0:r.libraryInfo;i=(null==n?void 0:n.translation)||(null==n?void 0:n.name)||e}const a={...r,label:i};return await this.addChild(o,n,a)}catch(e){return}})),P(this,"addMasterObjectAsChild",(async({initProps:e,objectInitProps:t,children:r})=>{try{if(!e||!e.qExtendsId||!this.app)return;const n=await this.app.getObject(e.qExtendsId),o=await n.getProperties(),i=(null==t?void 0:t.label)||o.title||o.qMetaDef.title,a={...e,qInfo:{qType:"childObject"}},l={...t,label:i};return await this.addChild(a,r,l)}catch(e){return}})),P(this,"deleteChildren",(async e=>{const{model:t}=this;if(0===e.length||!t)return!1;try{await this.mutex.lock();const r=await t.getFullPropertyTree(),{qChildren:n,qProperty:o}=r,i=new Set(e);return r.qChildren=n.filter((({qProperty:e})=>{const t=e.childRefId;return!t||!i.has(t)})),r.qProperty.objects=o.objects.filter((e=>!i.has(e.childRefId))),await t.setFullPropertyTree(r),!0}catch(e){return!1}finally{this.mutex.unlock()}})),P(this,"moveChild",(async(e,t)=>{if(this.model)try{await this.mutex.lock();const r=await this.model.getProperties(),{objects:n}=r,o=n.findIndex((e=>e.childRefId===t));let i=!1;switch(e){case Jh.TOP:{if(0===o)break;const e=n.splice(o,1)[0];n.unshift(e),i=!0;break}case Jh.BOTTOM:{if(o===n.length-1)break;const e=n.splice(o,1)[0];n.push(e),i=!0;break}case Jh.UP:{if(0===o)break;const e=n.splice(o,1)[0];n.splice(o-1,0,e),i=!0;break}case Jh.DOWN:{if(o===n.length-1)break;const e=n.splice(o,1)[0];n.splice(o+1,0,e),i=!0;break}}i&&await this.model.setProperties(r)}finally{this.mutex.unlock()}})),P(this,"getCharts",(()=>{var e;return(null===(e=this.chartList)||void 0===e?void 0:e.getCharts())||{}})),P(this,"getMasterVizList",(()=>{var e;return(null===(e=this.masterVizList)||void 0===e?void 0:e.getMasterVisualizations())||Promise.resolve([])})),P(this,"getChart",(e=>{var t;return null===(t=this.chartList)||void 0===t?void 0:t.getChart(e)})),P(this,"getChartLabelById",((e,t)=>{var r,n;const o=null==e||null===(r=e.qChildList)||void 0===r?void 0:r.qItems.find((e=>e.qInfo.qId===t));if(!o)return"";const{visualization:i,title:a}=o.qData;if(a)return a;const l=this.getChart(i);return(null==l||null===(n=l.libraryInfo)||void 0===n?void 0:n.translation)||i})),this.model=t,this.embed=e,this.app=r;const i=r;i&&i.getUndoInfoObject&&i.getUndoInfoObject().then((e=>{this.undoRedoModel=e})).catch((()=>{})),r&&(this.masterVizList=new Zh(r)),e&&n&&(this.chartList=new qd(e,n)),this.mutex=o}async addChild(e,t,r){if(this.model&&!Ud.includes(e.visualization))try{await this.mutex.lock();const{model:n}=this,o=async()=>{e.childRefId=Xh.id();const o=await n.createChild(e);if(o){const t=await n.getProperties();t.objects.unshift({childRefId:e.childRefId,...r,condition:{qValueExpression:{qExpr:""}}}),await n.setProperties(t)}return t&&o&&await Promise.all(t.map((({qProperty:e})=>o.createChild(e)))),o};return await this.rememberAsGroup(o)}catch(e){return}finally{this.mutex.unlock()}}}class tf{constructor(e){P(this,"locked",!1),P(this,"tasks",[]),P(this,"id",void 0),P(this,"lock",(async()=>this.locked?new Promise((e=>{this.tasks.push(e)})):(this.locked=!0,!0))),P(this,"unlock",(()=>{if(this.tasks.length>0){const e=this.tasks.shift();null==e||e(!0)}else this.locked=!1})),this.id=e}}const rf={aliceblue:{r:240,g:248,b:255},antiquewhite:{r:250,g:235,b:215},aqua:{r:0,g:255,b:255},aquamarine:{r:127,g:255,b:212},azure:{r:240,g:255,b:255},beige:{r:245,g:245,b:220},bisque:{r:255,g:228,b:196},black:{r:0,g:0,b:0},blanchedalmond:{r:255,g:235,b:205},blue:{r:0,g:0,b:255},blueviolet:{r:138,g:43,b:226},brown:{r:165,g:42,b:42},burlywood:{r:222,g:184,b:135},cadetblue:{r:95,g:158,b:160},chartreuse:{r:127,g:255,b:0},chocolate:{r:210,g:105,b:30},coral:{r:255,g:127,b:80},cornflowerblue:{r:100,g:149,b:237},cornsilk:{r:255,g:248,b:220},crimson:{r:220,g:20,b:60},cyan:{r:0,g:255,b:255},darkblue:{r:0,g:0,b:139},darkcyan:{r:0,g:139,b:139},darkgoldenrod:{r:184,g:134,b:11},darkgray:{r:169,g:169,b:169},darkgreen:{r:0,g:100,b:0},darkgrey:{r:169,g:169,b:169},darkkhaki:{r:189,g:183,b:107},darkmagenta:{r:139,g:0,b:139},darkolivegreen:{r:85,g:107,b:47},darkorange:{r:255,g:140,b:0},darkorchid:{r:153,g:50,b:204},darkred:{r:139,g:0,b:0},darksalmon:{r:233,g:150,b:122},darkseagreen:{r:143,g:188,b:143},darkslateblue:{r:72,g:61,b:139},darkslategray:{r:47,g:79,b:79},darkslategrey:{r:47,g:79,b:79},darkturquoise:{r:0,g:206,b:209},darkviolet:{r:148,g:0,b:211},deeppink:{r:255,g:20,b:147},deepskyblue:{r:0,g:191,b:255},dimgray:{r:105,g:105,b:105},dimgrey:{r:105,g:105,b:105},dodgerblue:{r:30,g:144,b:255},firebrick:{r:178,g:34,b:34},floralwhite:{r:255,g:250,b:240},forestgreen:{r:34,g:139,b:34},fuchsia:{r:255,g:0,b:255},gainsboro:{r:220,g:220,b:220},ghostwhite:{r:248,g:248,b:255},gold:{r:255,g:215,b:0},goldenrod:{r:218,g:165,b:32},gray:{r:128,g:128,b:128},green:{r:0,g:128,b:0},greenyellow:{r:173,g:255,b:47},grey:{r:128,g:128,b:128},honeydew:{r:240,g:255,b:240},hotpink:{r:255,g:105,b:180},indianred:{r:205,g:92,b:92},indigo:{r:75,g:0,b:130},ivory:{r:255,g:255,b:240},khaki:{r:240,g:230,b:140},lavender:{r:230,g:230,b:250},lavenderblush:{r:255,g:240,b:245},lawngreen:{r:124,g:252,b:0},lemonchiffon:{r:255,g:250,b:205},lightblue:{r:173,g:216,b:230},lightcoral:{r:240,g:128,b:128},lightcyan:{r:224,g:255,b:255},lightgoldenrodyellow:{r:250,g:250,b:210},lightgray:{r:211,g:211,b:211},lightgreen:{r:144,g:238,b:144},lightgrey:{r:211,g:211,b:211},lightpink:{r:255,g:182,b:193},lightsalmon:{r:255,g:160,b:122},lightseagreen:{r:32,g:178,b:170},lightskyblue:{r:135,g:206,b:250},lightslategray:{r:119,g:136,b:153},lightslategrey:{r:119,g:136,b:153},lightsteelblue:{r:176,g:196,b:222},lightyellow:{r:255,g:255,b:224},lime:{r:0,g:255,b:0},limegreen:{r:50,g:205,b:50},linen:{r:250,g:240,b:230},magenta:{r:255,g:0,b:255},maroon:{r:128,g:0,b:0},mediumaquamarine:{r:102,g:205,b:170},mediumblue:{r:0,g:0,b:205},mediumorchid:{r:186,g:85,b:211},mediumpurple:{r:147,g:112,b:219},mediumseagreen:{r:60,g:179,b:113},mediumslateblue:{r:123,g:104,b:238},mediumspringgreen:{r:0,g:250,b:154},mediumturquoise:{r:72,g:209,b:204},mediumvioletred:{r:199,g:21,b:133},midnightblue:{r:25,g:25,b:112},mintcream:{r:245,g:255,b:250},mistyrose:{r:255,g:228,b:225},moccasin:{r:255,g:228,b:181},navajowhite:{r:255,g:222,b:173},navy:{r:0,g:0,b:128},oldlace:{r:253,g:245,b:230},olive:{r:128,g:128,b:0},olivedrab:{r:107,g:142,b:35},orange:{r:255,g:165,b:0},orangered:{r:255,g:69,b:0},orchid:{r:218,g:112,b:214},palegoldenrod:{r:238,g:232,b:170},palegreen:{r:152,g:251,b:152},paleturquoise:{r:175,g:238,b:238},palevioletred:{r:219,g:112,b:147},papayawhip:{r:255,g:239,b:213},peachpuff:{r:255,g:218,b:185},peru:{r:205,g:133,b:63},pink:{r:255,g:192,b:203},plum:{r:221,g:160,b:221},powderblue:{r:176,g:224,b:230},purple:{r:128,g:0,b:128},rebeccapurple:{r:102,g:51,b:153},red:{r:255,g:0,b:0},rosybrown:{r:188,g:143,b:143},royalblue:{r:65,g:105,b:225},saddlebrown:{r:139,g:69,b:19},salmon:{r:250,g:128,b:114},sandybrown:{r:244,g:164,b:96},seagreen:{r:46,g:139,b:87},seashell:{r:255,g:245,b:238},sienna:{r:160,g:82,b:45},silver:{r:192,g:192,b:192},skyblue:{r:135,g:206,b:235},slateblue:{r:106,g:90,b:205},slategray:{r:112,g:128,b:144},slategrey:{r:112,g:128,b:144},snow:{r:255,g:250,b:250},springgreen:{r:0,g:255,b:127},steelblue:{r:70,g:130,b:180},tan:{r:210,g:180,b:140},teal:{r:0,g:128,b:128},thistle:{r:216,g:191,b:216},tomato:{r:255,g:99,b:71},transparent:{r:255,g:255,b:255,a:0},turquoise:{r:64,g:224,b:208},violet:{r:238,g:130,b:238},wheat:{r:245,g:222,b:179},white:{r:255,g:255,b:255},whitesmoke:{r:245,g:245,b:245},yellow:{r:255,g:255,b:0},yellowgreen:{r:154,g:205,b:50}},nf={index:-1,color:"none",alpha:1},of=e=>{let t=parseFloat(e[1]),r=parseFloat(e[3]),n=parseFloat(e[5]);return t%=360,r/=100,n/=100,t=Math.max(0,Math.min(t,360)),r=Math.max(0,Math.min(r,1)),n=Math.max(0,Math.min(n,1)),{h:t,s:r,l:n,v:n}},af=(e,t,r,n,o=1)=>{let i,a,l,s=[];switch(r=Math.floor(r)){case 0:s=[e,t,0];break;case 1:s=[t,e,0];break;case 2:s=[0,e,t];break;case 3:s=[0,t,e];break;case 4:s=[t,0,e];break;case 5:s=[e,0,t];break;default:s=[0,0,0]}return i=s[0]+n,a=s[1]+n,l=s[2]+n,i=Math.round(255*i),a=Math.round(255*a),l=Math.round(255*l),`rgba(${i},${a},${l},${o})`},lf=e=>{const{h:t,s:r,l:n}=of(e),o=e.length>7?parseFloat(e[7]):1,i=n<=.5?2*n*r:(2-2*n)*r,a=t/60,l=i*(1-Math.abs(a%2-1));return af(i,l,a,n-.5*i,o)},sf={resolveExpression:({colorExpression:e=""})=>{let t=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e);if(t)return`rgb(${t[1]},${t[2]},${t[3]})`;if(t=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return`rgba(${t[1]},${t[2]},${t[3]},${t[4]})`;if(t=/^argb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i.exec(e),t){const e=Math.round(Number(t[1])/255*100)/100;return`rgba(${t[2]},${t[3]},${t[4]},${e})`}if(t=/^hsl\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e),t)return lf(t);if(t=/^hsla\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d(\.\d+)?)\s*\)$/i.exec(e),t)return lf(t);if(t=/^hsv\(\s*(\d+(\.\d+)?)\s*,\s*(\d+(\.\d+)?%?)\s*,\s*(\d+(\.\d+)?%?)\s*\)$/i.exec(e),t)return(e=>{const{h:t,s:r,v:n}=of(e),o=n*r,i=t/60,a=o*(1-Math.abs(i%2-1));return af(o,a,i,n-o)})(t);if(t=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e),t)return e;if(t=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e),t)return e;const r=e&&rf[e.toLowerCase()];if(r){const e=void 0!==r.a?r.a:1;return`rgba(${r.r},${r.g},${r.b},${e})`}return"none"},getColor({style:e,defaultColor:t,theme:r}){const n=(null==e?void 0:e.color)||nf;let o;if(null!=e&&e.useColorExpression)o=sf.resolveExpression(e);else if("string"==typeof n)o=n;else if(n){const e=void 0!==(null==n?void 0:n.alpha)&&(null==n?void 0:n.alpha)<1?Math.round(100*n.alpha):"";o=`${(null==r?void 0:r.getColorPickerColor(n))||""}${e}`}return o&&"none"!==o?o:t}};class cf{constructor({modifiedLayout:e,themeService:t}){var r;P(this,"modifiedLayout",void 0),P(this,"themeStyle",void 0),P(this,"style",void 0),P(this,"objectMap",void 0),P(this,"activeTabId",void 0),P(this,"theme",void 0),P(this,"getTabsWidth",(e=>{const t=this.resolveComponentStyle({compPath:"width.value",themePath:"tabWidth.value"});if(void 0===t||2!==t.length||e!==this.modifiedLayout.orientation)return{};const r=this.resolveComponentStyle({compPath:"width.unit",themePath:"tabWidth.unit",defaultValue:"%"});return{minWidth:`${t[0]}${r}`,maxWidth:`${t[1]}${r}`}})),P(this,"getTabWidth",(e=>{var t;const r=null==e?void 0:e.value,n=null!==(t=null==e?void 0:e.unit)&&void 0!==t?t:"%";if(void 0===r||2!==r.length||"left"===this.modifiedLayout.orientation)return{};return{minWidth:`${r[0]}${n}`,maxWidth:`${r[1]}${n}`}})),P(this,"getColorStyle",((e,t=e)=>{const r=this.resolveComponentStyle({compPath:e,themePath:t}),n=sf.getColor({style:r,theme:this.theme});return null!=n?n:r})),P(this,"getTabBackgroundStyle",((e,t)=>{let r;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});r=sf.getColor({style:e,theme:this.theme})}return null!=r?r:sf.getColor({style:t,theme:this.theme})})),P(this,"createTabClasses",(()=>{var e;return null===(e=this.modifiedLayout.objects)||void 0===e?void 0:e.reduce(((e,t)=>{var r;const n=null==t?void 0:t.childRefId,o=null==t||null===(r=t.components)||void 0===r?void 0:r.find((e=>"tab"===e.key));return e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}`]={textAlign:$p(o,"label.alignment"),backgroundColor:this.getTabBackgroundStyle(n,null==o?void 0:o.background),...this.getTabWidth(null==o?void 0:o.width)},e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}:hover`]={..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","background.hover.color")}},e[`#tab-label-${this.modifiedLayout.qInfo.qId}-${n}`]={fontSize:$p(o,"label.fontSize"),fontFamily:$p(o,"label.fontFamily"),color:sf.getColor({style:$p(o,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${n} svg`]={height:$p(o,"icon.size"),color:sf.getColor({style:$p(o,"icon.color"),theme:this.theme})},e}),{})})),P(this,"createTabsClasses",(()=>({[Wh.TABS_LABEL]:{fontSize:this.resolveComponentStyle({compPath:"label.fontSize",themePath:"label.value.fontSize"}),fontFamily:this.resolveComponentStyle({compPath:"label.fontFamily",themePath:"label.value.fontFamily"}),color:this.resolveComponentStyle({compPath:"label.color.color",themePath:"label.value.color"})},[Wh.TABS_ICON]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value.color")},[Wh.TABS]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[Wh.TABS_HOVER]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[Wh.TABS_WRAPPER]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[Wh.TAB_INDICATOR]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected.color")}}))),P(this,"createStyleClasses",(()=>({...this.createTabsClasses(),...this.createTabClasses()}))),P(this,"resolveComponentStyle",(({key:e="tabs",compPath:t,themePath:r=t,defaultValue:n})=>{var o,i,a;return null!==(i=null!==(a=$p(null===(o=this.modifiedLayout.components)||void 0===o?void 0:o.find((t=>t.key===e)),t))&&void 0!==a?a:$p(this.themeStyle,r))&&void 0!==i?i:n})),this.modifiedLayout=e;const{cachedTabId:n,defaultTabId:o,objects:i}=this.modifiedLayout;this.activeTabId=n||o||(null===(r=i[0])||void 0===r?void 0:r.childRefId)||"",this.themeStyle=t.getStyles(),this.theme=t.getTheme(),this.objectMap=xu(this.modifiedLayout),this.style=this.createStyleClasses()}getStyleClasses(){return this.style}getTabStyle(e){var t;return null===(t=this.objectMap[e].components)||void 0===t?void 0:t.find((e=>"tab"===e.key))}}const df=e=>{const{sense:r}=e.anything,o=l(),i=s(),m=c(),b=d(),g=u(),v=p(),y=t(),x=h(),E=f(),S=function(e){var t=e.theme,r=e.config,n=void 0===r?{}:r,o=n.id,i=n.resolve,a=void 0===i?[]:i,l=n.transform,s=void 0===l?[]:l,c=n.extend,d=void 0===c?[]:c,u={theme:t,matrix:eh(a),styles:void 0};return u.styles=rh({theme:t,id:o,transform:s,extend:d,matrix:u.matrix}),{getStyles:function(){return u.styles},getTheme:function(){return u.theme},setTheme:function(e){u.theme=e,u.styles=rh({theme:e,id:o,transform:s,extend:d,matrix:u.matrix})}}}({theme:null==r?void 0:r.theme,config:{id:"tabbedContainer",resolve:[["object.tabbedContainer","indicator.selected","color"],["object.tabbedContainer","indicator.hover","color"],["object.tabbedContainer","background.hover","color"],["object.tabbedContainer","icon.value","color"],["object.tabbedContainer","icon.value","fontSize"]]}}),C=a((()=>new qd(b,v)),[b,v]),[w]=n((()=>new tf(g.id))),[R,k]=n(!1),A=a((()=>b&&g&&i?new ef({embed:b,model:g,app:i,translator:v,mutex:w}):void 0),[b,g,i,v,w]),_=a((()=>vu(m)),[m]),I=a((()=>new cf({modifiedLayout:_,themeService:S})),[_,S]);return a((()=>({app:i,modifiedLayout:_,embed:b,model:g,emitter:x,interactions:E,dataHandler:A,chartList:C,styleModel:I,mutex:w,options:y,accessibility:R,setAccessibility:k,translator:v,element:o})),[_,b,g,i,x,E,A,C,I,w,y,R,v,o])},uf=({dataHandler:e,modifiedLayout:t,translator:r,sharedContainerUtilities:n,Icon:o})=>{const[i,a]=R(void 0);if(!e||!t)return null;const l=!t.qExtendsId;return E.createElement(nu,null,E.createElement(ru,null,E.createElement(o,null),l?E.createElement(E.Fragment,null,E.createElement(su,{sx:{width:250,height:32,fontFamily:"inherit"},className:"init-button",variant:i?"contained":"outlined",onClick:e=>{a(e.currentTarget)},"aria-label":r.get("LayoutContainer.EmptyList.AddContent"),disableRipple:!0},r.get("LayoutContainer.EmptyList.AddContent")),E.createElement(hu,{translator:r,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:n})):E.createElement(cl,{variant:"inherit"},r.get("LayoutContainer.EmptyList.EmptyHint"))))};class pf{constructor(e){P(this,"_rendered",new Set),P(this,"_objectMap",{}),P(this,"_resolver",void 0),P(this,"_dependencyData",void 0),P(this,"_recreateMap",new Map),P(this,"createTimerForRendering",(()=>{if(!this.resolver){let e;const t=setTimeout((()=>{this.doResolve()}),9e4),r=new Promise((t=>{e=t}));this._resolver={promise:r,resolve:e,timer:t}}return this._resolver})),P(this,"doResolve",(()=>{var e,t,r;this.resolver&&(clearTimeout(null===(e=this.resolver)||void 0===e?void 0:e.timer),null===(t=(r=this.resolver).resolve)||void 0===t||t.call(r,!0),this._resolver=void 0)})),P(this,"tryToResolve",(()=>{const{visibleLayoutObjects:e}=this._dependencyData;if(this.resolver){(0===e.length||e.every((e=>this.rendered.has(e.id))))&&this.doResolve()}})),this._dependencyData=e}set dependencyData(e){this._dependencyData=e}get rendered(){return this._rendered}get objectMap(){return this._objectMap}get resolver(){return this._resolver}get recreateMap(){return this._recreateMap}syncObjects(e){const t={},r=new Set,n=this.objectMap;let o=!1;e.forEach((e=>{n[e.id]?t[e.id]=n[e.id]:o=!0,this.rendered.has(e.id)&&r.add(e.id)}));let i=!1;return Object.entries(n).forEach((([e,r])=>{var n;t[e]||(this.confirmPotentialSelections(r),null===(n=r.destroy)||void 0===n||n.call(r),i=!0)})),this._objectMap=t,i&&(this._rendered=r,this.tryToResolve()),o}destroy(){const e=this.objectMap;Object.values(e).forEach((e=>{var t;null===(t=e.destroy)||void 0===t||t.call(e)})),this._objectMap={}}saveObject(e,t,r){const n=this.objectMap[e];var o;null!=n&&n.destroy?r?(null===(o=n.destroy)||void 0===o||o.call(n),this.objectMap[e]=t):(this.objectMap[e]=t,this.objectMap[e].destroy=n.destroy):this.objectMap[e]=t}onRendered(e){this.rendered.add(e),this.tryToResolve()}getChildrenObjects(){const{visibleLayoutObjects:e}=this._dependencyData,t=[];return e.forEach((e=>{this.objectMap[e.id]&&t.push(this.objectMap[e.id])})),t}getChildLayout(e){const{modifiedLayout:t}=this._dependencyData;return t.qChildList.qItems.find((t=>t.qInfo.qId===e))}getObjectOptions(e){var t,r;const{viewState:n,modifiedLayout:o,options:i}=this._dependencyData,{chartAnimations:a,direction:l,progressiveRendering:s,freeResize:c,navigation:d}=i;return{isReadonly:!1,setController:t=>{this.saveObject(e,t)},onRendered:()=>{this.onRendered(e)},onInitialRender:()=>{this.onRendered(e)},isParentMaster:!(null==o||!o.qExtendsId),isSnapshot:!!o.snapshotData,...!(null==n||null===(t=n.viewStates)||void 0===t||!t[e])&&{viewState:null==n?void 0:n.viewStates[e]},...!(null==n||null===(r=n.layouts)||void 0===r||!r[e])&&{layout:n.layouts[e]},direction:l,chartAnimations:a,progressiveRendering:s,freeResize:c,navigation:d,disableThemeBorder:!1}}confirmPotentialSelections(e){e&&"selectionsApi"in e&&e.selectionsApi.active&&e.selectionsApi.confirm()}}const hf=()=>E.createElement(cu,{viewBox:"0 0 16 16"},E.createElement("path",{d:"M15 6V5H5V2H1.5a.5.5 0 0 0-.5.5V6H0V2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v4h-1Zm-5-4H6v2h4V2Zm4.5 0H11v2h4V2.5a.5.5 0 0 0-.5-.5Zm1.5 9h-1V8h1v3Zm0 3a1 1 0 0 1-1 1h-1v-1h.6a.4.4 0 0 0 .4-.4V13h1v1Zm-7 1v-1h3v1H9Zm-5 0v-1h3v1H4Zm-3 0a1 1 0 0 1-1-1v-1h1v.6c0 .22.18.4.4.4H2v1H1ZM0 8h1v3H0V8Zm4-.5a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4ZM5 11h6V8H5v3Z"})),ff=({libraryInfo:e,style:t,id:r})=>E.createElement("div",{style:t,"data-testid":"tab-chart-icon",id:r,className:Hh.TABS_ICON},E.createElement(e.IconDefinition,null)),mf=({style:e,id:t})=>E.createElement("div",{style:e,"data-testid":"tab-hidden-icon",id:t},E.createElement(du,{viewBox:"0 0 16 16"},E.createElement("path",{d:"m13.441.795.764.646-1.839 2.174c.568.434 1.076.914 1.522 1.385a13.79 13.79 0 0 1 2.109 3 13.798 13.798 0 0 1-2.108 3c-1.382 1.457-3.345 3-5.89 3-1.34 0-2.52-.428-3.536-1.045l-1.904 2.25-.764-.646L13.441.795ZM11.72 4.379l-1.427 1.686a3 3 0 0 1-3.82 4.516l-1.354 1.6c.86.497 1.819.819 2.88.819 2.121 0 3.834-1.287 5.161-2.685A12.666 12.666 0 0 0 14.857 8a12.691 12.691 0 0 0-1.697-2.315c-.35-.37-.727-.73-1.132-1.063l-.308-.243ZM8 2a6.428 6.428 0 0 1 2.242.412l.305.123-.681.805A5.359 5.359 0 0 0 8 3C5.877 3 4.164 4.287 2.837 5.685A12.664 12.664 0 0 0 1.14 8a12.66 12.66 0 0 0 1.697 2.315l.301.308.311.299-.646.765A14.567 14.567 0 0 1 2.109 11 13.791 13.791 0 0 1 0 8a13.801 13.801 0 0 1 2.109-3C3.49 3.543 5.454 2 8 2Zm1.633 4.845-2.5 2.956a1.999 1.999 0 0 0 2.5-2.956Zm-3.917-.793a3 3 0 0 1 2.692-1.025l.202.035-.809.948A2 2 0 0 0 6 7.967l.003.152-.808.947a3 3 0 0 1 .521-3.014Z"}))),bf=()=>E.createElement(du,{viewBox:"0 0 16 16"},E.createElement("path",{d:"M12 4H6V3h6v1ZM6 8.5h4v-1H6v1Zm9 4.5H6v-1h9v1ZM3 11a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h1Zm0 1H2v1h1v-1Zm0-5.5a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-1a1 1 0 0 1 1-1h1Zm0 1H2v1h1v-1ZM3 2a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1h1Zm0 1H2v1h1V3Z"})),gf=na(rd)({width:28,overflow:"hidden"}),vf=na(rd)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),yf=({chartObject:e,embed:t,renderHelper:r,direction:n,accessibility:o,interactions:i,env:a})=>{const l=A(),{id:s}=e;k((()=>{if(s&&l.current){const e=r.getObjectOptions(s)||{};e.disableThemeBorder=!0,t.render({id:s,element:l.current,options:e}).then((e=>{const t=!!r.objectMap[s];r.saveObject(s,e,t)})).catch((e=>{var t;const n=null===(t=r.getChildLayout(s))||void 0===t||null===(t=t.qInfo)||void 0===t?void 0:t.qType;console.error("Could not render chart with id",s,n,e)}))}}),[s,t,r,n]);const c=_((()=>()=>{if(null!=e&&e.id&&a.anything){const t=null==e?void 0:e.label,{sense:n}=a.anything,o="current",i=r.objectMap[e.id];n.propertyPanel.show({model:i.model,parent:o,headerLabel:t,keepCurrentActiveCell:!0})}}),[a,e,r]);return k((()=>{const e=null==l?void 0:l.current;return e&&null!=i&&i.edit&&e.addEventListener("dblclick",c),()=>{null==e||e.removeEventListener("dblclick",c)}}),[l,c,i]),E.createElement(zl,{className:Hh.ACTIVE_TAB_PANEL,"aria-label":e.label,tabIndex:o?0:-1,height:"100%",width:"100%",sx:{direction:"ltr",padding:"2px",boxSizing:"border-box","&:focus-visible":{boxShadow:"inset 0 0 0 2px #0275D9",borderRadius:"3px",zIndex:1200},flex:"1 0 0"}},E.createElement(zl,{ref:l,sx:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`}))};var xf;!function(e){e.TABS_HEIGHT="36px"}(xf||(xf={}));const Ef=(e,t)=>e.find((e=>e.childRefId===t)),Sf=(e,t)=>!t.edit&&0===e.condition,Cf=({charts:e,handleChangeTab:t,activeTabId:r,element:n,translator:o,accessibility:i,disabled:a})=>{const[l,s]=E.useState(null),c=Boolean(l),d=()=>{s(null)},u=I((e=>{null==e||e.focus()}),[]);return E.createElement(E.Fragment,null,E.createElement(Xl,{onClick:e=>{s(e.currentTarget)},disabled:a,"aria-haspopup":"menu","data-testid":"chartTabMenuDropdownButton",tabIndex:i?0:-1,"aria-label":o.get("Container.Label.Visualizations"),className:Hh.TAB_MENU,sx:{m:"2px"}},E.createElement(bf,null)),E.createElement(Mc,{anchorEl:l,open:c,onClose:d,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},MenuListProps:{sx:{py:0}},slotProps:{paper:{sx:{maxHeight:"500px",maxWidth:"500px"}}}},e.map((e=>E.createElement(zc,{className:Hh.TAB_MENU_ITEM,ref:r===e.childRefId&&c?u:null,key:`chartTabMenu-${e.childRefId}`,onClick:()=>{(e=>{t(e.childRefId),d(),window.setTimeout((()=>{var e;null===(e=n.getElementsByClassName(Hh.ACTIVE_TAB_PANEL))||void 0===e||null===(e=e[0])||void 0===e||e.focus()}),0)})(e)},sx:{...r===e.childRefId?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{}},"aria-label":e.label,title:e.label},E.createElement(cl,{variant:"inherit",noWrap:!0},e.label))))))},wf=({label:e,id:t})=>E.createElement(zl,{className:Hh.TAB_LABEL,id:`tab-label-${t}`,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",overflow:"hidden",flexWrap:"wrap"}},E.createElement("span",{style:{width:"100%",overflowWrap:"break-word",hyphens:"auto",fontWeight:"bold",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",lineHeight:"normal",overflow:"hidden"}},e)),Rf=({libraryInfo:e,chart:t,iconPosition:r,id:n})=>{let o;switch(r){case"bottom":o={marginTop:"6px"};break;case"top":o={marginBottom:"6px"};break;case"end":o={marginInlineStart:"8px"};break;default:o={marginInlineEnd:"8px"}}o.display="flex",o.alignItems="center",o.height="100%",o.flex="1 0 0";return 0===t.condition?E.createElement(mf,{id:`${Hh.TABS_ICON}-${n}`,style:o}):e?E.createElement(ff,{id:`${Hh.TABS_ICON}-${n}`,libraryInfo:e,style:o}):null},kf=({models:e,activeTabId:t,handleChangeTab:r})=>{const{modifiedLayout:n,chartList:o,interactions:i,accessibility:a}=e,l=null==o?void 0:o.getCharts(),s=n.objects.filter((e=>!Sf(e,i))),{orientation:c,tabContainerStyle:d,ScrollButtonComponent:u}=(({orientation:e})=>"left"===e?{orientation:"vertical",tabContainerStyle:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"25%",flexShrink:0},ScrollButtonComponent:vf}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:gf})(n),p=!1===i.active&&!i.edit,[h,f]=R(!1),m=I((e=>{if(e){const t=e.getElementsByClassName("MuiTabs-flexContainer")[0];if(t)return void f("vertical"===c?t.scrollHeight>t.offsetHeight:t.scrollWidth>t.offsetWidth)}f(!1)}),[c]);return E.createElement(zl,{className:Hh.TAB_WRAPPER,sx:d,ref:e=>{m(e)}},n.useDropdown&&h&&E.createElement(Cf,{charts:s,handleChangeTab:r,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}),E.createElement(gd,{value:t,onChange:(e,t)=>{r(t)},ScrollButtonComponent:u,variant:"scrollable",orientation:c,scrollButtons:!!n.useScrollButton&&"auto",TabScrollButtonProps:{...p&&{disabled:!0}},sx:{height:"100%",width:"100%",minHeight:xf.TABS_HEIGHT}},s.map((r=>{var o,i,s,d,u;const h=null===(o=gu(n,r.childRefId))||void 0===o||null===(o=o.qData)||void 0===o?void 0:o.visualization,f=h&&(null==l||null===(i=l[h])||void 0===i?void 0:i.libraryInfo),m=e.styleModel.getTabStyle(r.childRefId),b=0===r.condition||n.showIcons&&f&&!1!==(null==m||null===(s=m.icon)||void 0===s?void 0:s.show),g="vertical"===c?"top":"start",v=e.styleModel.resolveComponentStyle({compPath:"icon.position",defaultValue:g}),y=e.styleModel.resolveComponentStyle({compPath:"label.show"}),x=r.label&&(null!==(d=null==m||null===(u=m.label)||void 0===u?void 0:u.show)&&void 0!==d?d:!1!==y),S=`${n.qInfo.qId}-${r.childRefId}`;return E.createElement(Yc,{className:`${Hh.TAB} ${t===r.childRefId?Hh.ACTIVE_TAB:""}`,disabled:p,id:`tab-${S}`,value:r.childRefId,title:r.label,label:x?E.createElement(wf,{label:r.label,id:S}):void 0,icon:b?E.createElement(Rf,{libraryInfo:f,chart:r,iconPosition:v,id:S}):"",iconPosition:v,key:r.childRefId,"data-testid":`container-tab-${r.childRefId}`,sx:{textAlign:"vertical"!==c||n.showIcons?"center":"start",minWidth:"vertical"===c?"100%":void 0,minHeight:xf.TABS_HEIGHT,padding:"6px 16px","&:hover":{paddingBottom:"4px"},"&.Mui-disabled":{opacity:"inherit"}},"aria-label":r.label,"aria-controls":`tab-panel-${S}`,tabIndex:a&&t===r.childRefId?0:-1})}))))},Af=({models:e,renderHelper:t,activeTabId:r,handleChangeTab:n,env:o})=>{const{modifiedLayout:i,embed:a,interactions:l,options:s,styleModel:c,accessibility:d}=e,u=i.objects,p=l.edit||!!u.find((e=>0!==e.condition)),h=i.showTabs&&p,f="left"===i.orientation?"row":"column",m=c.getStyleClasses();return E.createElement(zl,{sx:{display:"flex",flexDirection:f,height:"100%",width:"100%",direction:s.direction,...m}},h&&E.createElement(kf,{models:e,activeTabId:r,handleChangeTab:n}),u.map((e=>{const n=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,c=r===e.childRefId&&!Sf(e,l);return E.createElement("div",{role:"tabpanel",id:n,key:n,hidden:!c,style:{height:"100%",width:"100%"}},c&&E.createElement(yf,{chartObject:e,renderHelper:t,direction:s.direction,embed:a,accessibility:d,interactions:l,env:o}))})))};let _f=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),If=function(e){return e.COPY="copy",e.PASTE="paste-and-replace",e.DUPLICATE="duplicate",e.DELETE="delete",e.CUT="cut",e.EDIT_PROPERTIES="edit",e.ZOOM_IN="zoom-in",e.VISUAL_EXPLORATION="visual-exploration",e.MONITOR_IN_HUB="addto",e.TAKE_SNAP_SHOT="take-snapshot",e.SNAP_SHOT_GROUP="snapshotGroup",e.REORDER_LAYERS_GROUP="reorder-layers-group",e.BRING_TO_FRONT="bring-to-front",e.BRING_FORWARD="bring-forward",e.SEND_TO_BACK="send-to-back",e.SEND_BACKWARDS="send-backwards",e.CONTAINER_HEADER="container-header",e.CHART_HEADER="chart-header",e.ALERT_GROUP="alertGroup",e.ADD_TO_MASTER_ITEMS="add-to-master-items",e.UNLINK_VISUALIZATION="unlink",e.DEVELOPER="object-developer",e.SHOW_DETAILS="object-info",e.EXPLAIN_KEY_DRIVERS="explainKeyDrivers",e.SUBSCRIBE="subscribe",e.NOTES_GROUP="notesGroup",e.DOWNLOAD="download",e.SHARE_IMAGE="share",e}({});const Tf=[If.PASTE,If.ZOOM_IN,If.VISUAL_EXPLORATION],Of=[If.VISUAL_EXPLORATION,If.ALERT_GROUP,If.SHOW_DETAILS,If.EXPLAIN_KEY_DRIVERS],Lf=[If.DELETE,If.CUT,If.ADD_TO_MASTER_ITEMS,If.UNLINK_VISUALIZATION],Pf=[If.PASTE],Mf=(e,t)=>{const{childRefId:r}=e.model.layout,n=t.objects.find((e=>e.childRefId===r));return{...e,additionalData:{label:null==n?void 0:n.label}}},jf=(e,t,r,n,o)=>{const i=t.getSupportFunction(If.COPY);if(!i)return void e.deleteItem(If.COPY);const a=()=>{i(Mf(r,n)).catch((()=>{}))},l=e.items.find((e=>e.id===If.COPY));if(l)l.updateItem({select:a});else if(o){const t=e.items.findIndex((e=>e.id===If.CUT)),r=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:If.COPY,id:If.COPY,icon:"copy",select:a,items:[]},r)}},Nf=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,$f=async(e,t,r,n)=>{const o=t.getBuilder("default");if(!o)return;const i=await o();i.addItem({translation:"contextMenu.containerOptionsHeader",tid:If.CONTAINER_HEADER,id:If.CONTAINER_HEADER,bold:!0,items:[]},0);const a=Nf(r);i.items.forEach((e=>{(Of.includes(e.id)||!a&&Pf.includes(e.id))&&i.deleteItem(e.id)})),a&&await(async(e,t,r)=>{var n;const o=t.getSupportFunction(_f.PASTE),i=await(null==o||null===(n=o())||void 0===n?void 0:n.catch((()=>{})));if(!i||Ud.includes(i.template))return void e.deleteItem(If.PASTE);const a=()=>{r()},l=e.items.find((e=>e.id===If.PASTE));if(l)l.updateItem({translation:"contextMenu.paste",select:a});else{const t=e.items.findLastIndex((e=>e.id===If.COPY||e.id===If.DEVELOPER||e.id===If.CONTAINER_HEADER)),r=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:If.PASTE,id:If.PASTE,icon:"paste",select:a,items:[]},r)}})(i,t,n),e.updateItem({items:i.items}),1===e.items.length&&e.deleteItem(If.CONTAINER_HEADER)},Bf=e=>{const t={[If.MONITOR_IN_HUB]:!0,[If.SUBSCRIBE]:!0,[If.NOTES_GROUP]:!0,[If.DOWNLOAD]:!0,[If.SHARE_IMAGE]:!0};e.items.forEach((r=>{t[r.id]?e.deleteItem(r.id):r.items&&Bf(r)}))},zf=(e,t,r,n,o,i)=>a=>{const{dataHandler:l,modifiedLayout:s}=n;if(Nf(n)){r.isInvalid||(((e,t,r,n)=>{const{model:o,modifiedLayout:i}=r,a=e.items.findLastIndex((e=>e.id===If.CHART_HEADER||e.id===If.REORDER_LAYERS_GROUP)),l=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:If.EDIT_PROPERTIES,id:If.EDIT_PROPERTIES,icon:If.EDIT_PROPERTIES,items:[],select:()=>{const{childRefId:e}=t.model.layout,r=i.objects.find((t=>t.childRefId===e)),a=null==r?void 0:r.label,{sense:l}=n.anything,s=o;l.propertyPanel.show({model:t.model,parent:s,headerLabel:a})}},l)})(a,r,n,o),((e,t,r,n,o,i)=>{const a=n.getSupportFunction(If.COPY);if(!a)return void e.deleteItem(If.CUT);const l=()=>{o&&a(Mf(r,i)).then((async()=>{await o.deleteChildren([t])})).catch((()=>{}))},s=e.items.find((e=>e.id===If.CUT));if(s)s.updateItem({select:l});else{const t=e.items.findLastIndex((e=>e.id===If.ADD_TO_MASTER_ITEMS||e.id===If.UNLINK_VISUALIZATION||e.id===If.EDIT_PROPERTIES||e.id===If.REORDER_LAYERS_GROUP||e.id===If.DEVELOPER)),r=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:If.CUT,id:If.CUT,icon:"cut",select:l,items:[]},r)}})(a,t,r,e,l,s),jf(a,e,r,s,!0),((e,t,r,n,o)=>{const i=t.getSupportFunction(_f.COPY),a=t.getSupportFunction(_f.PASTE);if(!i||!a)return void e.deleteItem(If.DUPLICATE);const l=()=>{i(Mf(r,n)).then((()=>{o()})).catch((()=>{}))},s=e.items.find((e=>e.id===If.DUPLICATE));if(s)s.updateItem({select:l});else{const t=e.items.findIndex((e=>e.id===If.COPY)),r=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:If.DUPLICATE,id:If.DUPLICATE,icon:If.DUPLICATE,items:[],select:l},r)}})(a,e,r,s,i)),((e,t,r)=>{const n=()=>{r&&r.deleteChildren([t]).catch((()=>{}))},o=e.items.find((e=>e.id===If.DELETE));if(o)o.updateItem({select:n});else{const t=e.items.findLastIndex((e=>e.id===If.DUPLICATE||e.id===If.ADD_TO_MASTER_ITEMS||e.id===If.UNLINK_VISUALIZATION||e.id===If.REORDER_LAYERS_GROUP||e.id===If.DEVELOPER)),r=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:If.DELETE,id:If.DELETE,icon:"bin",items:[],select:n},r)}})(a,t,l)}else jf(a,e,r,s,!1)},Df=(e,t,r,n)=>{b((async(o,i,a)=>{var l;if(!a)return!1;const s=((e,t)=>()=>{if(!e)return;const r=t.getSupportFunction(_f.PASTE);r&&r().then((async({template:t,init:r,children:n,additionalData:o})=>{const{label:i}=o,a={label:i};r.qExtendsId?await e.addMasterObjectAsChild({initProps:r,children:n,objectInitProps:a}):await e.addVizAsChild({type:t,initProps:r,children:n,objectInitProps:a})})).catch((e=>{e&&t.getSupportFunction(_f.RESET_COPY_BUFFER)}))})(r.dataHandler,a);if(await $f(o,a,r,s),Bf(o),!(e=>{let t;t="qv-radial-contextmenu"===e.type?e.touches[0].target:e.target;return t&&((e,t)=>{let r=e;for(;r;){if(r.classList.contains(t))return r;r=r.parentNode}return null})(t,Hh.ACTIVE_TAB_PANEL)})(i))return!0;const c=null===(l=r.modifiedLayout.objects.find((t=>t.childRefId===e)))||void 0===l?void 0:l.id;if(!c)return!0;const d=t.objectMap[c];if(!d)return!0;const u=zf(a,e,d,r,n,s),p=await(async(e,t,r,n)=>{const o=Nf(r),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:If.CHART_HEADER,id:If.CHART_HEADER,bold:!0,items:[]},0),n(a),a.items.forEach((e=>{(Tf.includes(e.id)||!o&&Lf.includes(e.id))&&a.deleteItem(e.id)})),1===a.items.length&&a.deleteItem(If.CHART_HEADER),a})(a,d,r,u);return!p||(o.items.length>0&&p.addItem({translation:"contextMenu.subMenuContainerOptions",tid:"tabbed-container-menu",id:"tabbed-container-menu",icon:"tabbed-container",items:[...o.items]},p.items.length),o.updateItem({items:p.items}),!0)}))},Ff=({element:e,models:o,env:i})=>{var l;const s=((e,t)=>{const[o,i]=n(void 0);return r((()=>{if(0===e.getElementsByClassName(t).length){const r=document.createElement("div");r.className=t,e.appendChild(r);const n=Qd.createRoot(r);i(n)}}),[e,t]),o})(e,"init-component"),{options:c,modifiedLayout:d,interactions:u,model:p}=o,{cachedTabId:h,defaultTabId:f,objects:b,qChildList:g}=d,v=Yd(c.direction),y=(e=>{const{viewState:r}=t(),{snapshotData:n}=e;if(n){var o;const{layouts:e}=n.objectsData;return{layouts:e,viewStates:null===(o=n.viewState)||void 0===o?void 0:o.viewStates}}if(r){const{viewStates:e}=r;return{viewStates:e}}})(d),x=h||f||(null===(l=b[0])||void 0===l?void 0:l.childRefId)||"",S={modifiedLayout:d,activeTabId:x,env:i},[C,w]=qh(S);w(S);const R=a((()=>d.objects.filter((e=>x===e.childRefId))),[x,d.objects]),{renderHelper:k}=(e=>{const{visibleLayoutObjects:t,options:o}=e,[i]=n(new pf(e)),[,a]=n(o);return i.dependencyData=e,m((async()=>{var e,r;return a((e=>(e!==o&&t.forEach((e=>i.recreateMap.set(e.id,!0))),o))),i.syncObjects(t)?null===(r=i.createTimerForRendering())||void 0===r?void 0:r.promise:null===(e=i.resolver)||void 0===e?void 0:e.promise}),[t,o]),r((()=>()=>{i.destroy()}),[i]),{renderHelper:i}})({modifiedLayout:d,visibleLayoutObjects:R,viewState:y,options:c});Df(x,k,o,i);const[A]=n({current:void 0}),_=a((()=>e=>{(async({model:e,patchList:t})=>{if(null!=e&&e.applyPatches){const r=await e.getEffectiveProperties(),n=[];t.forEach((e=>{const{newValue:t,propertyName:o}=e,i=void 0!==r[o]?"Replace":"Add";t?n.push({qPath:`/${o}`,qOp:i,qValue:t&&JSON.stringify(t)}):"Replace"===i&&n.push({qPath:`/${o}`,qOp:"Remove"})})),n.length>0&&await e.applyPatches(n,!0)}})({model:p,patchList:[{newValue:e,propertyName:"cachedTabId"}]})}),[p]),I=a((()=>({setSelected:e=>{var t;const r=null===(t=C.modifiedLayout.objects.find((t=>t.id===e[0])))||void 0===t?void 0:t.childRefId;r?_(r):A.current=e[0]}})),[_,C,A]);r((()=>{const e=(({chartObjects:e,activeTabId:t})=>{var r;return!Ef(e,t)&&e.length>0?null===(r=e[0])||void 0===r?void 0:r.childRefId:t})({chartObjects:C.modifiedLayout.objects,activeTabId:C.activeTabId});if(e!==C.activeTabId)_(e);else if(A.current){var t;const e=null===(t=C.modifiedLayout.objects.find((e=>e.id===A.current)))||void 0===t?void 0:t.childRefId;e&&_(e)}A.current=void 0}),[null==d?void 0:d.objects.length,C,A,_]),r((()=>{const e=(({chartObjects:e,activeTabId:t,interactions:r})=>{const n=Ef(e,t);if(!n||Sf(n,r)){const r=e.find((e=>0!==e.condition));return(null==r?void 0:r.childRefId)||t}return t})({chartObjects:C.modifiedLayout.objects,activeTabId:C.activeTabId,interactions:u});e!==C.activeTabId&&_(e)}),[u,null==d?void 0:d.objects,C,_]);const T=0===g.qItems.length&&u.edit;return r((()=>{null==s||s.render(E.createElement(ia,{theme:v},T&&E.createElement(uf,{Icon:hf,dataHandler:o.dataHandler,modifiedLayout:o.modifiedLayout,translator:o.translator,sharedContainerUtilities:I}),!T&&E.createElement(Af,{models:o,renderHelper:k,activeTabId:x,handleChangeTab:_,env:i})))}),[s,o,v,T,k,x,I,_,i]),{renderHelper:k,sharedContainerUtilities:I,activeTabId:x}};var Gf={targets:[]};const Hf={showTitles:!0,title:"",subtitle:"",footnote:"",disableNavMenu:!0,showDetails:!1,objects:[],qChildListDef:{qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}},showTabs:!0,useScrollButton:!0,useDropdown:!1,showIcons:!1,components:[],defaultTabId:"",orientation:"top",fontsUsed:[]};!function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".init-component {\n height: 100%;\n overflow: hidden;\n}\n");const Wf=e=>e.map((e=>{if(e.canReceive){const t=e=>"libraryitem"===e.type&&("field"===e.item.type||"measure"===e.item.type||"dimension"===e.item.type);return{...e,canReceive:r=>t(r)&&e.canReceive(r)}}return e})),Yf=(e,t)=>{let r=!0;const n=t.objects.reduce(((t,n)=>{const o=n.id;return 0!==n.condition?(e[o]&&(e=>e.supportExport())(e[o])&&(r=!1,t.objectMap[o]=e[o]),t.objects.push(n),t):t}),{objects:[],objectMap:{}});return r?{objects:[],objectMap:{}}:n}}}}));
|