@nebula.js/sn-tabbed-container 0.12.1 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  /*
2
- * @nebula.js/sn-tabbed-container v0.12.1
2
+ * @nebula.js/sn-tabbed-container v0.13.1
3
3
  * Copyright (c) 2024 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,_;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.useCallback},function(e){L=e.default,_=e}],execute:function(){e("default",(function(e){const t=new vd({translator:e.translator});return{qae:{properties:mf,data:ff},ext:ch({env:e,propertyHandlerData:t}),component(){const n=jh(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(T).forEach((t=>{e.add(T[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}=hf({element:u,models:n,env:e});dh({containerId:(null==l?void 0:l.id)||"",element:u,sharedContainerUtilities:m,translator:r,dataHandler:i,propertyHandlerData:t,renderHelper:f});const[v,y]=o(!0);Ch({isContainerActive:v,activeTabId:b,renderHelper:f,modifiedLayout:h}),Eh({element:u,accessibility:s,setAccessibility:c,renderHelper:f,interactions:d});const{getViewState:x}=fh(f);g((()=>({getViewState:x,getChildrenObjects(){const e=f.getChildrenObjects();return bf(e)},updateActiveState(e){y(e)}})),[])}}}));var T={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 M(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 O(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 $="$$material";function N(){return N=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},N.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 B(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var D=/^((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)-.*))$/,z=B((function(e){return D.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));var F=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}(),G="-ms-",H="-moz-",Y="-webkit-",W="comm",V="rule",U="decl",q="@keyframes",K=Math.abs,X=String.fromCharCode,Q=Object.assign;function Z(e){return e.trim()}function J(e,t,n){return e.replace(t,n)}function ee(e,t){return e.indexOf(t)}function te(e,t){return 0|e.charCodeAt(t)}function ne(e,t,n){return e.slice(t,n)}function oe(e){return e.length}function re(e){return e.length}function ie(e,t){return t.push(e),e}var ae=1,le=1,se=0,ce=0,de=0,ue="";function pe(e,t,n,o,r,i,a){return{value:e,root:t,parent:n,type:o,props:r,children:i,line:ae,column:le,length:a,return:""}}function he(e,t){return Q(pe("",null,null,"",null,null,0),e,{length:-e.length},t)}function fe(){return de=ce>0?te(ue,--ce):0,le--,10===de&&(le=1,ae--),de}function me(){return de=ce<se?te(ue,ce++):0,le++,10===de&&(le=1,ae++),de}function be(){return te(ue,ce)}function ge(){return ce}function ve(e,t){return ne(ue,e,t)}function ye(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 xe(e){return ae=le=1,se=oe(ue=e),ce=0,[]}function Ee(e){return ue="",e}function Se(e){return Z(ve(ce-1,Re(91===e?e+2:40===e?e+1:e)))}function Ce(e){for(;(de=be())&&de<33;)me();return ye(e)>2||ye(de)>3?"":" "}function we(e,t){for(;--t&&me()&&!(de<48||de>102||de>57&&de<65||de>70&&de<97););return ve(e,ge()+(t<6&&32==be()&&32==me()))}function Re(e){for(;me();)switch(de){case e:return ce;case 34:case 39:34!==e&&39!==e&&Re(de);break;case 40:41===e&&Re(e);break;case 92:me()}return ce}function Ae(e,t){for(;me()&&e+de!==57&&(e+de!==84||47!==be()););return"/*"+ve(t,ce-1)+"*"+X(47===e?e:me())}function ke(e){for(;!ye(be());)me();return ve(e,ce)}function Ie(e){return Ee(Le("",null,null,null,[""],e=xe(e),0,[0],e))}function Le(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=me()){case 40:if(108!=f&&58==te(C,u-1)){-1!=ee(C+=J(Se(v),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:C+=Se(v);break;case 9:case 10:case 13:case 32:C+=Ce(f);break;case 92:C+=we(ge()-1,7);continue;case 47:switch(be()){case 42:case 47:ie(Te(Ae(me(),ge()),t,n),s);break;default:C+="/"}break;case 123*m:l[c++]=oe(C)*g;case 125*m:case 59:case 0:switch(v){case 0:case 125:b=0;case 59+d:-1==g&&(C=J(C,/\f/g,"")),h>0&&oe(C)-u&&ie(h>32?Pe(C+";",o,n,u-1):Pe(J(C," ","")+";",o,n,u-2),s);break;case 59:C+=";";default:if(ie(S=_e(C,t,n,c,d,r,l,y,x=[],E=[],u),i),123===v)if(0===d)Le(C,t,S,S,x,i,u,l,E);else switch(99===p&&110===te(C,3)?100:p){case 100:case 108:case 109:case 115:Le(e,S,S,o&&ie(_e(e,S,S,0,0,r,l,y,r,x=[],u),E),r,E,u,l,o?x:E);break;default:Le(C,S,S,S,[""],E,0,l,E)}}c=d=h=0,m=g=1,y=C="",u=a;break;case 58:u=1+oe(C),h=f;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==fe())continue;switch(C+=X(v),v*m){case 38:g=d>0?1:(C+="\f",-1);break;case 44:l[c++]=(oe(C)-1)*g,g=1;break;case 64:45===be()&&(C+=Se(me())),p=be(),d=u=oe(y=C+=ke(ge())),v++;break;case 45:45===f&&2==oe(C)&&(m=0)}}return i}function _e(e,t,n,o,r,i,a,l,s,c,d){for(var u=r-1,p=0===r?i:[""],h=re(p),f=0,m=0,b=0;f<o;++f)for(var g=0,v=ne(e,u+1,u=K(m=a[f])),y=e;g<h;++g)(y=Z(m>0?p[g]+" "+v:J(v,/&\f/g,p[g])))&&(s[b++]=y);return pe(e,t,n,0===r?V:l,s,c,d)}function Te(e,t,n){return pe(e,t,n,W,X(de),ne(e,2,-2),0)}function Pe(e,t,n,o){return pe(e,t,n,U,ne(e,0,o),ne(e,o+1,-1),o)}function Me(e,t){for(var n="",o=re(e),r=0;r<o;r++)n+=t(e[r],r,e,t)||"";return n}function Oe(e,t,n,o){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case U:return e.return=e.return||e.value;case W:return"";case q:return e.return=e.value+"{"+Me(e.children,o)+"}";case V:e.value=e.props.join(",")}return oe(n=Me(e.children,o))?e.return=e.value+"{"+n+"}":""}function $e(e){var t=re(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 Ne=function(e,t,n){for(var o=0,r=0;o=r,r=be(),38===o&&12===r&&(t[n]=1),!ye(r);)me();return ve(e,ce)},je=function(e,t){return Ee(function(e,t){var n=-1,o=44;do{switch(ye(o)){case 0:38===o&&12===be()&&(t[n]=1),e[n]+=Ne(ce-1,t,n);break;case 2:e[n]+=Se(o);break;case 4:if(44===o){e[++n]=58===be()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=X(o)}}while(o=me());return e}(xe(e),t))},Be=new WeakMap,De=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)||Be.get(n))&&!o){Be.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]}}},ze=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Fe(e,t){switch(function(e,t){return 45^te(e,0)?(((t<<2^te(e,0))<<2^te(e,1))<<2^te(e,2))<<2^te(e,3):0}(e,t)){case 5103:return Y+"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 Y+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Y+e+H+e+G+e+e;case 6828:case 4268:return Y+e+G+e+e;case 6165:return Y+e+G+"flex-"+e+e;case 5187:return Y+e+J(e,/(\w+).+(:[^]+)/,Y+"box-$1$2"+G+"flex-$1$2")+e;case 5443:return Y+e+G+"flex-item-"+J(e,/flex-|-self/,"")+e;case 4675:return Y+e+G+"flex-line-pack"+J(e,/align-content|flex-|-self/,"")+e;case 5548:return Y+e+G+J(e,"shrink","negative")+e;case 5292:return Y+e+G+J(e,"basis","preferred-size")+e;case 6060:return Y+"box-"+J(e,"-grow","")+Y+e+G+J(e,"grow","positive")+e;case 4554:return Y+J(e,/([^-])(transform)/g,"$1"+Y+"$2")+e;case 6187:return J(J(J(e,/(zoom-|grab)/,Y+"$1"),/(image-set)/,Y+"$1"),e,"")+e;case 5495:case 3959:return J(e,/(image-set\([^]*)/,Y+"$1$`$1");case 4968:return J(J(e,/(.+:)(flex-)?(.*)/,Y+"box-pack:$3"+G+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Y+e+e;case 4095:case 3583:case 4068:case 2532:return J(e,/(.+)-inline(.+)/,Y+"$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(oe(e)-1-t>6)switch(te(e,t+1)){case 109:if(45!==te(e,t+4))break;case 102:return J(e,/(.+:)(.+)-([^]+)/,"$1"+Y+"$2-$3$1"+H+(108==te(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ee(e,"stretch")?Fe(J(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==te(e,t+1))break;case 6444:switch(te(e,oe(e)-3-(~ee(e,"!important")&&10))){case 107:return J(e,":",":"+Y)+e;case 101:return J(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Y+(45===te(e,14)?"inline-":"")+"box$3$1"+Y+"$2$3$1"+G+"$2box$3")+e}break;case 5936:switch(te(e,t+11)){case 114:return Y+e+G+J(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Y+e+G+J(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Y+e+G+J(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Y+e+G+e+e}return e}var Ge,He,Ye="undefined"!=typeof document,We=Ye?void 0:(Ge=function(){return B((function(){var e={};return function(t){return e[t]}}))},He=new WeakMap,function(e){if(He.has(e))return He.get(e);var t=Ge(e);return He.set(e,t),t}),Ve=[function(e,t,n,o){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=Fe(e.value,e.length);break;case q:return Me([he(e,{value:J(e.value,"@","@"+Y)})],o);case V: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 Me([he(e,{props:[J(t,/:(read-\w+)/,":-moz-$1")]})],o);case"::placeholder":return Me([he(e,{props:[J(t,/:(plac\w+)/,":"+Y+"input-$1")]}),he(e,{props:[J(t,/:(plac\w+)/,":-moz-$1")]}),he(e,{props:[J(t,/:(plac\w+)/,G+"input-$1")]})],o)}return""}))}}],Ue=function(e){var t=e.key;if(Ye&&"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||Ve,a={},l=[];Ye&&(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=[De,ze];if(Ye){var d,u=[Oe,(s=function(e){d.insert(e)},function(e){e.root||(e=e.return)&&s(e)})],p=$e(c.concat(i,u));r=function(e,t,n,o){d=n,function(e){Me(Ie(e),p)}(e?e+"{"+t.styles+"}":t.styles),o&&(g.inserted[t.name]=!0)}}else{var h=[Oe],f=$e(c.concat(i,h)),m=We(i)(t),b=function(e,t){var n=t.name;return void 0===m[n]&&(m[n]=function(e){return Me(Ie(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 F({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},qe={exports:{}},Ke={},Xe="function"==typeof Symbol&&Symbol.for,Qe=Xe?Symbol.for("react.element"):60103,Ze=Xe?Symbol.for("react.portal"):60106,Je=Xe?Symbol.for("react.fragment"):60107,et=Xe?Symbol.for("react.strict_mode"):60108,tt=Xe?Symbol.for("react.profiler"):60114,nt=Xe?Symbol.for("react.provider"):60109,ot=Xe?Symbol.for("react.context"):60110,rt=Xe?Symbol.for("react.async_mode"):60111,it=Xe?Symbol.for("react.concurrent_mode"):60111,at=Xe?Symbol.for("react.forward_ref"):60112,lt=Xe?Symbol.for("react.suspense"):60113,st=Xe?Symbol.for("react.suspense_list"):60120,ct=Xe?Symbol.for("react.memo"):60115,dt=Xe?Symbol.for("react.lazy"):60116,ut=Xe?Symbol.for("react.block"):60121,pt=Xe?Symbol.for("react.fundamental"):60117,ht=Xe?Symbol.for("react.responder"):60118,ft=Xe?Symbol.for("react.scope"):60119;function mt(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Qe:switch(e=e.type){case rt:case it:case Je:case tt:case et:case lt:return e;default:switch(e=e&&e.$$typeof){case ot:case at:case dt:case ct:case nt:return e;default:return t}}case Ze:return t}}}function bt(e){return mt(e)===it}Ke.AsyncMode=rt,Ke.ConcurrentMode=it,Ke.ContextConsumer=ot,Ke.ContextProvider=nt,Ke.Element=Qe,Ke.ForwardRef=at,Ke.Fragment=Je,Ke.Lazy=dt,Ke.Memo=ct,Ke.Portal=Ze,Ke.Profiler=tt,Ke.StrictMode=et,Ke.Suspense=lt,Ke.isAsyncMode=function(e){return bt(e)||mt(e)===rt},Ke.isConcurrentMode=bt,Ke.isContextConsumer=function(e){return mt(e)===ot},Ke.isContextProvider=function(e){return mt(e)===nt},Ke.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Qe},Ke.isForwardRef=function(e){return mt(e)===at},Ke.isFragment=function(e){return mt(e)===Je},Ke.isLazy=function(e){return mt(e)===dt},Ke.isMemo=function(e){return mt(e)===ct},Ke.isPortal=function(e){return mt(e)===Ze},Ke.isProfiler=function(e){return mt(e)===tt},Ke.isStrictMode=function(e){return mt(e)===et},Ke.isSuspense=function(e){return mt(e)===lt},Ke.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Je||e===it||e===tt||e===et||e===lt||e===st||"object"==typeof e&&null!==e&&(e.$$typeof===dt||e.$$typeof===ct||e.$$typeof===nt||e.$$typeof===ot||e.$$typeof===at||e.$$typeof===pt||e.$$typeof===ht||e.$$typeof===ft||e.$$typeof===ut)},Ke.typeOf=mt,qe.exports=Ke;var gt=qe.exports,vt={};vt[gt.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},vt[gt.Memo]={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0};var yt="undefined"!=typeof document;var xt=function(e,t,n){var o=e.key+"-"+t.name;(!1===n||!1===yt&&void 0!==e.compat)&&void 0===e.registered[o]&&(e.registered[o]=t.styles)},Et=function(e,t,n){xt(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);yt||void 0===a||(r+=a),i=i.next}while(void 0!==i);if(!yt&&0!==r.length)return r}};var St={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},Ct=/[A-Z]|^ms/g,wt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Rt=function(e){return 45===e.charCodeAt(1)},At=function(e){return null!=e&&"boolean"!=typeof e},kt=B((function(e){return Rt(e)?e:e.replace(Ct,"-$&").toLowerCase()})),It=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(wt,(function(e,t,n){return _t={name:t,styles:n,next:_t},t}))}return 1===St[e]||Rt(e)||"number"!=typeof t||0===t?t:t+"px"};function Lt(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 _t={name:n.name,styles:n.styles,next:_t},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)_t={name:o.name,styles:o.styles,next:_t},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+=Lt(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]+"}":At(a)&&(o+=kt(i)+":"+It(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=Lt(e,t,a);switch(i){case"animation":case"animationName":o+=kt(i)+":"+l+";";break;default:o+=i+"{"+l+"}"}}else for(var s=0;s<a.length;s++)At(a[s])&&(o+=kt(i)+":"+It(i,a[s])+";")}return o}(e,t,n);case"function":if(void 0!==e){var r=_t,i=n(e);return _t=r,Lt(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var _t,Tt=/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="";_t=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=Lt(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++)r+=Lt(n,t,e[a]),o&&(r+=i[a]);Tt.lastIndex=0;for(var l,s="";null!==(l=Tt.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:_t}},Mt="undefined"!=typeof document,Ot=function(e){return e()},$t=!!v.useInsertionEffect&&v.useInsertionEffect,Nt=Mt&&$t||Ot,jt=$t||v.useLayoutEffect,Bt="undefined"!=typeof document,Dt=v.createContext("undefined"!=typeof HTMLElement?Ue({key:"css"}):null);Dt.Provider;var zt=function(e){return y((function(t,n){var o=x(Dt);return e(t,o,n)}))};Bt||(zt=function(e){return function(t){var n=x(Dt);return null===n?(n=Ue({key:"css"}),v.createElement(Dt.Provider,{value:n},e(t,n))):e(t,n)}});var Ft=v.createContext({}),Gt=zt((function(e,t){var n=e.styles,o=Pt([n],void 0,v.useContext(Ft));if(!Bt){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&&Et(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 Ht(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Pt(t)}var Yt=function(){var e=Ht.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_"}}},Wt=z,Vt=function(e){return"theme"!==e},Ut=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Wt:Vt},qt=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},Kt="undefined"!=typeof document,Xt=function(e){var t=e.cache,n=e.serialized,o=e.isStringTag;xt(t,n,o);var r=Nt((function(){return Et(t,n,o)}));if(!Kt&&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},Qt=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=qt(t,n,i),s=l||Ut(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=zt((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(Ft)}"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?Ut(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(Xt,{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,N({},n,o,{shouldForwardProp:qt(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){Qt[e]=Qt(e)}));var Zt={exports:{}},Jt={},en=E,tn=Symbol.for("react.element"),nn=Symbol.for("react.fragment"),on=Object.prototype.hasOwnProperty,rn=en.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,an={key:!0,ref:!0,__self:!0,__source:!0};function ln(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)on.call(t,o)&&!an.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:tn,type:e,key:i,ref:a,props:r,_owner:rn.current}}Jt.Fragment=nn,Jt.jsx=ln,Jt.jsxs=ln,Zt.exports=Jt;var sn=Zt.exports;function cn(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 sn.jsx(Gt,{styles:o})}
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){T=e.default,_=e}],execute:function(){e("default",(function(e){const t=new yd({translator:e.translator});return{qae:{properties:gf,data:bf},ext:dh({env:e,propertyHandlerData:t}),component(){const n=Bh(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(P).forEach((t=>{e.add(P[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}=mf({element:u,models:n,env:e});uh({containerId:(null==l?void 0:l.id)||"",element:u,sharedContainerUtilities:m,translator:r,dataHandler:i,propertyHandlerData:t,renderHelper:f});const[v,y]=o(!0);wh({isContainerActive:v,activeTabId:b,renderHelper:f,modifiedLayout:h}),Sh({element:u,accessibility:s,setAccessibility:c,renderHelper:f,interactions:d});const{getViewState:x}=mh(f);g((()=>({getViewState:x,getChildrenObjects(){const e=f.getChildrenObjects();return vf(e)},updateActiveState(e){y(e)}})),[])}}}));var P={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 M(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=M(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 j(){return j=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},j.apply(this,arguments)}function B(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(Te("",null,null,null,[""],e=Ee(e),0,[0],e))}function Te(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(Pe(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?Me(C+";",o,n,u-1):Me(ee(C," ","")+";",o,n,u-2),s);break;case 59:C+=";";default:if(ae(S=_e(C,t,n,c,d,r,l,y,x=[],E=[],u),i),123===v)if(0===d)Te(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:Te(e,S,S,o&&ae(_e(e,S,S,0,0,r,l,y,r,x=[],u),E),r,E,u,l,o?x:E);break;default:Te(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 _e(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 Pe(e,t,n){return he(e,t,n,V,Q(ue),oe(e,2,-2),0)}function Me(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 je=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)},Be=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]+=je(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=Be(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 _t={name:t,styles:n,next:_t},t}))}return 1===Ct[e]||At(e)||"number"!=typeof t||0===t?t:t+"px"};function Tt(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 _t={name:n.name,styles:n.styles,next:_t},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)_t={name:o.name,styles:o.styles,next:_t},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+=Tt(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=Tt(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=_t,i=n(e);return _t=r,Tt(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var _t,Pt=/label:\s*([^\s;\n{]+)\s*(;|$)/g,Mt=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="";_t=void 0;var i=e[0];null==i||void 0===i.raw?(o=!1,r+=Tt(n,t,i)):r+=i[0];for(var a=1;a<e.length;a++)r+=Tt(n,t,e[a]),o&&(r+=i[a]);Pt.lastIndex=0;for(var l,s="";null!==(l=Pt.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:_t}},Ot="undefined"!=typeof document,$t=function(e){return e()},Nt=!!v.useInsertionEffect&&v.useInsertionEffect,jt=Ot&&Nt||$t,Bt=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=Mt([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 Bt((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]),Bt((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 Mt(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=jt((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=Mt(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,j({},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})}
8
8
  /**
9
9
  * @mui/styled-engine v5.15.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 dn(e,t){return Qt(e,t)}function un(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 pn(e){if(!un(e))return e;const t={};return Object.keys(e).forEach((n=>{t[n]=pn(e[n])})),t}function hn(e,t,n={clone:!0}){const o=n.clone?N({},e):e;return un(e)&&un(t)&&Object.keys(t).forEach((r=>{"__proto__"!==r&&(un(t[r])&&r in e&&un(e[r])?o[r]=hn(e[r],t[r],n):n.clone?o[r]=un(t[r])?pn(t[r]):t[r]:o[r]=t[r])})),o}const fn=["values","unit","step"],mn=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)=>N({},e,{[t.key]:t.val})),{})};var bn={borderRadius:4};function gn(e,t){return t?hn(e,t,{clone:!1}):e}const vn={xs:0,sm:600,md:900,lg:1200,xl:1536},yn={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${vn[e]}px)`};function xn(e,t,n){const o=e.theme||{};if(Array.isArray(t)){const e=o.breakpoints||yn;return t.reduce(((o,r,i)=>(o[e.up(e.keys[i])]=n(t[i]),o)),{})}if("object"==typeof t){const e=o.breakpoints||yn;return Object.keys(t).reduce(((o,r)=>{if(-1!==Object.keys(e.values||vn).indexOf(r)){o[e.up(r)]=n(t[r],r)}else{const e=r;o[e]=t[e]}return o}),{})}return n(t)}function En(e){if("string"!=typeof e)throw new Error(O(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Sn(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 Cn(e,t,n,o=n){let r;return r="function"==typeof e?e(n):Array.isArray(e)?e[n]||o:Sn(e,n)||o,t&&(r=t(r,o,e)),r}function wn(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=Sn(e.theme,o)||{};return xn(e,i,(e=>{let o=Cn(a,r,e);return e===o&&"string"==typeof e&&(o=Cn(a,r,`${t}${"default"===e?"":En(e)}`,e)),!1===n?o:{[n]:o}}))};return i.propTypes={},i.filterProps=[t],i}const Rn={m:"margin",p:"padding"},An={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},kn={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},In=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}((e=>{if(e.length>2){if(!kn[e])return[e];e=kn[e]}const[t,n]=e.split(""),o=Rn[t],r=An[n]||"";return Array.isArray(r)?r.map((e=>o+e)):[o+r]})),Ln=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],_n=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Tn(e,t,n,o){var r;const i=null!=(r=Sn(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 Tn(e,"spacing",8)}function Mn(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 On(e,t,n,o){if(-1===t.indexOf(n))return null;const r=function(e,t){return n=>e.reduce(((e,o)=>(e[o]=Mn(t,n),e)),{})}(In(n),o);return xn(e,e[n],r)}function $n(e,t){const n=Pn(e.theme);return Object.keys(e).map((o=>On(e,t,o,n))).reduce(gn,{})}function Nn(e){return $n(e,Ln)}function jn(e){return $n(e,_n)}function Bn(...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]?gn(n,t[o](e)):n),{});return n.propTypes={},n.filterProps=e.reduce(((e,t)=>e.concat(t.filterProps)),[]),n}function Dn(e){return"number"!=typeof e?e:`${e}px solid`}function zn(e,t){return wn({prop:e,themeKey:"borders",transform:t})}Nn.propTypes={},Nn.filterProps=Ln,jn.propTypes={},jn.filterProps=_n;const Fn=zn("border",Dn),Gn=zn("borderTop",Dn),Hn=zn("borderRight",Dn),Yn=zn("borderBottom",Dn),Wn=zn("borderLeft",Dn),Vn=zn("borderColor"),Un=zn("borderTopColor"),qn=zn("borderRightColor"),Kn=zn("borderBottomColor"),Xn=zn("borderLeftColor"),Qn=zn("outline",Dn),Zn=zn("outlineColor"),Jn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Tn(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Mn(t,e)});return xn(e,e.borderRadius,n)}return null};Jn.propTypes={},Jn.filterProps=["borderRadius"],Bn(Fn,Gn,Hn,Yn,Wn,Vn,Un,qn,Kn,Xn,Jn,Qn,Zn);const eo=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Tn(e.theme,"spacing",8),n=e=>({gap:Mn(t,e)});return xn(e,e.gap,n)}return null};eo.propTypes={},eo.filterProps=["gap"];const to=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Tn(e.theme,"spacing",8),n=e=>({columnGap:Mn(t,e)});return xn(e,e.columnGap,n)}return null};to.propTypes={},to.filterProps=["columnGap"];const no=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Tn(e.theme,"spacing",8),n=e=>({rowGap:Mn(t,e)});return xn(e,e.rowGap,n)}return null};no.propTypes={},no.filterProps=["rowGap"];function oo(e,t){return"grey"===t?t:e}Bn(eo,to,no,wn({prop:"gridColumn"}),wn({prop:"gridRow"}),wn({prop:"gridAutoFlow"}),wn({prop:"gridAutoColumns"}),wn({prop:"gridAutoRows"}),wn({prop:"gridTemplateColumns"}),wn({prop:"gridTemplateRows"}),wn({prop:"gridTemplateAreas"}),wn({prop:"gridArea"}));function ro(e){return e<=1&&0!==e?100*e+"%":e}Bn(wn({prop:"color",themeKey:"palette",transform:oo}),wn({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:oo}),wn({prop:"backgroundColor",themeKey:"palette",transform:oo}));const io=wn({prop:"width",transform:ro}),ao=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])||vn[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:ro(t)}};return xn(e,e.maxWidth,t)}return null};ao.filterProps=["maxWidth"];const lo=wn({prop:"minWidth",transform:ro}),so=wn({prop:"height",transform:ro}),co=wn({prop:"maxHeight",transform:ro}),uo=wn({prop:"minHeight",transform:ro});wn({prop:"size",cssProperty:"width",transform:ro}),wn({prop:"size",cssProperty:"height",transform:ro});Bn(io,ao,lo,so,co,uo,wn({prop:"boxSizing"}));var po={border:{themeKey:"borders",transform:Dn},borderTop:{themeKey:"borders",transform:Dn},borderRight:{themeKey:"borders",transform:Dn},borderBottom:{themeKey:"borders",transform:Dn},borderLeft:{themeKey:"borders",transform:Dn},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Dn},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Jn},color:{themeKey:"palette",transform:oo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:oo},backgroundColor:{themeKey:"palette",transform:oo},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:Nn},mt:{style:Nn},mr:{style:Nn},mb:{style:Nn},ml:{style:Nn},mx:{style:Nn},my:{style:Nn},margin:{style:Nn},marginTop:{style:Nn},marginRight:{style:Nn},marginBottom:{style:Nn},marginLeft:{style:Nn},marginX:{style:Nn},marginY:{style:Nn},marginInline:{style:Nn},marginInlineStart:{style:Nn},marginInlineEnd:{style:Nn},marginBlock:{style:Nn},marginBlockStart:{style:Nn},marginBlockEnd:{style:Nn},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:eo},rowGap:{style:no},columnGap:{style:to},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:ro},maxWidth:{style:ao},minWidth:{transform:ro},height:{transform:ro},maxHeight:{transform:ro},minHeight:{transform:ro},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};const ho=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=Sn(n,l)||{};if(c)return c(r);return xn(r,t,(t=>{let n=Cn(d,s,t);return t===n&&"string"==typeof t&&(n=Cn(d,s,`${e}${"default"===t?"":En(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:po;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=gn(s,e(n,r,i,a));else{const e=xn({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=gn(s,e):s[n]=t({sx:r,theme:i})}else s=gn(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)}}();ho.filterProps=["sx"];var fo=ho;function mo(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 bo=["breakpoints","palette","spacing","shape"];function go(e={},...t){const{breakpoints:n={},palette:o={},spacing:r,shape:i={}}=e,a=j(e,bo),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,fn),i=mn(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 N({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=hn({breakpoints:l,direction:"ltr",components:{},palette:N({mode:"light"},o),spacing:s,shape:N({},bn,i)},a);return c.applyStyles=mo,c=t.reduce(((e,t)=>hn(e,t)),c),c.unstable_sxConfig=N({},po,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return fo({sx:e,theme:this})},c}function vo(e=null){const t=v.useContext(Ft);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const yo=go();function xo(e=yo){return vo(e)}function Eo({styles:e,themeId:t,defaultTheme:n={}}){const o=xo(n),r="function"==typeof e?e(t&&o[t]||o):e;return sn.jsx(cn,{styles:r})}const So=["sx"],Co=e=>{var t,n;const o={systemProps:{},otherProps:{}},r=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:po;return Object.keys(e).forEach((t=>{r[t]?o.systemProps[t]=e[t]:o.otherProps[t]=e[t]})),o};function wo(e){const{sx:t}=e,n=j(e,So),{systemProps:o,otherProps:r}=Co(n);let i;return i=Array.isArray(t)?[o,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return un(n)?N({},o,n):o}:N({},o,t),N({},r,{sx:i})}const Ro=e=>e;var Ao=(()=>{let e=Ro;return{configure(t){e=t},generate:t=>e(t),reset(){e=Ro}}})();function ko(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=ko(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Io(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=ko(e))&&(o&&(o+=" "),o+=t);return o}const Lo=["className","component"];const _o={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 To(e,t,n="Mui"){const o=_o[t];return o?`${n}-${o}`:`${Ao.generate(e)}-${t}`}function Po(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=To(e,t,n)})),o}var Mo,Oo={},$o=Symbol.for("react.element"),No=Symbol.for("react.portal"),jo=Symbol.for("react.fragment"),Bo=Symbol.for("react.strict_mode"),Do=Symbol.for("react.profiler"),zo=Symbol.for("react.provider"),Fo=Symbol.for("react.context"),Go=Symbol.for("react.server_context"),Ho=Symbol.for("react.forward_ref"),Yo=Symbol.for("react.suspense"),Wo=Symbol.for("react.suspense_list"),Vo=Symbol.for("react.memo"),Uo=Symbol.for("react.lazy"),qo=Symbol.for("react.offscreen");
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?j({},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)=>j({},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]})),Tn=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],_n=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Pn(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 Mn(e){return Pn(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=Mn(e.theme);return Object.keys(e).map((o=>$n(e,t,o,n))).reduce(vn,{})}function jn(e){return Nn(e,Tn)}function Bn(e){return Nn(e,_n)}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})}jn.propTypes={},jn.filterProps=Tn,Bn.propTypes={},Bn.filterProps=_n;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=Pn(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=Pn(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=Pn(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=Pn(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:Bn},pt:{style:Bn},pr:{style:Bn},pb:{style:Bn},pl:{style:Bn},px:{style:Bn},py:{style:Bn},padding:{style:Bn},paddingTop:{style:Bn},paddingRight:{style:Bn},paddingBottom:{style:Bn},paddingLeft:{style:Bn},paddingX:{style:Bn},paddingY:{style:Bn},paddingInline:{style:Bn},paddingInlineStart:{style:Bn},paddingInlineEnd:{style:Bn},paddingBlock:{style:Bn},paddingBlockStart:{style:Bn},paddingBlockEnd:{style:Bn},m:{style:jn},mt:{style:jn},mr:{style:jn},mb:{style:jn},ml:{style:jn},mx:{style:jn},my:{style:jn},margin:{style:jn},marginTop:{style:jn},marginRight:{style:jn},marginBottom:{style:jn},marginLeft:{style:jn},marginX:{style:jn},marginY:{style:jn},marginInline:{style:jn},marginInlineStart:{style:jn},marginInlineEnd:{style:jn},marginBlock:{style:jn},marginBlockStart:{style:jn},marginBlockEnd:{style:jn},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=B(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=B(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 j({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=Mn({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:j({mode:"light"},o),spacing:s,shape:j({},gn,i)},a);return c.applyStyles=bo,c=t.reduce(((e,t)=>fn(e,t)),c),c.unstable_sxConfig=j({},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=B(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)?j({},o,n):o}:j({},o,t),j({},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 To=["className","component"];const _o={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 Po(e,t,n="Mui"){const o=_o[t];return o?`${n}-${o}`:`${ko.generate(e)}-${t}`}function Mo(e,t,n="Mui"){const o={};return t.forEach((t=>{o[t]=Po(e,t,n)})),o}var Oo,$o={},No=Symbol.for("react.element"),jo=Symbol.for("react.portal"),Bo=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
15
  /**
16
16
  * @license React
17
17
  * react-is.production.min.js
@@ -20,7 +20,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
20
20
  *
21
21
  * This source code is licensed under the MIT license found in the
22
22
  * LICENSE file in the root directory of this source tree.
23
- */function Ko(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case $o:switch(e=e.type){case jo:case Do:case Bo:case Yo:case Wo:return e;default:switch(e=e&&e.$$typeof){case Go:case Fo:case Ho:case Uo:case Vo:case zo:return e;default:return t}}case No:return t}}}Mo=Symbol.for("react.module.reference"),Oo.ContextConsumer=Fo,Oo.ContextProvider=zo,Oo.Element=$o,Oo.ForwardRef=Ho,Oo.Fragment=jo,Oo.Lazy=Uo,Oo.Memo=Vo,Oo.Portal=No,Oo.Profiler=Do,Oo.StrictMode=Bo,Oo.Suspense=Yo,Oo.SuspenseList=Wo,Oo.isAsyncMode=function(){return!1},Oo.isConcurrentMode=function(){return!1},Oo.isContextConsumer=function(e){return Ko(e)===Fo},Oo.isContextProvider=function(e){return Ko(e)===zo},Oo.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===$o},Oo.isForwardRef=function(e){return Ko(e)===Ho},Oo.isFragment=function(e){return Ko(e)===jo},Oo.isLazy=function(e){return Ko(e)===Uo},Oo.isMemo=function(e){return Ko(e)===Vo},Oo.isPortal=function(e){return Ko(e)===No},Oo.isProfiler=function(e){return Ko(e)===Do},Oo.isStrictMode=function(e){return Ko(e)===Bo},Oo.isSuspense=function(e){return Ko(e)===Yo},Oo.isSuspenseList=function(e){return Ko(e)===Wo},Oo.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===jo||e===Do||e===Bo||e===Yo||e===Wo||e===qo||"object"==typeof e&&null!==e&&(e.$$typeof===Uo||e.$$typeof===Vo||e.$$typeof===zo||e.$$typeof===Fo||e.$$typeof===Ho||e.$$typeof===Mo||void 0!==e.getModuleId)},Oo.typeOf=Ko;const Xo=["ownerState"],Qo=["variants"],Zo=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function Jo(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const er=go(),tr=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function nr({defaultTheme:e,theme:t,themeId:n}){return o=t,0===Object.keys(o).length?e:t[n]||t;var o}function or(e){return e?(t,n)=>n[e]:null}function rr(e,t){let{ownerState:n}=t,o=j(t,Xo);const r="function"==typeof e?e(N({ownerState:n},o)):e;if(Array.isArray(r))return r.flatMap((e=>rr(e,N({ownerState:n},o))));if(r&&"object"==typeof r&&Array.isArray(r.variants)){const{variants:e=[]}=r;let t=j(r,Qo);return e.forEach((e=>{let r=!0;"function"==typeof e.props?r=e.props(N({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(N({ownerState:n},o,n)):e.style))})),t}return r}function ir(e,t){const n=N({},t);return Object.keys(e).forEach((o=>{if(o.toString().match(/^(components|slots)$/))n[o]=N({},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]=N({},i),Object.keys(r).forEach((e=>{n[o][e]=ir(r[e],i[e])}))):n[o]=i:n[o]=r}else void 0===n[o]&&(n[o]=e[o])})),n}function ar({props:e,name:t,defaultTheme:n,themeId:o}){let r=xo(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?ir(t.components[n].defaultProps,o):o}({theme:r,name:t,props:e});return i}var lr="undefined"!=typeof window?v.useLayoutEffect:v.useEffect;function sr(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 cr(e){if(e.type)return e;if("#"===e.charAt(0))return cr(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(O(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(O(10,o))}else r=r.split(",");return r=r.map((e=>parseFloat(e))),{type:n,values:r,colorSpace:o}}function dr(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 ur(e){let t="hsl"===(e=cr(e)).type||"hsla"===e.type?cr(function(e){e=cr(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])),dr({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 pr(e,t){return e=cr(e),t=sr(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,dr(e)}function hr(...e){return e.reduce(((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)}),(()=>{}))}function fr(e,t=166){let n;function o(...o){clearTimeout(n),n=setTimeout((()=>{e.apply(this,o)}),t)}return o.clear=()=>{clearTimeout(n)},o}function mr(e){return e&&e.ownerDocument||document}function br(e){return mr(e).defaultView||window}function gr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function vr(e){const t=v.useRef(e);return lr((()=>{t.current=e})),v.useRef(((...e)=>(0,t.current)(...e))).current}function yr(...e){return v.useMemo((()=>e.every((e=>null==e))?null:t=>{e.forEach((e=>{gr(e,t)}))}),e)}class xr{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new xr}start(e,t){this.clear(),this.currentId=setTimeout((()=>{this.currentId=null,t()}),e)}}let Er=!0,Sr=!1;const Cr=new xr,wr={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 Rr(e){e.metaKey||e.altKey||e.ctrlKey||(Er=!0)}function Ar(){Er=!1}function kr(){"hidden"===this.visibilityState&&Sr&&(Er=!0)}function Ir(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Er||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!wr[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Lr(){const e=v.useCallback((e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",Rr,!0),t.addEventListener("mousedown",Ar,!0),t.addEventListener("pointerdown",Ar,!0),t.addEventListener("touchstart",Ar,!0),t.addEventListener("visibilitychange",kr,!0))}),[]),t=v.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Ir(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Sr=!0,Cr.start(100,(()=>{Sr=!1})),t.current=!1,!0)},ref:e}}function _r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Tr;function Pr(){if(Tr)return Tr;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),Tr="reverse",e.scrollLeft>0?Tr="default":(e.scrollLeft=1,0===e.scrollLeft&&(Tr="negative")),document.body.removeChild(e),Tr}function Mr(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 Or(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 $r=v.createContext(null);function Nr(){return v.useContext($r)}var jr="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Br(e){const{children:t,theme:n}=e,o=Nr(),r=v.useMemo((()=>{const e=null===o?n:function(e,t){if("function"==typeof t)return t(e);return N({},e,t)}(o,n);return null!=e&&(e[jr]=null!==o),e}),[n,o]);return sn.jsx($r.Provider,{value:r,children:t})}const Dr=["value"],zr=v.createContext();function Fr(e){let{value:t}=e,n=j(e,Dr);return sn.jsx(zr.Provider,N({value:null==t||t},n))}const Gr={};function Hr(e,t,n,o=!1){return v.useMemo((()=>{const r=e&&t[e]||t;if("function"==typeof n){const i=n(r),a=e?N({},t,{[e]:i}):i;return o?()=>a:a}return N({},t,e?{[e]:n}:n)}),[e,t,n,o])}function Yr(e){const{children:t,theme:n,themeId:o}=e,r=vo(Gr),i=Nr()||Gr,a=Hr(o,r,n),l=Hr(o,i,n,!0),s="rtl"===a.direction;return sn.jsx(Br,{theme:l,children:sn.jsx(Ft.Provider,{value:a,children:sn.jsx(Fr,{value:s,children:t})})})}var Wr={black:"#000",white:"#fff"};var Vr={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 Ur={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 qr={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 Kr={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 Xr={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 Qr={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 Zr={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 Jr=["mode","contrastThreshold","tonalOffset"],ei={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:Wr.white,default:Wr.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}},ti={text:{primary:Wr.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:Wr.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 ni(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=cr(e),t=sr(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 dr(e)}(e.main,r):"dark"===t&&(e.dark=function(e,t){if(e=cr(e),t=sr(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 dr(e)}(e.main,i)))}function oi(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:o=.2}=e,r=j(e,Jr),i=e.primary||function(e="light"){return"dark"===e?{main:Xr[200],light:Xr[50],dark:Xr[400]}:{main:Xr[700],light:Xr[400],dark:Xr[800]}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Ur[200],light:Ur[50],dark:Ur[400]}:{main:Ur[500],light:Ur[300],dark:Ur[700]}}(t),l=e.error||function(e="light"){return"dark"===e?{main:qr[500],light:qr[300],dark:qr[700]}:{main:qr[700],light:qr[400],dark:qr[800]}}(t),s=e.info||function(e="light"){return"dark"===e?{main:Qr[400],light:Qr[300],dark:Qr[700]}:{main:Qr[700],light:Qr[500],dark:Qr[900]}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Zr[400],light:Zr[300],dark:Zr[700]}:{main:Zr[800],light:Zr[500],dark:Zr[900]}}(t),d=e.warning||function(e="light"){return"dark"===e?{main:Kr[400],light:Kr[300],dark:Kr[700]}:{main:"#ed6c02",light:Kr[500],dark:Kr[900]}}(t);function u(e){const t=function(e,t){const n=ur(e),o=ur(t);return(Math.max(n,o)+.05)/(Math.min(n,o)+.05)}(e,ti.text.primary)>=n?ti.text.primary:ei.text.primary;return t}const p=({color:e,name:t,mainShade:n=500,lightShade:r=300,darkShade:i=700})=>{if(!(e=N({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(O(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(O(12,t?` (${t})`:"",JSON.stringify(e.main)));return ni(e,"light",r,o),ni(e,"dark",i,o),e.contrastText||(e.contrastText=u(e.main)),e},h={dark:ti,light:ei};return hn(N({common:N({},Wr),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:Vr,contrastThreshold:n,getContrastText:u,augmentColor:p,tonalOffset:o},h[t]),r)}const ri=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const ii={textTransform:"uppercase"},ai='"Roboto", "Helvetica", "Arial", sans-serif';function li(e,t){const n="function"==typeof t?t(e):t,{fontFamily:o=ai,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,ri),h=r/14,f=u||(e=>e/c*h+"rem"),m=(e,t,n,r,i)=>{return N({fontFamily:o,fontWeight:e,fontSize:f(t),lineHeight:n},o===ai?{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,ii),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,ii),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return hn(N({htmlFontSize:c,pxToRem:f,fontFamily:o,fontSize:r,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},b),p,{clone:!1})}function si(...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 ci=["none",si(0,2,1,-1,0,1,1,0,0,1,3,0),si(0,3,1,-2,0,2,2,0,0,1,5,0),si(0,3,3,-2,0,3,4,0,0,1,8,0),si(0,2,4,-1,0,4,5,0,0,1,10,0),si(0,3,5,-1,0,5,8,0,0,1,14,0),si(0,3,5,-1,0,6,10,0,0,1,18,0),si(0,4,5,-2,0,7,10,1,0,2,16,1),si(0,5,5,-3,0,8,10,1,0,3,14,2),si(0,5,6,-3,0,9,12,1,0,3,16,2),si(0,6,6,-3,0,10,14,1,0,4,18,3),si(0,6,7,-4,0,11,15,1,0,4,20,3),si(0,7,8,-4,0,12,17,2,0,5,22,4),si(0,7,8,-4,0,13,19,2,0,5,24,4),si(0,7,9,-4,0,14,21,2,0,5,26,4),si(0,8,9,-5,0,15,22,2,0,6,28,5),si(0,8,10,-5,0,16,24,2,0,6,30,5),si(0,8,11,-5,0,17,26,2,0,6,32,5),si(0,9,11,-5,0,18,28,2,0,7,34,6),si(0,9,12,-6,0,19,29,2,0,7,36,6),si(0,10,13,-6,0,20,31,3,0,8,38,7),si(0,10,13,-6,0,21,33,3,0,8,40,7),si(0,10,14,-6,0,22,35,3,0,8,42,7),si(0,11,14,-7,0,23,36,3,0,9,44,8),si(0,11,15,-7,0,24,38,3,0,9,46,8)];const di=["duration","easing","delay"],ui={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)"},pi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function hi(e){return`${Math.round(e)}ms`}function fi(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function mi(e){const t=N({},ui,e.easing),n=N({},pi,e.duration);return N({getAutoHeightDuration:fi,create:(e=["all"],o={})=>{const{duration:r=n.standard,easing:i=t.easeInOut,delay:a=0}=o;return j(o,di),(Array.isArray(e)?e:[e]).map((e=>`${e} ${"string"==typeof r?r:hi(r)} ${i} ${"string"==typeof a?a:hi(a)}`)).join(",")}},e,{easing:t,duration:n})}var bi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};const gi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function vi(e={},...t){const{mixins:n={},palette:o={},transitions:r={},typography:i={}}=e,a=j(e,gi);if(e.vars)throw new Error(O(18));const l=oi(o),s=go(e);let c=hn(s,{mixins:(d=s.breakpoints,u=n,N({toolbar:{minHeight:56,[d.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[d.up("sm")]:{minHeight:64}}},u)),palette:l,shadows:ci.slice(),typography:li(l,i),transitions:mi(r),zIndex:N({},bi)});var d,u;return c=hn(c,a),c=t.reduce(((e,t)=>hn(e,t)),c),c.unstable_sxConfig=N({},po,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return fo({sx:e,theme:this})},c}var yi=vi();function xi(){const e=xo(yi);return e[$]||e}function Ei({props:e,name:t}){return ar({props:e,name:t,defaultTheme:yi,themeId:$})}const Si=e=>Jo(e)&&"classes"!==e,Ci=function(e={}){const{themeId:t,defaultTheme:n=er,rootShouldForwardProp:o=Jo,slotShouldForwardProp:r=Jo}=e,i=e=>fo(N({},e,{theme:nr(N({},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=or(tr(s))}=a,p=j(a,Zo),h=void 0!==c?c:s&&"Root"!==s&&"root"!==s||!1,f=d||!1;let m=Jo;"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=dn(e,N({shouldForwardProp:m,label:undefined},p)),g=e=>"function"==typeof e&&e.__emotion_real!==e||un(e)?o=>rr(e,N({},o,{theme:nr({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=nr(N({},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]=rr(n,N({},e,{theme:o}))})),u(e,i)})),l&&!h&&s.push((e=>{var o;const r=nr(N({},e,{defaultTheme:n,themeId:t}));return rr({variants:null==r||null==(o=r.components)||null==(o=o[l])?void 0:o.variants},N({},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:$,defaultTheme:yi,rootShouldForwardProp:Si});var wi=Ci;const Ri=["theme"];function Ai(e){let{theme:t}=e,n=j(e,Ri);const o=t[$];return sn.jsx(Yr,N({},n,{themeId:o?$:void 0,theme:o||t}))}var ki=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function Ii(e){return To("MuiSvgIcon",e)}Po("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Li=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],_i=wi("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${En(n.color)}`],t[`fontSize${En(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]}})),Ti=v.forwardRef((function(e,t){const n=Ei({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,Li),h=v.isValidElement(o)&&"svg"===o.type,f=N({},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 Or({root:["root","inherit"!==t&&`color${En(t)}`,`fontSize${En(n)}`]},Ii,o)})(f);return sn.jsxs(_i,N({as:a,className:Io(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?sn.jsx("title",{children:d}):null]}))}));Ti.muiName="SvgIcon";var Pi=Ti;function Mi(e,t){function n(n,o){return sn.jsx(Pi,N({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=Pi.muiName,v.memo(v.forwardRef(n))}function Oi(e,t){return Oi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oi(e,t)}function $i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Oi(e,t)}var Ni=!1,ji=E.createContext(null),Bi="unmounted",Di="exited",zi="entering",Fi="entered",Gi="exiting",Hi=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=Di,o.appearStatus=zi):r=Fi:r=t.unmountOnExit||t.mountOnEnter?Bi:Di,o.state={status:r},o.nextCallback=null,o}$i(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Bi?{status:Di}: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!==zi&&n!==Fi&&(t=zi):n!==zi&&n!==Fi||(t=Gi)}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===zi){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:L.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Di&&this.setState({status:Bi})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.context?this.context.isMounting:e,r=this.props.nodeRef?[o]:[L.findDOMNode(this),o],i=r[0],a=r[1],l=this.getTimeouts(),s=o?l.appear:l.enter;!e&&!n||Ni?this.safeSetState({status:Fi},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:zi},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Fi},(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:L.findDOMNode(this);t&&!Ni?(this.props.onExit(o),this.safeSetState({status:Gi},(function(){e.props.onExiting(o),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:Di},(function(){e.props.onExited(o)}))}))}))):this.safeSetState({status:Di},(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:L.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===Bi)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 Yi(){}Hi.contextType=ji,Hi.propTypes={},Hi.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Yi,onEntering:Yi,onEntered:Yi,onExit:Yi,onExiting:Yi,onExited:Yi},Hi.UNMOUNTED=Bi,Hi.EXITED=Di,Hi.ENTERING=zi,Hi.ENTERED=Fi,Hi.EXITING=Gi;var Wi=Hi;function Vi(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 Ui(e,t,n){return null!=n[t]?n[t]:e.props[t]}function qi(e,t,n){var o=Vi(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:Ui(a,"exit",e),enter:Ui(a,"enter",e)})):r[i]=w(a,{in:!1}):r[i]=w(a,{onExited:n.bind(null,a),in:!0,exit:Ui(a,"exit",e),enter:Ui(a,"enter",e)})}})),r}var Ki=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Xi=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}$i(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,Vi(n.children,(function(e){return w(e,{onExited:o.bind(null,e),in:!0,appear:Ui(e,"appear",n),enter:Ui(e,"enter",n),exit:Ui(e,"exit",n)})}))):qi(e,r,i),firstRender:!1}},n.handleExited=function(e,t){var n=Vi(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=N({},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=Ki(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);Xi.propTypes={},Xi.defaultProps={component:"div",childFactory:function(e){return e}};var Qi=Xi;const Zi=e=>e.scrollTop;function Ji(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 ea(e){return To("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 ta=["className","component","elevation","square","variant"],na=wi("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 N({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&&N({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${pr("#fff",ki(t.elevation))}, ${pr("#fff",ki(t.elevation))})`},e.vars&&{backgroundImage:null==(n=e.vars.overlays)?void 0:n[t.elevation]}))}));var oa=v.forwardRef((function(e,t){const n=Ei({props:e,name:"MuiPaper"}),{className:o,component:r="div",elevation:i=1,square:a=!1,variant:l="elevation"}=n,s=j(n,ta),c=N({},n,{component:r,elevation:i,square:a,variant:l}),d=(e=>{const{square:t,elevation:n,variant:o,classes:r}=e;return Or({root:["root",o,!t&&"rounded","elevation"===o&&`elevation${n}`]},ea,r)})(c);return sn.jsx(na,N({as:r,ownerState:c,className:Io(d.root,o),ref:t},s))}));function ra(e){return"string"==typeof e}function ia(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 aa(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 la=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function sa(e){var t;const{elementType:n,externalSlotProps:o,ownerState:r,skipResolvingSlotProps:i=!1}=e,a=j(e,la),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=Io(null==n?void 0:n.className,i,null==r?void 0:r.className,null==o?void 0:o.className),t=N({},null==n?void 0:n.style,null==r?void 0:r.style,null==o?void 0:o.style),a=N({},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=ia(N({},r,o)),l=aa(o),s=aa(r),c=t(a),d=Io(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=N({},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=N({},c,n,s,l);return d.length>0&&(p.className=d),Object.keys(u).length>0&&(p.style=u),{props:p,internalRef:c.ref}}(N({},a,{externalSlotProps:l})),d=function(e,t,n){return void 0===e||ra(e)?t:N({},t,{ownerState:N({},t.ownerState,n)})}(n,N({},s,{ref:yr(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),r);return d}var ca=Po("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]);const da=["center","classes","className"];let ua,pa,ha,fa,ma=e=>e;const ba=Yt(ua||(ua=ma`
23
+ */function Xo(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case No:switch(e=e.type){case Bo: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 jo:return t}}}Oo=Symbol.for("react.module.reference"),$o.ContextConsumer=Go,$o.ContextProvider=Fo,$o.Element=No,$o.ForwardRef=Yo,$o.Fragment=Bo,$o.Lazy=qo,$o.Memo=Uo,$o.Portal=jo,$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)===Bo},$o.isLazy=function(e){return Xo(e)===qo},$o.isMemo=function(e){return Xo(e)===Uo},$o.isPortal=function(e){return Xo(e)===jo},$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===Bo||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=B(t,Qo);const r="function"==typeof e?e(j({ownerState:n},o)):e;if(Array.isArray(r))return r.flatMap((e=>ir(e,j({ownerState:n},o))));if(r&&"object"==typeof r&&Array.isArray(r.variants)){const{variants:e=[]}=r;let t=B(r,Zo);return e.forEach((e=>{let r=!0;"function"==typeof e.props?r=e.props(j({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(j({ownerState:n},o,n)):e.style))})),t}return r}function ar(e,t){const n=j({},t);return Object.keys(e).forEach((o=>{if(o.toString().match(/^(components|slots)$/))n[o]=j({},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]=j({},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 Tr(){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 _r(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Pr;function Mr(){if(Pr)return Pr;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),Pr="reverse",e.scrollLeft>0?Pr="default":(e.scrollLeft=1,0===e.scrollLeft&&(Pr="negative")),document.body.removeChild(e),Pr}function Or(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Mr()){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 jr(){return v.useContext(Nr)}var Br="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function Dr(e){const{children:t,theme:n}=e,o=jr(),r=v.useMemo((()=>{const e=null===o?n:function(e,t){if("function"==typeof t)return t(e);return j({},e,t)}(o,n);return null!=e&&(e[Br]=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=B(e,zr);return cn.jsx(Fr.Provider,j({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?j({},t,{[e]:i}):i;return o?()=>a:a}return j({},t,e?{[e]:n}:n)}),[e,t,n,o])}function Wr(e){const{children:t,theme:n,themeId:o}=e,r=yo(Hr),i=jr()||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=B(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=j({},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(j({common:j({},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=B(n,ii),h=r/14,f=u||(e=>e/c*h+"rem"),m=(e,t,n,r,i)=>{return j({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(j({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=j({},pi,e.easing),n=j({},hi,e.duration);return j({getAutoHeightDuration:mi,create:(e=["all"],o={})=>{const{duration:r=n.standard,easing:i=t.easeInOut,delay:a=0}=o;return B(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=B(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,j({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:j({},gi)});var d,u;return c=fn(c,a),c=t.reduce(((e,t)=>fn(e,t)),c),c.unstable_sxConfig=j({},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(j({},e,{theme:or(j({},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=B(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,j({shouldForwardProp:m,label:undefined},p)),g=e=>"function"==typeof e&&e.__emotion_real!==e||pn(e)?o=>ir(e,j({},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(j({},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,j({},e,{theme:o}))})),u(e,i)})),l&&!h&&s.push((e=>{var o;const r=or(j({},e,{defaultTheme:n,themeId:t}));return ir({variants:null==r||null==(o=r.components)||null==(o=o[l])?void 0:o.variants},j({},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=B(e,Ai);const o=t[N];return cn.jsx(Wr,j({},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 Po("MuiSvgIcon",e)}Mo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Ti=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],_i=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]}})),Pi=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=B(n,Ti),h=v.isValidElement(o)&&"svg"===o.type,f=j({},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(_i,j({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]}))}));Pi.muiName="SvgIcon";var Mi=Pi;function Oi(e,t){function n(n,o){return cn.jsx(Mi,j({"data-testid":`${t}Icon`,ref:o},n,{children:e}))}return n.muiName=Mi.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 ji=!1,Bi=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:T.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]:[T.findDOMNode(this),o],i=r[0],a=r[1],l=this.getTimeouts(),s=o?l.appear:l.enter;!e&&!n||ji?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:T.findDOMNode(this);t&&!ji?(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:T.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=B(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return E.createElement(Bi.Provider,{value:null},"function"==typeof n?n(e,o):E.cloneElement(E.Children.only(n),o))},t}(E.Component);function Wi(){}Yi.contextType=Bi,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=j({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=B(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(Bi.Provider,{value:r},i):E.createElement(Bi.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 Po("MuiPaper",e)}Mo("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 j({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&&j({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=B(n,na),c=j({},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,j({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=B(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=j({},null==n?void 0:n.style,null==r?void 0:r.style,null==o?void 0:o.style),a=j({},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(j({},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=j({},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=j({},c,n,s,l);return d.length>0&&(p.className=d),Object.keys(u).length>0&&(p.style=u),{props:p,internalRef:c.ref}}(j({},a,{externalSlotProps:l})),d=function(e,t,n){return void 0===e||ia(e)?t:j({},t,{ownerState:j({},t.ownerState,n)})}(n,j({},s,{ref:xr(c,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),r);return d}var da=Mo("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`
24
24
  0% {
25
25
  transform: scale(0);
26
26
  opacity: 0.1;
@@ -30,7 +30,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
30
30
  transform: scale(1);
31
31
  opacity: 0.3;
32
32
  }
33
- `)),ga=Yt(pa||(pa=ma`
33
+ `)),va=Wt(ha||(ha=ba`
34
34
  0% {
35
35
  opacity: 1;
36
36
  }
@@ -38,7 +38,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
38
38
  100% {
39
39
  opacity: 0;
40
40
  }
41
- `)),va=Yt(ha||(ha=ma`
41
+ `)),ya=Wt(fa||(fa=ba`
42
42
  0% {
43
43
  transform: scale(1);
44
44
  }
@@ -50,7 +50,7 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
50
50
  100% {
51
51
  transform: scale(1);
52
52
  }
53
- `)),ya=wi("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),xa=wi((function(e){const{className:t,classes:n,pulsate:o=!1,rippleX:r,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:c}=e,[d,u]=v.useState(!1),p=Io(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),h={width:a,height:a,top:-a/2+i,left:-a/2+r},f=Io(n.child,d&&n.childLeaving,o&&n.childPulsate);return l||d||u(!0),v.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,c);return()=>{clearTimeout(e)}}}),[s,l,c]),sn.jsx("span",{className:p,style:h,children:sn.jsx("span",{className:f})})}),{name:"MuiTouchRipple",slot:"Ripple"})(fa||(fa=ma`
53
+ `)),xa=Ri("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),Ea=Ri((function(e){const{className:t,classes:n,pulsate:o=!1,rippleX:r,rippleY:i,rippleSize:a,in:l,onExited:s,timeout:c}=e,[d,u]=v.useState(!1),p=Lo(t,n.ripple,n.rippleVisible,o&&n.ripplePulsate),h={width:a,height:a,top:-a/2+i,left:-a/2+r},f=Lo(n.child,d&&n.childLeaving,o&&n.childPulsate);return l||d||u(!0),v.useEffect((()=>{if(!l&&null!=s){const e=setTimeout(s,c);return()=>{clearTimeout(e)}}}),[s,l,c]),cn.jsx("span",{className:p,style:h,children:cn.jsx("span",{className:f})})}),{name:"MuiTouchRipple",slot:"Ripple"})(ma||(ma=ba`
54
54
  opacity: 0;
55
55
  position: absolute;
56
56
 
@@ -93,6 +93,6 @@ System.register(["@nebula.js/stardust","react","react-dom"],(function(e){"use st
93
93
  animation-iteration-count: infinite;
94
94
  animation-delay: 200ms;
95
95
  }
96
- `),ca.rippleVisible,ba,550,(({theme:e})=>e.transitions.easing.easeInOut),ca.ripplePulsate,(({theme:e})=>e.transitions.duration.shorter),ca.child,ca.childLeaving,ga,550,(({theme:e})=>e.transitions.easing.easeInOut),ca.childPulsate,va,(({theme:e})=>e.transitions.easing.easeInOut));var Ea=v.forwardRef((function(e,t){const n=Ei({props:e,name:"MuiTouchRipple"}),{center:o=!1,classes:r={},className:i}=n,a=j(n,da),[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,sn.jsx(xa,{classes:{ripple:Io(r.ripple,ca.ripple),rippleVisible:Io(r.rippleVisible,ca.rippleVisible),ripplePulsate:Io(r.ripplePulsate,ca.ripplePulsate),child:Io(r.child,ca.child),childLeaving:Io(r.childLeaving,ca.childLeaving),childPulsate:Io(r.childPulsate,ca.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]),sn.jsx(ya,N({className:Io(ca.root,r.root,i),ref:f},a,{children:sn.jsx(Qi,{component:null,exit:!0,children:l})}))}));function Sa(e){return To("MuiButtonBase",e)}var Ca=Po("MuiButtonBase",["root","disabled","focusVisible"]);const wa=["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"],Ra=wi("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"},[`&.${Ca.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),Aa=v.forwardRef((function(e,t){const n=Ei({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,P=j(n,wa),M=v.useRef(null),O=v.useRef(null),$=yr(O,_),{isFocusVisibleRef:B,onFocus:D,onBlur:z,ref:F}=Lr(),[G,H]=v.useState(!1);s&&G&&H(!1),v.useImperativeHandle(o,(()=>({focusVisible:()=>{H(!0),M.current.focus()}})),[]);const[Y,W]=v.useState(!1);v.useEffect((()=>{W(!0)}),[]);const V=Y&&!c&&!s;function U(e,t,n=d){return vr((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===B.current&&H(!1),h&&h(e)}),!1),oe=vr((e=>{M.current||(M.current=e.currentTarget),D(e),!0===B.current&&(H(!0),y&&y(e)),g&&g(e)})),re=()=>{const e=M.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ie=v.useRef(!1),ae=vr((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=vr((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&&(P.href||P.to)&&(se=p);const ce={};"button"===se?(ce.type=void 0===T?"button":T,ce.disabled=s):(P.href||P.to||(ce.role="button"),s&&(ce["aria-disabled"]=s));const de=yr(t,F,M),ue=N({},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=Or({root:["root",t&&"disabled",n&&"focusVisible"]},Sa,r);return n&&o&&(i.root+=` ${o}`),i})(ue);return sn.jsxs(Ra,N({as:se,className:Io(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,P,{children:[i,V?sn.jsx(Ea,N({ref:$,center:r},L)):null]}))}));var ka=Aa;function Ia(e){return To("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 La=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],_a=wi("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${En(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})((({theme:e,ownerState:t})=>N({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}))),Ta={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"},Ma=v.forwardRef((function(e,t){const n=Ei({props:e,name:"MuiTypography"}),o=(e=>Pa[e]||e)(n.color),r=wo(N({},n,{color:o})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:d=!1,variant:u="body1",variantMapping:p=Ta}=r,h=j(r,La),f=N({},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]||Ta[u])||"span",b=(e=>{const{align:t,gutterBottom:n,noWrap:o,paragraph:r,variant:i,classes:a}=e;return Or({root:["root",i,"inherit"!==e.align&&`align${En(t)}`,n&&"gutterBottom",o&&"noWrap",r&&"paragraph"]},Ia,a)})(f);return sn.jsx(_a,N({as:m,ref:t,ownerState:f,className:Io(b.root,a)},h))}));var Oa=Ma;const $a=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Na(e){const t=[],n=[];return Array.from(e.querySelectorAll($a)).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 Ba(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:r=!1,getTabbable:i=Na,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=yr(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=mr(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=mr(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 sn.jsxs(v.Fragment,{children:[sn.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)}}),sn.jsx("div",{tabIndex:l?0:-1,onFocus:g,ref:d,"data-testid":"sentinelEnd"})]})}const Da=v.forwardRef((function(e,t){const{children:n,container:o,disablePortal:r=!1}=e,[i,a]=v.useState(null),l=yr(v.isValidElement(n)?n.ref:null,t);if(lr((()=>{r||a(function(e){return"function"==typeof e?e():e}(o)||document.body)}),[o,r]),lr((()=>{if(i&&!r)return gr(t,i),()=>{gr(t,null)}}),[t,i,r]),r){if(v.isValidElement(n)){const e={ref:l};return v.cloneElement(n,e)}return sn.jsx(v.Fragment,{children:n})}return sn.jsx(v.Fragment,{children:i?_.createPortal(n,i):i})}));function za(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Fa(e){return parseInt(br(e).getComputedStyle(e).paddingRight,10)||0}function Ga(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&&za(e,r)}))}function Ha(e,t){let n=-1;return e.some(((e,o)=>!!t(e)&&(n=o,!0))),n}function Ya(e,t){const n=[],o=e.container;if(!t.disableScrollLock){if(function(e){const t=mr(e);return t.body===e?br(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){const e=_r(mr(o));n.push({value:o.style.paddingRight,property:"padding-right",el:o}),o.style.paddingRight=`${Fa(o)+e}px`;const t=mr(o).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${Fa(t)+e}px`}))}let e;if(o.parentNode instanceof DocumentFragment)e=mr(o).body;else{const t=o.parentElement,n=br(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 Wa=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&&za(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);Ga(t,e.mount,e.modalRef,o,!0);const r=Ha(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=Ha(this.containers,(t=>-1!==t.modals.indexOf(e))),o=this.containers[n];o.restore||(o.restore=Ya(o,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const o=Ha(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&&za(e.modalRef,t),Ga(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&&za(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function Va(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:r=Wa,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=yr(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=vr((()=>{const e=function(e){return"function"==typeof e?e():e}(t)||mr(h.current).body;r.add(E(),e),f.current&&S()})),w=v.useCallback((()=>r.isTopModal(E())),[r]),R=vr((e=>{h.current=e,e&&(d&&w()?S():f.current&&za(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=ia(e);delete n.onTransitionEnter,delete n.onTransitionExited;const o=N({},n,t);return N({role:"presentation"},o,{onKeyDown:k(o),ref:m})},getBackdropProps:(e={})=>N({"aria-hidden":!0},e,{onClick:I(e),open:d}),getTransitionProps:()=>({onEnter:hr((()=>{g(!1),a&&a()}),null==s?void 0:s.props.onEnter),onExited:hr((()=>{g(!0),l&&l(),i&&A()}),null==s?void 0:s.props.onExited)}),rootRef:m,portalRef:R,isTopModal:w,exited:b,hasTransition:y}}const Ua=["onChange","maxRows","minRows","style","value"];function qa(e){return parseInt(e,10)||0}const Ka={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function Xa(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const Qa=v.forwardRef((function(e,t){const{onChange:n,maxRows:o,minRows:r=1,style:i,value:a}=e,l=j(e,Ua),{current:s}=v.useRef(null!=a),c=v.useRef(null),d=yr(t,c),u=v.useRef(null),p=v.useRef(0),[h,f]=v.useState({outerHeightStyle:0}),m=v.useCallback((()=>{const t=c.current,n=br(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=qa(n.paddingBottom)+qa(n.paddingTop),s=qa(n.borderBottomWidth)+qa(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();Xa(e)||f((t=>b(t,e)))}),[m]);lr((()=>{const e=()=>{p.current=0,(()=>{const e=m();Xa(e)||_.flushSync((()=>{f((t=>b(t,e)))}))})()};const t=fr(e),n=c.current,o=br(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]),lr((()=>{g()})),v.useEffect((()=>{p.current=0}),[a]);return sn.jsxs(v.Fragment,{children:[sn.jsx("textarea",N({value:a,onChange:e=>{p.current=0,s||g(),n&&n(e)},ref:d,rows:r,style:N({height:h.outerHeightStyle,overflow:h.overflow?"hidden":void 0},i)},l)),sn.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:u,tabIndex:-1,style:N({},Ka,i,{paddingTop:0,paddingBottom:0})})]})}));var Za=v.createContext(void 0);function Ja(){return v.useContext(Za)}function el(e){return sn.jsx(Eo,N({},e,{defaultTheme:yi,themeId:$}))}function tl(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function nl(e){return To("MuiInputBase",e)}var ol=Po("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);const rl=["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"],il=wi("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${En(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})((({theme:e,ownerState:t})=>N({},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",[`&.${ol.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&N({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"}))),al=wi("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=N({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 N({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] + .${ol.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},[`&.${ol.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"})})),ll=sn.jsx(el,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),sl=v.forwardRef((function(e,t){var n;const o=Ei({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:P,rows:M,slotProps:$={},slots:B={},startAdornment:D,type:z="text",value:F}=o,G=j(o,rl),H=null!=g.value?g.value:F,{current:Y}=v.useRef(null!=H),W=v.useRef(),V=v.useCallback((e=>{}),[]),U=yr(W,y,g.ref,V),[q,K]=v.useState(!1),X=Ja(),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&&(tl(e.value)&&""!==e.value||t&&tl(e.defaultValue)&&""!==e.defaultValue)}(e)?J&&J():Z&&Z()}),[Z,J]);lr((()=>{Y&&ee({value:H})}),[H,ee,Y]);v.useEffect((()=>{ee(W.current)}),[]);let te=b,ne=g;S&&"input"===te&&(ne=N(M?{type:void 0,minRows:M,maxRows:M}:{type:void 0,maxRows:x,minRows:E},ne),te=Qa);v.useEffect((()=>{X&&X.setAdornedStart(Boolean(D))}),[X,D]);const oe=N({},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 Or({root:["root",`color${En(n)}`,o&&"disabled",r&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${En(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"]},nl,t)})(oe),ie=B.root||s.Root||il,ae=$.root||c.root||{},le=B.input||s.Input||al;return ne=N({},ne,null!=(n=$.input)?n:c.input),sn.jsxs(v.Fragment,{children:[!p&&ll,sn.jsxs(ie,N({},ae,!ra(ie)&&{ownerState:N({},oe,ae.ownerState)},{ref:t,onClick:e=>{W.current&&e.currentTarget===e.target&&W.current.focus(),A&&A(e)}},G,{className:Io(re.root,ae.className,l,T&&"MuiInputBase-readOnly"),children:[D,sn.jsx(Za.Provider,{value:null,children:sn.jsx(le,N({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:M,value:H,onKeyDown:I,onKeyUp:L,type:z},ne,!ra(le)&&{as:te,ownerState:N({},oe,ne.ownerState)},{ref:U,className:Io(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(O(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,P?P(N({},Q,{startAdornment:D})):null]}))]})}));var cl=sl;const dl=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],ul={entering:{opacity:1},entered:{opacity:1}},pl=v.forwardRef((function(e,t){const n=xi(),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=Wi}=e,y=j(e,dl),x=v.useRef(null),E=yr(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)=>{Zi(e);const o=Ji({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=Ji({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 sn.jsx(g,N({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,N({style:N({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},ul[e],m,a.props.style),ref:E},t))}))}));var hl=pl;function fl(e){return To("MuiBackdrop",e)}Po("MuiBackdrop",["root","invisible"]);const ml=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],bl=wi("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})((({ownerState:e})=>N({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"}))),gl=v.forwardRef((function(e,t){var n,o,r;const i=Ei({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=hl,transitionDuration:b}=i,g=j(i,ml),v=N({},i,{component:s,invisible:u}),y=(e=>{const{classes:t,invisible:n}=e;return Or({root:["root",n&&"invisible"]},fl,t)})(v),x=null!=(n=h.root)?n:d.root;return sn.jsx(m,N({in:p,timeout:b},g,{children:sn.jsx(bl,N({"aria-hidden":!0},x,{as:null!=(o=null!=(r=f.root)?r:c.Root)?o:s,className:Io(y.root,l,null==x?void 0:x.className),ownerState:N({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var vl=gl;var yl=Po("MuiBox",["root"]);const xl=vi(),El=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:r}=e,i=dn("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(fo);return v.forwardRef((function(e,a){const l=xo(n),s=wo(e),{className:c,component:d="div"}=s,u=j(s,Lo);return sn.jsx(i,N({as:d,ref:a,className:Io(c,r?r(o):o),theme:t&&l[t]||l},u))}))}({themeId:$,defaultTheme:xl,defaultClassName:yl.root,generateClassName:Ao.generate});var Sl=El;function Cl(e){return To("MuiButton",e)}var wl=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 Rl=v.createContext({});var Al=v.createContext(void 0);const kl=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Il=e=>N({},"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}}),Ll=wi(ka,{shouldForwardProp:e=>Si(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${En(n.color)}`],t[`size${En(n.size)}`],t[`${n.variant}Size${En(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 N({},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":N({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:pr(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})`:pr(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})`:pr(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":N({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${wl.focusVisible}`]:N({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${wl.disabled}`]:N({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 ${pr(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"},[`&.${wl.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${wl.disabled}`]:{boxShadow:"none"}})),_l=wi("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${En(n.size)}`]]}})((({ownerState:e})=>N({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Il(e)))),Tl=wi("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${En(n.size)}`]]}})((({ownerState:e})=>N({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Il(e)))),Pl=v.forwardRef((function(e,t){const n=v.useContext(Rl),o=v.useContext(Al),r=Ei({props:ir(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,kl),E=N({},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 N({},a,Or({root:["root",i,`${i}${En(t)}`,`size${En(r)}`,`${i}Size${En(r)}`,"inherit"===t&&"colorInherit",n&&"disableElevation",o&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${En(r)}`],endIcon:["endIcon",`iconSize${En(r)}`]},Cl,a))})(E),C=b&&sn.jsx(_l,{className:S.startIcon,ownerState:E,children:b}),w=p&&sn.jsx(Tl,{className:S.endIcon,ownerState:E,children:p}),R=o||"";return sn.jsxs(Ll,N({ownerState:E,className:Io(n.className,S.root,s,R),component:l,disabled:c,focusRipple:!u,focusVisibleClassName:Io(S.focusVisible,h),ref:t,type:g},x,{classes:S,children:[C,i,w]}))}));var Ml=Pl;function Ol(e){return To("MuiModal",e)}Po("MuiModal",["root","hidden","backdrop"]);const $l=["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"],Nl=wi("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})=>N({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),jl=wi(vl,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),Bl=v.forwardRef((function(e,t){var n,o,r,i,a,l;const s=Ei({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,$l),P=N({},s,{closeAfterTransition:p,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:E,disablePortal:S,disableRestoreFocus:C,disableScrollLock:w,hideBackdrop:R,keepMounted:A}),{getRootProps:M,getBackdropProps:O,getTransitionProps:$,portalRef:B,isTopModal:D,exited:z,hasTransition:F}=Va(N({},P,{rootRef:t})),G=N({},P,{exited:z}),H=(e=>{const{open:t,exited:n,classes:o}=e;return Or({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},Ol,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:Nl,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=sa({elementType:W,externalSlotProps:U,externalForwardedProps:T,getSlotProps:M,additionalProps:{ref:t,as:m},ownerState:G,className:Io(u,null==U?void 0:U.className,null==H?void 0:H.root,!G.open&&G.exited&&(null==H?void 0:H.hidden))}),X=sa({elementType:V,externalSlotProps:q,additionalProps:d,getSlotProps:e=>O(N({},e,{onClick:t=>{k&&k(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Io(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?sn.jsx(Da,{ref:B,container:f,disablePortal:S,children:sn.jsxs(W,N({},K,{children:[!R&&c?sn.jsx(V,N({},X)):null,sn.jsx(Ba,{disableEnforceFocus:x,disableAutoFocus:y,disableRestoreFocus:C,isEnabled:D,open:I,children:v.cloneElement(h,Y)})]}))}):null}));var Dl=Bl;function zl(e){return To("MuiDivider",e)}const Fl=Po("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),Gl=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],Hl=wi("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})=>N({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)`:pr(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})=>N({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>N({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>N({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>N({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}}))),Yl=wi("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})((({theme:e,ownerState:t})=>N({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)`}))),Wl=v.forwardRef((function(e,t){const n=Ei({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,Gl),f=N({},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 Or({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"]},zl,o)})(f);return sn.jsx(Hl,N({as:a,className:Io(m.root,i),role:d,ref:t,ownerState:f},h,{children:r?sn.jsx(Yl,{className:m.wrapper,ownerState:f,children:r}):null}))}));Wl.muiSkipListHighlight=!0;var Vl=Wl;const Ul=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function ql(e){return`scale(${e}, ${e**2})`}const Kl={entering:{opacity:1,transform:ql(1)},entered:{opacity:1,transform:"none"}},Xl="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Ql=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=Wi}=e,b=j(e,Ul),g=v.useRef(),y=v.useRef(),x=xi(),E=v.useRef(null),S=yr(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)=>{Zi(e);const{duration:n,delay:o,easing:r}=Ji({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:Xl?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}=Ji({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:Xl?r:.666*r,delay:Xl?n:n||.333*r,easing:o})].join(","),e.style.opacity=0,e.style.transform=ql(.75),d&&d(e)})),L=C(u);return v.useEffect((()=>()=>{clearTimeout(g.current)}),[]),sn.jsx(m,N({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,N({style:N({opacity:0,transform:ql(.75),visibility:"exited"!==e||a?void 0:"hidden"},Kl[e],h,r.props.style),ref:S},t))}))}));Ql.muiSupportAuto=!0;var Zl=Ql;function Jl(e){return To("MuiInputAdornment",e)}var es,ts=Po("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);const ns=["children","className","component","disablePointerEvents","disableTypography","position","variant"],os=wi("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${En(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})((({theme:e,ownerState:t})=>N({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${ts.positionStart}&:not(.${ts.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"}))),rs=v.forwardRef((function(e,t){const n=Ei({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,ns),u=Ja()||{};let p=c;c&&u.variant,u&&!p&&(p=u.variant);const h=N({},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 Or({root:["root",n&&"disablePointerEvents",r&&`position${En(r)}`,a,o&&"hiddenLabel",i&&`size${En(i)}`]},Jl,t)})(h);return sn.jsx(Za.Provider,{value:null,children:sn.jsx(os,N({as:i,ownerState:h,className:Io(f.root,r),ref:t},d,{children:"string"!=typeof o||l?sn.jsxs(v.Fragment,{children:["start"===s?es||(es=sn.jsx("span",{className:"notranslate",children:"​"})):null,o]}):sn.jsx(Oa,{color:"text.secondary",children:o})}))})}));var is=rs;var as=v.createContext({});function ls(e){return To("MuiList",e)}Po("MuiList",["root","padding","dense","subheader"]);const ss=["children","className","component","dense","disablePadding","subheader"],cs=wi("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})=>N({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})));var ds=v.forwardRef((function(e,t){const n=Ei({props:e,name:"MuiList"}),{children:o,className:r,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,c=j(n,ss),d=v.useMemo((()=>({dense:a})),[a]),u=N({},n,{component:i,dense:a,disablePadding:l}),p=(e=>{const{classes:t,disablePadding:n,dense:o,subheader:r}=e;return Or({root:["root",!n&&"padding",o&&"dense",r&&"subheader"]},ls,t)})(u);return sn.jsx(as.Provider,{value:d,children:sn.jsxs(cs,N({as:i,className:Io(p.root,r),ref:t,ownerState:u},c,{children:[s,o]}))})}));function us(e){return To("MuiListItem",e)}var ps=Po("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function hs(e){return To("MuiListItemButton",e)}var fs=Po("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);const ms=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],bs=wi(ka,{shouldForwardProp:e=>Si(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})=>N({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"}},[`&.${fs.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:pr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${fs.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:pr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${fs.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:pr(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})`:pr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${fs.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${fs.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 gs=v.forwardRef((function(e,t){const n=Ei({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,ms),f=v.useContext(as),m=v.useMemo((()=>({dense:l||f.dense||!1,alignItems:o,disableGutters:s})),[o,f.dense,l,s]),b=v.useRef(null);lr((()=>{r&&b.current&&b.current.focus()}),[r]);const g=N({},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 N({},n,Or({root:["root",o&&"dense",!i&&"gutters",a&&"divider",r&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},hs,n))})(g),x=yr(b,t);return sn.jsx(as.Provider,{value:m,children:sn.jsx(bs,N({ref:x,href:h.href||h.to,component:(h.href||h.to)&&"div"===i?"button":i,focusVisibleClassName:Io(y.focusVisible,d),ownerState:g,className:Io(y.root,p)},h,{classes:y,children:a}))})}));function vs(e){return To("MuiListItemSecondaryAction",e)}Po("MuiListItemSecondaryAction",["root","disableGutters"]);const ys=["className"],xs=wi("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})((({ownerState:e})=>N({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0}))),Es=v.forwardRef((function(e,t){const n=Ei({props:e,name:"MuiListItemSecondaryAction"}),{className:o}=n,r=j(n,ys),i=N({},n,{disableGutters:v.useContext(as).disableGutters}),a=(e=>{const{disableGutters:t,classes:n}=e;return Or({root:["root",t&&"disableGutters"]},vs,n)})(i);return sn.jsx(xs,N({className:Io(a.root,o),ownerState:i,ref:t},r))}));Es.muiName="ListItemSecondaryAction";var Ss=Es;const Cs=["className"],ws=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Rs=wi("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})=>N({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&N({paddingTop:8,paddingBottom:8},t.dense&&{paddingTop:4,paddingBottom:4},!t.disableGutters&&{paddingLeft:16,paddingRight:16},!!t.secondaryAction&&{paddingRight:48}),!!t.secondaryAction&&{[`& > .${fs.root}`]:{paddingRight:48}},{[`&.${ps.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${ps.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:pr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${ps.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:pr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${ps.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"}},[`&.${ps.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:pr(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})`:pr(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48}))),As=wi("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),ks=v.forwardRef((function(e,t){const n=Ei({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,Cs),R=j(n,ws),A=v.useContext(as),k=v.useMemo((()=>({dense:h||A.dense||!1,alignItems:o,disableGutters:m})),[o,A.dense,h,m]),I=v.useRef(null);lr((()=>{r&&I.current&&I.current.focus()}),[r]);const L=v.Children.toArray(a),_=L.length&&(T=L[L.length-1],P=["ListItemSecondaryAction"],v.isValidElement(T)&&-1!==P.indexOf(null!=(M=T.type.muiName)?M:null==(O=T.type)||null==(O=O._payload)||null==(O=O.value)?void 0:O.muiName));var T,P,M,O;const $=N({},n,{alignItems:o,autoFocus:r,button:i,dense:k.dense,disabled:f,disableGutters:m,disablePadding:b,divider:g,hasSecondaryAction:_,selected:E}),B=(e=>{const{alignItems:t,button:n,classes:o,dense:r,disabled:i,disableGutters:a,disablePadding:l,divider:s,hasSecondaryAction:c,selected:d}=e;return Or({root:["root",r&&"dense",!a&&"gutters",!l&&"padding",s&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",c&&"secondaryAction",d&&"selected"],container:["container"]},us,o)})($),D=yr(I,t),z=C.root||c.Root||Rs,F=S.root||d.root||{},G=N({className:Io(B.root,F.className,l),disabled:f},R);let H=s||"li";return i&&(G.component=s||"div",G.focusVisibleClassName=Io(ps.focusVisible,y),H=ka),_?(H=G.component||s?H:"div","li"===u&&("li"===H?H="div":"li"===G.component&&(G.component="div")),sn.jsx(as.Provider,{value:k,children:sn.jsxs(As,N({as:u,className:Io(B.container,p),ref:D,ownerState:$},w,{children:[sn.jsx(z,N({},F,!ra(z)&&{as:H,ownerState:N({},$,F.ownerState)},G,{children:L})),L.pop()]}))})):sn.jsx(as.Provider,{value:k,children:sn.jsxs(z,N({},F,{as:H,ref:D},!ra(z)&&{ownerState:N({},$,F.ownerState)},G,{children:[L,x&&sn.jsx(Ss,{children:x})]}))})}));var Is=ks;function Ls(e){return To("MuiListItemIcon",e)}const _s=Po("MuiListItemIcon",["root","alignItemsFlexStart"]),Ts=["className"],Ps=wi("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})=>N({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})));var Ms=v.forwardRef((function(e,t){const n=Ei({props:e,name:"MuiListItemIcon"}),{className:o}=n,r=j(n,Ts),i=N({},n,{alignItems:v.useContext(as).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return Or({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Ls,n)})(i);return sn.jsx(Ps,N({className:Io(a.root,o),ownerState:i,ref:t},r))}));var Os=Po("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const $s=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function Ns(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 Bs(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 Ds(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")&&Bs(l,i)&&!t)return l.focus(),!0;l=r(e,l,n)}return!1}var zs=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,$s),p=v.useRef(null),h=v.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});lr((()=>{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=`${_r(mr(e))}px`;p.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=n,p.current.style.width=`calc(100% + ${n})`}return p.current}})),[]);const f=yr(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 sn.jsx(ds,N({role:"menu",ref:f,className:a,onKeyDown:e=>{const t=p.current,n=e.key,o=mr(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Ds(t,o,s,l,Ns);else if("ArrowUp"===n)e.preventDefault(),Ds(t,o,s,l,js);else if("Home"===n)e.preventDefault(),Ds(t,null,s,l,Ns);else if("End"===n)e.preventDefault(),Ds(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&&Bs(o,r);r.previousKeyMatched&&(s||Ds(t,o,!1,l,Ns,r))?e.preventDefault():r.previousKeyMatched=!1}c&&c(e)},tabIndex:o?0:-1},u,{children:b}))}));function Fs(e){return To("MuiPopover",e)}Po("MuiPopover",["root","paper"]);const Gs=["onEntering"],Hs=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],Ys=["slotProps"];function Ws(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function Vs(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Us(e){return[e.horizontal,e.vertical].map((e=>"number"==typeof e?`${e}px`:e)).join(" ")}function qs(e){return"function"==typeof e?e():e}const Ks=wi(Dl,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Xs=wi(oa,{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 Qs=v.forwardRef((function(e,t){var n,o,r;const i=Ei({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=Zl,transitionDuration:C="auto",TransitionProps:{onEntering:w}={},disableScrollLock:R=!1}=i,A=j(i.TransitionProps,Gs),k=j(i,Hs),I=null!=(n=null==x?void 0:x.paper)?n:g,L=v.useRef(),_=yr(L,I.ref),T=N({},i,{anchorOrigin:s,anchorReference:d,elevation:f,marginThreshold:m,externalPaperSlotProps:I,transformOrigin:E,TransitionComponent:S,transitionDuration:C,TransitionProps:A}),P=(e=>{const{classes:t}=e;return Or({root:["root"],paper:["paper"]},Fs,t)})(T),M=v.useCallback((()=>{if("anchorPosition"===d)return c;const e=qs(l),t=(e&&1===e.nodeType?e:mr(L.current).body).getBoundingClientRect();return{top:t.top+Ws(t,s.vertical),left:t.left+Vs(t,s.horizontal)}}),[l,s.horizontal,s.vertical,c,d]),O=v.useCallback((e=>({vertical:Ws(e,E.vertical),horizontal:Vs(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:Us(n)};const o=M();let r=o.top-n.vertical,i=o.left-n.horizontal;const a=r+t.height,s=i+t.width,c=br(qs(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:Us(n)}}),[l,d,M,O,m]),[B,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=fr((()=>{z()})),t=br(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?mr(qs(l)).body:void 0),H=null!=(o=null==y?void 0:y.root)?o:Ks,Y=null!=(r=null==y?void 0:y.paper)?r:Xs,W=sa({elementType:Y,externalSlotProps:N({},I,{style:B?I.style:N({},I.style,{opacity:0})}),additionalProps:{elevation:f,ref:_},ownerState:T,className:Io(P.paper,null==I?void 0:I.className)}),V=sa({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:Io(P.root,p)}),{slotProps:U}=V,q=j(V,Ys);return sn.jsx(H,N({},q,!ra(H)&&{slotProps:U,disableScrollLock:R},{children:sn.jsx(S,N({appear:!0,in:b,onEntering:(e,t)=>{w&&w(e,t),z()},onExited:()=>{D(!1)},timeout:F},A,{children:sn.jsx(Y,N({},W,{children:u}))}))}))}));function Zs(e){return To("MuiMenu",e)}Po("MuiMenu",["root","paper","list"]);const Js=["onEntering"],ec=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],tc={vertical:"top",horizontal:"right"},nc={vertical:"top",horizontal:"left"},oc=wi(Qs,{shouldForwardProp:e=>Si(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),rc=wi(Xs,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),ic=wi(zs,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0});var ac=v.forwardRef((function(e,t){var n,o;const r=Ei({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,Js),E=j(r,ec),S=xi(),C="rtl"===S.direction,w=N({},r,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:c,onEntering:m,PaperProps:p,transitionDuration:f,TransitionProps:x,variant:b}),R=(e=>{const{classes:t}=e;return Or({root:["root"],paper:["paper"],list:["list"]},Zs,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:rc,_=null!=(o=y.paper)?o:p,T=sa({elementType:g.root,externalSlotProps:y.root,ownerState:w,className:[R.root,l]}),P=sa({elementType:L,externalSlotProps:_,ownerState:w,className:R.paper});return sn.jsx(oc,N({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?tc:nc,slots:{paper:L,root:g.root},slotProps:{root:T,paper:P},open:u,ref:t,transitionDuration:f,TransitionProps:N({onEntering:(e,t)=>{k.current&&k.current.adjustStyleForScrollbar(e,S),m&&m(e,t)}},x),ownerState:w},E,{classes:h,children:sn.jsx(ic,N({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:k,autoFocus:i&&(-1===I||s),autoFocusItem:A,variant:b},c,{className:Io(R.list,c.className),children:a}))}))}));function lc(e){return To("MuiMenuItem",e)}var sc=Po("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);const cc=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],dc=wi(ka,{shouldForwardProp:e=>Si(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})=>N({},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"}},[`&.${sc.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:pr(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${sc.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:pr(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${sc.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:pr(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})`:pr(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${sc.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${sc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${Fl.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${Fl.inset}`]:{marginLeft:52},[`& .${Os.root}`]:{marginTop:0,marginBottom:0},[`& .${Os.inset}`]:{paddingLeft:36},[`& .${_s.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&N({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${_s.root} svg`]:{fontSize:"1.25rem"}}))));var uc=v.forwardRef((function(e,t){const n=Ei({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,cc),h=v.useContext(as),f=v.useMemo((()=>({dense:i||h.dense||!1,disableGutters:l})),[h.dense,i,l]),m=v.useRef(null);lr((()=>{o&&m.current&&m.current.focus()}),[o]);const b=N({},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 N({},a,Or({root:["root",n&&"dense",t&&"disabled",!r&&"gutters",o&&"divider",i&&"selected"]},lc,a))})(n),y=yr(m,t);let x;return n.disabled||(x=void 0!==d?d:-1),sn.jsx(as.Provider,{value:f,children:sn.jsx(dc,N({ref:y,role:c,tabIndex:x,component:r,focusVisibleClassName:Io(g.focusVisible,s),className:Io(g.root,u)},p,{ownerState:b,classes:g}))})}));function pc(e){return To("MuiTab",e)}var hc=Po("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]);const fc=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],mc=wi(ka,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${En(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped]}})((({theme:e,ownerState:t})=>N({},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,[`& > .${hc.iconWrapper}`]:N({},"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,[`&.${hc.selected}`]:{opacity:1},[`&.${hc.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${hc.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${hc.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${hc.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${hc.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)}))),bc=v.forwardRef((function(e,t){const n=Ei({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,fc),E=N({},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 Or({root:["root",i&&a&&"labelIcon",`textColor${En(n)}`,o&&"fullWidth",r&&"wrapped",l&&"selected",s&&"disabled"],iconWrapper:["iconWrapper"]},pc,t)})(E),C=l&&d&&v.isValidElement(l)?v.cloneElement(l,{className:Io(S.iconWrapper,l.props.className)}):l;return sn.jsxs(mc,N({focusRipple:!i,className:Io(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?sn.jsxs(v.Fragment,{children:[C,d]}):sn.jsxs(v.Fragment,{children:[d,C]}),c]}))}));var gc=bc,vc=Mi(sn.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),yc=Mi(sn.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function xc(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const Ec=["onChange"],Sc={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Cc(e){return To("MuiTabScrollButton",e)}var wc=Po("MuiTabScrollButton",["root","vertical","horizontal","disabled"]);const Rc=["className","slots","slotProps","direction","orientation","disabled"],Ac=wi(ka,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})((({ownerState:e})=>N({width:40,flexShrink:0,opacity:.8,[`&.${wc.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}}))),kc=v.forwardRef((function(e,t){var n,o;const r=Ei({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:l={},direction:s}=r,c=j(r,Rc),d=N({isRtl:"rtl"===xi().direction},r),u=(e=>{const{classes:t,orientation:n,disabled:o}=e;return Or({root:["root",n,o&&"disabled"]},Cc,t)})(d),p=null!=(n=a.StartScrollButtonIcon)?n:vc,h=null!=(o=a.EndScrollButtonIcon)?o:yc,f=sa({elementType:p,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),m=sa({elementType:h,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return sn.jsx(Ac,N({component:"div",className:Io(u.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===s?sn.jsx(p,N({},f)):sn.jsx(h,N({},m))}))}));var Ic=kc;function Lc(e){return To("MuiTabs",e)}var _c=Po("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);const Tc=["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,Mc=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Oc=(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)}},$c=wi("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${_c.scrollButtons}`]:t.scrollButtons},{[`& .${_c.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>N({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${_c.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),Nc=wi("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})=>N({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=wi("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})=>N({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"}))),Bc=wi("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})((({ownerState:e,theme:t})=>N({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}))),Dc=wi((function(e){const{onChange:t}=e,n=j(e,Ec),o=v.useRef(),r=v.useRef(null),i=()=>{o.current=r.current.offsetHeight-r.current.clientHeight};return lr((()=>{const e=fr((()=>{const e=o.current;i(),e!==o.current&&t(o.current)})),n=br(r.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}}),[t]),v.useEffect((()=>{i(),t(o.current)}),[t]),sn.jsx("div",N({style:Sc,ref:r},n))}))({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),zc={},Fc=v.forwardRef((function(e,t){const n=Ei({props:e,name:"MuiTabs"}),o=xi(),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=Ic,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,Tc),L="scrollable"===A,_="vertical"===m,T=_?"scrollTop":"scrollLeft",P=_?"top":"left",M=_?"bottom":"right",O=_?"clientHeight":"clientWidth",$=_?"height":"width",B=N({},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 Or({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"]},Lc,s)})(B),z=sa({elementType:x.StartScrollButtonIcon,externalSlotProps:E.startScrollButtonIcon,ownerState:B}),F=sa({elementType:x.EndScrollButtonIcon,externalSlotProps:E.endScrollButtonIcon,ownerState:B}),[G,H]=v.useState(!1),[Y,W]=v.useState(zc),[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:Mr(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=vr((()=>{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=xc,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=vr((e=>{const{tabsMeta:t,tabMeta:n}=oe();if(n&&t)if(n[P]<t[P]){const o=t[T]+(n[P]-t[P]);ie(o,{animation:e})}else if(n[M]>t[M]){const o=t[T]+(n[M]-t[M]);ie(o,{animation:e})}})),pe=vr((()=>{L&&!1!==g&&Q(!X)}));v.useEffect((()=>{const e=fr((()=>{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=br(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(zc!==Y)}),[ue,Y]),v.useImperativeHandle(l,(()=>({updateIndicator:re,updateScrollButtons:pe})),[re,pe]);const he=sn.jsx(Bc,N({},S,{className:Io(D.indicator,S.className),ownerState:B,style:N({},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,N({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?sn.jsx(Dc,{onChange:de,className:Io(D.scrollableX,D.hideScrollbar)}):null;const t=L&&("auto"===g&&(V||q)||!0===g);return e.scrollButtonStart=t?sn.jsx(b,N({slots:{StartScrollButtonIcon:x.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:z},orientation:m,direction:r?"right":"left",onClick:se,disabled:!V},C,{className:Io(D.scrollButtons,C.className)})):null,e.scrollButtonEnd=t?sn.jsx(b,N({slots:{EndScrollButtonIcon:x.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:F},orientation:m,direction:r?"left":"right",onClick:ce,disabled:!q},C,{className:Io(D.scrollButtons,C.className)})):null,e})();return sn.jsxs($c,N({className:Io(D.root,d),ownerState:B,ref:t,as:u},I,{children:[be.scrollButtonStart,be.scrollbarSizeListener,sn.jsxs(Nc,{className:D.scroller,ownerState:B,style:{overflow:Z.overflow,[_?"margin"+(r?"Left":"Right"):"marginBottom"]:k?void 0:-Z.scrollbarWidth},ref:te,children:[sn.jsx(jc,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===m?"vertical":null,className:D.flexContainer,ownerState:B,onKeyDown:e=>{const t=ne.current,n=mr(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(),Oc(t,n,Mc);break;case i:e.preventDefault(),Oc(t,n,Pc);break;case"Home":e.preventDefault(),Oc(t,null,Pc);break;case"End":e.preventDefault(),Oc(t,null,Mc)}},ref:ne,role:"tablist",children:me}),G&&he]}),be.scrollButtonEnd]}))}));var Gc,Hc=Fc;function Yc(){return Yc=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},Yc.apply(null,arguments)}var Wc,Vc=function(e){return v.createElement("svg",Yc({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Gc||(Gc=v.createElement("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5z"})))};function Uc(){return Uc=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},Uc.apply(null,arguments)}var qc=function(e){return v.createElement("svg",Uc({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"currentColor"},e),Wc||(Wc=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 Kc({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 Xc={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)"},Qc=12,Zc=14,Jc=16,ed=24,td=3,nd=300,od=400,rd=600,id=700,ad={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};var ld=(e={})=>E.createElement(Kc,{...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:Xc.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})))),sd=(e={})=>E.createElement(Kc,{...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"}))),cd=(e={})=>E.createElement(Kc,{...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"})))),dd=(e={})=>E.createElement(Kc,{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"})))),ud=(e={})=>E.createElement(Kc,{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"}))),pd=({className:e})=>E.createElement(Kc,{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 hd={MuiAccordion:{styleOverrides:{root:{backgroundColor:Xc.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Xc.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:E.createElement(Vc,{"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 ${Xc.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Xc.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`,borderRadius:td,backgroundColor:Xc.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 ${Xc.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Xc.WHITE,color:Xc.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:td},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Xc.GREYSCALE_0_15,backgroundColor:Xc.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Xc.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Xc.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Xc.GREEN_PALE},"&:active":{backgroundColor:Xc.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Xc.GREEN_PALE,boxShadow:`0 0 0 3px ${pr(Xc.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Xc.BLUE_PALE},"&:active":{backgroundColor:Xc.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Xc.BLUE_PALE,boxShadow:`0 0 0 3px ${pr(Xc.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:td,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Xc.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Xc.GREYSCALE_0_15,backgroundColor:Xc.GREYSCALE_100_60,"&:active":{backgroundColor:Xc.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Xc.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Xc.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Xc.PURPLE,"&.Mui-focusVisible":{borderColor:Xc.PURPLE,boxShadow:`0 0 0 3px ${pr(Xc.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Xc.GREEN,"&.Mui-focusVisible":{borderColor:Xc.GREEN,boxShadow:`0 0 0 3px ${pr(Xc.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Xc.BLUE,"&.Mui-focusVisible":{borderColor:Xc.BLUE,boxShadow:`0 0 0 3px ${pr(Xc.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Xc.ORANGE,"&.Mui-focusVisible":{borderColor:Xc.ORANGE,boxShadow:`0 0 0 3px ${pr(Xc.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Xc.RED,"&.Mui-focusVisible":{borderColor:Xc.RED,boxShadow:`0 0 0 3px ${pr(Xc.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Xc.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Xc.PURPLE_PALE},"&:active":{backgroundColor:Xc.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Xc.PURPLE_PALE,boxShadow:`0 0 0 3px ${pr(Xc.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Xc.GREEN_PALE},"&:active":{backgroundColor:Xc.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Xc.GREEN_PALE,boxShadow:`0 0 0 3px ${pr(Xc.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Xc.BLUE_PALE},"&:active":{backgroundColor:Xc.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Xc.BLUE_PALE,boxShadow:`0 0 0 3px ${pr(Xc.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Xc.ORANGE_PALE},"&:active":{backgroundColor:Xc.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Xc.ORANGE_PALE,boxShadow:`0 0 0 3px ${pr(Xc.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Xc.RED_PALE},"&:active":{backgroundColor:Xc.RED_DARK},"&.Mui-focusVisible":{borderColor:Xc.RED_PALE,boxShadow:`0 0 0 3px ${pr(Xc.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:Xc.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Xc.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:td,boxShadow:`inset 0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:E.createElement(qc,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:Qc,borderRadius:td,color:Xc.TEXT_PRIMARY,backgroundColor:Xc.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Xc.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Xc.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Xc.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Xc.GREYSCALE_0_05,color:Xc.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Xc.GREEN,borderColor:Xc.GREEN},"&.MuiChip-outlinedInfo":{color:Xc.BLUE,borderColor:Xc.BLUE},"&.MuiChip-outlinedWarning":{color:Xc.ORANGE,borderColor:Xc.ORANGE},"&.MuiChip-outlinedError":{color:Xc.RED,borderColor:Xc.RED}},outlined:{border:`solid 1px ${Xc.GREYSCALE_0_15}`,backgroundColor:Xc.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:td,boxShadow:"none",backgroundColor:Xc.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Xc.GREEN,borderColor:Xc.GREEN},outlinedSecondary:{color:Xc.BLUE,borderColor:Xc.BLUE},label:{fontFamily:ad.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:E.createElement(qc,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:E.createElement(Vc,{"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:td},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:td,fontSize:Zc,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Xc.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Xc.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Xc.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Xc.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Xc.GREYSCALE_0_05}}},popupIndicator:{borderRadius:td,border:`solid 1px ${Xc.GREYSCALE_0_15}`,color:Xc.GREYSCALE_0_60,marginRight:0,width:ed,height:ed},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Xc.GREYSCALE_0_15}`},clearIndicator:{borderRadius:td,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Xc.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Zc}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:Qc,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Xc.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Xc.GREYSCALE_25,fontSize:Qc,fontFamily:ad.FONT_FAMILY,fontWeight:rd,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Xc.TEXT_PRIMARY},"&.Mui-error":{color:Xc.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Xc.TEXT_SECONDARY,content:"'(optional)'",fontWeight:od,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Xc.TEXT_SECONDARY,content:"'(required)'",fontWeight:od,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Zc,lineHeight:"16px",backgroundColor:Xc.WHITE,borderRadius:td,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Xc.GREYSCALE_0_05}`,borderColor:Xc.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Xc.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Xc.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Xc.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Xc.RED}`,boxShadow:`0px 0px 0px 1px ${Xc.RED}, inset 0 2px 0 0 ${Xc.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Xc.GREYSCALE_0_10}`,borderColor:Xc.GREYSCALE_0_10,backgroundColor:Xc.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Xc.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Xc.GREYSCALE_0_15,borderRadius:td,boxShadow:`inset 0 2px 0 0 ${Xc.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>E.createElement(Vc,{...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:Xc.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Xc.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Xc.GREYSCALE_0_03},"&:active":{backgroundColor:Xc.GREYSCALE_0_10},"&:focus":{backgroundColor:Xc.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Xc.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Xc.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Xc.GREYSCALE_0_30,"&:hover":{backgroundColor:Xc.GREYSCALE_0_0,borderColor:Xc.GREYSCALE_0_15},"& ~svg":{color:Xc.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Xc.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:td}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Xc.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Xc.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Zc,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:Qc,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:Qc,fontWeight:rd,color:Xc.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:rd}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Xc.GREYSCALE_0_15}, 0px 0px 0px 1px ${Xc.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:E.createElement(dd,null),checkedIcon:E.createElement(ud,null)},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Xc.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Xc.GREEN_PALE,boxShadow:`0 0 0 3px ${pr(Xc.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Xc.BLUE_PALE,boxShadow:`0 0 0 3px ${pr(Xc.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Xc.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Xc.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:E.createElement(ld,null),checkedIcon:E.createElement(sd,null),indeterminateIcon:E.createElement(cd,null)},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:td,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Xc.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Xc.GREYSCALE_0_55,color:Xc.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:Xc.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Xc.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Xc.GREYSCALE_0_55,"&:hover":{color:Xc.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:Xc.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Xc.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Zc,color:Xc.TEXT_PRIMARY,lineHeight:"16px",fontWeight:rd},secondary:{fontSize:Qc,color:Xc.GREYSCALE_45,fontWeight:od,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Zc,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"},button:{"&:hover":{backgroundColor:Xc.GREYSCALE_0_03},"&:active":{backgroundColor:Xc.GREYSCALE_0_05}}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Zc,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Xc.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Qc,borderBottom:`solid 1px ${Xc.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Zc,color:Xc.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Xc.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Xc.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Xc.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:Xc.RED}}},"&.Mui-focusVisible":{backgroundColor:Xc.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:Xc.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:Xc.GREEN,height:"24px","&.Mui-disabled":{color:Xc.GREYSCALE_0_15}},rail:{backgroundColor:Xc.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Xc.GREYSCALE_0_05}`,borderRadius:td,boxShadow:`inset 0px 0px 0px 1px ${Xc.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Xc.GREYSCALE_0_05}`,borderRadius:td},thumb:{height:"16px",width:"16px",borderRadius:td,backgroundColor:Xc.WHITE,boxShadow:`0px 1px 2px 0px ${Xc.GREYSCALE_0_15}, 0px 0px 0px 1px ${Xc.GREYSCALE_0_05}`,"&:hover":{borderRadius:td,boxShadow:`0 2px 4px 0 ${Xc.GREYSCALE_0_30}, 0 0 0 1px ${Xc.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Xc.GREYSCALE_0_15}, 0 0 0 1px ${Xc.GREYSCALE_0_06}, 0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Xc.GREYSCALE_0_15}, 0 0 0 1px ${Xc.GREYSCALE_0_06}, 0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Xc.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Xc.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Xc.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Xc.GREYSCALE_0_15},markLabel:{color:Xc.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Xc.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Xc.WHITE,color:Xc.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:Xc.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:Xc.GREEN_PALE,boxShadow:`0 0 0 3px ${pr(Xc.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Xc.BLUE_PALE,boxShadow:`0 0 0 3px ${pr(Xc.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Xc.GREYSCALE_0_15,borderRadius:td},thumb:{height:"16px",width:"16px",borderRadius:td,backgroundColor:Xc.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:Zc,fontWeight:rd,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Xc.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Xc.MISC_FOCUS_BORDER}`,backgroundColor:Xc.GREYSCALE_0_03,borderRadius:td},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Xc.GREYSCALE_25,"&.Mui-selected":{color:Xc.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Zc,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:td,"&:hover":{backgroundColor:`${Xc.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 ${Xc.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Xc.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:td,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Xc.GREYSCALE_0_05},"&:hover":{backgroundColor:`${Xc.GREYSCALE_0_03}`,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Xc.GREYSCALE_85}`,borderRight:`1px solid ${Xc.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:rd,backgroundColor:Xc.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:Xc.GREYSCALE_98,borderBottom:`1px solid ${Xc.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Xc.GREYSCALE_85}`,borderTop:`1px solid ${Xc.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Xc.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Xc.GREYSCALE_0_05,"&:hover":{backgroundColor:Xc.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Xc.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>E.createElement(pd,{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 ${Xc.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Zc,borderRadius:td,padding:"7px 16px",border:`1px solid ${Xc.GREYSCALE_0_15}`,backgroundColor:Xc.GREYSCALE_100_60,color:Xc.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Xc.GREYSCALE_0_10,border:`1px solid ${Xc.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Xc.GREYSCALE_0_03,border:`1px solid ${Xc.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Xc.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Xc.MISC_FOCUS_BORDER}`,border:`1px solid ${Xc.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Xc.GREYSCALE_25,backgroundColor:Xc.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Xc.GREYSCALE_0_10,border:`1px solid ${Xc.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Qc,height:24,width:24,padding:7},sizeLarge:{fontSize:Jc,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Zc,borderRadius:td}}},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:Xc.GREYSCALE_20},tooltip:{backgroundColor:Xc.GREYSCALE_20,fontSize:Qc,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}};var fd=e=>hd;const md={mode:"light",primary:{ultraLight:Xc.GREEN_ULTRA_LIGHT,light:Xc.GREEN_PALE,main:Xc.GREEN,dark:Xc.GREEN_DARK,extraDark:Xc.GREEN_EXTRA_DARK,contrastText:Xc.WHITE},secondary:{ultraLight:Xc.BLUE_ULTRA_LIGHT,light:Xc.BLUE_PALE,main:Xc.BLUE,dark:Xc.BLUE_DARK,extraDark:Xc.BLUE_EXTRA_DARK,contrastText:Xc.WHITE},error:{ultraLight:Xc.RED_ULTRA_LIGHT,light:Xc.RED_PALE,main:Xc.RED,dark:Xc.RED_DARK,extraDark:Xc.RED_EXTRA_DARK,contrastText:Xc.WHITE},warning:{ultraLight:Xc.ORANGE_ULTRA_LIGHT,light:Xc.ORANGE_PALE,main:Xc.ORANGE,dark:Xc.ORANGE_DARK,extraDark:Xc.ORANGE_EXTRA_DARK,contrastText:Xc.WHITE},success:{ultraLight:Xc.GREEN_ULTRA_LIGHT,light:Xc.GREEN_PALE,main:Xc.GREEN,dark:Xc.GREEN_DARK,extraDark:Xc.GREEN_EXTRA_DARK,contrastText:Xc.WHITE},info:{ultraLight:Xc.BLUE_ULTRA_LIGHT,light:Xc.BLUE_PALE,main:Xc.BLUE,dark:Xc.BLUE_DARK,extraDark:Xc.BLUE_EXTRA_DARK,contrastText:Xc.WHITE},text:{primary:Xc.TEXT_PRIMARY,secondary:Xc.TEXT_SECONDARY,disabled:Xc.GREYSCALE_0_30},action:{hover:Xc.GREYSCALE_0_03,hoverOpacity:.03,selected:Xc.GREYSCALE_0_05,selectedOpacity:.05,focus:Xc.MISC_FOCUS_BORDER},amethyst:{ultraLight:Xc.WHITE,main:Xc.PURPLE,light:Xc.PURPLE_PALE,dark:Xc.PURPLE_DARK,extraDark:Xc.GREYSCALE_0_0,contrastText:Xc.WHITE},background:{paper:Xc.WHITE,default:Xc.GREYSCALE_95},divider:Xc.GREYSCALE_0_15},bd=e=>md;function gd(e){return vi({components:fd(),palette:bd(),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:Zc,fontWeightLight:nd,fontWeightRegular:od,fontWeightMedium:rd,fontWeightBold:id,htmlFontSize:Zc,fontFamily:ad.FONT_FAMILY,button:{fontWeight:rd,fontSize:Zc,textTransform:"none"},body1:{fontSize:Jc,lineHeight:"24px"},body2:{fontSize:Zc,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:ed,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:Jc,fontWeight:rd,lineHeight:"16px"},h6:{fontSize:Zc,fontWeight:rd,lineHeight:"16px"},caption:{color:Xc.TEXT_SECONDARY},subtitle1:{fontSize:Zc,color:Xc.TEXT_SECONDARY},subtitle2:{fontSize:Qc,color:Xc.TEXT_SECONDARY}},shape:{borderRadius:td},direction:e})}class vd{constructor({translator:e}){M(this,"translator",void 0),M(this,"muiTheme",void 0),M(this,"containers",{}),M(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}})),M(this,"setMuiTheme",(e=>{this.muiTheme=gd(e)})),M(this,"destroy",(e=>{delete this.containers[e]})),this.translator=e}}const yd=["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 xd{constructor(e,t){M(this,"embed",void 0),M(this,"translator",void 0),M(this,"charts",{}),M(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(!(yd.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})),M(this,"getChart",(e=>(this.charts[e]||this.getCharts(),this.charts[e]))),this.embed=e,this.translator=t}}var Ed,Sd=L;function Cd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ed=Sd.createRoot,Sd.hydrateRoot;const wd=(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){Cd(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"})),Rd=y(wd),Ad="rgb(89, 89, 89)",kd=Qt(Sl)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),Id=Qt(Sl)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}),Ld=Qt(ds,{shouldForwardProp:e=>"width"!==e})((({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}}))),_d=Qt(Oa)({color:Ad,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),Td=Qt(Ms)({"&.MuiListItemIcon-root":{minWidth:32,color:Ad,marginRight:"0px"}}),Pd=Qt(Vl)({"&.MuiDivider-root":{borderBottom:"3px solid #595959"}}),Md=Qt(Ml)({"&.MuiButton-contained":{backgroundColor:Ad,color:"rgb(255, 255, 255)"},"&.MuiButton-outlined":{backgroundColor:"rgb(255, 255, 255)",borderColor:Ad,color:Ad,border:"1px solid rgb(179, 179, 179)","&:hover":{backgroundColor:"rgb(255, 255, 255)",border:`1px solid ${Ad}`}}}),Od=Qt(Pi)({width:"1em",height:"1em",paddingBottom:"8px"}),$d=Qt(Pi)({width:"16px",height:"16px"}),Nd=({name:e,items:t,onSelect:n})=>E.createElement(E.Fragment,null,E.createElement(Is,{key:e,dense:!0},E.createElement(_d,{noWrap:!0,fontWeight:"bold"},e)),E.createElement(Pd,null),t.map((e=>{var t;return E.createElement(Is,{key:null!==(t=e.qExtendsId)&&void 0!==t?t:e.name,divider:!0,disablePadding:!0,disableGutters:!0},E.createElement(gs,{sx:{minHeight:"32px",height:"auto"},onClick:()=>n(e),disableRipple:!0,dense:!0},e.iconPath&&E.createElement(Td,null,e.IconDefinition?E.createElement(e.IconDefinition,null):E.createElement($d,{viewBox:"0 0 16 16"},E.createElement("path",{d:e.iconPath}))),E.createElement(_d,{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(Qs,{open:l,anchorEl:t,onClose:n,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{marginTop:"5px"}},E.createElement(cl,{fullWidth:!0,onChange:e=>{a(e.target.value)},startAdornment:E.createElement(is,{position:"start"},E.createElement(Rd,null))}),E.createElement(Pd,null),E.createElement(Ld,{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(Nd,{key:e.name,name:e.name,items:t,onSelect:o})}))))},Bd=({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||""}})).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}})).sort(((e,t)=>e.name.localeCompare(t.name)))},{name:o.get("LayoutContainer.Object.Charts"),items:d.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:(null===(o=e.libraryInfo)||void 0===o?void 0:o.name)||e.id,translation:(null===(r=e.libraryInfo)||void 0===r?void 0:r.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.name,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})},Dd=e=>{var t,n;const o=Fd(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:[]},zd=(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}))},Fd=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 Gd=zd,Hd=e=>{const t={...e};return t.objects=Dd(t),t},Yd=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}),{})},Wd=e=>e.objects.reduce(((e,t)=>(e[t.childRefId]=t,e)),{}),Vd=(e,t)=>{var n;if(!e)return t;const o=zd(e,t);return null==o||null===(n=o.qInfo)||void 0===n?void 0:n.qId};class Ud{constructor({app:e,data:t}){M(this,"layout",void 0),M(this,"app",void 0),M(this,"activeId",""),M(this,"data",void 0),M(this,"properties",void 0),M(this,"setSelectedChild",(e=>{var t;null===(t=this.activeContainer.sharedContainerUtilities)||void 0===t||t.setSelected(e)})),M(this,"addChild",(({initProps:e,objectInitProps:t,children:n})=>{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})})),M(this,"deleteChild",(async e=>{const{dataHandler:t}=this.activeContainer;await(null==t?void 0:t.deleteChildren([e]))})),M(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]))}})),M(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],Ed(o)})(this.activeContainer.element,"add-child-popover"),n=()=>{t.unmount()};null==t||t.render(E.createElement(Ai,{theme:this.data.muiTheme},E.createElement(Bd,{translator:this.data.translator,anchorEl:e,dataHandler:this.activeContainer.dataHandler,onClose:n,width:220,sharedContainerUtilities:this.activeContainer.sharedContainerUtilities})))}})),M(this,"setModel",(e=>{this.activeId=e.id})),M(this,"setLayout",(e=>{this.layout=e})),M(this,"getLayout",(()=>this.layout)),M(this,"getEngineId",(e=>Vd(this.layout,e))),M(this,"setProperties",(e=>{this.properties=e})),M(this,"canAddDimension",(()=>!1)),M(this,"canAddMeasure",(()=>!1)),M(this,"canColorBy",(()=>!1)),M(this,"getDimensions",(()=>[])),M(this,"getMeasures",(()=>[])),M(this,"minDimensions",(()=>0)),M(this,"minMeasures",(()=>0)),M(this,"maxDimensions",(()=>0)),M(this,"maxMeasures",(()=>0)),this.app=e,this.data=t}get activeContainer(){return this.data.containers[this.activeId]}getObject(e){const t=this.getEngineId(e);if(t)return this.activeContainer.renderHelper.objectMap[t]}}function qd(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 Ud({app:o.app,data:e.propertyHandlerData});r.setModel(o);const i=await r.addChild({initProps:t,children:n});i&&r.setSelectedChild([i.id])},canReceive(e){if(this.model.layout.qExtendsId)return!1;if("libraryitem"===e.type){const{item:t}=e;if("template"===t.type&&yd.includes(t.template))return!1;if("visualization"===t.type&&yd.includes(t.visualization))return!1}return"gridcell"!==e.type||!yd.includes(e.cell.model.layout.visualization)}}}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 Pu(){return this.rgb().formatRgb()}function Mu(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 Bu(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 Bu(t[1],t[2],t[3],1):(t=Ru.exec(e))?new Bu(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 Bu(NaN,NaN,NaN,0):null}function Ou(e){return new Bu(e>>16&255,e>>8&255,255&e,1)}function $u(e,t,n,o){return o<=0&&(e=t=n=NaN),new Bu(e,t,n,o)}function Nu(e){return e instanceof vu||(e=Mu(e)),e?new Bu((e=e.rgb()).r,e.g,e.b,e.opacity):new Bu}function ju(e,t,n,o){return 1===arguments.length?Nu(e):new Bu(e,t,n,null==o?1:o)}function Bu(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=Mu(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,Mu,{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:Pu,toString:Pu}),bu(Bu,ju,gu(vu,{brighter(e){return e=null==e?yu:Math.pow(yu,e),new Bu(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Bu(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Bu(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 Bu(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 Bu||(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 Bu(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=ju(e)).r,(t=ju(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){
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=B(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,j({className:Lo(da.root,r.root,i),ref:f},a,{children:cn.jsx(Zi,{component:null,exit:!0,children:l})}))}));function Ca(e){return Po("MuiButtonBase",e)}var wa=Mo("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:T,type:_}=n,P=B(n,Ra),M=v.useRef(null),O=v.useRef(null),$=xr(O,T),{isFocusVisibleRef:N,onFocus:D,onBlur:z,ref:F}=Tr(),[G,H]=v.useState(!1);s&&G&&H(!1),v.useImperativeHandle(o,(()=>({focusVisible:()=>{H(!0),M.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=>{M.current||(M.current=e.currentTarget),D(e),!0===N.current&&(H(!0),y&&y(e)),g&&g(e)})),re=()=>{const e=M.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&&(P.href||P.to)&&(se=p);const ce={};"button"===se?(ce.type=void 0===_?"button":_,ce.disabled=s):(P.href||P.to||(ce.role="button"),s&&(ce["aria-disabled"]=s));const de=xr(t,F,M),ue=j({},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,j({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:_},ce,P,{children:[i,V?cn.jsx(Sa,j({ref:$,center:r},L)):null]}))}));var Ia=ka;function La(e){return Po("MuiTypography",e)}Mo("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Ta=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],_a=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})=>j({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}))),Pa={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Ma={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=>Ma[e]||e)(n.color),r=Ro(j({},n,{color:o})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:c=!1,paragraph:d=!1,variant:u="body1",variantMapping:p=Pa}=r,h=B(r,Ta),f=j({},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]||Pa[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(_a,j({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 ja(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 Ba(){return!0}function Da(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:r=!1,getTabbable:i=ja,isEnabled:a=Ba,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?_.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=_r(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=j({},n,t);return j({role:"presentation"},o,{onKeyDown:k(o),ref:m})},getBackdropProps:(e={})=>j({"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=B(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)||_.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",j({value:a,onChange:e=>{p.current=0,s||g(),n&&n(e)},ref:d,rows:r,style:j({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:j({},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,j({},e,{defaultTheme:xi,themeId:N}))}function nl(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function ol(e){return Po("MuiInputBase",e)}var rl=Mo("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})=>j({},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&&j({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=j({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 j({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:T,readOnly:_,renderSuffix:P,rows:M,slotProps:O={},slots:N={},startAdornment:D,type:z="text",value:F}=o,G=B(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=j(M?{type:void 0,minRows:M,maxRows:M}:{type:void 0,maxRows:x,minRows:E},ne),te=Za);v.useEffect((()=>{X&&X.setAdornedStart(Boolean(D))}),[X,D]);const oe=j({},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=j({},ne,null!=(n=O.input)?n:c.input),cn.jsxs(v.Fragment,{children:[!p&&sl,cn.jsxs(ie,j({},ae,!ia(ie)&&{ownerState:j({},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,_&&"MuiInputBase-readOnly"),children:[D,cn.jsx(Ja.Provider,{value:null,children:cn.jsx(le,j({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:T,readOnly:_,required:Q.required,rows:M,value:H,onKeyDown:I,onKeyUp:L,type:z},ne,!ia(le)&&{as:te,ownerState:j({},oe,ne.ownerState)},{ref:U,className:Lo(re.input,ne.className,_&&"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,P?P(j({},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=B(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,j({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,j({style:j({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 Po("MuiBackdrop",e)}Mo("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})=>j({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=B(i,bl),v=j({},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,j({in:p,timeout:b},g,{children:cn.jsx(gl,j({"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:j({},v,null==x?void 0:x.ownerState),classes:y,ref:t,children:a}))}))}));var yl=vl;var xl=Mo("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=B(s,To);return cn.jsx(i,j({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 Po("MuiButton",e)}var Rl=Mo("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=>j({},"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}}),Tl=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 j({},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":j({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":j({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${Rl.focusVisible}`]:j({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${Rl.disabled}`]:j({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"}})),_l=Ri("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Sn(n.size)}`]]}})((({ownerState:e})=>j({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Ll(e)))),Pl=Ri("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Sn(n.size)}`]]}})((({ownerState:e})=>j({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Ll(e)))),Ml=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=B(r,Il),E=j({},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 j({},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(_l,{className:S.startIcon,ownerState:E,children:b}),w=p&&cn.jsx(Pl,{className:S.endIcon,ownerState:E,children:p}),R=o||"";return cn.jsxs(Tl,j({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=Ml;function $l(e){return Po("MuiModal",e)}Mo("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"],jl=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})=>j({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"}))),Bl=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=Bl,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:T}=s,_=B(s,Nl),P=j({},s,{closeAfterTransition:p,disableAutoFocus:y,disableEnforceFocus:x,disableEscapeKeyDown:E,disablePortal:S,disableRestoreFocus:C,disableScrollLock:w,hideBackdrop:R,keepMounted:A}),{getRootProps:M,getBackdropProps:O,getTransitionProps:$,portalRef:N,isTopModal:D,exited:z,hasTransition:F}=Ua(j({},P,{rootRef:t})),G=j({},P,{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==T?void 0:T.root)?o:b.Root)?n:jl,V=null!=(r=null!=(i=null==T?void 0:T.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:_,getSlotProps:M,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(j({},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,j({},K,{children:[!R&&c?cn.jsx(V,j({},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 Po("MuiDivider",e)}const Gl=Mo("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})=>j({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})=>j({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}})),(({theme:e,ownerState:t})=>j({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}})),(({theme:e,ownerState:t})=>j({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}})),(({ownerState:e})=>j({},"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})=>j({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=B(n,Hl),f=j({},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,j({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=B(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,j({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,j({style:j({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 Po("MuiInputAdornment",e)}var ts,ns=Mo("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})=>j({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=B(n,os),u=el()||{};let p=c;c&&u.variant,u&&!p&&(p=u.variant);const h=j({},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,j({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 Po("MuiList",e)}Mo("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})=>j({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=B(n,cs),d=v.useMemo((()=>({dense:a})),[a]),u=j({},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,j({as:i,className:Lo(p.root,r),ref:t,ownerState:u},c,{children:[s,o]}))})}));function ps(e){return Po("MuiListItem",e)}var hs=Mo("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function fs(e){return Po("MuiListItemButton",e)}var ms=Mo("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})=>j({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=B(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=j({},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 j({},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,j({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 Po("MuiListItemSecondaryAction",e)}Mo("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})=>j({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=B(n,xs),i=j({},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,j({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})=>j({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&j({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=B(n.ContainerProps,ws),R=B(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),T=L.length&&(_=L[L.length-1],P=["ListItemSecondaryAction"],v.isValidElement(_)&&-1!==P.indexOf(null!=(M=_.type.muiName)?M:null==(O=_.type)||null==(O=O._payload)||null==(O=O.value)?void 0:O.muiName));var _,P,M,O;const $=j({},n,{alignItems:o,autoFocus:r,button:i,dense:k.dense,disabled:f,disableGutters:m,disablePadding:b,divider:g,hasSecondaryAction:T,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=j({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),T?(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,j({as:u,className:Lo(N.container,p),ref:D,ownerState:$},w,{children:[cn.jsx(z,j({},F,!ia(z)&&{as:H,ownerState:j({},$,F.ownerState)},G,{children:L})),L.pop()]}))})):cn.jsx(ls.Provider,{value:k,children:cn.jsxs(z,j({},F,{as:H,ref:D},!ia(z)&&{ownerState:j({},$,F.ownerState)},G,{children:[L,x&&cn.jsx(Cs,{children:x})]}))})}));var Ls=Is;function Ts(e){return Po("MuiListItemIcon",e)}const _s=Mo("MuiListItemIcon",["root","alignItemsFlexStart"]),Ps=["className"],Ms=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})=>j({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=B(n,Ps),i=j({},n,{alignItems:v.useContext(ls).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return $r({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Ts,n)})(i);return cn.jsx(Ms,j({className:Lo(a.root,o),ownerState:i,ref:t},r))}));var $s=Mo("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);const Ns=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function js(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Bs(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=B(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=`${_r(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,j({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,js);else if("ArrowUp"===n)e.preventDefault(),zs(t,o,s,l,Bs);else if("Home"===n)e.preventDefault(),zs(t,null,s,l,js);else if("End"===n)e.preventDefault(),zs(t,null,s,l,Bs);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,js,r))?e.preventDefault():r.previousKeyMatched=!1}c&&c(e)},tabIndex:o?0:-1},u,{children:b}))}));function Gs(e){return Po("MuiPopover",e)}Mo("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=B(i.TransitionProps,Hs),k=B(i,Ys),I=null!=(n=null==x?void 0:x.paper)?n:g,L=v.useRef(),T=xr(L,I.ref),_=j({},i,{anchorOrigin:s,anchorReference:d,elevation:f,marginThreshold:m,externalPaperSlotProps:I,transformOrigin:E,TransitionComponent:S,transitionDuration:C,TransitionProps:A}),P=(e=>{const{classes:t}=e;return $r({root:["root"],paper:["paper"]},Gs,t)})(_),M=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=M();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,M,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:j({},I,{style:N?I.style:j({},I.style,{opacity:0})}),additionalProps:{elevation:f,ref:T},ownerState:_,className:Lo(P.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:_,className:Lo(P.root,p)}),{slotProps:U}=V,q=B(V,Ws);return cn.jsx(H,j({},q,!ia(H)&&{slotProps:U,disableScrollLock:R},{children:cn.jsx(S,j({appear:!0,in:b,onEntering:(e,t)=>{w&&w(e,t),z()},onExited:()=>{D(!1)},timeout:F},A,{children:cn.jsx(Y,j({},W,{children:u}))}))}))}));function Js(e){return Po("MuiMenu",e)}Mo("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=B(r.TransitionProps,ec),E=B(r,tc),S=Ei(),C="rtl"===S.direction,w=j({},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,T=null!=(o=y.paper)?o:p,_=ca({elementType:g.root,externalSlotProps:y.root,ownerState:w,className:[R.root,l]}),P=ca({elementType:L,externalSlotProps:T,ownerState:w,className:R.paper});return cn.jsx(rc,j({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?nc:oc,slots:{paper:L,root:g.root},slotProps:{root:_,paper:P},open:u,ref:t,transitionDuration:f,TransitionProps:j({onEntering:(e,t)=>{k.current&&k.current.adjustStyleForScrollbar(e,S),m&&m(e,t)}},x),ownerState:w},E,{classes:h,children:cn.jsx(ac,j({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 Po("MuiMenuItem",e)}var cc=Mo("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})=>j({},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},[`& .${_s.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&j({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${_s.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=B(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=j({},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 j({},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,j({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 Po("MuiTab",e)}var fc=Mo("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})=>j({},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}`]:j({},"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=B(n,mc),E=j({},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,j({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 Po("MuiTabScrollButton",e)}var Rc=Mo("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})=>j({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=B(r,Ac),d=j({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,j({component:"div",className:Lo(u.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===s?cn.jsx(p,j({},f)):cn.jsx(h,j({},m))}))}));var Lc=Ic;function Tc(e){return Po("MuiTabs",e)}var _c=Mo("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]);const Pc=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],Mc=(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[{[`& .${_c.scrollButtons}`]:t.scrollButtons},{[`& .${_c.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})((({ownerState:e,theme:t})=>j({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${_c.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}}))),jc=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})=>j({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"}))),Bc=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})=>j({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})=>j({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=B(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",j({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=B(n,Pc),L="scrollable"===A,T="vertical"===m,_=T?"scrollTop":"scrollLeft",P=T?"top":"left",M=T?"bottom":"right",O=T?"clientHeight":"clientWidth",$=T?"height":"width",N=j({},n,{component:u,allowScrollButtonsMobile:p,indicatorColor:h,orientation:m,vertical:T,scrollButtons:g,textColor:w,variant:A,visibleScrollbar:k,fixed:!L,hideScrollbar:L&&!k,scrollableX:L&&!T,scrollableY:L&&T,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"]},Tc,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(T)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)}(_,te.current,e,{duration:o.transitions.duration.standard}):te.current[_]=e},ae=e=>{let t=te.current[_];T?t+=e:(t+=e*(r?-1:1),t*=r&&"reverse"===Mr()?-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[P]<t[P]){const o=t[_]+(n[P]-t[P]);ie(o,{animation:e})}else if(n[M]>t[M]){const o=t[_]+(n[M]-t[M]);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,j({},S,{className:Lo(D.indicator,S.className),ownerState:N,style:j({},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,j({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,j({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,j({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,j({className:Lo(D.root,d),ownerState:N,ref:t,as:u},I,{children:[be.scrollButtonStart,be.scrollbarSizeListener,cn.jsxs(jc,{className:D.scroller,ownerState:N,style:{overflow:Z.overflow,[T?"margin"+(r?"Left":"Right"):"marginBottom"]:k?void 0:-Z.scrollbarWidth},ref:te,children:[cn.jsx(Bc,{"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,Mc);break;case"Home":e.preventDefault(),$c(t,null,Mc);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=T;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%"}),Td=Zt(us,{shouldForwardProp:e=>"width"!==e})((({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}}))),_d=Zt($a)({color:kd,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),Pd=Zt(Os)({"&.MuiListItemIcon-root":{minWidth:32,color:kd,marginRight:"0px"}}),Md=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(Mi)({width:"1em",height:"1em",paddingBottom:"8px"}),Nd=Zt(Mi)({width:"16px",height:"16px"}),jd=({name:e,items:t,onSelect:n})=>E.createElement(E.Fragment,null,E.createElement(Ls,{key:e,dense:!0},E.createElement(_d,{noWrap:!0,fontWeight:"bold"},e)),E.createElement(Md,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(Pd,null,e.IconDefinition?E.createElement(e.IconDefinition,null):E.createElement(Nd,{viewBox:"0 0 16 16"},E.createElement("path",{d:e.iconPath}))),E.createElement(_d,{noWrap:!0,title:e.translation||e.name},e.translation||e.name)))}))),Bd=({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(Md,null),E.createElement(Td,{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(jd,{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||""}})).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}})).sort(((e,t)=>e.name.localeCompare(t.name)))},{name:o.get("LayoutContainer.Object.Charts"),items:d.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:(null===(o=e.libraryInfo)||void 0===o?void 0:o.name)||e.id,translation:(null===(r=e.libraryInfo)||void 0===r?void 0:r.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(Bd,{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.name,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}\\)$`),Tu={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 _u(){return this.rgb().formatHex()}function Pu(){return this.rgb().formatRgb()}function Mu(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 Bu(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 Bu(t[1],t[2],t[3],1):(t=Ru.exec(e))?new Bu(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]):Tu.hasOwnProperty(e)?Ou(Tu[e]):"transparent"===e?new Bu(NaN,NaN,NaN,0):null}function Ou(e){return new Bu(e>>16&255,e>>8&255,255&e,1)}function $u(e,t,n,o){return o<=0&&(e=t=n=NaN),new Bu(e,t,n,o)}function Nu(e){return e instanceof vu||(e=Mu(e)),e?new Bu((e=e.rgb()).r,e.g,e.b,e.opacity):new Bu}function ju(e,t,n,o){return 1===arguments.length?Nu(e):new Bu(e,t,n,null==o?1:o)}function Bu(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=Mu(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,Mu,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:_u,formatHex:_u,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Wu(this).formatHsl()},formatRgb:Pu,toString:Pu}),bu(Bu,ju,gu(vu,{brighter(e){return e=null==e?yu:Math.pow(yu,e),new Bu(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new Bu(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Bu(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 Bu(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 Bu||(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 Bu(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=ju(e)).r,(t=ju(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){
97
97
  /*! 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 Pp(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 Mp={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}};function Op(e){if(!e.objects)return{};const t=Wd(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})=>({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))},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},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>hp(t,`${e}.useColorExpression`)}}}),Np=({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=({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}}},Bp=({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:jp({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:o})}}}),Dp=({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]}}}}}),zp=({theme:e,ref:t,key:n})=>({translation:"Object.TabbedContainer.Indicator",component:"panel-section",items:{indicator:{component:"items",ref:t,key:n,items:{colorWrapper:$p({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:$p({ref:"indicator.hover"})},show:(e,t)=>"left"!==t.layout.orientation}}}}}),Fp=({ref:e,key:t,fontResolver:n,theme:o})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:Np({paths:{ref:"icon",theme:"label.value"},fontResolver:n,theme:o})}},show:(e,{layout:t})=>!0===t.showIcons}),Gp=({ref:e,key:t})=>({translation:"Object.OrgChart.BackgroundColor",component:"panel-section",items:{background:{component:"items",ref:e,key:t,items:"tab"===t?{bgColorWrapper:$p({ref:"background"})}:{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"})},show:(e,t)=>"left"===t.layout.orientation}}}}}),Hp=({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:Bp({ref:n,key:o,fontResolver:e,theme:t}),width:{...Dp({ref:n,key:o}),show:(e,{layout:t})=>"left"!==t.orientation},icon:Fp({ref:n,key:o,fontResolver:e,theme:t}),background:Gp({ref:n,key:o})}}},Yp={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},Wp={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},Vp=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{var n,o,r;const i=t.getLayout(),a=null===(n=Gd(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]))}}),Up=e=>{const{sense:t}=e.env.anything;return{label:Yp,condition:Wp,styling:Hp({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),editProperties:Vp(e)}},qp={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},Kp={translation:"Common.Charts",component:"text",show:e=>e.objects?e.objects.length>1:e.children.length>1},Xp=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:Up(e)}),Qp=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:qp,chartsLabel:Kp,chartList:Xp(e)}}),Zp={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},Jp={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},eh={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},th={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},nh={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=Vd(t.getLayout(),e.defaultTabId);n&&t.setSelectedChild([n])},show:e=>e.objects.length>0},oh={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},rh=({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:Bp({ref:n,key:o,fontResolver:e,theme:t}),width:Dp({ref:n,key:o}),indicator:zp({ref:n,key:o,theme:t}),icon:Fp({ref:n,key:o,fontResolver:e,theme:t}),background:Gp({ref:n,key:o})}}},ih={items:{details:{show:e=>!0===e.showDetails}}},ah=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:rh({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),container:{type:"items",items:{showTabs:Zp,useDropdown:Jp,useScrollButton:eh,showIcons:th,orientation:oh,defaultTabId:nh}}}}},lh=e=>({uses:"settings",items:{general:ih,presentation:ah(e)}}),sh=e=>({type:"items",component:"accordion",items:{content:Qp(e),settings:lh(e)}}),ch=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"]}});return{definition:sh({...e,fontResolver:n}),support:{snapshot:!1,export:!1,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new Ud({app:t,data:e.propertyHandlerData}),...qd(e),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:Mp,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}},dh=({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])},uh=e=>e.reduce(((e,{id:t,data:n})=>(n&&(e[t]=n),e)),{}),ph=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:uh(n)}},hh=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 uh(n)},fh=e=>(r((async t=>{const n=t,{snapshotData:o}=n;if(o){const t=Hd(n),i=(r=e.objectMap,t.objects.reduce(((e,t)=>{const n=t.id;return 0!==t.condition&&r[n]&&(e=>e.supportSnapshot())(r[n])?(e.objects.push(t),e.objectMap[n]=r[n],e):e}),{objects:[],objectMap:{}})),[a,l]=await Promise.all([hh(i.objectMap),ph(i.objectMap)]);o.objectsData={layouts:a},n.objects=i.objects,o.viewState=l}var r;return t})),{getViewState:()=>ph(e.objectMap)});let mh=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}({}),bh=function(e){return e.KEY_DOWN="keydown",e.KEY_UP="keyup",e.FOCUS_OUT="focusout",e}({});var gh,vh;!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"}(gh||(gh={})),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"}(vh||(vh={}));const yh=e=>{var t;return null===(t=e.getElementsByClassName(gh.ACTIVE_TAB))||void 0===t?void 0:t[0]},xh=e=>{var t;return null===(t=e.getElementsByClassName(gh.ACTIVE_TAB_PANEL))||void 0===t?void 0:t[0]},Eh=({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 mh.ESCAPE:var n;t.stopPropagation(),null===(n=c.blur)||void 0===n||n.call(c,!0);break;case mh.ENTER:case mh.SPACE:{t.stopPropagation();const n=t.target;var o;if(null!=n&&n.classList.contains(gh.ACTIVE_TAB))null===(o=xh(e))||void 0===o||o.focus();break}}}),[e,c]),p=a((()=>(t,n)=>{switch(t.shiftKey?`shift+${t.key}`:t.key){case mh.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=yh(e))||void 0===i||i.focus();break;case mh.ENTER:case mh.SPACE:var a,l,s;if(!n)break;t.stopPropagation(),null===(a=n.setOnBlurHandler)||void 0===a||a.call(n,(()=>{var t;null===(t=xh(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 mh.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(gh.ACTIVE_TAB_PANEL)){const t=Object.values(l.objectMap)[0];p(e,t)}else u(e)}),[u,p,l]);n((()=>(r&&e.addEventListener(bh.KEY_DOWN,h),()=>{e.removeEventListener(bh.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(gh.TAB_MENU))||void 0===t?void 0:t[0]})(e))&&void 0!==n?n:yh(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(gh.TAB_MENU_ITEM)||null==d||d()};return c.enabled&&c.active&&!s.edit&&(t(!0),m(!0),e.addEventListener(bh.FOCUS_OUT,n)),()=>{e.removeEventListener(bh.FOCUS_OUT,n)}}),[c])},Sh=e=>{const[t]=o(e);return[t,function(e){Object.assign(t,e)}]},Ch=({isContainerActive:e,activeTabId:t,modifiedLayout:o,renderHelper:r})=>{const i={modifiedLayout:o,activeTabId:t,renderHelper:r,isContainerActive:e},[l,s]=Sh(i);s(i);const c=a((()=>()=>{const e=Yd(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])},wh={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 Rh={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class Ah{constructor(e){M(this,"sessionObject",void 0),M(this,"getOrCreateSessionObject",(async e=>{const t=Rh.qInfo.qId;this.sessionObject=await e.getObject(t).catch((()=>e.createSessionObject(Rh)))})),M(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=>!yd.includes(e.visualization)))}catch(e){return[]}})),this.getOrCreateSessionObject(e).catch((()=>{}))}}let kh=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 Ih{constructor({embed:e,model:t,app:n,translator:o,mutex:r}){M(this,"model",void 0),M(this,"embed",void 0),M(this,"app",void 0),M(this,"undoRedoModel",void 0),M(this,"chartList",void 0),M(this,"masterVizList",void 0),M(this,"mutex",void 0),M(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})),M(this,"generateProperties",(async(e,t)=>await this.embed.generateProperties({type:e,properties:t}))),M(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}})),M(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}})),M(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()}})),M(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 kh.TOP:{if(0===r)break;const e=o.splice(r,1)[0];o.unshift(e),i=!0;break}case kh.BOTTOM:{if(r===o.length-1)break;const e=o.splice(r,1)[0];o.push(e),i=!0;break}case kh.UP:{if(0===r)break;const e=o.splice(r,1)[0];o.splice(r-1,0,e),i=!0;break}case kh.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()}})),M(this,"getCharts",(()=>{var e;return(null===(e=this.chartList)||void 0===e?void 0:e.getCharts())||{}})),M(this,"getMasterVizList",(()=>{var e;return(null===(e=this.masterVizList)||void 0===e?void 0:e.getMasterVisualizations())||Promise.resolve([])})),M(this,"getChart",(e=>{var t;return null===(t=this.chartList)||void 0===t?void 0:t.getChart(e)})),M(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 Ah(n)),e&&o&&(this.chartList=new xd(e,o)),this.mutex=r}async addChild(e,t,n){if(this.model&&!yd.includes(e.visualization))try{await this.mutex.lock();const{model:o}=this,r=async()=>{e.childRefId=wh.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 Lh{constructor(e){M(this,"locked",!1),M(this,"tasks",[]),M(this,"id",void 0),M(this,"lock",(async()=>this.locked?new Promise((e=>{this.tasks.push(e)})):(this.locked=!0,!0))),M(this,"unlock",(()=>{if(this.tasks.length>0){const e=this.tasks.shift();null==e||e(!0)}else this.locked=!1})),this.id=e}}const _h={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}},Th={index:-1,color:"none",alpha:1},Ph=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}},Mh=(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})`},Oh=e=>{const{h:t,s:n,l:o}=Ph(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 Mh(i,l,a,o-.5*i,r)},$h={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 Oh(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 Oh(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}=Ph(e),r=o*n,i=t/60,a=r*(1-Math.abs(i%2-1));return Mh(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&&_h[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)||Th;let r;if(null!=e&&e.useColorExpression)r=$h.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 Nh{constructor({modifiedLayout:e,themeService:t}){var n;M(this,"modifiedLayout",void 0),M(this,"themeStyle",void 0),M(this,"style",void 0),M(this,"objectMap",void 0),M(this,"activeTabId",void 0),M(this,"theme",void 0),M(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}`}})),M(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}`}})),M(this,"getColorStyle",((e,t=e)=>{const n=this.resolveComponentStyle({compPath:e,themePath:t}),o=$h.getColor({style:n,theme:this.theme});return null!=o?o:n})),M(this,"getTabBackgroundStyle",((e,t)=>{var n;let o;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});o=$h.getColor({style:e,theme:this.theme})}return null!==(n=o)&&void 0!==n?n:$h.getColor({style:t,theme:this.theme})})),M(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-label-${this.modifiedLayout.qInfo.qId}-${o}`]={fontSize:hp(r,"label.fontSize"),fontFamily:hp(r,"label.fontFamily"),color:$h.getColor({style:hp(r,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${o} svg`]={height:hp(r,"icon.size"),color:$h.getColor({style:hp(r,"icon.color"),theme:this.theme})},e}),{})})),M(this,"createTabsClasses",(()=>({[vh.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"})},[vh.TABS_ICON]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value")},[vh.TABS]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[vh.TABS_HOVER]:{..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","")},..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","")}},[vh.TABS_WRAPPER]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[vh.TAB_INDICATOR]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected")}}))),M(this,"createStyleClasses",(()=>({...this.createTabsClasses(),...this.createTabClasses()}))),M(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=Wd(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 jh=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=Pp({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=Pp({theme:e,id:r,transform:s,extend:d,matrix:u.matrix})}}}({theme:null==n?void 0:n.theme,config:{id:"tabbedContainer"}}),C=a((()=>new xd(b,v)),[b,v]),[w]=o(new Lh(g.id)),[R,A]=o(!1),k=a((()=>b&&g&&i?new Ih({embed:b,model:g,app:i,translator:v,mutex:w}):void 0),[b,g,i,v,w]),I=a((()=>Hd(m)),[m]),L=a((()=>new Nh({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])},Bh=({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(Id,null,E.createElement(kd,null,E.createElement(r,null),l?E.createElement(E.Fragment,null,E.createElement(Md,{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(Bd,{translator:n,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:o})):E.createElement(Oa,{variant:"inherit"},n.get("LayoutContainer.EmptyList.EmptyHint"))))};class Dh{constructor(e){M(this,"_rendered",new Set),M(this,"_objectMap",{}),M(this,"_resolver",void 0),M(this,"_dependencyData",void 0),M(this,"_recreateMap",new Map),M(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})),M(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)})),M(this,"tryToResolve",(()=>{const{modifiedLayout:e}=this._dependencyData;if(this.resolver){(0===e.objects.length||e.objects.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.objects.forEach((e=>{0!==e.condition&&(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{modifiedLayout:e}=this._dependencyData,t=[];return e.objects.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 zh=()=>E.createElement(Od,{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"})),Fh=({libraryInfo:e,style:t,id:n})=>E.createElement("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:gh.TABS_ICON},E.createElement(e.IconDefinition,null)),Gh=({style:e,id:t})=>E.createElement("div",{style:e,"data-testid":"tab-hidden-icon",id:t},E.createElement($d,{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"}))),Hh=()=>E.createElement($d,{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"})),Yh=wi(Ic)({width:28,overflow:"hidden"}),Wh=wi(Ic)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),Vh=({chartObject:e,embed:t,renderHelper:n,direction:o,accessibility:r})=>{const i=k(),{id:a}=e;return A((()=>{if(a&&i.current){const e=n.getObjectOptions(a)||{};e.disableThemeBorder=!0,t.render({id:a,element:i.current,options:e}).then((e=>{const t=!!n.objectMap[a];n.saveObject(a,e,t)})).catch((e=>{var t;const o=null===(t=n.getChildLayout(a))||void 0===t||null===(t=t.qInfo)||void 0===t?void 0:t.qType;console.error("Could not render chart with id",a,o,e)}))}}),[a,t,n,o]),E.createElement(Sl,{className:gh.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(Sl,{ref:i,sx:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`}))},Uh=(e,t)=>e.find((e=>e.childRefId===t)),qh=(e,t)=>!t.edit&&0===e.condition,Kh=({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=I((e=>{null==e||e.focus()}),[]);return E.createElement(E.Fragment,null,E.createElement(Ml,{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:gh.TAB_MENU,sx:{m:"2px"}},E.createElement(Hh,null)),E.createElement(ac,{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(uc,{className:gh.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(gh.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},E.createElement(Oa,{variant:"inherit",noWrap:!0},e.label))))))},Xh=({label:e,id:t})=>E.createElement(Sl,{className:gh.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:"1.2",overflow:"hidden",paddingInline:"8px"}},e)),Qh=({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",r.paddingInline="8px";return 0===t.condition?E.createElement(Gh,{id:`${gh.TABS_ICON}-${o}`,style:r}):e?E.createElement(Fh,{id:`${gh.TABS_ICON}-${o}`,libraryInfo:e,style:r}):null},Zh=({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%"},ScrollButtonComponent:Wh}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:Yh})(o),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(Sl,{className:gh.TAB_WRAPPER,sx:d,ref:e=>m(e)},o.useDropdown&&h&&E.createElement(Kh,{charts:s,handleChangeTab:n,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}),E.createElement(Hc,{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%"}},s.map((n=>{var r,i,s,d,u;const h=null===(r=Gd(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(gc,{className:`${gh.TAB} ${t===n.childRefId?gh.ACTIVE_TAB:""}`,disabled:p,id:`tab-${S}`,value:n.childRefId,title:n.label,label:x?E.createElement(Xh,{label:n.label,id:S}):void 0,icon:b?E.createElement(Qh,{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,padding:"12px 8px","&.Mui-disabled":{opacity:"inherit"}},"aria-label":n.label,"aria-controls":`tab-panel-${S}`,tabIndex:a&&t===n.childRefId?0:-1})}))))},Jh=({models:e,renderHelper:t,activeTabId:n,handleChangeTab:o})=>{const{modifiedLayout:r,embed:i,interactions:a,options:l,styleModel:s,accessibility:c}=e,d=r.objects,u=a.edit||!!d.find((e=>0!==e.condition)),p=r.showTabs&&u,h="left"===r.orientation?"row":"column",f=s.getStyleClasses();return E.createElement(Sl,{sx:{display:"flex",flexDirection:h,height:"100%",width:"100%",direction:l.direction,...f}},p&&E.createElement(Zh,{models:e,activeTabId:n,handleChangeTab:o}),d.map((e=>{const o=`tab-panel-${r.qInfo.qId}-${e.childRefId}`,s=n===e.childRefId&&!qh(e,a);return E.createElement("div",{role:"tabpanel",id:o,key:o,hidden:!s,style:{height:"100%",width:"100%"}},s&&E.createElement(Vh,{chartObject:e,renderHelper:t,direction:l.direction,embed:i,accessibility:c}))})))};let ef=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),tf=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}({});const nf=[tf.PASTE,tf.ZOOM_IN,tf.VISUAL_EXPLORATION],of=[tf.VISUAL_EXPLORATION,tf.ALERT_GROUP,tf.SHOW_DETAILS,tf.EXPLAIN_KEY_DRIVERS],rf=[tf.DELETE,tf.CUT,tf.ADD_TO_MASTER_ITEMS,tf.UNLINK_VISUALIZATION],af=[tf.PASTE],lf=(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}}},sf=(e,t,n,o,r)=>{const i=t.getSupportFunction(tf.COPY);if(!i)return void e.deleteItem(tf.COPY);const a=()=>{i(lf(n,o)).catch((()=>{}))},l=e.items.find((e=>e.id===tf.COPY));if(l)l.updateItem({select:a});else if(r){const t=e.items.findIndex((e=>e.id===tf.CUT)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:tf.COPY,id:tf.COPY,icon:"copy",select:a,items:[]},n)}},cf=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,df=async(e,t,n,o)=>{const r=t.getBuilder("default");if(!r)return;const i=await r();i.addItem({translation:"contextMenu.containerOptionsHeader",tid:tf.CONTAINER_HEADER,id:tf.CONTAINER_HEADER,bold:!0,items:[]},0);const a=cf(n);i.items.forEach((e=>{(of.includes(e.id)||!a&&af.includes(e.id))&&i.deleteItem(e.id)})),a&&await(async(e,t,n)=>{var o;const r=t.getSupportFunction(ef.PASTE),i=await(null==r||null===(o=r())||void 0===o?void 0:o.catch((()=>{})));if(!i||yd.includes(i.template))return void e.deleteItem(tf.PASTE);const a=()=>{n()},l=e.items.find((e=>e.id===tf.PASTE));if(l)l.updateItem({translation:"contextMenu.paste",select:a});else{const t=e.items.findLastIndex((e=>e.id===tf.COPY||e.id===tf.DEVELOPER||e.id===tf.CONTAINER_HEADER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:tf.PASTE,id:tf.PASTE,icon:"paste",select:a,items:[]},n)}})(i,t,o),e.updateItem({items:i.items}),1===e.items.length&&e.deleteItem(tf.CONTAINER_HEADER)},uf=(e,t,n,o,r,i)=>a=>{const{dataHandler:l,modifiedLayout:s}=o;if(cf(o)){n.isInvalid||(((e,t,n,o)=>{const{model:r,modifiedLayout:i}=n,a=e.items.findLastIndex((e=>e.id===tf.CHART_HEADER||e.id===tf.REORDER_LAYERS_GROUP)),l=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:tf.EDIT_PROPERTIES,id:tf.EDIT_PROPERTIES,icon:tf.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(tf.COPY);if(!a)return void e.deleteItem(tf.CUT);const l=()=>{r&&a(lf(n,i)).then((async()=>{await(null==r?void 0:r.deleteChildren([t]))})).catch((()=>{}))},s=e.items.find((e=>e.id===tf.CUT));if(s)s.updateItem({select:l});else{const t=e.items.findLastIndex((e=>e.id===tf.ADD_TO_MASTER_ITEMS||e.id===tf.UNLINK_VISUALIZATION||e.id===tf.EDIT_PROPERTIES||e.id===tf.REORDER_LAYERS_GROUP||e.id===tf.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:tf.CUT,id:tf.CUT,icon:"cut",select:l,items:[]},n)}})(a,t,n,e,l,s),sf(a,e,n,s,!0),((e,t,n,o,r)=>{const i=t.getSupportFunction(ef.COPY),a=t.getSupportFunction(ef.PASTE);if(!i||!a)return void e.deleteItem(tf.DUPLICATE);const l=()=>{i(lf(n,o)).then((()=>{r()})).catch((()=>{}))},s=e.items.find((e=>e.id===tf.DUPLICATE));if(s)s.updateItem({select:l});else{const t=e.items.findIndex((e=>e.id===tf.COPY)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:tf.DUPLICATE,id:tf.DUPLICATE,icon:tf.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===tf.DELETE));if(r)r.updateItem({select:o});else{const t=e.items.findLastIndex((e=>e.id===tf.DUPLICATE||e.id===tf.ADD_TO_MASTER_ITEMS||e.id===tf.UNLINK_VISUALIZATION||e.id===tf.REORDER_LAYERS_GROUP||e.id===tf.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:tf.DELETE,id:tf.DELETE,icon:"bin",items:[],select:o},n)}})(a,t,l)}else sf(a,e,n,s,!1)},pf=(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(ef.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(ef.RESET_COPY_BUFFER)}))})(n.dataHandler,a);if(await df(r,a,n,s),!(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,gh.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=uf(a,e,d,n,o,s),p=await(async(e,t,n,o)=>{const r=cf(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:tf.CHART_HEADER,id:tf.CHART_HEADER,bold:!0,items:[]},0),o(a),a.items.forEach((e=>{(nf.includes(e.id)||!r&&rf.includes(e.id))&&a.deleteItem(e.id)})),1===a.items.length&&a.deleteItem(tf.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)}))},hf=({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=Ed(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=gd(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},[C,w]=Sh(S);w(S);const R=a((()=>({...C.modifiedLayout,objects:d.objects.filter((e=>x===e.childRefId))})),[x,d.objects,C]),{renderHelper:A}=(e=>{const{modifiedLayout:t,options:r}=e,[i]=o(new Dh(e)),[,a]=o(r);return i.dependencyData=e,m((async()=>{var e,n;return a((e=>(e!==r&&t.objects.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.objects,r]),n((()=>()=>{i.destroy()}),[i]),{renderHelper:i}})({modifiedLayout:R,viewState:y,options:c});pf(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!Uh(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=Uh(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(Ai,{theme:v},_&&E.createElement(Bh,{Icon:zh,dataHandler:r.dataHandler,modifiedLayout:r.modifiedLayout,translator:r.translator,sharedContainerUtilities:L}),!_&&E.createElement(Jh,{models:r,renderHelper:A,activeTabId:x,handleChangeTab:I})))}),[s,r,v,_,A,x,L,I]),{renderHelper:A,sharedContainerUtilities:L,activeTabId:x}};var ff={targets:[]};const mf={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}\n");const bf=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}))}}}));
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 Tp(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 _p=function(e){return e};function Pp(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)]||_p)(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 Mp={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})=>({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))},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},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})},show:(e,t)=>"left"===t.layout.orientation}}),jp=({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}}},Bp=({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}}},Dp=({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:Bp({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:o})}}}),zp=({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]}}}}}),Fp=({theme:e,ref:t,key:n})=>({translation:"Object.TabbedContainer.Indicator",component:"panel-section",items:{indicator:{component:"items",ref:t,key:n,items:{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})},show:(e,t)=>"left"!==t.layout.orientation}}}}}),Gp=({ref:e,key:t,fontResolver:n,theme:o})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:jp({paths:{ref:"icon",theme:"label.value"},fontResolver:n,theme:o})}},show:(e,{layout:t})=>!0===t.showIcons}),Hp=({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})}}}),Yp=({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:Dp({ref:n,key:o,fontResolver:e,theme:t}),width:{...zp({ref:n,key:o}),show:(e,{layout:t})=>"left"!==t.orientation},icon:Gp({ref:n,key:o,fontResolver:e,theme:t}),background:Hp({ref:n,key:o,theme:t})}}},Wp={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},Vp={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},Up=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]))}}),qp=e=>{const{sense:t}=e.env.anything;return{label:Wp,condition:Vp,styling:Yp({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),editProperties:Up(e)}},Kp={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},Xp={translation:"Common.Charts",component:"text",show:e=>e.objects?e.objects.length>1:e.children.length>1},Qp=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:qp(e)}),Zp=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:Kp,chartsLabel:Xp,chartList:Qp(e)}}),Jp={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},eh={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},th={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},nh={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},oh={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},rh={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},ih=({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:Dp({ref:n,key:o,fontResolver:e,theme:t}),width:zp({ref:n,key:o}),indicator:Fp({ref:n,key:o,theme:t}),icon:Gp({ref:n,key:o,fontResolver:e,theme:t}),background:Hp({ref:n,key:o,theme:t})}}},ah={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:ih({fontResolver:e.fontResolver,theme:null==t?void 0:t.theme}),container:{type:"items",items:{showTabs:Jp,useDropdown:eh,useScrollButton:th,showIcons:nh,orientation:rh,defaultTabId:oh}}}}},sh=e=>({uses:"settings",items:{general:ah,presentation:lh(e)}}),ch=e=>({type:"items",component:"accordion",items:{content:Zp(e),settings:sh(e)}}),dh=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"]}}),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:ch({...e,fontResolver:n}),support:{snapshot:!1,export:!1,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:Mp,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}},uh=({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])},ph=e=>e.reduce(((e,{id:t,data:n})=>(n&&(e[t]=n),e)),{}),hh=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:ph(n)}},fh=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 ph(n)},mh=e=>(r((async t=>{const n=t,{snapshotData:o}=n;if(o){const t=Yd(n),i=(r=e.objectMap,t.objects.reduce(((e,t)=>{const n=t.id;return 0!==t.condition&&r[n]&&(e=>e.supportSnapshot())(r[n])?(e.objects.push(t),e.objectMap[n]=r[n],e):e}),{objects:[],objectMap:{}})),[a,l]=await Promise.all([fh(i.objectMap),hh(i.objectMap)]);o.objectsData={layouts:a},n.objects=i.objects,o.viewState=l}var r;return t})),{getViewState:()=>hh(e.objectMap)});let bh=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 vh,yh;!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"}(vh||(vh={})),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"}(yh||(yh={}));const xh=e=>{var t;return null===(t=e.getElementsByClassName(vh.ACTIVE_TAB))||void 0===t?void 0:t[0]},Eh=e=>{var t;return null===(t=e.getElementsByClassName(vh.ACTIVE_TAB_PANEL))||void 0===t?void 0:t[0]},Sh=({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 bh.ESCAPE:var n;t.stopPropagation(),null===(n=c.blur)||void 0===n||n.call(c,!0);break;case bh.ENTER:case bh.SPACE:{t.stopPropagation();const n=t.target;var o;if(null!=n&&n.classList.contains(vh.ACTIVE_TAB))null===(o=Eh(e))||void 0===o||o.focus();break}}}),[e,c]),p=a((()=>(t,n)=>{switch(t.shiftKey?`shift+${t.key}`:t.key){case bh.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=xh(e))||void 0===i||i.focus();break;case bh.ENTER:case bh.SPACE:var a,l,s;if(!n)break;t.stopPropagation(),null===(a=n.setOnBlurHandler)||void 0===a||a.call(n,(()=>{var t;null===(t=Eh(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 bh.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(vh.ACTIVE_TAB_PANEL)){const t=Object.values(l.objectMap)[0];p(e,t)}else u(e)}),[u,p,l]);n((()=>(r&&e.addEventListener(gh.KEY_DOWN,h),()=>{e.removeEventListener(gh.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(vh.TAB_MENU))||void 0===t?void 0:t[0]})(e))&&void 0!==n?n:xh(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(vh.TAB_MENU_ITEM)||null==d||d()};return c.enabled&&c.active&&!s.edit&&(t(!0),m(!0),e.addEventListener(gh.FOCUS_OUT,n)),()=>{e.removeEventListener(gh.FOCUS_OUT,n)}}),[c])},Ch=e=>{const[t]=o(e);return[t,function(e){Object.assign(t,e)}]},wh=({isContainerActive:e,activeTabId:t,modifiedLayout:o,renderHelper:r})=>{const i={modifiedLayout:o,activeTabId:t,renderHelper:r,isContainerActive:e},[l,s]=Ch(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])},Rh={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 Ah={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class kh{constructor(e){O(this,"sessionObject",void 0),O(this,"getOrCreateSessionObject",(async e=>{const t=Ah.qInfo.qId;this.sessionObject=await e.getObject(t).catch((()=>e.createSessionObject(Ah)))})),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 Ih=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 Lh{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 Ih.TOP:{if(0===r)break;const e=o.splice(r,1)[0];o.unshift(e),i=!0;break}case Ih.BOTTOM:{if(r===o.length-1)break;const e=o.splice(r,1)[0];o.push(e),i=!0;break}case Ih.UP:{if(0===r)break;const e=o.splice(r,1)[0];o.splice(r-1,0,e),i=!0;break}case Ih.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 kh(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=Rh.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 _h={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},Mh=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}},Oh=(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})`},$h=e=>{const{h:t,s:n,l:o}=Mh(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 Oh(i,l,a,o-.5*i,r)},Nh={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 $h(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 $h(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}=Mh(e),r=o*n,i=t/60,a=r*(1-Math.abs(i%2-1));return Oh(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&&_h[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=Nh.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=Nh.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=Nh.getColor({style:e,theme:this.theme})}return null!==(n=o)&&void 0!==n?n:Nh.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:Nh.getColor({style:hp(r,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${o} svg`]={height:hp(r,"icon.size"),color:Nh.getColor({style:hp(r,"icon.color"),theme:this.theme})},e}),{})})),O(this,"createTabsClasses",(()=>({[yh.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"})},[yh.TABS_ICON]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value")},[yh.TABS]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[yh.TABS_HOVER]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[yh.TABS_WRAPPER]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[yh.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 Bh=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:Tp(a),styles:void 0};return u.styles=Pp({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=Pp({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"]]}}),C=a((()=>new Ed(b,v)),[b,v]),[w]=o(new Th(g.id)),[R,A]=o(!1),k=a((()=>b&&g&&i?new Lh({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])},Dh=({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 zh{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{modifiedLayout:e}=this._dependencyData;if(this.resolver){(0===e.objects.length||e.objects.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.objects.forEach((e=>{0!==e.condition&&(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{modifiedLayout:e}=this._dependencyData,t=[];return e.objects.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 Fh=()=>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"})),Gh=({libraryInfo:e,style:t,id:n})=>E.createElement("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:vh.TABS_ICON},E.createElement(e.IconDefinition,null)),Hh=({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"}))),Yh=()=>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"})),Wh=Ri(Lc)({width:28,overflow:"hidden"}),Vh=Ri(Lc)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),Uh=({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:vh.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 qh;!function(e){e.TABS_HEIGHT="36px"}(qh||(qh={}));const Kh=(e,t)=>e.find((e=>e.childRefId===t)),Xh=(e,t)=>!t.edit&&0===e.condition,Qh=({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:vh.TAB_MENU,sx:{m:"2px"}},E.createElement(Yh,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:vh.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(vh.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))))))},Zh=({label:e,id:t})=>E.createElement(Cl,{className:vh.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)),Jh=({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(Hh,{id:`${vh.TABS_ICON}-${o}`,style:r}):e?E.createElement(Gh,{id:`${vh.TABS_ICON}-${o}`,libraryInfo:e,style:r}):null},ef=({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=>!Xh(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:Vh}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:Wh})(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:vh.TAB_WRAPPER,sx:d,ref:e=>m(e)},o.useDropdown&&h&&E.createElement(Qh,{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:qh.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:`${vh.TAB} ${t===n.childRefId?vh.ACTIVE_TAB:""}`,disabled:p,id:`tab-${S}`,value:n.childRefId,title:n.label,label:x?E.createElement(Zh,{label:n.label,id:S}):void 0,icon:b?E.createElement(Jh,{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:qh.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})}))))},tf=({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(ef,{models:e,activeTabId:n,handleChangeTab:o}),u.map((e=>{const o=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,c=n===e.childRefId&&!Xh(e,l);return E.createElement("div",{role:"tabpanel",id:o,key:o,hidden:!c,style:{height:"100%",width:"100%"}},c&&E.createElement(Uh,{chartObject:e,renderHelper:t,direction:s.direction,embed:a,accessibility:d,interactions:l,env:r}))})))};let nf=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),of=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}({});const rf=[of.PASTE,of.ZOOM_IN,of.VISUAL_EXPLORATION],af=[of.VISUAL_EXPLORATION,of.ALERT_GROUP,of.SHOW_DETAILS,of.EXPLAIN_KEY_DRIVERS],lf=[of.DELETE,of.CUT,of.ADD_TO_MASTER_ITEMS,of.UNLINK_VISUALIZATION],sf=[of.PASTE],cf=(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}}},df=(e,t,n,o,r)=>{const i=t.getSupportFunction(of.COPY);if(!i)return void e.deleteItem(of.COPY);const a=()=>{i(cf(n,o)).catch((()=>{}))},l=e.items.find((e=>e.id===of.COPY));if(l)l.updateItem({select:a});else if(r){const t=e.items.findIndex((e=>e.id===of.CUT)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:of.COPY,id:of.COPY,icon:"copy",select:a,items:[]},n)}},uf=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,pf=async(e,t,n,o)=>{const r=t.getBuilder("default");if(!r)return;const i=await r();i.addItem({translation:"contextMenu.containerOptionsHeader",tid:of.CONTAINER_HEADER,id:of.CONTAINER_HEADER,bold:!0,items:[]},0);const a=uf(n);i.items.forEach((e=>{(af.includes(e.id)||!a&&sf.includes(e.id))&&i.deleteItem(e.id)})),a&&await(async(e,t,n)=>{var o;const r=t.getSupportFunction(nf.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(of.PASTE);const a=()=>{n()},l=e.items.find((e=>e.id===of.PASTE));if(l)l.updateItem({translation:"contextMenu.paste",select:a});else{const t=e.items.findLastIndex((e=>e.id===of.COPY||e.id===of.DEVELOPER||e.id===of.CONTAINER_HEADER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:of.PASTE,id:of.PASTE,icon:"paste",select:a,items:[]},n)}})(i,t,o),e.updateItem({items:i.items}),1===e.items.length&&e.deleteItem(of.CONTAINER_HEADER)},hf=(e,t,n,o,r,i)=>a=>{const{dataHandler:l,modifiedLayout:s}=o;if(uf(o)){n.isInvalid||(((e,t,n,o)=>{const{model:r,modifiedLayout:i}=n,a=e.items.findLastIndex((e=>e.id===of.CHART_HEADER||e.id===of.REORDER_LAYERS_GROUP)),l=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:of.EDIT_PROPERTIES,id:of.EDIT_PROPERTIES,icon:of.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(of.COPY);if(!a)return void e.deleteItem(of.CUT);const l=()=>{r&&a(cf(n,i)).then((async()=>{await(null==r?void 0:r.deleteChildren([t]))})).catch((()=>{}))},s=e.items.find((e=>e.id===of.CUT));if(s)s.updateItem({select:l});else{const t=e.items.findLastIndex((e=>e.id===of.ADD_TO_MASTER_ITEMS||e.id===of.UNLINK_VISUALIZATION||e.id===of.EDIT_PROPERTIES||e.id===of.REORDER_LAYERS_GROUP||e.id===of.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:of.CUT,id:of.CUT,icon:"cut",select:l,items:[]},n)}})(a,t,n,e,l,s),df(a,e,n,s,!0),((e,t,n,o,r)=>{const i=t.getSupportFunction(nf.COPY),a=t.getSupportFunction(nf.PASTE);if(!i||!a)return void e.deleteItem(of.DUPLICATE);const l=()=>{i(cf(n,o)).then((()=>{r()})).catch((()=>{}))},s=e.items.find((e=>e.id===of.DUPLICATE));if(s)s.updateItem({select:l});else{const t=e.items.findIndex((e=>e.id===of.COPY)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:of.DUPLICATE,id:of.DUPLICATE,icon:of.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===of.DELETE));if(r)r.updateItem({select:o});else{const t=e.items.findLastIndex((e=>e.id===of.DUPLICATE||e.id===of.ADD_TO_MASTER_ITEMS||e.id===of.UNLINK_VISUALIZATION||e.id===of.REORDER_LAYERS_GROUP||e.id===of.DEVELOPER)),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:of.DELETE,id:of.DELETE,icon:"bin",items:[],select:o},n)}})(a,t,l)}else df(a,e,n,s,!1)},ff=(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(nf.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(nf.RESET_COPY_BUFFER)}))})(n.dataHandler,a);if(await pf(r,a,n,s),!(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,vh.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=hf(a,e,d,n,o,s),p=await(async(e,t,n,o)=>{const r=uf(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:of.CHART_HEADER,id:of.CHART_HEADER,bold:!0,items:[]},0),o(a),a.items.forEach((e=>{(rf.includes(e.id)||!r&&lf.includes(e.id))&&a.deleteItem(e.id)})),1===a.items.length&&a.deleteItem(of.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)}))},mf=({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]=Ch(S);w(S);const R=a((()=>({...C.modifiedLayout,objects:d.objects.filter((e=>x===e.childRefId))})),[x,d.objects,C]),{renderHelper:A}=(e=>{const{modifiedLayout:t,options:r}=e,[i]=o(new zh(e)),[,a]=o(r);return i.dependencyData=e,m((async()=>{var e,n;return a((e=>(e!==r&&t.objects.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.objects,r]),n((()=>()=>{i.destroy()}),[i]),{renderHelper:i}})({modifiedLayout:R,viewState:y,options:c});ff(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!Kh(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=Kh(e,t);if(!o||Xh(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 T=0===g.qItems.length&&u.edit;return n((()=>{null==s||s.render(E.createElement(ki,{theme:v},T&&E.createElement(Dh,{Icon:Fh,dataHandler:r.dataHandler,modifiedLayout:r.modifiedLayout,translator:r.translator,sharedContainerUtilities:L}),!T&&E.createElement(tf,{models:r,renderHelper:A,activeTabId:x,handleChangeTab:I,env:i})))}),[s,r,v,T,A,x,L,I,i]),{renderHelper:A,sharedContainerUtilities:L,activeTabId:x}};var bf={targets:[]};const gf={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 vf=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}))}}}));