@nebula.js/sn-tabbed-container 2.10.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  /*
2
- * @nebula.js/sn-tabbed-container v2.10.0
2
+ * @nebula.js/sn-tabbed-container v2.11.0
3
3
  * Copyright (c) 2026 QlikTech International AB
4
4
  * Released under the MIT license.
5
5
  */
6
6
 
7
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@nebula.js/stardust")):"function"==typeof define&&define.amd?define(["@nebula.js/stardust"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["sn-tabbed-container"]=t(e.stardust)}(this,function(e){"use strict";function t(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}var n,r,o={Container_Label_Visualizations:{id:"Container.Label.Visualizations",locale:{"de-DE":"Visualisierungen","en-US":"Visualizations","es-ES":"Visualizaciones","fr-FR":"Visualisations","it-IT":"Visualizzazioni","ja-JP":"ビジュアライゼーション","ko-KR":"시각화","nl-NL":"Visualisaties","pl-PL":"Wizualizacje","pt-BR":"Visualizações","ru-RU":"Визуализации","sv-SE":"Visualiseringar","tr-TR":"Görselleştirmeler","zh-CN":"可视化","zh-TW":"視覺化"}},LayoutContainer_EmptyList_AddContent:{id:"LayoutContainer.EmptyList.AddContent",locale:{"de-DE":"Inhalt hinzufügen","en-US":"Add content","es-ES":"Añadir contenido","fr-FR":"Ajouter un contenu","it-IT":"Aggiungi contenuto","ja-JP":"コンテンツを追加","ko-KR":"콘텐츠 추가","nl-NL":"Inhoud toevoegen","pl-PL":"Dodaj zawartość","pt-BR":"Adicionar conteúdo","ru-RU":"Добавить содержимое","sv-SE":"Lägg till innehåll","tr-TR":"İçerik ekle","zh-CN":"添加内容","zh-TW":"新增內容"}},LayoutContainer_EmptyList_EmptyHint:{id:"LayoutContainer.EmptyList.EmptyHint",locale:{"de-DE":"Leere Sammelbox","en-US":"Empty container","es-ES":"Contenedor vacío","fr-FR":"Conteneur vide","it-IT":"Contenitore vuoto","ja-JP":"コンテナが空です","ko-KR":"빈 컨테이너","nl-NL":"Lege container","pl-PL":"Pusty kontener","pt-BR":"Contêiner vazio","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_Description:{id:"LayoutContainer.Object.Description",locale:{"de-DE":"Die Sammelbox besteht aus folgenden Objekten: {0}. Verwenden Sie zum Navigieren die Nach-links- und Nach-rechts-Pfeiltasten. Drücken Sie die Eingabetaste oder die Leertaste, um die Diagramme auszuwählen.","en-US":"Container consists of the following objects: {0}. Use left and right arrow keys to navigate through the inner charts. Press enter or space to select the charts.","es-ES":"El contenedor consta de los siguientes objetos: {0}. Utilice las teclas de flecha izquierda y derecha para navegar por los gráficos interiores. Pulse Intro o espacio para seleccionar los gráficos.","fr-FR":"Le conteneur comprend les objets suivants : {0}. Utilisez les touches de direction gauche et droite pour parcourir les graphiques internes. Appuyez sur la touche Entrée ou espace pour sélectionner les graphiques.","it-IT":"Il contenitore include i seguenti oggetti: {0}. Utilizzare i tasti freccia sinistro e destro per navigare tra i grafici interni. Per selezionare i grafici, premere Invio o Spazio.","ja-JP":"コンテナは以下のオブジェクトで構成されます: {0}。左右の矢印キーを使用して、内部のチャートをナビゲートします。Enter キーかスペース キーを押してチャートを選択します。","ko-KR":"컨테이너는 다음 개체로 구성됩니다. {0}. 왼쪽 및 오른쪽 화살표 키를 사용하여 내부 차트를 탐색하십시오. 차트를 선택하려면 Enter 키나 스페이스바를 누르십시오.","nl-NL":"Container bevat de volgende objecten: {0}. Navigeer met de pijl-links en pijl-rechts langs de binnenste diagrammen. Druk op Enter of de spatiebalk om de diagrammen te selecteren.","pl-PL":"Kontener zawiera następujące obiekty: {0}. Do nawigacji po wewnętrznych wykresach użyj lewego i prawego klawisza strzałki. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać wykresy.","pt-BR":"O contêiner consiste nos seguintes objetos: {0}. Use as setas para a esquerda e para a direita para navegar pelos gráficos internos. Pressione Enter ou espaço para selecionar os gráficos.","ru-RU":"Контейнер состоит из следующих объектов: {0}. Для навигации по внутренним диаграммам используйте клавиши со стрелками влево и вправо. Нажмите клавишу Enter или пробел, чтобы выбрать диаграммы.","sv-SE":"Behållaren innehåller följande objekt: {0}. Använd vänster och höger piltangent för att navigera genom de inre diagrammen. Tryck på returtangenten eller mellanslag för att välja diagram.","tr-TR":"Kapsayıcı şu nesneleri içerir: {0}. İç grafikler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Grafik seçmek için enter veya boşluk tuşuna basın.","zh-CN":"容器由以下对象组成:{0}。使用左右箭头键浏览内部图表。按回车或空格键选择图表。","zh-TW":"容器由下列物件組成:{0}。使用向左和向右方向鍵瀏覽內部圖表。按下 Enter 或空間以選取圖表。"}},LayoutContainer_Object_MasterItems:{id:"LayoutContainer.Object.MasterItems",locale:{"de-DE":"Master-Elemente","en-US":"Master items","es-ES":"Elementos maestros","fr-FR":"Éléments principaux","it-IT":"Voci principali","ja-JP":"マスター アイテム","ko-KR":"마스터 항목","nl-NL":"Masteritems","pl-PL":"Elementy główne","pt-BR":"Itens mestre","ru-RU":"Основные элементы","sv-SE":"Originalobjekt","tr-TR":"Ana öğeler","zh-CN":"主条目","zh-TW":"主項目"}},LayoutContainer_Object_Untitled:{id:"LayoutContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}},TabContainer_Navigation_Horizontal:{id:"TabContainer.Navigation.Horizontal",locale:{"de-DE":"Verwenden Sie die Nach-links- und Nach-rechts-Pfeiltasten, um durch die Registerkarten zu navigieren. Drücken Sie die Eingabetaste oder die Leertaste, um die Registerkarten auszuwählen.","en-US":"Use left and right arrow keys to navigate through the tabs. Press Enter or Space to select the tabs.","es-ES":"Utilice las teclas de flecha izquierda y derecha para navegar por las pestañas. Pulse Intro o Espacio para seleccionar las pestañas.","fr-FR":"Utilisez les touches des flèches gauche et droite pour naviguer à travers les onglets. Appuyez sur la touche Entrée ou Espace pour sélectionner les onglets.","it-IT":"Utilizzare i tasti freccia destra e sinistra per navigare tra le schede. Per selezionare le schede, premere Invio o Spazio.","ja-JP":"左右の矢印キーで、タブ間を移動できます。Enter キーかスペース キーを押せば、タブを選択できます。","ko-KR":"탭을 탐색하려면 왼쪽 및 오른쪽 화살표 키를 사용합니다. 탭을 선택하려면 Enter 키 또는 스페이스바를 누르십시오.","nl-NL":"Gebruik de pijl-links en pijl-rechts om te navigeren tussen de tabbladen. Druk op Enter of de spatiebalk om de tabbladen te selecteren.","pl-PL":"Do poruszania się po kartach użyj klawiszy strzałek w lewo i w prawo. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać karty.","pt-BR":"Use as setas para a esquerda e para a direita para navegar pelas guias. Pressione Enter ou Espaço para selecionar as guias.","ru-RU":'Используйте стрелки влево и вправо для навигации по вкладкам. Нажмите Enter или "Пробел", чтобы выбрать вкладку.',"sv-SE":"Använd vänster och höger piltangent för att navigera mellan flikarna. Tryck på returtangenten eller mellanslag för att välja flikar.","tr-TR":"Sekmeler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Sekme seçmek için Enter veya Boşluk tuşuna basın.","zh-CN":"使用左右箭头键浏览选项卡。按 Enter 或空格键选择选项卡。","zh-TW":"使用向左和向右方向鍵瀏覽索引標籤。按下 Enter 或空格鍵以選取索引標籤。"}},TabContainer_Navigation_Vertical:{id:"TabContainer.Navigation.Vertical",locale:{"de-DE":"Verwenden Sie die Nach-unten- und Nach-oben-Pfeiltasten, um durch die Registerkarten zu navigieren. Drücken Sie die Eingabetaste oder die Leertaste, um die Registerkarten auszuwählen.","en-US":"Use up and down arrow keys to navigate through the tabs. Press Enter or Space to select the tabs.","es-ES":"Utilice las teclas de flecha arriba y abajo para navegar por las pestañas. Pulse Intro o Espacio para seleccionar las pestañas.","fr-FR":"Utilisez les touches des flèches haut et bas pour naviguer à travers les onglets. Appuyez sur la touche Entrée ou Espace pour sélectionner les onglets.","it-IT":"Per navigare tra le schede, usare i tasti freccia su e giù. Per selezionare le schede, premere Invio o Spazio.","ja-JP":"上下の矢印キーで、タブ間を移動できます。Enter キーかスペース キーを押せば、タブを選択できます。","ko-KR":"탭을 탐색하려면 위쪽 및 아래쪽 화살표 키를 사용합니다. 탭을 선택하려면 Enter 키 또는 스페이스바를 누르십시오.","nl-NL":"Gebruik de pijl-omhoog en pijl-omlaag om te navigeren tussen de tabbladen. Druk op Enter of de spatiebalk om de tabbladen te selecteren.","pl-PL":"Do poruszania się po kartach użyj klawiszy strzałek w górę i w dół. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać karty.","pt-BR":"Use as setas para cima e para baixo para navegar pelas guias. Pressione Enter ou Espaço para selecionar as guias.","ru-RU":'Используйте стрелки вверх и вниз для навигации по вкладкам. Нажмите Enter или "Пробел", чтобы выбрать вкладку.',"sv-SE":"Använd piltangenterna upp och ner för att navigera genom flikarna. Tryck på returtangenten eller mellanslag för att välja flikar.","tr-TR":"Sekmeler arasında gezinmek için yukarı ve aşağı ok tuşlarını kullanın. Sekme seçmek için Enter veya Boşluk tuşuna basın.","zh-CN":"使用上下箭头键浏览选项卡。按 Enter 或空格键选择选项卡。","zh-TW":"使用向上和向下方向鍵以瀏覽索引標籤。按下 Enter 或空格鍵以選取索引標籤。"}},TabContainer_Object_Description:{id:"TabContainer.Object.Description",locale:{"de-DE":"Die Registerkarten-Sammelbox besteht aus folgenden Objekten: {0}.","en-US":"Tab container consists of the following objects: {0}.","es-ES":"El contenedor de pestañas contiene los siguientes objetos: {0}.","fr-FR":"Le conteneur d'onglets comprend les objets suivants : {0}.","it-IT":"Il contenitore a schede include i seguenti oggetti: {0}.","ja-JP":"タブ コンテナは以下のオブジェクトで構成されています: {0}。","ko-KR":"탭 컨테이너는 다음 개체로 구성됩니다. {0}.","nl-NL":"Tabbladcontainer bevat de volgende objecten: {0}.","pl-PL":"Kontener kart zawiera następujące obiekty: {0}.","pt-BR":"O contêiner de guias consiste nos seguintes objetos: {0}.","ru-RU":"Контейнер вкладок содержит следующие объекты: {0}.","sv-SE":"Flikbehållaren innehåller följande objekt: {0}.","tr-TR":"Sekme kapsayıcısı şu nesneleri içerir: {0}.","zh-CN":"选项卡容器由以下对象组成:{0}。","zh-TW":"索引標籤容器由下列物件組成:{0}。"}},TabContainer_Object_Untitled:{id:"TabContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}}};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var l=function(){if(r)return n;r=1;var e={};function t(){t.init.call(this)}return e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e},n=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,i,a,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];r.apply(this,i)}else if(e.isObject(r)){for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];for(o=(l=r.slice()).length,a=0;a<o;a++)l[a].apply(this,i)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned)&&((o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()));return this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,i,a;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(a=i;a-- >0;)if(r[a]===n||r[a].listener&&r[a].listener===n){o=a;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0},n}();function s(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 u=Object.freeze({__proto__:null,default:s}),c="$$material";function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}function p(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var f,h,m={exports:{}},g={};function b(){if(f)return g;f=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var x=y.prototype=new v;x.constructor=y,h(x,b.prototype),x.isPureReactComponent=!0;var E=Array.isArray,S=Object.prototype.hasOwnProperty,w={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function k(t,n,r){var o,i={},a=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(a=""+n.key),n)S.call(n,o)&&!C.hasOwnProperty(o)&&(i[o]=n[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:e,type:t,key:a,ref:l,props:i,_owner:w.current}}function R(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var _=/\/+/g;function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function T(n,r,o,i,a){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return a=a(s=n),n=""===i?"."+L(s,0):i,E(a)?(o="",null!=n&&(o=n.replace(_,"$&/")+"/"),T(a,r,o,"",function(e){return e})):null!=a&&(R(a)&&(a=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(_,"$&/")+"/")+n)),r.push(a)),1;if(s=0,i=""===i?".":i+":",E(n))for(var u=0;u<n.length;u++){var c=i+L(l=n[u],u);s+=T(l,r,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=T(l=l.value,r,o,c=i+L(l,u++),a);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function A(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",function(e){return t.call(n,e,o++)}),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},O={transition:null},M={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:O,ReactCurrentOwner:w};function N(){throw Error("act(...) is not supported in production builds of React.")}return g.Children={map:A,forEach:function(e,t,n){A(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},g.Component=b,g.Fragment=n,g.Profiler=o,g.PureComponent=y,g.StrictMode=r,g.Suspense=s,g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,g.act=N,g.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=h({},t.props),i=t.key,a=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,l=w.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)S.call(n,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:i,ref:a,props:o,_owner:l}},g.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},g.createElement=k,g.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},g.createRef=function(){return{current:null}},g.forwardRef=function(e){return{$$typeof:l,render:e}},g.isValidElement=R,g.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:P}},g.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},g.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},g.unstable_act=N,g.useCallback=function(e,t){return I.current.useCallback(e,t)},g.useContext=function(e){return I.current.useContext(e)},g.useDebugValue=function(){},g.useDeferredValue=function(e){return I.current.useDeferredValue(e)},g.useEffect=function(e,t){return I.current.useEffect(e,t)},g.useId=function(){return I.current.useId()},g.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},g.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},g.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},g.useMemo=function(e,t){return I.current.useMemo(e,t)},g.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},g.useRef=function(e){return I.current.useRef(e)},g.useState=function(e){return I.current.useState(e)},g.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},g.useTransition=function(){return I.current.useTransition()},g.version="18.3.1",g}function v(){return h||(h=1,m.exports=b()),m.exports}var y=v(),x=i(y),E=t({__proto__:null,default:x},[y]);var S=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){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),w="-ms-",C="-moz-",k="-webkit-",R="comm",_="rule",L="decl",T="@keyframes",A=Math.abs,P=String.fromCharCode,I=Object.assign;function O(e){return e.trim()}function M(e,t,n){return e.replace(t,n)}function N(e,t){return e.indexOf(t)}function j(e,t){return 0|e.charCodeAt(t)}function z(e,t,n){return e.slice(t,n)}function $(e){return e.length}function D(e){return e.length}function B(e,t){return t.push(e),e}var F=1,U=1,H=0,G=0,V=0,W="";function Y(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:F,column:U,length:a,return:""}}function q(e,t){return I(Y("",null,null,"",null,null,0),e,{length:-e.length},t)}function K(){return V=G>0?j(W,--G):0,U--,10===V&&(U=1,F--),V}function X(){return V=G<H?j(W,G++):0,U++,10===V&&(U=1,F++),V}function Q(){return j(W,G)}function Z(){return G}function J(e,t){return z(W,e,t)}function ee(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 te(e){return F=U=1,H=$(W=e),G=0,[]}function ne(e){return W="",e}function re(e){return O(J(G-1,ae(91===e?e+2:40===e?e+1:e)))}function oe(e){for(;(V=Q())&&V<33;)X();return ee(e)>2||ee(V)>3?"":" "}function ie(e,t){for(;--t&&X()&&!(V<48||V>102||V>57&&V<65||V>70&&V<97););return J(e,Z()+(t<6&&32==Q()&&32==X()))}function ae(e){for(;X();)switch(V){case e:return G;case 34:case 39:34!==e&&39!==e&&ae(V);break;case 40:41===e&&ae(e);break;case 92:X()}return G}function le(e,t){for(;X()&&e+V!==57&&(e+V!==84||47!==Q()););return"/*"+J(t,G-1)+"*"+P(47===e?e:X())}function se(e){for(;!ee(Q());)X();return J(e,G)}function ue(e){return ne(ce("",null,null,null,[""],e=te(e),0,[0],e))}function ce(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,E=i,S=r,w=y;g;)switch(h=v,v=X()){case 40:if(108!=h&&58==j(w,d-1)){-1!=N(w+=M(re(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=re(v);break;case 9:case 10:case 13:case 32:w+=oe(h);break;case 92:w+=ie(Z()-1,7);continue;case 47:switch(Q()){case 42:case 47:B(pe(le(X(),Z()),t,n),s);break;default:w+="/"}break;case 123*m:l[u++]=$(w)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(w=M(w,/\f/g,"")),f>0&&$(w)-d&&B(f>32?fe(w+";",r,n,d-1):fe(M(w," ","")+";",r,n,d-2),s);break;case 59:w+=";";default:if(B(S=de(w,t,n,u,c,o,l,y,x=[],E=[],d),i),123===v)if(0===c)ce(w,t,S,S,x,i,d,l,E);else switch(99===p&&110===j(w,3)?100:p){case 100:case 108:case 109:case 115:ce(e,S,S,r&&B(de(e,S,S,0,0,o,l,y,o,x=[],d),E),o,E,d,l,r?x:E);break;default:ce(w,S,S,S,[""],E,0,l,E)}}u=c=f=0,m=b=1,y=w="",d=a;break;case 58:d=1+$(w),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==K())continue;switch(w+=P(v),v*m){case 38:b=c>0?1:(w+="\f",-1);break;case 44:l[u++]=($(w)-1)*b,b=1;break;case 64:45===Q()&&(w+=re(X())),p=Q(),c=d=$(y=w+=se(Z())),v++;break;case 45:45===h&&2==$(w)&&(m=0)}}return i}function de(e,t,n,r,o,i,a,l,s,u,c){for(var d=o-1,p=0===o?i:[""],f=D(p),h=0,m=0,g=0;h<r;++h)for(var b=0,v=z(e,d+1,d=A(m=a[h])),y=e;b<f;++b)(y=O(m>0?p[b]+" "+v:M(v,/&\f/g,p[b])))&&(s[g++]=y);return Y(e,t,n,0===o?_:l,s,u,c)}function pe(e,t,n){return Y(e,t,n,R,P(V),z(e,2,-2),0)}function fe(e,t,n,r){return Y(e,t,n,L,z(e,0,r),z(e,r+1,-1),r)}function he(e,t){for(var n="",r=D(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function me(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case L:return e.return=e.return||e.value;case R:return"";case T:return e.return=e.value+"{"+he(e.children,r)+"}";case _:e.value=e.props.join(",")}return $(n=he(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var be=function(e,t,n){for(var r=0,o=0;r=o,o=Q(),38===r&&12===o&&(t[n]=1),!ee(o);)X();return J(e,G)},ve=function(e,t){return ne(function(e,t){var n=-1,r=44;do{switch(ee(r)){case 0:38===r&&12===Q()&&(t[n]=1),e[n]+=be(G-1,t,n);break;case 2:e[n]+=re(r);break;case 4:if(44===r){e[++n]=58===Q()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=P(r)}}while(r=X());return e}(te(e),t))},ye=new WeakMap,xe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=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)||ye.get(n))&&!r){ye.set(e,!0);for(var o=[],i=ve(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},Ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Se(e,t){switch(function(e,t){return 45^j(e,0)?(((t<<2^j(e,0))<<2^j(e,1))<<2^j(e,2))<<2^j(e,3):0}(e,t)){case 5103:return k+"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 k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+C+e+w+e+e;case 6828:case 4268:return k+e+w+e+e;case 6165:return k+e+w+"flex-"+e+e;case 5187:return k+e+M(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+w+"flex-$1$2")+e;case 5443:return k+e+w+"flex-item-"+M(e,/flex-|-self/,"")+e;case 4675:return k+e+w+"flex-line-pack"+M(e,/align-content|flex-|-self/,"")+e;case 5548:return k+e+w+M(e,"shrink","negative")+e;case 5292:return k+e+w+M(e,"basis","preferred-size")+e;case 6060:return k+"box-"+M(e,"-grow","")+k+e+w+M(e,"grow","positive")+e;case 4554:return k+M(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return M(M(M(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return M(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return M(M(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+w+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4095:case 3583:case 4068:case 2532:return M(e,/(.+)-inline(.+)/,k+"$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($(e)-1-t>6)switch(j(e,t+1)){case 109:if(45!==j(e,t+4))break;case 102:return M(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+C+(108==j(e,t+3)?"$3":"$2-$3"))+e;case 115:return~N(e,"stretch")?Se(M(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==j(e,t+1))break;case 6444:switch(j(e,$(e)-3-(~N(e,"!important")&&10))){case 107:return M(e,":",":"+k)+e;case 101:return M(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+k+(45===j(e,14)?"inline-":"")+"box$3$1"+k+"$2$3$1"+w+"$2box$3")+e}break;case 5936:switch(j(e,t+11)){case 114:return k+e+w+M(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+w+M(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+w+M(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return k+e+w+e+e}return e}var we,Ce,ke,Re,_e=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case L:e.return=Se(e.value,e.length);break;case T:return he([q(e,{value:M(e.value,"@","@"+k)})],r);case _: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 he([q(e,{props:[M(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return he([q(e,{props:[M(t,/:(plac\w+)/,":"+k+"input-$1")]}),q(e,{props:[M(t,/:(plac\w+)/,":-moz-$1")]}),q(e,{props:[M(t,/:(plac\w+)/,w+"input-$1")]})],r)}return""})}}],Le=function(e){var t=e.key;if("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 r,o,i=e.stylisPlugins||_e,a={},l=[];r=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,u,c=[me,(u=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],d=function(e){var t=D(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([xe,Ee].concat(i,c));o=function(e,t,n,r){s=n,function(e){he(ue(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new S({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return p.sheet.hydrate(l),p},Te={exports:{}},Ae={};function Pe(){return Ce||(Ce=1,Te.exports=function(){if(we)return Ae;we=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case u:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case f:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===u}return Ae.AsyncMode=s,Ae.ConcurrentMode=u,Ae.ContextConsumer=l,Ae.ContextProvider=a,Ae.Element=t,Ae.ForwardRef=c,Ae.Fragment=r,Ae.Lazy=h,Ae.Memo=f,Ae.Portal=n,Ae.Profiler=i,Ae.StrictMode=o,Ae.Suspense=d,Ae.isAsyncMode=function(e){return x(e)||y(e)===s},Ae.isConcurrentMode=x,Ae.isContextConsumer=function(e){return y(e)===l},Ae.isContextProvider=function(e){return y(e)===a},Ae.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ae.isForwardRef=function(e){return y(e)===c},Ae.isFragment=function(e){return y(e)===r},Ae.isLazy=function(e){return y(e)===h},Ae.isMemo=function(e){return y(e)===f},Ae.isPortal=function(e){return y(e)===n},Ae.isProfiler=function(e){return y(e)===i},Ae.isStrictMode=function(e){return y(e)===o},Ae.isSuspense=function(e){return y(e)===d},Ae.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},Ae.typeOf=y,Ae}()),Te.exports}!function(){if(Re)return ke;Re=1;var e=Pe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,d=Object.prototype;ke=function e(t,r,o){if("string"!=typeof r){if(d){var p=c(r);p&&p!==d&&e(t,p,o)}var f=l(r);s&&(f=f.concat(s(r)));for(var h=i(t),m=i(r),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||o&&o[b]||m&&m[b]||h&&h[b])){var v=u(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();function Ie(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var Oe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Me=function(e,t,n){Oe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var Ne={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},je=/[A-Z]|^ms/g,ze=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$e=function(e){return 45===e.charCodeAt(1)},De=function(e){return null!=e&&"boolean"!=typeof e},Be=ge(function(e){return $e(e)?e:e.replace(je,"-$&").toLowerCase()}),Fe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ze,function(e,t,n){return He={name:t,styles:n,next:He},t})}return 1===Ne[e]||$e(e)||"number"!=typeof t||0===t?t:t+"px"};function Ue(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return He={name:o.name,styles:o.styles,next:He},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)He={name:a.name,styles:a.styles,next:He},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ue(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":De(l)&&(r+=Be(i)+":"+Fe(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Ue(e,t,a);switch(i){case"animation":case"animationName":r+=Be(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)De(a[u])&&(r+=Be(i)+":"+Fe(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=He,s=n(e);return He=l,Ue(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var He,Ge=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ve(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";He=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Ue(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Ue(n,t,e[a]),r)o+=i[a]}Ge.lastIndex=0;for(var l,s="";null!==(l=Ge.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:He}}var We,Ye,qe=!!E.useInsertionEffect&&E.useInsertionEffect,Ke=qe||function(e){return e()},Xe=qe||y.useLayoutEffect,Qe=y.createContext("undefined"!=typeof HTMLElement?Le({key:"css"}):null),Ze=Qe.Provider,Je=function(e){return y.forwardRef(function(t,n){var r=y.useContext(Qe);return e(t,r,n)})},et=y.createContext({}),tt={}.hasOwnProperty,nt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",rt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Oe(t,n,r),Ke(function(){return Me(t,n,r)}),null},ot=Je(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[nt],i=[r],a="";"string"==typeof e.className?a=Ie(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=Ve(i,void 0,y.useContext(et));a+=t.key+"-"+l.name;var s={};for(var u in e)tt.call(e,u)&&"css"!==u&&u!==nt&&(s[u]=e[u]);return s.className=a,n&&(s.ref=n),y.createElement(y.Fragment,null,y.createElement(rt,{cache:t,serialized:l,isStringTag:"string"==typeof o}),y.createElement(o,s))}),it=function(e,t){var n=arguments;if(null==t||!tt.call(t,"css"))return y.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=ot,o[1]=function(e,t){var n={};for(var r in t)tt.call(t,r)&&(n[r]=t[r]);return n[nt]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return y.createElement.apply(null,o)};We=it||(it={}),Ye||(Ye=We.JSX||(We.JSX={}));var at=Je(function(e,t){var n=Ve([e.styles],void 0,y.useContext(et)),r=y.useRef();return Xe(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),Xe(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Me(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function lt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ve(t)}function st(){var e=lt.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_"}}}var ut=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|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)-.*))$/,ct=ge(function(e){return ut.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),dt=function(e){return"theme"!==e},pt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?ct:dt},ft=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ht=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Oe(t,n,r),Ke(function(){return Me(t,n,r)}),null},mt=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=ft(t,n,i),s=l||pt(a),u=!s("as");return function(){var c=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)p.push.apply(p,c);else{var f=c[0];p.push(f[0]);for(var h=c.length,m=1;m<h;m++)p.push(c[m],f[m])}var g=Je(function(e,t,n){var r=u&&e.as||a,i="",c=[],d=e;if(null==e.theme){for(var f in d={},e)d[f]=e[f];d.theme=y.useContext(et)}"string"==typeof e.className?i=Ie(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var h=Ve(p.concat(c),t.registered,d);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=u&&void 0===l?pt(r):s,g={};for(var b in e)u&&"as"===b||m(b)&&(g[b]=e[b]);return g.className=i,n&&(g.ref=n),y.createElement(y.Fragment,null,y.createElement(ht,{cache:t,serialized:h,isStringTag:"string"==typeof r}),y.createElement(r,g))});return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=p,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,d({},n,r,{shouldForwardProp:ft(g,r,!0)})).apply(void 0,p)},g}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){mt[e]=mt(e)});var gt,bt,vt={exports:{}},yt={};var xt=(bt||(bt=1,vt.exports=function(){if(gt)return yt;gt=1;var e=v(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var l,s={},u=null,c=null;for(l in void 0!==a&&(u=""+a),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!i.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return yt.Fragment=n,yt.jsx=a,yt.jsxs=a,yt}()),vt.exports);const Et=new Map;function St(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return xt.jsx(at,{styles:r})}
7
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@nebula.js/stardust")):"function"==typeof define&&define.amd?define(["@nebula.js/stardust"],t):(e="undefined"!=typeof globalThis?globalThis:e||self)["sn-tabbed-container"]=t(e.stardust)}(this,function(e){"use strict";function t(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var r=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,r.get?r:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}var n,r,o={Container_Label_Visualizations:{id:"Container.Label.Visualizations",locale:{"de-DE":"Visualisierungen","en-US":"Visualizations","es-ES":"Visualizaciones","fr-FR":"Visualisations","it-IT":"Visualizzazioni","ja-JP":"ビジュアライゼーション","ko-KR":"시각화","nl-NL":"Visualisaties","pl-PL":"Wizualizacje","pt-BR":"Visualizações","ru-RU":"Визуализации","sv-SE":"Visualiseringar","tr-TR":"Görselleştirmeler","zh-CN":"可视化","zh-TW":"視覺化"}},LayoutContainer_EmptyList_AddContent:{id:"LayoutContainer.EmptyList.AddContent",locale:{"de-DE":"Inhalt hinzufügen","en-US":"Add content","es-ES":"Añadir contenido","fr-FR":"Ajouter un contenu","it-IT":"Aggiungi contenuto","ja-JP":"コンテンツを追加","ko-KR":"콘텐츠 추가","nl-NL":"Inhoud toevoegen","pl-PL":"Dodaj zawartość","pt-BR":"Adicionar conteúdo","ru-RU":"Добавить содержимое","sv-SE":"Lägg till innehåll","tr-TR":"İçerik ekle","zh-CN":"添加内容","zh-TW":"新增內容"}},LayoutContainer_EmptyList_EmptyHint:{id:"LayoutContainer.EmptyList.EmptyHint",locale:{"de-DE":"Leere Sammelbox","en-US":"Empty container","es-ES":"Contenedor vacío","fr-FR":"Conteneur vide","it-IT":"Contenitore vuoto","ja-JP":"コンテナが空です","ko-KR":"빈 컨테이너","nl-NL":"Lege container","pl-PL":"Pusty kontener","pt-BR":"Contêiner vazio","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_Description:{id:"LayoutContainer.Object.Description",locale:{"de-DE":"Die Sammelbox besteht aus folgenden Objekten: {0}. Verwenden Sie zum Navigieren die Nach-links- und Nach-rechts-Pfeiltasten. Drücken Sie die Eingabetaste oder die Leertaste, um die Diagramme auszuwählen.","en-US":"Container consists of the following objects: {0}. Use left and right arrow keys to navigate through the inner charts. Press enter or space to select the charts.","es-ES":"El contenedor consta de los siguientes objetos: {0}. Utilice las teclas de flecha izquierda y derecha para navegar por los gráficos interiores. Pulse Intro o espacio para seleccionar los gráficos.","fr-FR":"Le conteneur comprend les objets suivants : {0}. Utilisez les touches de direction gauche et droite pour parcourir les graphiques internes. Appuyez sur la touche Entrée ou espace pour sélectionner les graphiques.","it-IT":"Il contenitore include i seguenti oggetti: {0}. Utilizzare i tasti freccia sinistro e destro per navigare tra i grafici interni. Per selezionare i grafici, premere Invio o Spazio.","ja-JP":"コンテナは以下のオブジェクトで構成されます: {0}。左右の矢印キーを使用して、内部のチャートをナビゲートします。Enter キーかスペース キーを押してチャートを選択します。","ko-KR":"컨테이너는 다음 개체로 구성됩니다. {0}. 왼쪽 및 오른쪽 화살표 키를 사용하여 내부 차트를 탐색하십시오. 차트를 선택하려면 Enter 키나 스페이스바를 누르십시오.","nl-NL":"Container bevat de volgende objecten: {0}. Navigeer met de pijl-links en pijl-rechts langs de binnenste diagrammen. Druk op Enter of de spatiebalk om de diagrammen te selecteren.","pl-PL":"Kontener zawiera następujące obiekty: {0}. Do nawigacji po wewnętrznych wykresach użyj lewego i prawego klawisza strzałki. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać wykresy.","pt-BR":"O contêiner consiste nos seguintes objetos: {0}. Use as setas para a esquerda e para a direita para navegar pelos gráficos internos. Pressione Enter ou espaço para selecionar os gráficos.","ru-RU":"Контейнер состоит из следующих объектов: {0}. Для навигации по внутренним диаграммам используйте клавиши со стрелками влево и вправо. Нажмите клавишу Enter или пробел, чтобы выбрать диаграммы.","sv-SE":"Behållaren innehåller följande objekt: {0}. Använd vänster och höger piltangent för att navigera genom de inre diagrammen. Tryck på returtangenten eller mellanslag för att välja diagram.","tr-TR":"Kapsayıcı şu nesneleri içerir: {0}. İç grafikler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Grafik seçmek için enter veya boşluk tuşuna basın.","zh-CN":"容器由以下对象组成:{0}。使用左右箭头键浏览内部图表。按回车或空格键选择图表。","zh-TW":"容器由下列物件組成:{0}。使用向左和向右方向鍵瀏覽內部圖表。按下 Enter 或空間以選取圖表。"}},LayoutContainer_Object_MasterItems:{id:"LayoutContainer.Object.MasterItems",locale:{"de-DE":"Master-Elemente","en-US":"Master items","es-ES":"Elementos maestros","fr-FR":"Éléments principaux","it-IT":"Voci principali","ja-JP":"マスター アイテム","ko-KR":"마스터 항목","nl-NL":"Masteritems","pl-PL":"Elementy główne","pt-BR":"Itens mestre","ru-RU":"Основные элементы","sv-SE":"Originalobjekt","tr-TR":"Ana öğeler","zh-CN":"主条目","zh-TW":"主項目"}},LayoutContainer_Object_Untitled:{id:"LayoutContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}},TabContainer_Navigation_Horizontal:{id:"TabContainer.Navigation.Horizontal",locale:{"de-DE":"Verwenden Sie die Nach-links- und Nach-rechts-Pfeiltasten, um durch die Registerkarten zu navigieren. Drücken Sie die Eingabetaste oder die Leertaste, um die Registerkarten auszuwählen.","en-US":"Use left and right arrow keys to navigate through the tabs. Press Enter or Space to select the tabs.","es-ES":"Utilice las teclas de flecha izquierda y derecha para navegar por las pestañas. Pulse Intro o Espacio para seleccionar las pestañas.","fr-FR":"Utilisez les touches des flèches gauche et droite pour naviguer à travers les onglets. Appuyez sur la touche Entrée ou Espace pour sélectionner les onglets.","it-IT":"Utilizzare i tasti freccia destra e sinistra per navigare tra le schede. Per selezionare le schede, premere Invio o Spazio.","ja-JP":"左右の矢印キーで、タブ間を移動できます。Enter キーかスペース キーを押せば、タブを選択できます。","ko-KR":"탭을 탐색하려면 왼쪽 및 오른쪽 화살표 키를 사용합니다. 탭을 선택하려면 Enter 키 또는 스페이스바를 누르십시오.","nl-NL":"Gebruik de pijl-links en pijl-rechts om te navigeren tussen de tabbladen. Druk op Enter of de spatiebalk om de tabbladen te selecteren.","pl-PL":"Do poruszania się po kartach użyj klawiszy strzałek w lewo i w prawo. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać karty.","pt-BR":"Use as setas para a esquerda e para a direita para navegar pelas guias. Pressione Enter ou Espaço para selecionar as guias.","ru-RU":'Используйте стрелки влево и вправо для навигации по вкладкам. Нажмите Enter или "Пробел", чтобы выбрать вкладку.',"sv-SE":"Använd vänster och höger piltangent för att navigera mellan flikarna. Tryck på returtangenten eller mellanslag för att välja flikar.","tr-TR":"Sekmeler arasında gezinmek için sağ ve sol ok tuşlarını kullanın. Sekme seçmek için Enter veya Boşluk tuşuna basın.","zh-CN":"使用左右箭头键浏览选项卡。按 Enter 或空格键选择选项卡。","zh-TW":"使用向左和向右方向鍵瀏覽索引標籤。按下 Enter 或空格鍵以選取索引標籤。"}},TabContainer_Navigation_Vertical:{id:"TabContainer.Navigation.Vertical",locale:{"de-DE":"Verwenden Sie die Nach-unten- und Nach-oben-Pfeiltasten, um durch die Registerkarten zu navigieren. Drücken Sie die Eingabetaste oder die Leertaste, um die Registerkarten auszuwählen.","en-US":"Use up and down arrow keys to navigate through the tabs. Press Enter or Space to select the tabs.","es-ES":"Utilice las teclas de flecha arriba y abajo para navegar por las pestañas. Pulse Intro o Espacio para seleccionar las pestañas.","fr-FR":"Utilisez les touches des flèches haut et bas pour naviguer à travers les onglets. Appuyez sur la touche Entrée ou Espace pour sélectionner les onglets.","it-IT":"Per navigare tra le schede, usare i tasti freccia su e giù. Per selezionare le schede, premere Invio o Spazio.","ja-JP":"上下の矢印キーで、タブ間を移動できます。Enter キーかスペース キーを押せば、タブを選択できます。","ko-KR":"탭을 탐색하려면 위쪽 및 아래쪽 화살표 키를 사용합니다. 탭을 선택하려면 Enter 키 또는 스페이스바를 누르십시오.","nl-NL":"Gebruik de pijl-omhoog en pijl-omlaag om te navigeren tussen de tabbladen. Druk op Enter of de spatiebalk om de tabbladen te selecteren.","pl-PL":"Do poruszania się po kartach użyj klawiszy strzałek w górę i w dół. Naciśnij klawisz Enter lub klawisz spacji, aby wybrać karty.","pt-BR":"Use as setas para cima e para baixo para navegar pelas guias. Pressione Enter ou Espaço para selecionar as guias.","ru-RU":'Используйте стрелки вверх и вниз для навигации по вкладкам. Нажмите Enter или "Пробел", чтобы выбрать вкладку.',"sv-SE":"Använd piltangenterna upp och ner för att navigera genom flikarna. Tryck på returtangenten eller mellanslag för att välja flikar.","tr-TR":"Sekmeler arasında gezinmek için yukarı ve aşağı ok tuşlarını kullanın. Sekme seçmek için Enter veya Boşluk tuşuna basın.","zh-CN":"使用上下箭头键浏览选项卡。按 Enter 或空格键选择选项卡。","zh-TW":"使用向上和向下方向鍵以瀏覽索引標籤。按下 Enter 或空格鍵以選取索引標籤。"}},TabContainer_Object_Description:{id:"TabContainer.Object.Description",locale:{"de-DE":"Die Registerkarten-Sammelbox besteht aus folgenden Objekten: {0}.","en-US":"Tab container consists of the following objects: {0}.","es-ES":"El contenedor de pestañas contiene los siguientes objetos: {0}.","fr-FR":"Le conteneur d'onglets comprend les objets suivants : {0}.","it-IT":"Il contenitore a schede include i seguenti oggetti: {0}.","ja-JP":"タブ コンテナは以下のオブジェクトで構成されています: {0}。","ko-KR":"탭 컨테이너는 다음 개체로 구성됩니다. {0}.","nl-NL":"Tabbladcontainer bevat de volgende objecten: {0}.","pl-PL":"Kontener kart zawiera następujące obiekty: {0}.","pt-BR":"O contêiner de guias consiste nos seguintes objetos: {0}.","ru-RU":"Контейнер вкладок содержит следующие объекты: {0}.","sv-SE":"Flikbehållaren innehåller följande objekt: {0}.","tr-TR":"Sekme kapsayıcısı şu nesneleri içerir: {0}.","zh-CN":"选项卡容器由以下对象组成:{0}。","zh-TW":"索引標籤容器由下列物件組成:{0}。"}},TabContainer_Object_Untitled:{id:"TabContainer.Object.Untitled",locale:{"de-DE":"Unbenanntes Objekt","en-US":"Untitled object","es-ES":"Objeto sin título","fr-FR":"Objet sans titre","it-IT":"Oggetto senza nome","ja-JP":"無題のオブジェクト","ko-KR":"제목 없는 개체","nl-NL":"Object zonder titel","pl-PL":"Obiekt bez tytułu","pt-BR":"Objeto sem título","ru-RU":"Объект без названия","sv-SE":"Objekt utan namn","tr-TR":"Başlıksız nesne","zh-CN":"无标题对象","zh-TW":"無標題的物件"}}};function i(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if("function"==typeof t){var n=function e(){var n=!1;try{n=this instanceof e}catch(e){}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),n}var l=function(){if(r)return n;r=1;var e={};function t(){t.init.call(this)}return e.isObject=function(e){return"object"==typeof e&&null!==e},e.isNumber=function(e){return"number"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return"function"==typeof e},n=t,t.EventEmitter=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},t.prototype.setMaxListeners=function(t){if(!e.isNumber(t)||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},t.prototype.emit=function(t){var n,r,o,i,a,l;if(this._events||(this._events={}),"error"===t&&!this._events.error)throw(n=arguments[1])instanceof Error?n:Error('Uncaught, unspecified "error" event.');if(r=this._events[t],e.isUndefined(r))return!1;if(e.isFunction(r))switch(arguments.length){case 1:r.call(this);break;case 2:r.call(this,arguments[1]);break;case 3:r.call(this,arguments[1],arguments[2]);break;default:for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];r.apply(this,i)}else if(e.isObject(r)){for(o=arguments.length,i=new Array(o-1),a=1;a<o;a++)i[a-1]=arguments[a];for(o=(l=r.slice()).length,a=0;a<o;a++)l[a].apply(this,i)}return!0},t.prototype.addListener=function(n,r){var o;if(!e.isFunction(r))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",n,e.isFunction(r.listener)?r.listener:r),this._events[n]?e.isObject(this._events[n])?this._events[n].push(r):this._events[n]=[this._events[n],r]:this._events[n]=r,e.isObject(this._events[n])&&!this._events[n].warned)&&((o=e.isUndefined(this._maxListeners)?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[n].length>o&&(this._events[n].warned=!0,e.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[n].length),e.isFunction(console.trace)&&console.trace()));return this},t.prototype.on=t.prototype.addListener,t.prototype.once=function(t,n){if(!e.isFunction(n))throw TypeError("listener must be a function");var r=!1;function o(){this.removeListener(t,o),r||(r=!0,n.apply(this,arguments))}return o.listener=n,this.on(t,o),this},t.prototype.removeListener=function(t,n){var r,o,i,a;if(!e.isFunction(n))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(i=(r=this._events[t]).length,o=-1,r===n||e.isFunction(r.listener)&&r.listener===n)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,n);else if(e.isObject(r)){for(a=i;a-- >0;)if(r[a]===n||r[a].listener&&r[a].listener===n){o=a;break}if(o<0)return this;1===r.length?(r.length=0,delete this._events[t]):r.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,n)}return this},t.prototype.removeAllListeners=function(t){var n,r;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(n in this._events)"removeListener"!==n&&this.removeAllListeners(n);return this.removeAllListeners("removeListener"),this._events={},this}if(r=this._events[t],e.isFunction(r))this.removeListener(t,r);else if(Array.isArray(r))for(;r.length;)this.removeListener(t,r[r.length-1]);return delete this._events[t],this},t.prototype.listeners=function(t){return this._events&&this._events[t]?e.isFunction(this._events[t])?[this._events[t]]:this._events[t].slice():[]},t.listenerCount=function(t,n){return t._events&&t._events[n]?e.isFunction(t._events[n])?1:t._events[n].length:0},n}();function s(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 u=Object.freeze({__proto__:null,default:s}),c="$$material";function d(){return d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(null,arguments)}function p(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}var f,h,m={exports:{}},g={};function b(){if(f)return g;f=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}function v(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||p}b.prototype.isReactComponent={},b.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},b.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=b.prototype;var x=y.prototype=new v;x.constructor=y,h(x,b.prototype),x.isPureReactComponent=!0;var E=Array.isArray,S=Object.prototype.hasOwnProperty,w={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function k(t,n,r){var o,i={},a=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(a=""+n.key),n)S.call(n,o)&&!C.hasOwnProperty(o)&&(i[o]=n[o]);var s=arguments.length-2;if(1===s)i.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];i.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===i[o]&&(i[o]=s[o]);return{$$typeof:e,type:t,key:a,ref:l,props:i,_owner:w.current}}function R(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var _=/\/+/g;function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function T(n,r,o,i,a){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return a=a(s=n),n=""===i?"."+L(s,0):i,E(a)?(o="",null!=n&&(o=n.replace(_,"$&/")+"/"),T(a,r,o,"",function(e){return e})):null!=a&&(R(a)&&(a=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(a,o+(!a.key||s&&s.key===a.key?"":(""+a.key).replace(_,"$&/")+"/")+n)),r.push(a)),1;if(s=0,i=""===i?".":i+":",E(n))for(var u=0;u<n.length;u++){var c=i+L(l=n[u],u);s+=T(l,r,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=T(l=l.value,r,o,c=i+L(l,u++),a);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function A(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",function(e){return t.call(n,e,o++)}),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var I={current:null},O={transition:null},M={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:O,ReactCurrentOwner:w};function N(){throw Error("act(...) is not supported in production builds of React.")}return g.Children={map:A,forEach:function(e,t,n){A(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return A(e,function(){t++}),t},toArray:function(e){return A(e,function(e){return e})||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},g.Component=b,g.Fragment=n,g.Profiler=o,g.PureComponent=y,g.StrictMode=r,g.Suspense=s,g.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,g.act=N,g.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=h({},t.props),i=t.key,a=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(a=n.ref,l=w.current),void 0!==n.key&&(i=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)S.call(n,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:i,ref:a,props:o,_owner:l}},g.createContext=function(e){return(e={$$typeof:a,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},g.createElement=k,g.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},g.createRef=function(){return{current:null}},g.forwardRef=function(e){return{$$typeof:l,render:e}},g.isValidElement=R,g.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:P}},g.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},g.startTransition=function(e){var t=O.transition;O.transition={};try{e()}finally{O.transition=t}},g.unstable_act=N,g.useCallback=function(e,t){return I.current.useCallback(e,t)},g.useContext=function(e){return I.current.useContext(e)},g.useDebugValue=function(){},g.useDeferredValue=function(e){return I.current.useDeferredValue(e)},g.useEffect=function(e,t){return I.current.useEffect(e,t)},g.useId=function(){return I.current.useId()},g.useImperativeHandle=function(e,t,n){return I.current.useImperativeHandle(e,t,n)},g.useInsertionEffect=function(e,t){return I.current.useInsertionEffect(e,t)},g.useLayoutEffect=function(e,t){return I.current.useLayoutEffect(e,t)},g.useMemo=function(e,t){return I.current.useMemo(e,t)},g.useReducer=function(e,t,n){return I.current.useReducer(e,t,n)},g.useRef=function(e){return I.current.useRef(e)},g.useState=function(e){return I.current.useState(e)},g.useSyncExternalStore=function(e,t,n){return I.current.useSyncExternalStore(e,t,n)},g.useTransition=function(){return I.current.useTransition()},g.version="18.3.1",g}function v(){return h||(h=1,m.exports=b()),m.exports}var y=v(),x=i(y),E=t({__proto__:null,default:x},[y]);var S=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){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),w="-ms-",C="-moz-",k="-webkit-",R="comm",_="rule",L="decl",T="@keyframes",A=Math.abs,P=String.fromCharCode,I=Object.assign;function O(e){return e.trim()}function M(e,t,n){return e.replace(t,n)}function N(e,t){return e.indexOf(t)}function j(e,t){return 0|e.charCodeAt(t)}function z(e,t,n){return e.slice(t,n)}function $(e){return e.length}function D(e){return e.length}function B(e,t){return t.push(e),e}var F=1,U=1,H=0,G=0,V=0,W="";function Y(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:F,column:U,length:a,return:""}}function q(e,t){return I(Y("",null,null,"",null,null,0),e,{length:-e.length},t)}function K(){return V=G>0?j(W,--G):0,U--,10===V&&(U=1,F--),V}function X(){return V=G<H?j(W,G++):0,U++,10===V&&(U=1,F++),V}function Q(){return j(W,G)}function Z(){return G}function J(e,t){return z(W,e,t)}function ee(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 te(e){return F=U=1,H=$(W=e),G=0,[]}function ne(e){return W="",e}function re(e){return O(J(G-1,ae(91===e?e+2:40===e?e+1:e)))}function oe(e){for(;(V=Q())&&V<33;)X();return ee(e)>2||ee(V)>3?"":" "}function ie(e,t){for(;--t&&X()&&!(V<48||V>102||V>57&&V<65||V>70&&V<97););return J(e,Z()+(t<6&&32==Q()&&32==X()))}function ae(e){for(;X();)switch(V){case e:return G;case 34:case 39:34!==e&&39!==e&&ae(V);break;case 40:41===e&&ae(e);break;case 92:X()}return G}function le(e,t){for(;X()&&e+V!==57&&(e+V!==84||47!==Q()););return"/*"+J(t,G-1)+"*"+P(47===e?e:X())}function se(e){for(;!ee(Q());)X();return J(e,G)}function ue(e){return ne(ce("",null,null,null,[""],e=te(e),0,[0],e))}function ce(e,t,n,r,o,i,a,l,s){for(var u=0,c=0,d=a,p=0,f=0,h=0,m=1,g=1,b=1,v=0,y="",x=o,E=i,S=r,w=y;g;)switch(h=v,v=X()){case 40:if(108!=h&&58==j(w,d-1)){-1!=N(w+=M(re(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:w+=re(v);break;case 9:case 10:case 13:case 32:w+=oe(h);break;case 92:w+=ie(Z()-1,7);continue;case 47:switch(Q()){case 42:case 47:B(pe(le(X(),Z()),t,n),s);break;default:w+="/"}break;case 123*m:l[u++]=$(w)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+c:-1==b&&(w=M(w,/\f/g,"")),f>0&&$(w)-d&&B(f>32?fe(w+";",r,n,d-1):fe(M(w," ","")+";",r,n,d-2),s);break;case 59:w+=";";default:if(B(S=de(w,t,n,u,c,o,l,y,x=[],E=[],d),i),123===v)if(0===c)ce(w,t,S,S,x,i,d,l,E);else switch(99===p&&110===j(w,3)?100:p){case 100:case 108:case 109:case 115:ce(e,S,S,r&&B(de(e,S,S,0,0,o,l,y,o,x=[],d),E),o,E,d,l,r?x:E);break;default:ce(w,S,S,S,[""],E,0,l,E)}}u=c=f=0,m=b=1,y=w="",d=a;break;case 58:d=1+$(w),f=h;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==K())continue;switch(w+=P(v),v*m){case 38:b=c>0?1:(w+="\f",-1);break;case 44:l[u++]=($(w)-1)*b,b=1;break;case 64:45===Q()&&(w+=re(X())),p=Q(),c=d=$(y=w+=se(Z())),v++;break;case 45:45===h&&2==$(w)&&(m=0)}}return i}function de(e,t,n,r,o,i,a,l,s,u,c){for(var d=o-1,p=0===o?i:[""],f=D(p),h=0,m=0,g=0;h<r;++h)for(var b=0,v=z(e,d+1,d=A(m=a[h])),y=e;b<f;++b)(y=O(m>0?p[b]+" "+v:M(v,/&\f/g,p[b])))&&(s[g++]=y);return Y(e,t,n,0===o?_:l,s,u,c)}function pe(e,t,n){return Y(e,t,n,R,P(V),z(e,2,-2),0)}function fe(e,t,n,r){return Y(e,t,n,L,z(e,0,r),z(e,r+1,-1),r)}function he(e,t){for(var n="",r=D(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function me(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case L:return e.return=e.return||e.value;case R:return"";case T:return e.return=e.value+"{"+he(e.children,r)+"}";case _:e.value=e.props.join(",")}return $(n=he(e.children,r))?e.return=e.value+"{"+n+"}":""}function ge(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var be=function(e,t,n){for(var r=0,o=0;r=o,o=Q(),38===r&&12===o&&(t[n]=1),!ee(o);)X();return J(e,G)},ve=function(e,t){return ne(function(e,t){var n=-1,r=44;do{switch(ee(r)){case 0:38===r&&12===Q()&&(t[n]=1),e[n]+=be(G-1,t,n);break;case 2:e[n]+=re(r);break;case 4:if(44===r){e[++n]=58===Q()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=P(r)}}while(r=X());return e}(te(e),t))},ye=new WeakMap,xe=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=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)||ye.get(n))&&!r){ye.set(e,!0);for(var o=[],i=ve(t,o),a=n.props,l=0,s=0;l<i.length;l++)for(var u=0;u<a.length;u++,s++)e.props[s]=o[l]?i[l].replace(/&\f/g,a[u]):a[u]+" "+i[l]}}},Ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Se(e,t){switch(function(e,t){return 45^j(e,0)?(((t<<2^j(e,0))<<2^j(e,1))<<2^j(e,2))<<2^j(e,3):0}(e,t)){case 5103:return k+"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 k+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return k+e+C+e+w+e+e;case 6828:case 4268:return k+e+w+e+e;case 6165:return k+e+w+"flex-"+e+e;case 5187:return k+e+M(e,/(\w+).+(:[^]+)/,k+"box-$1$2"+w+"flex-$1$2")+e;case 5443:return k+e+w+"flex-item-"+M(e,/flex-|-self/,"")+e;case 4675:return k+e+w+"flex-line-pack"+M(e,/align-content|flex-|-self/,"")+e;case 5548:return k+e+w+M(e,"shrink","negative")+e;case 5292:return k+e+w+M(e,"basis","preferred-size")+e;case 6060:return k+"box-"+M(e,"-grow","")+k+e+w+M(e,"grow","positive")+e;case 4554:return k+M(e,/([^-])(transform)/g,"$1"+k+"$2")+e;case 6187:return M(M(M(e,/(zoom-|grab)/,k+"$1"),/(image-set)/,k+"$1"),e,"")+e;case 5495:case 3959:return M(e,/(image-set\([^]*)/,k+"$1$`$1");case 4968:return M(M(e,/(.+:)(flex-)?(.*)/,k+"box-pack:$3"+w+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+k+e+e;case 4095:case 3583:case 4068:case 2532:return M(e,/(.+)-inline(.+)/,k+"$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($(e)-1-t>6)switch(j(e,t+1)){case 109:if(45!==j(e,t+4))break;case 102:return M(e,/(.+:)(.+)-([^]+)/,"$1"+k+"$2-$3$1"+C+(108==j(e,t+3)?"$3":"$2-$3"))+e;case 115:return~N(e,"stretch")?Se(M(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==j(e,t+1))break;case 6444:switch(j(e,$(e)-3-(~N(e,"!important")&&10))){case 107:return M(e,":",":"+k)+e;case 101:return M(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+k+(45===j(e,14)?"inline-":"")+"box$3$1"+k+"$2$3$1"+w+"$2box$3")+e}break;case 5936:switch(j(e,t+11)){case 114:return k+e+w+M(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return k+e+w+M(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return k+e+w+M(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return k+e+w+e+e}return e}var we,Ce,ke,Re,_e=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case L:e.return=Se(e.value,e.length);break;case T:return he([q(e,{value:M(e.value,"@","@"+k)})],r);case _: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 he([q(e,{props:[M(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return he([q(e,{props:[M(t,/:(plac\w+)/,":"+k+"input-$1")]}),q(e,{props:[M(t,/:(plac\w+)/,":-moz-$1")]}),q(e,{props:[M(t,/:(plac\w+)/,w+"input-$1")]})],r)}return""})}}],Le=function(e){var t=e.key;if("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 r,o,i=e.stylisPlugins||_e,a={},l=[];r=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,u,c=[me,(u=function(e){s.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],d=function(e){var t=D(e);return function(n,r,o,i){for(var a="",l=0;l<t;l++)a+=e[l](n,r,o,i)||"";return a}}([xe,Ee].concat(i,c));o=function(e,t,n,r){s=n,function(e){he(ue(e),d)}(e?e+"{"+t.styles+"}":t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new S({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return p.sheet.hydrate(l),p},Te={exports:{}},Ae={};function Pe(){return Ce||(Ce=1,Te.exports=function(){if(we)return Ae;we=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,c=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,f=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case s:case u:case r:case i:case o:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case h:case f:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===u}return Ae.AsyncMode=s,Ae.ConcurrentMode=u,Ae.ContextConsumer=l,Ae.ContextProvider=a,Ae.Element=t,Ae.ForwardRef=c,Ae.Fragment=r,Ae.Lazy=h,Ae.Memo=f,Ae.Portal=n,Ae.Profiler=i,Ae.StrictMode=o,Ae.Suspense=d,Ae.isAsyncMode=function(e){return x(e)||y(e)===s},Ae.isConcurrentMode=x,Ae.isContextConsumer=function(e){return y(e)===l},Ae.isContextProvider=function(e){return y(e)===a},Ae.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Ae.isForwardRef=function(e){return y(e)===c},Ae.isFragment=function(e){return y(e)===r},Ae.isLazy=function(e){return y(e)===h},Ae.isMemo=function(e){return y(e)===f},Ae.isPortal=function(e){return y(e)===n},Ae.isProfiler=function(e){return y(e)===i},Ae.isStrictMode=function(e){return y(e)===o},Ae.isSuspense=function(e){return y(e)===d},Ae.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===u||e===i||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===a||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===m)},Ae.typeOf=y,Ae}()),Te.exports}!function(){if(Re)return ke;Re=1;var e=Pe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};function i(n){return e.isMemo(n)?r:o[n.$$typeof]||t}o[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o[e.Memo]=r;var a=Object.defineProperty,l=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,c=Object.getPrototypeOf,d=Object.prototype;ke=function e(t,r,o){if("string"!=typeof r){if(d){var p=c(r);p&&p!==d&&e(t,p,o)}var f=l(r);s&&(f=f.concat(s(r)));for(var h=i(t),m=i(r),g=0;g<f.length;++g){var b=f[g];if(!(n[b]||o&&o[b]||m&&m[b]||h&&h[b])){var v=u(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();function Ie(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}var Oe=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},Me=function(e,t,n){Oe(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var Ne={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},je=/[A-Z]|^ms/g,ze=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$e=function(e){return 45===e.charCodeAt(1)},De=function(e){return null!=e&&"boolean"!=typeof e},Be=ge(function(e){return $e(e)?e:e.replace(je,"-$&").toLowerCase()}),Fe=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ze,function(e,t,n){return He={name:t,styles:n,next:He},t})}return 1===Ne[e]||$e(e)||"number"!=typeof t||0===t?t:t+"px"};function Ue(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return He={name:o.name,styles:o.styles,next:He},o.name;var i=n;if(void 0!==i.styles){var a=i.next;if(void 0!==a)for(;void 0!==a;)He={name:a.name,styles:a.styles,next:He},a=a.next;return i.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Ue(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!=typeof a){var l=a;null!=t&&void 0!==t[l]?r+=i+"{"+t[l]+"}":De(l)&&(r+=Be(i)+":"+Fe(i,l)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Ue(e,t,a);switch(i){case"animation":case"animationName":r+=Be(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var u=0;u<a.length;u++)De(a[u])&&(r+=Be(i)+":"+Fe(i,a[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var l=He,s=n(e);return He=l,Ue(e,t,s)}}var u=n;if(null==t)return u;var c=t[u];return void 0!==c?c:u}var He,Ge=/label:\s*([^\s;{]+)\s*(;|$)/g;function Ve(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";He=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Ue(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++){if(o+=Ue(n,t,e[a]),r)o+=i[a]}Ge.lastIndex=0;for(var l,s="";null!==(l=Ge.exec(o));)s+="-"+l[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:He}}var We,Ye,qe=!!E.useInsertionEffect&&E.useInsertionEffect,Ke=qe||function(e){return e()},Xe=qe||y.useLayoutEffect,Qe=y.createContext("undefined"!=typeof HTMLElement?Le({key:"css"}):null),Ze=Qe.Provider,Je=function(e){return y.forwardRef(function(t,n){var r=y.useContext(Qe);return e(t,r,n)})},et=y.createContext({}),tt={}.hasOwnProperty,nt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",rt=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Oe(t,n,r),Ke(function(){return Me(t,n,r)}),null},ot=Je(function(e,t,n){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[nt],i=[r],a="";"string"==typeof e.className?a=Ie(t.registered,i,e.className):null!=e.className&&(a=e.className+" ");var l=Ve(i,void 0,y.useContext(et));a+=t.key+"-"+l.name;var s={};for(var u in e)tt.call(e,u)&&"css"!==u&&u!==nt&&(s[u]=e[u]);return s.className=a,n&&(s.ref=n),y.createElement(y.Fragment,null,y.createElement(rt,{cache:t,serialized:l,isStringTag:"string"==typeof o}),y.createElement(o,s))}),it=function(e,t){var n=arguments;if(null==t||!tt.call(t,"css"))return y.createElement.apply(void 0,n);var r=n.length,o=new Array(r);o[0]=ot,o[1]=function(e,t){var n={};for(var r in t)tt.call(t,r)&&(n[r]=t[r]);return n[nt]=e,n}(e,t);for(var i=2;i<r;i++)o[i]=n[i];return y.createElement.apply(null,o)};We=it||(it={}),Ye||(Ye=We.JSX||(We.JSX={}));var at=Je(function(e,t){var n=Ve([e.styles],void 0,y.useContext(et)),r=y.useRef();return Xe(function(){var e=t.key+"-global",o=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(o.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),o.hydrate([a])),r.current=[o,i],function(){o.flush()}},[t]),Xe(function(){var e=r.current,o=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&Me(t,n.next,!0),o.tags.length){var i=o.tags[o.tags.length-1].nextElementSibling;o.before=i,o.flush()}t.insert("",n,o,!1)}},[t,n.name]),null});function lt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Ve(t)}function st(){var e=lt.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_"}}}var ut=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|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)-.*))$/,ct=ge(function(e){return ut.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),dt=function(e){return"theme"!==e},pt=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?ct:dt},ft=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},ht=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Oe(t,n,r),Ke(function(){return Me(t,n,r)}),null},mt=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var l=ft(t,n,i),s=l||pt(a),u=!s("as");return function(){var c=arguments,p=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==c[0]||void 0===c[0].raw)p.push.apply(p,c);else{var f=c[0];p.push(f[0]);for(var h=c.length,m=1;m<h;m++)p.push(c[m],f[m])}var g=Je(function(e,t,n){var r=u&&e.as||a,i="",c=[],d=e;if(null==e.theme){for(var f in d={},e)d[f]=e[f];d.theme=y.useContext(et)}"string"==typeof e.className?i=Ie(t.registered,c,e.className):null!=e.className&&(i=e.className+" ");var h=Ve(p.concat(c),t.registered,d);i+=t.key+"-"+h.name,void 0!==o&&(i+=" "+o);var m=u&&void 0===l?pt(r):s,g={};for(var b in e)u&&"as"===b||m(b)&&(g[b]=e[b]);return g.className=i,n&&(g.ref=n),y.createElement(y.Fragment,null,y.createElement(ht,{cache:t,serialized:h,isStringTag:"string"==typeof r}),y.createElement(r,g))});return g.displayName=void 0!==r?r:"Styled("+("string"==typeof a?a:a.displayName||a.name||"Component")+")",g.defaultProps=t.defaultProps,g.__emotion_real=g,g.__emotion_base=a,g.__emotion_styles=p,g.__emotion_forwardProp=l,Object.defineProperty(g,"toString",{value:function(){return"."+o}}),g.withComponent=function(t,r){return e(t,d({},n,r,{shouldForwardProp:ft(g,r,!0)})).apply(void 0,p)},g}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){mt[e]=mt(e)});var gt,bt,vt={exports:{}},yt={};var xt=(bt||(bt=1,vt.exports=function(){if(gt)return yt;gt=1;var e=v(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(e,n,a){var l,s={},u=null,c=null;for(l in void 0!==a&&(u=""+a),void 0!==n.key&&(u=""+n.key),void 0!==n.ref&&(c=n.ref),n)r.call(n,l)&&!i.hasOwnProperty(l)&&(s[l]=n[l]);if(e&&e.defaultProps)for(l in n=e.defaultProps)void 0===s[l]&&(s[l]=n[l]);return{$$typeof:t,type:e,key:u,ref:c,props:s,_owner:o.current}}return yt.Fragment=n,yt.jsx=a,yt.jsxs=a,yt}()),vt.exports);const Et=new Map;function St(e){const{styles:t,defaultTheme:n={}}=e,r="function"==typeof t?e=>{return t(null==(r=e)||0===Object.keys(r).length?n:e);var r}:t;return xt.jsx(at,{styles:r})}
8
8
  /**
9
9
  * @mui/styled-engine v5.18.0
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 wt(e,t){return mt(e,t)}const Ct=[];function kt(e){return Ct[0]=e,Ve(Ct)}var Rt=Object.freeze({__proto__:null,GlobalStyles:St,StyledEngineProvider:function(e){const{injectFirst:t,enableCssLayer:n,children:r}=e,o=y.useMemo(()=>{const e=`${t}-${n}`;if("object"==typeof document&&Et.has(e))return Et.get(e);const r=function(e,t){const n=Le({key:"css",prepend:e});if(t){const e=n.insert;n.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return n}(t,n);return Et.set(e,r),r},[t,n]);return t||n?xt.jsx(Ze,{value:o,children:r}):r},ThemeContext:et,css:lt,default:wt,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},internal_serializeStyles:kt,keyframes:st});function _t(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 Lt(e){if(y.isValidElement(e)||!_t(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Lt(e[n])}),t}function Tt(e,t,n={clone:!0}){const r=n.clone?d({},e):e;return _t(e)&&_t(t)&&Object.keys(t).forEach(o=>{y.isValidElement(t[o])?r[o]=t[o]:_t(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&_t(e[o])?r[o]=Tt(e[o],t[o],n):n.clone?r[o]=_t(t[o])?Lt(t[o]):t[o]:r[o]=t[o]}),r}var At=Object.freeze({__proto__:null,default:Tt,isPlainObject:_t});const Pt=["values","unit","step"];function It(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=p(e,Pt),i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>d({},e,{[t.key]:t.val}),{})})(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)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);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]]:o)-r/100}${n})`}return d({keys:a,values:i,up:l,down:s,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(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]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Ot={borderRadius:4};function Mt(e,t){return t?Tt(e,t,{clone:!1}):e}const Nt={xs:0,sm:600,md:900,lg:1200,xl:1536},jt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Nt[e]}px)`};function zt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||jt;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||jt;return Object.keys(t).reduce((r,o)=>{if(-1!==Object.keys(e.values||Nt).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r},{})}return n(t)}function $t(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function Dt(e){if("string"!=typeof e)throw new Error(s(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Bt=Object.freeze({__proto__:null,default:Dt});function Ft(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 Ut(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Ft(e,n)||r,t&&(o=t(o,r,e)),o}function Ht(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Ft(e.theme,r)||{};return zt(e,i,e=>{let r=Ut(a,o,e);return e===r&&"string"==typeof e&&(r=Ut(a,o,`${t}${"default"===e?"":Dt(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i}const Gt={m:"margin",p:"padding"},Vt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Wt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Yt=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!Wt[e])return[e];e=Wt[e]}const[t,n]=e.split(""),r=Gt[t],o=Vt[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),qt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Kt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Xt(e,t,n,r){var o;const i=null!=(o=Ft(e,t,!1))?o: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 Qt(e){return Xt(e,"spacing",8)}function Zt(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 Jt(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Zt(t,n),e),{})}(Yt(n),r);return zt(e,e[n],o)}function en(e,t){const n=Qt(e.theme);return Object.keys(e).map(r=>Jt(e,t,r,n)).reduce(Mt,{})}function tn(e){return en(e,qt)}function nn(e){return en(e,Kt)}function rn(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Mt(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function on(e){return"number"!=typeof e?e:`${e}px solid`}function an(e,t){return Ht({prop:e,themeKey:"borders",transform:t})}tn.propTypes={},tn.filterProps=qt,nn.propTypes={},nn.filterProps=Kt;const ln=an("border",on),sn=an("borderTop",on),un=an("borderRight",on),cn=an("borderBottom",on),dn=an("borderLeft",on),pn=an("borderColor"),fn=an("borderTopColor"),hn=an("borderRightColor"),mn=an("borderBottomColor"),gn=an("borderLeftColor"),bn=an("outline",on),vn=an("outlineColor"),yn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Xt(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Zt(t,e)});return zt(e,e.borderRadius,n)}return null};yn.propTypes={},yn.filterProps=["borderRadius"],rn(ln,sn,un,cn,dn,pn,fn,hn,mn,gn,yn,bn,vn);const xn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Xt(e.theme,"spacing",8),n=e=>({gap:Zt(t,e)});return zt(e,e.gap,n)}return null};xn.propTypes={},xn.filterProps=["gap"];const En=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Xt(e.theme,"spacing",8),n=e=>({columnGap:Zt(t,e)});return zt(e,e.columnGap,n)}return null};En.propTypes={},En.filterProps=["columnGap"];const Sn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Xt(e.theme,"spacing",8),n=e=>({rowGap:Zt(t,e)});return zt(e,e.rowGap,n)}return null};Sn.propTypes={},Sn.filterProps=["rowGap"];function wn(e,t){return"grey"===t?t:e}rn(xn,En,Sn,Ht({prop:"gridColumn"}),Ht({prop:"gridRow"}),Ht({prop:"gridAutoFlow"}),Ht({prop:"gridAutoColumns"}),Ht({prop:"gridAutoRows"}),Ht({prop:"gridTemplateColumns"}),Ht({prop:"gridTemplateRows"}),Ht({prop:"gridTemplateAreas"}),Ht({prop:"gridArea"}));function Cn(e){return e<=1&&0!==e?100*e+"%":e}rn(Ht({prop:"color",themeKey:"palette",transform:wn}),Ht({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:wn}),Ht({prop:"backgroundColor",themeKey:"palette",transform:wn}));const kn=Ht({prop:"width",transform:Cn}),Rn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Nt[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Cn(t)}};return zt(e,e.maxWidth,t)}return null};Rn.filterProps=["maxWidth"];const _n=Ht({prop:"minWidth",transform:Cn}),Ln=Ht({prop:"height",transform:Cn}),Tn=Ht({prop:"maxHeight",transform:Cn}),An=Ht({prop:"minHeight",transform:Cn});Ht({prop:"size",cssProperty:"width",transform:Cn}),Ht({prop:"size",cssProperty:"height",transform:Cn});rn(kn,Rn,_n,Ln,Tn,An,Ht({prop:"boxSizing"}));const Pn={border:{themeKey:"borders",transform:on},borderTop:{themeKey:"borders",transform:on},borderRight:{themeKey:"borders",transform:on},borderBottom:{themeKey:"borders",transform:on},borderLeft:{themeKey:"borders",transform:on},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:on},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:yn},color:{themeKey:"palette",transform:wn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:wn},backgroundColor:{themeKey:"palette",transform:wn},p:{style:nn},pt:{style:nn},pr:{style:nn},pb:{style:nn},pl:{style:nn},px:{style:nn},py:{style:nn},padding:{style:nn},paddingTop:{style:nn},paddingRight:{style:nn},paddingBottom:{style:nn},paddingLeft:{style:nn},paddingX:{style:nn},paddingY:{style:nn},paddingInline:{style:nn},paddingInlineStart:{style:nn},paddingInlineEnd:{style:nn},paddingBlock:{style:nn},paddingBlockStart:{style:nn},paddingBlockEnd:{style:nn},m:{style:tn},mt:{style:tn},mr:{style:tn},mb:{style:tn},ml:{style:tn},mx:{style:tn},my:{style:tn},margin:{style:tn},marginTop:{style:tn},marginRight:{style:tn},marginBottom:{style:tn},marginLeft:{style:tn},marginX:{style:tn},marginY:{style:tn},marginInline:{style:tn},marginInlineStart:{style:tn},marginInlineEnd:{style:tn},marginBlock:{style:tn},marginBlockStart:{style:tn},marginBlockEnd:{style:tn},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:xn},rowGap:{style:Sn},columnGap:{style:En},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Cn},maxWidth:{style:Rn},minWidth:{transform:Cn},height:{transform:Cn},maxHeight:{transform:Cn},minHeight:{transform:Cn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function In(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=Ft(n,l)||{};if(u)return u(o);return zt(o,t,t=>{let n=Ut(c,s,t);return t===n&&"string"==typeof t&&(n=Ut(c,s,`${e}${"default"===t?"":Dt(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){var r;const{sx:o,theme:i={},nested:a}=n||{};if(!o)return null;const l=null!=(r=i.unstable_sxConfig)?r:Pn;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,n)=>(t[e.up(n)]={},t),{}))||{}}(i.breakpoints),s=Object.keys(o);let u=o;return Object.keys(r).forEach(n=>{const o=(a=r[n],s=i,"function"==typeof a?a(s):a);var a,s;if(null!=o)if("object"==typeof o)if(l[n])u=Mt(u,e(n,o,i,l));else{const e=zt({theme:i},o,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,o)?u=Mt(u,e):u[n]=t({sx:o,theme:i,nested:!0})}else u=Mt(u,e(n,o,i,l))}),!a&&i.modularCssLayers?{"@layer sx":$t(s,u)}:$t(s,u)}return Array.isArray(o)?o.map(s):s(o)}}const On=In();function Mn(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}On.filterProps=["sx"];const Nn=["breakpoints","palette","spacing","shape"];function jn(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=p(e,Nn),l=It(n),s=function(e=8){if(e.mui)return e;const t=Qt({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}(o);let u=Tt({breakpoints:l,direction:"ltr",components:{},palette:d({mode:"light"},r),spacing:s,shape:d({},Ot,i)},a);return u.applyStyles=Mn,u=t.reduce((e,t)=>Tt(e,t),u),u.unstable_sxConfig=d({},Pn,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return On({sx:e,theme:this})},u}var zn=Object.freeze({__proto__:null,default:jn,private_createBreakpoints:It,unstable_applyStyles:Mn});function $n(e=null){const t=y.useContext(et);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Dn=jn();function Bn(e=Dn){return $n(e)}function Fn(e){const t=kt(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Un({styles:e,themeId:t,defaultTheme:n={}}){const r=Bn(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>Fn("function"==typeof e?e(o):e)):Fn(i)),xt.jsx(St,{styles:i})}const Hn=["sx"];function Gn(e){const{sx:t}=e,n=p(e,Hn),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Pn;return Object.keys(e).forEach(t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]}),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return _t(n)?d({},r,n):r}:d({},r,t),d({},o,{sx:i})}var Vn=Object.freeze({__proto__:null,default:On,extendSxProp:Gn,unstable_createStyleFunctionSx:In,unstable_defaultSxConfig:Pn});const Wn=e=>e,Yn=(()=>{let e=Wn;return{configure(t){e=t},generate:t=>e(t),reset(){e=Wn}}})();function qn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=qn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Kn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=qn(e))&&(r&&(r+=" "),r+=t);return r}const Xn=["className","component"];const Qn={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 Zn(e,t,n="Mui"){const r=Qn[t];return r?`${n}-${r}`:`${Yn.generate(e)}-${t}`}function Jn(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=Zn(e,t,n)}),r}var er,tr,nr={exports:{}},rr={};function or(){if(er)return rr;er=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function h(f){if("object"==typeof f&&null!==f){var h=f.$$typeof;switch(h){case e:switch(f=f.type){case n:case o:case r:case s:case u:case p:return f;default:switch(f=f&&f.$$typeof){case a:case l:case d:case c:case i:return f;default:return h}}case t:return h}}}return rr.ContextConsumer=i,rr.ContextProvider=a,rr.Element=e,rr.ForwardRef=l,rr.Fragment=n,rr.Lazy=d,rr.Memo=c,rr.Portal=t,rr.Profiler=o,rr.StrictMode=r,rr.Suspense=s,rr.SuspenseList=u,rr.isContextConsumer=function(e){return h(e)===i},rr.isContextProvider=function(e){return h(e)===a},rr.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},rr.isForwardRef=function(e){return h(e)===l},rr.isFragment=function(e){return h(e)===n},rr.isLazy=function(e){return h(e)===d},rr.isMemo=function(e){return h(e)===c},rr.isPortal=function(e){return h(e)===t},rr.isProfiler=function(e){return h(e)===o},rr.isStrictMode=function(e){return h(e)===r},rr.isSuspense=function(e){return h(e)===s},rr.isSuspenseList=function(e){return h(e)===u},rr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===s||e===u||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===a||e.$$typeof===i||e.$$typeof===l||e.$$typeof===f||void 0!==e.getModuleId)},rr.typeOf=h,rr}function ir(){return tr||(tr=1,nr.exports=or()),nr.exports}var ar=ir();const lr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function sr(e){const t=`${e}`.match(lr);return t&&t[1]||""}function ur(e,t=""){return e.displayName||e.name||sr(e)||t}function cr(e,t,n){const r=ur(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var dr=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ur(e,"Component");if("object"==typeof e)switch(e.$$typeof){case ar.ForwardRef:return cr(e,e.render,"ForwardRef");case ar.Memo:return cr(e,e.type,"memo");default:return}}},getFunctionName:sr});function pr(e,t){const n=d({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=d({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=d({},i),Object.keys(o).forEach(e=>{n[r][e]=pr(o[e],i[e])})):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])}),n}const fr="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;function hr(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var mr=Object.freeze({__proto__:null,default:hr});function gr(e){if(e.type)return e;if("#"===e.charAt(0))return gr(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(s(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(s(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}function br(e,t){return e=gr(e),t=function(e,t=0,n=1){return hr(e,t,n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}function vr(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function yr(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function xr(e){return e&&e.ownerDocument||document}function Er(e){return xr(e).defaultView||window}function Sr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let wr=0;const Cr=E["useId".toString()];function kr(e){if(void 0!==Cr){return Cr()}return function(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{null==t&&(wr+=1,n(`mui-${wr}`))},[t]),r}(e)}function Rr(e){const t=y.useRef(e);return fr(()=>{t.current=e}),y.useRef((...e)=>(0,t.current)(...e)).current}function _r(...e){return y.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{Sr(e,t)})},e)}const Lr={};const Tr=[];class Ar{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Ar}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function Pr(){const e=function(e,t){const n=y.useRef(Lr);return n.current===Lr&&(n.current=e(t)),n}(Ar.create).current;return function(e){y.useEffect(e,Tr)}(e.disposeEffect),e}let Ir=!0,Or=!1;const Mr=new Ar,Nr={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 jr(e){e.metaKey||e.altKey||e.ctrlKey||(Ir=!0)}function zr(){Ir=!1}function $r(){"hidden"===this.visibilityState&&Or&&(Ir=!0)}function Dr(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Ir||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Nr[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Br(){const e=y.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",jr,!0),t.addEventListener("mousedown",zr,!0),t.addEventListener("pointerdown",zr,!0),t.addEventListener("touchstart",zr,!0),t.addEventListener("visibilitychange",$r,!0))},[]),t=y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Dr(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Or=!0,Mr.start(100,()=>{Or=!1}),t.current=!1,!0)},ref:e}}function Fr(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Ur;function Hr(){if(Ur)return Ur;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),Ur="reverse",e.scrollLeft>0?Ur="default":(e.scrollLeft=1,0===e.scrollLeft&&(Ur="negative")),document.body.removeChild(e),Ur}function Gr(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Hr()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Vr(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}function Wr(e){return"string"==typeof e}function Yr(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 qr(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 Kr=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Xr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=p(e,Kr),l=i?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(r,o),{props:s,internalRef:u}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=Kn(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=d({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=d({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Yr(d({},o,r)),l=qr(r),s=qr(o),u=t(a),c=Kn(null==u?void 0:u.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),p=d({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=d({},u,n,s,l);return c.length>0&&(f.className=c),Object.keys(p).length>0&&(f.style=p),{props:f,internalRef:u.ref}}(d({},a,{externalSlotProps:l})),c=function(e,t,n){return void 0===e||Wr(e)?t:d({},t,{ownerState:d({},t.ownerState,n)})}(n,d({},s,{ref:_r(u,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}function Qr(e){var t;return parseInt(y.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const Zr=y.createContext(null);function Jr(){return y.useContext(Zr)}var eo="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function to(e){const{children:t,theme:n}=e,r=Jr(),o=y.useMemo(()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return d({},e,t)}(r,n);return null!=e&&(e[eo]=null!==r),e},[n,r]);return xt.jsx(Zr.Provider,{value:o,children:t})}const no=["value"],ro=y.createContext();function oo(e){let{value:t}=e,n=p(e,no);return xt.jsx(ro.Provider,d({value:null==t||t},n))}const io=()=>{const e=y.useContext(ro);return null!=e&&e},ao=y.createContext(void 0);function lo({value:e,children:t}){return xt.jsx(ao.Provider,{value:e,children:t})}function so({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?pr(o.defaultProps,r):o.styleOverrides||o.variants?r:pr(o,r)}({props:e,name:t,theme:{components:y.useContext(ao)}})}const uo={};function co(e,t,n,r=!1){return y.useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?d({},t,{[e]:i}):i;return r?()=>a:a}return d({},t,e?{[e]:n}:n)},[e,t,n,r])}function po(e){const{children:t,theme:n,themeId:r}=e,o=$n(uo),i=Jr()||uo,a=co(r,o,n),l=co(r,i,n,!0),s="rtl"===a.direction,u=function(e){const t=$n(),n=kr()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",fr(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var r;if(t&&null!=(r=t.hasAttribute)&&r.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",n),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${n}"]`))||i.remove()}},[o,n]),o?xt.jsx(Un,{styles:o}):null}(a);return xt.jsx(to,{theme:l,children:xt.jsx(et.Provider,{value:a,children:xt.jsx(oo,{value:s,children:xt.jsxs(lo,{value:null==a?void 0:a.components,children:[u,t]})})})})}var fo,ho={},mo={exports:{}};function go(){return fo||(fo=1,function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(mo)),mo.exports}var bo,vo=a(u),yo=a(mr);function xo(){if(bo)return ho;bo=1;var e=go();Object.defineProperty(ho,"__esModule",{value:!0}),ho.alpha=c,ho.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),a=i(e),s=i(t),u=[o(a.values[0],s.values[0]),o(a.values[1],s.values[1]),o(a.values[2],s.values[2])];return l({type:"rgb",values:u})},ho.colorChannel=void 0,ho.darken=d,ho.decomposeColor=i,ho.emphasize=f,ho.getContrastRatio=function(e,t){const n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},ho.getLuminance=u,ho.hexToRgb=o,ho.hslToRgb=s,ho.lighten=p,ho.private_safeAlpha=function(e,t,n){try{return c(e,t)}catch(t){return e}},ho.private_safeColorChannel=void 0,ho.private_safeDarken=function(e,t,n){try{return d(e,t)}catch(t){return e}},ho.private_safeEmphasize=function(e,t,n){try{return f(e,t)}catch(t){return e}},ho.private_safeLighten=function(e,t,n){try{return p(e,t)}catch(t){return e}},ho.recomposeColor=l,ho.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=i(e);return`#${t.map((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e)).join("")}`};var t=e(vo),n=e(yo);function r(e,t=0,r=1){return(0,n.default)(e,t,r)}function o(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(", ")})`:""}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(o(e));const n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,t.default)(9,e));let a,l=e.substring(n+1,e.length-1);if("color"===r){if(l=l.split(" "),a=l.shift(),4===l.length&&"/"===l[3].charAt(0)&&(l[3]=l[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a))throw new Error((0,t.default)(10,a))}else l=l.split(",");return l=l.map(e=>parseFloat(e)),{type:r,values:l,colorSpace:a}}const a=e=>{const t=i(e);return t.values.slice(0,3).map((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e).join(" ")};ho.colorChannel=a;function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function s(e){e=i(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function u(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(s(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function d(e,t){if(e=i(e),t=r(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 l(e)}function p(e,t){if(e=i(e),t=r(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 l(e)}function f(e,t=.15){return u(e)>.5?d(e,t):p(e,t)}return ho.private_safeColorChannel=(e,t)=>{try{return a(e)}catch(t){return e}},ho}var Eo=xo();const So={black:"#000",white:"#fff"},wo={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"},Co="#f3e5f5",ko="#ce93d8",Ro="#ba68c8",_o="#ab47bc",Lo="#9c27b0",To="#7b1fa2",Ao="#e57373",Po="#ef5350",Io="#f44336",Oo="#d32f2f",Mo="#c62828",No="#ffb74d",jo="#ffa726",zo="#ff9800",$o="#f57c00",Do="#e65100",Bo="#e3f2fd",Fo="#90caf9",Uo="#42a5f5",Ho="#1976d2",Go="#1565c0",Vo="#4fc3f7",Wo="#29b6f6",Yo="#03a9f4",qo="#0288d1",Ko="#01579b",Xo="#81c784",Qo="#66bb6a",Zo="#4caf50",Jo="#388e3c",ei="#2e7d32",ti="#1b5e20",ni=["mode","contrastThreshold","tonalOffset"],ri={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:So.white,default:So.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}},oi={text:{primary:So.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:So.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 ii(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Eo.lighten(e.main,o):"dark"===t&&(e.dark=Eo.darken(e.main,i)))}function ai(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=p(e,ni),i=e.primary||function(e="light"){return"dark"===e?{main:Fo,light:Bo,dark:Uo}:{main:Ho,light:Uo,dark:Go}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:ko,light:Co,dark:_o}:{main:Lo,light:Ro,dark:To}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Io,light:Ao,dark:Oo}:{main:Oo,light:Po,dark:Mo}}(t),u=e.info||function(e="light"){return"dark"===e?{main:Wo,light:Vo,dark:qo}:{main:qo,light:Yo,dark:Ko}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Qo,light:Xo,dark:Jo}:{main:ei,light:Zo,dark:ti}}(t),f=e.warning||function(e="light"){return"dark"===e?{main:jo,light:No,dark:$o}:{main:"#ed6c02",light:zo,dark:Do}}(t);function h(e){return Eo.getContrastRatio(e,oi.text.primary)>=n?oi.text.primary:ri.text.primary}const m=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=d({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(s(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(s(12,t?` (${t})`:"",JSON.stringify(e.main)));return ii(e,"light",o,r),ii(e,"dark",i,r),e.contrastText||(e.contrastText=h(e.main)),e},g={dark:oi,light:ri};return Tt(d({common:d({},So),mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:c,name:"success"}),grey:wo,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r},g[t]),o)}const li=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const si={textTransform:"uppercase"},ui='"Roboto", "Helvetica", "Arial", sans-serif';function ci(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=ui,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,h=p(n,li),m=o/14,g=f||(e=>e/u*m+"rem"),b=(e,t,n,o,i)=>{return d({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n},r===ui?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},v={h1:b(i,96,1.167,-1.5),h2:b(i,60,1.2,-.5),h3:b(a,48,1.167,0),h4:b(a,34,1.235,.25),h5:b(a,24,1.334,0),h6:b(l,20,1.6,.15),subtitle1:b(a,16,1.75,.15),subtitle2:b(l,14,1.57,.1),body1:b(a,16,1.5,.15),body2:b(a,14,1.43,.15),button:b(l,14,1.75,.4,si),caption:b(a,12,1.66,.4),overline:b(a,12,2.66,1,si),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Tt(d({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},v),h,{clone:!1})}function di(...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(",")}const pi=["none",di(0,2,1,-1,0,1,1,0,0,1,3,0),di(0,3,1,-2,0,2,2,0,0,1,5,0),di(0,3,3,-2,0,3,4,0,0,1,8,0),di(0,2,4,-1,0,4,5,0,0,1,10,0),di(0,3,5,-1,0,5,8,0,0,1,14,0),di(0,3,5,-1,0,6,10,0,0,1,18,0),di(0,4,5,-2,0,7,10,1,0,2,16,1),di(0,5,5,-3,0,8,10,1,0,3,14,2),di(0,5,6,-3,0,9,12,1,0,3,16,2),di(0,6,6,-3,0,10,14,1,0,4,18,3),di(0,6,7,-4,0,11,15,1,0,4,20,3),di(0,7,8,-4,0,12,17,2,0,5,22,4),di(0,7,8,-4,0,13,19,2,0,5,24,4),di(0,7,9,-4,0,14,21,2,0,5,26,4),di(0,8,9,-5,0,15,22,2,0,6,28,5),di(0,8,10,-5,0,16,24,2,0,6,30,5),di(0,8,11,-5,0,17,26,2,0,6,32,5),di(0,9,11,-5,0,18,28,2,0,7,34,6),di(0,9,12,-6,0,19,29,2,0,7,36,6),di(0,10,13,-6,0,20,31,3,0,8,38,7),di(0,10,13,-6,0,21,33,3,0,8,40,7),di(0,10,14,-6,0,22,35,3,0,8,42,7),di(0,11,14,-7,0,23,36,3,0,9,44,8),di(0,11,15,-7,0,24,38,3,0,9,46,8)],fi=["duration","easing","delay"],hi={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},mi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function gi(e){return`${Math.round(e)}ms`}function bi(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function vi(e){const t=d({},hi,e.easing),n=d({},mi,e.duration);return d({getAutoHeightDuration:bi,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return p(r,fi),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:gi(o)} ${i} ${"string"==typeof a?a:gi(a)}`).join(",")}},e,{easing:t,duration:n})}const yi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},xi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ei(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=p(e,xi);if(e.vars&&void 0===e.generateCssVars)throw new Error(s(18));const l=ai(r),u=jn(e);let c=Tt(u,{mixins:(f=u.breakpoints,h=n,d({toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}}},h)),palette:l,shadows:pi.slice(),typography:ci(l,i),transitions:vi(o),zIndex:d({},yi)});var f,h;return c=Tt(c,a),c=t.reduce((e,t)=>Tt(e,t),c),c.unstable_sxConfig=d({},Pn,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return On({sx:e,theme:this})},c}const Si=Ei();function wi(){const e=Bn(Si);return e[c]||e}var Ci,ki={},Ri={exports:{}};var _i,Li={exports:{}};var Ti,Ai=a(Rt),Pi=a(At),Ii=a(Bt),Oi=a(dr),Mi=a(zn),Ni=a(Vn);function ji(){if(Ti)return ki;Ti=1;var e=go();Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=function(e={}){const{themeId:i,defaultTheme:l=f,rootShouldForwardProp:s=d,slotShouldForwardProp:c=d}=e,p=e=>(0,a.default)((0,t.default)({},e,{theme:m((0,t.default)({},e,{defaultTheme:l,themeId:i}))}));return p.__mui_systemSx=!0,(e,a={})=>{(0,r.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:f,slot:v,skipVariantsResolver:y,skipSx:x,overridesResolver:E=g(h(v))}=a,S=(0,n.default)(a,u),w=f&&f.startsWith("Mui")||v?"components":"custom",C=void 0!==y?y:v&&"Root"!==v&&"root"!==v||!1,k=x||!1;let R=d;"Root"===v||"root"===v?R=s:v?R=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(R=void 0);const _=(0,r.default)(e,(0,t.default)({shouldForwardProp:R,label:void 0},S)),L=e=>"function"==typeof e&&e.__emotion_real!==e||(0,o.isPlainObject)(e)?n=>{const r=m({theme:n.theme,defaultTheme:l,themeId:i});return b(e,(0,t.default)({},n,{theme:r}),r.modularCssLayers?w:void 0)}:e,T=(n,...r)=>{let o=L(n);const a=r?r.map(L):[];f&&E&&a.push(e=>{const n=m((0,t.default)({},e,{defaultTheme:l,themeId:i}));if(!n.components||!n.components[f]||!n.components[f].styleOverrides)return null;const r=n.components[f].styleOverrides,o={};return Object.entries(r).forEach(([r,i])=>{o[r]=b(i,(0,t.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),E(e,o)}),f&&!C&&a.push(e=>{var n;const r=m((0,t.default)({},e,{defaultTheme:l,themeId:i}));return b({variants:null==r||null==(n=r.components)||null==(n=n[f])?void 0:n.variants},(0,t.default)({},e,{theme:r}),r.modularCssLayers?"theme":void 0)}),k||a.push(p);const s=a.length-r.length;if(Array.isArray(n)&&s>0){const e=new Array(s).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const u=_(o,...a);return e.muiName&&(u.muiName=e.muiName),u};return _.withConfig&&(T.withConfig=_.withConfig),T}},ki.shouldForwardProp=d,ki.systemDefaultTheme=void 0;var t=e((Ci||(Ci=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ri)),Ri.exports)),n=e((_i||(_i=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(Li)),Li.exports)),r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(Ai),o=Pi;e(Ii),e(Oi);var i=e(Mi),a=e(Ni);const l=["ownerState"],s=["variants"],u=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function p(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const f=ki.systemDefaultTheme=(0,i.default)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function b(e,o,i){let{ownerState:a}=o,u=(0,n.default)(o,l);const c="function"==typeof e?e((0,t.default)({ownerState:a},u)):e;if(Array.isArray(c))return c.flatMap(e=>b(e,(0,t.default)({ownerState:a},u),i));if(c&&"object"==typeof c&&Array.isArray(c.variants)){const{variants:e=[]}=c;let o=(0,n.default)(c,s);return e.forEach(e=>{let n=!0;if("function"==typeof e.props?n=e.props((0,t.default)({ownerState:a},u,a)):Object.keys(e.props).forEach(t=>{(null==a?void 0:a[t])!==e.props[t]&&u[t]!==e.props[t]&&(n=!1)}),n){Array.isArray(o)||(o=[o]);const n="function"==typeof e.style?e.style((0,t.default)({ownerState:a},u,a)):e.style;o.push(i?p((0,r.internal_serializeStyles)(n),i):n)}}),o}return i?p((0,r.internal_serializeStyles)(c),i):c}return ki}const zi=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,$i=i(ji())({themeId:c,defaultTheme:Si,rootShouldForwardProp:zi}),Di=["theme"];function Bi(e){let{theme:t}=e,n=p(e,Di);const r=t[c];let o=r||t;return"function"!=typeof t&&(r&&!r.vars?o=d({},r,{vars:null}):t&&!t.vars&&(o=d({},t,{vars:null}))),xt.jsx(po,d({},n,{themeId:r?c:void 0,theme:o}))}const Fi=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Ui={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},Hi=12,Gi=14,Vi=16,Wi=24,Yi=3,qi=300,Ki=400,Xi=600,Qi=700,Zi={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function Ji(e){return so(e)}function ea(e){return Zn("MuiSvgIcon",e)}Jn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ta=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],na=$i("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Dt(n.color)}`],t[`fontSize${Dt(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,u,c,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}}),ra=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:f="0 0 24 24"}=n,h=p(n,ta),m=y.isValidElement(r)&&"svg"===r.type,g=d({},n,{color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:m}),b={};u||(b.viewBox=f);const v=(e=>{const{color:t,fontSize:n,classes:r}=e;return Vr({root:["root","inherit"!==t&&`color${Dt(t)}`,`fontSize${Dt(n)}`]},ea,r)})(g);return xt.jsxs(na,d({as:a,className:Kn(v.root,o),focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},b,h,m&&r.props,{ownerState:g,children:[m?r.props.children:r,c?xt.jsx("title",{children:c}):null]}))});function oa(e,t){function n(n,r){return xt.jsx(ra,d({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=ra.muiName,y.memo(y.forwardRef(n))}function ia(e,t){return ia=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ia(e,t)}function aa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ia(e,t)}ra.muiName="SvgIcon";var la,sa,ua,ca,da={exports:{}},pa={},fa={exports:{}},ha={};function ma(){return sa||(sa=1,fa.exports=(la||(la=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,p=3,f=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,I(E);else{var t=n(u);null!==t&&O(x,t.startTime-e)}}function E(t,o){h=!1,m&&(m=!1,b(k),k=-1),f=!0;var i=p;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!L());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var l=a(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&O(x,g.startTime-o),c=!1}return c}finally{d=null,p=i,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,w=!1,C=null,k=-1,R=5,_=-1;function L(){return!(e.unstable_now()-_<R)}function T(){if(null!==C){var t=e.unstable_now();_=t;var n=!0;try{n=C(!0,t)}finally{n?S():(w=!1,C=null)}}else w=!1}if("function"==typeof v)S=function(){v(T)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,P=A.port2;A.port1.onmessage=T,S=function(){P.postMessage(null)}}else S=function(){g(T,0)};function I(e){C=e,w||(w=!0,S())}function O(t,n){k=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,I(E))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(b(k),k=-1):m=!0,O(x,i-a))):(r.sortIndex=l,t(s,r),h||f||(h=!0,I(E))),r},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(ha)),ha)),fa.exports}
14
+ */function wt(e,t){return mt(e,t)}const Ct=[];function kt(e){return Ct[0]=e,Ve(Ct)}var Rt=Object.freeze({__proto__:null,GlobalStyles:St,StyledEngineProvider:function(e){const{injectFirst:t,enableCssLayer:n,children:r}=e,o=y.useMemo(()=>{const e=`${t}-${n}`;if("object"==typeof document&&Et.has(e))return Et.get(e);const r=function(e,t){const n=Le({key:"css",prepend:e});if(t){const e=n.insert;n.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return n}(t,n);return Et.set(e,r),r},[t,n]);return t||n?xt.jsx(Ze,{value:o,children:r}):r},ThemeContext:et,css:lt,default:wt,internal_processStyles:(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},internal_serializeStyles:kt,keyframes:st});function _t(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 Lt(e){if(y.isValidElement(e)||!_t(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=Lt(e[n])}),t}function Tt(e,t,n={clone:!0}){const r=n.clone?d({},e):e;return _t(e)&&_t(t)&&Object.keys(t).forEach(o=>{y.isValidElement(t[o])?r[o]=t[o]:_t(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&_t(e[o])?r[o]=Tt(e[o],t[o],n):n.clone?r[o]=_t(t[o])?Lt(t[o]):t[o]:r[o]=t[o]}),r}var At=Object.freeze({__proto__:null,default:Tt,isPlainObject:_t});const Pt=["values","unit","step"];function It(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5}=e,o=p(e,Pt),i=(e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>d({},e,{[t.key]:t.val}),{})})(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)-r/100}${n})`}function u(e,o){const i=a.indexOf(o);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]]:o)-r/100}${n})`}return d({keys:a,values:i,up:l,down:s,between:u,only:function(e){return a.indexOf(e)+1<a.length?u(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]):u(e,a[a.indexOf(e)+1]).replace("@media","@media not all and")},unit:n},o)}const Ot={borderRadius:4};function Mt(e,t){return t?Tt(e,t,{clone:!1}):e}const Nt={xs:0,sm:600,md:900,lg:1200,xl:1536},jt={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Nt[e]}px)`};function zt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const e=r.breakpoints||jt;return t.reduce((r,o,i)=>(r[e.up(e.keys[i])]=n(t[i]),r),{})}if("object"==typeof t){const e=r.breakpoints||jt;return Object.keys(t).reduce((r,o)=>{if(-1!==Object.keys(e.values||Nt).indexOf(o)){r[e.up(o)]=n(t[o],o)}else{const e=o;r[e]=t[e]}return r},{})}return n(t)}function $t(e,t){return e.reduce((e,t)=>{const n=e[t];return(!n||0===Object.keys(n).length)&&delete e[t],e},t)}function Dt(e){if("string"!=typeof e)throw new Error(s(7));return e.charAt(0).toUpperCase()+e.slice(1)}var Bt=Object.freeze({__proto__:null,default:Dt});function Ft(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 Ut(e,t,n,r=n){let o;return o="function"==typeof e?e(n):Array.isArray(e)?e[n]||r:Ft(e,n)||r,t&&(o=t(o,r,e)),o}function Ht(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,i=e=>{if(null==e[t])return null;const i=e[t],a=Ft(e.theme,r)||{};return zt(e,i,e=>{let r=Ut(a,o,e);return e===r&&"string"==typeof e&&(r=Ut(a,o,`${t}${"default"===e?"":Dt(e)}`,e)),!1===n?r:{[n]:r}})};return i.propTypes={},i.filterProps=[t],i}const Gt={m:"margin",p:"padding"},Vt={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Wt={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Yt=function(e){const t={};return n=>(void 0===t[n]&&(t[n]=e(n)),t[n])}(e=>{if(e.length>2){if(!Wt[e])return[e];e=Wt[e]}const[t,n]=e.split(""),r=Gt[t],o=Vt[n]||"";return Array.isArray(o)?o.map(e=>r+e):[r+o]}),qt=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Kt=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];function Xt(e,t,n,r){var o;const i=null!=(o=Ft(e,t,!1))?o: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 Qt(e){return Xt(e,"spacing",8)}function Zt(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 Jt(e,t,n,r){if(-1===t.indexOf(n))return null;const o=function(e,t){return n=>e.reduce((e,r)=>(e[r]=Zt(t,n),e),{})}(Yt(n),r);return zt(e,e[n],o)}function en(e,t){const n=Qt(e.theme);return Object.keys(e).map(r=>Jt(e,t,r,n)).reduce(Mt,{})}function tn(e){return en(e,qt)}function nn(e){return en(e,Kt)}function rn(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Mt(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function on(e){return"number"!=typeof e?e:`${e}px solid`}function an(e,t){return Ht({prop:e,themeKey:"borders",transform:t})}tn.propTypes={},tn.filterProps=qt,nn.propTypes={},nn.filterProps=Kt;const ln=an("border",on),sn=an("borderTop",on),un=an("borderRight",on),cn=an("borderBottom",on),dn=an("borderLeft",on),pn=an("borderColor"),fn=an("borderTopColor"),hn=an("borderRightColor"),mn=an("borderBottomColor"),gn=an("borderLeftColor"),bn=an("outline",on),vn=an("outlineColor"),yn=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=Xt(e.theme,"shape.borderRadius",4),n=e=>({borderRadius:Zt(t,e)});return zt(e,e.borderRadius,n)}return null};yn.propTypes={},yn.filterProps=["borderRadius"],rn(ln,sn,un,cn,dn,pn,fn,hn,mn,gn,yn,bn,vn);const xn=e=>{if(void 0!==e.gap&&null!==e.gap){const t=Xt(e.theme,"spacing",8),n=e=>({gap:Zt(t,e)});return zt(e,e.gap,n)}return null};xn.propTypes={},xn.filterProps=["gap"];const En=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=Xt(e.theme,"spacing",8),n=e=>({columnGap:Zt(t,e)});return zt(e,e.columnGap,n)}return null};En.propTypes={},En.filterProps=["columnGap"];const Sn=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=Xt(e.theme,"spacing",8),n=e=>({rowGap:Zt(t,e)});return zt(e,e.rowGap,n)}return null};Sn.propTypes={},Sn.filterProps=["rowGap"];function wn(e,t){return"grey"===t?t:e}rn(xn,En,Sn,Ht({prop:"gridColumn"}),Ht({prop:"gridRow"}),Ht({prop:"gridAutoFlow"}),Ht({prop:"gridAutoColumns"}),Ht({prop:"gridAutoRows"}),Ht({prop:"gridTemplateColumns"}),Ht({prop:"gridTemplateRows"}),Ht({prop:"gridTemplateAreas"}),Ht({prop:"gridArea"}));function Cn(e){return e<=1&&0!==e?100*e+"%":e}rn(Ht({prop:"color",themeKey:"palette",transform:wn}),Ht({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:wn}),Ht({prop:"backgroundColor",themeKey:"palette",transform:wn}));const kn=Ht({prop:"width",transform:Cn}),Rn=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var n,r;const o=(null==(n=e.theme)||null==(n=n.breakpoints)||null==(n=n.values)?void 0:n[t])||Nt[t];return o?"px"!==(null==(r=e.theme)||null==(r=r.breakpoints)?void 0:r.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Cn(t)}};return zt(e,e.maxWidth,t)}return null};Rn.filterProps=["maxWidth"];const _n=Ht({prop:"minWidth",transform:Cn}),Ln=Ht({prop:"height",transform:Cn}),Tn=Ht({prop:"maxHeight",transform:Cn}),An=Ht({prop:"minHeight",transform:Cn});Ht({prop:"size",cssProperty:"width",transform:Cn}),Ht({prop:"size",cssProperty:"height",transform:Cn});rn(kn,Rn,_n,Ln,Tn,An,Ht({prop:"boxSizing"}));const Pn={border:{themeKey:"borders",transform:on},borderTop:{themeKey:"borders",transform:on},borderRight:{themeKey:"borders",transform:on},borderBottom:{themeKey:"borders",transform:on},borderLeft:{themeKey:"borders",transform:on},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:on},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:yn},color:{themeKey:"palette",transform:wn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:wn},backgroundColor:{themeKey:"palette",transform:wn},p:{style:nn},pt:{style:nn},pr:{style:nn},pb:{style:nn},pl:{style:nn},px:{style:nn},py:{style:nn},padding:{style:nn},paddingTop:{style:nn},paddingRight:{style:nn},paddingBottom:{style:nn},paddingLeft:{style:nn},paddingX:{style:nn},paddingY:{style:nn},paddingInline:{style:nn},paddingInlineStart:{style:nn},paddingInlineEnd:{style:nn},paddingBlock:{style:nn},paddingBlockStart:{style:nn},paddingBlockEnd:{style:nn},m:{style:tn},mt:{style:tn},mr:{style:tn},mb:{style:tn},ml:{style:tn},mx:{style:tn},my:{style:tn},margin:{style:tn},marginTop:{style:tn},marginRight:{style:tn},marginBottom:{style:tn},marginLeft:{style:tn},marginX:{style:tn},marginY:{style:tn},marginInline:{style:tn},marginInlineStart:{style:tn},marginInlineEnd:{style:tn},marginBlock:{style:tn},marginBlockStart:{style:tn},marginBlockEnd:{style:tn},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:xn},rowGap:{style:Sn},columnGap:{style:En},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Cn},maxWidth:{style:Rn},minWidth:{transform:Cn},height:{transform:Cn},maxHeight:{transform:Cn},minHeight:{transform:Cn},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function In(){function e(e,t,n,r){const o={[e]:t,theme:n},i=r[e];if(!i)return{[e]:t};const{cssProperty:a=e,themeKey:l,transform:s,style:u}=i;if(null==t)return null;if("typography"===l&&"inherit"===t)return{[e]:t};const c=Ft(n,l)||{};if(u)return u(o);return zt(o,t,t=>{let n=Ut(c,s,t);return t===n&&"string"==typeof t&&(n=Ut(c,s,`${e}${"default"===t?"":Dt(t)}`,t)),!1===a?n:{[a]:n}})}return function t(n){var r;const{sx:o,theme:i={},nested:a}=n||{};if(!o)return null;const l=null!=(r=i.unstable_sxConfig)?r:Pn;function s(n){let r=n;if("function"==typeof n)r=n(i);else if("object"!=typeof n)return n;if(!r)return null;const o=function(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,n)=>(t[e.up(n)]={},t),{}))||{}}(i.breakpoints),s=Object.keys(o);let u=o;return Object.keys(r).forEach(n=>{const o=(a=r[n],s=i,"function"==typeof a?a(s):a);var a,s;if(null!=o)if("object"==typeof o)if(l[n])u=Mt(u,e(n,o,i,l));else{const e=zt({theme:i},o,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,o)?u=Mt(u,e):u[n]=t({sx:o,theme:i,nested:!0})}else u=Mt(u,e(n,o,i,l))}),!a&&i.modularCssLayers?{"@layer sx":$t(s,u)}:$t(s,u)}return Array.isArray(o)?o.map(s):s(o)}}const On=In();function Mn(e,t){const n=this;if(n.vars&&"function"==typeof n.getColorSchemeSelector){const r=n.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[r]:t}}return n.palette.mode===e?t:{}}On.filterProps=["sx"];const Nn=["breakpoints","palette","spacing","shape"];function jn(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:i={}}=e,a=p(e,Nn),l=It(n),s=function(e=8){if(e.mui)return e;const t=Qt({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}(o);let u=Tt({breakpoints:l,direction:"ltr",components:{},palette:d({mode:"light"},r),spacing:s,shape:d({},Ot,i)},a);return u.applyStyles=Mn,u=t.reduce((e,t)=>Tt(e,t),u),u.unstable_sxConfig=d({},Pn,null==a?void 0:a.unstable_sxConfig),u.unstable_sx=function(e){return On({sx:e,theme:this})},u}var zn=Object.freeze({__proto__:null,default:jn,private_createBreakpoints:It,unstable_applyStyles:Mn});function $n(e=null){const t=y.useContext(et);return t&&(n=t,0!==Object.keys(n).length)?t:e;var n}const Dn=jn();function Bn(e=Dn){return $n(e)}function Fn(e){const t=kt(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Un({styles:e,themeId:t,defaultTheme:n={}}){const r=Bn(n),o=t&&r[t]||r;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>Fn("function"==typeof e?e(o):e)):Fn(i)),xt.jsx(St,{styles:i})}const Hn=["sx"];function Gn(e){const{sx:t}=e,n=p(e,Hn),{systemProps:r,otherProps:o}=(e=>{var t,n;const r={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(n=e.theme)?void 0:n.unstable_sxConfig)?t:Pn;return Object.keys(e).forEach(t=>{o[t]?r.systemProps[t]=e[t]:r.otherProps[t]=e[t]}),r})(n);let i;return i=Array.isArray(t)?[r,...t]:"function"==typeof t?(...e)=>{const n=t(...e);return _t(n)?d({},r,n):r}:d({},r,t),d({},o,{sx:i})}var Vn=Object.freeze({__proto__:null,default:On,extendSxProp:Gn,unstable_createStyleFunctionSx:In,unstable_defaultSxConfig:Pn});const Wn=e=>e,Yn=(()=>{let e=Wn;return{configure(t){e=t},generate:t=>e(t),reset(){e=Wn}}})();function qn(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=qn(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Kn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=qn(e))&&(r&&(r+=" "),r+=t);return r}const Xn=["className","component"];const Qn={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 Zn(e,t,n="Mui"){const r=Qn[t];return r?`${n}-${r}`:`${Yn.generate(e)}-${t}`}function Jn(e,t,n="Mui"){const r={};return t.forEach(t=>{r[t]=Zn(e,t,n)}),r}var er,tr,nr={exports:{}},rr={};function or(){if(er)return rr;er=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.view_transition"),f=Symbol.for("react.client.reference");function h(f){if("object"==typeof f&&null!==f){var h=f.$$typeof;switch(h){case e:switch(f=f.type){case n:case o:case r:case s:case u:case p:return f;default:switch(f=f&&f.$$typeof){case a:case l:case d:case c:case i:return f;default:return h}}case t:return h}}}return rr.ContextConsumer=i,rr.ContextProvider=a,rr.Element=e,rr.ForwardRef=l,rr.Fragment=n,rr.Lazy=d,rr.Memo=c,rr.Portal=t,rr.Profiler=o,rr.StrictMode=r,rr.Suspense=s,rr.SuspenseList=u,rr.isContextConsumer=function(e){return h(e)===i},rr.isContextProvider=function(e){return h(e)===a},rr.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===e},rr.isForwardRef=function(e){return h(e)===l},rr.isFragment=function(e){return h(e)===n},rr.isLazy=function(e){return h(e)===d},rr.isMemo=function(e){return h(e)===c},rr.isPortal=function(e){return h(e)===t},rr.isProfiler=function(e){return h(e)===o},rr.isStrictMode=function(e){return h(e)===r},rr.isSuspense=function(e){return h(e)===s},rr.isSuspenseList=function(e){return h(e)===u},rr.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===n||e===o||e===r||e===s||e===u||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===c||e.$$typeof===a||e.$$typeof===i||e.$$typeof===l||e.$$typeof===f||void 0!==e.getModuleId)},rr.typeOf=h,rr}function ir(){return tr||(tr=1,nr.exports=or()),nr.exports}var ar=ir();const lr=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function sr(e){const t=`${e}`.match(lr);return t&&t[1]||""}function ur(e,t=""){return e.displayName||e.name||sr(e)||t}function cr(e,t,n){const r=ur(t);return e.displayName||(""!==r?`${n}(${r})`:n)}var dr=Object.freeze({__proto__:null,default:function(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return ur(e,"Component");if("object"==typeof e)switch(e.$$typeof){case ar.ForwardRef:return cr(e,e.render,"ForwardRef");case ar.Memo:return cr(e,e.type,"memo");default:return}}},getFunctionName:sr});function pr(e,t){const n=d({},t);return Object.keys(e).forEach(r=>{if(r.toString().match(/^(components|slots)$/))n[r]=d({},e[r],n[r]);else if(r.toString().match(/^(componentsProps|slotProps)$/)){const o=e[r]||{},i=t[r];n[r]={},i&&Object.keys(i)?o&&Object.keys(o)?(n[r]=d({},i),Object.keys(o).forEach(e=>{n[r][e]=pr(o[e],i[e])})):n[r]=i:n[r]=o}else void 0===n[r]&&(n[r]=e[r])}),n}const fr="undefined"!=typeof window?y.useLayoutEffect:y.useEffect;function hr(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var mr=Object.freeze({__proto__:null,default:hr});function gr(e){if(e.type)return e;if("#"===e.charAt(0))return gr(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(s(9,e));let r,o=e.substring(t+1,e.length-1);if("color"===n){if(o=o.split(" "),r=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw new Error(s(10,r))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:n,values:o,colorSpace:r}}function br(e,t){return e=gr(e),t=function(e,t=0,n=1){return hr(e,t,n)}(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}(e)}function vr(...e){return e.reduce((e,t)=>null==t?e:function(...n){e.apply(this,n),t.apply(this,n)},()=>{})}function yr(e,t=166){let n;function r(...r){clearTimeout(n),n=setTimeout(()=>{e.apply(this,r)},t)}return r.clear=()=>{clearTimeout(n)},r}function xr(e){return e&&e.ownerDocument||document}function Er(e){return xr(e).defaultView||window}function Sr(e,t){"function"==typeof e?e(t):e&&(e.current=t)}let wr=0;const Cr=E["useId".toString()];function kr(e){if(void 0!==Cr){return Cr()}return function(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{null==t&&(wr+=1,n(`mui-${wr}`))},[t]),r}(e)}function Rr(e){const t=y.useRef(e);return fr(()=>{t.current=e}),y.useRef((...e)=>(0,t.current)(...e)).current}function _r(...e){return y.useMemo(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{Sr(e,t)})},e)}const Lr={};const Tr=[];class Ar{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Ar}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function Pr(){const e=function(e,t){const n=y.useRef(Lr);return n.current===Lr&&(n.current=e(t)),n}(Ar.create).current;return function(e){y.useEffect(e,Tr)}(e.disposeEffect),e}let Ir=!0,Or=!1;const Mr=new Ar,Nr={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 jr(e){e.metaKey||e.altKey||e.ctrlKey||(Ir=!0)}function zr(){Ir=!1}function $r(){"hidden"===this.visibilityState&&Or&&(Ir=!0)}function Dr(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return Ir||function(e){const{type:t,tagName:n}=e;return!("INPUT"!==n||!Nr[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Br(){const e=y.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",jr,!0),t.addEventListener("mousedown",zr,!0),t.addEventListener("pointerdown",zr,!0),t.addEventListener("touchstart",zr,!0),t.addEventListener("visibilitychange",$r,!0))},[]),t=y.useRef(!1);return{isFocusVisibleRef:t,onFocus:function(e){return!!Dr(e)&&(t.current=!0,!0)},onBlur:function(){return!!t.current&&(Or=!0,Mr.start(100,()=>{Or=!1}),t.current=!1,!0)},ref:e}}function Fr(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}let Ur;function Hr(){if(Ur)return Ur;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),Ur="reverse",e.scrollLeft>0?Ur="default":(e.scrollLeft=1,0===e.scrollLeft&&(Ur="negative")),document.body.removeChild(e),Ur}function Gr(e,t){const n=e.scrollLeft;if("rtl"!==t)return n;switch(Hr()){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n;default:return n}}function Vr(e,t,n=void 0){const r={};return Object.keys(e).forEach(o=>{r[o]=e[o].reduce((e,r)=>{if(r){const o=t(r);""!==o&&e.push(o),n&&n[r]&&e.push(n[r])}return e},[]).join(" ")}),r}function Wr(e){return"string"==typeof e}function Yr(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 qr(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 Kr=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function Xr(e){var t;const{elementType:n,externalSlotProps:r,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=p(e,Kr),l=i?{}:function(e,t,n){return"function"==typeof e?e(t,n):e}(r,o),{props:s,internalRef:u}=function(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:i}=e;if(!t){const e=Kn(null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),t=d({},null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),a=d({},n,o,r);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Yr(d({},o,r)),l=qr(r),s=qr(o),u=t(a),c=Kn(null==u?void 0:u.className,null==n?void 0:n.className,i,null==o?void 0:o.className,null==r?void 0:r.className),p=d({},null==u?void 0:u.style,null==n?void 0:n.style,null==o?void 0:o.style,null==r?void 0:r.style),f=d({},u,n,s,l);return c.length>0&&(f.className=c),Object.keys(p).length>0&&(f.style=p),{props:f,internalRef:u.ref}}(d({},a,{externalSlotProps:l})),c=function(e,t,n){return void 0===e||Wr(e)?t:d({},t,{ownerState:d({},t.ownerState,n)})}(n,d({},s,{ref:_r(u,null==l?void 0:l.ref,null==(t=e.additionalProps)?void 0:t.ref)}),o);return c}function Qr(e){var t;return parseInt(y.version,10)>=19?(null==e||null==(t=e.props)?void 0:t.ref)||null:(null==e?void 0:e.ref)||null}const Zr=y.createContext(null);function Jr(){return y.useContext(Zr)}var eo="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";function to(e){const{children:t,theme:n}=e,r=Jr(),o=y.useMemo(()=>{const e=null===r?n:function(e,t){if("function"==typeof t)return t(e);return d({},e,t)}(r,n);return null!=e&&(e[eo]=null!==r),e},[n,r]);return xt.jsx(Zr.Provider,{value:o,children:t})}const no=["value"],ro=y.createContext();function oo(e){let{value:t}=e,n=p(e,no);return xt.jsx(ro.Provider,d({value:null==t||t},n))}const io=()=>{const e=y.useContext(ro);return null!=e&&e},ao=y.createContext(void 0);function lo({value:e,children:t}){return xt.jsx(ao.Provider,{value:e,children:t})}function so({props:e,name:t}){return function(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?pr(o.defaultProps,r):o.styleOverrides||o.variants?r:pr(o,r)}({props:e,name:t,theme:{components:y.useContext(ao)}})}const uo={};function co(e,t,n,r=!1){return y.useMemo(()=>{const o=e&&t[e]||t;if("function"==typeof n){const i=n(o),a=e?d({},t,{[e]:i}):i;return r?()=>a:a}return d({},t,e?{[e]:n}:n)},[e,t,n,r])}function po(e){const{children:t,theme:n,themeId:r}=e,o=$n(uo),i=Jr()||uo,a=co(r,o,n),l=co(r,i,n,!0),s="rtl"===a.direction,u=function(e){const t=$n(),n=kr()||"",{modularCssLayers:r}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=r&&null===t?"string"==typeof r?r.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",fr(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var r;if(t&&null!=(r=t.hasAttribute)&&r.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===n)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",n),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${n}"]`))||i.remove()}},[o,n]),o?xt.jsx(Un,{styles:o}):null}(a);return xt.jsx(to,{theme:l,children:xt.jsx(et.Provider,{value:a,children:xt.jsx(oo,{value:s,children:xt.jsxs(lo,{value:null==a?void 0:a.components,children:[u,t]})})})})}var fo,ho={},mo={exports:{}};function go(){return fo||(fo=1,function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports}(mo)),mo.exports}var bo,vo=a(u),yo=a(mr);function xo(){if(bo)return ho;bo=1;var e=go();Object.defineProperty(ho,"__esModule",{value:!0}),ho.alpha=c,ho.blend=function(e,t,n,r=1){const o=(e,t)=>Math.round((e**(1/r)*(1-n)+t**(1/r)*n)**r),a=i(e),s=i(t),u=[o(a.values[0],s.values[0]),o(a.values[1],s.values[1]),o(a.values[2],s.values[2])];return l({type:"rgb",values:u})},ho.colorChannel=void 0,ho.darken=d,ho.decomposeColor=i,ho.emphasize=f,ho.getContrastRatio=function(e,t){const n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)},ho.getLuminance=u,ho.hexToRgb=o,ho.hslToRgb=s,ho.lighten=p,ho.private_safeAlpha=function(e,t,n){try{return c(e,t)}catch(t){return e}},ho.private_safeColorChannel=void 0,ho.private_safeDarken=function(e,t,n){try{return d(e,t)}catch(t){return e}},ho.private_safeEmphasize=function(e,t,n){try{return f(e,t)}catch(t){return e}},ho.private_safeLighten=function(e,t,n){try{return p(e,t)}catch(t){return e}},ho.recomposeColor=l,ho.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:t}=i(e);return`#${t.map((e,t)=>function(e){const t=e.toString(16);return 1===t.length?`0${t}`:t}(3===t?Math.round(255*e):e)).join("")}`};var t=e(vo),n=e(yo);function r(e,t=0,r=1){return(0,n.default)(e,t,r)}function o(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(", ")})`:""}function i(e){if(e.type)return e;if("#"===e.charAt(0))return i(o(e));const n=e.indexOf("("),r=e.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,t.default)(9,e));let a,l=e.substring(n+1,e.length-1);if("color"===r){if(l=l.split(" "),a=l.shift(),4===l.length&&"/"===l[3].charAt(0)&&(l[3]=l[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(a))throw new Error((0,t.default)(10,a))}else l=l.split(",");return l=l.map(e=>parseFloat(e)),{type:r,values:l,colorSpace:a}}const a=e=>{const t=i(e);return t.values.slice(0,3).map((e,n)=>-1!==t.type.indexOf("hsl")&&0!==n?`${e}%`:e).join(" ")};ho.colorChannel=a;function l(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return-1!==t.indexOf("rgb")?r=r.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=-1!==t.indexOf("color")?`${n} ${r.join(" ")}`:`${r.join(", ")}`,`${t}(${r})`}function s(e){e=i(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),s=(e,t=(e+n/30)%12)=>o-a*Math.max(Math.min(t-3,9-t,1),-1);let u="rgb";const c=[Math.round(255*s(0)),Math.round(255*s(8)),Math.round(255*s(4))];return"hsla"===e.type&&(u+="a",c.push(t[3])),l({type:u,values:c})}function u(e){let t="hsl"===(e=i(e)).type||"hsla"===e.type?i(s(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){return e=i(e),t=r(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)}function d(e,t){if(e=i(e),t=r(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 l(e)}function p(e,t){if(e=i(e),t=r(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 l(e)}function f(e,t=.15){return u(e)>.5?d(e,t):p(e,t)}return ho.private_safeColorChannel=(e,t)=>{try{return a(e)}catch(t){return e}},ho}var Eo=xo();const So={black:"#000",white:"#fff"},wo={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"},Co="#f3e5f5",ko="#ce93d8",Ro="#ba68c8",_o="#ab47bc",Lo="#9c27b0",To="#7b1fa2",Ao="#e57373",Po="#ef5350",Io="#f44336",Oo="#d32f2f",Mo="#c62828",No="#ffb74d",jo="#ffa726",zo="#ff9800",$o="#f57c00",Do="#e65100",Bo="#e3f2fd",Fo="#90caf9",Uo="#42a5f5",Ho="#1976d2",Go="#1565c0",Vo="#4fc3f7",Wo="#29b6f6",Yo="#03a9f4",qo="#0288d1",Ko="#01579b",Xo="#81c784",Qo="#66bb6a",Zo="#4caf50",Jo="#388e3c",ei="#2e7d32",ti="#1b5e20",ni=["mode","contrastThreshold","tonalOffset"],ri={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:So.white,default:So.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}},oi={text:{primary:So.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:So.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 ii(e,t,n,r){const o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=Eo.lighten(e.main,o):"dark"===t&&(e.dark=Eo.darken(e.main,i)))}function ai(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2}=e,o=p(e,ni),i=e.primary||function(e="light"){return"dark"===e?{main:Fo,light:Bo,dark:Uo}:{main:Ho,light:Uo,dark:Go}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:ko,light:Co,dark:_o}:{main:Lo,light:Ro,dark:To}}(t),l=e.error||function(e="light"){return"dark"===e?{main:Io,light:Ao,dark:Oo}:{main:Oo,light:Po,dark:Mo}}(t),u=e.info||function(e="light"){return"dark"===e?{main:Wo,light:Vo,dark:qo}:{main:qo,light:Yo,dark:Ko}}(t),c=e.success||function(e="light"){return"dark"===e?{main:Qo,light:Xo,dark:Jo}:{main:ei,light:Zo,dark:ti}}(t),f=e.warning||function(e="light"){return"dark"===e?{main:jo,light:No,dark:$o}:{main:"#ed6c02",light:zo,dark:Do}}(t);function h(e){return Eo.getContrastRatio(e,oi.text.primary)>=n?oi.text.primary:ri.text.primary}const m=({color:e,name:t,mainShade:n=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=d({},e)).main&&e[n]&&(e.main=e[n]),!e.hasOwnProperty("main"))throw new Error(s(11,t?` (${t})`:"",n));if("string"!=typeof e.main)throw new Error(s(12,t?` (${t})`:"",JSON.stringify(e.main)));return ii(e,"light",o,r),ii(e,"dark",i,r),e.contrastText||(e.contrastText=h(e.main)),e},g={dark:oi,light:ri};return Tt(d({common:d({},So),mode:t,primary:m({color:i,name:"primary"}),secondary:m({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:l,name:"error"}),warning:m({color:f,name:"warning"}),info:m({color:u,name:"info"}),success:m({color:c,name:"success"}),grey:wo,contrastThreshold:n,getContrastText:h,augmentColor:m,tonalOffset:r},g[t]),o)}const li=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];const si={textTransform:"uppercase"},ui='"Roboto", "Helvetica", "Arial", sans-serif';function ci(e,t){const n="function"==typeof t?t(e):t,{fontFamily:r=ui,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:l=500,fontWeightBold:s=700,htmlFontSize:u=16,allVariants:c,pxToRem:f}=n,h=p(n,li),m=o/14,g=f||(e=>e/u*m+"rem"),b=(e,t,n,o,i)=>{return d({fontFamily:r,fontWeight:e,fontSize:g(t),lineHeight:n},r===ui?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5)+"em"}:{},i,c);var a},v={h1:b(i,96,1.167,-1.5),h2:b(i,60,1.2,-.5),h3:b(a,48,1.167,0),h4:b(a,34,1.235,.25),h5:b(a,24,1.334,0),h6:b(l,20,1.6,.15),subtitle1:b(a,16,1.75,.15),subtitle2:b(l,14,1.57,.1),body1:b(a,16,1.5,.15),body2:b(a,14,1.43,.15),button:b(l,14,1.75,.4,si),caption:b(a,12,1.66,.4),overline:b(a,12,2.66,1,si),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Tt(d({htmlFontSize:u,pxToRem:g,fontFamily:r,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:l,fontWeightBold:s},v),h,{clone:!1})}function di(...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(",")}const pi=["none",di(0,2,1,-1,0,1,1,0,0,1,3,0),di(0,3,1,-2,0,2,2,0,0,1,5,0),di(0,3,3,-2,0,3,4,0,0,1,8,0),di(0,2,4,-1,0,4,5,0,0,1,10,0),di(0,3,5,-1,0,5,8,0,0,1,14,0),di(0,3,5,-1,0,6,10,0,0,1,18,0),di(0,4,5,-2,0,7,10,1,0,2,16,1),di(0,5,5,-3,0,8,10,1,0,3,14,2),di(0,5,6,-3,0,9,12,1,0,3,16,2),di(0,6,6,-3,0,10,14,1,0,4,18,3),di(0,6,7,-4,0,11,15,1,0,4,20,3),di(0,7,8,-4,0,12,17,2,0,5,22,4),di(0,7,8,-4,0,13,19,2,0,5,24,4),di(0,7,9,-4,0,14,21,2,0,5,26,4),di(0,8,9,-5,0,15,22,2,0,6,28,5),di(0,8,10,-5,0,16,24,2,0,6,30,5),di(0,8,11,-5,0,17,26,2,0,6,32,5),di(0,9,11,-5,0,18,28,2,0,7,34,6),di(0,9,12,-6,0,19,29,2,0,7,36,6),di(0,10,13,-6,0,20,31,3,0,8,38,7),di(0,10,13,-6,0,21,33,3,0,8,40,7),di(0,10,14,-6,0,22,35,3,0,8,42,7),di(0,11,14,-7,0,23,36,3,0,9,44,8),di(0,11,15,-7,0,24,38,3,0,9,46,8)],fi=["duration","easing","delay"],hi={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},mi={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function gi(e){return`${Math.round(e)}ms`}function bi(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function vi(e){const t=d({},hi,e.easing),n=d({},mi,e.duration);return d({getAutoHeightDuration:bi,create:(e=["all"],r={})=>{const{duration:o=n.standard,easing:i=t.easeInOut,delay:a=0}=r;return p(r,fi),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:gi(o)} ${i} ${"string"==typeof a?a:gi(a)}`).join(",")}},e,{easing:t,duration:n})}const yi={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},xi=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function Ei(e={},...t){const{mixins:n={},palette:r={},transitions:o={},typography:i={}}=e,a=p(e,xi);if(e.vars&&void 0===e.generateCssVars)throw new Error(s(18));const l=ai(r),u=jn(e);let c=Tt(u,{mixins:(f=u.breakpoints,h=n,d({toolbar:{minHeight:56,[f.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[f.up("sm")]:{minHeight:64}}},h)),palette:l,shadows:pi.slice(),typography:ci(l,i),transitions:vi(o),zIndex:d({},yi)});var f,h;return c=Tt(c,a),c=t.reduce((e,t)=>Tt(e,t),c),c.unstable_sxConfig=d({},Pn,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return On({sx:e,theme:this})},c}const Si=Ei();function wi(){const e=Bn(Si);return e[c]||e}var Ci,ki={},Ri={exports:{}};var _i,Li={exports:{}};var Ti,Ai=a(Rt),Pi=a(At),Ii=a(Bt),Oi=a(dr),Mi=a(zn),Ni=a(Vn);function ji(){if(Ti)return ki;Ti=1;var e=go();Object.defineProperty(ki,"__esModule",{value:!0}),ki.default=function(e={}){const{themeId:i,defaultTheme:l=f,rootShouldForwardProp:s=d,slotShouldForwardProp:c=d}=e,p=e=>(0,a.default)((0,t.default)({},e,{theme:m((0,t.default)({},e,{defaultTheme:l,themeId:i}))}));return p.__mui_systemSx=!0,(e,a={})=>{(0,r.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:f,slot:v,skipVariantsResolver:y,skipSx:x,overridesResolver:E=g(h(v))}=a,S=(0,n.default)(a,u),w=f&&f.startsWith("Mui")||v?"components":"custom",C=void 0!==y?y:v&&"Root"!==v&&"root"!==v||!1,k=x||!1;let R=d;"Root"===v||"root"===v?R=s:v?R=c:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(R=void 0);const _=(0,r.default)(e,(0,t.default)({shouldForwardProp:R,label:void 0},S)),L=e=>"function"==typeof e&&e.__emotion_real!==e||(0,o.isPlainObject)(e)?n=>{const r=m({theme:n.theme,defaultTheme:l,themeId:i});return b(e,(0,t.default)({},n,{theme:r}),r.modularCssLayers?w:void 0)}:e,T=(n,...r)=>{let o=L(n);const a=r?r.map(L):[];f&&E&&a.push(e=>{const n=m((0,t.default)({},e,{defaultTheme:l,themeId:i}));if(!n.components||!n.components[f]||!n.components[f].styleOverrides)return null;const r=n.components[f].styleOverrides,o={};return Object.entries(r).forEach(([r,i])=>{o[r]=b(i,(0,t.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),E(e,o)}),f&&!C&&a.push(e=>{var n;const r=m((0,t.default)({},e,{defaultTheme:l,themeId:i}));return b({variants:null==r||null==(n=r.components)||null==(n=n[f])?void 0:n.variants},(0,t.default)({},e,{theme:r}),r.modularCssLayers?"theme":void 0)}),k||a.push(p);const s=a.length-r.length;if(Array.isArray(n)&&s>0){const e=new Array(s).fill("");o=[...n,...e],o.raw=[...n.raw,...e]}const u=_(o,...a);return e.muiName&&(u.muiName=e.muiName),u};return _.withConfig&&(T.withConfig=_.withConfig),T}},ki.shouldForwardProp=d,ki.systemDefaultTheme=void 0;var t=e((Ci||(Ci=1,function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Ri)),Ri.exports)),n=e((_i||(_i=1,function(e){e.exports=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n},e.exports.__esModule=!0,e.exports.default=e.exports}(Li)),Li.exports)),r=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}(Ai),o=Pi;e(Ii),e(Oi);var i=e(Mi),a=e(Ni);const l=["ownerState"],s=["variants"],u=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}function d(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function p(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const f=ki.systemDefaultTheme=(0,i.default)(),h=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function m({defaultTheme:e,theme:t,themeId:n}){return r=t,0===Object.keys(r).length?e:t[n]||t;var r}function g(e){return e?(t,n)=>n[e]:null}function b(e,o,i){let{ownerState:a}=o,u=(0,n.default)(o,l);const c="function"==typeof e?e((0,t.default)({ownerState:a},u)):e;if(Array.isArray(c))return c.flatMap(e=>b(e,(0,t.default)({ownerState:a},u),i));if(c&&"object"==typeof c&&Array.isArray(c.variants)){const{variants:e=[]}=c;let o=(0,n.default)(c,s);return e.forEach(e=>{let n=!0;if("function"==typeof e.props?n=e.props((0,t.default)({ownerState:a},u,a)):Object.keys(e.props).forEach(t=>{(null==a?void 0:a[t])!==e.props[t]&&u[t]!==e.props[t]&&(n=!1)}),n){Array.isArray(o)||(o=[o]);const n="function"==typeof e.style?e.style((0,t.default)({ownerState:a},u,a)):e.style;o.push(i?p((0,r.internal_serializeStyles)(n),i):n)}}),o}return i?p((0,r.internal_serializeStyles)(c),i):c}return ki}const zi=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,$i=i(ji())({themeId:c,defaultTheme:Si,rootShouldForwardProp:zi}),Di=["theme"];function Bi(e){let{theme:t}=e,n=p(e,Di);const r=t[c];let o=r||t;return"function"!=typeof t&&(r&&!r.vars?o=d({},r,{vars:null}):t&&!t.vars&&(o=d({},t,{vars:null}))),xt.jsx(po,d({},n,{themeId:r?c:void 0,theme:o}))}const Fi=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)},Ui={WHITE:"#FFFFFF",GREEN_ULTRA_LIGHT:"#F2F9F5",GREEN:"#00873D",GREEN_PALE:"#15AA51",GREEN_DARK:"#0D6932",GREEN_EXTRA_DARK:"#094923",BLUE_ULTRA_LIGHT:"#EDF7FC",BLUE:"#005DB9",BLUE_PALE:"#048DEC",BLUE_DARK:"#003A8F",BLUE_EXTRA_DARK:"#002D6D",RED_ULTRA_LIGHT:"#FEF2F6",RED:"#D7004B",RED_PALE:"#F15A81",RED_DARK:"#8B0041",RED_EXTRA_DARK:"#5C002B",ORANGE_ULTRA_LIGHT:"#FFF7EB",ORANGE:"#EF6D00",ORANGE_PALE:"#FF9800",ORANGE_DARK:"#BF3900",ORANGE_EXTRA_DARK:"#611100",PURPLE:"#655dc6",PURPLE_PALE:"#8D8BCE",PURPLE_DARK:"#413885",GREYSCALE_0:"#000000",GREYSCALE_5:"#0E0E0E",GREYSCALE_10:"#1A1A1A",GREYSCALE_15:"#262626",GREYSCALE_20:"#333333",GREYSCALE_25:"#404040",GREYSCALE_30:"#4D4D4D",GREYSCALE_35:"#595959",GREYSCALE_40:"#666666",GREYSCALE_45:"#737373",GREYSCALE_50:"#808080",GREYSCALE_55:"#8C8C8C",GREYSCALE_60:"#999999",GREYSCALE_65:"#A6A6A6",GREYSCALE_70:"#B3B3B3",GREYSCALE_75:"#BFBFBF",GREYSCALE_80:"#CCCCCC",GREYSCALE_85:"#D9D9D9",GREYSCALE_90:"#E6E6E6",GREYSCALE_95:"#F2F2F2",GREYSCALE_98:"#FAFAFA",GREYSCALE_100:"#FFFFFF",GREYSCALE_0_0:"rgba(0, 0, 0, 0)",GREYSCALE_0_03:"rgba(0, 0, 0, 0.03)",GREYSCALE_0_05:"rgba(0, 0, 0, 0.05)",GREYSCALE_0_06:"rgba(0, 0, 0, 0.06)",GREYSCALE_0_10:"rgba(0, 0, 0, 0.1)",GREYSCALE_0_15:"rgba(0, 0, 0, 0.15)",GREYSCALE_0_20:"rgba(0, 0, 0, 0.2)",GREYSCALE_0_30:"rgba(0, 0, 0, 0.3)",GREYSCALE_0_42:"rgba(0, 0, 0, 0.42)",GREYSCALE_0_55:"rgba(0, 0, 0, 0.55)",GREYSCALE_0_60:"rgba(0, 0, 0, 0.6)",GREYSCALE_100_15:"rgba(255, 255, 255, 0.15)",GREYSCALE_100_50:"rgba(255, 255, 255, 0.5)",GREYSCALE_100_60:"rgba(255, 255, 255, 0.6)",MISC_FOCUS_BORDER:"#0275D9",TEXT_PRIMARY:"#404040",TEXT_SECONDARY:"rgba(0, 0, 0, 0.55)"},Hi=12,Gi=14,Vi=16,Wi=24,Yi=3,qi=300,Ki=400,Xi=600,Qi=700,Zi={FONT_FAMILY:"'Source Sans Pro', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif"};function Ji(e){return so(e)}function ea(e){return Zn("MuiSvgIcon",e)}Jn("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const ta=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],na=$i("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,"inherit"!==n.color&&t[`color${Dt(n.color)}`],t[`fontSize${Dt(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,r,o,i,a,l,s,u,c,d,p,f,h;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(n=e.transitions)||null==(r=n.create)?void 0:r.call(n,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(l=e.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem",large:(null==(u=e.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.active,disabled:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.disabled,inherit:void 0}[t.color]}}),ra=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiSvgIcon"}),{children:r,className:o,color:i="inherit",component:a="svg",fontSize:l="medium",htmlColor:s,inheritViewBox:u=!1,titleAccess:c,viewBox:f="0 0 24 24"}=n,h=p(n,ta),m=y.isValidElement(r)&&"svg"===r.type,g=d({},n,{color:i,component:a,fontSize:l,instanceFontSize:e.fontSize,inheritViewBox:u,viewBox:f,hasSvgAsChild:m}),b={};u||(b.viewBox=f);const v=(e=>{const{color:t,fontSize:n,classes:r}=e;return Vr({root:["root","inherit"!==t&&`color${Dt(t)}`,`fontSize${Dt(n)}`]},ea,r)})(g);return xt.jsxs(na,d({as:a,className:Kn(v.root,o),focusable:"false",color:s,"aria-hidden":!c||void 0,role:c?"img":void 0,ref:t},b,h,m&&r.props,{ownerState:g,children:[m?r.props.children:r,c?xt.jsx("title",{children:c}):null]}))});function oa(e,t){function n(n,r){return xt.jsx(ra,d({"data-testid":`${t}Icon`,ref:r},n,{children:e}))}return n.muiName=ra.muiName,y.memo(y.forwardRef(n))}function ia(e,t){return ia=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ia(e,t)}function aa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,ia(e,t)}ra.muiName="SvgIcon";var la,sa,ua,ca,da={exports:{}},pa={},fa={exports:{}},ha={};function ma(){return sa||(sa=1,fa.exports=(la||(la=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<o(i,t)))break e;e[r]=t,e[n]=i,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,a=i>>>1;r<a;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<i&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<i&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}var s=[],u=[],c=1,d=null,p=3,f=!1,h=!1,m=!1,g="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,v="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function x(e){if(m=!1,y(e),!h)if(null!==n(s))h=!0,I(E);else{var t=n(u);null!==t&&O(x,t.startTime-e)}}function E(t,o){h=!1,m&&(m=!1,b(k),k=-1),f=!0;var i=p;try{for(y(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!L());){var a=d.callback;if("function"==typeof a){d.callback=null,p=d.priorityLevel;var l=a(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),y(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var g=n(u);null!==g&&O(x,g.startTime-o),c=!1}return c}finally{d=null,p=i,f=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,w=!1,C=null,k=-1,R=5,_=-1;function L(){return!(e.unstable_now()-_<R)}function T(){if(null!==C){var t=e.unstable_now();_=t;var n=!0;try{n=C(!0,t)}finally{n?S():(w=!1,C=null)}}else w=!1}if("function"==typeof v)S=function(){v(T)};else if("undefined"!=typeof MessageChannel){var A=new MessageChannel,P=A.port2;A.port1.onmessage=T,S=function(){P.postMessage(null)}}else S=function(){g(T,0)};function I(e){C=e,w||(w=!0,S())}function O(t,n){k=g(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||f||(h=!0,I(E))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},e.unstable_scheduleCallback=function(r,o,i){var a=e.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?a+i:a,r){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return r={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:l=i+l,sortIndex:-1},i>a?(r.sortIndex=i,t(u,r),null===n(s)&&r===n(u)&&(m?(b(k),k=-1):m=!0,O(x,i-a))):(r.sortIndex=l,t(s,r),h||f||(h=!0,I(E))),r},e.unstable_shouldYield=L,e.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}}(ha)),ha)),fa.exports}
15
15
  /**
16
16
  * @license React
17
17
  * react-dom.production.min.js
@@ -95,4 +95,4 @@
95
95
  }
96
96
  `),Ba.rippleVisible,Ya,550,({theme:e})=>e.transitions.easing.easeInOut,Ba.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,Ba.child,Ba.childLeaving,qa,550,({theme:e})=>e.transitions.easing.easeInOut,Ba.childPulsate,Ka,({theme:e})=>e.transitions.easing.easeInOut),Za=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiTouchRipple"}),{center:r=!1,classes:o={},className:i}=n,a=p(n,Fa),[l,s]=y.useState([]),u=y.useRef(0),c=y.useRef(null);y.useEffect(()=>{c.current&&(c.current(),c.current=null)},[l]);const f=y.useRef(!1),h=Pr(),m=y.useRef(null),g=y.useRef(null),b=y.useCallback(e=>{const{pulsate:t,rippleX:n,rippleY:r,rippleSize:i,cb:a}=e;s(e=>[...e,xt.jsx(Qa,{classes:{ripple:Kn(o.ripple,Ba.ripple),rippleVisible:Kn(o.rippleVisible,Ba.rippleVisible),ripplePulsate:Kn(o.ripplePulsate,Ba.ripplePulsate),child:Kn(o.child,Ba.child),childLeaving:Kn(o.childLeaving,Ba.childLeaving),childPulsate:Kn(o.childPulsate,Ba.childPulsate)},timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i},u.current)]),u.current+=1,c.current=a},[o]),v=y.useCallback((e={},t={},n=()=>{})=>{const{pulsate:o=!1,center:i=r||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&f.current)return void(f.current=!1);"touchstart"===(null==e?void 0:e.type)&&(f.current=!0);const l=a?null:g.current,s=l?l.getBoundingClientRect():{width:0,height:0,left:0,top:0};let u,c,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(s.width/2),c=Math.round(s.height/2);else{const{clientX:t,clientY:n}=e.touches&&e.touches.length>0?e.touches[0]:e;u=Math.round(t-s.left),c=Math.round(n-s.top)}if(i)d=Math.sqrt((2*s.width**2+s.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((l?l.clientWidth:0)-u),u)+2,t=2*Math.max(Math.abs((l?l.clientHeight:0)-c),c)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===m.current&&(m.current=()=>{b({pulsate:o,rippleX:u,rippleY:c,rippleSize:d,cb:n})},h.start(80,()=>{m.current&&(m.current(),m.current=null)})):b({pulsate:o,rippleX:u,rippleY:c,rippleSize:d,cb:n})},[r,b,h]),x=y.useCallback(()=>{v({},{pulsate:!0})},[v]),E=y.useCallback((e,t)=>{if(h.clear(),"touchend"===(null==e?void 0:e.type)&&m.current)return m.current(),m.current=null,void h.start(0,()=>{E(e,t)});m.current=null,s(e=>e.length>0?e.slice(1):e),c.current=t},[h]);return y.useImperativeHandle(t,()=>({pulsate:x,start:v,stop:E}),[x,v,E]),xt.jsx(Xa,d({className:Kn(Ba.root,o.root,i),ref:g},a,{children:xt.jsx(Oa,{component:null,exit:!0,children:l})}))});function Ja(e){return Zn("MuiButtonBase",e)}const el=Jn("MuiButtonBase",["root","disabled","focusVisible"]),tl=["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"],nl=$i("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"},[`&.${el.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),rl=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiButtonBase"}),{action:r,centerRipple:o=!1,children:i,className:a,component:l="button",disabled:s=!1,disableRipple:u=!1,disableTouchRipple:c=!1,focusRipple:f=!1,LinkComponent:h="a",onBlur:m,onClick:g,onContextMenu:b,onDragLeave:v,onFocus:x,onFocusVisible:E,onKeyDown:S,onKeyUp:w,onMouseDown:C,onMouseLeave:k,onMouseUp:R,onTouchEnd:_,onTouchMove:L,onTouchStart:T,tabIndex:A=0,TouchRippleProps:P,touchRippleRef:I,type:O}=n,M=p(n,tl),N=y.useRef(null),j=y.useRef(null),z=_r(j,I),{isFocusVisibleRef:$,onFocus:D,onBlur:B,ref:F}=Br(),[U,H]=y.useState(!1);s&&U&&H(!1),y.useImperativeHandle(r,()=>({focusVisible:()=>{H(!0),N.current.focus()}}),[]);const[G,V]=y.useState(!1);y.useEffect(()=>{V(!0)},[]);const W=G&&!u&&!s;function Y(e,t,n=c){return Rr(r=>{t&&t(r);return!n&&j.current&&j.current[e](r),!0})}y.useEffect(()=>{U&&f&&!u&&G&&j.current.pulsate()},[u,f,U,G]);const q=Y("start",C),K=Y("stop",b),X=Y("stop",v),Q=Y("stop",R),Z=Y("stop",e=>{U&&e.preventDefault(),k&&k(e)}),J=Y("start",T),ee=Y("stop",_),te=Y("stop",L),ne=Y("stop",e=>{B(e),!1===$.current&&H(!1),m&&m(e)},!1),re=Rr(e=>{N.current||(N.current=e.currentTarget),D(e),!0===$.current&&(H(!0),E&&E(e)),x&&x(e)}),oe=()=>{const e=N.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ie=y.useRef(!1),ae=Rr(e=>{f&&!ie.current&&U&&j.current&&" "===e.key&&(ie.current=!0,j.current.stop(e,()=>{j.current.start(e)})),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),S&&S(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!s&&(e.preventDefault(),g&&g(e))}),le=Rr(e=>{f&&" "===e.key&&j.current&&U&&!e.defaultPrevented&&(ie.current=!1,j.current.stop(e,()=>{j.current.pulsate(e)})),w&&w(e),g&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&g(e)});let se=l;"button"===se&&(M.href||M.to)&&(se=h);const ue={};"button"===se?(ue.type=void 0===O?"button":O,ue.disabled=s):(M.href||M.to||(ue.role="button"),s&&(ue["aria-disabled"]=s));const ce=_r(t,F,N),de=d({},n,{centerRipple:o,component:l,disabled:s,disableRipple:u,disableTouchRipple:c,focusRipple:f,tabIndex:A,focusVisible:U}),pe=(e=>{const{disabled:t,focusVisible:n,focusVisibleClassName:r,classes:o}=e,i=Vr({root:["root",t&&"disabled",n&&"focusVisible"]},Ja,o);return n&&r&&(i.root+=` ${r}`),i})(de);return xt.jsxs(nl,d({as:se,className:Kn(pe.root,a),ownerState:de,onBlur:ne,onClick:g,onContextMenu:K,onFocus:re,onKeyDown:ae,onKeyUp:le,onMouseDown:q,onMouseLeave:Z,onMouseUp:Q,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:J,ref:ce,tabIndex:s?-1:A,type:O},ue,M,{children:[i,W?xt.jsx(Za,d({ref:z,center:o},P)):null]}))});function ol(e){return Zn("MuiTypography",e)}Jn("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const il=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],al=$i("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${Dt(n.align)}`],n.noWrap&&t.noWrap,n.gutterBottom&&t.gutterBottom,n.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>d({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})),ll={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},sl={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},ul=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiTypography"}),r=(e=>sl[e]||e)(n.color),o=Gn(d({},n,{color:r})),{align:i="inherit",className:a,component:l,gutterBottom:s=!1,noWrap:u=!1,paragraph:c=!1,variant:f="body1",variantMapping:h=ll}=o,m=p(o,il),g=d({},o,{align:i,color:r,className:a,component:l,gutterBottom:s,noWrap:u,paragraph:c,variant:f,variantMapping:h}),b=l||(c?"p":h[f]||ll[f])||"span",v=(e=>{const{align:t,gutterBottom:n,noWrap:r,paragraph:o,variant:i,classes:a}=e;return Vr({root:["root",i,"inherit"!==e.align&&`align${Dt(t)}`,n&&"gutterBottom",r&&"noWrap",o&&"paragraph"]},ol,a)})(g);return xt.jsx(al,d({as:b,ref:t,ownerState:g,className:Kn(v.root,a)},m))});const cl=y.forwardRef(function(e,t){const{children:n,container:r,disablePortal:o=!1}=e,[i,a]=y.useState(null),l=_r(y.isValidElement(n)?Qr(n):null,t);if(fr(()=>{o||a(function(e){return"function"==typeof e?e():e}(r)||document.body)},[r,o]),fr(()=>{if(i&&!o)return Sr(t,i),()=>{Sr(t,null)}},[t,i,o]),o){if(y.isValidElement(n)){const e={ref:l};return y.cloneElement(n,e)}return xt.jsx(y.Fragment,{children:n})}return xt.jsx(y.Fragment,{children:i?va.createPortal(n,i):i})}),dl=["onChange","maxRows","minRows","style","value"];function pl(e){return parseInt(e,10)||0}const fl={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function hl(e){return function(e){for(const t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}const ml=y.forwardRef(function(e,t){const{onChange:n,maxRows:r,minRows:o=1,style:i,value:a}=e,l=p(e,dl),{current:s}=y.useRef(null!=a),u=y.useRef(null),c=_r(t,u),f=y.useRef(null),h=y.useRef(null),m=y.useCallback(()=>{const t=u.current,n=h.current;if(!t||!n)return;const i=Er(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};n.style.width=i.width,n.value=t.value||e.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=i.boxSizing,l=pl(i.paddingBottom)+pl(i.paddingTop),s=pl(i.borderBottomWidth)+pl(i.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let p=c;o&&(p=Math.max(Number(o)*d,p)),r&&(p=Math.min(Number(r)*d,p)),p=Math.max(p,d);return{outerHeightStyle:p+("border-box"===a?l+s:0),overflowing:Math.abs(p-c)<=1}},[r,o,e.placeholder]),g=Rr(()=>{const e=u.current,t=m();if(!e||!t||hl(t))return!1;const n=t.outerHeightStyle;return null!=f.current&&f.current!==n}),b=y.useCallback(()=>{const e=u.current,t=m();if(!e||!t||hl(t))return;const n=t.outerHeightStyle;f.current!==n&&(f.current=n,e.style.height=`${n}px`),e.style.overflow=t.overflowing?"hidden":""},[m]),v=y.useRef(-1);fr(()=>{const e=yr(b),t=null==u?void 0:u.current;if(!t)return;const n=Er(t);let r;return n.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(r=new ResizeObserver(()=>{g()&&(r.unobserve(t),cancelAnimationFrame(v.current),b(),v.current=requestAnimationFrame(()=>{r.observe(t)}))}),r.observe(t)),()=>{e.clear(),cancelAnimationFrame(v.current),n.removeEventListener("resize",e),r&&r.disconnect()}},[m,b,g]),fr(()=>{b()});return xt.jsxs(y.Fragment,{children:[xt.jsx("textarea",d({value:a,onChange:e=>{s||b(),n&&n(e)},ref:c,rows:o,style:i},l)),xt.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:h,tabIndex:-1,style:d({},fl,i,{paddingTop:0,paddingBottom:0})})]})});const gl=y.createContext(void 0);function bl(){return y.useContext(gl)}function vl(e){return xt.jsx(Un,d({},e,{defaultTheme:Si,themeId:c}))}function yl(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function xl(e){return Zn("MuiInputBase",e)}const El=Jn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),Sl=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],wl=$i("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${Dt(n.color)}`],n.fullWidth&&t.fullWidth,n.hiddenLabel&&t.hiddenLabel]}})(({theme:e,ownerState:t})=>d({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${El.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&d({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),Cl=$i("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,r=d({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:n?.42:.5};return d({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${El.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${El.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})}),kl=xt.jsx(vl,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),Rl=y.forwardRef(function(e,t){var n;const r=Ji({props:e,name:"MuiInputBase"}),{"aria-describedby":o,autoComplete:i,autoFocus:a,className:l,components:u={},componentsProps:c={},defaultValue:f,disabled:h,disableInjectingGlobalStyles:m,endAdornment:g,fullWidth:b=!1,id:v,inputComponent:x="input",inputProps:E={},inputRef:S,maxRows:w,minRows:C,multiline:k=!1,name:R,onBlur:_,onChange:L,onClick:T,onFocus:A,onKeyDown:P,onKeyUp:I,placeholder:O,readOnly:M,renderSuffix:N,rows:j,slotProps:z={},slots:$={},startAdornment:D,type:B="text",value:F}=r,U=p(r,Sl),H=null!=E.value?E.value:F,{current:G}=y.useRef(null!=H),V=y.useRef(),W=y.useCallback(e=>{},[]),Y=_r(V,S,E.ref,W),[q,K]=y.useState(!1),X=bl(),Q=function({props:e,states:t,muiFormControl:n}){return t.reduce((t,r)=>(t[r]=e[r],n&&void 0===e[r]&&(t[r]=n[r]),t),{})}({props:r,muiFormControl:X,states:["color","disabled","error","hiddenLabel","size","required","filled"]});Q.focused=X?X.focused:q,y.useEffect(()=>{!X&&h&&q&&(K(!1),_&&_())},[X,h,q,_]);const Z=X&&X.onFilled,J=X&&X.onEmpty,ee=y.useCallback(e=>{!function(e,t=!1){return e&&(yl(e.value)&&""!==e.value||t&&yl(e.defaultValue)&&""!==e.defaultValue)}(e)?J&&J():Z&&Z()},[Z,J]);fr(()=>{G&&ee({value:H})},[H,ee,G]);y.useEffect(()=>{ee(V.current)},[]);let te=x,ne=E;k&&"input"===te&&(ne=d(j?{type:void 0,minRows:j,maxRows:j}:{type:void 0,maxRows:w,minRows:C},ne),te=ml);y.useEffect(()=>{X&&X.setAdornedStart(Boolean(D))},[X,D]);const re=d({},r,{color:Q.color||"primary",disabled:Q.disabled,endAdornment:g,error:Q.error,focused:Q.focused,formControl:X,fullWidth:b,hiddenLabel:Q.hiddenLabel,multiline:k,size:Q.size,startAdornment:D,type:B}),oe=(e=>{const{classes:t,color:n,disabled:r,error:o,endAdornment:i,focused:a,formControl:l,fullWidth:s,hiddenLabel:u,multiline:c,readOnly:d,size:p,startAdornment:f,type:h}=e;return Vr({root:["root",`color${Dt(n)}`,r&&"disabled",o&&"error",s&&"fullWidth",a&&"focused",l&&"formControl",p&&"medium"!==p&&`size${Dt(p)}`,c&&"multiline",f&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",d&&"readOnly"],input:["input",r&&"disabled","search"===h&&"inputTypeSearch",c&&"inputMultiline","small"===p&&"inputSizeSmall",u&&"inputHiddenLabel",f&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},xl,t)})(re),ie=$.root||u.Root||wl,ae=z.root||c.root||{},le=$.input||u.Input||Cl;return ne=d({},ne,null!=(n=z.input)?n:c.input),xt.jsxs(y.Fragment,{children:[!m&&kl,xt.jsxs(ie,d({},ae,!Wr(ie)&&{ownerState:d({},re,ae.ownerState)},{ref:t,onClick:e=>{V.current&&e.currentTarget===e.target&&V.current.focus(),T&&T(e)}},U,{className:Kn(oe.root,ae.className,l,M&&"MuiInputBase-readOnly"),children:[D,xt.jsx(gl.Provider,{value:null,children:xt.jsx(le,d({ownerState:re,"aria-invalid":Q.error,"aria-describedby":o,autoComplete:i,autoFocus:a,defaultValue:f,disabled:Q.disabled,id:v,onAnimationStart:e=>{ee("mui-auto-fill-cancel"===e.animationName?V.current:{value:"x"})},name:R,placeholder:O,readOnly:M,required:Q.required,rows:j,value:H,onKeyDown:P,onKeyUp:I,type:B},ne,!Wr(le)&&{as:te,ownerState:d({},re,ne.ownerState)},{ref:Y,className:Kn(oe.input,ne.className,M&&"MuiInputBase-readOnly"),onBlur:e=>{_&&_(e),E.onBlur&&E.onBlur(e),X&&X.onBlur?X.onBlur(e):K(!1)},onChange:(e,...t)=>{if(!G){const t=e.target||V.current;if(null==t)throw new Error(s(1));ee({value:t.value})}E.onChange&&E.onChange(e,...t),L&&L(e,...t)},onFocus:e=>{Q.disabled?e.stopPropagation():(A&&A(e),E.onFocus&&E.onFocus(e),X&&X.onFocus?X.onFocus(e):K(!0))}}))}),g,N?N(d({},Q,{startAdornment:D})):null]}))]})}),_l=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],Ll={entering:{opacity:1},entered:{opacity:1}},Tl=y.forwardRef(function(e,t){const n=wi(),r={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:o,appear:i=!0,children:a,easing:l,in:s,onEnter:u,onEntered:c,onEntering:f,onExit:h,onExited:m,onExiting:g,style:b,timeout:v=r,TransitionComponent:x=_a}=e,E=p(e,_l),S=y.useRef(null),w=_r(S,Qr(a),t),C=e=>t=>{if(e){const n=S.current;void 0===t?e(n):e(n,t)}},k=C(f),R=C((e,t)=>{Ma(e);const r=Na({style:b,timeout:v,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)}),_=C(c),L=C(g),T=C(e=>{const t=Na({style:b,timeout:v,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),h&&h(e)}),A=C(m);return xt.jsx(x,d({appear:i,in:s,nodeRef:S,onEnter:R,onEntered:_,onEntering:k,onExit:T,onExited:A,onExiting:L,addEndListener:e=>{o&&o(S.current,e)},timeout:v},E,{children:(e,t)=>y.cloneElement(a,d({style:d({opacity:0,visibility:"exited"!==e||s?void 0:"hidden"},Ll[e],b,a.props.style),ref:w},t))}))});function Al(e){return Zn("MuiBackdrop",e)}Jn("MuiBackdrop",["root","invisible"]);const Pl=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],Il=$i("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.invisible&&t.invisible]}})(({ownerState:e})=>d({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"})),Ol=y.forwardRef(function(e,t){var n,r,o;const i=Ji({props:e,name:"MuiBackdrop"}),{children:a,className:l,component:s="div",components:u={},componentsProps:c={},invisible:f=!1,open:h,slotProps:m={},slots:g={},TransitionComponent:b=Tl,transitionDuration:v}=i,y=p(i,Pl),x=d({},i,{component:s,invisible:f}),E=(e=>{const{classes:t,invisible:n}=e;return Vr({root:["root",n&&"invisible"]},Al,t)})(x),S=null!=(n=m.root)?n:c.root;return xt.jsx(b,d({in:h,timeout:v},y,{children:xt.jsx(Il,d({"aria-hidden":!0},S,{as:null!=(r=null!=(o=g.root)?o:u.Root)?r:s,className:Kn(E.root,l,null==S?void 0:S.className),ownerState:d({},x,null==S?void 0:S.ownerState),classes:E,ref:t,children:a}))}))}),Ml=Jn("MuiBox",["root"]),Nl=Ei(),jl=function(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:o}=e,i=wt("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(On);return y.forwardRef(function(e,a){const l=Bn(n),s=Gn(e),{className:u,component:c="div"}=s,f=p(s,Xn);return xt.jsx(i,d({as:c,ref:a,className:Kn(u,o?o(r):r),theme:t&&l[t]||l},f))})}({themeId:c,defaultTheme:Nl,defaultClassName:Ml.root,generateClassName:Yn.generate});function zl(e){return Zn("MuiButton",e)}const $l=Jn("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),Dl=y.createContext({}),Bl=y.createContext(void 0),Fl=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],Ul=e=>d({},"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}}),Hl=$i(rl,{shouldForwardProp:e=>zi(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[n.variant],t[`${n.variant}${Dt(n.color)}`],t[`size${Dt(n.size)}`],t[`${n.variant}Size${Dt(n.size)}`],"inherit"===n.color&&t.colorInherit,n.disableElevation&&t.disableElevation,n.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var n,r;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return d({},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":d({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:Eo.alpha(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Eo.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:Eo.alpha(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":d({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${$l.focusVisible}`]:d({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${$l.disabled}`]:d({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 ${Eo.alpha(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(n=(r=e.palette).getContrastText)?void 0:n.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${$l.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${$l.disabled}`]:{boxShadow:"none"}}),Gl=$i("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.startIcon,t[`iconSize${Dt(n.size)}`]]}})(({ownerState:e})=>d({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},Ul(e))),Vl=$i("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.endIcon,t[`iconSize${Dt(n.size)}`]]}})(({ownerState:e})=>d({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},Ul(e))),Wl=y.forwardRef(function(e,t){const n=y.useContext(Dl),r=y.useContext(Bl),o=Ji({props:pr(n,e),name:"MuiButton"}),{children:i,color:a="primary",component:l="button",className:s,disabled:u=!1,disableElevation:c=!1,disableFocusRipple:f=!1,endIcon:h,focusVisibleClassName:m,fullWidth:g=!1,size:b="medium",startIcon:v,type:x,variant:E="text"}=o,S=p(o,Fl),w=d({},o,{color:a,component:l,disabled:u,disableElevation:c,disableFocusRipple:f,fullWidth:g,size:b,type:x,variant:E}),C=(e=>{const{color:t,disableElevation:n,fullWidth:r,size:o,variant:i,classes:a}=e;return d({},a,Vr({root:["root",i,`${i}${Dt(t)}`,`size${Dt(o)}`,`${i}Size${Dt(o)}`,`color${Dt(t)}`,n&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${Dt(o)}`],endIcon:["icon","endIcon",`iconSize${Dt(o)}`]},zl,a))})(w),k=v&&xt.jsx(Gl,{className:C.startIcon,ownerState:w,children:v}),R=h&&xt.jsx(Vl,{className:C.endIcon,ownerState:w,children:h}),_=r||"";return xt.jsxs(Hl,d({ownerState:w,className:Kn(n.className,C.root,s,_),component:l,disabled:u,focusRipple:!f,focusVisibleClassName:Kn(C.focusVisible,m),ref:t,type:x},S,{classes:C,children:[k,i,R]}))});function Yl(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function ql(e){return parseInt(Er(e).getComputedStyle(e).paddingRight,10)||0}function Kl(e,t,n,r,o){const i=[t,n,...r];[].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&&Yl(e,o)})}function Xl(e,t){let n=-1;return e.some((e,r)=>!!t(e)&&(n=r,!0)),n}function Ql(e,t){const n=[],r=e.container;if(!t.disableScrollLock){if(function(e){const t=xr(e);return t.body===e?Er(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(r)){const e=Fr(xr(r));n.push({value:r.style.paddingRight,property:"padding-right",el:r}),r.style.paddingRight=`${ql(r)+e}px`;const t=xr(r).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{n.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${ql(t)+e}px`})}let e;if(r.parentNode instanceof DocumentFragment)e=xr(r).body;else{const t=r.parentElement,n=Er(r);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===n.getComputedStyle(t).overflowY?t:r}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 Zl=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function Jl(e){const t=[],n=[];return Array.from(e.querySelectorAll(Zl)).forEach((e,r)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let n=t(`[name="${e.name}"]:checked`);return n||(n=t(`[name="${e.name}"]`)),n!==e}(e))}(e)&&(0===o?t.push(e):n.push({documentOrder:r,tabIndex:o,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 es(){return!0}function ts(e){const{children:t,disableAutoFocus:n=!1,disableEnforceFocus:r=!1,disableRestoreFocus:o=!1,getTabbable:i=Jl,isEnabled:a=es,open:l}=e,s=y.useRef(!1),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),p=y.useRef(null),f=y.useRef(!1),h=y.useRef(null),m=_r(Qr(t),h),g=y.useRef(null);y.useEffect(()=>{l&&h.current&&(f.current=!n)},[n,l]),y.useEffect(()=>{if(!l||!h.current)return;const e=xr(h.current);return h.current.contains(e.activeElement)||(h.current.hasAttribute("tabIndex")||h.current.setAttribute("tabIndex","-1"),f.current&&h.current.focus()),()=>{o||(d.current&&d.current.focus&&(s.current=!0,d.current.focus()),d.current=null)}},[l]),y.useEffect(()=>{if(!l||!h.current)return;const e=xr(h.current),t=t=>{g.current=t,!r&&a()&&"Tab"===t.key&&e.activeElement===h.current&&t.shiftKey&&(s.current=!0,c.current&&c.current.focus())},n=()=>{const t=h.current;if(null===t)return;if(!e.hasFocus()||!a()||s.current)return void(s.current=!1);if(t.contains(e.activeElement))return;if(r&&e.activeElement!==u.current&&e.activeElement!==c.current)return;if(e.activeElement!==p.current)p.current=null;else if(null!==p.current)return;if(!f.current)return;let n=[];if(e.activeElement!==u.current&&e.activeElement!==c.current||(n=i(h.current)),n.length>0){var o,l;const e=Boolean((null==(o=g.current)?void 0:o.shiftKey)&&"Tab"===(null==(l=g.current)?void 0:l.key)),t=n[0],r=n[n.length-1];"string"!=typeof t&&"string"!=typeof r&&(e?r.focus():t.focus())}else t.focus()};e.addEventListener("focusin",n),e.addEventListener("keydown",t,!0);const o=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&n()},50);return()=>{clearInterval(o),e.removeEventListener("focusin",n),e.removeEventListener("keydown",t,!0)}},[n,r,o,a,l,i]);const b=e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0};return xt.jsxs(y.Fragment,{children:[xt.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:u,"data-testid":"sentinelStart"}),y.cloneElement(t,{ref:m,onFocus:e=>{null===d.current&&(d.current=e.relatedTarget),f.current=!0,p.current=e.target;const n=t.props.onFocus;n&&n(e)}}),xt.jsx("div",{tabIndex:l?0:-1,onFocus:b,ref:c,"data-testid":"sentinelEnd"})]})}const ns=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&&Yl(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);Kl(t,e.mount,e.modalRef,r,!0);const o=Xl(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),n)}mount(e,t){const n=Xl(this.containers,t=>-1!==t.modals.indexOf(e)),r=this.containers[n];r.restore||(r.restore=Ql(r,t))}remove(e,t=!0){const n=this.modals.indexOf(e);if(-1===n)return n;const r=Xl(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[r];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(n,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&Yl(e.modalRef,t),Kl(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&Yl(e.modalRef,!1)}return n}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};function rs(e){const{container:t,disableEscapeKeyDown:n=!1,disableScrollLock:r=!1,manager:o=ns,closeAfterTransition:i=!1,onTransitionEnter:a,onTransitionExited:l,children:s,onClose:u,open:c,rootRef:p}=e,f=y.useRef({}),h=y.useRef(null),m=y.useRef(null),g=_r(m,p),[b,v]=y.useState(!c),x=function(e){return!!e&&e.props.hasOwnProperty("in")}(s);let E=!0;"false"!==e["aria-hidden"]&&!1!==e["aria-hidden"]||(E=!1);const S=()=>(f.current.modalRef=m.current,f.current.mount=h.current,f.current),w=()=>{o.mount(S(),{disableScrollLock:r}),m.current&&(m.current.scrollTop=0)},C=Rr(()=>{const e=function(e){return"function"==typeof e?e():e}(t)||xr(h.current).body;o.add(S(),e),m.current&&w()}),k=y.useCallback(()=>o.isTopModal(S()),[o]),R=Rr(e=>{h.current=e,e&&(c&&k()?w():m.current&&Yl(m.current,E))}),_=y.useCallback(()=>{o.remove(S(),E)},[E,o]);y.useEffect(()=>()=>{_()},[_]),y.useEffect(()=>{c?C():x&&i||_()},[c,_,x,i,C]);const L=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&k()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},T=e=>t=>{var n;null==(n=e.onClick)||n.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(t={})=>{const n=Yr(e);delete n.onTransitionEnter,delete n.onTransitionExited;const r=d({},n,t);return d({role:"presentation"},r,{onKeyDown:L(r),ref:g})},getBackdropProps:(e={})=>d({"aria-hidden":!0},e,{onClick:T(e),open:c}),getTransitionProps:()=>({onEnter:vr(()=>{v(!1),a&&a()},null==s?void 0:s.props.onEnter),onExited:vr(()=>{v(!0),l&&l(),i&&_()},null==s?void 0:s.props.onExited)}),rootRef:g,portalRef:R,isTopModal:k,exited:b,hasTransition:x}}function os(e){return Zn("MuiModal",e)}Jn("MuiModal",["root","hidden","backdrop"]);const is=["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"],as=$i("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})=>d({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),ls=$i(Ol,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),ss=y.forwardRef(function(e,t){var n,r,o,i,a,l;const s=Ji({name:"MuiModal",props:e}),{BackdropComponent:u=ls,BackdropProps:c,className:f,closeAfterTransition:h=!1,children:m,container:g,component:b,components:v={},componentsProps:x={},disableAutoFocus:E=!1,disableEnforceFocus:S=!1,disableEscapeKeyDown:w=!1,disablePortal:C=!1,disableRestoreFocus:k=!1,disableScrollLock:R=!1,hideBackdrop:_=!1,keepMounted:L=!1,onBackdropClick:T,open:A,slotProps:P,slots:I}=s,O=p(s,is),M=d({},s,{closeAfterTransition:h,disableAutoFocus:E,disableEnforceFocus:S,disableEscapeKeyDown:w,disablePortal:C,disableRestoreFocus:k,disableScrollLock:R,hideBackdrop:_,keepMounted:L}),{getRootProps:N,getBackdropProps:j,getTransitionProps:z,portalRef:$,isTopModal:D,exited:B,hasTransition:F}=rs(d({},M,{rootRef:t})),U=d({},M,{exited:B}),H=(e=>{const{open:t,exited:n,classes:r}=e;return Vr({root:["root",!t&&n&&"hidden"],backdrop:["backdrop"]},os,r)})(U),G={};if(void 0===m.props.tabIndex&&(G.tabIndex="-1"),F){const{onEnter:e,onExited:t}=z();G.onEnter=e,G.onExited=t}const V=null!=(n=null!=(r=null==I?void 0:I.root)?r:v.Root)?n:as,W=null!=(o=null!=(i=null==I?void 0:I.backdrop)?i:v.Backdrop)?o:u,Y=null!=(a=null==P?void 0:P.root)?a:x.root,q=null!=(l=null==P?void 0:P.backdrop)?l:x.backdrop,K=Xr({elementType:V,externalSlotProps:Y,externalForwardedProps:O,getSlotProps:N,additionalProps:{ref:t,as:b},ownerState:U,className:Kn(f,null==Y?void 0:Y.className,null==H?void 0:H.root,!U.open&&U.exited&&(null==H?void 0:H.hidden))}),X=Xr({elementType:W,externalSlotProps:q,additionalProps:c,getSlotProps:e=>j(d({},e,{onClick:t=>{T&&T(t),null!=e&&e.onClick&&e.onClick(t)}})),className:Kn(null==q?void 0:q.className,null==c?void 0:c.className,null==H?void 0:H.backdrop),ownerState:U});return L||A||F&&!B?xt.jsx(cl,{ref:$,container:g,disablePortal:C,children:xt.jsxs(V,d({},K,{children:[!_&&u?xt.jsx(W,d({},X)):null,xt.jsx(ts,{disableEnforceFocus:S,disableAutoFocus:E,disableRestoreFocus:k,isEnabled:D,open:A,children:y.cloneElement(m,G)})]}))}):null});function us(e){return Zn("MuiDivider",e)}const cs=Jn("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),ds=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],ps=$i("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})=>d({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)`:Eo.alpha(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>d({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>d({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`,borderTopStyle:"inherit"}}),({theme:e,ownerState:t})=>d({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`,borderLeftStyle:"inherit"}}),({ownerState:e})=>d({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),fs=$i("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.wrapper,"vertical"===n.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>d({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)`})),hs=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiDivider"}),{absolute:r=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:l=!1,light:s=!1,orientation:u="horizontal",role:c=("hr"!==a?"separator":void 0),textAlign:f="center",variant:h="fullWidth"}=n,m=p(n,ds),g=d({},n,{absolute:r,component:a,flexItem:l,light:s,orientation:u,role:c,textAlign:f,variant:h}),b=(e=>{const{absolute:t,children:n,classes:r,flexItem:o,light:i,orientation:a,textAlign:l,variant:s}=e;return Vr({root:["root",t&&"absolute",s,i&&"light","vertical"===a&&"vertical",o&&"flexItem",n&&"withChildren",n&&"vertical"===a&&"withChildrenVertical","right"===l&&"vertical"!==a&&"textAlignRight","left"===l&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},us,r)})(g);return xt.jsx(ps,d({as:a,className:Kn(b.root,i),role:c,ref:t,ownerState:g},m,{children:o?xt.jsx(fs,{className:b.wrapper,ownerState:g,children:o}):null}))});hs.muiSkipListHighlight=!0;const ms=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function gs(e){return`scale(${e}, ${e**2})`}const bs={entering:{opacity:1,transform:gs(1)},entered:{opacity:1,transform:"none"}},vs="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),ys=y.forwardRef(function(e,t){const{addEndListener:n,appear:r=!0,children:o,easing:i,in:a,onEnter:l,onEntered:s,onEntering:u,onExit:c,onExited:f,onExiting:h,style:m,timeout:g="auto",TransitionComponent:b=_a}=e,v=p(e,ms),x=Pr(),E=y.useRef(),S=wi(),w=y.useRef(null),C=_r(w,Qr(o),t),k=e=>t=>{if(e){const n=w.current;void 0===t?e(n):e(n,t)}},R=k(u),_=k((e,t)=>{Ma(e);const{duration:n,delay:r,easing:o}=Na({style:m,timeout:g,easing:i},{mode:"enter"});let a;"auto"===g?(a=S.transitions.getAutoHeightDuration(e.clientHeight),E.current=a):a=n,e.style.transition=[S.transitions.create("opacity",{duration:a,delay:r}),S.transitions.create("transform",{duration:vs?a:.666*a,delay:r,easing:o})].join(","),l&&l(e,t)}),L=k(s),T=k(h),A=k(e=>{const{duration:t,delay:n,easing:r}=Na({style:m,timeout:g,easing:i},{mode:"exit"});let o;"auto"===g?(o=S.transitions.getAutoHeightDuration(e.clientHeight),E.current=o):o=t,e.style.transition=[S.transitions.create("opacity",{duration:o,delay:n}),S.transitions.create("transform",{duration:vs?o:.666*o,delay:vs?n:n||.333*o,easing:r})].join(","),e.style.opacity=0,e.style.transform=gs(.75),c&&c(e)}),P=k(f);return xt.jsx(b,d({appear:r,in:a,nodeRef:w,onEnter:_,onEntered:L,onEntering:R,onExit:A,onExited:P,onExiting:T,addEndListener:e=>{"auto"===g&&x.start(E.current||0,e),n&&n(w.current,e)},timeout:"auto"===g?null:g},v,{children:(e,t)=>y.cloneElement(o,d({style:d({opacity:0,transform:gs(.75),visibility:"exited"!==e||a?void 0:"hidden"},bs[e],m,o.props.style),ref:C},t))}))});function xs(e){return Zn("MuiInputAdornment",e)}ys.muiSupportAuto=!0;const Es=Jn("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var Ss;const ws=["children","className","component","disablePointerEvents","disableTypography","position","variant"],Cs=$i("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,t[`position${Dt(n.position)}`],!0===n.disablePointerEvents&&t.disablePointerEvents,t[n.variant]]}})(({theme:e,ownerState:t})=>d({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${Es.positionStart}&:not(.${Es.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),ks=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiInputAdornment"}),{children:r,className:o,component:i="div",disablePointerEvents:a=!1,disableTypography:l=!1,position:s,variant:u}=n,c=p(n,ws),f=bl()||{};let h=u;u&&f.variant,f&&!h&&(h=f.variant);const m=d({},n,{hiddenLabel:f.hiddenLabel,size:f.size,disablePointerEvents:a,position:s,variant:h}),g=(e=>{const{classes:t,disablePointerEvents:n,hiddenLabel:r,position:o,size:i,variant:a}=e;return Vr({root:["root",n&&"disablePointerEvents",o&&`position${Dt(o)}`,a,r&&"hiddenLabel",i&&`size${Dt(i)}`]},xs,t)})(m);return xt.jsx(gl.Provider,{value:null,children:xt.jsx(Cs,d({as:i,ownerState:m,className:Kn(g.root,o),ref:t},c,{children:"string"!=typeof r||l?xt.jsxs(y.Fragment,{children:["start"===s?Ss||(Ss=xt.jsx("span",{className:"notranslate",children:"​"})):null,r]}):xt.jsx(ul,{color:"text.secondary",children:r})}))})}),Rs=y.createContext({});function _s(e){return Zn("MuiList",e)}Jn("MuiList",["root","padding","dense","subheader"]);const Ls=["children","className","component","dense","disablePadding","subheader"],Ts=$i("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})=>d({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),As=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiList"}),{children:r,className:o,component:i="ul",dense:a=!1,disablePadding:l=!1,subheader:s}=n,u=p(n,Ls),c=y.useMemo(()=>({dense:a}),[a]),f=d({},n,{component:i,dense:a,disablePadding:l}),h=(e=>{const{classes:t,disablePadding:n,dense:r,subheader:o}=e;return Vr({root:["root",!n&&"padding",r&&"dense",o&&"subheader"]},_s,t)})(f);return xt.jsx(Rs.Provider,{value:c,children:xt.jsxs(Ts,d({as:i,className:Kn(h.root,o),ref:t,ownerState:f},u,{children:[s,r]}))})});function Ps(e){return Zn("MuiListItem",e)}const Is=Jn("MuiListItem",["root","container","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","padding","button","secondaryAction","selected"]);function Os(e){return Zn("MuiListItemButton",e)}const Ms=Jn("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]),Ns=["alignItems","autoFocus","component","children","dense","disableGutters","divider","focusVisibleClassName","selected","className"],js=$i(rl,{shouldForwardProp:e=>zi(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})=>d({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})`:Eo.alpha(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}))`:Eo.alpha(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}))`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Eo.alpha(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})),zs=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiListItemButton"}),{alignItems:r="center",autoFocus:o=!1,component:i="div",children:a,dense:l=!1,disableGutters:s=!1,divider:u=!1,focusVisibleClassName:c,selected:f=!1,className:h}=n,m=p(n,Ns),g=y.useContext(Rs),b=y.useMemo(()=>({dense:l||g.dense||!1,alignItems:r,disableGutters:s}),[r,g.dense,l,s]),v=y.useRef(null);fr(()=>{o&&v.current&&v.current.focus()},[o]);const x=d({},n,{alignItems:r,dense:b.dense,disableGutters:s,divider:u,selected:f}),E=(e=>{const{alignItems:t,classes:n,dense:r,disabled:o,disableGutters:i,divider:a,selected:l}=e;return d({},n,Vr({root:["root",r&&"dense",!i&&"gutters",a&&"divider",o&&"disabled","flex-start"===t&&"alignItemsFlexStart",l&&"selected"]},Os,n))})(x),S=_r(v,t);return xt.jsx(Rs.Provider,{value:b,children:xt.jsx(js,d({ref:S,href:m.href||m.to,component:(m.href||m.to)&&"div"===i?"button":i,focusVisibleClassName:Kn(E.focusVisible,c),ownerState:x,className:Kn(E.root,h)},m,{classes:E,children:a}))})});function $s(e){return Zn("MuiListItemSecondaryAction",e)}Jn("MuiListItemSecondaryAction",["root","disableGutters"]);const Ds=["className"],Bs=$i("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.disableGutters&&t.disableGutters]}})(({ownerState:e})=>d({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"},e.disableGutters&&{right:0})),Fs=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiListItemSecondaryAction"}),{className:r}=n,o=p(n,Ds),i=d({},n,{disableGutters:y.useContext(Rs).disableGutters}),a=(e=>{const{disableGutters:t,classes:n}=e;return Vr({root:["root",t&&"disableGutters"]},$s,n)})(i);return xt.jsx(Bs,d({className:Kn(a.root,r),ownerState:i,ref:t},o))});Fs.muiName="ListItemSecondaryAction";const Us=["className"],Hs=["alignItems","autoFocus","button","children","className","component","components","componentsProps","ContainerComponent","ContainerProps","dense","disabled","disableGutters","disablePadding","divider","focusVisibleClassName","secondaryAction","selected","slotProps","slots"],Gs=$i("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})=>d({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left"},!t.disablePadding&&d({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}},{[`&.${Is.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Is.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Is.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Is.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"}},[`&.${Is.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}}},t.hasSecondaryAction&&{paddingRight:48})),Vs=$i("li",{name:"MuiListItem",slot:"Container",overridesResolver:(e,t)=>t.container})({position:"relative"}),Ws=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiListItem"}),{alignItems:r="center",autoFocus:o=!1,button:i=!1,children:a,className:l,component:s,components:u={},componentsProps:c={},ContainerComponent:f="li",ContainerProps:{className:h}={},dense:m=!1,disabled:g=!1,disableGutters:b=!1,disablePadding:v=!1,divider:x=!1,focusVisibleClassName:E,secondaryAction:S,selected:w=!1,slotProps:C={},slots:k={}}=n,R=p(n.ContainerProps,Us),_=p(n,Hs),L=y.useContext(Rs),T=y.useMemo(()=>({dense:m||L.dense||!1,alignItems:r,disableGutters:b}),[r,L.dense,m,b]),A=y.useRef(null);fr(()=>{o&&A.current&&A.current.focus()},[o]);const P=y.Children.toArray(a),I=P.length&&(O=P[P.length-1],M=["ListItemSecondaryAction"],y.isValidElement(O)&&-1!==M.indexOf(null!=(N=O.type.muiName)?N:null==(j=O.type)||null==(j=j._payload)||null==(j=j.value)?void 0:j.muiName));var O,M,N,j;const z=d({},n,{alignItems:r,autoFocus:o,button:i,dense:T.dense,disabled:g,disableGutters:b,disablePadding:v,divider:x,hasSecondaryAction:I,selected:w}),$=(e=>{const{alignItems:t,button:n,classes:r,dense:o,disabled:i,disableGutters:a,disablePadding:l,divider:s,hasSecondaryAction:u,selected:c}=e;return Vr({root:["root",o&&"dense",!a&&"gutters",!l&&"padding",s&&"divider",i&&"disabled",n&&"button","flex-start"===t&&"alignItemsFlexStart",u&&"secondaryAction",c&&"selected"],container:["container"]},Ps,r)})(z),D=_r(A,t),B=k.root||u.Root||Gs,F=C.root||c.root||{},U=d({className:Kn($.root,F.className,l),disabled:g},_);let H=s||"li";return i&&(U.component=s||"div",U.focusVisibleClassName=Kn(Is.focusVisible,E),H=rl),I?(H=U.component||s?H:"div","li"===f&&("li"===H?H="div":"li"===U.component&&(U.component="div")),xt.jsx(Rs.Provider,{value:T,children:xt.jsxs(Vs,d({as:f,className:Kn($.container,h),ref:D,ownerState:z},R,{children:[xt.jsx(B,d({},F,!Wr(B)&&{as:H,ownerState:d({},z,F.ownerState)},U,{children:P})),P.pop()]}))})):xt.jsx(Rs.Provider,{value:T,children:xt.jsxs(B,d({},F,{as:H,ref:D},!Wr(B)&&{ownerState:d({},z,F.ownerState)},U,{children:[P,S&&xt.jsx(Fs,{children:S})]}))})});function Ys(e){return Zn("MuiListItemIcon",e)}const qs=Jn("MuiListItemIcon",["root","alignItemsFlexStart"]),Ks=["className"],Xs=$i("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})=>d({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),Qs=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiListItemIcon"}),{className:r}=n,o=p(n,Ks),i=d({},n,{alignItems:y.useContext(Rs).alignItems}),a=(e=>{const{alignItems:t,classes:n}=e;return Vr({root:["root","flex-start"===t&&"alignItemsFlexStart"]},Ys,n)})(i);return xt.jsx(Xs,d({className:Kn(a.root,r),ownerState:i,ref:t},o))}),Zs=Jn("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),Js=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function eu(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function tu(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function nu(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 ru(e,t,n,r,o,i){let a=!1,l=o(e,t,!!t&&n);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const t=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&nu(l,i)&&!t)return l.focus(),!0;l=o(e,l,n)}return!1}const ou=y.forwardRef(function(e,t){const{actions:n,autoFocus:r=!1,autoFocusItem:o=!1,children:i,className:a,disabledItemsFocusable:l=!1,disableListWrap:s=!1,onKeyDown:u,variant:c="selectedMenu"}=e,f=p(e,Js),h=y.useRef(null),m=y.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});fr(()=>{r&&h.current.focus()},[r]),y.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const n=!h.current.style.width;if(e.clientHeight<h.current.clientHeight&&n){const n=`${Fr(xr(e))}px`;h.current.style["rtl"===t?"paddingLeft":"paddingRight"]=n,h.current.style.width=`calc(100% + ${n})`}return h.current}}),[]);const g=_r(h,t);let b=-1;y.Children.forEach(i,(e,t)=>{y.isValidElement(e)?(e.props.disabled||("selectedMenu"===c&&e.props.selected||-1===b)&&(b=t),b===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(b+=1,b>=i.length&&(b=-1))):b===t&&(b+=1,b>=i.length&&(b=-1))});const v=y.Children.map(i,(e,t)=>{if(t===b){const t={};return o&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===c&&(t.tabIndex=0),y.cloneElement(e,t)}return e});return xt.jsx(As,d({role:"menu",ref:g,className:a,onKeyDown:e=>{const t=h.current,n=e.key,r=xr(t).activeElement;if("ArrowDown"===n)e.preventDefault(),ru(t,r,s,l,eu);else if("ArrowUp"===n)e.preventDefault(),ru(t,r,s,l,tu);else if("Home"===n)e.preventDefault(),ru(t,null,s,l,eu);else if("End"===n)e.preventDefault(),ru(t,null,s,l,tu);else if(1===n.length){const o=m.current,i=n.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=r&&!o.repeating&&nu(r,o);o.previousKeyMatched&&(s||ru(t,r,!1,l,eu,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:r?0:-1},f,{children:v}))});function iu(e){return Zn("MuiPopover",e)}Jn("MuiPopover",["root","paper"]);const au=["onEntering"],lu=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],su=["slotProps"];function uu(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function cu(e,t){let n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function du(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function pu(e){return"function"==typeof e?e():e}const fu=$i(ss,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),hu=$i(Da,{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}),mu=y.forwardRef(function(e,t){var n,r,o;const i=Ji({props:e,name:"MuiPopover"}),{action:a,anchorEl:l,anchorOrigin:s={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:c="anchorEl",children:f,className:h,container:m,elevation:g=8,marginThreshold:b=16,open:v,PaperProps:x={},slots:E,slotProps:S,transformOrigin:w={vertical:"top",horizontal:"left"},TransitionComponent:C=ys,transitionDuration:k="auto",TransitionProps:{onEntering:R}={},disableScrollLock:_=!1}=i,L=p(i.TransitionProps,au),T=p(i,lu),A=null!=(n=null==S?void 0:S.paper)?n:x,P=y.useRef(),I=_r(P,A.ref),O=d({},i,{anchorOrigin:s,anchorReference:c,elevation:g,marginThreshold:b,externalPaperSlotProps:A,transformOrigin:w,TransitionComponent:C,transitionDuration:k,TransitionProps:L}),M=(e=>{const{classes:t}=e;return Vr({root:["root"],paper:["paper"]},iu,t)})(O),N=y.useCallback(()=>{if("anchorPosition"===c)return u;const e=pu(l),t=(e&&1===e.nodeType?e:xr(P.current).body).getBoundingClientRect();return{top:t.top+uu(t,s.vertical),left:t.left+cu(t,s.horizontal)}},[l,s.horizontal,s.vertical,u,c]),j=y.useCallback(e=>({vertical:uu(e,w.vertical),horizontal:cu(e,w.horizontal)}),[w.horizontal,w.vertical]),z=y.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},n=j(t);if("none"===c)return{top:null,left:null,transformOrigin:du(n)};const r=N();let o=r.top-n.vertical,i=r.left-n.horizontal;const a=o+t.height,s=i+t.width,u=Er(pu(l)),d=u.innerHeight-b,p=u.innerWidth-b;if(null!==b&&o<b){const e=o-b;o-=e,n.vertical+=e}else if(null!==b&&a>d){const e=a-d;o-=e,n.vertical+=e}if(null!==b&&i<b){const e=i-b;i-=e,n.horizontal+=e}else if(s>p){const e=s-p;i-=e,n.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:du(n)}},[l,c,N,j,b]),[$,D]=y.useState(v),B=y.useCallback(()=>{const e=P.current;if(!e)return;const t=z(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,D(!0)},[z]);y.useEffect(()=>(_&&window.addEventListener("scroll",B),()=>window.removeEventListener("scroll",B)),[l,_,B]);y.useEffect(()=>{v&&B()}),y.useImperativeHandle(a,()=>v?{updatePosition:()=>{B()}}:null,[v,B]),y.useEffect(()=>{if(!v)return;const e=yr(()=>{B()}),t=Er(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[l,v,B]);let F=k;"auto"!==k||C.muiSupportAuto||(F=void 0);const U=m||(l?xr(pu(l)).body:void 0),H=null!=(r=null==E?void 0:E.root)?r:fu,G=null!=(o=null==E?void 0:E.paper)?o:hu,V=Xr({elementType:G,externalSlotProps:d({},A,{style:$?A.style:d({},A.style,{opacity:0})}),additionalProps:{elevation:g,ref:I},ownerState:O,className:Kn(M.paper,null==A?void 0:A.className)}),W=Xr({elementType:H,externalSlotProps:(null==S?void 0:S.root)||{},externalForwardedProps:T,additionalProps:{ref:t,slotProps:{backdrop:{invisible:!0}},container:U,open:v},ownerState:O,className:Kn(M.root,h)}),{slotProps:Y}=W,q=p(W,su);return xt.jsx(H,d({},q,!Wr(H)&&{slotProps:Y,disableScrollLock:_},{children:xt.jsx(C,d({appear:!0,in:v,onEntering:(e,t)=>{R&&R(e,t),B()},onExited:()=>{D(!1)},timeout:F},L,{children:xt.jsx(G,d({},V,{children:f}))}))}))});function gu(e){return Zn("MuiMenu",e)}Jn("MuiMenu",["root","paper","list"]);const bu=["onEntering"],vu=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],yu={vertical:"top",horizontal:"right"},xu={vertical:"top",horizontal:"left"},Eu=$i(mu,{shouldForwardProp:e=>zi(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Su=$i(hu,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),wu=$i(ou,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),Cu=y.forwardRef(function(e,t){var n,r;const o=Ji({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:a,className:l,disableAutoFocusItem:s=!1,MenuListProps:u={},onClose:c,open:f,PaperProps:h={},PopoverClasses:m,transitionDuration:g="auto",TransitionProps:{onEntering:b}={},variant:v="selectedMenu",slots:x={},slotProps:E={}}=o,S=p(o.TransitionProps,bu),w=p(o,vu),C=io(),k=d({},o,{autoFocus:i,disableAutoFocusItem:s,MenuListProps:u,onEntering:b,PaperProps:h,transitionDuration:g,TransitionProps:S,variant:v}),R=(e=>{const{classes:t}=e;return Vr({root:["root"],paper:["paper"],list:["list"]},gu,t)})(k),_=i&&!s&&f,L=y.useRef(null);let T=-1;y.Children.map(a,(e,t)=>{y.isValidElement(e)&&(e.props.disabled||("selectedMenu"===v&&e.props.selected||-1===T)&&(T=t))});const A=null!=(n=x.paper)?n:Su,P=null!=(r=E.paper)?r:h,I=Xr({elementType:x.root,externalSlotProps:E.root,ownerState:k,className:[R.root,l]}),O=Xr({elementType:A,externalSlotProps:P,ownerState:k,className:R.paper});return xt.jsx(Eu,d({onClose:c,anchorOrigin:{vertical:"bottom",horizontal:C?"right":"left"},transformOrigin:C?yu:xu,slots:{paper:A,root:x.root},slotProps:{root:I,paper:O},open:f,ref:t,transitionDuration:g,TransitionProps:d({onEntering:(e,t)=>{L.current&&L.current.adjustStyleForScrollbar(e,{direction:C?"rtl":"ltr"}),b&&b(e,t)}},S),ownerState:k},w,{classes:m,children:xt.jsx(wu,d({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),c&&c(e,"tabKeyDown"))},actions:L,autoFocus:i&&(-1===T||s),autoFocusItem:_,variant:v},u,{className:Kn(R.list,u.className),children:a}))}))});function ku(e){return Zn("MuiMenuItem",e)}const Ru=Jn("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),_u=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Lu=$i(rl,{shouldForwardProp:e=>zi(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})=>d({},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"}},[`&.${Ru.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${Ru.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${Ru.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:Eo.alpha(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${Ru.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${Ru.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${cs.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${cs.inset}`]:{marginLeft:52},[`& .${Zs.root}`]:{marginTop:0,marginBottom:0},[`& .${Zs.inset}`]:{paddingLeft:36},[`& .${qs.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&d({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${qs.root} svg`]:{fontSize:"1.25rem"}}))),Tu=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiMenuItem"}),{autoFocus:r=!1,component:o="li",dense:i=!1,divider:a=!1,disableGutters:l=!1,focusVisibleClassName:s,role:u="menuitem",tabIndex:c,className:f}=n,h=p(n,_u),m=y.useContext(Rs),g=y.useMemo(()=>({dense:i||m.dense||!1,disableGutters:l}),[m.dense,i,l]),b=y.useRef(null);fr(()=>{r&&b.current&&b.current.focus()},[r]);const v=d({},n,{dense:g.dense,divider:a,disableGutters:l}),x=(e=>{const{disabled:t,dense:n,divider:r,disableGutters:o,selected:i,classes:a}=e;return d({},a,Vr({root:["root",n&&"dense",t&&"disabled",!o&&"gutters",r&&"divider",i&&"selected"]},ku,a))})(n),E=_r(b,t);let S;return n.disabled||(S=void 0!==c?c:-1),xt.jsx(Rs.Provider,{value:g,children:xt.jsx(Lu,d({ref:E,role:u,tabIndex:S,component:o,focusVisibleClassName:Kn(x.focusVisible,s),className:Kn(x.root,f)},h,{ownerState:v,classes:x}))})});function Au(e){return Zn("MuiTab",e)}const Pu=Jn("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),Iu=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Ou=$i(rl,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.label&&n.icon&&t.labelIcon,t[`textColor${Dt(n.textColor)}`],n.fullWidth&&t.fullWidth,n.wrapped&&t.wrapped,{[`& .${Pu.iconWrapper}`]:t.iconWrapper}]}})(({theme:e,ownerState:t})=>d({},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,[`& > .${Pu.iconWrapper}`]:d({},"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,[`&.${Pu.selected}`]:{opacity:1},[`&.${Pu.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${Pu.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Pu.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${Pu.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Pu.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)})),Mu=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiTab"}),{className:r,disabled:o=!1,disableFocusRipple:i=!1,fullWidth:a,icon:l,iconPosition:s="top",indicator:u,label:c,onChange:f,onClick:h,onFocus:m,selected:g,selectionFollowsFocus:b,textColor:v="inherit",value:x,wrapped:E=!1}=n,S=p(n,Iu),w=d({},n,{disabled:o,disableFocusRipple:i,selected:g,icon:!!l,iconPosition:s,label:!!c,fullWidth:a,textColor:v,wrapped:E}),C=(e=>{const{classes:t,textColor:n,fullWidth:r,wrapped:o,icon:i,label:a,selected:l,disabled:s}=e;return Vr({root:["root",i&&a&&"labelIcon",`textColor${Dt(n)}`,r&&"fullWidth",o&&"wrapped",l&&"selected",s&&"disabled"],iconWrapper:["iconWrapper"]},Au,t)})(w),k=l&&c&&y.isValidElement(l)?y.cloneElement(l,{className:Kn(C.iconWrapper,l.props.className)}):l;return xt.jsxs(Ou,d({focusRipple:!i,className:Kn(C.root,r),ref:t,role:"tab","aria-selected":g,disabled:o,onClick:e=>{!g&&f&&f(e,x),h&&h(e)},onFocus:e=>{b&&!g&&f&&f(e,x),m&&m(e)},ownerState:w,tabIndex:g?0:-1},S,{children:["top"===s||"start"===s?xt.jsxs(y.Fragment,{children:[k,c]}):xt.jsxs(y.Fragment,{children:[c,k]}),u]}))});var Nu=oa(xt.jsx("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),ju=oa(xt.jsx("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function zu(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const $u=["onChange"],Du={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Bu(e){return Zn("MuiTabScrollButton",e)}const Fu=Jn("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),Uu=["className","slots","slotProps","direction","orientation","disabled"],Hu=$i(rl,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.orientation&&t[n.orientation]]}})(({ownerState:e})=>d({width:40,flexShrink:0,opacity:.8,[`&.${Fu.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),Gu=y.forwardRef(function(e,t){var n,r;const o=Ji({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:l={},direction:s}=o,u=p(o,Uu),c=d({isRtl:io()},o),f=(e=>{const{classes:t,orientation:n,disabled:r}=e;return Vr({root:["root",n,r&&"disabled"]},Bu,t)})(c),h=null!=(n=a.StartScrollButtonIcon)?n:Nu,m=null!=(r=a.EndScrollButtonIcon)?r:ju,g=Xr({elementType:h,externalSlotProps:l.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:c}),b=Xr({elementType:m,externalSlotProps:l.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:c});return xt.jsx(Hu,d({component:"div",className:Kn(f.root,i),ref:t,role:null,ownerState:c,tabIndex:null},u,{children:"left"===s?xt.jsx(h,d({},g)):xt.jsx(m,d({},b))}))});function Vu(e){return Zn("MuiTabs",e)}const Wu=Jn("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),Yu=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],qu=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,Ku=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,Xu=(e,t,n)=>{let r=!1,o=n(e,t);for(;o;){if(o===e.firstChild){if(r)return;r=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=n(e,o)}},Qu=$i("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[{[`& .${Wu.scrollButtons}`]:t.scrollButtons},{[`& .${Wu.scrollButtons}`]:n.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,n.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>d({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${Wu.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),Zu=$i("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})=>d({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"})),Ju=$i("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})=>d({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),ec=$i("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>d({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})),tc=$i(function(e){const{onChange:t}=e,n=p(e,$u),r=y.useRef(),o=y.useRef(null),i=()=>{r.current=o.current.offsetHeight-o.current.clientHeight};return fr(()=>{const e=yr(()=>{const e=r.current;i(),e!==r.current&&t(r.current)}),n=Er(o.current);return n.addEventListener("resize",e),()=>{e.clear(),n.removeEventListener("resize",e)}},[t]),y.useEffect(()=>{i(),t(r.current)},[t]),xt.jsx("div",d({style:Du},n,{ref:o}))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),nc={},rc=y.forwardRef(function(e,t){const n=Ji({props:e,name:"MuiTabs"}),r=wi(),o=io(),{"aria-label":i,"aria-labelledby":a,action:l,centered:s=!1,children:u,className:c,component:f="div",allowScrollButtonsMobile:h=!1,indicatorColor:m="primary",onChange:g,orientation:b="horizontal",ScrollButtonComponent:v=Gu,scrollButtons:x="auto",selectionFollowsFocus:E,slots:S={},slotProps:w={},TabIndicatorProps:C={},TabScrollButtonProps:k={},textColor:R="primary",value:_,variant:L="standard",visibleScrollbar:T=!1}=n,A=p(n,Yu),P="scrollable"===L,I="vertical"===b,O=I?"scrollTop":"scrollLeft",M=I?"top":"left",N=I?"bottom":"right",j=I?"clientHeight":"clientWidth",z=I?"height":"width",$=d({},n,{component:f,allowScrollButtonsMobile:h,indicatorColor:m,orientation:b,vertical:I,scrollButtons:x,textColor:R,variant:L,visibleScrollbar:T,fixed:!P,hideScrollbar:P&&!T,scrollableX:P&&!I,scrollableY:P&&I,centered:s&&!P,scrollButtonsHideMobile:!h}),D=(e=>{const{vertical:t,fixed:n,hideScrollbar:r,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:l,classes:s}=e;return Vr({root:["root",t&&"vertical"],scroller:["scroller",n&&"fixed",r&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",l&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[r&&"hideScrollbar"]},Vu,s)})($),B=Xr({elementType:S.StartScrollButtonIcon,externalSlotProps:w.startScrollButtonIcon,ownerState:$}),F=Xr({elementType:S.EndScrollButtonIcon,externalSlotProps:w.endScrollButtonIcon,ownerState:$}),[U,H]=y.useState(!1),[G,V]=y.useState(nc),[W,Y]=y.useState(!1),[q,K]=y.useState(!1),[X,Q]=y.useState(!1),[Z,J]=y.useState({overflow:"hidden",scrollbarWidth:0}),ee=new Map,te=y.useRef(null),ne=y.useRef(null),re=()=>{const e=te.current;let t,n;if(e){const n=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:Gr(e,o?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:n.top,bottom:n.bottom,left:n.left,right:n.right}}if(e&&!1!==_){const e=ne.current.children;if(e.length>0){const t=e[ee.get(_)];n=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:n}},oe=Rr(()=>{const{tabsMeta:e,tabMeta:t}=re();let n,r=0;if(I)n="top",t&&e&&(r=t.top-e.top+e.scrollTop);else if(n=o?"right":"left",t&&e){const i=o?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;r=(o?-1:1)*(t[n]-e[n]+i)}const i={[n]:r,[z]:t?t[z]:0};if(isNaN(G[n])||isNaN(G[z]))V(i);else{const e=Math.abs(G[n]-i[n]),t=Math.abs(G[z]-i[z]);(e>=1||t>=1)&&V(i)}}),ie=(e,{animation:t=!0}={})=>{t?function(e,t,n,r={},o=()=>{}){const{ease:i=zu,duration:a=300}=r;let l=null;const s=t[e];let u=!1;const c=()=>{u=!0},d=r=>{if(u)return void o(new Error("Animation cancelled"));null===l&&(l=r);const c=Math.min(1,(r-l)/a);t[e]=i(c)*(n-s)+s,c>=1?requestAnimationFrame(()=>{o(null)}):requestAnimationFrame(d)};s===n?o(new Error("Element already at target position")):requestAnimationFrame(d)}(O,te.current,e,{duration:r.transitions.duration.standard}):te.current[O]=e},ae=e=>{let t=te.current[O];I?t+=e:(t+=e*(o?-1:1),t*=o&&"reverse"===Hr()?-1:1),ie(t)},le=()=>{const e=te.current[j];let t=0;const n=Array.from(ne.current.children);for(let r=0;r<n.length;r+=1){const o=n[r];if(t+o[j]>e){0===r&&(t=e);break}t+=o[j]}return t},se=()=>{ae(-1*le())},ue=()=>{ae(le())},ce=y.useCallback(e=>{J({overflow:null,scrollbarWidth:e})},[]),de=Rr(e=>{const{tabsMeta:t,tabMeta:n}=re();if(n&&t)if(n[M]<t[M]){const r=t[O]+(n[M]-t[M]);ie(r,{animation:e})}else if(n[N]>t[N]){const r=t[O]+(n[N]-t[N]);ie(r,{animation:e})}}),pe=Rr(()=>{P&&!1!==x&&Q(!X)});y.useEffect(()=>{const e=yr(()=>{te.current&&oe()});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()},r=Er(te.current);let o;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(ne.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(o=new MutationObserver(n),o.observe(ne.current,{childList:!0})),()=>{var n,i;e.clear(),r.removeEventListener("resize",e),null==(n=o)||n.disconnect(),null==(i=t)||i.disconnect()}},[oe,pe]),y.useEffect(()=>{const e=Array.from(ne.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&P&&!1!==x){const n=e[0],r=e[t-1],o={root:te.current,threshold:.99},i=new IntersectionObserver(e=>{Y(!e[0].isIntersecting)},o);i.observe(n);const a=new IntersectionObserver(e=>{K(!e[0].isIntersecting)},o);return a.observe(r),()=>{i.disconnect(),a.disconnect()}}},[P,x,X,null==u?void 0:u.length]),y.useEffect(()=>{H(!0)},[]),y.useEffect(()=>{oe()}),y.useEffect(()=>{de(nc!==G)},[de,G]),y.useImperativeHandle(l,()=>({updateIndicator:oe,updateScrollButtons:pe}),[oe,pe]);const fe=xt.jsx(ec,d({},C,{className:Kn(D.indicator,C.className),ownerState:$,style:d({},G,C.style)}));let he=0;const me=y.Children.map(u,e=>{if(!y.isValidElement(e))return null;const t=void 0===e.props.value?he:e.props.value;ee.set(t,he);const n=t===_;return he+=1,y.cloneElement(e,d({fullWidth:"fullWidth"===L,indicator:n&&!U&&fe,selected:n,selectionFollowsFocus:E,onChange:g,textColor:R,value:t},1!==he||!1!==_||e.props.tabIndex?{}:{tabIndex:0}))}),ge=(()=>{const e={};e.scrollbarSizeListener=P?xt.jsx(tc,{onChange:ce,className:Kn(D.scrollableX,D.hideScrollbar)}):null;const t=P&&("auto"===x&&(W||q)||!0===x);return e.scrollButtonStart=t?xt.jsx(v,d({slots:{StartScrollButtonIcon:S.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:B},orientation:b,direction:o?"right":"left",onClick:se,disabled:!W},k,{className:Kn(D.scrollButtons,k.className)})):null,e.scrollButtonEnd=t?xt.jsx(v,d({slots:{EndScrollButtonIcon:S.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:F},orientation:b,direction:o?"left":"right",onClick:ue,disabled:!q},k,{className:Kn(D.scrollButtons,k.className)})):null,e})();return xt.jsxs(Qu,d({className:Kn(D.root,c),ownerState:$,ref:t,as:f},A,{children:[ge.scrollButtonStart,ge.scrollbarSizeListener,xt.jsxs(Zu,{className:D.scroller,ownerState:$,style:{overflow:Z.overflow,[I?"margin"+(o?"Left":"Right"):"marginBottom"]:T?void 0:-Z.scrollbarWidth},ref:te,children:[xt.jsx(Ju,{"aria-label":i,"aria-labelledby":a,"aria-orientation":"vertical"===b?"vertical":null,className:D.flexContainer,ownerState:$,onKeyDown:e=>{const t=ne.current,n=xr(t).activeElement;if("tab"!==n.getAttribute("role"))return;let r="horizontal"===b?"ArrowLeft":"ArrowUp",i="horizontal"===b?"ArrowRight":"ArrowDown";switch("horizontal"===b&&o&&(r="ArrowRight",i="ArrowLeft"),e.key){case r:e.preventDefault(),Xu(t,n,Ku);break;case i:e.preventDefault(),Xu(t,n,qu);break;case"Home":e.preventDefault(),Xu(t,null,qu);break;case"End":e.preventDefault(),Xu(t,null,Ku)}},ref:ne,role:"tablist",children:me}),U&&fe]}),ge.scrollButtonEnd]}))});function oc(e){return xt.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:xt.jsx("path",{d:"m8 9 4.5-4.5L14 6l-4.5 4.5L8 12 2 6l1.5-1.5L8 9Z"})})}function ic({fontSize:e="medium",children:t=null,className:n=""}={}){return xt.jsx("i",{style:{fontSize:"small"===e?"16px":"20px",margin:"small"===e?"-2px 0":void 0,display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},className:n,children:t})}function ac(e={}){return xt.jsx(ic,{...e,children:xt.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",children:[xt.jsx("rect",{width:"20",height:"20",fill:"currentColor",rx:"3"}),xt.jsx("path",{fill:"#FFFFFF",fillRule:"evenodd",d:"m12.627 6.617-4.206 4.205-1.037-1.035a1.25 1.25 0 1 0-1.768 1.767l1.92 1.919a1.25 1.25 0 0 0 1.769 0l5.09-5.089a1.25 1.25 0 1 0-1.768-1.768Z",clipRule:"evenodd"})]})})}function lc(e={}){return xt.jsx(ic,{fontSize:"medium",...e,children:xt.jsxs("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[xt.jsx("rect",{stroke:"none",width:"16",height:"16",rx:"8",fill:"currentColor"}),xt.jsx("path",{d:"M11 8C11 9.65685 9.65685 11 8 11C6.34315 11 5 9.65685 5 8C5 6.34315 6.34315 5 8 5C9.65685 5 11 6.34315 11 8Z",stroke:"none",fill:"white"})]})})}function sc(e){return xt.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",...e,children:xt.jsx("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.345L9.345 8Z"})})}function uc(e={}){return xt.jsx(ic,{...e,children:xt.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xt.jsxs("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:[xt.jsx("rect",{fill:"currentColor",x:"0",y:"0",width:"16",height:"16",rx:"3"}),xt.jsx("rect",{fill:"#FFFFFF",x:"4",y:"7",width:"8",height:"2",rx:"1"})]})})})}function cc(e={}){return xt.jsx(ic,{fontSize:"medium",...e,children:xt.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xt.jsx("g",{strokeWidth:"1",fillRule:"evenodd",fillOpacity:"0.603119339",strokeOpacity:"0.146654212",children:xt.jsx("rect",{stroke:"currentStroke",fill:"currentFill",x:"0.5",y:"0.5",width:"15",height:"15",rx:"7.5"})})})})}function dc({className:e}){return xt.jsx(ic,{fontSize:"small",className:e,children:xt.jsx("svg",{width:"8px",height:"14px",viewBox:"0 0 8 14",version:"1.1","aria-labelledby":"SortIcon",children:xt.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:xt.jsx("g",{transform:"translate(-4.000000, -1.000000)",fill:"#404040",fillRule:"nonzero",children:xt.jsxs("g",{transform:"translate(4.324187, 1.300372)",children:[xt.jsx("path",{d:"M4.06624695,13.2115849 L7.28588573,9.1870364 C7.3893886,9.05765782 7.36841219,8.8688701 7.23903361,8.76536724 C7.18583969,8.72281211 7.11974654,8.69962788 7.05162509,8.69962788 L0.3,8.69962788 C0.134314575,8.69962788 -1.25807407e-14,8.83394246 -1.26010313e-14,8.99962788 C-1.26093738e-14,9.06774933 0.0231842256,9.13384248 0.0657393572,9.1870364 L3.28537814,13.2115849 C3.45788292,13.4272158 3.7725291,13.4621765 3.98816007,13.2896718 C4.01699242,13.2666059 4.04318107,13.2404172 4.06624695,13.2115849 Z",opacity:"0.300390625"}),xt.jsx("path",{d:"M4.06624695,0.187670888 L7.28588573,4.21221937 C7.3893886,4.34159795 7.36841219,4.53038566 7.23903361,4.63388852 C7.18583969,4.67644366 7.11974654,4.69962788 7.05162509,4.69962788 L0.3,4.69962788 C0.134314575,4.69962788 2.1918781e-12,4.56531331 2.19185781e-12,4.39962788 C2.19184946e-12,4.33150643 0.0231842256,4.26541328 0.0657393572,4.21221937 L3.28537814,0.187670888 C3.45788292,-0.0279600799 3.7725291,-0.0629207673 3.98816007,0.109584007 C4.01699242,0.132649888 4.04318107,0.158838536 4.06624695,0.187670888 Z"})]})})})})})}function pc(e={}){return xt.jsx(ic,{...e,children:xt.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:xt.jsx("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd",children:xt.jsx("rect",{stroke:Ui.GREYSCALE_0_42,fill:"currentColor",x:"0.5",y:"0.5",width:"15",height:"15",rx:"3"})})})})}var fc=e=>({MuiAccordion:{styleOverrides:{root:{backgroundColor:Ui.GREYSCALE_98,"&:before":{backgroundColor:"unset"},"&.Mui-expanded":{margin:"0px"}}}},MuiAccordionDetails:{styleOverrides:{root:{backgroundColor:Ui.WHITE}}},MuiAccordionSummary:{defaultProps:{expandIcon:xt.jsx(oc,{"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 ${Ui.GREYSCALE_0_15}`,"&.Mui-focusVisible":{borderColor:Ui.MISC_FOCUS_BORDER,boxShadow:`inset 0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`,borderRadius:Yi,backgroundColor:Ui.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 ${Ui.GREYSCALE_0_15}`},colorPrimary:{backgroundColor:Ui.WHITE,color:Ui.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:Yi},text:{padding:"8px 16px","&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`}},outlined:{padding:"7px 16px",borderColor:Ui.GREYSCALE_0_15,backgroundColor:Ui.GREYSCALE_100_60,"&.Mui-focusVisible":{borderColor:Ui.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Ui.MISC_FOCUS_BORDER}`}},contained:{padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"}},groupedContainedPrimary:{"&:hover":{backgroundColor:Ui.GREEN_PALE},"&:active":{backgroundColor:Ui.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Ui.GREEN_PALE,boxShadow:`0 0 0 3px ${br(Ui.GREEN_PALE,.5)}`}},groupedContainedSecondary:{"&:hover":{backgroundColor:Ui.BLUE_PALE},"&:active":{backgroundColor:Ui.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Ui.BLUE_PALE,boxShadow:`0 0 0 3px ${br(Ui.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:Yi,"& > i:only-child, & > svg:only-child":{marginLeft:"-9px",marginRight:"-9px"}},text:{padding:"8px 16px","&:active":{backgroundColor:Ui.GREYSCALE_0_10},"&.Mui-focusVisible":{boxShadow:`0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`}},outlined:({ownerState:e})=>({padding:"7px 16px",borderColor:Ui.GREYSCALE_0_42,backgroundColor:Ui.GREYSCALE_100_60,"&:active":{backgroundColor:Ui.GREYSCALE_0_10},"&.Mui-focusVisible":{borderColor:Ui.MISC_FOCUS_BORDER,boxShadow:`0 0 0 1px ${Ui.MISC_FOCUS_BORDER}`},..."amethyst"===e.color&&{borderColor:Ui.PURPLE,"&.Mui-focusVisible":{borderColor:Ui.PURPLE,boxShadow:`0 0 0 3px ${br(Ui.PURPLE_PALE,.5)}`}}}),outlinedPrimary:{borderColor:Ui.GREEN,"&.Mui-focusVisible":{borderColor:Ui.GREEN,boxShadow:`0 0 0 3px ${br(Ui.GREEN_PALE,.5)}`}},outlinedSecondary:{borderColor:Ui.BLUE,"&.Mui-focusVisible":{borderColor:Ui.BLUE,boxShadow:`0 0 0 3px ${br(Ui.BLUE_PALE,.5)}`}},outlinedWarning:{borderColor:Ui.ORANGE,"&.Mui-focusVisible":{borderColor:Ui.ORANGE,boxShadow:`0 0 0 3px ${br(Ui.ORANGE_PALE,.5)}`}},outlinedError:{borderColor:Ui.RED,"&.Mui-focusVisible":{borderColor:Ui.RED,boxShadow:`0 0 0 3px ${br(Ui.RED_PALE,.5)}`}},contained:({ownerState:e})=>({color:Ui.WHITE,padding:"8px 16px",boxShadow:"none","&:hover":{boxShadow:"none"},"&:active":{boxShadow:"none"},..."amethyst"===e.color&&{"&:hover":{backgroundColor:Ui.PURPLE_PALE},"&:active":{backgroundColor:Ui.PURPLE_DARK},"&.Mui-focusVisible":{borderColor:Ui.PURPLE_PALE,boxShadow:`0 0 0 3px ${br(Ui.PURPLE_PALE,.5)}`}}}),containedPrimary:{"&:hover":{backgroundColor:Ui.GREEN_PALE},"&:active":{backgroundColor:Ui.GREEN_DARK},"&.Mui-focusVisible":{borderColor:Ui.GREEN_PALE,boxShadow:`0 0 0 3px ${br(Ui.GREEN_PALE,.5)}`}},containedSecondary:{"&:hover":{backgroundColor:Ui.BLUE_PALE},"&:active":{backgroundColor:Ui.BLUE_DARK},"&.Mui-focusVisible":{borderColor:Ui.BLUE_PALE,boxShadow:`0 0 0 3px ${br(Ui.BLUE_PALE,.5)}`}},containedWarning:{"&:hover":{backgroundColor:Ui.ORANGE_PALE},"&:active":{backgroundColor:Ui.ORANGE_DARK},"&.Mui-focusVisible":{borderColor:Ui.ORANGE_PALE,boxShadow:`0 0 0 3px ${br(Ui.ORANGE_PALE,.5)}`}},containedError:{"&:hover":{backgroundColor:Ui.RED_PALE},"&:active":{backgroundColor:Ui.RED_DARK},"&.Mui-focusVisible":{borderColor:Ui.RED_PALE,boxShadow:`0 0 0 3px ${br(Ui.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:Ui.GREYSCALE_0_03,"&.MuiCardActionArea-focusHighlight":{opacity:0}},"&:active":{backgroundColor:Ui.GREYSCALE_95,boxShadow:"none"},"&.Mui-focusVisible":{borderRadius:Yi,boxShadow:`inset 0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`,"&.MuiCardActionArea-focusHighlight":{opacity:0}}}}},MuiChip:{defaultProps:{deleteIcon:xt.jsx(sc,{"aria-hidden":"true",viewBox:"0 0 16 16",width:12,height:12}),variant:"outlined"},styleOverrides:{root:{height:"24px",fontSize:Hi,borderRadius:Yi,color:Ui.TEXT_PRIMARY,backgroundColor:Ui.GREYSCALE_100_15,"&.sprout-focus-visible":{borderColor:Ui.MISC_FOCUS_BORDER,boxShadow:`0px 0px 0px 1px ${Ui.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{backgroundColor:Ui.GREYSCALE_0_03},"&.Mui-disabled":{backgroundColor:Ui.GREYSCALE_0_05,color:Ui.GREYSCALE_0_30,border:"none",opacity:1},"&.MuiChip-outlinedSuccess":{color:Ui.GREEN,borderColor:Ui.GREEN},"&.MuiChip-outlinedInfo":{color:Ui.BLUE,borderColor:Ui.BLUE},"&.MuiChip-outlinedWarning":{color:Ui.ORANGE,borderColor:Ui.ORANGE},"&.MuiChip-outlinedError":{color:Ui.RED,borderColor:Ui.RED}},outlined:{border:`solid 1px ${Ui.GREYSCALE_0_15}`,backgroundColor:Ui.GREYSCALE_100_15,".MuiChip-clickable&:active ":{boxSizing:"border-box",borderRadius:Yi,boxShadow:"none",backgroundColor:Ui.GREYSCALE_0_10},"&.MuiChip-deleteIconSmall":{height:13,color:"inherit"}},outlinedPrimary:{color:Ui.GREEN,borderColor:Ui.GREEN},outlinedSecondary:{color:Ui.BLUE,borderColor:Ui.BLUE},label:{fontFamily:Zi.FONT_FAMILY,lineHeight:"16px"}}},MuiAutocomplete:{defaultProps:{clearIcon:xt.jsx(sc,{"aria-hidden":"true",viewBox:"0 0 16 16",height:12,width:12}),popupIcon:xt.jsx(oc,{"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:Yi},listbox:{padding:"0","& .MuiAutocomplete-option":{height:"32px",minHeight:"32px"}},option:{borderRadius:Yi,fontSize:Gi,height:"32px",padding:"6px 16px",minHeight:"32px","&.MuiAutocomplete-option.Mui-focused":{backgroundColor:Ui.GREYSCALE_0_03,"&.Mui-focusVisible":{border:`solid 2px ${Ui.MISC_FOCUS_BORDER}`,padding:"4px 14px"}},'&.MuiAutocomplete-option[aria-selected="true"]':{backgroundColor:Ui.GREYSCALE_0_05,"&.Mui-focused":{backgroundColor:Ui.GREYSCALE_0_05},"&.Mui-focusVisible":{backgroundColor:Ui.GREYSCALE_0_05}}},popupIndicator:{borderRadius:Yi,border:`solid 1px ${Ui.GREYSCALE_0_15}`,color:Ui.GREYSCALE_0_60,marginRight:0,width:Wi,height:Wi},paper:{marginTop:"4px",boxShadow:`0px 2px 4px 0px ${Ui.GREYSCALE_0_15}`},clearIndicator:{borderRadius:Yi,marginRight:"4px"},popupIndicatorOpen:{backgroundColor:Ui.GREYSCALE_0_10}}},MuiFormControlLabel:{styleOverrides:{root:{marginLeft:"-10px"},label:{fontSize:Gi}}},MuiFormHelperText:{styleOverrides:{root:{fontSize:Hi,lineHeight:"16px",margin:"4px 0 0 0","&.Mui-error":{color:Ui.RED}},contained:{marginLeft:0,marginRight:0}}},MuiFormLabel:{styleOverrides:{root:{color:Ui.GREYSCALE_25,fontSize:Hi,fontFamily:Zi.FONT_FAMILY,fontWeight:Xi,fontStretch:"normal",fontStyle:"normal",letterSpacing:"normal",lineHeight:1,"&.Mui-focused":{color:Ui.TEXT_PRIMARY},"&.Mui-error":{color:Ui.TEXT_SECONDARY},"&[optional=true]":{"&:after":{color:Ui.TEXT_SECONDARY,content:"'(optional)'",fontWeight:Ki,marginLeft:"4px"}}},asterisk:{visibility:"collapse",display:"inline-flex","&::after":{visibility:"visible",color:Ui.TEXT_SECONDARY,content:"'(required)'",fontWeight:Ki,marginLeft:"4px"}}}},MuiOutlinedInput:{defaultProps:{notched:!1},styleOverrides:{root:{fontSize:Gi,lineHeight:"16px",backgroundColor:Ui.WHITE,borderRadius:Yi,"&:not(.Mui-focused):not(.Mui-error):not(.Mui-disabled):hover .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ui.GREYSCALE_0_05}`,borderColor:Ui.GREYSCALE_0_30},"&.Mui-focused:not(.Mui-error) .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ui.MISC_FOCUS_BORDER}`,boxShadow:`0px 0px 0px 1px ${Ui.MISC_FOCUS_BORDER}, inset 0 2px 0 0 ${Ui.GREYSCALE_0_05}`},"&.Mui-focused.Mui-error .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ui.RED}`,boxShadow:`0px 0px 0px 1px ${Ui.RED}, inset 0 2px 0 0 ${Ui.GREYSCALE_0_05}`},"&.Mui-disabled":{backgroundColor:"transparent"},"&.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:`solid 1px ${Ui.GREYSCALE_0_10}`,borderColor:Ui.GREYSCALE_0_10,backgroundColor:Ui.GREYSCALE_0_05}},adornedStart:{paddingLeft:0},adornedEnd:{paddingRight:0},input:{color:Ui.TEXT_PRIMARY,padding:"6px 12px","&.Mui-disabled":{opacity:.45}},inputSizeSmall:{padding:"0px 12px"},notchedOutline:{borderColor:Ui.GREYSCALE_0_15,borderRadius:Yi,boxShadow:`inset 0 2px 0 0 ${Ui.GREYSCALE_0_05}`},multiline:{padding:"0"}}},MuiSelect:{defaultProps:{IconComponent:e=>xt.jsx(oc,{...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:Ui.TEXT_SECONDARY},"& ~svg":{position:"absolute",right:"12px",top:"unset",cursor:"pointer"},"&[aria-expanded=true]":{backgroundColor:Ui.GREYSCALE_0_05},"& ~fieldset":{boxShadow:"none !important",border:"none !important",backgroundColor:"unset !important"},"&:hover":{backgroundColor:Ui.GREYSCALE_0_03},"&:active":{backgroundColor:Ui.GREYSCALE_0_10},"&:focus":{backgroundColor:Ui.GREYSCALE_0_03,borderRadius:"3px !important",border:`solid 1px ${Ui.MISC_FOCUS_BORDER}`,boxShadow:`inset 0px 0px 0px 1px ${Ui.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{opacity:"unset",color:Ui.GREYSCALE_0_30,"&:hover":{backgroundColor:Ui.GREYSCALE_0_0,borderColor:Ui.GREYSCALE_0_15},"& ~svg":{color:Ui.GREYSCALE_0_30}}},outlined:{border:`solid 1px ${Ui.GREYSCALE_0_15}`},nativeInput:{height:"42px"}}},MuiIconButton:{styleOverrides:{root:{borderRadius:Yi}}},MuiInput:{styleOverrides:{root:{"&.Mui-focused":{borderColor:Ui.MISC_FOCUS_BORDER,boxShadow:`0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`}}}},MuiInputAdornment:{styleOverrides:{root:{padding:"4px 8px",color:Ui.GREYSCALE_55},positionStart:{marginRight:0},positionEnd:{marginLeft:0}}},MuiInputBase:{styleOverrides:{root:{fieldset:{boxShadow:"none"}},input:{height:"20px",fontSize:Gi,padding:"8px 12px",lineHeight:"16px","&.MuiInputBase-inputAdornedStart":{paddingLeft:0},"&.MuiInputBase-inputAdornedEnd":{paddingRight:0}},sizeSmall:{height:"24px",input:{fontSize:Hi,paddingLeft:"8px"}}}},MuiInputLabel:{defaultProps:{shrink:!0},styleOverrides:{outlined:{fontSize:Hi,fontWeight:Xi,color:Ui.GREYSCALE_25,"&.MuiInputLabel-shrink":{transform:"translate(0px, -16px)",fontWeight:Xi}}}},MuiPopover:{styleOverrides:{paper:{minWidth:"160px",top:"60px",marginTop:"5px","&ul":{padding:"0px"},boxShadow:`0px 4px 10px ${Ui.GREYSCALE_0_15}, 0px 0px 0px 1px ${Ui.GREYSCALE_0_05}`}}},MuiRadio:{defaultProps:{size:"small",icon:xt.jsx(cc,{}),checkedIcon:xt.jsx(lc,{})},styleOverrides:{root:{"&:hover":{backgroundColor:"unset"},fill:Ui.GREYSCALE_100_60,stroke:"black","&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:"50%",boxShadow:`0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`},"&.Mui-checked":{"&.MuiRadio-colorPrimary":{"&.sprout-focus-visible i":{borderColor:Ui.GREEN_PALE,boxShadow:`0 0 0 3px ${br(Ui.GREEN_PALE,.5)}`}},"&.MuiRadio-colorSecondary":{"&.sprout-focus-visible i":{borderColor:Ui.BLUE_PALE,boxShadow:`0 0 0 3px ${br(Ui.BLUE_PALE,.5)}`}},"&.Mui-disabled":{color:Ui.GREYSCALE_0_20}},"&.Mui-disabled":{fill:Ui.GREYSCALE_0_20,stroke:"none"}}}},MuiCheckbox:{defaultProps:{size:"small",icon:xt.jsx(pc,{}),checkedIcon:xt.jsx(ac,{}),indeterminateIcon:xt.jsx(uc,{})},styleOverrides:{root:{borderWidth:1,"&:hover":{backgroundColor:"unset"},"&.sprout-focus-visible":{borderColor:"transparent",boxShadow:"none"},"&.sprout-focus-visible i":{borderRadius:Yi,boxShadow:" 0px 0px 0px 2px #FFFFFF, 0px 0px 0px 4px #177FE6"},"&:not(.Mui-disabled)":{"&:not(.Mui-checked)":{"&:not(.MuiCheckbox-indeterminate)":{color:Ui.GREYSCALE_100_60,"&:hover":{g:{rect:{stroke:Ui.GREYSCALE_0_55,color:Ui.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:Ui.GREYSCALE_0_15,g:{rect:{stroke:"none"}}}}},colorPrimary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{"&:hover":{color:Ui.GREEN_DARK}}}},colorSecondary:{"&.MuiCheckbox-root":{"&:not(.Mui-disabled)":{color:Ui.GREYSCALE_0_55,"&:hover":{color:Ui.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:Ui.MISC_FOCUS_BORDER}},MuiListItemIcon:{styleOverrides:{root:{color:Ui.GREYSCALE_25,minWidth:"16px",marginRight:"16px"}}},MuiListItemText:{styleOverrides:{root:{fontSize:"12px"},primary:{fontSize:Gi,color:Ui.TEXT_PRIMARY,lineHeight:"16px",fontWeight:Xi},secondary:{fontSize:Hi,color:Ui.GREYSCALE_45,fontWeight:Ki,lineHeight:"16px"}}},MuiListItem:{styleOverrides:{root:{fontSize:Gi,minHeight:"32px"},gutters:{paddingLeft:"12px",paddingRight:"12px"}}},MuiListItemButton:{styleOverrides:{root:{fontSize:Gi,height:"32px"}}},MuiListSubheader:{styleOverrides:{root:{'&[role="option"]':{color:Ui.TEXT_PRIMARY,lineHeight:1.33,padding:"4px 12px",fontWeight:600,fontSize:Hi,borderBottom:`solid 1px ${Ui.GREYSCALE_0_15}`,pointerEvents:"none"}}}},MuiList:{styleOverrides:{padding:{paddingTop:"0px",paddingBottom:"0px"}}},MuiMenuItem:{styleOverrides:{root:{fontSize:Gi,color:Ui.GREYSCALE_25,height:"32px",'[class*="MuiListItemIcon-root"]':{minWidth:"16px"},"&:hover":{backgroundColor:Ui.GREYSCALE_0_03},"&.Mui-selected":{backgroundColor:"unset","&:hover":{backgroundColor:Ui.GREYSCALE_0_10},"&.Mui-focusVisible":{backgroundColor:Ui.GREYSCALE_0_10},"&:not(.Mui-disabled)":{"&::after":{content:'url(\'data:image/svg+xml,<?xml version="1.0" encoding="UTF-8"?>%0A<svg width="8px" height="7px" viewBox="0 0 8 7" version="1.1"%0A xmlns="http://www.w3.org/2000/svg"%0A xmlns:xlink="http://www.w3.org/1999/xlink" aria-labelledby="Tick">%0A <g stroke="none" stroke-width="1" fill-rule="evenodd">%0A <g transform="translate(0.000000, -1.000000)">%0A <path d="M7.51662484,1.29325 C7.12545778,0.90225 6.49218732,0.90225 6.10202068,1.29325 L2.73658335,4.65725 L1.90722914,3.82925 C1.5170625,3.43825 0.883792042,3.43825 0.492624979,3.82925 C0.102458344,4.21925 0.102458344,4.85225 0.492624979,5.24325 L2.02928127,6.77825 C2.4194479,7.16925 3.05271836,7.16925 3.44388542,6.77825 L7.51662484,2.70725 C7.9077919,2.31725 7.9077919,1.68425 7.51662484,1.29325"></path>%0A </g>%0A </g>%0A</svg>%0A\')',fontFamily:"LUI icons",position:"absolute",fontSize:"10px",right:"10px",color:Ui.RED}}},"&.Mui-focusVisible":{backgroundColor:Ui.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:Ui.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:Ui.GREEN,height:"24px","&.Mui-disabled":{color:Ui.GREYSCALE_0_15}},rail:{backgroundColor:Ui.GREYSCALE_0_05,height:"4px",opacity:"1",border:`solid 1px ${Ui.GREYSCALE_0_05}`,borderRadius:Yi,boxShadow:`inset 0px 0px 0px 1px ${Ui.GREYSCALE_0_05}`},track:{height:"4px",backgroundColor:"currentColor",opacity:"1",border:`solid 1px ${Ui.GREYSCALE_0_05}`,borderRadius:Yi},thumb:{height:"16px",width:"16px",borderRadius:Yi,backgroundColor:Ui.WHITE,boxShadow:`0px 1px 2px 0px ${Ui.GREYSCALE_0_15}, 0px 0px 0px 1px ${Ui.GREYSCALE_0_05}`,"&:hover":{borderRadius:Yi,boxShadow:`0 2px 4px 0 ${Ui.GREYSCALE_0_30}, 0 0 0 1px ${Ui.GREYSCALE_0_06}`},"&:focus":{boxShadow:`0 1px 2px 0 ${Ui.GREYSCALE_0_15}, 0 0 0 1px ${Ui.GREYSCALE_0_06}, 0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`},"&.Mui-focusVisible":{boxShadow:`0 1px 2px 0 ${Ui.GREYSCALE_0_15}, 0 0 0 1px ${Ui.GREYSCALE_0_06}, 0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`},"&.Mui-disabled":{width:"16px",height:"16px",marginTop:"-5px",marginLeft:"-8px",backgroundColor:Ui.GREYSCALE_90},"& .custom-bar":{height:"8px",width:"1px",backgroundColor:Ui.GREYSCALE_0_30,marginLeft:1,marginRight:1}},mark:{width:"1px",height:"4px",margin:"16px 0px 0px 0px",backgroundColor:Ui.GREYSCALE_0_15},markActive:{opacity:1,backgroundColor:Ui.GREYSCALE_0_15},markLabel:{color:Ui.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"},markLabelActive:{color:Ui.TEXT_SECONDARY,transform:"translateX(-50%)",top:"35px"}}},MuiSnackbar:{defaultProps:{anchorOrigin:{vertical:"bottom",horizontal:"center"}}},MuiSnackbarContent:{styleOverrides:{root:{backgroundColor:Ui.WHITE,color:Ui.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:Ui.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:Ui.GREEN_PALE,boxShadow:`0 0 0 3px ${br(Ui.GREEN_PALE,.5)}`}},colorSecondary:{"&.sprout-focus-visible + .MuiSwitch-track":{borderColor:Ui.BLUE_PALE,boxShadow:`0 0 0 3px ${br(Ui.BLUE_PALE,.5)}`}},track:{opacity:1,backgroundColor:Ui.GREYSCALE_0_15,borderRadius:Yi},thumb:{height:"16px",width:"16px",borderRadius:Yi,backgroundColor:Ui.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:Gi,fontWeight:Xi,textTransform:"none",minWidth:"auto",boxSizing:"border-box",paddingBottom:"12px","&:hover":{borderBottom:`2px solid ${Ui.GREYSCALE_80}`,paddingBottom:"10px"},"&.sprout-focus-visible":{boxShadow:`inset 0 0 0 2px ${Ui.MISC_FOCUS_BORDER}`,backgroundColor:Ui.GREYSCALE_0_03,borderRadius:Yi},"&.Mui-disabled":{opacity:.3}},textColorPrimary:{color:Ui.GREYSCALE_25,"&.Mui-selected":{color:Ui.GREYSCALE_25}},textColorInherit:{opacity:"unset"},labelIcon:{minWidth:"40px",minHeight:"48px"}}},MuiTabs:{defaultProps:{indicatorColor:"primary",textColor:"primary"},styleOverrides:{root:{fontSize:Gi,fontWeight:"bold"},scroller:{height:"100%"},flexContainer:{"&:not(.MuiTabs-flexContainerVertical)":{height:"100%",marginLeft:2,marginRight:2}},indicator:{height:2},scrollButtons:{borderRadius:Yi,"&:hover":{backgroundColor:Ui.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 ${Ui.GREYSCALE_0_15}`,position:"absolute",bottom:0,left:0}},"&:last-child":{marginTop:"4px","&::before":{content:'""',display:"block",width:"100%",height:"1px",borderBottom:`1px solid ${Ui.GREYSCALE_0_15}`,position:"absolute",top:0,left:0}}},"& .MuiTab-root":{fontWeight:"normal",borderRadius:Yi,marginBlock:"4px","&:first-child":{marginTop:"0px"},"&:last-child":{marginBottom:"0px"},"&.Mui-selected":{backgroundColor:Ui.GREYSCALE_0_05},"&:hover":{backgroundColor:Ui.GREYSCALE_0_03,borderBottomColor:"transparent"}}}}},MuiTableCell:{styleOverrides:{root:{padding:"0px 8px 0px 16px",borderBottom:`1px solid ${Ui.GREYSCALE_85}`,borderRight:`1px solid ${Ui.GREYSCALE_85}`,height:"39px"},head:{height:"41px",fontWeight:Xi,backgroundColor:Ui.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:Ui.GREYSCALE_98,borderBottom:`1px solid ${Ui.GREYSCALE_85}`}}},MuiTableContainer:{styleOverrides:{root:{borderBottom:`1px solid ${Ui.GREYSCALE_85}`,borderTop:`1px solid ${Ui.GREYSCALE_85}`}}},MuiTableHead:{styleOverrides:{root:{backgroundColor:Ui.GREYSCALE_98}}},MuiTableRow:{styleOverrides:{root:{"&.Mui-selected":{backgroundColor:Ui.GREYSCALE_0_05,"&:hover":{backgroundColor:Ui.GREYSCALE_0_03}},"&&:hover":{backgroundColor:Ui.GREYSCALE_0_03}}}},MuiTableSortLabel:{defaultProps:{IconComponent:({className:e})=>xt.jsx(dc,{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 ${Ui.GREYSCALE_85}`}}},MuiToggleButton:{styleOverrides:{root:{height:32,lineHeight:"16px",width:32,fontSize:Gi,borderRadius:Yi,padding:"7px 16px",border:`1px solid ${Ui.GREYSCALE_0_15}`,backgroundColor:Ui.GREYSCALE_100_60,color:Ui.GREYSCALE_25,zIndex:1,"&:active":{backgroundColor:Ui.GREYSCALE_0_10,border:`1px solid ${Ui.GREYSCALE_0_30}`},"&:hover":{backgroundColor:Ui.GREYSCALE_0_03,border:`1px solid ${Ui.GREYSCALE_0_30}`},"&.sprout-focus-visible":{backgroundColor:Ui.GREYSCALE_0_03,boxShadow:`0 0 0 1px ${Ui.MISC_FOCUS_BORDER}`,border:`1px solid ${Ui.MISC_FOCUS_BORDER}`,zIndex:2},"&.Mui-selected":{color:Ui.GREYSCALE_25,backgroundColor:Ui.GREYSCALE_0_10,zIndex:2,"&:hover":{backgroundColor:Ui.GREYSCALE_0_10,border:`1px solid ${Ui.GREYSCALE_0_15}`}}},sizeSmall:{fontSize:Hi,height:24,width:24,padding:7},sizeLarge:{fontSize:Vi,height:40,width:40,lineHeight:"20px"}}},MuiToggleButtonGroup:{styleOverrides:{root:{height:"32px",lineHeight:"16px",fontSize:Gi,borderRadius:Yi}}},MuiToolbar:{defaultProps:{disableGutters:!0},styleOverrides:{root:{display:"flex",flex:1,padding:"0 16px"},dense:{minHeight:"46px",padding:"0 8px"}}},MuiTooltip:{defaultProps:{arrow:!0,enterNextDelay:300,enterDelay:400},styleOverrides:{arrow:{color:Ui.GREYSCALE_20},tooltip:{backgroundColor:Ui.GREYSCALE_20,fontSize:Hi,lineHeight:"16px"},popper:{whiteSpace:"pre-line"}}}});const hc=e=>({mode:"light",primary:{ultraLight:Ui.GREEN_ULTRA_LIGHT,light:Ui.GREEN_PALE,main:Ui.GREEN,dark:Ui.GREEN_DARK,extraDark:Ui.GREEN_EXTRA_DARK,contrastText:Ui.WHITE},secondary:{ultraLight:Ui.BLUE_ULTRA_LIGHT,light:Ui.BLUE_PALE,main:Ui.BLUE,dark:Ui.BLUE_DARK,extraDark:Ui.BLUE_EXTRA_DARK,contrastText:Ui.WHITE},error:{ultraLight:Ui.RED_ULTRA_LIGHT,light:Ui.RED_PALE,main:Ui.RED,dark:Ui.RED_DARK,extraDark:Ui.RED_EXTRA_DARK,contrastText:Ui.WHITE},warning:{ultraLight:Ui.ORANGE_ULTRA_LIGHT,light:Ui.ORANGE_PALE,main:Ui.ORANGE,dark:Ui.ORANGE_DARK,extraDark:Ui.ORANGE_EXTRA_DARK,contrastText:Ui.WHITE},success:{ultraLight:Ui.GREEN_ULTRA_LIGHT,light:Ui.GREEN_PALE,main:Ui.GREEN,dark:Ui.GREEN_DARK,extraDark:Ui.GREEN_EXTRA_DARK,contrastText:Ui.WHITE},info:{ultraLight:Ui.BLUE_ULTRA_LIGHT,light:Ui.BLUE_PALE,main:Ui.BLUE,dark:Ui.BLUE_DARK,extraDark:Ui.BLUE_EXTRA_DARK,contrastText:Ui.WHITE},text:{primary:Ui.TEXT_PRIMARY,secondary:Ui.TEXT_SECONDARY,disabled:Ui.GREYSCALE_0_30},action:{hover:Ui.GREYSCALE_0_03,hoverOpacity:.03,selected:Ui.GREYSCALE_0_05,selectedOpacity:.05,focus:Ui.MISC_FOCUS_BORDER},amethyst:{ultraLight:Ui.WHITE,main:Ui.PURPLE,light:Ui.PURPLE_PALE,dark:Ui.PURPLE_DARK,extraDark:Ui.GREYSCALE_0_0,contrastText:Ui.WHITE},background:{paper:Ui.WHITE,default:Ui.GREYSCALE_95},divider:Ui.GREYSCALE_0_15});function mc(e){return Ei({components:fc(),palette:hc(),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:Gi,fontWeightLight:qi,fontWeightRegular:Ki,fontWeightMedium:Xi,fontWeightBold:Qi,htmlFontSize:Gi,fontFamily:Zi.FONT_FAMILY,button:{fontWeight:Xi,fontSize:Gi,textTransform:"none"},body1:{fontSize:Vi,lineHeight:"24px"},body2:{fontSize:Gi,lineHeight:"20px"},h1:{fontSize:32,lineHeight:"32px"},h2:{fontSize:28,lineHeight:"32px"},h3:{fontSize:Wi,lineHeight:"24px"},h4:{fontSize:20,lineHeight:"24px"},h5:{fontSize:Vi,fontWeight:Xi,lineHeight:"16px"},h6:{fontSize:Gi,fontWeight:Xi,lineHeight:"16px"},caption:{color:Ui.TEXT_SECONDARY},subtitle1:{fontSize:Gi,color:Ui.TEXT_SECONDARY},subtitle2:{fontSize:Hi,color:Ui.TEXT_SECONDARY}},shape:{borderRadius:Yi},direction:e})}class gc{translator;muiTheme;containers={};constructor({translator:e}){this.translator=e}sync=({element:e,sharedContainerUtilities:t,translator:n,containerId:r,dataHandler:o,renderHelper:i,chartList:a})=>{this.translator=n,this.containers[r]={element:e,sharedContainerUtilities:t,dataHandler:o,renderHelper:i,chartList:a}};setMuiTheme=e=>{this.muiTheme=mc(e)};destroy=e=>{delete this.containers[e]}}const bc=["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 vc{embed;translator;charts={};constructor(e,t){this.embed=e,this.translator=t}getCharts=()=>(this.charts=(this.embed?.getRegisteredTypes()??[]).reduce((e,t)=>{if(!bc.includes(t.id)&&!1!==t.libraryInfo?.isLibraryItem&&!t.libraryInfo?.deprecated){const n=t;n.libraryInfo?.translationKey&&(n.libraryInfo.translation=this.translator.get(n.libraryInfo.translationKey)),e[t.id||t.type]=n}return e},{}),this.charts);getChart=e=>(this.charts[e]||this.getCharts(),this.charts[e])}var yc,xc={};var Ec=function(){if(yc)return xc;yc=1;var e=ba();return xc.createRoot=e.createRoot,xc.hydrateRoot=e.hydrateRoot,xc}();const Sc=(e,t)=>xt.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",height:"16px",fill:"currentColor","aria-hidden":"true",role:"img",ref:t,...e,children:xt.jsx("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"})}),wc=y.forwardRef(Sc),Cc="rgb(89, 89, 89)",kc=mt(jl)({display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column"}),Rc=mt(jl)({display:"flex",justifyContent:"center",alignItems:"center",height:"100%"}),_c=mt(As,{shouldForwardProp:e=>"width"!==e})(({width:e})=>({"&.MuiList-root":{paddingTop:0,paddingBottom:0,width:e||250,maxHeight:250,overflow:"auto"}})),Lc=mt(ul)({color:Cc,fontSize:"12px",fontFamily:"inherit",lineHeight:"24px",margin:"0px"}),Tc=mt(Qs)({"&.MuiListItemIcon-root":{minWidth:32,color:Cc,marginRight:"0px"}}),Ac=mt(hs)({"&.MuiDivider-root":{borderBottom:"3px solid #595959"}}),Pc=mt(Wl)({"&.MuiButton-contained":{backgroundColor:Cc,color:"rgb(255, 255, 255)"},"&.MuiButton-outlined":{backgroundColor:"rgb(255, 255, 255)",borderColor:Cc,color:Cc,border:"1px solid rgb(179, 179, 179)","&:hover":{backgroundColor:"rgb(255, 255, 255)",border:`1px solid ${Cc}`}}}),Ic=mt(ra)({width:"1em",height:"1em",paddingBottom:"8px"}),Oc=mt(ra)({width:"16px",height:"16px"}),Mc=({name:e,items:t,onSelect:n})=>xt.jsxs(xt.Fragment,{children:[xt.jsx(Ws,{dense:!0,children:xt.jsx(Lc,{noWrap:!0,fontWeight:"bold",children:e})},e),xt.jsx(Ac,{}),t.map(e=>xt.jsx(Ws,{divider:!0,disablePadding:!0,disableGutters:!0,children:xt.jsxs(zs,{sx:{minHeight:"32px",height:"auto"},onClick:()=>{n(e)},disableRipple:!0,dense:!0,children:[e.iconPath?xt.jsx(Tc,{children:e.IconDefinition?xt.jsx(e.IconDefinition,{}):xt.jsx(Oc,{viewBox:"0 0 16 16",children:xt.jsx("path",{d:e.iconPath})})}):null,xt.jsx(Lc,{noWrap:!0,title:e.translation||e.name,children:e.translation||e.name})]})},e.qExtendsId??e.name))]}),Nc=({categories:e,anchorEl:t,onClose:n,onSelect:r,width:o})=>{const[i,a]=y.useState(""),l=!!t;return xt.jsxs(mu,{open:l,anchorEl:t,onClose:()=>{a(""),n()},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},sx:{marginTop:"5px"},children:[xt.jsx(Rl,{fullWidth:!0,onChange:e=>{a(e.target.value)},startAdornment:xt.jsx(ks,{position:"start",children:xt.jsx(wc,{})})}),xt.jsx(Ac,{}),xt.jsx(_c,{width:o,children:e.map(e=>{const t=e.items.filter(e=>{const t=e.translation||e.name;return t?.toLocaleLowerCase().indexOf(i.toLocaleLowerCase())>-1});return t.length>0&&xt.jsx(Mc,{name:e.name,items:t,onSelect:r},e.name)})})]})},jc=({anchorEl:e,onClose:t,dataHandler:n,translator:r,sharedContainerUtilities:o,width:i})=>{const[a,l]=y.useState([]),[s,u]=y.useState({});y.useEffect(()=>{if(e&&n){(async()=>{const e=await n.getMasterVizList();l(e),u(n.getCharts())})().catch(()=>{})}},[e,n]);const c=[],d=[],p=new Map,f=Object.values(s);if(0===f.length&&0===a.length)return null;f.forEach(e=>{if(!e.libraryInfo||!e.libraryInfo.isThirdParty&&e.libraryInfo.visible)c.push(e);else if(e.libraryInfo.visible)if(e.libraryInfo.bundle?.name){const t=e.libraryInfo.bundle.name,n=p.get(t);n?n.push(e):p.set(t,[e])}else d.push(e)});const h=e=>e.map(e=>({iconPath:e.libraryInfo?.iconPath,IconDefinition:e.libraryInfo?.IconDefinition,name:e.id,translation:e.libraryInfo?.translation||e.libraryInfo?.name||e.id||"",type:e.id})).toSorted((e,t)=>(e.translation||e.name).localeCompare(t.translation||t.name)),m=[{name:r.get("LayoutContainer.Object.MasterItems"),items:a.map(e=>({qExtendsId:e.qExtendsId,iconPath:s[e.visualization]?.libraryInfo?.iconPath,IconDefinition:s[e.visualization]?.libraryInfo?.IconDefinition,name:e.name,type:e.visualization})).toSorted((e,t)=>e.name.localeCompare(t.name))},{name:r.get("LayoutContainer.Object.Charts"),items:c.map(e=>({iconPath:e.libraryInfo?.iconPath||"",IconDefinition:e.libraryInfo?.IconDefinition,name:e.libraryInfo?.name||e.id,type:e.libraryInfo?.template||e.id,translation:e.libraryInfo?.translation||e.id||""})).toSorted((e,t)=>e.translation.localeCompare(t.translation))},{name:r.get("LayoutContainer.Object.CustomObjects"),items:h(d)}];for(const[e,t]of p)m.push({name:e,items:h(t)});return xt.jsx(Nc,{categories:m,anchorEl:e,onSelect:e=>{if(!n)return;const{qExtendsId:r}=e;(r?n.addMasterObjectAsChild({initProps:{qExtendsId:r,qInfo:{qType:"undefined"}}}):n.addVizAsChild({type:e.type,objectInitProps:{label:e.translation}})).then(e=>{e?.id&&o?.setSelected([e.id])}).catch(e=>{console.warn(e)}).finally(()=>{t()})},onClose:t,width:i})},zc=e=>{const t=Dc(e);return e.objects?.map(e=>{const{childRefId:n}=e;if(!n)return e;const r=t[n];return r?{...e,id:r}:e})??[]},$c=(e,t)=>e?.qChildList?.qItems?.find(e=>e?.qData?.childRefId===t),Dc=e=>e?.qChildList?.qItems?.reduce((e,t)=>{const n=t?.qData?.childRefId;return e[n]=t?.qInfo?.qId,e},{});var Bc=$c,Fc=e=>{const t={...e};return t.objects=zc(t),t},Uc=e=>e?.qChildList?.qItems?.reduce((e,t)=>{const n=t?.qInfo?.qId;return e[n]=t.qData?.childRefId,e},{}),Hc=e=>e.objects.reduce((e,t)=>(e[t.childRefId]=t,e),{}),Gc=(e,t)=>{if(!e)return t;const n=$c(e,t);return n?.qInfo?.qId};class Vc{layout;app;activeId="";data;properties=void 0;constructor({app:e,data:t}){this.app=e,this.data=t}get activeContainer(){return this.data.containers[this.activeId]}setSelectedChild=e=>{this.activeContainer?.sharedContainerUtilities?.setSelected(e)};addChild=({initProps:e,objectInitProps:t,children:n})=>{if(!this.activeContainer)return;const{dataHandler:r}=this.activeContainer;if(e?.qExtendsId){const{qExtendsId:o,qInfo:i}=e;return r?.addMasterObjectAsChild({initProps:{qExtendsId:o,qInfo:i},objectInitProps:t,children:n})}return r?.addVizAsChild({type:e?.visualization,initProps:e,objectInitProps:t,children:n})};deleteChild=async e=>{if(!this.activeContainer)return;const{dataHandler:t}=this.activeContainer;await(t?.deleteChildren([e]))};duplicateChild=async e=>{const{childRefId:t,...n}=e,r=this.getEngineId(t);if(!r)return;const o=await(this.app?.getObject(r));if(o&&this.activeContainer){const{sharedContainerUtilities:e}=this.activeContainer,t=await o.getFullPropertyTree(),r=t.qProperty,i=t.qChildren,a=await this.addChild({initProps:r,children:i,objectInitProps:n});a&&e?.setSelected([a.id])}};openAddChildPopover=e=>{if(this.activeContainer&&this.activeContainer.dataHandler&&this.data.muiTheme){const t=((e,t)=>{const n=e.getElementsByClassName(t);let r;return 0===n.length?(r=document.createElement("div"),r.className=t,e.appendChild(r)):r=n[0],Ec.createRoot(r)})(this.activeContainer.element,"add-child-popover"),n=()=>{t.unmount()};t?.render(xt.jsx(Bi,{theme:this.data.muiTheme,children:xt.jsx(jc,{translator:this.data.translator,anchorEl:e,dataHandler:this.activeContainer.dataHandler,onClose:n,width:220,sharedContainerUtilities:this.activeContainer.sharedContainerUtilities})}))}};getObject(e){const t=this.getEngineId(e);if(t)return this.activeContainer?.renderHelper.objectMap.get(t)}getChartIcon(e){const t=this.getEngineId(e);if(!t)return;const n=this.activeContainer?.renderHelper.getChildLayout(t),r=n?.qData.visualization;return r?this.activeContainer?.chartList?.getChart(r)?.libraryInfo?.icon:void 0}setModel=e=>{this.activeId=e.id};setLayout=e=>{this.layout=e};getLayout=()=>this.layout;getEngineId=e=>Gc(this.layout,e);setProperties=e=>{this.properties=e};canAddDimension=()=>!1;canAddMeasure=()=>!1;canColorBy=()=>!1;getDimensions=()=>[];getMeasures=()=>[];minDimensions=()=>0;minMeasures=()=>0;maxDimensions=()=>0;maxMeasures=()=>0}const Wc="object",Yc=["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"];const qc=e=>({value:e,label:e.charAt(0).toUpperCase()+e.slice(1),groupHeader:!1,disabled:!1,styles:{fontFamily:e}});function Kc({theme:e,translator:t,id:n,path:r}){const o=()=>e.getStyle(n,r,"fontFamily");return{getDefaultValue:()=>o(),getOptions:()=>function({theme:e,translator:t,defaultValue:n}){const r=[],o=e.getStyle("","","fontFamilies");return Array.isArray(o)&&o.length?r.push(...new Set([n,...o.map(e=>e.split(",").map(e=>e.trim()).map(e=>e.replace(/\s+/g," ").trim()).filter(Boolean).join(", "))])):r.push(n),[{value:"ThemeHeader",label:t.get("properties.themeFonts"),metaText:t.get("properties.theme"),groupHeader:!0},...r.map(e=>qc(e)),{value:"DefaultHeader",label:t.get("properties.allFonts"),metaText:t.get("properties.default"),groupHeader:!0},...Yc.map(e=>qc(e))]}({theme:e,translator:t,defaultValue:o()})}}var Xc=["10px","11px","12px","13px","14px","15px","16px","17px","18px","19px","20px","21px","22px","23px","24px"];const Qc=e=>({value:e,label:e,groupHeader:!1,disabled:!1});function Zc({theme:e,translator:t,id:n,path:r}){const o=()=>e.getStyle(n,r,"fontSize");return{getDefaultValue:()=>o(),getOptions:()=>function({theme:e,translator:t,defaultValue:n}){const r=[],o=e.getStyle("","","fontSizes");return Array.isArray(o)&&o.length?r.push(...new Set([n,...o])):r.push(n),[{value:"ThemeHeader",label:t.get("properties.themeFontSizes"),metaText:t.get("properties.theme"),groupHeader:!0},...r.map(e=>Qc(e)),{value:"DefaultHeader",label:t.get("properties.allFontSizes"),metaText:t.get("properties.default"),groupHeader:!0},...Xc.map(e=>Qc(e))]}({theme:e,translator:t,defaultValue:o()})}}function Jc({theme:e,translator:t,id:n,path:r}){return{fontFamily:Kc({theme:e,translator:t,id:n,path:r}),fontSize:Zc({theme:e,translator:t,id:n,path:r})}}const ed=["__proto__","constructor"],td=e=>{if(ed.some(t=>e.includes(t)))throw new Error("font-resolver: Forbidden property.")};var nd,rd,od,id=function(){if(rd)return nd;rd=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},i=function(n){if(!n||"[object Object]"!==t.call(n))return!1;var r,o=e.call(n,"constructor"),i=n.constructor&&n.constructor.prototype&&e.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!o&&!i)return!1;for(r in n);return void 0===r||e.call(n,r)},a=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(t,n){if("__proto__"===n){if(!e.call(t,n))return;if(r)return r(t,n).value}return t[n]};return nd=function e(){var t,n,r,s,u,c,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(null!=(t=arguments[p]))for(n in t)r=l(d,n),d!==(s=l(t,n))&&(h&&s&&(i(s)||(u=o(s)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&i(r)?r:{},a(d,{name:n,newValue:e(h,c,s)})):void 0!==s&&a(d,{name:n,newValue:s}));return d},nd}();function ad(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ld(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function sd(){}(od=id)&&od.__esModule&&Object.prototype.hasOwnProperty.call(od,"default")&&od.default;var ud=.7,cd=1/ud,dd="\\s*([+-]?\\d+)\\s*",pd="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",fd="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",hd=/^#([0-9a-f]{3,8})$/,md=new RegExp(`^rgb\\(${dd},${dd},${dd}\\)$`),gd=new RegExp(`^rgb\\(${fd},${fd},${fd}\\)$`),bd=new RegExp(`^rgba\\(${dd},${dd},${dd},${pd}\\)$`),vd=new RegExp(`^rgba\\(${fd},${fd},${fd},${pd}\\)$`),yd=new RegExp(`^hsl\\(${pd},${fd},${fd}\\)$`),xd=new RegExp(`^hsla\\(${pd},${fd},${fd},${pd}\\)$`),Ed={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 Sd(){return this.rgb().formatHex()}function wd(){return this.rgb().formatRgb()}function Cd(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=hd.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?kd(t):3===n?new Td(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Rd(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Rd(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=md.exec(e))?new Td(t[1],t[2],t[3],1):(t=gd.exec(e))?new Td(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=bd.exec(e))?Rd(t[1],t[2],t[3],t[4]):(t=vd.exec(e))?Rd(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=yd.exec(e))?Nd(t[1],t[2]/100,t[3]/100,1):(t=xd.exec(e))?Nd(t[1],t[2]/100,t[3]/100,t[4]):Ed.hasOwnProperty(e)?kd(Ed[e]):"transparent"===e?new Td(NaN,NaN,NaN,0):null}function kd(e){return new Td(e>>16&255,e>>8&255,255&e,1)}function Rd(e,t,n,r){return r<=0&&(e=t=n=NaN),new Td(e,t,n,r)}function _d(e){return e instanceof sd||(e=Cd(e)),e?new Td((e=e.rgb()).r,e.g,e.b,e.opacity):new Td}function Ld(e,t,n,r){return 1===arguments.length?_d(e):new Td(e,t,n,null==r?1:r)}function Td(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Ad(){return`#${Md(this.r)}${Md(this.g)}${Md(this.b)}`}function Pd(){const e=Id(this.opacity);return`${1===e?"rgb(":"rgba("}${Od(this.r)}, ${Od(this.g)}, ${Od(this.b)}${1===e?")":`, ${e})`}`}function Id(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function Od(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function Md(e){return((e=Od(e))<16?"0":"")+e.toString(16)}function Nd(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new zd(e,t,n,r)}function jd(e){if(e instanceof zd)return new zd(e.h,e.s,e.l,e.opacity);if(e instanceof sd||(e=Cd(e)),!e)return new zd;if(e instanceof zd)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new zd(a,l,s,e.opacity)}function zd(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function $d(e){return(e=(e||0)%360)<0?e+360:e}function Dd(e){return Math.max(0,Math.min(1,e||0))}function Bd(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}ad(sd,Cd,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Sd,formatHex:Sd,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return jd(this).formatHsl()},formatRgb:wd,toString:wd}),ad(Td,Ld,ld(sd,{brighter(e){return e=null==e?cd:Math.pow(cd,e),new Td(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?ud:Math.pow(ud,e),new Td(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new Td(Od(this.r),Od(this.g),Od(this.b),Id(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:Ad,formatHex:Ad,formatHex8:function(){return`#${Md(this.r)}${Md(this.g)}${Md(this.b)}${Md(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Pd,toString:Pd})),ad(zd,function(e,t,n,r){return 1===arguments.length?jd(e):new zd(e,t,n,null==r?1:r)},ld(sd,{brighter(e){return e=null==e?cd:Math.pow(cd,e),new zd(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?ud:Math.pow(ud,e),new zd(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,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new Td(Bd(e>=240?e-240:e+120,o,r),Bd(e,o,r),Bd(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new zd($d(this.h),Dd(this.s),Dd(this.l),Id(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=Id(this.opacity);return`${1===e?"hsl(":"hsla("}${$d(this.h)}, ${100*Dd(this.s)}%, ${100*Dd(this.l)}%${1===e?")":`, ${e})`}`}}));const Fd=Math.PI/180,Ud=180/Math.PI,Hd=.96422,Gd=.82521,Vd=4/29,Wd=6/29,Yd=3*Wd*Wd,qd=Wd*Wd*Wd;function Kd(e){if(e instanceof Xd)return new Xd(e.l,e.a,e.b,e.opacity);if(e instanceof tp)return np(e);e instanceof Td||(e=_d(e));var t,n,r=ep(e.r),o=ep(e.g),i=ep(e.b),a=Qd((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=Qd((.4360747*r+.3850649*o+.1430804*i)/Hd),n=Qd((.0139322*r+.0971045*o+.7141733*i)/Gd)),new Xd(116*a-16,500*(t-a),200*(a-n),e.opacity)}function Xd(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function Qd(e){return e>qd?Math.pow(e,1/3):e/Yd+Vd}function Zd(e){return e>Wd?e*e*e:Yd*(e-Vd)}function Jd(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function ep(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function tp(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function np(e){if(isNaN(e.h))return new Xd(e.l,0,0,e.opacity);var t=e.h*Fd;return new Xd(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}ad(Xd,function(e,t,n,r){return 1===arguments.length?Kd(e):new Xd(e,t,n,null==r?1:r)},ld(sd,{brighter(e){return new Xd(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new Xd(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 Td(Jd(3.1338561*(t=Hd*Zd(t))-1.6168667*(e=1*Zd(e))-.4906146*(n=Gd*Zd(n))),Jd(-.9787684*t+1.9161415*e+.033454*n),Jd(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),ad(tp,function(e,t,n,r){return 1===arguments.length?function(e){if(e instanceof tp)return new tp(e.h,e.c,e.l,e.opacity);if(e instanceof Xd||(e=Kd(e)),0===e.a&&0===e.b)return new tp(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ud;return new tp(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new tp(e,t,n,null==r?1:r)},ld(sd,{brighter(e){return new tp(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new tp(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return np(this).rgb()}}));var rp=e=>()=>e;function op(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):rp(isNaN(e)?t:e)}!function e(t){var n=function(e){return 1===(e=+e)?op: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(r){return Math.pow(e+r*t,n)}}(t,n,e):rp(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=Ld(e)).r,(t=Ld(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=op(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);var ip="center",ap="bottom";function lp(e,t,n){if(void 0===e||void 0===t)return n;const r=t.split(".");let o=e;for(let e=0;e<r.length;++e){const t=r[e];if(void 0===o[t])return n;o=o[t]}return o}[{key:"NoDataExist",alignment:ip,condition:({layoutService:e})=>{if(!e)return!1;const{x:t,y:n}=e.meta.size;return t*n===0}},{key:"OnlyNanDataMeasure",translationKey:"OnlyNanData",alignment:ip,condition:({layoutService:e})=>!!e&&e.getHyperCubeValue("qMeasureInfo").every(e=>"NaN"===e.qMin&&"NaN"===e.qMax)},{key:"OnlyNanDataDimensionContinuous",translationKey:"OnlyNanData",alignment:ip,condition:({layoutService:e})=>{if(!e)return!1;const{isContinuous:t}=e.meta;if(!t)return!1;const n=e.getHyperCubeValue("qDimensionInfo.0");return n&&(n.qMax<n.qMin||"NaN"===n.qMax)}},{key:"OnlyNegativeOrZeroValues",alignment:ip},{key:"DataRangeIncludingZero",alignment:ap},{key:"LimitedData",alignment:ap},{key:"NegativeOrZeroValues",alignment:ap}].reduce((e,t)=>(e[t.key]=t,e),{});const sp=["__proto__","constructor"];function up(e,t,n){if(void 0===e||void 0===t)return;const r=t.split("."),o=r[r.length-1];if(sp.some(e=>r.includes(e)))return;let i=e;for(let e=0;e<r.length-1;++e){const t=r[e];void 0===i[t]&&(i[t]=Number.isNaN(+r[e+1])?{}:[]),i=i[t]}void 0!==n?i[o]=n:delete i[o]}function cp(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function dp(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=fp)):void 0===t&&(t=pp);for(var n,r,o,i,a,l=new gp(e),s=[l];n=s.pop();)if((o=t(n.data))&&(a=(o=Array.from(o)).length))for(n.children=o,i=a-1;i>=0;--i)s.push(r=o[i]=new gp(o[i])),r.parent=n,r.depth=n.depth+1;return l.eachBefore(mp)}function pp(e){return e.children}function fp(e){return Array.isArray(e)?e[1]:null}function hp(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function mp(e){var t=0;do{e.height=t}while((e=e.parent)&&e.height<++t)}function gp(e){this.data=e,this.depth=this.height=0,this.parent=null}var bp;gp.prototype=dp.prototype={constructor:gp,count:function(){return this.eachAfter(cp)},each:function(e,t){let n=-1;for(const r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,o,i=this,a=[i],l=[],s=-1;i=a.pop();)if(l.push(i),n=i.children)for(r=0,o=n.length;r<o;++r)a.push(n[r]);for(;i=l.pop();)e.call(t,i,++s,this);return this},eachBefore:function(e,t){for(var n,r,o=this,i=[o],a=-1;o=i.pop();)if(e.call(t,o,++a,this),n=o.children)for(r=n.length-1;r>=0;--r)i.push(n[r]);return this},find:function(e,t){let n=-1;for(const r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,o=r&&r.length;--o>=0;)n+=r[o].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(),r=t.ancestors(),o=null;for(e=n.pop(),t=r.pop();e===t;)o=e,e=n.pop(),t=r.pop();return o}(t,e),r=[t];t!==n;)t=t.parent,r.push(t);for(var o=r.length;e!==n;)r.splice(o,0,e),e=e.parent;return r},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 dp(this).eachBefore(hp)},[Symbol.iterator]:function*(){var e,t,n,r,o=this,i=[o];do{for(e=i.reverse(),i=[];o=e.pop();)if(yield o,t=o.children)for(n=0,r=t.length;n<r;++n)i.push(t[n])}while(i.length)}},bp=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,r,o,i,a,l,s,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(n=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=l)&&(t=(+t).toFixed(l+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0===+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],s=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%s,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},bp({exports:{}});const vp="'Source Sans Pro', 'Arial', 'sans-serif'",yp="#333333",xp="#595959",Ep="#737373",Sp="#cccccc",wp="#e6e6e6";function Cp(e){const t={};return[...e,["","","color"],["object","","fontFamily"],["object","axis.label.name","color",xp],["object","axis.label.name","fontFamily",vp],["object","axis.label.name","fontSize","12px"],["object","axis.line.major","color",Sp],["object","axis.line.minor","color",wp],["object","axis.title","color"],["object","axis.title","fontFamily",vp],["object","axis.title","fontSize","13px"],["object","grid.line.highContrast","color",wp],["object","grid.line.major","color",Sp],["object","grid.line.minor","color",wp],["object","label.value","color",xp],["object","label.value","fontFamily",vp],["object","label.value","fontSize","12px"],[!1,"label.value","darkColor",xp],[!1,"label.value","lightColor",wp],["object","outOfRange","color","#999"],["object","legend.title","color",yp],["object","legend.title","fontFamily",vp],["object","legend.title","fontSize","15px"],["object","legend.label","color",xp],["object","legend.label","fontFamily",vp],["object","legend.label","fontSize","13px"],["object","referenceLine.label.name","color",yp],["object","referenceLine.label.name","fontFamily",vp],["object","referenceLine.label.name","fontSize","12px"],["object","referenceLine.outOfBounds","color",wp],["object","referenceLine.outOfBounds","fontFamily",vp],["object","referenceLine.outOfBounds","fontSize","12px"],["object","referenceLine.outOfBounds","backgroundColor",Ep,e=>"transparent"===e?Ep:e]].reduce((e,n)=>{const r=`${n[0]}-${n[1]}-${n[2]}}`;return t[r]||(t[r]=!0,e.push(n)),e},[]).sort((e,t)=>(e[0].split?e[0].split(".").length:0)-(t[0].split?t[0].split(".").length:0))}const kp="object",Rp=e=>e;function _p({theme:e,id:t,transform:n,extend:r,matrix:o}){const i={},a=n.reduce((e,t)=>{const[n,r]=t;return e[n]=r,e},{});return o.forEach(n=>{const[r,o,l,s,u=e=>e]=n,c=function({theme:e,base:t,path:n,attribute:r,defaultValue:o}){if(!e||!1===t)return o;const i=e.getStyle(t,n,r);return void 0===i?o:i}({theme:e,base:r===kp&&t?`${kp}.${t}`:r,path:o,attribute:l,defaultValue:s}),d=(a[`${o}.${l}`]||Rp)(u(c));up(i,[o,l].filter(Boolean).join("."),d)}),r.forEach(e=>{const[t,n]=e;up(i,t,n)}),i}const Lp={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition"}};function Tp(e){if(!e.objects)return{};const t=Hc(e);return{container_id:e.qInfo.qId,objects:e.qChildList.qItems.map(n=>({chart_type:n.qData.visualization,chart_id:n.qInfo.qId,chart_isMaster:!!n.qData.qExtendsId,tab_isVisible:0!==t[n.qData.childRefId]?.condition,tab_isActive:n.qData.childRefId===e.cachedTabId}))}}const Ap=({ref:e,theme:t,change:n})=>({component:"inline-wrapper",items:{bgColorDropdown:{ref:`${e}.useColorExpression`,width:9,component:"dropdown",change(t){(lp(t,`${e}.color`)||lp(t,`${e}.colorExpression`))&&(up(t,`${e}.color`,void 0),up(t,`${e}.colorExpression`,void 0)),n?.(t)},options:[{value:!1,translation:"properties.colorMode.primary"},{value:!0,translation:"properties.colorMode.byExpression"}],defaultValue:!1,placeholder:"properties.colorMode.primary"},bgColorPicker:{component:"color-picker",ref:`${e}.color`,width:3,show:t=>!lp(t,`${e}.useColorExpression`),disableNone:!1,defaultValue:()=>({color:t?.getStyle("object.tabbedContainer",e,"color")??"none"}),showAlpha:!0,change:e=>{n?.(e)}},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>lp(t,`${e}.useColorExpression`)}}}),Pp=({theme:e})=>({bgColorAllWrapper:Ap({ref:"background.unselected"}),selectedTab:{translation:"properties.chartType.selected",component:"text"},bgColorSelectedWrapper:Ap({ref:"background.selected"}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Ap({ref:"background.hover",theme:e,change:e=>{up(e,"indicator.hover.color",lp(e,"background.hover.color")),up(e,"indicator.hover.useColorExpression",lp(e,"background.hover.useColorExpression"))}})},show:(e,t)=>"left"===t.layout.orientation}}),Ip=({paths:e,fontResolver:t,theme:n})=>{const r=`${e.theme}.fontSize`;return{fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.size`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r),show:e=>!1!==e.icon?.show},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")}),show:e=>!1!==e.icon?.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}}},Op=({theme:e})=>({colorWrapper:Ap({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Ap({ref:"indicator.hover",theme:e,change:e=>{up(e,"background.hover.color",lp(e,"indicator.hover.color")),up(e,"background.hover.useColorExpression",lp(e,"indicator.hover.useColorExpression"))}})},show:(e,t)=>"left"!==t.layout.orientation}}),Mp=({paths:e,fontResolver:t,theme:n})=>{const r=`${e.theme}.fontFamily`,o=`${e.theme}.fontSize`;return{fontFamilyItem:{component:"dropdown",ref:`${e.ref}.fontFamily`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r),change:(e,t,n)=>{const r=e.label?.fontFamily,o=(e=>{const t=[];return e.objects.forEach(e=>{const n=e.components?.find(e=>"tab"===e.key),r=n?.label?.fontFamily;r&&-1===t.indexOf(r)&&t.push(r)}),t})(n);r&&-1===o.indexOf(r)&&o.push(r),n.fontsUsed=o}},fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.fontSize`,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o)},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color: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}}},Np=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"Object.Container.Props.Label",component:"panel-section",items:{label:{component:"items",ref:e,key:t,items:Mp({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:r})}}}),jp=({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=>{if(void 0!==e.width?.value&&"%"===e.width?.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=>"px"===e.width?.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=>!e.width?.unit||"px"!==e.width?.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:Op({theme:e})}}}),$p=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:Ip({paths:{ref:"icon",theme:"icon.value"},fontResolver:n,theme:r})}},show:(e,{layout:t})=>t.showIcons}),Dp=({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:Ap({ref:"background"})}:Pp({theme:e})}}}),Bp=({fontResolver:e,theme:t})=>{const n="components",r="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:Np({ref:n,key:r,fontResolver:e,theme:t}),width:{...jp({ref:n,key:r}),show:(e,{layout:t})=>"left"!==t.orientation},icon:$p({ref:n,key:r,fontResolver:e,theme:t}),background:Dp({ref:n,key:r,theme:t})}}},Fp={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},Up={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},Hp=(e,t)=>"object"==typeof e.label?t.objects.find(t=>t.childRefId===e.childRefId)?.label||e.label.qValueExpression.qExpr:e.label,Gp=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{const n=t.getLayout(),r=Bc(n,e.childRefId)?.qMeta;return!r?.privileges?.includes("update")||!n.permissions?.update},action(t,n,{app:r}){const{sense:o}=e.env.anything,i=n.getEngineId(t.childRefId);i&&(o.propertyPanel.show({id:i,app:r,parent:"current",headerLabel:Hp(t,n.getLayout())}),n.setSelectedChild([i]))}}),Vp=e=>{const{sense:t}=e.env.anything;return{label:Fp,condition:Up,styling:Bp({fontResolver:e.fontResolver,theme:t?.theme}),editProperties:Gp(e)}},Wp={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},Yp={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 r=document.querySelector(".pp-toplist-add-button");null!==r&&n.openAddChildPopover(r)},remove(e,t,n){n.deleteChild(e.childRefId).catch(()=>{})},items:Vp(e)}),Kp=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:Wp,chartsLabel:Yp,chartList:qp(e)}}),Xp={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},Qp={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},Zp={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},Jp={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},ef={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=Gc(t.getLayout(),e.defaultTabId);n&&t.setSelectedChild([n])},show:e=>e.objects.length>0},tf={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},nf=({fontResolver:e,theme:t})=>{const n="components",r="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:Np({ref:n,key:r,fontResolver:e,theme:t}),width:jp({ref:n,key:r}),indicator:zp({ref:n,key:r,theme:t}),icon:$p({ref:n,key:r,fontResolver:e,theme:t}),background:Dp({ref:n,key:r,theme:t})}}},rf={items:{details:{show:e=>!0===e.showDetails}}},of=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:nf({fontResolver:e.fontResolver,theme:t?.theme}),container:{type:"items",items:{showTabs:Xp,useDropdown:Qp,useScrollButton:Zp,showIcons:Jp,orientation:tf,defaultTabId:ef}}}}},af=e=>({uses:"settings",items:{general:rf,presentation:of(e)}}),lf=e=>({type:"items",component:"accordion",items:{content:Kp(e),settings:af(e)}}),sf=e=>{const{sense:t}=e.env.anything,n=function({theme:e,translator:t,config:n={}}){const{id:r,paths:o}=function({config:e={}}){const{id:t,paths:n}=e;return{id:void 0===t?Wc:`${Wc}.${t}`,paths:Array.isArray(n)?n:[]}}({config:n}),i={};o.forEach(n=>{const o=n.split(".");td(o);let a=i;for(let i=0;i<o.length;i++){const l=o[i];i===o.length-1?a[l]=Jc({theme:e,translator:t,id:r,path:n}):void 0===a[l]&&(a[l]={}),a=a[l]}});const a=e=>{const t=e.split(".");td(t);let n=i;for(let r=0;r<t.length;r++){const o=t[r];if(void 0===n[o])throw new Error(`font-resolver: Path '${e}' could not be resolved.`);n=n[o]}return n};return i.getDefaultValue=e=>a(e).getDefaultValue(),i.getOptions=e=>a(e).getOptions(),i}({theme:t?.theme,translator:e.env.translator,flags:e.env.flags,config:{id:"tabbedContainer",paths:["label.value","icon.value"]}}),r=function(e){return{async getDropOptions(e,t,n){const{item:r}=t,o=e.getCreatePropertyHandler();if(o.setModel(e.model),"state"===t.item.type){const r=await e.model.getProperties();return o.setProperties(r),o.setLayout(e.model?.layout),this.getDropStateOptions(t,o,e.model,n)}if("visualization"===r.type)return t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"addvisualization",select(){o.addChild({initProps:{qExtendsId:r.id,qInfo:{qType:"undefined"}}})?.then(e=>{e&&o.setSelectedChild([e.id])})}}),void n();const i=await t.item.getDropOption(t.item);"newObject"===i?.id&&t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"createvisualization",select(){o.addChild({initProps:{...i.args.init,visualization:i.args.template},children:i.args.children?.map(e=>({qProperty:e}))})?.then(e=>{e&&o.setSelectedChild([e.id])})}}),n()},async addChild(t,n){const{model:r}=this,o=new Vc({app:r.app,data:e.propertyHandlerData});return o.setModel(r),{childModel:await o.addChild({initProps:t,children:n}),handler:o}},canReceive(e){if(this.model.layout.qExtendsId)return!1;if("libraryitem"===e.type){const{item:t}=e;if("template"===t.type&&bc.includes(t.template))return!1;if("visualization"===t.type&&bc.includes(t.visualization))return!1}return"gridcell"!==e.type||!bc.includes(e.cell.model.layout.visualization)}}}(e);return{definition:lf({...e,fontResolver:n}),support:{snapshot:!1,export:!0,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new Vc({app:t,data:e.propertyHandlerData}),...r,addChild:async function(e,t){const{childModel:n,handler:o}=await r.addChild.apply(this,[e,t]);n&&o.setSelectedChild([n.id])},migrate:{properties:(e,t)=>((async(e,t)=>{if(!e.objects){const{objects:n,defaultTabId:r,components:o,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 r=async r=>{const o=await t.getChild(r),i=await o.getEffectiveProperties();return{...e,qProperty:{...n,childRefId:i.childRefId}}};s.push(r(n.qInfo.qId))}});const u=await Promise.all(s),c={...e,objects:n,defaultTabId:r??"",components:o,qChildListDef:Lp,orientation:i,showDetails:a};t.clearSoftPatches(),await t.setFullPropertyTree({...l,qProperty:c,qChildren:u})}}})(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:Tp}},uf=e=>e.reduce((e,{id:t,data:n})=>(n&&(e[t]=n),e),{}),cf=async e=>{const t=[];for(const[n,r]of e){const e={id:n,data:void 0},o=r;t.push(o.getViewState().then(e=>({id:n,data:e})).catch(()=>e))}const n=await Promise.all(t);return{viewStates:uf(n)}},df=async e=>{const t=[];for(const[n,r]of e){const e={id:n,data:void 0},o=r;o.getSnapshotLayout?t.push(o.getSnapshotLayout().then(e=>({id:n,data:e})).catch(()=>e)):o.takeSnapshot&&t.push(o.takeSnapshot().then(e=>({id:n,data:e?.layout})).catch(()=>e))}const n=await Promise.all(t);return uf(n)},pf=(t,n)=>(e.onTakeSnapshot(async e=>{const r=e,{snapshotData:o}=r;if(o){const e=Fc(r),i=n(t.objectMap,e),[a,l]=await Promise.all([df(i.objectMap),cf(i.objectMap)]);o.objectsData={layouts:a},r.objects=i.objects,o.viewState=l}return e}),{getViewState:()=>cf(t.objectMap)});let ff=function(e){return e.COPY="ctrl+c",e.CUT="ctrl+x",e.OPEN_CONTEXT_MENU="shift+F10",e.ESCAPE="Escape",e.SPACE=" ",e.ENTER="Enter",e.BACKSPACE="Backspace",e.DELETE="Delete",e}({}),hf=function(e){return e.KEY_DOWN="keydown",e.FOCUS_OUT="focusout",e}({}),mf=function(e){return 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",e}({});const gf=`& .${mf.TAB}.${mf.TAB_EXTRA_PRIO}, .${mf.TAB}.${mf.ACTIVE_TAB}`,bf=`& .${mf.TAB}.${mf.TAB_EXTRA_PRIO}:hover`,vf=`& .${mf.TAB_LABEL}`,yf=`& .${mf.TABS_ICON} svg`,xf=`& .${mf.TAB_WRAPPER}`,Ef=`& .${mf.TAB_INDICATOR}`,Sf=e=>e.getElementsByClassName(mf.ACTIVE_TAB)?.[0],wf=e=>e.getElementsByClassName(mf.ACTIVE_TAB_PANEL)?.[0],Cf=({element:t,setAccessibility:n,accessibility:r,renderHelper:o,interactions:i,env:a,models:l})=>{const{modifiedLayout:{showTabs:s,objects:u,orientation:c},translator:d}=l;e.useEffect(()=>{(()=>{const e="top"===c?d.get("TabContainer.Navigation.Horizontal"):d.get("TabContainer.Navigation.Vertical"),n=((e,t)=>e.map(e=>e.label||t.get("TabContainer.Object.Untitled")).join(", "))(u,d);t.setAttribute("aria-label",d.get("TabContainer.Object.Description",[n,s?e:""]))})()},[t,s,u,d,c]);const p=a.flags.isEnabled("VIZ-7_NEW_SHEET"),f=e.useKeyboard(),h=e.useMemo(()=>()=>{n(!1),f.enabled&&f.blur?.(!0)},[f,n]),m=e.useMemo(()=>e=>{switch(e.shiftKey?`shift+${e.key}`:e.key){case ff.ESCAPE:e.stopPropagation(),f.blur?.(!0);break;case ff.ENTER:case ff.SPACE:{e.stopPropagation();const n=e.target;n?.classList.contains(mf.ACTIVE_TAB)&&wf(t)?.focus();break}}},[t,f]),g=e.useMemo(()=>e=>{const n=e.shiftKey?`shift+${e.key}`:e.key,r=o.objectMap.values().next().value,i=o.objectApis.values().next().value;switch(n){case ff.ESCAPE:{const n=Sf(t);p?(({event:e,objectApi:t,activeTab:n})=>{e.stopPropagation(),t?.viewDataToggled&&t.support?.("viewData")?t.toggleDataView():n?.focus()})({event:e,objectApi:i,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{e.stopPropagation(),t?.viewDataToggled&&t.supportViewData?.()?t.toggleDataView?.():n?.focus()})({event:e,objectApi:r,activeTab:n});break}case ff.ENTER:case ff.SPACE:{const n=wf(t);p?(({event:e,objectApi:t,activeTab:n})=>{if(!t)return;e.stopPropagation(),t.setOnBlurHandler?.(()=>{n?.focus(),t.setOnBlurHandler?.(void 0)}),!t.viewDataToggled&&t.support?.("viewData")?t.toggleDataView():t.toggleFocus?.(!0)})({event:e,objectApi:i,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{if(!t)return;e.stopPropagation(),t.setOnBlurHandler?.(()=>{n?.focus(),t.setOnBlurHandler?.(void 0)}),!t.viewDataToggled&&t.supportViewData?.()?t.toggleDataView?.():t.viewDataToggled&&"function"==typeof t.dataViewObject?.focus?t.dataViewObject.focus():"function"==typeof t.focus&&t.focus()})({event:e,objectApi:r,activeTab:n});break}case ff.OPEN_CONTEXT_MENU:e.stopPropagation(),r?.viewDataToggled||t!==document.activeElement&&(h(),t.focus())}},[t,h,p,o]),b=e.useMemo(()=>e=>{const t=e.target;t?.classList.contains(mf.ACTIVE_TAB_PANEL)?g(e):m(e)},[m,g]);e.useEffect(()=>(r&&t.addEventListener(hf.KEY_DOWN,b),()=>{t.removeEventListener(hf.KEY_DOWN,b)}),[t,r,b]);const[v,y]=e.useState(!1);e.useEffect(()=>{v&&(y(!1),window.setTimeout(()=>((e=>e.getElementsByClassName(mf.TAB_MENU)?.[0])(t)??Sf(t))?.focus(),0))},[t,v]),e.useEffect(()=>{n(!1)},[i.edit,n]),e.useEffect(()=>{const e=e=>{const n=e.relatedTarget;t?.contains(n)||n?.classList.contains(mf.TAB_MENU_ITEM)||h?.()};return f.enabled&&f.active&&!i.edit&&(n(!0),y(!0),t.addEventListener(hf.FOCUS_OUT,e)),()=>{t.removeEventListener(hf.FOCUS_OUT,e)}},[f])},kf=t=>{const[n]=e.useState(t);return[n,function(e){Object.assign(n,e)}]},Rf=({isContainerActive:t,activeTabId:n,modifiedLayout:r,renderHelper:o,activeCharts:i,sharedContainerUtilities:a})=>{const l={modifiedLayout:r,activeTabId:n,renderHelper:o,isContainerActive:t},[s,u]=kf(l);u(l);const c=e.useMemo(()=>()=>{const e=Uc(s.modifiedLayout);for(const[t,n]of s.renderHelper.objectMap.entries()){const r=s.isContainerActive&&s.activeTabId===e[t];"setIsActive"in n&&n.setIsActive(r)}},[s]);e.useEffect(()=>{s.isContainerActive&&c()},[o.objectMap,c,s]),e.useEffect(()=>{c()},[t,c]),(({activeCharts:t,onSetActiveCharts:n,canSetActiveChart:r=!0})=>{const[o,i]=kf({onSetActiveCharts:n});i({onSetActiveCharts:n}),e.useEffect(()=>{if(!r)return;const e=e=>{o.onSetActiveCharts(e)};t.on("setActiveCharts",e);const n=t.getActiveCharts();return n.length>0&&e(n),()=>t.removeListener("setActiveCharts",e)},[t,o,r])})({activeCharts:i,onSetActiveCharts:e=>{if(0===e.length)return;const t=s.modifiedLayout.objects.find(t=>t.id===e[0])?.childRefId;t&&t!==s.activeTabId&&a.setSelected(e)}})},_f={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 Lf={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class Tf{sessionObject;constructor(e){this.getOrCreateSessionObject(e).catch(()=>{})}getOrCreateSessionObject=async e=>{const t=Lf.qInfo.qId;this.sessionObject=await e.getObject(t).catch(()=>e.createSessionObject(Lf))};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=>!bc.includes(e.visualization))}catch{return[]}}}let Af=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 Pf{model;embed;app;undoRedoModel;chartList;masterVizList;mutex;constructor({embed:e,model:t,app:n,translator:r,mutex:o}){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 Tf(n)),e&&r&&(this.chartList=new vc(e,r)),this.mutex=o}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};generateProperties=async(e,t)=>await this.embed.generateProperties({type:e,properties:t});async addChild(e,t,n){if(this.model&&!bc.includes(e.visualization))try{await this.mutex.lock();const{model:r}=this,o=async()=>{e.childRefId=_f.id();const o=await r.createChild(e);if(o){const t=await r.getProperties();t.objects.unshift({childRefId:e.childRefId,...n,condition:{qValueExpression:{qExpr:""}}}),await r.setProperties(t)}return t&&o&&await Promise.all(t.map(({qProperty:e})=>o.createChild(e))),o};return await this.rememberAsGroup(o)}catch{return}finally{this.mutex.unlock()}}addVizAsChild=async({type:e,initProps:t,objectInitProps:n,children:r})=>{try{const o=await this.generateProperties(e,t);let i=n?.label||t?.title;if(!i){const n=this.getChart(t?.visualization),r=n?.libraryInfo;i=r?.translation||r?.name||e}const a={...n,label:i};return await this.addChild(o,r,a)}catch{return}};addMasterObjectAsChild=async({initProps:e,objectInitProps:t,children:n})=>{try{if(!e||!e.qExtendsId||!this.app)return;const r=await this.app.getObject(e.qExtendsId),o=await r.getProperties(),i=t?.label||o.title||o.qMetaDef.title,a={...e,qInfo:{qType:"childObject"}},l={...t,label:i};return await this.addChild(a,n,l)}catch{return}};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:r,qProperty:o}=n,i=new Set(e);return n.qChildren=r.filter(({qProperty:e})=>{const t=e.childRefId;return!t||!i.has(t)}),n.qProperty.objects=o.objects.filter(e=>!i.has(e.childRefId)),await t.setFullPropertyTree(n),!0}catch{return!1}finally{this.mutex.unlock()}};moveChild=async(e,t)=>{if(this.model)try{await this.mutex.lock();const n=await this.model.getProperties(),{objects:r}=n,o=r.findIndex(e=>e.childRefId===t);let i=!1;switch(e){case Af.TOP:{if(0===o)break;const e=r.splice(o,1)[0];r.unshift(e),i=!0;break}case Af.BOTTOM:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.push(e),i=!0;break}case Af.UP:{if(0===o)break;const e=r.splice(o,1)[0];r.splice(o-1,0,e),i=!0;break}case Af.DOWN:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.splice(o+1,0,e),i=!0;break}}i&&await this.model.setProperties(n)}finally{this.mutex.unlock()}};getCharts=()=>this.chartList?.getCharts()||{};getMasterVizList=()=>this.masterVizList?.getMasterVisualizations()||Promise.resolve([]);getChart=e=>this.chartList?.getChart(e);getChartLabelById=(e,t)=>{const n=e?.qChildList?.qItems.find(e=>e.qInfo.qId===t);if(!n)return"";const{visualization:r,title:o}=n.qData;if(o)return o;const i=this.getChart(r);return i?.libraryInfo?.translation||r}}class If{locked=!1;tasks=[];id;constructor(e){this.id=e}lock=async()=>this.locked?new Promise(e=>{this.tasks.push(e)}):(this.locked=!0,!0);unlock=()=>{if(this.tasks.length>0){const e=this.tasks.shift();e?.(!0)}else this.locked=!1}}const Of={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}},Mf={index:-1,color:"none",alpha:1},Nf=e=>{let t=parseFloat(e[1]),n=parseFloat(e[3]),r=parseFloat(e[5]);return t%=360,n/=100,r/=100,t=Math.max(0,Math.min(t,360)),n=Math.max(0,Math.min(n,1)),r=Math.max(0,Math.min(r,1)),{h:t,s:n,l:r,v:r}},jf=(e,t,n,r,o=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]+r,a=s[1]+r,l=s[2]+r,i=Math.round(255*i),a=Math.round(255*a),l=Math.round(255*l),`rgba(${i},${a},${l},${o})`},zf=e=>{const{h:t,s:n,l:r}=Nf(e),o=e.length>7?parseFloat(e[7]):1,i=r<=.5?2*r*n:(2-2*r)*n,a=t/60,l=i*(1-Math.abs(a%2-1));return jf(i,l,a,r-.5*i,o)},$f={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 zf(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 zf(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:r}=Nf(e),o=r*n,i=t/60,a=o*(1-Math.abs(i%2-1));return jf(o,a,i,r-o)})(t);if(t=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e),t)return e;if(t=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e),t)return e;const n=e&&Of[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 r=e?.color||Mf;let o;return o=e?.useColorExpression?$f.resolveExpression(e):"string"==typeof r?r:n?.getColorPickerColor(r)||"",o&&"none"!==o?o:t}},Df=()=>xt.jsx(Ic,{viewBox:"0 0 16 16",children:xt.jsx("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"})}),Bf=({libraryInfo:e,style:t,id:n})=>xt.jsx("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:mf.TABS_ICON,children:xt.jsx(e.IconDefinition,{})}),Ff=({style:e,id:t})=>xt.jsx("div",{style:e,"data-testid":"tab-hidden-icon",id:t,children:xt.jsx(Oc,{viewBox:"0 0 16 16",children:xt.jsx("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"})})}),Uf=()=>xt.jsx(Oc,{viewBox:"0 0 16 16",children:xt.jsx("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"})}),Hf=$i(Gu)({width:28,overflow:"hidden"}),Gf=$i(Gu)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),Vf=(e,t)=>e.find(e=>e.childRefId===t),Wf=(e,t)=>!t.edit&&0===e.condition,Yf=e=>{const{objects:t,defaultTabId:n,cachedTabId:r}=e;return r||(n&&t.some(e=>e.childRefId===n)?n:t[0]?.childRefId||"")};class qf{modifiedLayout;themeStyle;style;objectMap;activeTabId;theme;constructor({modifiedLayout:e,themeService:t}){this.modifiedLayout=e,this.activeTabId=Yf(this.modifiedLayout),this.themeStyle=t.getStyles(),this.theme=t.getTheme(),this.objectMap=Hc(this.modifiedLayout),this.style=this.createStyleClasses()}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}`}};getTabWidth=e=>{const t=e?.value,n=e?.unit??"%";if(void 0===t||2!==t.length||"left"===this.modifiedLayout.orientation)return{};return{minWidth:`${t[0]}${n}`,maxWidth:`${t[1]}${n}`}};getColorStyle=(e,t=e)=>{const n=this.resolveComponentStyle({compPath:e,themePath:t});return $f.getColor({style:n,theme:this.theme})??n};getTabBackgroundStyle=(e,t)=>{let n;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});n=$f.getColor({style:e,theme:this.theme})}return n??$f.getColor({style:t,theme:this.theme})};createTabClasses=()=>this.modifiedLayout.objects?.reduce((e,t)=>{const n=t?.childRefId,r=t?.components?.find(e=>"tab"===e.key);return e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}`]={textAlign:lp(r,"label.alignment"),backgroundColor:this.getTabBackgroundStyle(n,r?.background),...this.getTabWidth(r?.width)},e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}:hover`]={..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","background.hover.color")}},e[`#tab-label-${this.modifiedLayout.qInfo.qId}-${n}`]={fontSize:lp(r,"label.fontSize"),fontFamily:lp(r,"label.fontFamily"),color:$f.getColor({style:lp(r,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${n} svg`]={height:lp(r,"icon.size"),color:$f.getColor({style:lp(r,"icon.color"),theme:this.theme})},e},{});createTabsClasses=()=>({[vf]:{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"})},[yf]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value.color")},[gf]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[bf]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[xf]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[Ef]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected.color")}});createStyleClasses=()=>({...this.createTabsClasses(),...this.createTabClasses()});getStyleClasses(){return this.style}resolveComponentStyle=({key:e="tabs",compPath:t,themePath:n=t,defaultValue:r})=>{const o=this.modifiedLayout.components?.find(t=>t.key===e);return lp(o,t)??lp(this.themeStyle,n)??r};getTabStyle(e){return this.objectMap[e].components?.find(e=>"tab"===e.key)}}const Kf=()=>{const t=e.useElement(),n=e.useApp(),r=e.useStaleLayout(),o=e.useEmbed(),i=e.useModel(),a=e.useTranslator(),l=e.useOptions(),s=e.useEmitter(),u=e.useInteractionState(),c=function({theme:e,config:t={}}){const{id:n,resolve:r=[],transform:o=[],extend:i=[]}=t,a={theme:e,matrix:Cp(r),styles:void 0};return a.styles=_p({theme:e,id:n,transform:o,extend:i,matrix:a.matrix}),{getStyles:()=>a.styles,getTheme:()=>a.theme,setTheme:e=>{a.theme=e,a.styles=_p({theme:e,id:n,transform:o,extend:i,matrix:a.matrix})}}}({theme:e.useTheme(),config:{id:"tabbedContainer",resolve:[["object.tabbedContainer","indicator.selected","color"],["object.tabbedContainer","indicator.hover","color"],["object.tabbedContainer","background.hover","color"],["object.tabbedContainer","icon.value","color"],["object.tabbedContainer","icon.value","fontSize"]]}}),d=e.useMemo(()=>new vc(o,a),[o,a]),[p]=e.useState(()=>new If(i.id)),[f,h]=e.useState(!1),m=e.useMemo(()=>o&&i&&n?new Pf({embed:o,model:i,app:n,translator:a,mutex:p}):void 0,[o,i,n,a,p]),g=e.useMemo(()=>Fc(r),[r]),b=e.useMemo(()=>new qf({modifiedLayout:g,themeService:c}),[g,c]);return e.useMemo(()=>({app:n,modifiedLayout:g,embed:o,model:i,emitter:s,interactions:u,dataHandler:m,chartList:d,styleModel:b,mutex:p,options:l,accessibility:f,setAccessibility:h,translator:a,element:t}),[g,o,i,n,s,u,m,d,b,p,l,f,a,t])},Xf=({dataHandler:e,modifiedLayout:t,translator:n,sharedContainerUtilities:r,Icon:o})=>{const[i,a]=y.useState(void 0);if(!e||!t)return null;const l=!t.qExtendsId;return xt.jsx(Rc,{children:xt.jsxs(kc,{children:[xt.jsx(o,{}),l?xt.jsxs(xt.Fragment,{children:[xt.jsx(Pc,{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,children:n.get("LayoutContainer.EmptyList.AddContent")}),xt.jsx(jc,{translator:n,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:r})]}):xt.jsx(ul,{variant:"inherit",children:n.get("LayoutContainer.EmptyList.EmptyHint")})]})})};class Qf{_rendered=new Set;_objectMap=new Map;_objectApis=new Map;_resolver;_dependencyData;_recreateMap=new Map;constructor(e){this._dependencyData=e}set dependencyData(e){this._dependencyData=e}get rendered(){return this._rendered}get objectMap(){return this._objectMap}get objectApis(){return this._objectApis}get resolver(){return this._resolver}get recreateMap(){return this._recreateMap}createTimerForRendering=()=>{if(!this.resolver){let e;const t=setTimeout(()=>{this._dependencyData.options.onRenderStatusUpdate?.("Layout container rendering timeout reached after 90 seconds. Resolving anyway."),this.doResolve()},9e4),n=new Promise(t=>{e=t});this._resolver={promise:n,resolve:e,timer:t}}return this._resolver};doResolve=()=>{this.resolver&&(clearTimeout(this.resolver?.timer),this.resolver.resolve?.(!0),this._resolver=void 0)};tryToResolve=()=>{const{visibleLayoutObjects:e}=this._dependencyData;if(this.resolver){e.every(e=>this.rendered.has(e.id))&&(this._dependencyData.options.onRenderStatusUpdate?.("All layout container children rendered"),this.doResolve())}};syncObjects(e){const t=new Set,n=new Set([...Array.from(this.objectMap.keys()),...Array.from(this.objectApis.keys()),...this.rendered]),r=new Set(n);let o=!1;return e.forEach(e=>{n.has(e.id)?(this.rendered.has(e.id)&&t.add(e.id),r.delete(e.id)):o=!0}),r.forEach(e=>{const t=this.objectMap.get(e);t&&(this.confirmPotentialSelections(t),t.destroy?.(),this.objectMap.delete(e)),this.objectApis.get(e)?.destroy(),this.objectApis.delete(e)}),this._rendered=t,this.tryToResolve(),o}destroy(){for(const e of this.objectApis.values())e.destroy();this._objectMap=new Map,this._objectApis=new Map}saveObject(e,t){this.objectMap.set(e,t)}saveObjectApi(e,t){this._objectApis.set(e,t)}onRendered(e){this._dependencyData.options.onRenderStatusUpdate?.(`Layout container child rendered: ${this.rendered.size+1}/${this._dependencyData.visibleLayoutObjects.length} ${e}`),this.rendered.add(e),this.tryToResolve()}getChildrenObjects(){const{visibleLayoutObjects:e}=this._dependencyData,t=[];return e.forEach(e=>{const n=this.objectMap.get(e.id);n&&t.push(n)}),t}getChildLayout(e){const{modifiedLayout:t}=this._dependencyData;return t.qChildList.qItems.find(t=>t.qInfo.qId===e)}getObjectOptions(e){const{viewState:t,modifiedLayout:n,options:r}=this._dependencyData,{chartAnimations:o,direction:i,progressiveRendering:a,freeResize:l,navigation:s,useQlikEmbedChildRendering:u,getContextMenuParent:c,onContextMenu:d,context:p}=r;return{isReadonly:!1,setController:t=>{this.saveObject(e,t)},onRendered:()=>{this.onRendered(e)},onInitialRender:()=>{this.onRendered(e)},isParentMaster:!!n?.qExtendsId,isSnapshot:!!n.snapshotData,...!!t?.viewStates?.[e]&&{viewState:t?.viewStates[e]},...!!t?.layouts?.[e]&&{layout:t.layouts[e]},direction:i,chartAnimations:o,progressiveRendering:a,freeResize:l,navigation:s,disableThemeBorder:!1,fallbackToClient:r.fallbackToClient,useQlikEmbedChildRendering:u,getContextMenuParent:c,onContextMenu:d,context:p}}confirmPotentialSelections(e){e&&"selectionsApi"in e&&e.selectionsApi.active&&e.selectionsApi.confirm()}}const Zf=({chartObject:e,embed:t,renderHelper:n,direction:r,interactions:o,env:i})=>{const a=y.useRef(null),{id:l}=e;y.useEffect(()=>{if(l&&a.current){const e=n.getObjectOptions(l)||{};e.disableThemeBorder=!0,t.render({id:l,element:a.current,options:e}).then(e=>{n.saveObjectApi(l,e)}).catch(e=>{const t=n.getChildLayout(l)?.qInfo?.qType;console.error("Could not render chart with id",l,t,e)})}},[l,t,n,r]);const s=y.useMemo(()=>()=>{if(e?.id&&i.anything){const t=e?.label,{sense:r}=i.anything,o="current",a=n.objectMap.get(e.id);a&&r.propertyPanel.show({model:a.model,parent:o,headerLabel:t,keepCurrentActiveCell:!0})}},[i,e,n]);return y.useEffect(()=>{const e=a?.current;return e&&o?.edit&&e.addEventListener("dblclick",s),()=>{e?.removeEventListener("dblclick",s)}},[a,s,o]),xt.jsx("div",{ref:a,style:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`})};let Jf=function(e){return e.TABS_HEIGHT="36px",e}({});const eh=({charts:e,handleChangeTab:t,activeTabId:n,element:r,translator:o,accessibility:i,disabled:a})=>{const[l,s]=x.useState(null),u=Boolean(l),c=()=>{s(null)},d=y.useCallback(e=>{e?.focus()},[]);return xt.jsxs(xt.Fragment,{children:[xt.jsx(Wl,{onClick:e=>{s(e.currentTarget)},disabled:a,"aria-haspopup":"menu","data-testid":"chartTabMenuDropdownButton",tabIndex:i?0:-1,"aria-label":o.get("Container.Label.Visualizations"),className:mf.TAB_MENU,sx:{m:"2px"},children:xt.jsx(Uf,{})}),xt.jsx(Cu,{anchorEl:l,open:u,onClose:c,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},MenuListProps:{sx:{py:0}},slotProps:{paper:{sx:{maxHeight:"500px",maxWidth:"500px"}}},children:e.map(e=>xt.jsx(Tu,{className:mf.TAB_MENU_ITEM,ref:n===e.childRefId&&u?d:null,onClick:()=>{(e=>{t(e.childRefId),c(),window.setTimeout(()=>{r.getElementsByClassName(mf.ACTIVE_TAB_PANEL)?.[0]?.focus()},0)})(e)},sx:n===e.childRefId?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{},"aria-label":e.label,title:e.label,children:xt.jsx(ul,{variant:"inherit",noWrap:!0,children:e.label})},`chartTabMenu-${e.childRefId}`))})]})},th=({label:e,id:t})=>xt.jsx(jl,{className:mf.TAB_LABEL,id:`tab-label-${t}`,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",overflow:"hidden",flexWrap:"wrap"},children:xt.jsx("span",{style:{width:"100%",overflowWrap:"break-word",hyphens:"auto",fontWeight:"bold",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",lineHeight:"normal",overflow:"hidden"},children:e})}),nh=({libraryInfo:e,chart:t,iconPosition:n,id:r})=>{let o;switch(n){case"bottom":o={marginTop:"6px"};break;case"top":o={marginBottom:"6px"};break;case"end":o={marginInlineStart:"8px"};break;default:o={marginInlineEnd:"8px"}}o.display="flex",o.alignItems="center",o.height="100%",o.flex="1 0 0";return 0===t.condition?xt.jsx(Ff,{id:`${mf.TABS_ICON}-${r}`,style:o}):e?xt.jsx(Bf,{id:`${mf.TABS_ICON}-${r}`,libraryInfo:e,style:o}):null},rh=({models:e,activeTabId:t,handleChangeTab:n})=>{const{modifiedLayout:r,chartList:o,interactions:i,accessibility:a}=e,l=o?.getCharts(),s=r.objects.filter(e=>!Wf(e,i)),{orientation:u,tabContainerStyle:c,ScrollButtonComponent:d}=(({orientation:e})=>"left"===e?{orientation:"vertical",tabContainerStyle:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"25%",flexShrink:0},ScrollButtonComponent:Gf}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:Hf})(r),p=!1===i.active&&!i.edit,[f,h]=y.useState(!1),m=y.useCallback(e=>{if(e){const t=e.getElementsByClassName("MuiTabs-flexContainer")[0];if(t)return void h("vertical"===u?t.scrollHeight>t.offsetHeight:t.scrollWidth>t.offsetWidth)}h(!1)},[u]);return xt.jsxs(jl,{className:mf.TAB_WRAPPER,sx:c,ref:e=>{m(e)},children:[r.useDropdown&&f?xt.jsx(eh,{charts:s,handleChangeTab:n,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}):null,xt.jsx(rc,{value:t,onChange:(e,t)=>{n(t)},ScrollButtonComponent:d,variant:"scrollable",orientation:u,scrollButtons:!!r.useScrollButton&&"auto",TabScrollButtonProps:{...p&&{disabled:!0}},sx:{height:"100%",width:"100%",minHeight:Jf.TABS_HEIGHT},children:s.map(n=>{const o=Bc(r,n.childRefId)?.qData?.visualization,i=o&&l?.[o]?.libraryInfo,s=e.styleModel.getTabStyle(n.childRefId),c=0===n.condition||r.showIcons&&i&&!1!==s?.icon?.show,d="vertical"===u?"top":"start",f=e.styleModel.resolveComponentStyle({compPath:"icon.position",defaultValue:d}),h=e.styleModel.resolveComponentStyle({compPath:"label.show"}),m=n.label&&(s?.label?.show??!1!==h),g=`${r.qInfo.qId}-${n.childRefId}`;return xt.jsx(Mu,{className:`${mf.TAB} ${t===n.childRefId?mf.ACTIVE_TAB:""}`,disabled:p,id:`tab-${g}`,value:n.childRefId,title:n.label,label:m?xt.jsx(th,{label:n.label,id:g}):void 0,icon:c?xt.jsx(nh,{libraryInfo:i,chart:n,iconPosition:f,id:g}):"",iconPosition:f,"data-testid":`container-tab-${n.childRefId}`,sx:{textAlign:"vertical"!==u||r.showIcons?"center":"start",minWidth:"vertical"===u?"100%":void 0,minHeight:Jf.TABS_HEIGHT,padding:"6px 16px","&:hover":{paddingBottom:"4px"},"&.Mui-disabled":{opacity:"inherit"}},"aria-label":n.label,"aria-controls":`tab-panel-${g}`,tabIndex:a&&t===n.childRefId?0:-1},n.childRefId)})})]})},oh=({models:e,renderHelper:t,activeTabId:n,handleChangeTab:r,env:o})=>{const{modifiedLayout:i,embed:a,interactions:l,options:s,styleModel:u,accessibility:c}=e,d=i.objects,p=l.edit||!!d.find(e=>0!==e.condition),f=i.showTabs&&p,h="left"===i.orientation?"row":"column",m=u.getStyleClasses();return xt.jsxs(jl,{sx:{display:"flex",flexDirection:h,height:"100%",width:"100%",direction:s.direction,...m},children:[f?xt.jsx(rh,{models:e,activeTabId:n,handleChangeTab:r}):null,d.map(e=>{const r=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,u=n===e.childRefId&&!Wf(e,l);return xt.jsx(jl,{role:"tabpanel",id:r,"aria-label":e.label,sx:{flex:"1 1 auto",minHeight:0,width:"100%",padding:"2px",boxSizing:"border-box",direction:"ltr","&:focus-visible":{boxShadow:"inset 0 0 0 2px #0275D9",borderRadius:"3px",zIndex:1200}},...u?{className:mf.ACTIVE_TAB_PANEL,tabIndex:c?0:-1}:{hidden:!0},children:u?xt.jsx(Zf,{chartObject:e,renderHelper:t,direction:s.direction,embed:a,interactions:l,env:o}):null},r)})]})};let ih=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),ah=function(e){return e.COPY="copy",e.PASTE_AND_REPLACE="paste-and-replace",e.PASTE="paste",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.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_OLD_ID="explainKeyDrivers",e.EXPLAIN_KEY_DRIVERS="key-driver",e.SUBSCRIBE="subscribe",e.NOTES_GROUP="notesGroup",e.DOWNLOAD="download",e.SHARE_IMAGE="share",e}({});const lh=[ah.PASTE_AND_REPLACE,ah.ZOOM_IN,ah.VISUAL_EXPLORATION],sh=[ah.VISUAL_EXPLORATION,ah.ALERT_GROUP,ah.SHOW_DETAILS,ah.EXPLAIN_KEY_DRIVERS,ah.EXPLAIN_KEY_DRIVERS_OLD_ID],uh=[ah.DELETE,ah.CUT,ah.ADD_TO_MASTER_ITEMS,ah.UNLINK_VISUALIZATION],ch=[ah.PASTE_AND_REPLACE],dh=(e,t)=>{const{childRefId:n}=e.model.layout,r=t.objects.find(e=>e.childRefId===n);return{...e,additionalData:{label:r?.label}}},ph=(e,t,n,r,o)=>{const i=t.getSupportFunction(ah.COPY);if(!i)return void e.deleteItem(ah.COPY);const a=()=>{i(dh(n,r)).catch(()=>{})},l=e.items.find(e=>e.id===ah.COPY);if(l)l.updateItem({select:a});else if(o){const t=e.items.findIndex(e=>e.id===ah.CUT),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:ah.COPY,id:ah.COPY,icon:"copy",select:a,items:[]},n)}},fh=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,hh=async(e,t,n,r,o)=>{if(o.flags.isEnabled("GVC_48_CHART_CONTEXT_MENU_ITEM_GENERATION"))return;const i=t.getBuilder("default");if(!i)return;const a=await i();a.addItem({translation:"contextMenu.containerOptionsHeader",tid:ah.CONTAINER_HEADER,id:ah.CONTAINER_HEADER,bold:!0,items:[]},0);const l=fh(n);a.items.forEach(e=>{(sh.includes(e.id)||!l&&ch.includes(e.id))&&a.deleteItem(e.id)}),l&&await(async(e,t,n)=>{const r=t.getSupportFunction(ih.PASTE),o=await(r?.()?.catch(()=>{}));if(!o||bc.includes(o.template))return void e.deleteItem(ah.PASTE_AND_REPLACE);const i=()=>{n()},a=e.items.find(e=>e.id===ah.PASTE_AND_REPLACE||e.id===ah.PASTE);if(a)a.updateItem({translation:"contextMenu.paste",select:i});else{const t=e.items.findLastIndex(e=>e.id===ah.COPY||e.id===ah.DEVELOPER||e.id===ah.CONTAINER_HEADER),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:ah.PASTE_AND_REPLACE,id:ah.PASTE_AND_REPLACE,icon:"paste",select:i,items:[]},n)}})(a,t,r),e.updateItem({items:a.items}),1===e.items.length&&e.deleteItem(ah.CONTAINER_HEADER)},mh=e=>{const t={[ah.MONITOR_IN_HUB]:!0,[ah.SUBSCRIBE]:!0,[ah.NOTES_GROUP]:!0,[ah.DOWNLOAD]:!0,[ah.SHARE_IMAGE]:!0};e.items.forEach(n=>{t[n.id]?e.deleteItem(n.id):n.items&&mh(n)})},gh=(e,t,n,r,o,i)=>a=>{const{dataHandler:l,modifiedLayout:s}=r;if(fh(r)){n.isInvalid||(((e,t,n,r)=>{const{model:o,modifiedLayout:i}=n,a=e.items.findLastIndex(e=>e.id===ah.CHART_HEADER||e.id===ah.REORDER_LAYERS_GROUP),l=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:ah.EDIT_PROPERTIES,id:ah.EDIT_PROPERTIES,icon:ah.EDIT_PROPERTIES,items:[],select:()=>{const{childRefId:e}=t.model.layout,n=i.objects.find(t=>t.childRefId===e),a=n?.label,{sense:l}=r.anything,s=o;l.propertyPanel.show({model:t.model,parent:s,headerLabel:a})}},l)})(a,n,r,o),((e,t,n,r,o,i)=>{const a=r.getSupportFunction(ah.COPY);if(!a)return void e.deleteItem(ah.CUT);const l=()=>{o&&a(dh(n,i)).then(async()=>{await(o?.deleteChildren([t]))}).catch(()=>{})},s=e.items.find(e=>e.id===ah.CUT);if(s)s.updateItem({select:l});else{const t=e.items.findLastIndex(e=>e.id===ah.ADD_TO_MASTER_ITEMS||e.id===ah.UNLINK_VISUALIZATION||e.id===ah.EDIT_PROPERTIES||e.id===ah.REORDER_LAYERS_GROUP||e.id===ah.DEVELOPER),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:ah.CUT,id:ah.CUT,icon:"cut",select:l,items:[]},n)}})(a,t,n,e,l,s),ph(a,e,n,s,!0),((e,t,n,r,o)=>{const i=t.getSupportFunction(ih.COPY),a=t.getSupportFunction(ih.PASTE);if(!i||!a)return void e.deleteItem(ah.DUPLICATE);const l=()=>{i(dh(n,r)).then(()=>{o()}).catch(()=>{})},s=e.items.find(e=>e.id===ah.DUPLICATE);if(s)s.updateItem({select:l});else{const t=e.items.findIndex(e=>e.id===ah.COPY),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:ah.DUPLICATE,id:ah.DUPLICATE,icon:ah.DUPLICATE,items:[],select:l},n)}})(a,e,n,s,i)),((e,t,n)=>{const r=()=>{n&&n.deleteChildren([t]).catch(()=>{})},o=e.items.find(e=>e.id===ah.DELETE);if(o)o.updateItem({select:r});else{const t=e.items.findLastIndex(e=>e.id===ah.DUPLICATE||e.id===ah.ADD_TO_MASTER_ITEMS||e.id===ah.UNLINK_VISUALIZATION||e.id===ah.REORDER_LAYERS_GROUP||e.id===ah.DEVELOPER),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:ah.DELETE,id:ah.DELETE,icon:"bin",items:[],select:r},n)}})(a,t,l)}else ph(a,e,n,s,!1)},bh=(t,n,r,o)=>{e.onContextMenu(async(e,i,a)=>{if(!a)return!1;const l=((e,t)=>()=>{if(!e)return;const n=t.getSupportFunction(ih.PASTE);n&&n().then(async({template:t,init:n,children:r,additionalData:o})=>{const{label:i}=o,a={label:i};n.qExtendsId?await e.addMasterObjectAsChild({initProps:n,children:r,objectInitProps:a}):await e.addVizAsChild({type:t,initProps:n,children:r,objectInitProps:a})}).catch(e=>{e&&t.getSupportFunction(ih.RESET_COPY_BUFFER)})})(r.dataHandler,a);if(await hh(e,a,r,l,o),mh(e),!(e=>{let t;t="qv-radial-contextmenu"===e.type?e.touches[0]?.target:e.target;return t&&((e,t)=>{let n=e;for(;n;){if(n.classList?.contains(t))return n;n=n.parentNode}return null})(t,mf.ACTIVE_TAB_PANEL)})(i))return!0;const s=r.modifiedLayout.objects.find(e=>e.childRefId===t)?.id;if(!s)return!0;const u=n.objectMap.get(s);if(!u)return!0;const c=gh(a,t,u,r,o,l),d=await(async(e,t,n,r)=>{const o=fh(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:ah.CHART_HEADER,id:ah.CHART_HEADER,bold:!0,items:[]},0),r(a),a.items.forEach(e=>{(lh.includes(e.id)||!o&&uh.includes(e.id))&&a.deleteItem(e.id)}),1===a.items.length&&a.deleteItem(ah.CHART_HEADER),a})(a,u,r,c);return!d||(e.items.length>0&&d.addItem({translation:"contextMenu.subMenuContainerOptions",tid:"tabbed-container-menu",id:"tabbed-container-menu",icon:"tabbed-container",items:[...e.items]},d.items.length),e.updateItem({items:d.items}),!0)})},vh=({element:t,models:n,env:r,activeCharts:o})=>{const i=((t,n)=>{const[r,o]=e.useState(void 0);return e.useEffect(()=>{if(0===t.getElementsByClassName(n).length){const e=document.createElement("div");e.className=n,t.appendChild(e);const r=Ec.createRoot(e);o(r)}return()=>{r?.unmount()}},[t,n,r]),r})(t,"init-component"),{options:a,modifiedLayout:l,interactions:s,model:u}=n,{qChildList:c}=l,d=mc(a.direction),p=(t=>{const{viewState:n}=e.useOptions(),{snapshotData:r}=t;if(r){const{layouts:e}=r.objectsData,t=r.viewState?.viewStates;return{layouts:e,viewStates:t}}if(n){const{viewStates:e}=n;return{viewStates:e}}})(l),f=e.useMemo(()=>Yf(l),[l]),h={modifiedLayout:l,activeTabId:f,env:r},[m,g]=kf(h);g(h);const b=e.useMemo(()=>l.objects.filter(e=>f===e.childRefId),[f,l.objects]),{renderHelper:v}=(t=>{const{visibleLayoutObjects:n,options:r}=t,[o]=e.useState(()=>new Qf(t)),[,i]=e.useState(r);return o.dependencyData=t,e.usePromise(async()=>(i(e=>(e!==r&&n.forEach(e=>o.recreateMap.set(e.id,!0)),r)),o.syncObjects(n)?o.createTimerForRendering()?.promise:o.resolver?.promise),[n,r]),e.useEffect(()=>()=>{o.destroy()},[o]),{renderHelper:o}})({modifiedLayout:l,visibleLayoutObjects:b,viewState:p,options:a});bh(f,v,n,r);const[y]=e.useState({current:void 0}),x=e.useMemo(()=>e=>{(async({model:e,patchList:t})=>{if(e?.applyPatches){const n=await e.getEffectiveProperties(),r=[];t.forEach(e=>{const{newValue:t,propertyName:o}=e,i=void 0!==n[o]?"Replace":"Add";t?r.push({qPath:`/${o}`,qOp:i,qValue:JSON.stringify(t)}):"Replace"===i&&r.push({qPath:`/${o}`,qOp:"Remove"})}),r.length>0&&await e.applyPatches(r,!0)}})({model:u,patchList:[{newValue:e,propertyName:"cachedTabId"}]}).then(()=>{const t=m.modifiedLayout.objects.find(t=>t.childRefId===e)?.id;o.updateActiveCharts(t?[t]:[])})},[o,u,m.modifiedLayout.objects]),E=e.useMemo(()=>({setSelected:e=>{const t=m.modifiedLayout.objects.find(t=>t.id===e[0])?.childRefId;t?x(t):y.current=e[0]}}),[x,m,y]);e.useEffect(()=>{const e=(({chartObjects:e,activeTabId:t})=>!Vf(e,t)&&e.length>0?e[0]?.childRefId:t)({chartObjects:m.modifiedLayout.objects,activeTabId:m.activeTabId});if(e!==m.activeTabId)x(e);else if(y.current){const e=m.modifiedLayout.objects.find(e=>e.id===y.current)?.childRefId;e&&x(e)}y.current=void 0},[l?.objects.length,m,y,x]),e.useEffect(()=>{const e=(({chartObjects:e,activeTabId:t,interactions:n})=>{const r=Vf(e,t);if(!r||Wf(r,n)){const n=e.find(e=>0!==e.condition);return n?.childRefId||t}return t})({chartObjects:m.modifiedLayout.objects,activeTabId:m.activeTabId,interactions:s});e!==m.activeTabId&&x(e)},[s,l?.objects,m,x]);const S=0===c.qItems.length&&s.edit;return e.useEffect(()=>{i?.render(xt.jsxs(Bi,{theme:d,children:[S?xt.jsx(Xf,{Icon:Df,dataHandler:n.dataHandler,modifiedLayout:n.modifiedLayout,translator:n.translator,sharedContainerUtilities:E}):null,!S&&xt.jsx(oh,{models:n,renderHelper:v,activeTabId:f,handleChangeTab:x,env:r})]}))},[i,n,d,S,v,f,E,x,r]),{renderHelper:v,sharedContainerUtilities:E,activeTabId:f}};var yh={targets:[]};const xh={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("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".init-component {\n height: 100%;\n overflow: hidden;\n}\n");const Eh=(e,t)=>{let n=!0;const r=t.objects.reduce((t,r)=>{const o=r.id;if(0!==r.condition){const i=e.get(o);return i&&(e=>e.supportExport())(i)&&(n=!1,t.objectMap.set(o,i)),t.objects.push(r),t}return t},{objects:[],objectMap:new Map});return n?{objects:[],objectMap:new Map}:r};return function(t){const n=new gc({translator:t.translator});return{qae:{properties:xh,data:yh},ext:sf({env:t,propertyHandlerData:n}),component(){const r=Kf(),i=e.useTranslator();e.useMemo(()=>{!function(e){if(e&&e.get&&e.add){const t="LayoutContainer.EmptyList.AddContent";if(e.get(t)!==t)return;Object.keys(o).forEach(t=>{e.add(o[t])})}}(i)},[i]);const{dataHandler:a,model:s,accessibility:u,setAccessibility:c,interactions:d,element:p,modifiedLayout:f}=r,h=e.useMemo(()=>function(){const e=new l.EventEmitter;let t=[];return e.updateActiveCharts=n=>{t=n.slice(),e.emit("activeChartsChange",t.slice())},e.setActiveCharts=n=>{t=n.slice(),e.emit("setActiveCharts",t.slice())},e.getActiveCharts=()=>[...t],e}(),[]),{renderHelper:m,sharedContainerUtilities:g,activeTabId:b}=vh({element:p,models:r,env:t,activeCharts:h});(({propertyHandlerData:t,element:n,sharedContainerUtilities:r,translator:o,containerId:i,dataHandler:a,renderHelper:l,chartList:s})=>{const u=e.useOptions();i&&t.sync({containerId:i,element:n,sharedContainerUtilities:r,translator:o,dataHandler:a,renderHelper:l,chartList:s}),e.useEffect(()=>{t.setMuiTheme(u.direction)},[u.direction,t]),e.useEffect(()=>()=>{i&&t.destroy(i)},[i,t,u.direction])})({containerId:s?.id||"",element:p,sharedContainerUtilities:g,translator:i,dataHandler:a,propertyHandlerData:n,renderHelper:m});const[v,y]=e.useState(!0);Rf({isContainerActive:v,activeTabId:b,renderHelper:m,modifiedLayout:f,activeCharts:h,sharedContainerUtilities:g}),Cf({element:p,accessibility:u,setAccessibility:c,renderHelper:m,interactions:d,env:t,models:r});const{getViewState:x}=pf(m,Eh);e.useImperativeHandle(()=>({getViewState:x,getChildrenObjects:()=>(e=>e.map(e=>{if("canReceive"in e){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}))(m.getChildrenObjects()),updateActiveState(e){y(e)},activeCharts:h}),[])}}}});
98
+ e.exports=function(e,t){if(!e||isNaN(+t))return t;var n,r,o,i,a,l,s,u,c,d,p=e.length,f=e.search(/[0-9\-\+#]/),h=f>0?e.substring(0,f):"",m=e.split("").reverse().join(""),g=m.search(/[0-9\-\+#]/),b=p-g,v=e.substring(b,b+1),y=b+("."===v||","===v?1:0),x=g>0?e.substring(y,p):"";if(n=(t="-"===(e=e.substring(f,y)).charAt(0)?-t:+t)<0?t=-t:0,o=(r=e.match(/[^\d\-\+#]/g))&&r[r.length-1]||".",i=r&&r[1]&&r[0]||",",e=e.split(o),t=+(t=t.toFixed(e[1]&&e[1].length))+"",l=e[1]&&e[1].lastIndexOf("0"),(!(u=t.split("."))[1]||u[1]&&u[1].length<=l)&&(t=(+t).toFixed(l+1)),c=e[0].split(i),e[0]=c.join(""),(a=e[0]&&e[0].indexOf("0"))>-1)for(;u[0].length<e[0].length-a;)u[0]="0"+u[0];else 0===+u[0]&&(u[0]="");if((t=t.split("."))[0]=u[0],s=c[1]&&c[c.length-1].length){for(m="",b=(d=t[0]).length%s,p=d.length,y=0;y<p;y++)m+=d.charAt(y),!((y-b+1)%s)&&y<p-s&&(m+=i);t[0]=m}return t[1]=e[1]&&t[1]?o+t[1]:"","0"!==(r=t.join(""))&&""!==r||(n=!1),h+(n?"-":"")+r+x}},bp({exports:{}});const vp="'Source Sans Pro', 'Arial', 'sans-serif'",yp="#333333",xp="#595959",Ep="#737373",Sp="#cccccc",wp="#e6e6e6";function Cp(e){const t={};return[...e,["","","color"],["object","","fontFamily"],["object","axis.label.name","color",xp],["object","axis.label.name","fontFamily",vp],["object","axis.label.name","fontSize","12px"],["object","axis.line.major","color",Sp],["object","axis.line.minor","color",wp],["object","axis.title","color"],["object","axis.title","fontFamily",vp],["object","axis.title","fontSize","13px"],["object","grid.line.highContrast","color",wp],["object","grid.line.major","color",Sp],["object","grid.line.minor","color",wp],["object","label.value","color",xp],["object","label.value","fontFamily",vp],["object","label.value","fontSize","12px"],[!1,"label.value","darkColor",xp],[!1,"label.value","lightColor",wp],["object","outOfRange","color","#999"],["object","legend.title","color",yp],["object","legend.title","fontFamily",vp],["object","legend.title","fontSize","15px"],["object","legend.label","color",xp],["object","legend.label","fontFamily",vp],["object","legend.label","fontSize","13px"],["object","referenceLine.label.name","color",yp],["object","referenceLine.label.name","fontFamily",vp],["object","referenceLine.label.name","fontSize","12px"],["object","referenceLine.outOfBounds","color",wp],["object","referenceLine.outOfBounds","fontFamily",vp],["object","referenceLine.outOfBounds","fontSize","12px"],["object","referenceLine.outOfBounds","backgroundColor",Ep,e=>"transparent"===e?Ep:e]].reduce((e,n)=>{const r=`${n[0]}-${n[1]}-${n[2]}}`;return t[r]||(t[r]=!0,e.push(n)),e},[]).sort((e,t)=>(e[0].split?e[0].split(".").length:0)-(t[0].split?t[0].split(".").length:0))}const kp="object",Rp=e=>e;function _p({theme:e,id:t,transform:n,extend:r,matrix:o}){const i={},a=n.reduce((e,t)=>{const[n,r]=t;return e[n]=r,e},{});return o.forEach(n=>{const[r,o,l,s,u=e=>e]=n,c=function({theme:e,base:t,path:n,attribute:r,defaultValue:o}){if(!e||!1===t)return o;const i=e.getStyle(t,n,r);return void 0===i?o:i}({theme:e,base:r===kp&&t?`${kp}.${t}`:r,path:o,attribute:l,defaultValue:s}),d=(a[`${o}.${l}`]||Rp)(u(c));up(i,[o,l].filter(Boolean).join("."),d)}),r.forEach(e=>{const[t,n]=e;up(i,t,n)}),i}const Lp={qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",containerChildId:"/containerChildId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition",visible:"/visible"}};function Tp(e){if(!e.objects)return{};const t=Hc(e);return{container_id:e.qInfo.qId,objects:e.qChildList.qItems.map(n=>({chart_type:n.qData.visualization,chart_id:n.qInfo.qId,chart_isMaster:!!n.qData.qExtendsId,tab_isVisible:0!==t[n.qData.childRefId]?.condition&&!1!==t[n.qData.childRefId]?.visible,tab_isActive:n.qData.childRefId===e.cachedTabId}))}}const Ap=({ref:e,theme:t,change:n})=>({component:"inline-wrapper",items:{bgColorDropdown:{ref:`${e}.useColorExpression`,width:9,component:"dropdown",change(t){(lp(t,`${e}.color`)||lp(t,`${e}.colorExpression`))&&(up(t,`${e}.color`,void 0),up(t,`${e}.colorExpression`,void 0)),n?.(t)},options:[{value:!1,translation:"properties.colorMode.primary"},{value:!0,translation:"properties.colorMode.byExpression"}],defaultValue:!1,placeholder:"properties.colorMode.primary"},bgColorPicker:{component:"color-picker",ref:`${e}.color`,width:3,show:t=>!lp(t,`${e}.useColorExpression`),disableNone:!1,defaultValue:()=>({color:t?.getStyle("object.tabbedContainer",e,"color")??"none"}),showAlpha:!0,change:e=>{n?.(e)}},bgColorExpression:{component:"input-field-expression",ref:`${e}.colorExpression`,show:t=>lp(t,`${e}.useColorExpression`)}}}),Pp=({theme:e})=>({bgColorAllWrapper:Ap({ref:"background.unselected"}),selectedTab:{translation:"properties.chartType.selected",component:"text"},bgColorSelectedWrapper:Ap({ref:"background.selected"}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Ap({ref:"background.hover",theme:e,change:e=>{up(e,"indicator.hover.color",lp(e,"background.hover.color")),up(e,"indicator.hover.useColorExpression",lp(e,"background.hover.useColorExpression"))}})},show:(e,t)=>"left"===t.layout.orientation}}),Ip=({paths:e,fontResolver:t,theme:n})=>{const r=`${e.theme}.fontSize`;return{fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.size`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r),show:e=>!1!==e.icon?.show},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color:n.getStyle("object.tabbedContainer",e.theme,"color")}),show:e=>!1!==e.icon?.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}}},Op=({theme:e})=>({colorWrapper:Ap({ref:"indicator.selected",theme:e}),colorHoverWrapper:{component:"items",items:{hoverLabel:{translation:"Object.TabbedContainer.Hover",component:"text"},hover:Ap({ref:"indicator.hover",theme:e,change:e=>{up(e,"background.hover.color",lp(e,"indicator.hover.color")),up(e,"background.hover.useColorExpression",lp(e,"indicator.hover.useColorExpression"))}})},show:(e,t)=>"left"!==t.layout.orientation}}),Mp=({paths:e,fontResolver:t,theme:n})=>{const r=`${e.theme}.fontFamily`,o=`${e.theme}.fontSize`;return{fontFamilyItem:{component:"dropdown",ref:`${e.ref}.fontFamily`,options:()=>t.getOptions(r),defaultValue:()=>t.getDefaultValue(r),change:(e,t,n)=>{const r=e.label?.fontFamily,o=(e=>{const t=[];return e.objects.forEach(e=>{const n=e.components?.find(e=>"tab"===e.key),r=n?.label?.fontFamily;r&&-1===t.indexOf(r)&&t.push(r)}),t})(n);r&&-1===o.indexOf(r)&&o.push(r),n.fontsUsed=o}},fontWrapperItem:{component:"inline-wrapper",items:{fontSizeItem:{component:"dropdown",ref:`${e.ref}.fontSize`,options:()=>t.getOptions(o),defaultValue:()=>t.getDefaultValue(o)},fontColorItem:{component:"color-picker",width:!1,ref:`${e.ref}.color`,defaultValue:()=>({color: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}}},Np=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"Object.Container.Props.Label",component:"panel-section",items:{label:{component:"items",ref:e,key:t,items:Mp({paths:{ref:"label",theme:"label.value"},fontResolver:n,theme:r})}}}),jp=({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=>{if(void 0!==e.width?.value&&"%"===e.width?.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=>"px"===e.width?.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=>!e.width?.unit||"px"!==e.width?.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:Op({theme:e})}}}),$p=({ref:e,key:t,fontResolver:n,theme:r})=>({translation:"properties.icon",component:"panel-section",items:{icon:{component:"items",ref:e,key:t,items:Ip({paths:{ref:"icon",theme:"icon.value"},fontResolver:n,theme:r})}},show:(e,{layout:t})=>t.showIcons}),Dp=({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:Ap({ref:"background"})}:Pp({theme:e})}}}),Bp=({fontResolver:e,theme:t})=>{const n="components",r="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:Np({ref:n,key:r,fontResolver:e,theme:t}),width:{...jp({ref:n,key:r}),show:(e,{layout:t})=>"left"!==t.orientation},icon:$p({ref:n,key:r,fontResolver:e,theme:t}),background:Dp({ref:n,key:r,theme:t})}}},Fp={ref:"label",type:"string",translation:"Object.Container.Props.Label",defaultValue:"",expression:"optional"},Up={ref:"condition",translation:"Object.Container.Props.ShowCondition",component:"expression",defaultValue:{qValueExpression:{qExpr:""}},expressionType:"ValueExpression",expression:"always"},Hp=(e,t)=>"object"==typeof e.label?t.objects.find(t=>t.childRefId===e.childRefId)?.label||e.label.qValueExpression.qExpr:e.label,Gp=e=>({component:"button",translation:"Object.Container.Props.EditProperties",disabled:(e,t)=>{const n=t.getLayout(),r=Bc(n,e.childRefId)?.qMeta;return!r?.privileges?.includes("update")||!n.permissions?.update},action(t,n,{app:r}){const{sense:o}=e.env.anything,i=n.getEngineId(t.childRefId);i&&(o.propertyPanel.show({id:i,app:r,parent:"current",headerLabel:Hp(t,n.getLayout())}),n.setSelectedChild([i]))}}),Vp=e=>{const{sense:t}=e.env.anything;return{label:Fp,condition:Up,styling:Bp({fontResolver:e.fontResolver,theme:t?.theme}),editProperties:Gp(e)}},Wp={translation:"Object.Container.Props.Chart",component:"text",show:e=>e.objects?e.objects.length<=1:e.children.length<=1},Yp={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 r=document.querySelector(".pp-toplist-add-button");null!==r&&n.openAddChildPopover(r)},remove(e,t,n){n.deleteChild(e.childRefId).catch(()=>{})},items:Vp(e)}),Kp=e=>({type:"items",translation:"Object.Container.Props.Content",items:{chartLabel:Wp,chartsLabel:Yp,chartList:qp(e)}}),Xp={type:"boolean",translation:"Object.Container.Props.ShowTabs",ref:"showTabs",defaultValue:!0,component:"switch",options:[{value:!0,translation:"properties.on"},{value:!1,translation:"properties.off"}]},Qp={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},Zp={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},Jp={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},ef={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=Gc(t.getLayout(),e.defaultTabId);n&&t.setSelectedChild([n])},show:e=>e.objects.length>0},tf={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},nf=({fontResolver:e,theme:t})=>{const n="components",r="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:Np({ref:n,key:r,fontResolver:e,theme:t}),width:jp({ref:n,key:r}),indicator:zp({ref:n,key:r,theme:t}),icon:$p({ref:n,key:r,fontResolver:e,theme:t}),background:Dp({ref:n,key:r,theme:t})}}},rf={items:{details:{show:e=>!0===e.showDetails}}},of=e=>{const{sense:t}=e.env.anything;return{type:"items",translation:"properties.presentation",grouped:!0,items:{stylingPanel:nf({fontResolver:e.fontResolver,theme:t?.theme}),container:{type:"items",items:{showTabs:Xp,useDropdown:Qp,useScrollButton:Zp,showIcons:Jp,orientation:tf,defaultTabId:ef}}}}},af=e=>({uses:"settings",items:{general:rf,presentation:of(e)}}),lf=e=>({type:"items",component:"accordion",items:{content:Kp(e),settings:af(e)}}),sf=e=>{const{sense:t}=e.env.anything,n=function({theme:e,translator:t,config:n={}}){const{id:r,paths:o}=function({config:e={}}){const{id:t,paths:n}=e;return{id:void 0===t?Wc:`${Wc}.${t}`,paths:Array.isArray(n)?n:[]}}({config:n}),i={};o.forEach(n=>{const o=n.split(".");td(o);let a=i;for(let i=0;i<o.length;i++){const l=o[i];i===o.length-1?a[l]=Jc({theme:e,translator:t,id:r,path:n}):void 0===a[l]&&(a[l]={}),a=a[l]}});const a=e=>{const t=e.split(".");td(t);let n=i;for(let r=0;r<t.length;r++){const o=t[r];if(void 0===n[o])throw new Error(`font-resolver: Path '${e}' could not be resolved.`);n=n[o]}return n};return i.getDefaultValue=e=>a(e).getDefaultValue(),i.getOptions=e=>a(e).getOptions(),i}({theme:t?.theme,translator:e.env.translator,flags:e.env.flags,config:{id:"tabbedContainer",paths:["label.value","icon.value"]}}),r=function(e){return{async getDropOptions(e,t,n){const{item:r}=t,o=e.getCreatePropertyHandler();if(o.setModel(e.model),"state"===t.item.type){const r=await e.model.getProperties();return o.setProperties(r),o.setLayout(e.model?.layout),this.getDropStateOptions(t,o,e.model,n)}if("visualization"===r.type)return t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"addvisualization",select(){o.addChild({initProps:{qExtendsId:r.id,qInfo:{qType:"undefined"}}})?.then(e=>{e&&o.setSelectedChild([e.id])})}}),void n();const i=await t.item.getDropOption(t.item);"newObject"===i?.id&&t.menu.addItem({translation:["Object.Container.DropItem",r.name],tid:"createvisualization",select(){o.addChild({initProps:{...i.args.init,visualization:i.args.template},children:i.args.children?.map(e=>({qProperty:e}))})?.then(e=>{e&&o.setSelectedChild([e.id])})}}),n()},async addChild(t,n){const{model:r}=this,o=new Vc({app:r.app,data:e.propertyHandlerData});return o.setModel(r),{childModel:await o.addChild({initProps:t,children:n}),handler:o}},canReceive(e){if(this.model.layout.qExtendsId)return!1;if("libraryitem"===e.type){const{item:t}=e;if("template"===t.type&&bc.includes(t.template))return!1;if("visualization"===t.type&&bc.includes(t.visualization))return!1}return"gridcell"!==e.type||!bc.includes(e.cell.model.layout.visualization)}}}(e);return{definition:lf({...e,fontResolver:n}),support:{snapshot:!1,export:!0,sharing:!1,exportData:!1,viewData:!1},hidePatchPanel:()=>!0,getCreatePropertyHandler:t=>new Vc({app:t,data:e.propertyHandlerData}),...r,addChild:async function(e,t){const{childModel:n,handler:o}=await r.addChild.apply(this,[e,t]);n&&o.setSelectedChild([n.id])},migrate:{properties:(e,t)=>((async(e,t)=>{if(!e.objects){const{objects:n,defaultTabId:r,components:o,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 r=async r=>{const o=await t.getChild(r),i=await o.getEffectiveProperties();return{...e,qProperty:{...n,childRefId:i.childRefId}}};s.push(r(n.qInfo.qId))}});const u=await Promise.all(s),c={...e,objects:n,defaultTabId:r??"",components:o,qChildListDef:Lp,orientation:i,showDetails:a};t.clearSoftPatches(),await t.setFullPropertyTree({...l,qProperty:c,qChildren:u})}}})(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:Tp}},uf=e=>e.reduce((e,{id:t,data:n})=>(n&&(e[t]=n),e),{}),cf=async e=>{const t=[];for(const[n,r]of e){const e={id:n,data:void 0},o=r;t.push(o.getViewState().then(e=>({id:n,data:e})).catch(()=>e))}const n=await Promise.all(t);return{viewStates:uf(n)}},df=async e=>{const t=[];for(const[n,r]of e){const e={id:n,data:void 0},o=r;o.getSnapshotLayout?t.push(o.getSnapshotLayout().then(e=>({id:n,data:e})).catch(()=>e)):o.takeSnapshot&&t.push(o.takeSnapshot().then(e=>({id:n,data:e?.layout})).catch(()=>e))}const n=await Promise.all(t);return uf(n)},pf=(t,n)=>(e.onTakeSnapshot(async e=>{const r=e,{snapshotData:o}=r;if(o){const e=Fc(r),i=n(t.objectMap,e),[a,l]=await Promise.all([df(i.objectMap),cf(i.objectMap)]);o.objectsData={layouts:a},r.objects=i.objects,o.viewState=l}return e}),{getViewState:()=>cf(t.objectMap)});let ff=function(e){return e.OPEN_CONTEXT_MENU="shift+F10",e.ESCAPE="Escape",e.SPACE=" ",e.ENTER="Enter",e.BACKSPACE="Backspace",e.DELETE="Delete",e}({}),hf=function(e){return e.KEY_DOWN="keydown",e.FOCUS_OUT="focusout",e}({}),mf=function(e){return 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",e}({});const gf=`& .${mf.TAB}.${mf.TAB_EXTRA_PRIO}, .${mf.TAB}.${mf.ACTIVE_TAB}`,bf=`& .${mf.TAB}.${mf.TAB_EXTRA_PRIO}:hover`,vf=`& .${mf.TAB_LABEL}`,yf=`& .${mf.TABS_ICON} svg`,xf=`& .${mf.TAB_WRAPPER}`,Ef=`& .${mf.TAB_INDICATOR}`,Sf=e=>e.getElementsByClassName(mf.ACTIVE_TAB)?.[0],wf=e=>e.getElementsByClassName(mf.ACTIVE_TAB_PANEL)?.[0],Cf=({element:t,setAccessibility:n,accessibility:r,renderHelper:o,interactions:i,env:a,models:l})=>{const{modifiedLayout:{showTabs:s,objects:u,orientation:c},translator:d}=l;e.useEffect(()=>{(()=>{const e="top"===c?d.get("TabContainer.Navigation.Horizontal"):d.get("TabContainer.Navigation.Vertical"),n=((e,t)=>e.map(e=>e.label||t.get("TabContainer.Object.Untitled")).join(", "))(u,d);t.setAttribute("aria-label",d.get("TabContainer.Object.Description",[n,s?e:""]))})()},[t,s,u,d,c]);const p=a.flags.isEnabled("VIZ-7_NEW_SHEET"),f=e.useKeyboard(),h=e.useMemo(()=>()=>{n(!1),f.enabled&&f.blur?.(!0)},[f,n]),m=e.useMemo(()=>e=>{switch(e.shiftKey?`shift+${e.key}`:e.key){case ff.ESCAPE:e.stopPropagation(),f.blur?.(!0);break;case ff.ENTER:case ff.SPACE:{e.stopPropagation();const n=e.target;n?.classList.contains(mf.ACTIVE_TAB)&&wf(t)?.focus();break}}},[t,f]),g=e.useMemo(()=>e=>{const n=e.shiftKey?`shift+${e.key}`:e.key,r=o.objectMap.values().next().value,i=o.objectApis.values().next().value;switch(n){case ff.ESCAPE:{const n=Sf(t);p?(({event:e,objectApi:t,activeTab:n})=>{e.stopPropagation(),t?.viewDataToggled&&t.support?.("viewData")?t.toggleDataView():n?.focus()})({event:e,objectApi:i,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{e.stopPropagation(),t?.viewDataToggled&&t.supportViewData?.()?t.toggleDataView?.():n?.focus()})({event:e,objectApi:r,activeTab:n});break}case ff.ENTER:case ff.SPACE:{const n=wf(t);p?(({event:e,objectApi:t,activeTab:n})=>{if(!t)return;e.stopPropagation(),t.setOnBlurHandler?.(()=>{n?.focus(),t.setOnBlurHandler?.(void 0)}),!t.viewDataToggled&&t.support?.("viewData")?t.toggleDataView():t.toggleFocus?.(!0)})({event:e,objectApi:i,activeTab:n}):(({event:e,objectApi:t,activeTab:n})=>{if(!t)return;e.stopPropagation(),t.setOnBlurHandler?.(()=>{n?.focus(),t.setOnBlurHandler?.(void 0)}),!t.viewDataToggled&&t.supportViewData?.()?t.toggleDataView?.():t.viewDataToggled&&"function"==typeof t.dataViewObject?.focus?t.dataViewObject.focus():"function"==typeof t.focus&&t.focus()})({event:e,objectApi:r,activeTab:n});break}case ff.OPEN_CONTEXT_MENU:e.stopPropagation(),r?.viewDataToggled||t!==document.activeElement&&(h(),t.focus())}},[t,h,p,o]),b=e.useMemo(()=>e=>{const t=e.target;t?.classList.contains(mf.ACTIVE_TAB_PANEL)?g(e):m(e)},[m,g]);e.useEffect(()=>(r&&t.addEventListener(hf.KEY_DOWN,b),()=>{t.removeEventListener(hf.KEY_DOWN,b)}),[t,r,b]);const[v,y]=e.useState(!1);e.useEffect(()=>{v&&(y(!1),window.setTimeout(()=>((e=>e.getElementsByClassName(mf.TAB_MENU)?.[0])(t)??Sf(t))?.focus(),0))},[t,v]),e.useEffect(()=>{n(!1)},[i.edit,n]),e.useEffect(()=>{const e=e=>{const n=e.relatedTarget;t?.contains(n)||n?.classList.contains(mf.TAB_MENU_ITEM)||h?.()};return f.enabled&&f.active&&!i.edit&&(n(!0),y(!0),t.addEventListener(hf.FOCUS_OUT,e)),()=>{t.removeEventListener(hf.FOCUS_OUT,e)}},[f])},kf=t=>{const[n]=e.useState(t);return[n,function(e){Object.assign(n,e)}]},Rf=({isContainerActive:t,activeTabId:n,modifiedLayout:r,renderHelper:o,activeCharts:i,sharedContainerUtilities:a})=>{const l={modifiedLayout:r,activeTabId:n,renderHelper:o,isContainerActive:t},[s,u]=kf(l);u(l);const c=e.useMemo(()=>()=>{const e=Uc(s.modifiedLayout);for(const[t,n]of s.renderHelper.objectMap.entries()){const r=s.isContainerActive&&s.activeTabId===e[t];"setIsActive"in n&&n.setIsActive(r)}},[s]);e.useEffect(()=>{s.isContainerActive&&c()},[o.objectMap,c,s]),e.useEffect(()=>{c()},[t,c]),(({activeCharts:t,onSetActiveCharts:n,canSetActiveChart:r=!0})=>{const[o,i]=kf({onSetActiveCharts:n});i({onSetActiveCharts:n}),e.useEffect(()=>{if(!r)return;const e=e=>{o.onSetActiveCharts(e)};t.on("setActiveCharts",e);const n=t.getActiveCharts();return n.length>0&&e(n),()=>t.removeListener("setActiveCharts",e)},[t,o,r])})({activeCharts:i,onSetActiveCharts:e=>{if(0===e.length)return;const t=s.modifiedLayout.objects.find(t=>t.id===e[0])?.childRefId;t&&t!==s.activeTabId&&a.setSelected(e)}})},_f={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 Lf={qInfo:{qId:"MasterObjectList",qType:"MasterObjectList"},qAppObjectListDef:{qType:"masterobject",qData:{name:"/qMetaDef/title",labelExpression:"/labelExpression",visualization:"/visualization",tags:"/qMetaDef/tags"}}};class Tf{sessionObject;constructor(e){this.getOrCreateSessionObject(e).catch(()=>{})}getOrCreateSessionObject=async e=>{const t=Lf.qInfo.qId;this.sessionObject=await e.getObject(t).catch(()=>e.createSessionObject(Lf))};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=>!bc.includes(e.visualization))}catch{return[]}}}let Af=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 Pf{model;embed;app;undoRedoModel;chartList;masterVizList;mutex;constructor({embed:e,model:t,app:n,translator:r,mutex:o}){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 Tf(n)),e&&r&&(this.chartList=new vc(e,r)),this.mutex=o}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};generateProperties=async(e,t)=>await this.embed.generateProperties({type:e,properties:t});async addChild(e,t,n){if(this.model&&!bc.includes(e.visualization))try{await this.mutex.lock();const{model:r}=this,o=async()=>{e.childRefId=_f.id();const o=await r.createChild(e);if(o){const t=await r.getProperties();t.objects.unshift({childRefId:e.childRefId,...n,condition:{qValueExpression:{qExpr:""}}}),await r.setProperties(t)}return t&&o&&await Promise.all(t.map(({qProperty:e})=>o.createChild(e))),o};return await this.rememberAsGroup(o)}catch{return}finally{this.mutex.unlock()}}addVizAsChild=async({type:e,initProps:t,objectInitProps:n,children:r})=>{try{const o=await this.generateProperties(e,t);let i=n?.label||t?.title;if(!i){const n=this.getChart(t?.visualization),r=n?.libraryInfo;i=r?.translation||r?.name||e}const a={...n,label:i};return await this.addChild(o,r,a)}catch{return}};addMasterObjectAsChild=async({initProps:e,objectInitProps:t,children:n})=>{try{if(!e||!e.qExtendsId||!this.app)return;const r=await this.app.getObject(e.qExtendsId),o=await r.getProperties(),i=t?.label||o.title||o.qMetaDef.title,a={...e,qInfo:{qType:"childObject"}},l={...t,label:i};return await this.addChild(a,n,l)}catch{return}};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:r,qProperty:o}=n,i=new Set(e);return n.qChildren=r.filter(({qProperty:e})=>{const t=e.childRefId;return!t||!i.has(t)}),n.qProperty.objects=o.objects.filter(e=>!i.has(e.childRefId)),await t.setFullPropertyTree(n),!0}catch{return!1}finally{this.mutex.unlock()}};moveChild=async(e,t)=>{if(this.model)try{await this.mutex.lock();const n=await this.model.getProperties(),{objects:r}=n,o=r.findIndex(e=>e.childRefId===t);let i=!1;switch(e){case Af.TOP:{if(0===o)break;const e=r.splice(o,1)[0];r.unshift(e),i=!0;break}case Af.BOTTOM:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.push(e),i=!0;break}case Af.UP:{if(0===o)break;const e=r.splice(o,1)[0];r.splice(o-1,0,e),i=!0;break}case Af.DOWN:{if(o===r.length-1)break;const e=r.splice(o,1)[0];r.splice(o+1,0,e),i=!0;break}}i&&await this.model.setProperties(n)}finally{this.mutex.unlock()}};getCharts=()=>this.chartList?.getCharts()||{};getMasterVizList=()=>this.masterVizList?.getMasterVisualizations()||Promise.resolve([]);getChart=e=>this.chartList?.getChart(e);getChartLabelById=(e,t)=>{const n=e?.qChildList?.qItems.find(e=>e.qInfo.qId===t);if(!n)return"";const{visualization:r,title:o}=n.qData;if(o)return o;const i=this.getChart(r);return i?.libraryInfo?.translation||r}}class If{locked=!1;tasks=[];id;constructor(e){this.id=e}lock=async()=>this.locked?new Promise(e=>{this.tasks.push(e)}):(this.locked=!0,!0);unlock=()=>{if(this.tasks.length>0){const e=this.tasks.shift();e?.(!0)}else this.locked=!1}}const Of={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}},Mf={index:-1,color:"none",alpha:1},Nf=e=>{let t=parseFloat(e[1]),n=parseFloat(e[3]),r=parseFloat(e[5]);return t%=360,n/=100,r/=100,t=Math.max(0,Math.min(t,360)),n=Math.max(0,Math.min(n,1)),r=Math.max(0,Math.min(r,1)),{h:t,s:n,l:r,v:r}},jf=(e,t,n,r,o=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]+r,a=s[1]+r,l=s[2]+r,i=Math.round(255*i),a=Math.round(255*a),l=Math.round(255*l),`rgba(${i},${a},${l},${o})`},zf=e=>{const{h:t,s:n,l:r}=Nf(e),o=e.length>7?parseFloat(e[7]):1,i=r<=.5?2*r*n:(2-2*r)*n,a=t/60,l=i*(1-Math.abs(a%2-1));return jf(i,l,a,r-.5*i,o)},$f={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 zf(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 zf(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:r}=Nf(e),o=r*n,i=t/60,a=o*(1-Math.abs(i%2-1));return jf(o,a,i,r-o)})(t);if(t=/^#([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(e),t)return e;if(t=/^#([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-9])$/i.exec(e),t)return e;const n=e&&Of[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 r=e?.color||Mf;let o;return o=e?.useColorExpression?$f.resolveExpression(e):"string"==typeof r?r:n?.getColorPickerColor(r)||"",o&&"none"!==o?o:t}},Df=()=>xt.jsx(Ic,{viewBox:"0 0 16 16",children:xt.jsx("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"})}),Bf=({libraryInfo:e,style:t,id:n})=>xt.jsx("div",{style:t,"data-testid":"tab-chart-icon",id:n,className:mf.TABS_ICON,children:xt.jsx(e.IconDefinition,{})}),Ff=({style:e,id:t})=>xt.jsx("div",{style:e,"data-testid":"tab-hidden-icon",id:t,children:xt.jsx(Oc,{viewBox:"0 0 16 16",children:xt.jsx("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"})})}),Uf=()=>xt.jsx(Oc,{viewBox:"0 0 16 16",children:xt.jsx("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"})}),Hf=$i(Gu)({width:28,overflow:"hidden"}),Gf=$i(Gu)({height:28,width:"100%",overflow:"hidden",alignItems:"center","&::before":{visibility:"hidden"}}),Vf=(e,t)=>e.find(e=>e.childRefId===t),Wf=(e,t)=>!t.edit&&(0===e.condition||!1===e.visible),Yf=e=>{const{objects:t,defaultTabId:n,cachedTabId:r}=e;return r||(n&&t.some(e=>e.childRefId===n)?n:t[0]?.childRefId||"")};class qf{modifiedLayout;themeStyle;style;objectMap;activeTabId;theme;constructor({modifiedLayout:e,themeService:t}){this.modifiedLayout=e,this.activeTabId=Yf(this.modifiedLayout),this.themeStyle=t.getStyles(),this.theme=t.getTheme(),this.objectMap=Hc(this.modifiedLayout),this.style=this.createStyleClasses()}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}`}};getTabWidth=e=>{const t=e?.value,n=e?.unit??"%";if(void 0===t||2!==t.length||"left"===this.modifiedLayout.orientation)return{};return{minWidth:`${t[0]}${n}`,maxWidth:`${t[1]}${n}`}};getColorStyle=(e,t=e)=>{const n=this.resolveComponentStyle({compPath:e,themePath:t});return $f.getColor({style:n,theme:this.theme})??n};getTabBackgroundStyle=(e,t)=>{let n;if(this.activeTabId===e){const e=this.resolveComponentStyle({compPath:"background.selected",themePath:""});n=$f.getColor({style:e,theme:this.theme})}return n??$f.getColor({style:t,theme:this.theme})};createTabClasses=()=>this.modifiedLayout.objects?.reduce((e,t)=>{const n=t?.childRefId,r=t?.components?.find(e=>"tab"===e.key);return e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}`]={textAlign:lp(r,"label.alignment"),backgroundColor:this.getTabBackgroundStyle(n,r?.background),...this.getTabWidth(r?.width)},e[`#tab-${this.modifiedLayout.qInfo.qId}-${n}:hover`]={..."left"===this.modifiedLayout.orientation&&{backgroundColor:this.getColorStyle("background.hover","background.hover.color")}},e[`#tab-label-${this.modifiedLayout.qInfo.qId}-${n}`]={fontSize:lp(r,"label.fontSize"),fontFamily:lp(r,"label.fontFamily"),color:$f.getColor({style:lp(r,"label.color"),theme:this.theme})},e[`#tab-icon-${this.modifiedLayout.qInfo.qId}-${n} svg`]={height:lp(r,"icon.size"),color:$f.getColor({style:lp(r,"icon.color"),theme:this.theme})},e},{});createTabsClasses=()=>({[vf]:{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"})},[yf]:{height:this.resolveComponentStyle({compPath:"icon.size",themePath:"icon.value.fontSize"}),color:this.getColorStyle("icon.color","icon.value.color")},[gf]:{textAlign:this.resolveComponentStyle({compPath:"label.alignment",themePath:"label.textAlignment"}),...this.getTabsWidth("top")},[bf]:{..."top"===this.modifiedLayout.orientation&&{borderBottomColor:this.getColorStyle("indicator.hover","indicator.hover.color")}},[xf]:{...this.getTabsWidth("left"),backgroundColor:this.getColorStyle("background.unselected","")},[Ef]:{backgroundColor:this.getColorStyle("indicator.selected","indicator.selected.color")}});createStyleClasses=()=>({...this.createTabsClasses(),...this.createTabClasses()});getStyleClasses(){return this.style}resolveComponentStyle=({key:e="tabs",compPath:t,themePath:n=t,defaultValue:r})=>{const o=this.modifiedLayout.components?.find(t=>t.key===e);return lp(o,t)??lp(this.themeStyle,n)??r};getTabStyle(e){return this.objectMap[e].components?.find(e=>"tab"===e.key)}}const Kf=()=>{const t=e.useElement(),n=e.useApp(),r=e.useStaleLayout(),o=e.useEmbed(),i=e.useModel(),a=e.useTranslator(),l=e.useOptions(),s=e.useEmitter(),u=e.useInteractionState(),c=function({theme:e,config:t={}}){const{id:n,resolve:r=[],transform:o=[],extend:i=[]}=t,a={theme:e,matrix:Cp(r),styles:void 0};return a.styles=_p({theme:e,id:n,transform:o,extend:i,matrix:a.matrix}),{getStyles:()=>a.styles,getTheme:()=>a.theme,setTheme:e=>{a.theme=e,a.styles=_p({theme:e,id:n,transform:o,extend:i,matrix:a.matrix})}}}({theme:e.useTheme(),config:{id:"tabbedContainer",resolve:[["object.tabbedContainer","indicator.selected","color"],["object.tabbedContainer","indicator.hover","color"],["object.tabbedContainer","background.hover","color"],["object.tabbedContainer","icon.value","color"],["object.tabbedContainer","icon.value","fontSize"]]}}),d=e.useMemo(()=>new vc(o,a),[o,a]),[p]=e.useState(()=>new If(i?.id)),[f,h]=e.useState(!1),m=e.useMemo(()=>o&&i&&n?new Pf({embed:o,model:i,app:n,translator:a,mutex:p}):void 0,[o,i,n,a,p]),g=e.useMemo(()=>Fc(r),[r]),b=e.useMemo(()=>new qf({modifiedLayout:g,themeService:c}),[g,c]);return e.useMemo(()=>({app:n,modifiedLayout:g,embed:o,model:i,emitter:s,interactions:u,dataHandler:m,chartList:d,styleModel:b,mutex:p,options:l,accessibility:f,setAccessibility:h,translator:a,element:t}),[g,o,i,n,s,u,m,d,b,p,l,f,a,t])},Xf=({dataHandler:e,modifiedLayout:t,translator:n,sharedContainerUtilities:r,Icon:o})=>{const[i,a]=y.useState(void 0);if(!e||!t)return null;const l=!t.qExtendsId;return xt.jsx(Rc,{children:xt.jsxs(kc,{children:[xt.jsx(o,{}),l?xt.jsxs(xt.Fragment,{children:[xt.jsx(Pc,{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,children:n.get("LayoutContainer.EmptyList.AddContent")}),xt.jsx(jc,{translator:n,anchorEl:i,dataHandler:e,onClose:()=>{a(void 0)},sharedContainerUtilities:r})]}):xt.jsx(ul,{variant:"inherit",children:n.get("LayoutContainer.EmptyList.EmptyHint")})]})})};class Qf{_rendered=new Set;_objectMap=new Map;_objectApis=new Map;_resolver;_dependencyData;_recreateMap=new Map;constructor(e){this._dependencyData=e}set dependencyData(e){this._dependencyData=e}get rendered(){return this._rendered}get objectMap(){return this._objectMap}get objectApis(){return this._objectApis}get resolver(){return this._resolver}get recreateMap(){return this._recreateMap}createTimerForRendering=()=>{if(!this.resolver){let e;const t=setTimeout(()=>{this._dependencyData.options.onRenderStatusUpdate?.("Layout container rendering timeout reached after 90 seconds. Resolving anyway."),this.doResolve()},9e4),n=new Promise(t=>{e=t});this._resolver={promise:n,resolve:e,timer:t}}return this._resolver};doResolve=()=>{this.resolver&&(clearTimeout(this.resolver?.timer),this.resolver.resolve?.(!0),this._resolver=void 0)};tryToResolve=()=>{const{visibleLayoutObjects:e}=this._dependencyData;if(this.resolver){e.every(e=>this.rendered.has(e.id))&&(this._dependencyData.options.onRenderStatusUpdate?.("All layout container children rendered"),this.doResolve())}};syncObjects(e){const t=new Set,n=new Set([...Array.from(this.objectMap.keys()),...Array.from(this.objectApis.keys()),...this.rendered]),r=new Set(n);let o=!1;return e.forEach(e=>{n.has(e.id)?(this.rendered.has(e.id)&&t.add(e.id),r.delete(e.id)):o=!0}),r.forEach(e=>{const t=this.objectMap.get(e);t&&(this.confirmPotentialSelections(t),t.destroy?.(),this.objectMap.delete(e)),this.objectApis.get(e)?.destroy(),this.objectApis.delete(e)}),this._rendered=t,this.tryToResolve(),o}destroy(){for(const e of this.objectApis.values())e.destroy();this._objectMap=new Map,this._objectApis=new Map}saveObject(e,t){this.objectMap.set(e,t)}saveObjectApi(e,t){this._objectApis.set(e,t)}onRendered(e){this._dependencyData.options.onRenderStatusUpdate?.(`Layout container child rendered: ${this.rendered.size+1}/${this._dependencyData.visibleLayoutObjects.length} ${e}`),this.rendered.add(e),this.tryToResolve()}getChildrenObjects(){const{visibleLayoutObjects:e}=this._dependencyData,t=[];return e.forEach(e=>{const n=this.objectMap.get(e.id);n&&t.push(n)}),t}getChildLayout(e){const{modifiedLayout:t}=this._dependencyData;return t.qChildList.qItems.find(t=>t.qInfo.qId===e)}getObjectOptions(e){const{viewState:t,modifiedLayout:n,options:r}=this._dependencyData,{chartAnimations:o,direction:i,progressiveRendering:a,freeResize:l,navigation:s,useQlikEmbedChildRendering:u,getContextMenuParent:c,onContextMenu:d,context:p}=r;return{isReadonly:!1,setController:t=>{this.saveObject(e,t)},onRendered:()=>{this.onRendered(e)},onInitialRender:()=>{this.onRendered(e)},isParentMaster:!!n?.qExtendsId,isSnapshot:!!n.snapshotData,...!!t?.viewStates?.[e]&&{viewState:t?.viewStates[e]},...!!t?.layouts?.[e]&&{layout:t.layouts[e]},direction:i,chartAnimations:o,progressiveRendering:a,freeResize:l,navigation:s,disableThemeBorder:!1,fallbackToClient:r.fallbackToClient,useQlikEmbedChildRendering:u,getContextMenuParent:c,onContextMenu:d,context:p}}confirmPotentialSelections(e){e&&"selectionsApi"in e&&e.selectionsApi.active&&e.selectionsApi.confirm()}}const Zf=({chartObject:e,embed:t,renderHelper:n,direction:r,interactions:o,env:i})=>{const a=y.useRef(null),{id:l}=e;y.useEffect(()=>{if(l&&a.current){const e=n.getObjectOptions(l)||{};e.disableThemeBorder=!0,t.render({id:l,element:a.current,options:e}).then(e=>{n.saveObjectApi(l,e)}).catch(e=>{const t=n.getChildLayout(l)?.qInfo?.qType;console.error("Could not render chart with id",l,t,e)})}},[l,t,n,r]);const s=y.useMemo(()=>()=>{if(e?.id&&i.anything){const t=e?.label,{sense:r}=i.anything,o="current",a=n.objectMap.get(e.id);a&&r.propertyPanel.show({model:a.model,parent:o,headerLabel:t,keepCurrentActiveCell:!0})}},[i,e,n]);return y.useEffect(()=>{const e=a?.current;return e&&o?.edit&&e.addEventListener("dblclick",s),()=>{e?.removeEventListener("dblclick",s)}},[a,s,o]),xt.jsx("div",{ref:a,style:{position:"relative",height:"100%",width:"100%"},"data-testid":`tab-panel-${e.childRefId}`})};let Jf=function(e){return e.TABS_HEIGHT="36px",e}({});const eh=({charts:e,handleChangeTab:t,activeTabId:n,element:r,translator:o,accessibility:i,disabled:a})=>{const[l,s]=x.useState(null),u=Boolean(l),c=()=>{s(null)},d=y.useCallback(e=>{e?.focus()},[]);return xt.jsxs(xt.Fragment,{children:[xt.jsx(Wl,{onClick:e=>{s(e.currentTarget)},disabled:a,"aria-haspopup":"menu","data-testid":"chartTabMenuDropdownButton",tabIndex:i?0:-1,"aria-label":o.get("Container.Label.Visualizations"),className:mf.TAB_MENU,sx:{m:"2px"},children:xt.jsx(Uf,{})}),xt.jsx(Cu,{anchorEl:l,open:u,onClose:c,elevation:0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},MenuListProps:{sx:{py:0}},slotProps:{paper:{sx:{maxHeight:"500px",maxWidth:"500px"}}},children:e.map(e=>xt.jsx(Tu,{className:mf.TAB_MENU_ITEM,ref:n===e.childRefId&&u?d:null,onClick:()=>{(e=>{t(e.childRefId),c(),window.setTimeout(()=>{r.getElementsByClassName(mf.ACTIVE_TAB_PANEL)?.[0]?.focus()},0)})(e)},sx:n===e.childRefId?{backgroundColor:"rgba(0, 0, 0, 0.1)"}:{},"aria-label":e.label,title:e.label,children:xt.jsx(ul,{variant:"inherit",noWrap:!0,children:e.label})},`chartTabMenu-${e.childRefId}`))})]})},th=({label:e,id:t})=>xt.jsx(jl,{className:mf.TAB_LABEL,id:`tab-label-${t}`,sx:{width:"100%",height:"100%",display:"flex",alignItems:"center",overflow:"hidden",flexWrap:"wrap"},children:xt.jsx("span",{style:{width:"100%",overflowWrap:"break-word",hyphens:"auto",fontWeight:"bold",display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",lineHeight:"normal",overflow:"hidden"},children:e})}),nh=({libraryInfo:e,chart:t,iconPosition:n,id:r})=>{let o;switch(n){case"bottom":o={marginTop:"6px"};break;case"top":o={marginBottom:"6px"};break;case"end":o={marginInlineStart:"8px"};break;default:o={marginInlineEnd:"8px"}}o.display="flex",o.alignItems="center",o.height="100%",o.flex="1 0 0";return 0===t.condition||!1===t.visible?xt.jsx(Ff,{id:`${mf.TABS_ICON}-${r}`,style:o}):e?xt.jsx(Bf,{id:`${mf.TABS_ICON}-${r}`,libraryInfo:e,style:o}):null},rh=({models:e,activeTabId:t,handleChangeTab:n})=>{const{modifiedLayout:r,chartList:o,interactions:i,accessibility:a}=e,l=o?.getCharts(),s=r.objects.filter(e=>!Wf(e,i)),{orientation:u,tabContainerStyle:c,ScrollButtonComponent:d}=(({orientation:e})=>"left"===e?{orientation:"vertical",tabContainerStyle:{display:"flex",flexDirection:"column",alignItems:"center",maxWidth:"25%",flexShrink:0},ScrollButtonComponent:Gf}:{orientation:"horizontal",tabContainerStyle:{display:"flex",flexDirection:"row",alignItems:"center"},ScrollButtonComponent:Hf})(r),p=!1===i.active&&!i.edit,[f,h]=y.useState(!1),m=y.useCallback(e=>{if(e){const t=e.getElementsByClassName("MuiTabs-flexContainer")[0];if(t)return void h("vertical"===u?t.scrollHeight>t.offsetHeight:t.scrollWidth>t.offsetWidth)}h(!1)},[u]);return xt.jsxs(jl,{className:mf.TAB_WRAPPER,sx:c,ref:e=>{m(e)},children:[r.useDropdown&&f?xt.jsx(eh,{charts:s,handleChangeTab:n,activeTabId:t,accessibility:a,translator:e.translator,element:e.element,disabled:p}):null,xt.jsx(rc,{value:t,onChange:(e,t)=>{n(t)},ScrollButtonComponent:d,variant:"scrollable",orientation:u,scrollButtons:!!r.useScrollButton&&"auto",TabScrollButtonProps:{...p&&{disabled:!0}},sx:{height:"100%",width:"100%",minHeight:Jf.TABS_HEIGHT},children:s.map(n=>{const o=Bc(r,n.childRefId)?.qData?.visualization,i=o&&l?.[o]?.libraryInfo,s=e.styleModel.getTabStyle(n.childRefId),c=0===n.condition||r.showIcons&&i&&!1!==s?.icon?.show||!1===n.visible,d="vertical"===u?"top":"start",f=e.styleModel.resolveComponentStyle({compPath:"icon.position",defaultValue:d}),h=e.styleModel.resolveComponentStyle({compPath:"label.show"}),m=n.label&&(s?.label?.show??!1!==h),g=`${r.qInfo.qId}-${n.childRefId}`;return xt.jsx(Mu,{className:`${mf.TAB} ${t===n.childRefId?mf.ACTIVE_TAB:""}`,disabled:p,id:`tab-${g}`,value:n.childRefId,title:n.label,label:m?xt.jsx(th,{label:n.label,id:g}):void 0,icon:c?xt.jsx(nh,{libraryInfo:i,chart:n,iconPosition:f,id:g}):"",iconPosition:f,"data-testid":`container-tab-${n.childRefId}`,sx:{textAlign:"vertical"!==u||r.showIcons?"center":"start",minWidth:"vertical"===u?"100%":void 0,minHeight:Jf.TABS_HEIGHT,padding:"6px 16px","&:hover":{paddingBottom:"4px"},"&.Mui-disabled":{opacity:"inherit"}},"aria-label":n.label,"aria-controls":`tab-panel-${g}`,tabIndex:a&&t===n.childRefId?0:-1},n.childRefId)})})]})},oh=({models:e,renderHelper:t,activeTabId:n,handleChangeTab:r,env:o})=>{const{modifiedLayout:i,embed:a,interactions:l,options:s,styleModel:u,accessibility:c}=e,d=i.objects,p=l.edit||!!d.find(e=>0!==e.condition&&!1!==e.visible),f=i.showTabs&&p,h="left"===i.orientation?"row":"column",m=u.getStyleClasses();return xt.jsxs(jl,{sx:{display:"flex",flexDirection:h,height:"100%",width:"100%",direction:s.direction,...m},children:[f?xt.jsx(rh,{models:e,activeTabId:n,handleChangeTab:r}):null,d.map(e=>{const r=`tab-panel-${i.qInfo.qId}-${e.childRefId}`,u=n===e.childRefId&&!Wf(e,l);return xt.jsx(jl,{role:"tabpanel",id:r,"aria-label":e.label,sx:{flex:"1 1 auto",minHeight:0,width:"100%",padding:"2px",boxSizing:"border-box",direction:"ltr","&:focus-visible":{boxShadow:"inset 0 0 0 2px #0275D9",borderRadius:"3px",zIndex:1200}},...u?{className:mf.ACTIVE_TAB_PANEL,tabIndex:c?0:-1}:{hidden:!0},children:u?xt.jsx(Zf,{chartObject:e,renderHelper:t,direction:s.direction,embed:a,interactions:l,env:o}):null},r)})]})};let ih=function(e){return e.COPY="copy",e.PASTE="paste",e.RESET_COPY_BUFFER="resetCopyBuffer",e}({}),ah=function(e){return e.COPY="copy",e.PASTE_AND_REPLACE="paste-and-replace",e.PASTE="paste",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.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_OLD_ID="explainKeyDrivers",e.EXPLAIN_KEY_DRIVERS="key-driver",e.SUBSCRIBE="subscribe",e.NOTES_GROUP="notesGroup",e.DOWNLOAD="download",e.SHARE_IMAGE="share",e}({});const lh=[ah.PASTE_AND_REPLACE,ah.ZOOM_IN,ah.VISUAL_EXPLORATION],sh=[ah.VISUAL_EXPLORATION,ah.ALERT_GROUP,ah.SHOW_DETAILS,ah.EXPLAIN_KEY_DRIVERS,ah.EXPLAIN_KEY_DRIVERS_OLD_ID],uh=[ah.DELETE,ah.CUT,ah.ADD_TO_MASTER_ITEMS,ah.UNLINK_VISUALIZATION],ch=[ah.PASTE_AND_REPLACE],dh=(e,t)=>{const{childRefId:n}=e.model.layout,r=t.objects.find(e=>e.childRefId===n);return{...e,additionalData:{label:r?.label}}},ph=(e,t,n,r,o)=>{const i=t.getSupportFunction(ah.COPY);if(!i)return void e.deleteItem(ah.COPY);const a=()=>{i(dh(n,r)).catch(()=>{})},l=e.items.find(e=>e.id===ah.COPY);if(l)l.updateItem({select:a});else if(o){const t=e.items.findIndex(e=>e.id===ah.CUT),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.copy",tid:ah.COPY,id:ah.COPY,icon:"copy",select:a,items:[]},n)}},fh=e=>e.interactions.edit&&!e.modifiedLayout.qExtendsId,hh=async(e,t,n,r,o)=>{if(o.flags.isEnabled("GVC_48_CHART_CONTEXT_MENU_ITEM_GENERATION"))return;const i=t.getBuilder("default");if(!i)return;const a=await i();a.addItem({translation:"contextMenu.containerOptionsHeader",tid:ah.CONTAINER_HEADER,id:ah.CONTAINER_HEADER,bold:!0,items:[]},0);const l=fh(n);a.items.forEach(e=>{(sh.includes(e.id)||!l&&ch.includes(e.id))&&a.deleteItem(e.id)}),l&&await(async(e,t,n)=>{const r=t.getSupportFunction(ih.PASTE),o=await(r?.()?.catch(()=>{}));if(!o||bc.includes(o.template))return void e.deleteItem(ah.PASTE_AND_REPLACE);const i=()=>{n()},a=e.items.find(e=>e.id===ah.PASTE_AND_REPLACE||e.id===ah.PASTE);if(a)a.updateItem({translation:"contextMenu.paste",select:i});else{const t=e.items.findLastIndex(e=>e.id===ah.COPY||e.id===ah.DEVELOPER||e.id===ah.CONTAINER_HEADER),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.paste",tid:ah.PASTE_AND_REPLACE,id:ah.PASTE_AND_REPLACE,icon:"paste",select:i,items:[]},n)}})(a,t,r),e.updateItem({items:a.items}),1===e.items.length&&e.deleteItem(ah.CONTAINER_HEADER)},mh=e=>{const t={[ah.MONITOR_IN_HUB]:!0,[ah.SUBSCRIBE]:!0,[ah.NOTES_GROUP]:!0,[ah.DOWNLOAD]:!0,[ah.SHARE_IMAGE]:!0};e.items.forEach(n=>{t[n.id]?e.deleteItem(n.id):n.items&&mh(n)})},gh=(e,t,n,r,o,i)=>a=>{const{dataHandler:l,modifiedLayout:s}=r;if(fh(r)){n.isInvalid||(((e,t,n,r)=>{const{model:o,modifiedLayout:i}=n,a=e.items.findLastIndex(e=>e.id===ah.CHART_HEADER||e.id===ah.REORDER_LAYERS_GROUP),l=a>=0?1+a:void 0;e.addItem({translation:"Object.Container.Props.EditProperties",tid:ah.EDIT_PROPERTIES,id:ah.EDIT_PROPERTIES,icon:ah.EDIT_PROPERTIES,items:[],select:()=>{const{childRefId:e}=t.model.layout,n=i.objects.find(t=>t.childRefId===e),a=n?.label,{sense:l}=r.anything,s=o;l.propertyPanel.show({model:t.model,parent:s,headerLabel:a})}},l)})(a,n,r,o),((e,t,n,r,o,i)=>{const a=r.getSupportFunction(ah.COPY);if(!a)return void e.deleteItem(ah.CUT);const l=()=>{o&&a(dh(n,i)).then(async()=>{await(o?.deleteChildren([t]))}).catch(()=>{})},s=e.items.find(e=>e.id===ah.CUT);if(s)s.updateItem({select:l});else{const t=e.items.findLastIndex(e=>e.id===ah.ADD_TO_MASTER_ITEMS||e.id===ah.UNLINK_VISUALIZATION||e.id===ah.EDIT_PROPERTIES||e.id===ah.REORDER_LAYERS_GROUP||e.id===ah.DEVELOPER),n=t>=0?1+t:void 0;e.addItem({translation:"contextMenu.cut",tid:ah.CUT,id:ah.CUT,icon:"cut",select:l,items:[]},n)}})(a,t,n,e,l,s),ph(a,e,n,s,!0),((e,t,n,r,o)=>{const i=t.getSupportFunction(ih.COPY),a=t.getSupportFunction(ih.PASTE);if(!i||!a)return void e.deleteItem(ah.DUPLICATE);const l=()=>{i(dh(n,r)).then(()=>{o()}).catch(()=>{})},s=e.items.find(e=>e.id===ah.DUPLICATE);if(s)s.updateItem({select:l});else{const t=e.items.findIndex(e=>e.id===ah.COPY),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Duplicate",tid:ah.DUPLICATE,id:ah.DUPLICATE,icon:ah.DUPLICATE,items:[],select:l},n)}})(a,e,n,s,i)),((e,t,n)=>{const r=()=>{n&&n.deleteChildren([t]).catch(()=>{})},o=e.items.find(e=>e.id===ah.DELETE);if(o)o.updateItem({select:r});else{const t=e.items.findLastIndex(e=>e.id===ah.DUPLICATE||e.id===ah.ADD_TO_MASTER_ITEMS||e.id===ah.UNLINK_VISUALIZATION||e.id===ah.REORDER_LAYERS_GROUP||e.id===ah.DEVELOPER),n=t>=0?1+t:void 0;e.addItem({translation:"Common.Delete",tid:ah.DELETE,id:ah.DELETE,icon:"bin",items:[],select:r},n)}})(a,t,l)}else ph(a,e,n,s,!1)},bh=(t,n,r,o)=>{e.onContextMenu(async(e,i,a)=>{if(!a)return!1;const l=((e,t)=>()=>{if(!e)return;const n=t.getSupportFunction(ih.PASTE);n&&n().then(async({template:t,init:n,children:r,additionalData:o})=>{const{label:i}=o,a={label:i};n.qExtendsId?await e.addMasterObjectAsChild({initProps:n,children:r,objectInitProps:a}):await e.addVizAsChild({type:t,initProps:n,children:r,objectInitProps:a})}).catch(e=>{e&&t.getSupportFunction(ih.RESET_COPY_BUFFER)})})(r.dataHandler,a);if(await hh(e,a,r,l,o),mh(e),!(e=>{let t;t="qv-radial-contextmenu"===e.type?e.touches[0]?.target:e.target;return t&&((e,t)=>{let n=e;for(;n;){if(n.classList?.contains(t))return n;n=n.parentNode}return null})(t,mf.ACTIVE_TAB_PANEL)})(i))return!0;const s=r.modifiedLayout.objects.find(e=>e.childRefId===t)?.id;if(!s)return!0;const u=n.objectMap.get(s);if(!u)return!0;const c=gh(a,t,u,r,o,l),d=await(async(e,t,n,r)=>{const o=fh(n),i=e.getBuilder("object");if(!i)return;const a=await i(t);return a.addItem({translation:"contextMenu.chartOptionsHeader",tid:ah.CHART_HEADER,id:ah.CHART_HEADER,bold:!0,items:[]},0),r(a),a.items.forEach(e=>{(lh.includes(e.id)||!o&&uh.includes(e.id))&&a.deleteItem(e.id)}),1===a.items.length&&a.deleteItem(ah.CHART_HEADER),a})(a,u,r,c);return!d||(e.items.length>0&&d.addItem({translation:"contextMenu.subMenuContainerOptions",tid:"tabbed-container-menu",id:"tabbed-container-menu",icon:"tabbed-container",items:[...e.items]},d.items.length),e.updateItem({items:d.items}),!0)})},vh=({element:t,models:n,env:r,activeCharts:o})=>{const i=((t,n)=>{const[r,o]=e.useState(void 0);return e.useEffect(()=>{if(0===t.getElementsByClassName(n).length){const e=document.createElement("div");e.className=n,t.appendChild(e);const r=Ec.createRoot(e);o(r)}return()=>{r?.unmount()}},[t,n,r]),r})(t,"init-component"),{options:a,modifiedLayout:l,interactions:s,model:u}=n,{qChildList:c}=l,d=mc(a.direction),p=(t=>{const{viewState:n}=e.useOptions(),{snapshotData:r}=t;if(r){const{layouts:e}=r.objectsData,t=r.viewState?.viewStates;return{layouts:e,viewStates:t}}if(n){const{viewStates:e}=n;return{viewStates:e}}})(l),f=e.useMemo(()=>Yf(l),[l]),h={modifiedLayout:l,activeTabId:f,env:r},[m,g]=kf(h);g(h);const b=e.useMemo(()=>l.objects.filter(e=>f===e.childRefId),[f,l.objects]),{renderHelper:v}=(t=>{const{visibleLayoutObjects:n,options:r}=t,[o]=e.useState(()=>new Qf(t)),[,i]=e.useState(r);return o.dependencyData=t,e.usePromise(async()=>(i(e=>(e!==r&&n.forEach(e=>o.recreateMap.set(e.id,!0)),r)),o.syncObjects(n)?o.createTimerForRendering()?.promise:o.resolver?.promise),[n,r]),e.useEffect(()=>()=>{o.destroy()},[o]),{renderHelper:o}})({modifiedLayout:l,visibleLayoutObjects:b,viewState:p,options:a});bh(f,v,n,r);const[y]=e.useState({current:void 0}),x=e.useMemo(()=>e=>{(async({model:e,patchList:t})=>{if(e?.applyPatches){const n=await e.getEffectiveProperties(),r=[];t.forEach(e=>{const{newValue:t,propertyName:o}=e,i=void 0!==n[o]?"Replace":"Add";t?r.push({qPath:`/${o}`,qOp:i,qValue:JSON.stringify(t)}):"Replace"===i&&r.push({qPath:`/${o}`,qOp:"Remove"})}),r.length>0&&await e.applyPatches(r,!0)}})({model:u,patchList:[{newValue:e,propertyName:"cachedTabId"}]}).then(()=>{const t=m.modifiedLayout.objects.find(t=>t.childRefId===e)?.id;o.updateActiveCharts(t?[t]:[])})},[o,u,m.modifiedLayout.objects]),E=e.useMemo(()=>({setSelected:e=>{const t=m.modifiedLayout.objects.find(t=>t.id===e[0])?.childRefId;t?x(t):y.current=e[0]}}),[x,m,y]);e.useEffect(()=>{const e=(({chartObjects:e,activeTabId:t})=>!Vf(e,t)&&e.length>0?e[0]?.childRefId:t)({chartObjects:m.modifiedLayout.objects,activeTabId:m.activeTabId});if(e!==m.activeTabId)x(e);else if(y.current){const e=m.modifiedLayout.objects.find(e=>e.id===y.current)?.childRefId;e&&x(e)}y.current=void 0},[l?.objects.length,m,y,x]),e.useEffect(()=>{const e=(({chartObjects:e,activeTabId:t,interactions:n})=>{const r=Vf(e,t);if(!r||Wf(r,n)){const n=e.find(e=>0!==e.condition&&!1!==e.visible);return n?.childRefId||t}return t})({chartObjects:m.modifiedLayout.objects,activeTabId:m.activeTabId,interactions:s});e!==m.activeTabId&&x(e)},[s,l?.objects,m,x]);const S=0===c.qItems.length&&s.edit;return e.useEffect(()=>{i?.render(xt.jsxs(Bi,{theme:d,children:[S?xt.jsx(Xf,{Icon:Df,dataHandler:n.dataHandler,modifiedLayout:n.modifiedLayout,translator:n.translator,sharedContainerUtilities:E}):null,!S&&xt.jsx(oh,{models:n,renderHelper:v,activeTabId:f,handleChangeTab:x,env:r})]}))},[i,n,d,S,v,f,E,x,r]),{renderHelper:v,sharedContainerUtilities:E,activeTabId:f}};var yh={targets:[]};const xh={showTitles:!0,title:"",subtitle:"",footnote:"",disableNavMenu:!0,showDetails:!1,objects:[],qChildListDef:{qData:{visualization:"/visualization",qExtendsId:"/qExtendsId",title:"/title",childRefId:"/childRefId",showCondition:"/showCondition",visible:"/visible"}},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("undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}(".init-component {\n height: 100%;\n overflow: hidden;\n}\n");const Eh=(e,t)=>{let n=!0;const r=t.objects.reduce((t,r)=>{const o=r.id;if(0!==r.condition&&!1!==r.visible){const i=e.get(o);return i&&(e=>e.supportExport())(i)&&(n=!1,t.objectMap.set(o,i)),t.objects.push(r),t}return t},{objects:[],objectMap:new Map});return n?{objects:[],objectMap:new Map}:r};return function(t){const n=new gc({translator:t.translator});return{qae:{properties:xh,data:yh},ext:sf({env:t,propertyHandlerData:n}),component(){const r=Kf(),i=e.useTranslator();e.useMemo(()=>{!function(e){if(e&&e.get&&e.add){const t="LayoutContainer.EmptyList.AddContent";if(e.get(t)!==t)return;Object.keys(o).forEach(t=>{e.add(o[t])})}}(i)},[i]);const{dataHandler:a,model:s,accessibility:u,setAccessibility:c,interactions:d,element:p,modifiedLayout:f}=r,h=e.useMemo(()=>function(){const e=new l.EventEmitter;let t=[];return e.updateActiveCharts=n=>{t=n.slice(),e.emit("activeChartsChange",t.slice())},e.setActiveCharts=n=>{t=n.slice(),e.emit("setActiveCharts",t.slice())},e.getActiveCharts=()=>[...t],e}(),[]),{renderHelper:m,sharedContainerUtilities:g,activeTabId:b}=vh({element:p,models:r,env:t,activeCharts:h});(({propertyHandlerData:t,element:n,sharedContainerUtilities:r,translator:o,containerId:i,dataHandler:a,renderHelper:l,chartList:s})=>{const u=e.useOptions();i&&t.sync({containerId:i,element:n,sharedContainerUtilities:r,translator:o,dataHandler:a,renderHelper:l,chartList:s}),e.useEffect(()=>{t.setMuiTheme(u.direction)},[u.direction,t]),e.useEffect(()=>()=>{i&&t.destroy(i)},[i,t,u.direction])})({containerId:s?.id||"",element:p,sharedContainerUtilities:g,translator:i,dataHandler:a,propertyHandlerData:n,renderHelper:m});const[v,y]=e.useState(!0);Rf({isContainerActive:v,activeTabId:b,renderHelper:m,modifiedLayout:f,activeCharts:h,sharedContainerUtilities:g}),Cf({element:p,accessibility:u,setAccessibility:c,renderHelper:m,interactions:d,env:t,models:r});const{getViewState:x}=pf(m,Eh);e.useImperativeHandle(()=>({getViewState:x,getChildrenObjects:()=>(e=>e.map(e=>{if("canReceive"in e){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}))(m.getChildrenObjects()),updateActiveState(e){y(e)},activeCharts:h}),[])}}}});