@nebula.js/sn-pie-chart 1.20.7 → 1.20.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-specifications/plugins.json +1 -1
- package/api-specifications/properties.json +1 -1
- package/core/esm/index.js +4 -4
- package/dist/sn-pie-chart.js +11 -11
- package/dist/sn-pie-chart.systemjs.js +5 -5
- package/package.json +1 -1
- package/sn-pie-chart-ext/dist/sn-pie-chart.js +11 -11
- package/sn-pie-chart-ext/sn-pie-chart.qext +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/sn-pie-chart v1.20.
|
|
2
|
+
* @nebula.js/sn-pie-chart v1.20.9
|
|
3
3
|
* Copyright (c) 2022 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
System.register(["hammerjs","picasso.js","picasso-plugin-q","react","react-dom","@nebula.js/stardust","qlik-chart-modules","qlik-object-conversion"],(function(e){"use strict";var t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,x,w,E,C,k,S,T,R,N,P,D,M,L,I,A,O,q,z,F;return{setters:[function(e){t=e.default},function(e){n=e.default},function(e){r=e.default},function(e){o=e.default,i=e.Children,a=e.isValidElement,s=e.cloneElement},function(e){l=e.default},function(e){c=e.useOptions,u=e.useElement,d=e.useSelections,p=e.useState,f=e.useLayout,h=e.useTranslator,m=e.useAction,g=e.useEffect,v=e.useModel,y=e.useApp,b=e.useStaleLayout,x=e.usePlugins,w=e.useConstraints,E=e.useTheme,C=e.useAppLayout,k=e.useEmbed,S=e.usePromise,T=e.useRect,R=e.onTakeSnapshot,N=e.useImperativeHandle},function(e){P=e.selectionService,D=e.storage,M=e.getValue,L=e.tooltipService,I=e.colorService,A=e.pluginService,O=e.themeService,q=e.debouncer,z=e.setValue},function(e){F=e.default}],execute:function(){var W={properties_dataPoints_labelmode_share:{id:"properties.dataPoints.labelmode.share",locale:{"en-US":"Share","zh-TW":"佔有率","zh-CN":"份额","tr-TR":"Pay","sv-SE":"Andel","it-IT":"Percentuale","es-ES":"Cuota","de-DE":"Anteil","pl-PL":"Udział","nl-NL":"Aandeel","ko-KR":"공유","pt-BR":"Percentual","fr-FR":"Part","ja-JP":"割合","ru-RU":"Доля"}},Tooltip_selections_locked:{id:"Tooltip.selections.locked",locale:{"en-US":"Selections on this dimension are locked","zh-TW":"已鎖定此維度上的選項","zh-CN":"相关维度的选择已锁定","tr-TR":"Bu boyuttaki seçimler kilitli","sv-SE":"Urval i den här dimensionen är låsta","it-IT":"Le selezioni in questa dimensione sono bloccate","es-ES":"Las selecciones de esta dimensión están bloqueadas.","de-DE":"Auswahlen sind für diese Dimension gesperrt","pl-PL":"Selekcje dotyczące tego wymiaru są zablokowane","nl-NL":"Selecties voor deze dimensie zijn vergrendeld","ko-KR":"이 차원의 선택은 잠겨 있습니다.","pt-BR":"Seleções estão bloqueadas nesta dimensão","fr-FR":"Sélections verrouillées pour cette dimension","ja-JP":"この軸での選択はロックされています","ru-RU":"Выборки для данного измерения заблокированы"}},Tooltip_dimensions_drilldown:{id:"Tooltip.dimensions.drilldown",locale:{"en-US":"Drill-down dimension","zh-TW":"向下探查維度","zh-CN":"下钻维度","tr-TR":"Detaya inme boyutu","sv-SE":"Hierarkisk dimension","it-IT":"Dimensione di drill-down","es-ES":"Dimensión jerárquica","de-DE":"Drilldown-Dimension:","pl-PL":"Wymiar hierarchiczny","nl-NL":"Drill-downdimensie","ko-KR":"드릴다운 차원","pt-BR":"Dimensão da hierarquia","fr-FR":"Descendre dans la hiérarchie de la dimension","ja-JP":"軸のドリルダウン","ru-RU":"Измерение с детализацией"}},Object_ErrorMessage_MissingDimension:{id:"Object.ErrorMessage.MissingDimension",locale:{"en-US":"Dimension not found","zh-TW":"找不到維度","zh-CN":"未找到维度","tr-TR":"Boyut bulunamadı","sv-SE":"Dimensionen hittades inte","it-IT":"Dimensione non trovata","es-ES":"No se ha encontrado la dimensión","de-DE":"Dimension nicht gefunden","pl-PL":"Wymiar nie został znaleziony","nl-NL":"Dimensie niet gevonden","ko-KR":"차원을 찾지 못했습니다.","pt-BR":"Dimensão não encontrada","fr-FR":"Dimension introuvable","ja-JP":"軸が見つかりません","ru-RU":"Измерение не найдено"}},Object_ErrorMessage_MissingMeasure:{id:"Object.ErrorMessage.MissingMeasure",locale:{"en-US":"Measure not found","zh-TW":"找不到量值","zh-CN":"未找到度量","tr-TR":"Hesaplama bulunamadı","sv-SE":"Måttet hittades inte","it-IT":"Misura non trovata","es-ES":"No se ha encontrado la medida","de-DE":"Kennzahl nicht gefunden","pl-PL":"Miara nie została znaleziona","nl-NL":"Meting niet gevonden","ko-KR":"측정값을 찾지 못했습니다.","pt-BR":"Medida não encontrada","fr-FR":"Mesure introuvable","ja-JP":"メジャーが見つかりません","ru-RU":"Мера не найдена"}},Object_Disclaimer_LimitedData:{id:"Object.Disclaimer.LimitedData",locale:{"en-US":"Currently showing a limited data set.","zh-TW":"目前顯示的是有限的資料集。","zh-CN":"当前正显示有限的数据集。","tr-TR":"Şu anda sınırlı bir veri kümesi gösteriliyor.","sv-SE":"Just nu visas en begränsad uppsättning data.","it-IT":"Attualmente viene visualizzata una serie di dati limitata.","es-ES":"Mostrando actualmente un conjunto limitado de datos.","de-DE":"Zurzeit wird nur ein beschränkter Datensatz angezeigt.","pl-PL":"Aktualnie przedstawiany jest ograniczony zestaw danych.","nl-NL":"Momenteel wordt een beperkte gegevensverzameling getoond.","ko-KR":"현재 제한된 데이터 집합을 표시하고 있습니다.","pt-BR":"Mostrando um conjunto de dados limitado.","fr-FR":"Affichage d'un ensemble de données limité pour l'instant.","ja-JP":"現在、限定的なデータ セットを表示しています。","ru-RU":"В настоящее время отображается ограниченный набор данных."}},Object_Disclaimer_OnlyNegativeOrZeroValues:{id:"Object.Disclaimer.OnlyNegativeOrZeroValues",locale:{"en-US":"The chart is not displayed because it contains only negative or zero values.","zh-TW":"系統不會顯示圖表,因為該圖表僅包含負值或零值。","zh-CN":"未显示图表,因为它仅包含负值或零值。","tr-TR":"Yalnızca negatif veya sıfır değerlerini içermesi nedeniyle grafik görüntülenmiyor.","sv-SE":"Diagrammet visas inte eftersom det enbart innehåller negativa eller nollvärden","it-IT":"Il grafico non viene visualizzato poiché contiene solo valori negativi o uguali a zero.","es-ES":"El gráfico no se muestra porque sólo contiene valores negativos o valores cero.","de-DE":"Das Diagramm wird nicht angezeigt, da es nur negative oder 0-Werte enthält.","pl-PL":"Wykres nie jest wyświetlany, ponieważ zawiera wartości ujemne lub zerowe.","nl-NL":"De grafiek wordt niet weergegeven omdat het alleen negatieve waarden of nulwaarden bevat.","ko-KR":"음수 또는 zero 값만 포함되어 있으므로 차트가 표시되지 않습니다.","pt-BR":"O gráfico não foi exibido, porque contém apenas valores negativos ou zero.","fr-FR":"Le graphique n'est pas affiché, car il contient uniquement des valeurs négatives ou égales à zéro.","ja-JP":"チャートは負の値またはゼロ値しか含まれていないため、表示されていません。","ru-RU":"Диаграмма не отображается, поскольку она содержит только отрицательные или нулевые значения."}},Object_Disclaimer_NegativeOrZeroValues:{id:"Object.Disclaimer.NegativeOrZeroValues",locale:{"en-US":"The data set contains negative or zero values that cannot be shown in this chart.","zh-TW":"資料集包含無法在此圖表中顯示的負值或零值。","zh-CN":"数据集中包含无法在此图表中显示的负值或零值。","tr-TR":"Veri kümesi, bu grafikte gösterilemeyen negatif veya sıfır değerlerini içeriyor.","sv-SE":"Datauppsättningen innehåller negativa värden eller nollvärden som inte kan visas i detta diagram.","it-IT":"La serie di dati contiene valori negativi o uguali a zero che non possono essere visualizzati in questo grafico.","es-ES":"El conjunto de datos contiene valores negativos o cero que no se pueden mostrar en este gráfico.","de-DE":"Die in den Datensätzen enthaltenen negativen oder 0-Werte können nicht in diesem Diagramm dargestellt werden.","pl-PL":"Zestaw danych zawiera wartości ujemne lub zerowe, których nie można przedstawić w tym wykresie.","nl-NL":"De gegevensverzameling bevat negatieve waarden of nulwaarden die niet kunnen worden weergegeven in deze grafiek.","ko-KR":"데이터 집합에 해당 차트에 표시할 수 없는 음수 값 또는 zero 값이 포함되어 있습니다.","pt-BR":"O conjunto de dados contém valores negativos ou iguais a zero que não podem ser mostrados neste gráfico.","fr-FR":"L'ensemble de données contient des valeurs négatives ou égales à zéro impossibles à afficher dans ce graphique.","ja-JP":"データ セットには、本チャートに表示できない負の値またはゼロ値が含まれています。","ru-RU":"Набор данных содержит отрицательные или нулевые значения, которые невозможно показать в этой диаграмме."}},Object_Disclaimer_DataRangeIncludingZero:{id:"Object.Disclaimer.DataRangeIncludingZero",locale:{"en-US":"The logarithmic scale has been replaced by a linear scale because the data range includes zero.","zh-TW":"對數刻度已遭線性刻度取代,因為資料範圍包含零。","zh-CN":"对数刻度已替换为线性刻度,因为该数据范围包括零。","tr-TR":"Veri aralığı sıfır değerini içerdiğinden, logaritmik ölçek yerine doğrusal ölçek kullanıldı.","sv-SE":"Den logaritmiska skalan har ersatts av en linjär skala eftersom dataintervallet innehåller värdet noll.","it-IT":"La scala logaritmica è stata sostituita da una scala lineare perché l'intervallo di dati include zero.","es-ES":"La escala logarítmica ha sido reemplazada por una escala lineal porque el rango de datos incluye cero.","de-DE":"Die logarithmische Skala wurde durch die lineare Skala ersetzt, weil der Datenbereich NULL enthält.","pl-PL":"Skala logarytmiczna została zastąpiona liniową, ponieważ zakres danych zawiera zero.","nl-NL":"De logaritmische schaal is vervangen door een lineaire schaal omdat het gegevensbereik nullen bevat.","ko-KR":"데이터 범위에 0이 포함되어 있으므로 로그 눈금이 선형 눈금으로 바뀌었습니다.","pt-BR":"A escala logarítmica foi substituída por uma escala linear, pois o intervalo de dados inclui zero.","fr-FR":"L'échelle logarithmique a été remplacée par une échelle linéaire, car la plage de données comprend la valeur zéro.","ja-JP":"データ範囲にゼロが含まれるため、Log スケールは Linear スケールで置換されています。","ru-RU":"Логарифмический масштаб заменен линейным масштабом, поскольку диапазон данных включает ноль."}},Object_Disclaimer_NoDataExist:{id:"Object.Disclaimer.NoDataExist",locale:{"en-US":"The selections generated no data for this chart.","zh-TW":"此選項無法產生任何適用於此圖表的資料。","zh-CN":"选择未生成此图表的数据。","tr-TR":"Seçimler bu grafik için hiç veri oluşturmadı.","sv-SE":"Urvalen genererade inga data för detta diagram.","it-IT":"Le selezioni non hanno generato dati per questo grafico.","es-ES":"Las selecciones no han generado datos para este gráfico.","de-DE":"Die Auswahlen haben für dieses Diagramm keine Daten generiert.","pl-PL":"Selekcje nie spowodowały wygenerowania danych dla tego wykresu.","nl-NL":"De selecties hebben geen gegevens voor de grafiek gegenereerd.","ko-KR":"선택 내용으로 해당 차트에 대한 데이터가 생성되지 않았습니다.","pt-BR":"As seleções não geraram dados para este gráfico.","fr-FR":"Les sélections n'ont pas généré de données pour ce graphique.","ja-JP":"このチャートには選択からデータが生成されませんでした。","ru-RU":"В результате выборок данные для этой диаграммы не созданы."}},Object_Disclaimer_OnlyNanData:{id:"Object.Disclaimer.OnlyNanData",locale:{"en-US":"The chart is not displayed because it contains only undefined values.","zh-TW":"系統不會顯示圖表,因為該圖表僅包含未定義的值。","zh-CN":"未显示图表,因为它仅包含未定义的值。","tr-TR":"Yalnızca tanımsız değerleri içermesi nedeniyle grafik görüntülenmiyor.","sv-SE":"Diagrammet visas inte eftersom det enbart innehåller odefinierade värden.","it-IT":"Il grafico non è visualizzato poiché contiene solo valori non definiti.","es-ES":"El gráfico no se muestra porque solo contiene valores indefinidos.","de-DE":"Das Diagramm wird nicht angezeigt, da es nur nicht definierte Werte enthält.","pl-PL":"Wykres nie jest wyświetlany, ponieważ zawiera wartości niezdefiniowane.","nl-NL":"De grafiek wordt niet weergegeven omdat deze alleen ongedefinieerde waarden bevat.","ko-KR":"정의되지 않은 값만 포함되어 있으므로 차트가 표시되지 않습니다.","pt-BR":"O gráfico não foi exibido, porque contém apenas valores não definidos.","fr-FR":"Le graphique n'est pas affiché, car il contient uniquement des valeurs non définies.","ja-JP":"未定義の値しか含まれていないため、チャートは表示されていません。","ru-RU":"Диаграмма не отображается, поскольку она содержит только неопределенные значения."}},Object_ChartTooltip_NMore:{id:"Object.ChartTooltip.NMore",locale:{"en-US":"+{0} more","zh-TW":"再加 {0} 個","zh-CN":"+{0} 个","tr-TR":"+{0} öğe daha","sv-SE":"+{0} till","it-IT":"Altre +{0}","es-ES":"+{0} más","de-DE":"+{0} mehr","pl-PL":"+ {0} więcej","nl-NL":"+ {0} meer","ko-KR":"+추가 {0}개","pt-BR":"+{0} mais","fr-FR":"+ {0} de plus","ja-JP":"さらに {0}","ru-RU":"+ дополнительно: {0}"}},Object_ChartTooltip_sumOfPositives:{id:"Object.ChartTooltip.sumOfPositives",locale:{"en-US":"Sum of positives","zh-TW":"正數總和","zh-CN":"正值总和","tr-TR":"Pozitif değerlerin toplamı","sv-SE":"Summan av positiva","it-IT":"Somma valori positivi","es-ES":"Suma de positivos","de-DE":"Summe positiver Werte","pl-PL":"Suma dodatnich","nl-NL":"Som positieven","ko-KR":"양수 합계","pt-BR":"Soma de positivos","fr-FR":"Sommes des valeurs positives","ja-JP":"正の合計","ru-RU":"Сумма положительных значений"}},Object_ChartTooltip_sumOfNegatives:{id:"Object.ChartTooltip.sumOfNegatives",locale:{"en-US":"Sum of negatives","zh-TW":"負數總和","zh-CN":"负值总和","tr-TR":"Negatif değerlerin toplamı","sv-SE":"Summan av negativa","it-IT":"Somma valori negativi","es-ES":"Suma de negativos","de-DE":"Summe negativer Werte","pl-PL":"Suma ujemnych","nl-NL":"Som negatieven","ko-KR":"음수 합계","pt-BR":"Soma de negativos","fr-FR":"Somme des valeurs négatives","ja-JP":"負の合計","ru-RU":"Сумма отрицательных значений"}},Object_ChartTooltip_ColorExpression:{id:"Object.ChartTooltip.ColorExpression",locale:{"en-US":"Color expression","zh-TW":"色彩運算式","zh-CN":"颜色表达式","tr-TR":"Renk ifadesi","sv-SE":"Färguttryck","it-IT":"Espressione colore","es-ES":"Expresión de color","de-DE":"Farbformel","pl-PL":"Wyrażenie koloru","nl-NL":"Kleuruitdrukking","ko-KR":"색상 표현식","pt-BR":"Expressão de cor","fr-FR":"Expression de couleur","ja-JP":"カラー表現","ru-RU":"Выражение для цвета"}},Object_Disclaimer_OnlyNanColor:{id:"Object.Disclaimer.OnlyNanColor",locale:{"en-US":"The data used to color this visualization only contains undefined values.","zh-TW":"用以定義此視覺化的色彩的資料只包含未定義的值。","zh-CN":"用于将该可视化着色的数据仅包含未定义的值。","tr-TR":"Bu görselleştirmeyi renklendirmek için kullanılan veriler yalnızca tanımlanmamış değerler içeriyor.","sv-SE":"Data som används för att färgsätta denna visualisering innehåller enbart odefinierade värden.","it-IT":"I dati utilizzati per colorare questa visualizzazione contengono solo valori non definiti.","es-ES":"Los datos utilizados para colorear esta visualización solo contienen valores indefinidos.","de-DE":"Die verwendeten Daten für die Farbgebung dieser Visualisierung enthalten undefinierte Werte.","pl-PL":"Dane używane do kolorowania tej wizualizacji zawierają wyłącznie niezdefiniowane wartości.","nl-NL":"De gegevens die worden gebruikt om deze visualisatie kleur te geven bevatten uitsluitend ongedefinieerde waarden.","ko-KR":"이 시각화에 색을 지정하는 데 사용된 데이터에는 정의되지 않은 값만 포함되어 있습니다.","pt-BR":"Os dados usados para colorir esse visualização contém somente valores indefinidos.","fr-FR":"Les données utilisées pour colorer cette visualisation ne comportent que des valeurs non définies.","ja-JP":"このビジュアライゼーションの色の割り当てに使用したデータには、未定義の値が含まれています。","ru-RU":"Данные, используемые для выбора цвета визуализации, содержат только неопределенные значения."}},properties_trendlines_types_average:{id:"properties.trendlines.types.average",locale:{"en-US":"Average","zh-TW":"平均值","zh-CN":"平均值","tr-TR":"Ortalama","sv-SE":"Medel","it-IT":"Media","es-ES":"Media","de-DE":"Durchschnitt","pl-PL":"Średnia","nl-NL":"Gemiddelde","ko-KR":"평균","pt-BR":"Média","fr-FR":"Moyenne","ja-JP":"平均値","ru-RU":"Среднее"}},properties_trendlines_types_linear:{id:"properties.trendlines.types.linear",locale:{"en-US":"Linear","zh-TW":"線性","zh-CN":"线性","tr-TR":"Doğrusal","sv-SE":"Linjär","it-IT":"Lineare","es-ES":"Lineal","de-DE":"Linear","pl-PL":"Liniowa","nl-NL":"Lineair","ko-KR":"선형","pt-BR":"Linear","fr-FR":"Linéaire","ja-JP":"線形","ru-RU":"Линейный"}},properties_trendlines_types_polynomial2:{id:"properties.trendlines.types.polynomial2",locale:{"en-US":"Second degree polynomial","zh-TW":"第二度多項式","zh-CN":"二次多项式","tr-TR":"İkinci derece polinom","sv-SE":"Polynomial, andra graden","it-IT":"Polinomio di secondo grado","es-ES":"Polinómica de segundo grado","de-DE":"Polynom zweiten Grades","pl-PL":"Wielomianowa drugiego stopnia","nl-NL":"Tweedegraadspolynoom","ko-KR":"2차 다항식","pt-BR":"Polinômio de segundo grau","fr-FR":"Polynomial du 2ème degré","ja-JP":"2 番目の角度の多項式近似","ru-RU":"Полиномиальный второй степени"}},properties_trendlines_types_polynomial3:{id:"properties.trendlines.types.polynomial3",locale:{"en-US":"Third degree polynomial","zh-TW":"第三度多項式","zh-CN":"三次多项式","tr-TR":"Üçüncü derece polinom","sv-SE":"Polynomial, tredje graden","it-IT":"Polinomio di terzo grado","es-ES":"Polinómica de tercer grado","de-DE":"Polynom dritten Grades","pl-PL":"Wielomianowa trzeciego stopnia","nl-NL":"Derdegraadspolynoom","ko-KR":"3차 다항식","pt-BR":"Polinômio de terceiro grau","fr-FR":"Polynomial du 3ème degré","ja-JP":"3 番目の角度の多項式近似","ru-RU":"Полиномиальный третьей степени"}},properties_trendlines_types_polynomial4:{id:"properties.trendlines.types.polynomial4",locale:{"en-US":"Fourth degree polynomial","zh-TW":"第四度多項式","zh-CN":"四次多项式","tr-TR":"Dördüncü derece polinom","sv-SE":"Polynomial, fjärde graden","it-IT":"Polinomio di quarto grado","es-ES":"Polinómica de cuarto grado","de-DE":"Polynom vierten Grades","pl-PL":"Wielomianowa czwartego stopnia","nl-NL":"Vierdegraadspolynoom","ko-KR":"4차 다항식","pt-BR":"Polinômio de quarto grau","fr-FR":"Polynomial du 4ème degré","ja-JP":"4 番目の角度の多項式近似","ru-RU":"Полиномиальный четвертой степени"}},properties_trendlines_types_exponential:{id:"properties.trendlines.types.exponential",locale:{"en-US":"Exponential","zh-TW":"指數","zh-CN":"指数","tr-TR":"Üstel","sv-SE":"Exponentiell","it-IT":"Esponenziale","es-ES":"Exponencial","de-DE":"Exponentiell","pl-PL":"Wykładnicze","nl-NL":"Exponentieel","ko-KR":"지수","pt-BR":"Exponencial","fr-FR":"Exponentiel","ja-JP":"指数","ru-RU":"Экспоненциальный"}},properties_trendlines_types_logarithmic:{id:"properties.trendlines.types.logarithmic",locale:{"en-US":"Logarithmic","zh-TW":"對數","zh-CN":"对数","tr-TR":"Logaritmik","sv-SE":"Logaritmisk","it-IT":"Logaritmica","es-ES":"Logarítmica","de-DE":"Logarithmisch","pl-PL":"Logarytmiczna","nl-NL":"Logaritmisch","ko-KR":"로그","pt-BR":"Logarítmico","fr-FR":"Logarithmique","ja-JP":"対数","ru-RU":"Логарифмический"}},properties_trendlines_types_power:{id:"properties.trendlines.types.power",locale:{"en-US":"Power","zh-TW":"乘冪","zh-CN":"幂","tr-TR":"Üs","sv-SE":"Potens","it-IT":"Potenza","es-ES":"Potencia","de-DE":"Potenz","pl-PL":"Potęgowa","nl-NL":"Macht","ko-KR":"거듭제곱","pt-BR":"Potência","fr-FR":"Puissance","ja-JP":"累乗","ru-RU":"Силовой"}},Common_Measures:{id:"Common.Measures",locale:{"en-US":"Measures","de-DE":"Kennzahlen","fr-FR":"Mesures","it-IT":"Misure","ja-JP":"メジャー","ko-KR":"측정값","es-ES":"Medidas","nl-NL":"Metingen","pl-PL":"Miary","pt-BR":"Medidas","sv-SE":"Mått","tr-TR":"Hesaplamalar","zh-CN":"度量","zh-TW":"量值","ru-RU":"Меры"}},Tooltip_ToggleOnLassoSelection:{id:"Tooltip.ToggleOnLassoSelection",locale:{"en-US":"Turn on lasso selection","de-DE":"Lasso-Auswahl aktivieren","fr-FR":"Activer la sélection au lasso","it-IT":"Attiva selezione lazo","ja-JP":"囲み選択をオンにする","ko-KR":"올가미 선택 켜기","es-ES":"Activar la selección de contorno","nl-NL":"Lassoselectie inschakelen","pl-PL":"Włącz zaznaczenie lasso","pt-BR":"Ativar seleção de laço","sv-SE":"Slå på lassourval","tr-TR":"Serbest seçimi aç","zh-CN":"开启套索选择方法","zh-TW":"開啟套索選取","ru-RU":"Включить выбор лассо"}},Tooltip_ToggleOffLassoSelection:{id:"Tooltip.ToggleOffLassoSelection",locale:{"en-US":"Turn off lasso selection","de-DE":"Lasso-Auswahl deaktivieren","fr-FR":"Désactiver la sélection au lasso","it-IT":"Disattiva selezione lazo","ja-JP":"囲み選択をオフにする","ko-KR":"올가미 선택 끄기","es-ES":"Desactivar la selección de contorno","nl-NL":"Lassoselectie uitschakelen","pl-PL":"Wyłącz zaznaczenie lasso","pt-BR":"Desativar seleção de laço","sv-SE":"Stäng av lassourval","tr-TR":"Serbest seçimi kapat","zh-CN":"关闭套索选择方法","zh-TW":"關閉套索選取","ru-RU":"Выключить выбор лассо"}}};var H={click:"Tap",Click:"Tap",tap:"Tap",pan:"Pan",swipe:"Swipe",rotate:"Rotate",press:"Press",pinch:"Pinch"};function B(e){return H[e]||e}function j(e){return function(t,n,r){var o,i,a,s,l=[],c=!0;function u(){"function"==typeof o.enable&&(o.enable=o.enable.bind(i)()),o.enable&&(o.gestures.forEach((function(t){t.options=t.options||{},void 0===t.options.enable&&(t.options.enable=!0),"function"==typeof t.options.enable&&(t.options.enable=t.options.enable.bind(i));var n=B(t.type);e&&e[n]&&(t.options.event=t.options.event||t.type.toLowerCase(),(a=a||new e.Manager(r)).add(new e[n](t.options)),Object.keys(t.events).forEach((function(e){t.events[e]=t.events[e].bind(i),a.on(e,t.events[e])})),l.push(t))})),o.gestures.forEach((function(t){var n=B(t.type);e&&e[n]&&(t.recognizeWith&&a.get(t.options.event).recognizeWith(t.recognizeWith.split(" ").filter((function(e){return""!==e}))),t.requireFailure&&a.get(t.options.event).requireFailure(t.requireFailure.split(" ").filter((function(e){return""!==e}))))})))}function d(){l.forEach((function(e){Object.keys(e.events).forEach((function(t){a.off(t,e.events[t])})),a.remove(e.options.event)})),l=[]}return{get key(){return s},set:function(e){!function(e){s=e.key,i={chart:t,mediator:n,settings:o=e},o.gestures=o.gestures||[],void 0===o.enable&&(o.enable=!0)}(e),d(),c&&u()},off:function(){c=!1,d()},on:function(){c=!0,0===l.length&&u()},destroy:function(){d(),a&&a.destroy(),a=null,i=null,o=null}}}}function $(){return($=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var V=Object.prototype.hasOwnProperty,U=Object.prototype.toString,_=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,K=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===U.call(e)},X=function(e){if(!e||"[object Object]"!==U.call(e))return!1;var t,n=V.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&V.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||V.call(e,t)},G=function(e,t){_&&"__proto__"===t.name?_(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},Z=function(e,t){if("__proto__"===t){if(!V.call(e,t))return;if(Y)return Y(e,t).value}return e[t]},J=function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=Z(s,n),s!==(o=Z(t,n))&&(u&&o&&(X(o)||(i=K(o)))?(i?(i=!1,a=r&&K(r)?r:[]):a=r&&X(r)?r:{},G(s,{name:n,newValue:e(u,a,o)})):void 0!==o&&G(s,{name:n,newValue:o}));return s};const Q="center",ee="bottom";var te={NoDataExist:{label:"NoDataExist",alignment:Q,default:!0},OnlyNanData:{label:"OnlyNanData",alignment:Q,default:!0},OnlyNegativeOrZeroValues:{label:"OnlyNegativeOrZeroValues",alignment:Q,default:!1},LimitedData:{label:"LimitedData",alignment:ee,default:!1},OnlyNanColor:{label:"OnlyNanColor",alignment:ee,default:!1},NegativeOrZeroValues:{label:"NegativeOrZeroValues",alignment:ee,default:!1},DataRangeIncludingZero:{label:"DataRangeIncludingZero",alignment:ee,default:!1}};const ne=[["FULL",{width:550,height:450}],["MEDIUM",{width:400,height:220}],["SMALL",{width:300,height:150}],["XSMALL",{width:150,height:75}],["SPARK",{width:0,height:0}]],re={};ne.forEach((([e,{width:t,height:n}])=>{re[e]={width:t,height:n}}));const oe={getLayoutModes:()=>re,getLayoutMode(e,t){let n;for(n=0;n<ne.length;++n)if(e>=ne[n][1].width&&t>=ne[n][1].height)return ne[n][0];return"SPARK"}};function ie(e,t){return{layoutModes:oe.getLayoutModes(),center:void 0!==t.minCenterRatio?{minWidthRatio:t.minCenterRatio,minHeightRatio:t.minCenterRatio}:void 0,logicalSize:t.logicalSize?{align:.5,preserveAspectRatio:!0,...t.logicalSize}:void 0}}const ae=(e,t,n)=>{const r=t.split(".");let o,i=e;if(void 0===i)return n;for(o=0;o<r.length;++o){if(void 0===i[r[o]])return n;i=i[r[o]]}return i};function se(e,t){const n=e.component(t);return n&&n._DO_NOT_USE_getInfo&&n._DO_NOT_USE_getInfo().offset}const le=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͽΆΈ-ϵϷ-҂Ҋ-։ः-हऻऽ-ीॉ-ौॎ-ॐक़-ॡ।-ॿং-হঽ-ীে-ৌৎ-ৡ০-ৱ৴-৺ਃ-ਹਾ-ੀਖ਼-੯ੲ-ੴઃ-હઽ-ીૉ-ૌૐ-ૡ૦-૯ଂ-ହଽ-ାୀେ-ୌୗ-ୡ୦-୷ஃ-ிு-ௌௐ-௲ఁ-ఽు-ౄౘ-ౡ౦-౯౿-ಹಽ-ೋೕ-ೡ೦-ീെ-ൌൎ-ൡ൦-ෆා-ෑෘ-ะา-ำเ-ๆ๏-ະາ-ຳຽ-ໆ໐-༗༚-༴༶༸༾-ཬཿ྅ྈ-ྌ྾-࿅࿇-ာေးျ-ြဿ-ၗၚ-ၝၡ-ၰၵ-ႁႃ-ႄႇ-ႌႎ-ႜ႞-ፚ፠-ᎏᎠ-Ᏼᐁ-ᙿᚁ-ᚚᚠ-ᜑᜠ-ᜱ᜵-ᝑᝠ-ᝰក-ាើ-ៅះ-ៈ។-៚ៜ០-៩᠐-ᢨᢪ-ᤜᤣ-ᤦᤩ-ᤱᤳ-ᤸ᥆-᧚ᨀ-ᨖᨙ-ᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪭ᬄ-ᬳᬵᬻᬽ-ᭁᭃ-᭪᭴-᭼ᮂ-ᮡᮦ-ᮧ᮪-ᯥᯧᯪ-ᯬᯮ᯲-ᰫᰴ-ᰵ᰻-᱿᳓᳡ᳩ-ᳬᳮ-ᶿḀ-ᾼιῂ-ῌῐ-Ίῠ-Ῥῲ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎ-⅏Ⅰ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-ⳤⳫ-ⳮⴀ-⵰ⶀ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ㆺㇰ-㈜㈠-㉏㉠-㉻㉿-㊰㋀-㋋㋐-㍶㍻-㏝㏠-㏾㐀-䶵一-ꒌꓐ-ꘌꘐ-ꙮꚀ-ꛯ꛲-꛷Ꜣ-ꞇ꞉-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠤꠧ꠰-꠷ꡀ-ꡳꢀ-ꣃ꣎-꣙ꣲ-ꤥ꤮-ꥆꥒ-ꥼꦃ-ꦲꦴ-ꦵꦺ-ꦻꦽ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂ-ꯤꯦ-ꯧꯩ-꯬꯰-ﬗA-Za-zヲ-ᅵ]"),ce=new RegExp("[־׀׃׆א-״߀-ߪߴ-ߵߺ-ࠕࠚࠤࠨ࠰-ࡘ࡞יִײַ-ﬨשׁ-ﭏ]"),ue=new RegExp("[؈؋؍؛-ي٭-ٯٱ-ەۥ-ۦۮ-ۯۺ-܍ܐܒ-ܯݍ-ޥޱﭐ-ﴽﵐ-﷼ﹰ-ﻼ]"),de={lrm:String.fromCharCode(8206),rlm:String.fromCharCode(8207),isLtrChar:e=>le.test(e),isRtlChar:e=>ce.test(e)||ue.test(e),detectTextDirection(e){const t=e?e.length:0;let n,r;for(n=0;n<t;n++){if(r=e[n],de.isLtrChar(r))return"ltr";if(de.isRtlChar(r))return"rtl"}return"ltr"}},pe={getColorSymbol:(e,t)=>e.h("div",{style:{display:"inline-block",width:"10px",height:"10px","background-color":t.color.fill,margin:"0 8px"}}),getNodeFillColor:e=>e.attrs&&void 0!==e.attrs.fill?e.attrs.fill:e.children&&e.children[0]&&e.children[0].attrs&&void 0!==e.children[0].attrs.fill?e.children[0].attrs.fill:void 0,getColor(e,t,n){const r=t.data,o=e.resources.formatter,i=e.resources.dataset,a={};if(n.coloring.label&&(a.label=""+n.coloring.label),"color"!==n.coloring.type&&r.fillTooltip){const e=o("fill"),t="measure"===n.coloring.fieldType;if(a.value=t&&e?e(r.fillTooltip.value):r.fillTooltip.label?r.fillTooltip.label:r.fillTooltip.value,!n.coloring.label){const e=i(r.fillTooltip.source.key).field(r.fillTooltip.source.field).title();a.label=""+e}}return a.fill=void 0===r._fillColor?pe.getNodeFillColor(t):r._fillColor,a},getMeasure:(e,t)=>({label:""+e(t.source.key).field(t.source.field).title(),value:""===t.label||"NaN"===t.label?"-":t.label,field:t.source.field}),hideColorRow:(e,t)=>void 0===e.color.value||e.measures.some((e=>e.field===t.coloring.field)),getTitleRow(e,t){const n=de.detectTextDirection(e.title);return[{content:e.title,style:{"font-weight":"bold","text-align":t?"right":"left",direction:n},colspan:2},{}]},getDescriptionRow(e,t){const n=de.detectTextDirection(e.value);return[{content:e.value,style:{"text-align":t?"right":"left",direction:n},colspan:2},{}]},getNMoreRow(e,t,n){const r=t?t.get("Object.ChartTooltip.NMore",e):`+${e} more`;return[{content:r,style:{"font-weight":"bold","text-align":n?"right":"left",direction:de.detectTextDirection(r)},colspan:2},{}]},getSeparatorRow:()=>[{content:"",style:{"background-image":"linear-gradient(transparent 8px, rgba(255, 255, 255, 0.4) 8px, rgba(255, 255, 255, 0.4) 9.2px, transparent 9.2px)",height:"17px"},colspan:2},{}],getColorRow(e,t,n){const r=de.detectTextDirection(t.color.label),o=n?[":",t.color.label]:[t.color.label,":"],i=de.detectTextDirection(t.color.value);return[{content:o,style:{"text-align":n?"right":"left",direction:r}},{content:n?[t.color.value,pe.getColorSymbol(e,t)]:[pe.getColorSymbol(e,t),t.color.value],style:{"text-align":n?"left":"right",direction:i,"vertical-align":"middle"}}]},getMeasureRow(e,t,n,r,o=!1){const i=de.detectTextDirection(e.label),a=r?[":",e.label]:[e.label,":"],s=de.detectTextDirection(e.value);let l;return l=o?r?[e.value,pe.getColorSymbol(t,n)]:[pe.getColorSymbol(t,n),e.value]:[e.value],[{content:a,style:{"text-align":r?"right":"left",direction:i}},{content:l,style:{"text-align":r?"left":"right",direction:s,"vertical-align":"middle"}}]}};function fe(e){const t=parseInt(e,10);if(!isNaN(t))return t}const he=e=>t=>e.getContrastingColorTo(t.node.attrs.fill);function me(e,t){const n=e.themeService.getStyles();return{padding:10,placements:e.simplifiedPlacements.map((n=>function(e,t,n){const r=n.themeService.getStyles();return{position:e.position,justify:e.justify,fill:e.onBackground?r.label.value.color:he(t),overflow:e.overflow,padding:e.padding}}(n,t,e))),fontSize:fe(n.label.value.fontSize),fontFamily:n.label.value.fontFamily,label:e.label}}function ge(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ve(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function ye(){}var be=.7,xe=1/be,we="\\s*([+-]?\\d+)\\s*",Ee="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ce="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ke=/^#([0-9a-f]{3,8})$/,Se=new RegExp("^rgb\\("+[we,we,we]+"\\)$"),Te=new RegExp("^rgb\\("+[Ce,Ce,Ce]+"\\)$"),Re=new RegExp("^rgba\\("+[we,we,we,Ee]+"\\)$"),Ne=new RegExp("^rgba\\("+[Ce,Ce,Ce,Ee]+"\\)$"),Pe=new RegExp("^hsl\\("+[Ee,Ce,Ce]+"\\)$"),De=new RegExp("^hsla\\("+[Ee,Ce,Ce,Ee]+"\\)$"),Me={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 Le(){return this.rgb().formatHex()}function Ie(){return this.rgb().formatRgb()}function Ae(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=ke.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Oe(t):3===n?new Fe(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?qe(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?qe(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=Se.exec(e))?new Fe(t[1],t[2],t[3],1):(t=Te.exec(e))?new Fe(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Re.exec(e))?qe(t[1],t[2],t[3],t[4]):(t=Ne.exec(e))?qe(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Pe.exec(e))?je(t[1],t[2]/100,t[3]/100,1):(t=De.exec(e))?je(t[1],t[2]/100,t[3]/100,t[4]):Me.hasOwnProperty(e)?Oe(Me[e]):"transparent"===e?new Fe(NaN,NaN,NaN,0):null}function Oe(e){return new Fe(e>>16&255,e>>8&255,255&e,1)}function qe(e,t,n,r){return r<=0&&(e=t=n=NaN),new Fe(e,t,n,r)}function ze(e){return e instanceof ye||(e=Ae(e)),e?new Fe((e=e.rgb()).r,e.g,e.b,e.opacity):new Fe}function Fe(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function We(){return"#"+Be(this.r)+Be(this.g)+Be(this.b)}function He(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function Be(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function je(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ve(e,t,n,r)}function $e(e){if(e instanceof Ve)return new Ve(e.h,e.s,e.l,e.opacity);if(e instanceof ye||(e=Ae(e)),!e)return new Ve;if(e instanceof Ve)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,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Ve(a,s,l,e.opacity)}function Ve(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Ue(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}ge(ye,Ae,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Le,formatHex:Le,formatHsl:function(){return $e(this).formatHsl()},formatRgb:Ie,toString:Ie}),ge(Fe,(function(e,t,n,r){return 1===arguments.length?ze(e):new Fe(e,t,n,null==r?1:r)}),ve(ye,{brighter:function(e){return e=null==e?xe:Math.pow(xe,e),new Fe(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?be:Math.pow(be,e),new Fe(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){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:We,formatHex:We,formatRgb:He,toString:He})),ge(Ve,(function(e,t,n,r){return 1===arguments.length?$e(e):new Ve(e,t,n,null==r?1:r)}),ve(ye,{brighter:function(e){return e=null==e?xe:Math.pow(xe,e),new Ve(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?be:Math.pow(be,e),new Ve(this.h,this.s,this.l*e,this.opacity)},rgb:function(){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 Fe(Ue(e>=240?e-240:e+120,o,r),Ue(e,o,r),Ue(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var _e=Math.PI/180,Ye=180/Math.PI,Ke=.96422,Xe=.82521,Ge=4/29,Ze=6/29,Je=3*Ze*Ze;function Qe(e){if(e instanceof et)return new et(e.l,e.a,e.b,e.opacity);if(e instanceof st)return lt(e);e instanceof Fe||(e=ze(e));var t,n,r=ot(e.r),o=ot(e.g),i=ot(e.b),a=tt((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=tt((.4360747*r+.3850649*o+.1430804*i)/Ke),n=tt((.0139322*r+.0971045*o+.7141733*i)/Xe)),new et(116*a-16,500*(t-a),200*(a-n),e.opacity)}function et(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function tt(e){return e>.008856451679035631?Math.pow(e,1/3):e/Je+Ge}function nt(e){return e>Ze?e*e*e:Je*(e-Ge)}function rt(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function ot(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function it(e){if(e instanceof st)return new st(e.h,e.c,e.l,e.opacity);if(e instanceof et||(e=Qe(e)),0===e.a&&0===e.b)return new st(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ye;return new st(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function at(e,t,n,r){return 1===arguments.length?it(e):new st(e,t,n,null==r?1:r)}function st(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function lt(e){if(isNaN(e.h))return new et(e.l,0,0,e.opacity);var t=e.h*_e;return new et(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}ge(et,(function(e,t,n,r){return 1===arguments.length?Qe(e):new et(e,t,n,null==r?1:r)}),ve(ye,{brighter:function(e){return new et(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new et(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){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 Fe(rt(3.1338561*(t=Ke*nt(t))-1.6168667*(e=1*nt(e))-.4906146*(n=Xe*nt(n))),rt(-.9787684*t+1.9161415*e+.033454*n),rt(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),ge(st,at,ve(ye,{brighter:function(e){return new st(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new st(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return lt(this).rgb()}}));var ct=-.14861,ut=1.78277,dt=-.29227,pt=-.90649,ft=1.97294,ht=ft*pt,mt=ft*ut,gt=ut*dt-pt*ct;function vt(e){if(e instanceof yt)return new yt(e.h,e.s,e.l,e.opacity);e instanceof Fe||(e=ze(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(gt*r+ht*t-mt*n)/-5.9615122912,i=r-o,a=(ft*(n-o)-dt*i)/pt,s=Math.sqrt(a*a+i*i)/(ft*o*(1-o)),l=s?Math.atan2(a,i)*Ye-120:NaN;return new yt(l<0?l+360:l,s,o,e.opacity)}function yt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function bt(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}ge(yt,(function(e,t,n,r){return 1===arguments.length?vt(e):new yt(e,t,n,null==r?1:r)}),ve(ye,{brighter:function(e){return e=null==e?xe:Math.pow(xe,e),new yt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?be:Math.pow(be,e),new yt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*_e,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Fe(255*(t+n*(ct*r+ut*o)),255*(t+n*(dt*r+pt*o)),255*(t+n*(ft*r)),this.opacity)}})),function(e){1===e.length&&(e=function(e){return function(t,n){return bt(e(t),n)}}(e))}(bt);var xt="$";function wt(){}function Et(e,t){var n=new wt;if(e instanceof wt)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(r=e[o],o,e),r)}else if(e)for(var a in e)n.set(a,e[a]);return n}function Ct(){}wt.prototype=Et.prototype={constructor:wt,has:function(e){return xt+e in this},get:function(e){return this[xt+e]},set:function(e,t){return this[xt+e]=t,this},remove:function(e){var t=xt+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===xt&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===xt&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===xt&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===xt&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===xt&&++e;return e},empty:function(){for(var e in this)if(e[0]===xt)return!1;return!0},each:function(e){for(var t in this)t[0]===xt&&e(this[t],t.slice(1),this)}};var kt=Et.prototype;function St(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Tt(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Rt(){}Ct.prototype={constructor:Ct,has:kt.has,add:function(e){return this[xt+(e+="")]=e,this},remove:kt.remove,clear:kt.clear,values:kt.keys,size:kt.size,empty:kt.empty,each:kt.each};var Nt=.7,Pt=1/Nt,Dt="\\s*([+-]?\\d+)\\s*",Mt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",Lt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",It=/^#([0-9a-f]{3})$/,At=/^#([0-9a-f]{6})$/,Ot=new RegExp("^rgb\\("+[Dt,Dt,Dt]+"\\)$"),qt=new RegExp("^rgb\\("+[Lt,Lt,Lt]+"\\)$"),zt=new RegExp("^rgba\\("+[Dt,Dt,Dt,Mt]+"\\)$"),Ft=new RegExp("^rgba\\("+[Lt,Lt,Lt,Mt]+"\\)$"),Wt=new RegExp("^hsl\\("+[Mt,Lt,Lt]+"\\)$"),Ht=new RegExp("^hsla\\("+[Mt,Lt,Lt,Mt]+"\\)$"),Bt={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 jt(e){var t;return e=(e+"").trim().toLowerCase(),(t=It.exec(e))?new Yt((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=At.exec(e))?$t(parseInt(t[1],16)):(t=Ot.exec(e))?new Yt(t[1],t[2],t[3],1):(t=qt.exec(e))?new Yt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=zt.exec(e))?Vt(t[1],t[2],t[3],t[4]):(t=Ft.exec(e))?Vt(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Wt.exec(e))?Xt(t[1],t[2]/100,t[3]/100,1):(t=Ht.exec(e))?Xt(t[1],t[2]/100,t[3]/100,t[4]):Bt.hasOwnProperty(e)?$t(Bt[e]):"transparent"===e?new Yt(NaN,NaN,NaN,0):null}function $t(e){return new Yt(e>>16&255,e>>8&255,255&e,1)}function Vt(e,t,n,r){return r<=0&&(e=t=n=NaN),new Yt(e,t,n,r)}function Ut(e){return e instanceof Rt||(e=jt(e)),e?new Yt((e=e.rgb()).r,e.g,e.b,e.opacity):new Yt}function _t(e,t,n,r){return 1===arguments.length?Ut(e):new Yt(e,t,n,null==r?1:r)}function Yt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Kt(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Xt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Zt(e,t,n,r)}function Gt(e){if(e instanceof Zt)return new Zt(e.h,e.s,e.l,e.opacity);if(e instanceof Rt||(e=jt(e)),!e)return new Zt;if(e instanceof Zt)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,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Zt(a,s,l,e.opacity)}function Zt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Jt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}St(Rt,jt,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),St(Yt,_t,Tt(Rt,{brighter:function(e){return e=null==e?Pt:Math.pow(Pt,e),new Yt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Nt:Math.pow(Nt,e),new Yt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+Kt(this.r)+Kt(this.g)+Kt(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),St(Zt,(function(e,t,n,r){return 1===arguments.length?Gt(e):new Zt(e,t,n,null==r?1:r)}),Tt(Rt,{brighter:function(e){return e=null==e?Pt:Math.pow(Pt,e),new Zt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Nt:Math.pow(Nt,e),new Zt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){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 Yt(Jt(e>=240?e-240:e+120,o,r),Jt(e,o,r),Jt(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var Qt=Math.PI/180,en=180/Math.PI,tn=.96422,nn=.82521,rn=4/29,on=6/29,an=3*on*on;function sn(e){if(e instanceof ln)return new ln(e.l,e.a,e.b,e.opacity);if(e instanceof hn){if(isNaN(e.h))return new ln(e.l,0,0,e.opacity);var t=e.h*Qt;return new ln(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Yt||(e=Ut(e));var n,r,o=pn(e.r),i=pn(e.g),a=pn(e.b),s=cn((.2225045*o+.7168786*i+.0606169*a)/1);return o===i&&i===a?n=r=s:(n=cn((.4360747*o+.3850649*i+.1430804*a)/tn),r=cn((.0139322*o+.0971045*i+.7141733*a)/nn)),new ln(116*s-16,500*(n-s),200*(s-r),e.opacity)}function ln(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function cn(e){return e>.008856451679035631?Math.pow(e,1/3):e/an+rn}function un(e){return e>on?e*e*e:an*(e-rn)}function dn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function pn(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function fn(e){if(e instanceof hn)return new hn(e.h,e.c,e.l,e.opacity);if(e instanceof ln||(e=sn(e)),0===e.a&&0===e.b)return new hn(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*en;return new hn(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function hn(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}St(ln,(function(e,t,n,r){return 1===arguments.length?sn(e):new ln(e,t,n,null==r?1:r)}),Tt(Rt,{brighter:function(e){return new ln(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new ln(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){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 Yt(dn(3.1338561*(t=tn*un(t))-1.6168667*(e=1*un(e))-.4906146*(n=nn*un(n))),dn(-.9787684*t+1.9161415*e+.033454*n),dn(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),St(hn,(function(e,t,n,r){return 1===arguments.length?fn(e):new hn(e,t,n,null==r?1:r)}),Tt(Rt,{brighter:function(e){return new hn(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new hn(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return sn(this).rgb()}}));var mn=-.14861,gn=1.78277,vn=-.29227,yn=-.90649,bn=1.97294,xn=bn*yn,wn=bn*gn,En=gn*vn-yn*mn;function Cn(e){if(e instanceof Sn)return new Sn(e.h,e.s,e.l,e.opacity);e instanceof Yt||(e=Ut(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(En*r+xn*t-wn*n)/(En+xn-wn),i=r-o,a=(bn*(n-o)-vn*i)/yn,s=Math.sqrt(a*a+i*i)/(bn*o*(1-o)),l=s?Math.atan2(a,i)*en-120:NaN;return new Sn(l<0?l+360:l,s,o,e.opacity)}function kn(e,t,n,r){return 1===arguments.length?Cn(e):new Sn(e,t,n,null==r?1:r)}function Sn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Tn(e){return function(){return e}}function Rn(e,t){return function(n){return e+n*t}}function Nn(e){return 1==(e=+e)?Pn: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):Tn(isNaN(t)?n:t)}}function Pn(e,t){var n=t-e;return n?Rn(e,n):Tn(isNaN(e)?t:e)}function Dn(e){return function t(n){function r(t,r){var o=e((t=kn(t)).h,(r=kn(r)).h),i=Pn(t.s,r.s),a=Pn(t.l,r.l),s=Pn(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=i(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}function Mn(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}St(Sn,kn,Tt(Rt,{brighter:function(e){return e=null==e?Pt:Math.pow(Pt,e),new Sn(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Nt:Math.pow(Nt,e),new Sn(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Qt,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Yt(255*(t+n*(mn*r+gn*o)),255*(t+n*(vn*r+yn*o)),255*(t+n*(bn*r)),this.opacity)}})),function e(t){var n=Nn(t);function r(e,t){var r=n((e=_t(e)).r,(t=_t(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Pn(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),Dn((function(e,t){var n=t-e;return n?Rn(e,n>180||n<-180?n-360*Math.round(n/360):n):Tn(isNaN(e)?t:e)})),Dn(Pn);var Ln,In=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function An(e){return new On(e)}function On(e){if(!(t=In.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}function qn(e,t){var n=Mn(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}An.prototype=On.prototype,On.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var zn={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return qn(100*e,t)},r:qn,s:function(e,t){var n=Mn(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Ln=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Mn(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Fn(e){return e}var Wn,Hn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Bn(e){var t,n,r=e.grouping&&e.thousands?(t=e.grouping,n=e.thousands,function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}):Fn,o=e.currency,i=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(e.numerals):Fn,s=e.percent||"%";function l(e){var t=(e=An(e)).fill,n=e.align,l=e.sign,c=e.symbol,u=e.zero,d=e.width,p=e.comma,f=e.precision,h=e.trim,m=e.type;"n"===m?(p=!0,m="g"):zn[m]||(null==f&&(f=12),h=!0,m="g"),(u||"0"===t&&"="===n)&&(u=!0,t="0",n="=");var g="$"===c?o[0]:"#"===c&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",v="$"===c?o[1]:/[%p]/.test(m)?s:"",y=zn[m],b=/[defgprs%]/.test(m);function x(e){var o,s,c,x=g,w=v;if("c"===m)w=y(e)+w,e="";else{var E=(e=+e)<0;if(e=y(Math.abs(e),f),h&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(o>0){if(!+e[r])break e;o=0}}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),E&&0==+e&&(E=!1),x=(E?"("===l?l:"-":"-"===l||"("===l?"":l)+x,w=("s"===m?Hn[8+Ln/3]:"")+w+(E&&"("===l?")":""),b)for(o=-1,s=e.length;++o<s;)if(48>(c=e.charCodeAt(o))||c>57){w=(46===c?i+e.slice(o+1):e.slice(o))+w,e=e.slice(0,o);break}}p&&!u&&(e=r(e,1/0));var C=x.length+e.length+w.length,k=C<d?new Array(d-C+1).join(t):"";switch(p&&u&&(e=r(k+e,k.length?d-w.length:1/0),k=""),n){case"<":e=x+e+w+k;break;case"=":e=x+k+e+w;break;case"^":e=k.slice(0,C=k.length>>1)+x+e+w+k.slice(C);break;default:e=k+x+e+w}return a(e)}return f=null==f?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),x.toString=function(){return e+""},x}return{format:l,formatPrefix:function(e,t){var n=l(((e=An(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=Mn(Math.abs(e)))?e[1]:NaN}(t)/3))),o=Math.pow(10,-r),i=Hn[8+r/3];return function(e){return n(o*e)+i}}}}!function(e){(Wn=Bn(e)).format,Wn.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var jn=new Date,$n=new Date;function Vn(e,t,n,r){function o(t){return e(t=new Date(+t)),t}return o.floor=o,o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,s=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return s;do{s.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return s},o.filter=function(n){return Vn((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return jn.setTime(+t),$n.setTime(+r),e(jn),e($n),Math.floor(n(jn,$n))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var Un=Vn((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));Un.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Vn((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):Un:null},Un.range;var _n=1e3,Yn=6e4,Kn=36e5,Xn=864e5,Gn=6048e5;Vn((function(e){e.setTime(Math.floor(e/_n)*_n)}),(function(e,t){e.setTime(+e+t*_n)}),(function(e,t){return(t-e)/_n}),(function(e){return e.getUTCSeconds()})).range,Vn((function(e){e.setTime(Math.floor(e/Yn)*Yn)}),(function(e,t){e.setTime(+e+t*Yn)}),(function(e,t){return(t-e)/Yn}),(function(e){return e.getMinutes()})).range,Vn((function(e){var t=e.getTimezoneOffset()*Yn%Kn;t<0&&(t+=Kn),e.setTime(Math.floor((+e-t)/Kn)*Kn+t)}),(function(e,t){e.setTime(+e+t*Kn)}),(function(e,t){return(t-e)/Kn}),(function(e){return e.getHours()})).range;var Zn=Vn((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Yn)/Xn}),(function(e){return e.getDate()-1}));function Jn(e){return Vn((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Yn)/Gn}))}Zn.range;var Qn=Jn(0),er=Jn(1),tr=Jn(2),nr=Jn(3),rr=Jn(4),or=Jn(5),ir=Jn(6);Qn.range,er.range,tr.range,nr.range,rr.range,or.range,ir.range,Vn((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})).range;var ar=Vn((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));ar.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Vn((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},ar.range,Vn((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Yn)}),(function(e,t){return(t-e)/Yn}),(function(e){return e.getUTCMinutes()})).range,Vn((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Kn)}),(function(e,t){return(t-e)/Kn}),(function(e){return e.getUTCHours()})).range;var sr=Vn((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Xn}),(function(e){return e.getUTCDate()-1}));function lr(e){return Vn((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Gn}))}sr.range;var cr=lr(0),ur=lr(1),dr=lr(2),pr=lr(3),fr=lr(4),hr=lr(5),mr=lr(6);cr.range,ur.range,dr.range,pr.range,fr.range,hr.range,mr.range,Vn((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})).range;var gr=Vn((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function vr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function yr(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function br(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}gr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Vn((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},gr.range;var xr,wr,Er,Cr={"-":"",_:" ",0:"0"},kr=/^\s*\d+/,Sr=/^%/,Tr=/[\\^$*+?|[\]().{}]/g;function Rr(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function Nr(e){return e.replace(Tr,"\\$&")}function Pr(e){return new RegExp("^(?:"+e.map(Nr).join("|")+")","i")}function Dr(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Mr(e,t,n){var r=kr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Lr(e,t,n){var r=kr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Ir(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ar(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Or(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function qr(e,t,n){var r=kr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Fr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Wr(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Hr(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function Br(e,t,n){var r=kr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function jr(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function $r(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Vr(e,t,n){var r=kr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function Ur(e,t,n){var r=kr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function _r(e,t,n){var r=kr.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Yr(e,t,n){var r=Sr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Kr(e,t,n){var r=kr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Xr(e,t,n){var r=kr.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function Gr(e,t){return Rr(e.getDate(),t,2)}function Zr(e,t){return Rr(e.getHours(),t,2)}function Jr(e,t){return Rr(e.getHours()%12||12,t,2)}function Qr(e,t){return Rr(1+Zn.count(ar(e),e),t,3)}function eo(e,t){return Rr(e.getMilliseconds(),t,3)}function to(e,t){return eo(e,t)+"000"}function no(e,t){return Rr(e.getMonth()+1,t,2)}function ro(e,t){return Rr(e.getMinutes(),t,2)}function oo(e,t){return Rr(e.getSeconds(),t,2)}function io(e){var t=e.getDay();return 0===t?7:t}function ao(e,t){return Rr(Qn.count(ar(e),e),t,2)}function so(e,t){var n=e.getDay();return e=n>=4||0===n?rr(e):rr.ceil(e),Rr(rr.count(ar(e),e)+(4===ar(e).getDay()),t,2)}function lo(e){return e.getDay()}function co(e,t){return Rr(er.count(ar(e),e),t,2)}function uo(e,t){return Rr(e.getFullYear()%100,t,2)}function po(e,t){return Rr(e.getFullYear()%1e4,t,4)}function fo(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Rr(t/60|0,"0",2)+Rr(t%60,"0",2)}function ho(e,t){return Rr(e.getUTCDate(),t,2)}function mo(e,t){return Rr(e.getUTCHours(),t,2)}function go(e,t){return Rr(e.getUTCHours()%12||12,t,2)}function vo(e,t){return Rr(1+sr.count(gr(e),e),t,3)}function yo(e,t){return Rr(e.getUTCMilliseconds(),t,3)}function bo(e,t){return yo(e,t)+"000"}function xo(e,t){return Rr(e.getUTCMonth()+1,t,2)}function wo(e,t){return Rr(e.getUTCMinutes(),t,2)}function Eo(e,t){return Rr(e.getUTCSeconds(),t,2)}function Co(e){var t=e.getUTCDay();return 0===t?7:t}function ko(e,t){return Rr(cr.count(gr(e),e),t,2)}function So(e,t){var n=e.getUTCDay();return e=n>=4||0===n?fr(e):fr.ceil(e),Rr(fr.count(gr(e),e)+(4===gr(e).getUTCDay()),t,2)}function To(e){return e.getUTCDay()}function Ro(e,t){return Rr(ur.count(gr(e),e),t,2)}function No(e,t){return Rr(e.getUTCFullYear()%100,t,2)}function Po(e,t){return Rr(e.getUTCFullYear()%1e4,t,4)}function Do(){return"+0000"}function Mo(){return"%"}function Lo(e){return+e}function Io(e){return Math.floor(+e/1e3)}!function(e){(xr=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Pr(o),u=Dr(o),d=Pr(i),p=Dr(i),f=Pr(a),h=Dr(a),m=Pr(s),g=Dr(s),v=Pr(l),y=Dr(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Gr,e:Gr,f:to,H:Zr,I:Jr,j:Qr,L:eo,m:no,M:ro,p:function(e){return o[+(e.getHours()>=12)]},Q:Lo,s:Io,S:oo,u:io,U:ao,V:so,w:lo,W:co,x:null,X:null,y:uo,Y:po,Z:fo,"%":Mo},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:ho,e:ho,f:bo,H:mo,I:go,j:vo,L:yo,m:xo,M:wo,p:function(e){return o[+(e.getUTCHours()>=12)]},Q:Lo,s:Io,S:Eo,u:Co,U:ko,V:So,w:To,W:Ro,x:null,X:null,y:No,Y:Po,Z:Do,"%":Mo},w={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:Hr,e:Hr,f:_r,H:jr,I:jr,j:Br,L:Ur,m:Wr,M:$r,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u[r[0].toLowerCase()],n+r[0].length):-1},Q:Kr,s:Xr,S:Vr,u:Lr,U:Ir,V:Ar,w:Mr,W:Or,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:zr,Y:qr,Z:Fr,"%":Yr};function E(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=Cr[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function C(e,t){return function(n){var r,o,i=br(1900);if(k(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("p"in i&&(i.H=i.H%12+12*i.p),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=yr(br(i.y))).getUTCDay(),r=o>4||0===o?ur.ceil(r):ur(r),r=sr.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=t(br(i.y))).getDay(),r=o>4||0===o?er.ceil(r):er(r),r=Zn.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?yr(br(i.y)).getUTCDay():t(br(i.y)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,yr(i)):t(i)}}function k(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in Cr?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=E(n,b),b.X=E(r,b),b.c=E(t,b),x.x=E(n,x),x.X=E(r,x),x.c=E(t,x),{format:function(e){var t=E(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",vr);return t.toString=function(){return e},t},utcFormat:function(e){var t=E(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e,yr);return t.toString=function(){return e},t}}}(e)).format,xr.parse,wr=xr.utcFormat,Er=xr.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Ao="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||wr(Ao),+new Date("2000-01-01T00:00:00.000Z")||Er(Ao);const Oo=J.bind(null,!0),qo={},{isArray:zo}=Array;function Fo(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Wo(e){return void 0===e}function Ho(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function Bo(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const i=isNaN(r)?{}:[];e[r||t]=Wo(e[r||t])?i:e[t],e=e[r||t]})),e}function jo(e,t){let n=!0;if(Fo(e)&&Fo(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{jo(e[r],t[r])||(n=!1)})),n);if(zo(e)&&zo(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!jo(e[n],t[n]))return!1;return!0}return e===t}qo.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const i=function(e){return e?Oo({},{val:e}).val:e}(t[o]),a=e[o],s=`${n}/${o}`;jo(i,a)||Ho(t,o)||(Wo(a)?r.push({op:"add",path:s,value:i}):Fo(i)&&Fo(a)?r=r.concat(qo.generate(a,i,s)):zo(i)&&zo(a)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let i=-1;function a(e,t,n){if(e[n]&&Wo(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if(jo(t,o))return r;if(!Wo(t[0])&&Wo(t[0].qInfo)||0===t.length)return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)i=a(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===i?(r.push({op:"remove",path:`${n}/${e}`}),o.splice(e,1)):r=r.concat(qo.generate(o[e],t[i],`${n}/${e}`));for(let e=0,s=t.length;e<s;e+=1)i=a(o,t[e].qInfo&&t[e].qInfo.qId),-1===i?(r.push({op:"add",path:`${n}/${e}`,value:t[e]}),o.splice(e,0,t[e])):i!==e&&(r.push({op:"move",path:`${n}/${e}`,from:`${n}/${i}`}),o.splice(e,0,o.splice(i,1)[0]));return r}(a,i,s)):r.push({op:"replace",path:`${n}/${o}`,value:i}))})),Object.keys(e).forEach((o=>{Wo(t[o])&&!Ho(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},qo.apply=function(e,t){t.forEach((t=>{let n=Bo(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const i=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(zo(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(zo(o)&&zo(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Fo(o)&&Fo(t.value))a=o,Object.keys(a).forEach((e=>{Object.getOwnPropertyDescriptor(a,e).configurable&&!Ho(a,e)&&delete a[e]})),Oo(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=Bo(e,t.from);zo(n)?n.splice(+r,0,o.splice(+i,1)[0]):(n[r]=o[i],delete o[i])}else"remove"===t.op&&(zo(n)?n.splice(+r,1):delete n[r]);var a}))},qo.clone=function(e){return Oo({},e)},qo.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},qo.updateObject=function(e,t){Object.keys(e).length?qo.apply(e,qo.generate(e,t)):Oo(e,t)};const $o=[[2,4,6],[2,4],[3]],Vo=[,[,,[[1,2]],[[1,2,3],[1,3]],[[1,2,4],[1,4]],[[1,2,4],[1,5]],[[1,2,4,6],[2,4,6],[1,3,6],[1,6]],[[1,2,4,6],[2,4,6],[1,3,6],[1,7]],[[1,2,4,8],[2,4,8],[1,8]],[[1,2,4,8],[2,4,8],[1,3,9],[1,9]],[[1,2,4,6,10],[1,2,4,10],[1,3,10],[3,10],[1,10]]],[,,,[[2,3]],[[2,3,4],[2,4]],[[2,3,4],[2,4],[2,5]],[[2,4,6],[2,6]],[[2,4,6],[2,6],[2,7]],[[2,4,8],[2,8]],[[2,4,8],[2,8],[2,9]],[[2,4,6,10],[2,4,10],[5,10],[3,10]]],[,,,,[[3,4]],[[3,4,5],[3,5]],[[3,4,5,6],[3,6]],[[3,4,5,6],[3,5,7],[3,7]],[[3,4,5,6,8],[3,5,7],[4,8],[3,8]],[[3,4,5,6,8],[3,4,6,9],[3,4,6,8],[3,6,9],[4,8],[3,9]],[[4,6,10],[5,10],[3,10]]],[,,,,,[[4,5]],[[4,5,6],[4,6]],[[4,5,6,7],[4,5,6],[4,6]],[[4,5,6,7,8],[4,5,6,7],[4,6,8],[4,8]],[[4,5,6,7,8],[4,6,9],[4,6,8],[4,8]],[[4,6,10],[5,7,9],[5,10],[4,10]]],[,,,,,,[[5,6]],[[5,6,7],[5,7]],[[5,6,7,8],[5,6,7],[6,8]],[[5,6,7,8,9],[5,6,7,8],[5,7,9],[5,9]],[[6,8,10],[5,10]]],[,,,,,,,[[6,7]],[[6,7,8],[6,8]],[[6,7,8,9],[6,7,8],[6,9]],[[6,7,8,9,10],[6,8,10],[6,10]]],[,,,,,,,,[[7,8]],[[7,8,9],[7,9]],[[7,8,9,10],[8,10],[7,10],[7,9]]],[,,,,,,,,,[[8,9]],[[8,9,10],[8,10]]],[,,,,,,,,,,[[9,10]]]];function Uo(e,t,n){const r=e?e.length:0;let o,i=void 0===t?Number.MAX_VALUE:e[0]/t;for(o=1;o<r;o++)i=Math.min(i,e[o]/e[o-1]);void 0!==n&&(i=Math.min(i,n/e[r-1])),e.splice(0,0,i)}function _o(e,t,n){let r;const o=e?e.length:0;for(r=0;r<o;r++)Uo(e[r],t,n)}!function(){let e,t;for(_o($o,1,10),e=0;e<Vo.length;e++)if(Vo[e])for(t=0;t<Vo[e].length;t++)Array.isArray(Vo[e][t])&&_o(Vo[e][t])}();var Yo={exports:{}};function Ko(){}function Xo(){}Xo.resetWarningCache=Ko;Yo.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Xo,resetWarningCache:Ko};return n.PropTypes=n,n}();var Go={black:"#000",white:"#fff"},Zo="#e57373",Jo="#f44336",Qo="#d32f2f",ei="#ff4081",ti="#f50057",ni="#c51162",ri="#7986cb",oi="#3f51b5",ii="#303f9f",ai={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};function si(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e<t?t:e>n?n:e}function li(e){if(e.type)return e;if("#"===e.charAt(0))return li(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb(".concat(n.map((function(e){return parseInt(e,16)})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function ci(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function ui(e){var t="hsl"===(e=li(e)).type?li(function(e){var t=(e=li(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),ci({type:s,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function di(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return ui(e)>.5?fi(e,t):hi(e,t)}function pi(e,t){return e=li(e),t=si(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,ci(e)}function fi(e,t){if(e=li(e),t=si(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return ci(e)}function hi(e,t){if(e=li(e),t=si(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return ci(e)}function mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gi(){return(gi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function vi(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function yi(e,t){if(null==e)return{};var n,r,o=vi(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function bi(e){return(bi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xi(e){return(xi="function"==typeof Symbol&&"symbol"===bi(Symbol.iterator)?function(e){return bi(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":bi(e)})(e)}function wi(e){return e&&"object"===xi(e)&&!Array.isArray(e)}function Ei(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?gi({},e):e;return wi(e)&&wi(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(wi(t[o])&&o in e?r[o]=Ei(e[o],t[o],n):r[o]=t[o])})),r}(Yo.exports.element,function(){return null}).isRequired=(Yo.exports.element.isRequired,function(){return null});var Ci={exports:{}},ki={};
|
|
7
|
+
System.register(["hammerjs","picasso.js","picasso-plugin-q","react","react-dom","@nebula.js/stardust","qlik-chart-modules","qlik-object-conversion"],(function(e){"use strict";var t,n,r,o,i,a,s,l,c,u,d,p,f,h,m,g,v,y,b,x,w,E,C,k,S,T,R,N,M,P,D,L,I,A,O,q,z,F,W;return{setters:[function(e){t=e.default},function(e){n=e.default},function(e){r=e.default},function(e){o=e.default,i=e.Children,a=e.isValidElement,s=e.cloneElement},function(e){l=e.default},function(e){c=e.useOptions,u=e.useElement,d=e.useSelections,p=e.useState,f=e.useLayout,h=e.useTranslator,m=e.useAction,g=e.useEffect,v=e.useModel,y=e.useApp,b=e.useStaleLayout,x=e.usePlugins,w=e.useConstraints,E=e.useTheme,C=e.useAppLayout,k=e.useEmbed,S=e.usePromise,T=e.useRect,R=e.onTakeSnapshot,N=e.useImperativeHandle},function(e){M=e.selectionService,P=e.storage,D=e.cache,L=e.getValue,I=e.tooltipService,A=e.colorService,O=e.pluginService,q=e.themeService,z=e.debouncer,F=e.setValue},function(e){W=e.default}],execute:function(){var H={properties_dataPoints_labelmode_share:{id:"properties.dataPoints.labelmode.share",locale:{"en-US":"Share","zh-TW":"佔有率","zh-CN":"份额","tr-TR":"Pay","sv-SE":"Andel","it-IT":"Percentuale","es-ES":"Cuota","de-DE":"Anteil","pl-PL":"Udział","nl-NL":"Aandeel","ko-KR":"공유","pt-BR":"Percentual","fr-FR":"Part","ja-JP":"割合","ru-RU":"Доля"}},Tooltip_selections_locked:{id:"Tooltip.selections.locked",locale:{"en-US":"Selections on this dimension are locked","zh-TW":"已鎖定此維度上的選項","zh-CN":"相关维度的选择已锁定","tr-TR":"Bu boyuttaki seçimler kilitli","sv-SE":"Urval i den här dimensionen är låsta","it-IT":"Le selezioni in questa dimensione sono bloccate","es-ES":"Las selecciones de esta dimensión están bloqueadas.","de-DE":"Auswahlen sind für diese Dimension gesperrt","pl-PL":"Selekcje dotyczące tego wymiaru są zablokowane","nl-NL":"Selecties voor deze dimensie zijn vergrendeld","ko-KR":"이 차원의 선택은 잠겨 있습니다.","pt-BR":"Seleções estão bloqueadas nesta dimensão","fr-FR":"Sélections verrouillées pour cette dimension","ja-JP":"この軸での選択はロックされています","ru-RU":"Выборки для данного измерения заблокированы"}},Tooltip_dimensions_drilldown:{id:"Tooltip.dimensions.drilldown",locale:{"en-US":"Drill-down dimension","zh-TW":"向下探查維度","zh-CN":"下钻维度","tr-TR":"Detaya inme boyutu","sv-SE":"Hierarkisk dimension","it-IT":"Dimensione di drill-down","es-ES":"Dimensión jerárquica","de-DE":"Drilldown-Dimension:","pl-PL":"Wymiar hierarchiczny","nl-NL":"Drill-downdimensie","ko-KR":"드릴다운 차원","pt-BR":"Dimensão da hierarquia","fr-FR":"Descendre dans la hiérarchie de la dimension","ja-JP":"軸のドリルダウン","ru-RU":"Измерение с детализацией"}},Object_ErrorMessage_MissingDimension:{id:"Object.ErrorMessage.MissingDimension",locale:{"en-US":"Dimension not found","zh-TW":"找不到維度","zh-CN":"未找到维度","tr-TR":"Boyut bulunamadı","sv-SE":"Dimensionen hittades inte","it-IT":"Dimensione non trovata","es-ES":"No se ha encontrado la dimensión","de-DE":"Dimension nicht gefunden","pl-PL":"Wymiar nie został znaleziony","nl-NL":"Dimensie niet gevonden","ko-KR":"차원을 찾지 못했습니다.","pt-BR":"Dimensão não encontrada","fr-FR":"Dimension introuvable","ja-JP":"軸が見つかりません","ru-RU":"Измерение не найдено"}},Object_ErrorMessage_MissingMeasure:{id:"Object.ErrorMessage.MissingMeasure",locale:{"en-US":"Measure not found","zh-TW":"找不到量值","zh-CN":"未找到度量","tr-TR":"Hesaplama bulunamadı","sv-SE":"Måttet hittades inte","it-IT":"Misura non trovata","es-ES":"No se ha encontrado la medida","de-DE":"Kennzahl nicht gefunden","pl-PL":"Miara nie została znaleziona","nl-NL":"Meting niet gevonden","ko-KR":"측정값을 찾지 못했습니다.","pt-BR":"Medida não encontrada","fr-FR":"Mesure introuvable","ja-JP":"メジャーが見つかりません","ru-RU":"Мера не найдена"}},Object_Disclaimer_LimitedData:{id:"Object.Disclaimer.LimitedData",locale:{"en-US":"Currently showing a limited data set.","zh-TW":"目前顯示的是有限的資料集。","zh-CN":"当前正显示有限的数据集。","tr-TR":"Şu anda sınırlı bir veri kümesi gösteriliyor.","sv-SE":"Just nu visas en begränsad uppsättning data.","it-IT":"Attualmente viene visualizzata una serie di dati limitata.","es-ES":"Mostrando actualmente un conjunto limitado de datos.","de-DE":"Zurzeit wird nur ein beschränkter Datensatz angezeigt.","pl-PL":"Aktualnie przedstawiany jest ograniczony zestaw danych.","nl-NL":"Momenteel wordt een beperkte gegevensverzameling getoond.","ko-KR":"현재 제한된 데이터 집합을 표시하고 있습니다.","pt-BR":"Mostrando um conjunto de dados limitado.","fr-FR":"Affichage d'un ensemble de données limité pour l'instant.","ja-JP":"現在、限定的なデータ セットを表示しています。","ru-RU":"В настоящее время отображается ограниченный набор данных."}},Object_Disclaimer_OnlyNegativeOrZeroValues:{id:"Object.Disclaimer.OnlyNegativeOrZeroValues",locale:{"en-US":"The chart is not displayed because it contains only negative or zero values.","zh-TW":"系統不會顯示圖表,因為該圖表僅包含負值或零值。","zh-CN":"未显示图表,因为它仅包含负值或零值。","tr-TR":"Yalnızca negatif veya sıfır değerlerini içermesi nedeniyle grafik görüntülenmiyor.","sv-SE":"Diagrammet visas inte eftersom det enbart innehåller negativa eller nollvärden","it-IT":"Il grafico non viene visualizzato poiché contiene solo valori negativi o uguali a zero.","es-ES":"El gráfico no se muestra porque sólo contiene valores negativos o valores cero.","de-DE":"Das Diagramm wird nicht angezeigt, da es nur negative oder 0-Werte enthält.","pl-PL":"Wykres nie jest wyświetlany, ponieważ zawiera wartości ujemne lub zerowe.","nl-NL":"De grafiek wordt niet weergegeven omdat het alleen negatieve waarden of nulwaarden bevat.","ko-KR":"음수 또는 zero 값만 포함되어 있으므로 차트가 표시되지 않습니다.","pt-BR":"O gráfico não foi exibido, porque contém apenas valores negativos ou zero.","fr-FR":"Le graphique n'est pas affiché, car il contient uniquement des valeurs négatives ou égales à zéro.","ja-JP":"チャートは負の値またはゼロ値しか含まれていないため、表示されていません。","ru-RU":"Диаграмма не отображается, поскольку она содержит только отрицательные или нулевые значения."}},Object_Disclaimer_NegativeOrZeroValues:{id:"Object.Disclaimer.NegativeOrZeroValues",locale:{"en-US":"The data set contains negative or zero values that cannot be shown in this chart.","zh-TW":"資料集包含無法在此圖表中顯示的負值或零值。","zh-CN":"数据集中包含无法在此图表中显示的负值或零值。","tr-TR":"Veri kümesi, bu grafikte gösterilemeyen negatif veya sıfır değerlerini içeriyor.","sv-SE":"Datauppsättningen innehåller negativa värden eller nollvärden som inte kan visas i detta diagram.","it-IT":"La serie di dati contiene valori negativi o uguali a zero che non possono essere visualizzati in questo grafico.","es-ES":"El conjunto de datos contiene valores negativos o cero que no se pueden mostrar en este gráfico.","de-DE":"Die in den Datensätzen enthaltenen negativen oder 0-Werte können nicht in diesem Diagramm dargestellt werden.","pl-PL":"Zestaw danych zawiera wartości ujemne lub zerowe, których nie można przedstawić w tym wykresie.","nl-NL":"De gegevensverzameling bevat negatieve waarden of nulwaarden die niet kunnen worden weergegeven in deze grafiek.","ko-KR":"데이터 집합에 해당 차트에 표시할 수 없는 음수 값 또는 zero 값이 포함되어 있습니다.","pt-BR":"O conjunto de dados contém valores negativos ou iguais a zero que não podem ser mostrados neste gráfico.","fr-FR":"L'ensemble de données contient des valeurs négatives ou égales à zéro impossibles à afficher dans ce graphique.","ja-JP":"データ セットには、本チャートに表示できない負の値またはゼロ値が含まれています。","ru-RU":"Набор данных содержит отрицательные или нулевые значения, которые невозможно показать в этой диаграмме."}},Object_Disclaimer_DataRangeIncludingZero:{id:"Object.Disclaimer.DataRangeIncludingZero",locale:{"en-US":"The logarithmic scale has been replaced by a linear scale because the data range includes zero.","zh-TW":"對數刻度已遭線性刻度取代,因為資料範圍包含零。","zh-CN":"对数刻度已替换为线性刻度,因为该数据范围包括零。","tr-TR":"Veri aralığı sıfır değerini içerdiğinden, logaritmik ölçek yerine doğrusal ölçek kullanıldı.","sv-SE":"Den logaritmiska skalan har ersatts av en linjär skala eftersom dataintervallet innehåller värdet noll.","it-IT":"La scala logaritmica è stata sostituita da una scala lineare perché l'intervallo di dati include zero.","es-ES":"La escala logarítmica ha sido reemplazada por una escala lineal porque el rango de datos incluye cero.","de-DE":"Die logarithmische Skala wurde durch die lineare Skala ersetzt, weil der Datenbereich NULL enthält.","pl-PL":"Skala logarytmiczna została zastąpiona liniową, ponieważ zakres danych zawiera zero.","nl-NL":"De logaritmische schaal is vervangen door een lineaire schaal omdat het gegevensbereik nullen bevat.","ko-KR":"데이터 범위에 0이 포함되어 있으므로 로그 눈금이 선형 눈금으로 바뀌었습니다.","pt-BR":"A escala logarítmica foi substituída por uma escala linear, pois o intervalo de dados inclui zero.","fr-FR":"L'échelle logarithmique a été remplacée par une échelle linéaire, car la plage de données comprend la valeur zéro.","ja-JP":"データ範囲にゼロが含まれるため、Log スケールは Linear スケールで置換されています。","ru-RU":"Логарифмический масштаб заменен линейным масштабом, поскольку диапазон данных включает ноль."}},Object_Disclaimer_NoDataExist:{id:"Object.Disclaimer.NoDataExist",locale:{"en-US":"The selections generated no data for this chart.","zh-TW":"此選項無法產生任何適用於此圖表的資料。","zh-CN":"选择未生成此图表的数据。","tr-TR":"Seçimler bu grafik için hiç veri oluşturmadı.","sv-SE":"Urvalen genererade inga data för detta diagram.","it-IT":"Le selezioni non hanno generato dati per questo grafico.","es-ES":"Las selecciones no han generado datos para este gráfico.","de-DE":"Die Auswahlen haben für dieses Diagramm keine Daten generiert.","pl-PL":"Selekcje nie spowodowały wygenerowania danych dla tego wykresu.","nl-NL":"De selecties hebben geen gegevens voor de grafiek gegenereerd.","ko-KR":"선택 내용으로 해당 차트에 대한 데이터가 생성되지 않았습니다.","pt-BR":"As seleções não geraram dados para este gráfico.","fr-FR":"Les sélections n'ont pas généré de données pour ce graphique.","ja-JP":"このチャートには選択からデータが生成されませんでした。","ru-RU":"В результате выборок данные для этой диаграммы не созданы."}},Object_Disclaimer_OnlyNanData:{id:"Object.Disclaimer.OnlyNanData",locale:{"en-US":"The chart is not displayed because it contains only undefined values.","zh-TW":"系統不會顯示圖表,因為該圖表僅包含未定義的值。","zh-CN":"未显示图表,因为它仅包含未定义的值。","tr-TR":"Yalnızca tanımsız değerleri içermesi nedeniyle grafik görüntülenmiyor.","sv-SE":"Diagrammet visas inte eftersom det enbart innehåller odefinierade värden.","it-IT":"Il grafico non è visualizzato poiché contiene solo valori non definiti.","es-ES":"El gráfico no se muestra porque solo contiene valores indefinidos.","de-DE":"Das Diagramm wird nicht angezeigt, da es nur nicht definierte Werte enthält.","pl-PL":"Wykres nie jest wyświetlany, ponieważ zawiera wartości niezdefiniowane.","nl-NL":"De grafiek wordt niet weergegeven omdat deze alleen ongedefinieerde waarden bevat.","ko-KR":"정의되지 않은 값만 포함되어 있으므로 차트가 표시되지 않습니다.","pt-BR":"O gráfico não foi exibido, porque contém apenas valores não definidos.","fr-FR":"Le graphique n'est pas affiché, car il contient uniquement des valeurs non définies.","ja-JP":"未定義の値しか含まれていないため、チャートは表示されていません。","ru-RU":"Диаграмма не отображается, поскольку она содержит только неопределенные значения."}},Object_ChartTooltip_NMore:{id:"Object.ChartTooltip.NMore",locale:{"en-US":"+{0} more","zh-TW":"再加 {0} 個","zh-CN":"+{0} 个","tr-TR":"+{0} öğe daha","sv-SE":"+{0} till","it-IT":"Altre +{0}","es-ES":"+{0} más","de-DE":"+{0} mehr","pl-PL":"+ {0} więcej","nl-NL":"+ {0} meer","ko-KR":"+추가 {0}개","pt-BR":"+{0} mais","fr-FR":"+ {0} de plus","ja-JP":"さらに {0}","ru-RU":"+ дополнительно: {0}"}},Object_ChartTooltip_sumOfPositives:{id:"Object.ChartTooltip.sumOfPositives",locale:{"en-US":"Sum of positives","zh-TW":"正數總和","zh-CN":"正值总和","tr-TR":"Pozitif değerlerin toplamı","sv-SE":"Summan av positiva","it-IT":"Somma valori positivi","es-ES":"Suma de positivos","de-DE":"Summe positiver Werte","pl-PL":"Suma dodatnich","nl-NL":"Som positieven","ko-KR":"양수 합계","pt-BR":"Soma de positivos","fr-FR":"Sommes des valeurs positives","ja-JP":"正の合計","ru-RU":"Сумма положительных значений"}},Object_ChartTooltip_sumOfNegatives:{id:"Object.ChartTooltip.sumOfNegatives",locale:{"en-US":"Sum of negatives","zh-TW":"負數總和","zh-CN":"负值总和","tr-TR":"Negatif değerlerin toplamı","sv-SE":"Summan av negativa","it-IT":"Somma valori negativi","es-ES":"Suma de negativos","de-DE":"Summe negativer Werte","pl-PL":"Suma ujemnych","nl-NL":"Som negatieven","ko-KR":"음수 합계","pt-BR":"Soma de negativos","fr-FR":"Somme des valeurs négatives","ja-JP":"負の合計","ru-RU":"Сумма отрицательных значений"}},Object_ChartTooltip_ColorExpression:{id:"Object.ChartTooltip.ColorExpression",locale:{"en-US":"Color expression","zh-TW":"色彩運算式","zh-CN":"颜色表达式","tr-TR":"Renk ifadesi","sv-SE":"Färguttryck","it-IT":"Espressione colore","es-ES":"Expresión de color","de-DE":"Farbformel","pl-PL":"Wyrażenie koloru","nl-NL":"Kleuruitdrukking","ko-KR":"색상 표현식","pt-BR":"Expressão de cor","fr-FR":"Expression de couleur","ja-JP":"カラー表現","ru-RU":"Выражение для цвета"}},Object_Disclaimer_OnlyNanColor:{id:"Object.Disclaimer.OnlyNanColor",locale:{"en-US":"The data used to color this visualization only contains undefined values.","zh-TW":"用以定義此視覺化的色彩的資料只包含未定義的值。","zh-CN":"用于将该可视化着色的数据仅包含未定义的值。","tr-TR":"Bu görselleştirmeyi renklendirmek için kullanılan veriler yalnızca tanımlanmamış değerler içeriyor.","sv-SE":"Data som används för att färgsätta denna visualisering innehåller enbart odefinierade värden.","it-IT":"I dati utilizzati per colorare questa visualizzazione contengono solo valori non definiti.","es-ES":"Los datos utilizados para colorear esta visualización solo contienen valores indefinidos.","de-DE":"Die verwendeten Daten für die Farbgebung dieser Visualisierung enthalten undefinierte Werte.","pl-PL":"Dane używane do kolorowania tej wizualizacji zawierają wyłącznie niezdefiniowane wartości.","nl-NL":"De gegevens die worden gebruikt om deze visualisatie kleur te geven bevatten uitsluitend ongedefinieerde waarden.","ko-KR":"이 시각화에 색을 지정하는 데 사용된 데이터에는 정의되지 않은 값만 포함되어 있습니다.","pt-BR":"Os dados usados para colorir esse visualização contém somente valores indefinidos.","fr-FR":"Les données utilisées pour colorer cette visualisation ne comportent que des valeurs non définies.","ja-JP":"このビジュアライゼーションの色の割り当てに使用したデータには、未定義の値が含まれています。","ru-RU":"Данные, используемые для выбора цвета визуализации, содержат только неопределенные значения."}},properties_trendlines_types_average:{id:"properties.trendlines.types.average",locale:{"en-US":"Average","zh-TW":"平均值","zh-CN":"平均值","tr-TR":"Ortalama","sv-SE":"Medel","it-IT":"Media","es-ES":"Media","de-DE":"Durchschnitt","pl-PL":"Średnia","nl-NL":"Gemiddelde","ko-KR":"평균","pt-BR":"Média","fr-FR":"Moyenne","ja-JP":"平均値","ru-RU":"Среднее"}},properties_trendlines_types_linear:{id:"properties.trendlines.types.linear",locale:{"en-US":"Linear","zh-TW":"線性","zh-CN":"线性","tr-TR":"Doğrusal","sv-SE":"Linjär","it-IT":"Lineare","es-ES":"Lineal","de-DE":"Linear","pl-PL":"Liniowa","nl-NL":"Lineair","ko-KR":"선형","pt-BR":"Linear","fr-FR":"Linéaire","ja-JP":"線形","ru-RU":"Линейный"}},properties_trendlines_types_polynomial2:{id:"properties.trendlines.types.polynomial2",locale:{"en-US":"Second degree polynomial","zh-TW":"第二度多項式","zh-CN":"二次多项式","tr-TR":"İkinci derece polinom","sv-SE":"Polynomial, andra graden","it-IT":"Polinomio di secondo grado","es-ES":"Polinómica de segundo grado","de-DE":"Polynom zweiten Grades","pl-PL":"Wielomianowa drugiego stopnia","nl-NL":"Tweedegraadspolynoom","ko-KR":"2차 다항식","pt-BR":"Polinômio de segundo grau","fr-FR":"Polynomial du 2ème degré","ja-JP":"2 番目の角度の多項式近似","ru-RU":"Полиномиальный второй степени"}},properties_trendlines_types_polynomial3:{id:"properties.trendlines.types.polynomial3",locale:{"en-US":"Third degree polynomial","zh-TW":"第三度多項式","zh-CN":"三次多项式","tr-TR":"Üçüncü derece polinom","sv-SE":"Polynomial, tredje graden","it-IT":"Polinomio di terzo grado","es-ES":"Polinómica de tercer grado","de-DE":"Polynom dritten Grades","pl-PL":"Wielomianowa trzeciego stopnia","nl-NL":"Derdegraadspolynoom","ko-KR":"3차 다항식","pt-BR":"Polinômio de terceiro grau","fr-FR":"Polynomial du 3ème degré","ja-JP":"3 番目の角度の多項式近似","ru-RU":"Полиномиальный третьей степени"}},properties_trendlines_types_polynomial4:{id:"properties.trendlines.types.polynomial4",locale:{"en-US":"Fourth degree polynomial","zh-TW":"第四度多項式","zh-CN":"四次多项式","tr-TR":"Dördüncü derece polinom","sv-SE":"Polynomial, fjärde graden","it-IT":"Polinomio di quarto grado","es-ES":"Polinómica de cuarto grado","de-DE":"Polynom vierten Grades","pl-PL":"Wielomianowa czwartego stopnia","nl-NL":"Vierdegraadspolynoom","ko-KR":"4차 다항식","pt-BR":"Polinômio de quarto grau","fr-FR":"Polynomial du 4ème degré","ja-JP":"4 番目の角度の多項式近似","ru-RU":"Полиномиальный четвертой степени"}},properties_trendlines_types_exponential:{id:"properties.trendlines.types.exponential",locale:{"en-US":"Exponential","zh-TW":"指數","zh-CN":"指数","tr-TR":"Üstel","sv-SE":"Exponentiell","it-IT":"Esponenziale","es-ES":"Exponencial","de-DE":"Exponentiell","pl-PL":"Wykładnicze","nl-NL":"Exponentieel","ko-KR":"지수","pt-BR":"Exponencial","fr-FR":"Exponentiel","ja-JP":"指数","ru-RU":"Экспоненциальный"}},properties_trendlines_types_logarithmic:{id:"properties.trendlines.types.logarithmic",locale:{"en-US":"Logarithmic","zh-TW":"對數","zh-CN":"对数","tr-TR":"Logaritmik","sv-SE":"Logaritmisk","it-IT":"Logaritmica","es-ES":"Logarítmica","de-DE":"Logarithmisch","pl-PL":"Logarytmiczna","nl-NL":"Logaritmisch","ko-KR":"로그","pt-BR":"Logarítmico","fr-FR":"Logarithmique","ja-JP":"対数","ru-RU":"Логарифмический"}},properties_trendlines_types_power:{id:"properties.trendlines.types.power",locale:{"en-US":"Power","zh-TW":"乘冪","zh-CN":"幂","tr-TR":"Üs","sv-SE":"Potens","it-IT":"Potenza","es-ES":"Potencia","de-DE":"Potenz","pl-PL":"Potęgowa","nl-NL":"Macht","ko-KR":"거듭제곱","pt-BR":"Potência","fr-FR":"Puissance","ja-JP":"累乗","ru-RU":"Силовой"}},Common_Measures:{id:"Common.Measures",locale:{"en-US":"Measures","de-DE":"Kennzahlen","fr-FR":"Mesures","it-IT":"Misure","ja-JP":"メジャー","ko-KR":"측정값","es-ES":"Medidas","nl-NL":"Metingen","pl-PL":"Miary","pt-BR":"Medidas","sv-SE":"Mått","tr-TR":"Hesaplamalar","zh-CN":"度量","zh-TW":"量值","ru-RU":"Меры"}},Tooltip_ToggleOnLassoSelection:{id:"Tooltip.ToggleOnLassoSelection",locale:{"en-US":"Turn on lasso selection","de-DE":"Lasso-Auswahl aktivieren","fr-FR":"Activer la sélection au lasso","it-IT":"Attiva selezione lazo","ja-JP":"囲み選択をオンにする","ko-KR":"올가미 선택 켜기","es-ES":"Activar la selección de contorno","nl-NL":"Lassoselectie inschakelen","pl-PL":"Włącz zaznaczenie lasso","pt-BR":"Ativar seleção de laço","sv-SE":"Slå på lassourval","tr-TR":"Serbest seçimi aç","zh-CN":"开启套索选择方法","zh-TW":"開啟套索選取","ru-RU":"Включить выбор лассо"}},Tooltip_ToggleOffLassoSelection:{id:"Tooltip.ToggleOffLassoSelection",locale:{"en-US":"Turn off lasso selection","de-DE":"Lasso-Auswahl deaktivieren","fr-FR":"Désactiver la sélection au lasso","it-IT":"Disattiva selezione lazo","ja-JP":"囲み選択をオフにする","ko-KR":"올가미 선택 끄기","es-ES":"Desactivar la selección de contorno","nl-NL":"Lassoselectie uitschakelen","pl-PL":"Wyłącz zaznaczenie lasso","pt-BR":"Desativar seleção de laço","sv-SE":"Stäng av lassourval","tr-TR":"Serbest seçimi kapat","zh-CN":"关闭套索选择方法","zh-TW":"關閉套索選取","ru-RU":"Выключить выбор лассо"}}};var B={click:"Tap",Click:"Tap",tap:"Tap",pan:"Pan",swipe:"Swipe",rotate:"Rotate",press:"Press",pinch:"Pinch"};function j(e){return B[e]||e}function $(e){return function(t,n,r){var o,i,a,s,l=[],c=!0;function u(){"function"==typeof o.enable&&(o.enable=o.enable.bind(i)()),o.enable&&(o.gestures.forEach((function(t){t.options=t.options||{},void 0===t.options.enable&&(t.options.enable=!0),"function"==typeof t.options.enable&&(t.options.enable=t.options.enable.bind(i));var n=j(t.type);e&&e[n]&&(t.options.event=t.options.event||t.type.toLowerCase(),(a=a||new e.Manager(r)).add(new e[n](t.options)),Object.keys(t.events).forEach((function(e){t.events[e]=t.events[e].bind(i),a.on(e,t.events[e])})),l.push(t))})),o.gestures.forEach((function(t){var n=j(t.type);e&&e[n]&&(t.recognizeWith&&a.get(t.options.event).recognizeWith(t.recognizeWith.split(" ").filter((function(e){return""!==e}))),t.requireFailure&&a.get(t.options.event).requireFailure(t.requireFailure.split(" ").filter((function(e){return""!==e}))))})))}function d(){l.forEach((function(e){Object.keys(e.events).forEach((function(t){a.off(t,e.events[t])})),a.remove(e.options.event)})),l=[]}return{get key(){return s},set:function(e){!function(e){s=e.key,i={chart:t,mediator:n,settings:o=e},o.gestures=o.gestures||[],void 0===o.enable&&(o.enable=!0)}(e),d(),c&&u()},off:function(){c=!1,d()},on:function(){c=!0,0===l.length&&u()},destroy:function(){d(),a&&a.destroy(),a=null,i=null,o=null}}}}function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var U=Object.prototype.hasOwnProperty,_=Object.prototype.toString,Y=Object.defineProperty,K=Object.getOwnPropertyDescriptor,X=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===_.call(e)},G=function(e){if(!e||"[object Object]"!==_.call(e))return!1;var t,n=U.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&U.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||U.call(e,t)},Z=function(e,t){Y&&"__proto__"===t.name?Y(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},J=function(e,t){if("__proto__"===t){if(!U.call(e,t))return;if(K)return K(e,t).value}return e[t]},Q=function e(){var t,n,r,o,i,a,s=arguments[0],l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=J(s,n),s!==(o=J(t,n))&&(u&&o&&(G(o)||(i=X(o)))?(i?(i=!1,a=r&&X(r)?r:[]):a=r&&G(r)?r:{},Z(s,{name:n,newValue:e(u,a,o)})):void 0!==o&&Z(s,{name:n,newValue:o}));return s};const ee="center",te="bottom";var ne={NoDataExist:{label:"NoDataExist",alignment:ee,default:!0},OnlyNanData:{label:"OnlyNanData",alignment:ee,default:!0},OnlyNegativeOrZeroValues:{label:"OnlyNegativeOrZeroValues",alignment:ee,default:!1},LimitedData:{label:"LimitedData",alignment:te,default:!1},OnlyNanColor:{label:"OnlyNanColor",alignment:te,default:!1},NegativeOrZeroValues:{label:"NegativeOrZeroValues",alignment:te,default:!1},DataRangeIncludingZero:{label:"DataRangeIncludingZero",alignment:te,default:!1}};const re=[["FULL",{width:550,height:450}],["MEDIUM",{width:400,height:220}],["SMALL",{width:300,height:150}],["XSMALL",{width:150,height:75}],["SPARK",{width:0,height:0}]],oe={};re.forEach((([e,{width:t,height:n}])=>{oe[e]={width:t,height:n}}));const ie={getLayoutModes:()=>oe,getLayoutMode(e,t){let n;for(n=0;n<re.length;++n)if(e>=re[n][1].width&&t>=re[n][1].height)return re[n][0];return"SPARK"}};function ae(e,t){return{layoutModes:ie.getLayoutModes(),center:void 0!==t.minCenterRatio?{minWidthRatio:t.minCenterRatio,minHeightRatio:t.minCenterRatio}:void 0,logicalSize:t.logicalSize?{align:.5,preserveAspectRatio:!0,...t.logicalSize}:void 0}}const se=(e,t,n)=>{const r=t.split(".");let o,i=e;if(void 0===i)return n;for(o=0;o<r.length;++o){if(void 0===i[r[o]])return n;i=i[r[o]]}return i};function le(e,t){const n=e.component(t);return n&&n._DO_NOT_USE_getInfo&&n._DO_NOT_USE_getInfo().offset}const ce=new RegExp("[A-Za-zªµºÀ-ÖØ-öø-ʸʻ-ˁː-ˑˠ-ˤˮͰ-ͳͶ-ͽΆΈ-ϵϷ-҂Ҋ-։ः-हऻऽ-ीॉ-ौॎ-ॐक़-ॡ।-ॿং-হঽ-ীে-ৌৎ-ৡ০-ৱ৴-৺ਃ-ਹਾ-ੀਖ਼-੯ੲ-ੴઃ-હઽ-ીૉ-ૌૐ-ૡ૦-૯ଂ-ହଽ-ାୀେ-ୌୗ-ୡ୦-୷ஃ-ிு-ௌௐ-௲ఁ-ఽు-ౄౘ-ౡ౦-౯౿-ಹಽ-ೋೕ-ೡ೦-ീെ-ൌൎ-ൡ൦-ෆා-ෑෘ-ะา-ำเ-ๆ๏-ະາ-ຳຽ-ໆ໐-༗༚-༴༶༸༾-ཬཿ྅ྈ-ྌ྾-࿅࿇-ာေးျ-ြဿ-ၗၚ-ၝၡ-ၰၵ-ႁႃ-ႄႇ-ႌႎ-ႜ႞-ፚ፠-ᎏᎠ-Ᏼᐁ-ᙿᚁ-ᚚᚠ-ᜑᜠ-ᜱ᜵-ᝑᝠ-ᝰក-ាើ-ៅះ-ៈ។-៚ៜ០-៩᠐-ᢨᢪ-ᤜᤣ-ᤦᤩ-ᤱᤳ-ᤸ᥆-᧚ᨀ-ᨖᨙ-ᩕᩗᩡᩣ-ᩤᩭ-ᩲ᪀-᪭ᬄ-ᬳᬵᬻᬽ-ᭁᭃ-᭪᭴-᭼ᮂ-ᮡᮦ-ᮧ᮪-ᯥᯧᯪ-ᯬᯮ᯲-ᰫᰴ-ᰵ᰻-᱿᳓᳡ᳩ-ᳬᳮ-ᶿḀ-ᾼιῂ-ῌῐ-Ίῠ-Ῥῲ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎ-⅏Ⅰ-ↈ⌶-⍺⎕⒜-ⓩ⚬⠀-⣿Ⰰ-ⳤⳫ-ⳮⴀ-⵰ⶀ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ㆺㇰ-㈜㈠-㉏㉠-㉻㉿-㊰㋀-㋋㋐-㍶㍻-㏝㏠-㏾㐀-䶵一-ꒌꓐ-ꘌꘐ-ꙮꚀ-ꛯ꛲-꛷Ꜣ-ꞇ꞉-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠤꠧ꠰-꠷ꡀ-ꡳꢀ-ꣃ꣎-꣙ꣲ-ꤥ꤮-ꥆꥒ-ꥼꦃ-ꦲꦴ-ꦵꦺ-ꦻꦽ-ꨨꨯ-ꨰꨳ-ꨴꩀ-ꩂꩄ-ꩋꩍ-ꪯꪱꪵ-ꪶꪹ-ꪽꫀꫂ-ꯤꯦ-ꯧꯩ-꯬꯰-ﬗA-Za-zヲ-ᅵ]"),ue=new RegExp("[־׀׃׆א-״߀-ߪߴ-ߵߺ-ࠕࠚࠤࠨ࠰-ࡘ࡞יִײַ-ﬨשׁ-ﭏ]"),de=new RegExp("[؈؋؍؛-ي٭-ٯٱ-ەۥ-ۦۮ-ۯۺ-܍ܐܒ-ܯݍ-ޥޱﭐ-ﴽﵐ-﷼ﹰ-ﻼ]"),pe={lrm:String.fromCharCode(8206),rlm:String.fromCharCode(8207),isLtrChar:e=>ce.test(e),isRtlChar:e=>ue.test(e)||de.test(e),detectTextDirection(e){const t=e?e.length:0;let n,r;for(n=0;n<t;n++){if(r=e[n],pe.isLtrChar(r))return"ltr";if(pe.isRtlChar(r))return"rtl"}return"ltr"}},fe={getColorSymbol:(e,t)=>e.h("div",{style:{display:"inline-block",width:"10px",height:"10px","background-color":t.color.fill,margin:"0 8px"}}),getNodeFillColor:e=>e.attrs&&void 0!==e.attrs.fill?e.attrs.fill:e.children&&e.children[0]&&e.children[0].attrs&&void 0!==e.children[0].attrs.fill?e.children[0].attrs.fill:void 0,getColor(e,t,n){const r=t.data,o=e.resources.formatter,i=e.resources.dataset,a={};if(n.coloring.label&&(a.label=""+n.coloring.label),"color"!==n.coloring.type&&r.fillTooltip){const e=o("fill"),t="measure"===n.coloring.fieldType;if(a.value=t&&e?e(r.fillTooltip.value):r.fillTooltip.label?r.fillTooltip.label:r.fillTooltip.value,!n.coloring.label){const e=i(r.fillTooltip.source.key).field(r.fillTooltip.source.field).title();a.label=""+e}}return a.fill=void 0===r._fillColor?fe.getNodeFillColor(t):r._fillColor,a},getMeasure:(e,t)=>({label:""+e(t.source.key).field(t.source.field).title(),value:""===t.label||"NaN"===t.label?"-":t.label,field:t.source.field}),hideColorRow:(e,t)=>void 0===e.color.value||e.measures.some((e=>e.field===t.coloring.field)),getTitleRow(e,t){const n=pe.detectTextDirection(e.title);return[{content:e.title,style:{"font-weight":"bold","text-align":t?"right":"left",direction:n},colspan:2},{}]},getDescriptionRow(e,t){const n=pe.detectTextDirection(e.value);return[{content:e.value,style:{"text-align":t?"right":"left",direction:n},colspan:2},{}]},getNMoreRow(e,t,n){const r=t?t.get("Object.ChartTooltip.NMore",e):`+${e} more`;return[{content:r,style:{"font-weight":"bold","text-align":n?"right":"left",direction:pe.detectTextDirection(r)},colspan:2},{}]},getSeparatorRow:()=>[{content:"",style:{"background-image":"linear-gradient(transparent 8px, rgba(255, 255, 255, 0.4) 8px, rgba(255, 255, 255, 0.4) 9.2px, transparent 9.2px)",height:"17px"},colspan:2},{}],getColorRow(e,t,n){const r=pe.detectTextDirection(t.color.label),o=n?[":",t.color.label]:[t.color.label,":"],i=pe.detectTextDirection(t.color.value);return[{content:o,style:{"text-align":n?"right":"left",direction:r}},{content:n?[t.color.value,fe.getColorSymbol(e,t)]:[fe.getColorSymbol(e,t),t.color.value],style:{"text-align":n?"left":"right",direction:i,"vertical-align":"middle"}}]},getMeasureRow(e,t,n,r,o=!1){const i=pe.detectTextDirection(e.label),a=r?[":",e.label]:[e.label,":"],s=pe.detectTextDirection(e.value);let l;return l=o?r?[e.value,fe.getColorSymbol(t,n)]:[fe.getColorSymbol(t,n),e.value]:[e.value],[{content:a,style:{"text-align":r?"right":"left",direction:i}},{content:l,style:{"text-align":r?"left":"right",direction:s,"vertical-align":"middle"}}]}};function he(e){const t=parseInt(e,10);if(!isNaN(t))return t}const me=e=>t=>e.getContrastingColorTo(t.node.attrs.fill);function ge(e,t){const n=e.themeService.getStyles();return{padding:10,placements:e.simplifiedPlacements.map((n=>function(e,t,n){const r=n.themeService.getStyles();return{position:e.position,justify:e.justify,fill:e.onBackground?r.label.value.color:me(t),overflow:e.overflow,padding:e.padding}}(n,t,e))),fontSize:he(n.label.value.fontSize),fontFamily:n.label.value.fontFamily,label:e.label}}function ve(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ye(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function be(){}var xe=.7,we=1/xe,Ee="\\s*([+-]?\\d+)\\s*",Ce="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",ke="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Se=/^#([0-9a-f]{3,8})$/,Te=new RegExp("^rgb\\("+[Ee,Ee,Ee]+"\\)$"),Re=new RegExp("^rgb\\("+[ke,ke,ke]+"\\)$"),Ne=new RegExp("^rgba\\("+[Ee,Ee,Ee,Ce]+"\\)$"),Me=new RegExp("^rgba\\("+[ke,ke,ke,Ce]+"\\)$"),Pe=new RegExp("^hsl\\("+[Ce,ke,ke]+"\\)$"),De=new RegExp("^hsla\\("+[Ce,ke,ke,Ce]+"\\)$"),Le={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 Ie(){return this.rgb().formatHex()}function Ae(){return this.rgb().formatRgb()}function Oe(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Se.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?qe(t):3===n?new We(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?ze(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?ze(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=Te.exec(e))?new We(t[1],t[2],t[3],1):(t=Re.exec(e))?new We(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ne.exec(e))?ze(t[1],t[2],t[3],t[4]):(t=Me.exec(e))?ze(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Pe.exec(e))?$e(t[1],t[2]/100,t[3]/100,1):(t=De.exec(e))?$e(t[1],t[2]/100,t[3]/100,t[4]):Le.hasOwnProperty(e)?qe(Le[e]):"transparent"===e?new We(NaN,NaN,NaN,0):null}function qe(e){return new We(e>>16&255,e>>8&255,255&e,1)}function ze(e,t,n,r){return r<=0&&(e=t=n=NaN),new We(e,t,n,r)}function Fe(e){return e instanceof be||(e=Oe(e)),e?new We((e=e.rgb()).r,e.g,e.b,e.opacity):new We}function We(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function He(){return"#"+je(this.r)+je(this.g)+je(this.b)}function Be(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}function je(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function $e(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Ue(e,t,n,r)}function Ve(e){if(e instanceof Ue)return new Ue(e.h,e.s,e.l,e.opacity);if(e instanceof be||(e=Oe(e)),!e)return new Ue;if(e instanceof Ue)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,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Ue(a,s,l,e.opacity)}function Ue(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function _e(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}ve(be,Oe,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:Ie,formatHex:Ie,formatHsl:function(){return Ve(this).formatHsl()},formatRgb:Ae,toString:Ae}),ve(We,(function(e,t,n,r){return 1===arguments.length?Fe(e):new We(e,t,n,null==r?1:r)}),ye(be,{brighter:function(e){return e=null==e?we:Math.pow(we,e),new We(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?xe:Math.pow(xe,e),new We(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){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:He,formatHex:He,formatRgb:Be,toString:Be})),ve(Ue,(function(e,t,n,r){return 1===arguments.length?Ve(e):new Ue(e,t,n,null==r?1:r)}),ye(be,{brighter:function(e){return e=null==e?we:Math.pow(we,e),new Ue(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?xe:Math.pow(xe,e),new Ue(this.h,this.s,this.l*e,this.opacity)},rgb:function(){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 We(_e(e>=240?e-240:e+120,o,r),_e(e,o,r),_e(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Ye=Math.PI/180,Ke=180/Math.PI,Xe=.96422,Ge=.82521,Ze=4/29,Je=6/29,Qe=3*Je*Je;function et(e){if(e instanceof tt)return new tt(e.l,e.a,e.b,e.opacity);if(e instanceof lt)return ct(e);e instanceof We||(e=Fe(e));var t,n,r=it(e.r),o=it(e.g),i=it(e.b),a=nt((.2225045*r+.7168786*o+.0606169*i)/1);return r===o&&o===i?t=n=a:(t=nt((.4360747*r+.3850649*o+.1430804*i)/Xe),n=nt((.0139322*r+.0971045*o+.7141733*i)/Ge)),new tt(116*a-16,500*(t-a),200*(a-n),e.opacity)}function tt(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function nt(e){return e>.008856451679035631?Math.pow(e,1/3):e/Qe+Ze}function rt(e){return e>Je?e*e*e:Qe*(e-Ze)}function ot(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function it(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function at(e){if(e instanceof lt)return new lt(e.h,e.c,e.l,e.opacity);if(e instanceof tt||(e=et(e)),0===e.a&&0===e.b)return new lt(NaN,0<e.l&&e.l<100?0:NaN,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*Ke;return new lt(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function st(e,t,n,r){return 1===arguments.length?at(e):new lt(e,t,n,null==r?1:r)}function lt(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function ct(e){if(isNaN(e.h))return new tt(e.l,0,0,e.opacity);var t=e.h*Ye;return new tt(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}ve(tt,(function(e,t,n,r){return 1===arguments.length?et(e):new tt(e,t,n,null==r?1:r)}),ye(be,{brighter:function(e){return new tt(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new tt(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){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 We(ot(3.1338561*(t=Xe*rt(t))-1.6168667*(e=1*rt(e))-.4906146*(n=Ge*rt(n))),ot(-.9787684*t+1.9161415*e+.033454*n),ot(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),ve(lt,st,ye(be,{brighter:function(e){return new lt(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new lt(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return ct(this).rgb()}}));var ut=-.14861,dt=1.78277,pt=-.29227,ft=-.90649,ht=1.97294,mt=ht*ft,gt=ht*dt,vt=dt*pt-ft*ut;function yt(e){if(e instanceof bt)return new bt(e.h,e.s,e.l,e.opacity);e instanceof We||(e=Fe(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(vt*r+mt*t-gt*n)/-5.9615122912,i=r-o,a=(ht*(n-o)-pt*i)/ft,s=Math.sqrt(a*a+i*i)/(ht*o*(1-o)),l=s?Math.atan2(a,i)*Ke-120:NaN;return new bt(l<0?l+360:l,s,o,e.opacity)}function bt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function xt(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}ve(bt,(function(e,t,n,r){return 1===arguments.length?yt(e):new bt(e,t,n,null==r?1:r)}),ye(be,{brighter:function(e){return e=null==e?we:Math.pow(we,e),new bt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?xe:Math.pow(xe,e),new bt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*Ye,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new We(255*(t+n*(ut*r+dt*o)),255*(t+n*(pt*r+ft*o)),255*(t+n*(ht*r)),this.opacity)}})),function(e){1===e.length&&(e=function(e){return function(t,n){return xt(e(t),n)}}(e))}(xt);var wt="$";function Et(){}function Ct(e,t){var n=new Et;if(e instanceof Et)e.each((function(e,t){n.set(t,e)}));else if(Array.isArray(e)){var r,o=-1,i=e.length;if(null==t)for(;++o<i;)n.set(o,e[o]);else for(;++o<i;)n.set(t(r=e[o],o,e),r)}else if(e)for(var a in e)n.set(a,e[a]);return n}function kt(){}Et.prototype=Ct.prototype={constructor:Et,has:function(e){return wt+e in this},get:function(e){return this[wt+e]},set:function(e,t){return this[wt+e]=t,this},remove:function(e){var t=wt+e;return t in this&&delete this[t]},clear:function(){for(var e in this)e[0]===wt&&delete this[e]},keys:function(){var e=[];for(var t in this)t[0]===wt&&e.push(t.slice(1));return e},values:function(){var e=[];for(var t in this)t[0]===wt&&e.push(this[t]);return e},entries:function(){var e=[];for(var t in this)t[0]===wt&&e.push({key:t.slice(1),value:this[t]});return e},size:function(){var e=0;for(var t in this)t[0]===wt&&++e;return e},empty:function(){for(var e in this)if(e[0]===wt)return!1;return!0},each:function(e){for(var t in this)t[0]===wt&&e(this[t],t.slice(1),this)}};var St=Ct.prototype;function Tt(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Rt(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Nt(){}kt.prototype={constructor:kt,has:St.has,add:function(e){return this[wt+(e+="")]=e,this},remove:St.remove,clear:St.clear,values:St.keys,size:St.size,empty:St.empty,each:St.each};var Mt=.7,Pt=1/Mt,Dt="\\s*([+-]?\\d+)\\s*",Lt="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",It="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",At=/^#([0-9a-f]{3})$/,Ot=/^#([0-9a-f]{6})$/,qt=new RegExp("^rgb\\("+[Dt,Dt,Dt]+"\\)$"),zt=new RegExp("^rgb\\("+[It,It,It]+"\\)$"),Ft=new RegExp("^rgba\\("+[Dt,Dt,Dt,Lt]+"\\)$"),Wt=new RegExp("^rgba\\("+[It,It,It,Lt]+"\\)$"),Ht=new RegExp("^hsl\\("+[Lt,It,It]+"\\)$"),Bt=new RegExp("^hsla\\("+[Lt,It,It,Lt]+"\\)$"),jt={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 $t(e){var t;return e=(e+"").trim().toLowerCase(),(t=At.exec(e))?new Kt((t=parseInt(t[1],16))>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):(t=Ot.exec(e))?Vt(parseInt(t[1],16)):(t=qt.exec(e))?new Kt(t[1],t[2],t[3],1):(t=zt.exec(e))?new Kt(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Ft.exec(e))?Ut(t[1],t[2],t[3],t[4]):(t=Wt.exec(e))?Ut(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Ht.exec(e))?Gt(t[1],t[2]/100,t[3]/100,1):(t=Bt.exec(e))?Gt(t[1],t[2]/100,t[3]/100,t[4]):jt.hasOwnProperty(e)?Vt(jt[e]):"transparent"===e?new Kt(NaN,NaN,NaN,0):null}function Vt(e){return new Kt(e>>16&255,e>>8&255,255&e,1)}function Ut(e,t,n,r){return r<=0&&(e=t=n=NaN),new Kt(e,t,n,r)}function _t(e){return e instanceof Nt||(e=$t(e)),e?new Kt((e=e.rgb()).r,e.g,e.b,e.opacity):new Kt}function Yt(e,t,n,r){return 1===arguments.length?_t(e):new Kt(e,t,n,null==r?1:r)}function Kt(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Xt(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function Gt(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new Jt(e,t,n,r)}function Zt(e){if(e instanceof Jt)return new Jt(e.h,e.s,e.l,e.opacity);if(e instanceof Nt||(e=$t(e)),!e)return new Jt;if(e instanceof Jt)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,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new Jt(a,s,l,e.opacity)}function Jt(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Qt(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}Tt(Nt,$t,{displayable:function(){return this.rgb().displayable()},hex:function(){return this.rgb().hex()},toString:function(){return this.rgb()+""}}),Tt(Kt,Yt,Rt(Nt,{brighter:function(e){return e=null==e?Pt:Math.pow(Pt,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Mt:Math.pow(Mt,e),new Kt(this.r*e,this.g*e,this.b*e,this.opacity)},rgb:function(){return this},displayable:function(){return 0<=this.r&&this.r<=255&&0<=this.g&&this.g<=255&&0<=this.b&&this.b<=255&&0<=this.opacity&&this.opacity<=1},hex:function(){return"#"+Xt(this.r)+Xt(this.g)+Xt(this.b)},toString:function(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===e?")":", "+e+")")}})),Tt(Jt,(function(e,t,n,r){return 1===arguments.length?Zt(e):new Jt(e,t,n,null==r?1:r)}),Rt(Nt,{brighter:function(e){return e=null==e?Pt:Math.pow(Pt,e),new Jt(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Mt:Math.pow(Mt,e),new Jt(this.h,this.s,this.l*e,this.opacity)},rgb:function(){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 Kt(Qt(e>=240?e-240:e+120,o,r),Qt(e,o,r),Qt(e<120?e+240:e-120,o,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1}}));var en=Math.PI/180,tn=180/Math.PI,nn=.96422,rn=.82521,on=4/29,an=6/29,sn=3*an*an;function ln(e){if(e instanceof cn)return new cn(e.l,e.a,e.b,e.opacity);if(e instanceof mn){if(isNaN(e.h))return new cn(e.l,0,0,e.opacity);var t=e.h*en;return new cn(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}e instanceof Kt||(e=_t(e));var n,r,o=fn(e.r),i=fn(e.g),a=fn(e.b),s=un((.2225045*o+.7168786*i+.0606169*a)/1);return o===i&&i===a?n=r=s:(n=un((.4360747*o+.3850649*i+.1430804*a)/nn),r=un((.0139322*o+.0971045*i+.7141733*a)/rn)),new cn(116*s-16,500*(n-s),200*(s-r),e.opacity)}function cn(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function un(e){return e>.008856451679035631?Math.pow(e,1/3):e/sn+on}function dn(e){return e>an?e*e*e:sn*(e-on)}function pn(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function fn(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function hn(e){if(e instanceof mn)return new mn(e.h,e.c,e.l,e.opacity);if(e instanceof cn||(e=ln(e)),0===e.a&&0===e.b)return new mn(NaN,0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*tn;return new mn(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}function mn(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}Tt(cn,(function(e,t,n,r){return 1===arguments.length?ln(e):new cn(e,t,n,null==r?1:r)}),Rt(Nt,{brighter:function(e){return new cn(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker:function(e){return new cn(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb:function(){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 Kt(pn(3.1338561*(t=nn*dn(t))-1.6168667*(e=1*dn(e))-.4906146*(n=rn*dn(n))),pn(-.9787684*t+1.9161415*e+.033454*n),pn(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),Tt(mn,(function(e,t,n,r){return 1===arguments.length?hn(e):new mn(e,t,n,null==r?1:r)}),Rt(Nt,{brighter:function(e){return new mn(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker:function(e){return new mn(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb:function(){return ln(this).rgb()}}));var gn=-.14861,vn=1.78277,yn=-.29227,bn=-.90649,xn=1.97294,wn=xn*bn,En=xn*vn,Cn=vn*yn-bn*gn;function kn(e){if(e instanceof Tn)return new Tn(e.h,e.s,e.l,e.opacity);e instanceof Kt||(e=_t(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(Cn*r+wn*t-En*n)/(Cn+wn-En),i=r-o,a=(xn*(n-o)-yn*i)/bn,s=Math.sqrt(a*a+i*i)/(xn*o*(1-o)),l=s?Math.atan2(a,i)*tn-120:NaN;return new Tn(l<0?l+360:l,s,o,e.opacity)}function Sn(e,t,n,r){return 1===arguments.length?kn(e):new Tn(e,t,n,null==r?1:r)}function Tn(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Rn(e){return function(){return e}}function Nn(e,t){return function(n){return e+n*t}}function Mn(e){return 1==(e=+e)?Pn: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):Rn(isNaN(t)?n:t)}}function Pn(e,t){var n=t-e;return n?Nn(e,n):Rn(isNaN(e)?t:e)}function Dn(e){return function t(n){function r(t,r){var o=e((t=Sn(t)).h,(r=Sn(r)).h),i=Pn(t.s,r.s),a=Pn(t.l,r.l),s=Pn(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=i(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}function Ln(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}Tt(Tn,Sn,Rt(Nt,{brighter:function(e){return e=null==e?Pt:Math.pow(Pt,e),new Tn(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Mt:Math.pow(Mt,e),new Tn(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=isNaN(this.h)?0:(this.h+120)*en,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new Kt(255*(t+n*(gn*r+vn*o)),255*(t+n*(yn*r+bn*o)),255*(t+n*(xn*r)),this.opacity)}})),function e(t){var n=Mn(t);function r(e,t){var r=n((e=Yt(e)).r,(t=Yt(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=Pn(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),Dn((function(e,t){var n=t-e;return n?Nn(e,n>180||n<-180?n-360*Math.round(n/360):n):Rn(isNaN(e)?t:e)})),Dn(Pn);var In,An=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function On(e){return new qn(e)}function qn(e){if(!(t=An.exec(e)))throw new Error("invalid format: "+e);var t;this.fill=t[1]||" ",this.align=t[2]||">",this.sign=t[3]||"-",this.symbol=t[4]||"",this.zero=!!t[5],this.width=t[6]&&+t[6],this.comma=!!t[7],this.precision=t[8]&&+t[8].slice(1),this.trim=!!t[9],this.type=t[10]||""}function zn(e,t){var n=Ln(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}On.prototype=qn.prototype,qn.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(null==this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(null==this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Fn={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.round(e).toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return zn(100*e,t)},r:zn,s:function(e,t){var n=Ln(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(In=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+Ln(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Wn(e){return e}var Hn,Bn=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function jn(e){var t,n,r=e.grouping&&e.thousands?(t=e.grouping,n=e.thousands,function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}):Wn,o=e.currency,i=e.decimal,a=e.numerals?function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(e.numerals):Wn,s=e.percent||"%";function l(e){var t=(e=On(e)).fill,n=e.align,l=e.sign,c=e.symbol,u=e.zero,d=e.width,p=e.comma,f=e.precision,h=e.trim,m=e.type;"n"===m?(p=!0,m="g"):Fn[m]||(null==f&&(f=12),h=!0,m="g"),(u||"0"===t&&"="===n)&&(u=!0,t="0",n="=");var g="$"===c?o[0]:"#"===c&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",v="$"===c?o[1]:/[%p]/.test(m)?s:"",y=Fn[m],b=/[defgprs%]/.test(m);function x(e){var o,s,c,x=g,w=v;if("c"===m)w=y(e)+w,e="";else{var E=(e=+e)<0;if(e=y(Math.abs(e),f),h&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(o>0){if(!+e[r])break e;o=0}}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),E&&0==+e&&(E=!1),x=(E?"("===l?l:"-":"-"===l||"("===l?"":l)+x,w=("s"===m?Bn[8+In/3]:"")+w+(E&&"("===l?")":""),b)for(o=-1,s=e.length;++o<s;)if(48>(c=e.charCodeAt(o))||c>57){w=(46===c?i+e.slice(o+1):e.slice(o))+w,e=e.slice(0,o);break}}p&&!u&&(e=r(e,1/0));var C=x.length+e.length+w.length,k=C<d?new Array(d-C+1).join(t):"";switch(p&&u&&(e=r(k+e,k.length?d-w.length:1/0),k=""),n){case"<":e=x+e+w+k;break;case"=":e=x+k+e+w;break;case"^":e=k.slice(0,C=k.length>>1)+x+e+w+k.slice(C);break;default:e=k+x+e+w}return a(e)}return f=null==f?6:/[gprs]/.test(m)?Math.max(1,Math.min(21,f)):Math.max(0,Math.min(20,f)),x.toString=function(){return e+""},x}return{format:l,formatPrefix:function(e,t){var n=l(((e=On(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(function(e){return(e=Ln(Math.abs(e)))?e[1]:NaN}(t)/3))),o=Math.pow(10,-r),i=Bn[8+r/3];return function(e){return n(o*e)+i}}}}!function(e){(Hn=jn(e)).format,Hn.formatPrefix}({decimal:".",thousands:",",grouping:[3],currency:["$",""]});var $n=new Date,Vn=new Date;function Un(e,t,n,r){function o(t){return e(t=new Date(+t)),t}return o.floor=o,o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,s=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return s;do{s.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return s},o.filter=function(n){return Un((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return $n.setTime(+t),Vn.setTime(+r),e($n),e(Vn),Math.floor(n($n,Vn))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var _n=Un((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));_n.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?Un((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,n){t.setTime(+t+n*e)}),(function(t,n){return(n-t)/e})):_n:null},_n.range;var Yn=1e3,Kn=6e4,Xn=36e5,Gn=864e5,Zn=6048e5;Un((function(e){e.setTime(Math.floor(e/Yn)*Yn)}),(function(e,t){e.setTime(+e+t*Yn)}),(function(e,t){return(t-e)/Yn}),(function(e){return e.getUTCSeconds()})).range,Un((function(e){e.setTime(Math.floor(e/Kn)*Kn)}),(function(e,t){e.setTime(+e+t*Kn)}),(function(e,t){return(t-e)/Kn}),(function(e){return e.getMinutes()})).range,Un((function(e){var t=e.getTimezoneOffset()*Kn%Xn;t<0&&(t+=Xn),e.setTime(Math.floor((+e-t)/Xn)*Xn+t)}),(function(e,t){e.setTime(+e+t*Xn)}),(function(e,t){return(t-e)/Xn}),(function(e){return e.getHours()})).range;var Jn=Un((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Kn)/Gn}),(function(e){return e.getDate()-1}));function Qn(e){return Un((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Kn)/Zn}))}Jn.range;var er=Qn(0),tr=Qn(1),nr=Qn(2),rr=Qn(3),or=Qn(4),ir=Qn(5),ar=Qn(6);er.range,tr.range,nr.range,rr.range,or.range,ir.range,ar.range,Un((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})).range;var sr=Un((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));sr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Un((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null},sr.range,Un((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Kn)}),(function(e,t){return(t-e)/Kn}),(function(e){return e.getUTCMinutes()})).range,Un((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Xn)}),(function(e,t){return(t-e)/Xn}),(function(e){return e.getUTCHours()})).range;var lr=Un((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Gn}),(function(e){return e.getUTCDate()-1}));function cr(e){return Un((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Zn}))}lr.range;var ur=cr(0),dr=cr(1),pr=cr(2),fr=cr(3),hr=cr(4),mr=cr(5),gr=cr(6);ur.range,dr.range,pr.range,fr.range,hr.range,mr.range,gr.range,Un((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()})).range;var vr=Un((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()}));function yr(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function br(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function xr(e){return{y:e,m:0,d:1,H:0,M:0,S:0,L:0}}vr.every=function(e){return isFinite(e=Math.floor(e))&&e>0?Un((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null},vr.range;var wr,Er,Cr,kr={"-":"",_:" ",0:"0"},Sr=/^\s*\d+/,Tr=/^%/,Rr=/[\\^$*+?|[\]().{}]/g;function Nr(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function Mr(e){return e.replace(Rr,"\\$&")}function Pr(e){return new RegExp("^(?:"+e.map(Mr).join("|")+")","i")}function Dr(e){for(var t={},n=-1,r=e.length;++n<r;)t[e[n].toLowerCase()]=n;return t}function Lr(e,t,n){var r=Sr.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Ir(e,t,n){var r=Sr.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Ar(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Or(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function qr(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function zr(e,t,n){var r=Sr.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Fr(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Wr(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function Hr(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function Br(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function jr(e,t,n){var r=Sr.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function $r(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function Vr(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function Ur(e,t,n){var r=Sr.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function _r(e,t,n){var r=Sr.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function Yr(e,t,n){var r=Sr.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Kr(e,t,n){var r=Tr.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function Xr(e,t,n){var r=Sr.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function Gr(e,t,n){var r=Sr.exec(t.slice(n));return r?(e.Q=1e3*+r[0],n+r[0].length):-1}function Zr(e,t){return Nr(e.getDate(),t,2)}function Jr(e,t){return Nr(e.getHours(),t,2)}function Qr(e,t){return Nr(e.getHours()%12||12,t,2)}function eo(e,t){return Nr(1+Jn.count(sr(e),e),t,3)}function to(e,t){return Nr(e.getMilliseconds(),t,3)}function no(e,t){return to(e,t)+"000"}function ro(e,t){return Nr(e.getMonth()+1,t,2)}function oo(e,t){return Nr(e.getMinutes(),t,2)}function io(e,t){return Nr(e.getSeconds(),t,2)}function ao(e){var t=e.getDay();return 0===t?7:t}function so(e,t){return Nr(er.count(sr(e),e),t,2)}function lo(e,t){var n=e.getDay();return e=n>=4||0===n?or(e):or.ceil(e),Nr(or.count(sr(e),e)+(4===sr(e).getDay()),t,2)}function co(e){return e.getDay()}function uo(e,t){return Nr(tr.count(sr(e),e),t,2)}function po(e,t){return Nr(e.getFullYear()%100,t,2)}function fo(e,t){return Nr(e.getFullYear()%1e4,t,4)}function ho(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Nr(t/60|0,"0",2)+Nr(t%60,"0",2)}function mo(e,t){return Nr(e.getUTCDate(),t,2)}function go(e,t){return Nr(e.getUTCHours(),t,2)}function vo(e,t){return Nr(e.getUTCHours()%12||12,t,2)}function yo(e,t){return Nr(1+lr.count(vr(e),e),t,3)}function bo(e,t){return Nr(e.getUTCMilliseconds(),t,3)}function xo(e,t){return bo(e,t)+"000"}function wo(e,t){return Nr(e.getUTCMonth()+1,t,2)}function Eo(e,t){return Nr(e.getUTCMinutes(),t,2)}function Co(e,t){return Nr(e.getUTCSeconds(),t,2)}function ko(e){var t=e.getUTCDay();return 0===t?7:t}function So(e,t){return Nr(ur.count(vr(e),e),t,2)}function To(e,t){var n=e.getUTCDay();return e=n>=4||0===n?hr(e):hr.ceil(e),Nr(hr.count(vr(e),e)+(4===vr(e).getUTCDay()),t,2)}function Ro(e){return e.getUTCDay()}function No(e,t){return Nr(dr.count(vr(e),e),t,2)}function Mo(e,t){return Nr(e.getUTCFullYear()%100,t,2)}function Po(e,t){return Nr(e.getUTCFullYear()%1e4,t,4)}function Do(){return"+0000"}function Lo(){return"%"}function Io(e){return+e}function Ao(e){return Math.floor(+e/1e3)}!function(e){(wr=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Pr(o),u=Dr(o),d=Pr(i),p=Dr(i),f=Pr(a),h=Dr(a),m=Pr(s),g=Dr(s),v=Pr(l),y=Dr(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:Zr,e:Zr,f:no,H:Jr,I:Qr,j:eo,L:to,m:ro,M:oo,p:function(e){return o[+(e.getHours()>=12)]},Q:Io,s:Ao,S:io,u:ao,U:so,V:lo,w:co,W:uo,x:null,X:null,y:po,Y:fo,Z:ho,"%":Lo},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:mo,e:mo,f:xo,H:go,I:vo,j:yo,L:bo,m:wo,M:Eo,p:function(e){return o[+(e.getUTCHours()>=12)]},Q:Io,s:Ao,S:Co,u:ko,U:So,V:To,w:Ro,W:No,x:null,X:null,y:Mo,Y:Po,Z:Do,"%":Lo},w={a:function(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=h[r[0].toLowerCase()],n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=p[r[0].toLowerCase()],n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=y[r[0].toLowerCase()],n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g[r[0].toLowerCase()],n+r[0].length):-1},c:function(e,n,r){return k(e,t,n,r)},d:Br,e:Br,f:Yr,H:$r,I:$r,j:jr,L:_r,m:Hr,M:Vr,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u[r[0].toLowerCase()],n+r[0].length):-1},Q:Xr,s:Gr,S:Ur,u:Ir,U:Ar,V:Or,w:Lr,W:qr,x:function(e,t,r){return k(e,n,t,r)},X:function(e,t,n){return k(e,r,t,n)},y:Fr,Y:zr,Z:Wr,"%":Kr};function E(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=kr[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function C(e,t){return function(n){var r,o,i=xr(1900);if(k(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("p"in i&&(i.H=i.H%12+12*i.p),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=br(xr(i.y))).getUTCDay(),r=o>4||0===o?dr.ceil(r):dr(r),r=lr.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=t(xr(i.y))).getDay(),r=o>4||0===o?tr.ceil(r):tr(r),r=Jn.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?br(xr(i.y)).getUTCDay():t(xr(i.y)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,br(i)):t(i)}}function k(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in kr?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=E(n,b),b.X=E(r,b),b.c=E(t,b),x.x=E(n,x),x.X=E(r,x),x.c=E(t,x),{format:function(e){var t=E(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=C(e+="",yr);return t.toString=function(){return e},t},utcFormat:function(e){var t=E(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=C(e,br);return t.toString=function(){return e},t}}}(e)).format,wr.parse,Er=wr.utcFormat,Cr=wr.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var Oo="%Y-%m-%dT%H:%M:%S.%LZ";Date.prototype.toISOString||Er(Oo),+new Date("2000-01-01T00:00:00.000Z")||Cr(Oo);const qo=Q.bind(null,!0),zo={},{isArray:Fo}=Array;function Wo(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}function Ho(e){return void 0===e}function Bo(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function jo(e,t){const n=t.substring(1).split("/").slice(0,-1);let r;return n.forEach(((t,o)=>{if(o===n.length)return;r=+t;const i=isNaN(r)?{}:[];e[r||t]=Ho(e[r||t])?i:e[t],e=e[r||t]})),e}function $o(e,t){let n=!0;if(Wo(e)&&Wo(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((r=>{$o(e[r],t[r])||(n=!1)})),n);if(Fo(e)&&Fo(t)){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n+=1)if(!$o(e[n],t[n]))return!1;return!0}return e===t}zo.generate=function(e,t,n){n=n||"";let r=[];return Object.keys(t).forEach((o=>{const i=function(e){return e?qo({},{val:e}).val:e}(t[o]),a=e[o],s=`${n}/${o}`;$o(i,a)||Bo(t,o)||(Ho(a)?r.push({op:"add",path:s,value:i}):Wo(i)&&Wo(a)?r=r.concat(zo.generate(a,i,s)):Fo(i)&&Fo(a)?r=r.concat(function(e,t,n){let r=[];const o=e.slice();let i=-1;function a(e,t,n){if(e[n]&&Ho(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(let n=0,r=e.length;n<r;n+=1)if(e[n]&&e[n].qInfo.qId===t)return n;return-1}if($o(t,o))return r;if(!Ho(t[0])&&Ho(t[0].qInfo)||0===t.length)return r.push({op:"replace",path:n,value:t}),r;for(let e=o.length-1;e>=0;e-=1)i=a(t,o[e].qInfo&&o[e].qInfo.qId,e),-1===i?(r.push({op:"remove",path:`${n}/${e}`}),o.splice(e,1)):r=r.concat(zo.generate(o[e],t[i],`${n}/${e}`));for(let e=0,s=t.length;e<s;e+=1)i=a(o,t[e].qInfo&&t[e].qInfo.qId),-1===i?(r.push({op:"add",path:`${n}/${e}`,value:t[e]}),o.splice(e,0,t[e])):i!==e&&(r.push({op:"move",path:`${n}/${e}`,from:`${n}/${i}`}),o.splice(e,0,o.splice(i,1)[0]));return r}(a,i,s)):r.push({op:"replace",path:`${n}/${o}`,value:i}))})),Object.keys(e).forEach((o=>{Ho(t[o])&&!Bo(e,o)&&r.push({op:"remove",path:`${n}/${o}`})})),r},zo.apply=function(e,t){t.forEach((t=>{let n=jo(e,t.path),r=t.path.split("/").splice(-1)[0],o=r&&isNaN(+r)?n[r]:n[+r]||n;const i=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(n=null,o=e),"add"===t.op||"replace"===t.op)if(Fo(n))"-"===r&&(r=n.length),n.splice(+r,"add"===t.op?0:1,t.value);else if(Fo(o)&&Fo(t.value)){const e=t.value.slice();o.length=0,o.push(...e)}else if(Wo(o)&&Wo(t.value))a=o,Object.keys(a).forEach((e=>{Object.getOwnPropertyDescriptor(a,e).configurable&&!Bo(a,e)&&delete a[e]})),qo(o,t.value);else{if(!n)throw new Error("Patchee is not an object we can patch");n[r]=t.value}else if("move"===t.op){const o=jo(e,t.from);Fo(n)?n.splice(+r,0,o.splice(+i,1)[0]):(n[r]=o[i],delete o[i])}else"remove"===t.op&&(Fo(n)?n.splice(+r,1):delete n[r]);var a}))},zo.clone=function(e){return qo({},e)},zo.createPatch=function(e,t,n){const r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},zo.updateObject=function(e,t){Object.keys(e).length?zo.apply(e,zo.generate(e,t)):qo(e,t)};const Vo=[[2,4,6],[2,4],[3]],Uo=[,[,,[[1,2]],[[1,2,3],[1,3]],[[1,2,4],[1,4]],[[1,2,4],[1,5]],[[1,2,4,6],[2,4,6],[1,3,6],[1,6]],[[1,2,4,6],[2,4,6],[1,3,6],[1,7]],[[1,2,4,8],[2,4,8],[1,8]],[[1,2,4,8],[2,4,8],[1,3,9],[1,9]],[[1,2,4,6,10],[1,2,4,10],[1,3,10],[3,10],[1,10]]],[,,,[[2,3]],[[2,3,4],[2,4]],[[2,3,4],[2,4],[2,5]],[[2,4,6],[2,6]],[[2,4,6],[2,6],[2,7]],[[2,4,8],[2,8]],[[2,4,8],[2,8],[2,9]],[[2,4,6,10],[2,4,10],[5,10],[3,10]]],[,,,,[[3,4]],[[3,4,5],[3,5]],[[3,4,5,6],[3,6]],[[3,4,5,6],[3,5,7],[3,7]],[[3,4,5,6,8],[3,5,7],[4,8],[3,8]],[[3,4,5,6,8],[3,4,6,9],[3,4,6,8],[3,6,9],[4,8],[3,9]],[[4,6,10],[5,10],[3,10]]],[,,,,,[[4,5]],[[4,5,6],[4,6]],[[4,5,6,7],[4,5,6],[4,6]],[[4,5,6,7,8],[4,5,6,7],[4,6,8],[4,8]],[[4,5,6,7,8],[4,6,9],[4,6,8],[4,8]],[[4,6,10],[5,7,9],[5,10],[4,10]]],[,,,,,,[[5,6]],[[5,6,7],[5,7]],[[5,6,7,8],[5,6,7],[6,8]],[[5,6,7,8,9],[5,6,7,8],[5,7,9],[5,9]],[[6,8,10],[5,10]]],[,,,,,,,[[6,7]],[[6,7,8],[6,8]],[[6,7,8,9],[6,7,8],[6,9]],[[6,7,8,9,10],[6,8,10],[6,10]]],[,,,,,,,,[[7,8]],[[7,8,9],[7,9]],[[7,8,9,10],[8,10],[7,10],[7,9]]],[,,,,,,,,,[[8,9]],[[8,9,10],[8,10]]],[,,,,,,,,,,[[9,10]]]];function _o(e,t,n){const r=e?e.length:0;let o,i=void 0===t?Number.MAX_VALUE:e[0]/t;for(o=1;o<r;o++)i=Math.min(i,e[o]/e[o-1]);void 0!==n&&(i=Math.min(i,n/e[r-1])),e.splice(0,0,i)}function Yo(e,t,n){let r;const o=e?e.length:0;for(r=0;r<o;r++)_o(e[r],t,n)}!function(){let e,t;for(Yo(Vo,1,10),e=0;e<Uo.length;e++)if(Uo[e])for(t=0;t<Uo[e].length;t++)Array.isArray(Uo[e][t])&&Yo(Uo[e][t])}();var Ko={exports:{}};function Xo(){}function Go(){}Go.resetWarningCache=Xo;Ko.exports=function(){function e(e,t,n,r,o,i){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==i){var a=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Go,resetWarningCache:Xo};return n.PropTypes=n,n}();var Zo={black:"#000",white:"#fff"},Jo="#e57373",Qo="#f44336",ei="#d32f2f",ti="#ff4081",ni="#f50057",ri="#c51162",oi="#7986cb",ii="#3f51b5",ai="#303f9f",si={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"};function li(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return e<t?t:e>n?n:e}function ci(e){if(e.type)return e;if("#"===e.charAt(0))return ci(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length/3,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb(".concat(n.map((function(e){return parseInt(e,16)})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(["Material-UI: unsupported `".concat(e,"` color."),"We support the following formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()."].join("\n"));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function ui(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function di(e){var t="hsl"===(e=ci(e)).type?ci(function(e){var t=(e=ci(e)).values,n=t[0],r=t[1]/100,o=t[2]/100,i=r*Math.min(o,1-o),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return o-i*Math.max(Math.min(t-3,9-t,1),-1)},s="rgb",l=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(s+="a",l.push(t[3])),ui({type:s,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function pi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return di(e)>.5?hi(e,t):mi(e,t)}function fi(e,t){return e=ci(e),t=li(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,ui(e)}function hi(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return ui(e)}function mi(e,t){if(e=ci(e),t=li(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return ui(e)}function gi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vi(){return(vi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function yi(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function bi(e,t){if(null==e)return{};var n,r,o=yi(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function xi(e){return(xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wi(e){return(wi="function"==typeof Symbol&&"symbol"===xi(Symbol.iterator)?function(e){return xi(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":xi(e)})(e)}function Ei(e){return e&&"object"===wi(e)&&!Array.isArray(e)}function Ci(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?vi({},e):e;return Ei(e)&&Ei(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Ei(t[o])&&o in e?r[o]=Ci(e[o],t[o],n):r[o]=t[o])})),r}(Ko.exports.element,function(){return null}).isRequired=(Ko.exports.element.isRequired,function(){return null});var ki={exports:{}},Si={};
|
|
8
8
|
/** @license React v16.11.0
|
|
9
9
|
* react-is.production.min.js
|
|
10
10
|
*
|
|
@@ -13,14 +13,14 @@ System.register(["hammerjs","picasso.js","picasso-plugin-q","react","react-dom",
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
Object.defineProperty(ki,"__esModule",{value:!0});var Si="function"==typeof Symbol&&Symbol.for,Ti=Si?Symbol.for("react.element"):60103,Ri=Si?Symbol.for("react.portal"):60106,Ni=Si?Symbol.for("react.fragment"):60107,Pi=Si?Symbol.for("react.strict_mode"):60108,Di=Si?Symbol.for("react.profiler"):60114,Mi=Si?Symbol.for("react.provider"):60109,Li=Si?Symbol.for("react.context"):60110,Ii=Si?Symbol.for("react.async_mode"):60111,Ai=Si?Symbol.for("react.concurrent_mode"):60111,Oi=Si?Symbol.for("react.forward_ref"):60112,qi=Si?Symbol.for("react.suspense"):60113,zi=Si?Symbol.for("react.suspense_list"):60120,Fi=Si?Symbol.for("react.memo"):60115,Wi=Si?Symbol.for("react.lazy"):60116,Hi=Si?Symbol.for("react.fundamental"):60117,Bi=Si?Symbol.for("react.responder"):60118,ji=Si?Symbol.for("react.scope"):60119;function $i(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ti:switch(e=e.type){case Ii:case Ai:case Ni:case Di:case Pi:case qi:return e;default:switch(e=e&&e.$$typeof){case Li:case Oi:case Mi:return e;default:return t}}case Wi:case Fi:case Ri:return t}}}function Vi(e){return $i(e)===Ai}ki.typeOf=$i,ki.AsyncMode=Ii,ki.ConcurrentMode=Ai,ki.ContextConsumer=Li,ki.ContextProvider=Mi,ki.Element=Ti,ki.ForwardRef=Oi,ki.Fragment=Ni,ki.Lazy=Wi,ki.Memo=Fi,ki.Portal=Ri,ki.Profiler=Di,ki.StrictMode=Pi,ki.Suspense=qi,ki.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Ni||e===Ai||e===Di||e===Pi||e===qi||e===zi||"object"==typeof e&&null!==e&&(e.$$typeof===Wi||e.$$typeof===Fi||e.$$typeof===Mi||e.$$typeof===Li||e.$$typeof===Oi||e.$$typeof===Hi||e.$$typeof===Bi||e.$$typeof===ji)},ki.isAsyncMode=function(e){return Vi(e)||$i(e)===Ii},ki.isConcurrentMode=Vi,ki.isContextConsumer=function(e){return $i(e)===Li},ki.isContextProvider=function(e){return $i(e)===Mi},ki.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ti},ki.isForwardRef=function(e){return $i(e)===Oi},ki.isFragment=function(e){return $i(e)===Ni},ki.isLazy=function(e){return $i(e)===Wi},ki.isMemo=function(e){return $i(e)===Fi},ki.isPortal=function(e){return $i(e)===Ri},ki.isProfiler=function(e){return $i(e)===Di},ki.isStrictMode=function(e){return $i(e)===Pi},ki.isSuspense=function(e){return $i(e)===qi},Ci.exports=ki,"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Yo.exports.oneOfType([Yo.exports.func,Yo.exports.PropTypes.object]);var Ui=["xs","sm","md","lg","xl"];function _i(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,s=yi(e,["values","unit","step"]);function l(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=Ui.indexOf(t)+1;return r===Ui.length?l(e):"@media (min-width:".concat(n[e]).concat(o,") and ")+"(max-width:".concat(n[Ui[r]]-a/100).concat(o,")")}return gi({keys:Ui,values:n,up:l,down:function(e){var t=Ui.indexOf(e)+1,r=n[Ui[t]];return t===Ui.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},s)}function Yi(e,t,n){var r;return gi({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return gi({paddingLeft:t(2),paddingRight:t(2)},n,mi({},e.up("sm"),gi({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},mi(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),mi(r,e.up("sm"),{minHeight:64}),r)},n)}var Ki={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Go.white,default:ai[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}},Xi={text:{primary:Go.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:ai[800],default:"#303030"},action:{active:Go.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function Gi(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=hi(e.main,r):"dark"===t&&(e.dark=fi(e.main,1.5*r)))}function Zi(e){var t=e.primary,n=void 0===t?{light:ri,main:oi,dark:ii}:t,r=e.secondary,o=void 0===r?{light:ei,main:ti,dark:ni}:r,i=e.error,a=void 0===i?{light:Zo,main:Jo,dark:Qo}:i,s=e.type,l=void 0===s?"light":s,c=e.contrastThreshold,u=void 0===c?3:c,d=e.tonalOffset,p=void 0===d?.2:d,f=yi(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function h(e){return function(e,t){var n=ui(e),r=ui(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Xi.text.primary)>=u?Xi.text.primary:Ki.text.primary}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!(e=gi({},e)).main&&e[t]&&(e.main=e[t]),Gi(e,"light",n,p),Gi(e,"dark",r,p),e.contrastText||(e.contrastText=h(e.main)),e}var g={dark:Xi,light:Ki};return Ei(gi({common:Go,type:l,primary:m(n),secondary:m(o,"A400","A200","A700"),error:m(a),grey:ai,contrastThreshold:u,getContrastText:h,augmentColor:m,tonalOffset:p},g[l]),f,{clone:!1})}function Ji(e){return Math.round(1e5*e)/1e5}var Qi={textTransform:"uppercase"},ea='"Roboto", "Helvetica", "Arial", sans-serif';function ta(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?ea:r,i=n.fontSize,a=void 0===i?14:i,s=n.fontWeightLight,l=void 0===s?300:s,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,p=void 0===d?500:d,f=n.fontWeightBold,h=void 0===f?700:f,m=n.htmlFontSize,g=void 0===m?16:m,v=n.allVariants,y=n.pxToRem,b=yi(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,w=y||function(e){return"".concat(e/g*x,"rem")},E=function(e,t,n,r,i){return gi({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},o===ea?{letterSpacing:"".concat(Ji(r/t),"em")}:{},{},i,{},v)},C={h1:E(l,96,1,-1.5),h2:E(l,60,1,-.5),h3:E(u,48,1.04,0),h4:E(u,34,1.17,.25),h5:E(u,24,1.33,0),h6:E(p,20,1.6,.15),subtitle1:E(u,16,1.75,.15),subtitle2:E(p,14,1.57,.1),body1:E(u,16,1.5,.15),body2:E(u,14,1.43,.15),button:E(p,14,1.75,.4,Qi),caption:E(u,12,1.66,.4),overline:E(u,12,2.66,1,Qi)};return Ei(gi({htmlFontSize:g,pxToRem:w,round:Ji,fontFamily:o,fontSize:a,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:h},C),b,{clone:!1})}function na(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var ra=["none",na(0,2,1,-1,0,1,1,0,0,1,3,0),na(0,3,1,-2,0,2,2,0,0,1,5,0),na(0,3,3,-2,0,3,4,0,0,1,8,0),na(0,2,4,-1,0,4,5,0,0,1,10,0),na(0,3,5,-1,0,5,8,0,0,1,14,0),na(0,3,5,-1,0,6,10,0,0,1,18,0),na(0,4,5,-2,0,7,10,1,0,2,16,1),na(0,5,5,-3,0,8,10,1,0,3,14,2),na(0,5,6,-3,0,9,12,1,0,3,16,2),na(0,6,6,-3,0,10,14,1,0,4,18,3),na(0,6,7,-4,0,11,15,1,0,4,20,3),na(0,7,8,-4,0,12,17,2,0,5,22,4),na(0,7,8,-4,0,13,19,2,0,5,24,4),na(0,7,9,-4,0,14,21,2,0,5,26,4),na(0,8,9,-5,0,15,22,2,0,6,28,5),na(0,8,10,-5,0,16,24,2,0,6,30,5),na(0,8,11,-5,0,17,26,2,0,6,32,5),na(0,9,11,-5,0,18,28,2,0,7,34,6),na(0,9,12,-6,0,19,29,2,0,7,36,6),na(0,10,13,-6,0,20,31,3,0,8,38,7),na(0,10,13,-6,0,21,33,3,0,8,40,7),na(0,10,14,-6,0,22,35,3,0,8,42,7),na(0,11,14,-7,0,23,36,3,0,9,44,8),na(0,11,15,-7,0,24,38,3,0,9,46,8)],oa={borderRadius:4};function ia(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;e="function"==typeof t?t:function(e){return t*e};var n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return 0===n.length?e(1):1===n.length?e(n[0]):n.map((function(t){var n=e(t);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n}var aa={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)"},sa={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},la=function(e){return"".concat(Math.round(e),"ms")},ca={easing:aa,duration:sa,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?sa.standard:n,o=t.easing,i=void 0===o?aa.easeInOut:o,a=t.delay,s=void 0===a?0:a;return yi(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:la(r)," ").concat(i," ").concat("string"==typeof s?s:la(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},ua={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function da(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,s=e.shadows,l=e.spacing,c=e.typography,u=void 0===c?{}:c,d=yi(e,["breakpoints","mixins","palette","shadows","spacing","typography"]),p=Zi(a),f=_i(n),h=ia(l),m=gi({breakpoints:f,direction:"ltr",mixins:Yi(f,h,o),overrides:{},palette:p,props:{},shadows:s||ra,typography:ta(p,u),spacing:h},Ei({shape:oa,transitions:ca,zIndex:ua},d));return m}var pa="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",fa=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function ha(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0;return function(e,t){l+=1;var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==fa.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[pa]&&""===a?"".concat(i,"-").concat(l):i}return"".concat(s).concat(o).concat(l)}}function ma(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}var ga="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},va="object"===("undefined"==typeof window?"undefined":ga(window))&&"object"===("undefined"==typeof document?"undefined":ga(document))&&9===document.nodeType;function ya(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ba(e,t,n){return t&&ya(e.prototype,t),n&&ya(e,n),e}function xa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function wa(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ea={}.constructor;function Ca(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(Ca);if(e.constructor!==Ea)return e;var t={};for(var n in e)t[n]=Ca(e[n]);return t}function ka(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=Ca(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Sa=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n};function Ta(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=Sa(e[r]," ");else n=Sa(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}function Ra(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Na(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;if(e&&i++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var l=a[s];for(var c in l){var u=l[c];null!=u&&(r&&(r+="\n"),r+=""+Ra(c+": "+Ta(u)+";",i))}}else for(var d in a){var p=a[d];null!=p&&(r&&(r+="\n"),r+=""+Ra(d+": "+Ta(p)+";",i))}for(var f in t){var h=t[f];null!=h&&"fallbacks"!==f&&(r&&(r+="\n"),r+=""+Ra(f+": "+Ta(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),Ra(e+" {"+r,--i)+Ra("}",i)):r}var Pa=/([[\].#*$><+~=|^:(),"'`\s])/g,Da="undefined"!=typeof CSS&&CSS.escape,Ma=function(e){return Da?Da(e):e.replace(Pa,"\\$1")},La=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Ia=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(wa(wa(o)),s),o.selectorText="."+Ma(o.id)),o}xa(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Ta(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?gi({},e,{allowEmpty:!0}):e;return Na(this.selectorText,this.style,n)},ba(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(La),Aa={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Ia(e,t,n)}},Oa={indent:1,children:!0},qa=/@([\w-]+)/,za=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(qa);for(var o in this.at=r?r[1]:"unknown",this.options=n,this.rules=new is(gi({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=Oa),null==e.indent&&(e.indent=Oa.indent),null==e.children&&(e.children=Oa.children),!1===e.children)return this.key+" {}";var t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""},e}(),Fa=/@media|@supports\s+/,Wa={onCreateRule:function(e,t,n){return Fa.test(e)?new za(e,t,n):null}},Ha={indent:1,children:!0},Ba=/@keyframes\s+([\w-]+)/,ja=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(Ba);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var s in this.id=!1===o?this.name:Ma(a(this,i)),this.rules=new is(gi({},n,{parent:this})),t)this.rules.add(s,t[s],gi({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Ha),null==e.indent&&(e.indent=Ha.indent),null==e.children&&(e.children=Ha.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),$a=/@keyframes\s+/,Va=/\$([\w-]+)/g,Ua=function(e,t){return"string"==typeof e?e.replace(Va,(function(e,n){return n in t?t[n]:e})):e},_a=function(e,t,n){var r=e[t],o=Ua(r,n);o!==r&&(e[t]=o)},Ya={onCreateRule:function(e,t,n){return"string"==typeof e&&$a.test(e)?new ja(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&_a(e,"animation-name",n.keyframes),"animation"in e&&_a(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return Ua(e,r.keyframes);default:return e}}},Ka=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return xa(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?gi({},e,{allowEmpty:!0}):e;return Na(this.key,this.style,n)},t}(La),Xa={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Ka(e,t,n):null}},Ga=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=Na(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return Na(this.key,this.style,e)},e}(),Za={onCreateRule:function(e,t,n){return"@font-face"===e?new Ga(e,t,n):null}},Ja=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return Na(this.key,this.style,e)},e}(),Qa={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Ja(e,t,n):null}},es=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),ts={"@charset":!0,"@import":!0,"@namespace":!0},ns=[Aa,Wa,Ya,Xa,Za,Qa,{onCreateRule:function(e,t,n){return e in ts?new es(e,t,n):null}}],rs={process:!0},os={force:!0,process:!0},is=function(){function e(e){this.map={},this.raw={},this.index=[],this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,s=r.Renderer,l=r.generateId,c=r.scoped,u=gi({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:c},n);this.raw[e]=t,e in this.classes&&(u.selector="."+Ma(this.classes[e]));var d=ka(e,t,u);if(!d)return null;this.register(d);var p=void 0===u.index?this.index.length:u.index;return this.index.splice(p,0,d),d},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Ia?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof ja&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Ia?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof ja&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.onUpdate(t,this.get(e),n);else for(var r=0;r<this.index.length;r++)this.onUpdate(t,this.index[r],n)},t.onUpdate=function(t,n,r){void 0===r&&(r=rs);var o=this.options,i=o.jss.plugins,a=o.sheet;if(n.rules instanceof e)n.rules.update(t,r);else{var s=n,l=s.style;if(i.onUpdate(t,n,a,r),r.process&&l&&l!==s.style){for(var c in i.onProcessStyle(s.style,s,a),s.style){var u=s.style[c];u!==l[c]&&s.prop(c,u,os)}for(var d in l){var p=s.style[d],f=l[d];null==p&&p!==f&&s.prop(d,null,os)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},e}(),as=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=gi({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new is(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.toString=function(e){return this.rules.toString(e)},e}(),ss=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),ls=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=vi(t,["attached"]),o="",i=0;i<this.registry.length;i++){var a=this.registry[i];null!=n&&a.attached!==n||(o&&(o+="\n"),o+=a.toString(r))}return o},ba(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),cs="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),us="2f1acc6c3a606b082e5eef5e54414ffb";null==cs[us]&&(cs[us]=0);var ds=cs[us]++,ps=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+ds+o+t:i+n.key+"-"+ds+(o?"-"+o:"")+"-"+t}},fs=function(e){var t;return function(){return t||(t=e()),t}};function hs(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}}function ms(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Ta(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0}function gs(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}}function vs(e,t){return e.selectorText=t,e.selectorText===t}var ys=fs((function(){return document.querySelector("head")}));function bs(e){var t=ls.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=ys(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var xs=fs((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ws=function(e,t,n){var r=e.cssRules.length;(void 0===n||n>r)&&(n=r);try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},Es=function(){function e(e){this.getPropertyValue=hs,this.setProperty=ms,this.removeProperty=gs,this.setSelector=vs,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&ls.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=xs();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=bs(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else ys().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;return("conditional"!==e.type&&"keyframes"!==e.type||!1!==(o=ws(n,r.toString({children:!1}),t)))&&(this.insertRules(r.rules,o),o)}if(e.renderable&&e.renderable.parentStyleSheet===this.element.sheet)return e.renderable;var i=e.toString();if(!i)return!1;var a=ws(n,i,t);return!1!==a&&(this.hasInsertedRules=!0,e.renderable=a,a)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)},t.indexOf=function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),Cs=0,ks=function(){function e(e){this.id=Cs++,this.version="10.0.0",this.plugins=new ss,this.options={id:{minify:!1},createGenerateId:ps,Renderer:va?Es:null,plugins:[]},this.generateId=ps({minify:!1});for(var t=0;t<ns.length;t++)this.plugins.use(ns[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=gi({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===ls.index?0:ls.index+1);var r=new as(e,gi({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),ls.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=gi({},n,{jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=ka(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();function Ss(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=Ss(r);i&&(t||(t={}),t[n]=i)}}return t}
|
|
16
|
+
Object.defineProperty(Si,"__esModule",{value:!0});var Ti="function"==typeof Symbol&&Symbol.for,Ri=Ti?Symbol.for("react.element"):60103,Ni=Ti?Symbol.for("react.portal"):60106,Mi=Ti?Symbol.for("react.fragment"):60107,Pi=Ti?Symbol.for("react.strict_mode"):60108,Di=Ti?Symbol.for("react.profiler"):60114,Li=Ti?Symbol.for("react.provider"):60109,Ii=Ti?Symbol.for("react.context"):60110,Ai=Ti?Symbol.for("react.async_mode"):60111,Oi=Ti?Symbol.for("react.concurrent_mode"):60111,qi=Ti?Symbol.for("react.forward_ref"):60112,zi=Ti?Symbol.for("react.suspense"):60113,Fi=Ti?Symbol.for("react.suspense_list"):60120,Wi=Ti?Symbol.for("react.memo"):60115,Hi=Ti?Symbol.for("react.lazy"):60116,Bi=Ti?Symbol.for("react.fundamental"):60117,ji=Ti?Symbol.for("react.responder"):60118,$i=Ti?Symbol.for("react.scope"):60119;function Vi(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Ri:switch(e=e.type){case Ai:case Oi:case Mi:case Di:case Pi:case zi:return e;default:switch(e=e&&e.$$typeof){case Ii:case qi:case Li:return e;default:return t}}case Hi:case Wi:case Ni:return t}}}function Ui(e){return Vi(e)===Oi}Si.typeOf=Vi,Si.AsyncMode=Ai,Si.ConcurrentMode=Oi,Si.ContextConsumer=Ii,Si.ContextProvider=Li,Si.Element=Ri,Si.ForwardRef=qi,Si.Fragment=Mi,Si.Lazy=Hi,Si.Memo=Wi,Si.Portal=Ni,Si.Profiler=Di,Si.StrictMode=Pi,Si.Suspense=zi,Si.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Mi||e===Oi||e===Di||e===Pi||e===zi||e===Fi||"object"==typeof e&&null!==e&&(e.$$typeof===Hi||e.$$typeof===Wi||e.$$typeof===Li||e.$$typeof===Ii||e.$$typeof===qi||e.$$typeof===Bi||e.$$typeof===ji||e.$$typeof===$i)},Si.isAsyncMode=function(e){return Ui(e)||Vi(e)===Ai},Si.isConcurrentMode=Ui,Si.isContextConsumer=function(e){return Vi(e)===Ii},Si.isContextProvider=function(e){return Vi(e)===Li},Si.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Ri},Si.isForwardRef=function(e){return Vi(e)===qi},Si.isFragment=function(e){return Vi(e)===Mi},Si.isLazy=function(e){return Vi(e)===Hi},Si.isMemo=function(e){return Vi(e)===Wi},Si.isPortal=function(e){return Vi(e)===Ni},Si.isProfiler=function(e){return Vi(e)===Di},Si.isStrictMode=function(e){return Vi(e)===Pi},Si.isSuspense=function(e){return Vi(e)===zi},ki.exports=Si,"undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),Ko.exports.oneOfType([Ko.exports.func,Ko.exports.PropTypes.object]);var _i=["xs","sm","md","lg","xl"];function Yi(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,r=e.unit,o=void 0===r?"px":r,i=e.step,a=void 0===i?5:i,s=bi(e,["values","unit","step"]);function l(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function c(e,t){var r=_i.indexOf(t)+1;return r===_i.length?l(e):"@media (min-width:".concat(n[e]).concat(o,") and ")+"(max-width:".concat(n[_i[r]]-a/100).concat(o,")")}return vi({keys:_i,values:n,up:l,down:function(e){var t=_i.indexOf(e)+1,r=n[_i[t]];return t===_i.length?l("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:c,only:function(e){return c(e,e)},width:function(e){return n[e]}},s)}function Ki(e,t,n){var r;return vi({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return vi({paddingLeft:t(2),paddingRight:t(2)},n,gi({},e.up("sm"),vi({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},gi(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),gi(r,e.up("sm"),{minHeight:64}),r)},n)}var Xi={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Zo.white,default:si[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.08)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.14)",disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)"}},Gi={text:{primary:Zo.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:si[800],default:"#303030"},action:{active:Zo.white,hover:"rgba(255, 255, 255, 0.1)",hoverOpacity:.1,selected:"rgba(255, 255, 255, 0.2)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)"}};function Zi(e,t,n,r){e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=mi(e.main,r):"dark"===t&&(e.dark=hi(e.main,1.5*r)))}function Ji(e){var t=e.primary,n=void 0===t?{light:oi,main:ii,dark:ai}:t,r=e.secondary,o=void 0===r?{light:ti,main:ni,dark:ri}:r,i=e.error,a=void 0===i?{light:Jo,main:Qo,dark:ei}:i,s=e.type,l=void 0===s?"light":s,c=e.contrastThreshold,u=void 0===c?3:c,d=e.tonalOffset,p=void 0===d?.2:d,f=bi(e,["primary","secondary","error","type","contrastThreshold","tonalOffset"]);function h(e){return function(e,t){var n=di(e),r=di(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,Gi.text.primary)>=u?Gi.text.primary:Xi.text.primary}function m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;return!(e=vi({},e)).main&&e[t]&&(e.main=e[t]),Zi(e,"light",n,p),Zi(e,"dark",r,p),e.contrastText||(e.contrastText=h(e.main)),e}var g={dark:Gi,light:Xi};return Ci(vi({common:Zo,type:l,primary:m(n),secondary:m(o,"A400","A200","A700"),error:m(a),grey:si,contrastThreshold:u,getContrastText:h,augmentColor:m,tonalOffset:p},g[l]),f,{clone:!1})}function Qi(e){return Math.round(1e5*e)/1e5}var ea={textTransform:"uppercase"},ta='"Roboto", "Helvetica", "Arial", sans-serif';function na(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?ta:r,i=n.fontSize,a=void 0===i?14:i,s=n.fontWeightLight,l=void 0===s?300:s,c=n.fontWeightRegular,u=void 0===c?400:c,d=n.fontWeightMedium,p=void 0===d?500:d,f=n.fontWeightBold,h=void 0===f?700:f,m=n.htmlFontSize,g=void 0===m?16:m,v=n.allVariants,y=n.pxToRem,b=bi(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,w=y||function(e){return"".concat(e/g*x,"rem")},E=function(e,t,n,r,i){return vi({fontFamily:o,fontWeight:e,fontSize:w(t),lineHeight:n},o===ta?{letterSpacing:"".concat(Qi(r/t),"em")}:{},{},i,{},v)},C={h1:E(l,96,1,-1.5),h2:E(l,60,1,-.5),h3:E(u,48,1.04,0),h4:E(u,34,1.17,.25),h5:E(u,24,1.33,0),h6:E(p,20,1.6,.15),subtitle1:E(u,16,1.75,.15),subtitle2:E(p,14,1.57,.1),body1:E(u,16,1.5,.15),body2:E(u,14,1.43,.15),button:E(p,14,1.75,.4,ea),caption:E(u,12,1.66,.4),overline:E(u,12,2.66,1,ea)};return Ci(vi({htmlFontSize:g,pxToRem:w,round:Qi,fontFamily:o,fontSize:a,fontWeightLight:l,fontWeightRegular:u,fontWeightMedium:p,fontWeightBold:h},C),b,{clone:!1})}function ra(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var oa=["none",ra(0,2,1,-1,0,1,1,0,0,1,3,0),ra(0,3,1,-2,0,2,2,0,0,1,5,0),ra(0,3,3,-2,0,3,4,0,0,1,8,0),ra(0,2,4,-1,0,4,5,0,0,1,10,0),ra(0,3,5,-1,0,5,8,0,0,1,14,0),ra(0,3,5,-1,0,6,10,0,0,1,18,0),ra(0,4,5,-2,0,7,10,1,0,2,16,1),ra(0,5,5,-3,0,8,10,1,0,3,14,2),ra(0,5,6,-3,0,9,12,1,0,3,16,2),ra(0,6,6,-3,0,10,14,1,0,4,18,3),ra(0,6,7,-4,0,11,15,1,0,4,20,3),ra(0,7,8,-4,0,12,17,2,0,5,22,4),ra(0,7,8,-4,0,13,19,2,0,5,24,4),ra(0,7,9,-4,0,14,21,2,0,5,26,4),ra(0,8,9,-5,0,15,22,2,0,6,28,5),ra(0,8,10,-5,0,16,24,2,0,6,30,5),ra(0,8,11,-5,0,17,26,2,0,6,32,5),ra(0,9,11,-5,0,18,28,2,0,7,34,6),ra(0,9,12,-6,0,19,29,2,0,7,36,6),ra(0,10,13,-6,0,20,31,3,0,8,38,7),ra(0,10,13,-6,0,21,33,3,0,8,40,7),ra(0,10,14,-6,0,22,35,3,0,8,42,7),ra(0,11,14,-7,0,23,36,3,0,9,44,8),ra(0,11,15,-7,0,24,38,3,0,9,46,8)],ia={borderRadius:4};function aa(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(t.mui)return t;e="function"==typeof t?t:function(e){return t*e};var n=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return 0===n.length?e(1):1===n.length?e(n[0]):n.map((function(t){var n=e(t);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return t}}),n.mui=!0,n}var sa={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)"},la={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195},ca=function(e){return"".concat(Math.round(e),"ms")},ua={easing:sa,duration:la,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,r=void 0===n?la.standard:n,o=t.easing,i=void 0===o?sa.easeInOut:o,a=t.delay,s=void 0===a?0:a;return bi(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:ca(r)," ").concat(i," ").concat("string"==typeof s?s:ca(s))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},da={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function pa(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,r=e.mixins,o=void 0===r?{}:r,i=e.palette,a=void 0===i?{}:i,s=e.shadows,l=e.spacing,c=e.typography,u=void 0===c?{}:c,d=bi(e,["breakpoints","mixins","palette","shadows","spacing","typography"]),p=Ji(a),f=Yi(n),h=aa(l),m=vi({breakpoints:f,direction:"ltr",mixins:Ki(f,h,o),overrides:{},palette:p,props:{},shadows:s||oa,typography:na(p,u),spacing:h},Ci({shape:ia,transitions:ua,zIndex:da},d));return m}var fa="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",ha=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function ma(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,r=e.productionPrefix,o=void 0===r?"jss":r,i=e.seed,a=void 0===i?"":i,s=""===a?"":"".concat(a,"-"),l=0;return function(e,t){l+=1;var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==ha.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(s).concat(r,"-").concat(e.key);return t.options.theme[fa]&&""===a?"".concat(i,"-").concat(l):i}return"".concat(s).concat(o).concat(l)}}function ga(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var o,i=t.props[n];for(o in i)void 0===r[o]&&(r[o]=i[o]);return r}var va="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ya="object"===("undefined"==typeof window?"undefined":va(window))&&"object"===("undefined"==typeof document?"undefined":va(document))&&9===document.nodeType;function ba(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function xa(e,t,n){return t&&ba(e.prototype,t),n&&ba(e,n),e}function wa(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Ea(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ca={}.constructor;function ka(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(ka);if(e.constructor!==Ca)return e;var t={};for(var n in e)t[n]=ka(e[n]);return t}function Sa(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=ka(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var Ta=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n};function Ra(e,t){if(void 0===t&&(t=!1),!Array.isArray(e))return e;var n="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=", "),n+=Ta(e[r]," ");else n=Ta(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n}function Na(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Ma(e,t,n){void 0===n&&(n={});var r="";if(!t)return r;var o=n.indent,i=void 0===o?0:o,a=t.fallbacks;if(e&&i++,a)if(Array.isArray(a))for(var s=0;s<a.length;s++){var l=a[s];for(var c in l){var u=l[c];null!=u&&(r&&(r+="\n"),r+=""+Na(c+": "+Ra(u)+";",i))}}else for(var d in a){var p=a[d];null!=p&&(r&&(r+="\n"),r+=""+Na(d+": "+Ra(p)+";",i))}for(var f in t){var h=t[f];null!=h&&"fallbacks"!==f&&(r&&(r+="\n"),r+=""+Na(f+": "+Ra(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),Na(e+" {"+r,--i)+Na("}",i)):r}var Pa=/([[\].#*$><+~=|^:(),"'`\s])/g,Da="undefined"!=typeof CSS&&CSS.escape,La=function(e){return Da?Da(e):e.replace(Pa,"\\$1")},Ia=function(){function e(e,t,n){this.type="style",this.key=void 0,this.isProcessed=!1,this.style=void 0,this.renderer=void 0,this.renderable=void 0,this.options=void 0;var r=n.sheet,o=n.Renderer;this.key=e,this.options=n,this.style=t,r?this.renderer=r.renderer:o&&(this.renderer=new o)}return e.prototype.prop=function(e,t,n){if(void 0===t)return this.style[e];var r=!!n&&n.force;if(!r&&this.style[e]===t)return this;var o=t;n&&!1===n.process||(o=this.options.jss.plugins.onChangeValue(t,e,this));var i=null==o||!1===o,a=e in this.style;if(i&&!a&&!r)return this;var s=i&&a;if(s?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return s?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var l=this.options.sheet;return l&&l.attached,this},e}(),Aa=function(e){function t(t,n,r){var o;(o=e.call(this,t,n,r)||this).selectorText=void 0,o.id=void 0,o.renderable=void 0;var i=r.selector,a=r.scoped,s=r.sheet,l=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=l(Ea(Ea(o)),s),o.selectorText="."+La(o.id)),o}wa(t,e);var n=t.prototype;return n.applyTo=function(e){var t=this.renderer;if(t){var n=this.toJSON();for(var r in n)t.setProperty(e,r,n[r])}return this},n.toJSON=function(){var e={};for(var t in this.style){var n=this.style[t];"object"!=typeof n?e[t]=n:Array.isArray(n)&&(e[t]=Ra(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?vi({},e,{allowEmpty:!0}):e;return Ma(this.selectorText,this.style,n)},xa(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,n=this.renderable;if(n&&t)t.setSelector(n,e)||t.replaceRule(n,this)}},get:function(){return this.selectorText}}]),t}(Ia),Oa={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Aa(e,t,n)}},qa={indent:1,children:!0},za=/@([\w-]+)/,Fa=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(za);for(var o in this.at=r?r[1]:"unknown",this.options=n,this.rules=new as(vi({},n,{parent:this})),t)this.rules.add(o,t[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return r?(this.options.jss.plugins.onProcessRule(r),r):null},t.toString=function(e){if(void 0===e&&(e=qa),null==e.indent&&(e.indent=qa.indent),null==e.children&&(e.children=qa.children),!1===e.children)return this.key+" {}";var t=this.rules.toString(e);return t?this.key+" {\n"+t+"\n}":""},e}(),Wa=/@media|@supports\s+/,Ha={onCreateRule:function(e,t,n){return Wa.test(e)?new Fa(e,t,n):null}},Ba={indent:1,children:!0},ja=/@keyframes\s+([\w-]+)/,$a=function(){function e(e,t,n){this.type="keyframes",this.at="@keyframes",this.key=void 0,this.name=void 0,this.id=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0;var r=e.match(ja);r&&r[1]?this.name=r[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=n;var o=n.scoped,i=n.sheet,a=n.generateId;for(var s in this.id=!1===o?this.name:La(a(this,i)),this.rules=new as(vi({},n,{parent:this})),t)this.rules.add(s,t[s],vi({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Ba),null==e.indent&&(e.indent=Ba.indent),null==e.children&&(e.children=Ba.children),!1===e.children)return this.at+" "+this.id+" {}";var t=this.rules.toString(e);return t&&(t="\n"+t+"\n"),this.at+" "+this.id+" {"+t+"}"},e}(),Va=/@keyframes\s+/,Ua=/\$([\w-]+)/g,_a=function(e,t){return"string"==typeof e?e.replace(Ua,(function(e,n){return n in t?t[n]:e})):e},Ya=function(e,t,n){var r=e[t],o=_a(r,n);o!==r&&(e[t]=o)},Ka={onCreateRule:function(e,t,n){return"string"==typeof e&&Va.test(e)?new $a(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Ya(e,"animation-name",n.keyframes),"animation"in e&&Ya(e,"animation",n.keyframes),e):e},onChangeValue:function(e,t,n){var r=n.options.sheet;if(!r)return e;switch(t){case"animation":case"animation-name":return _a(e,r.keyframes);default:return e}}},Xa=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).renderable=void 0,t}return wa(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?vi({},e,{allowEmpty:!0}):e;return Ma(this.key,this.style,n)},t}(Ia),Ga={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Xa(e,t,n):null}},Za=function(){function e(e,t,n){this.type="font-face",this.at="@font-face",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.style)){for(var t="",n=0;n<this.style.length;n++)t+=Ma(this.key,this.style[n]),this.style[n+1]&&(t+="\n");return t}return Ma(this.key,this.style,e)},e}(),Ja={onCreateRule:function(e,t,n){return"@font-face"===e?new Za(e,t,n):null}},Qa=function(){function e(e,t,n){this.type="viewport",this.at="@viewport",this.key=void 0,this.style=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.style=t,this.options=n}return e.prototype.toString=function(e){return Ma(this.key,this.style,e)},e}(),es={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Qa(e,t,n):null}},ts=function(){function e(e,t,n){this.type="simple",this.key=void 0,this.value=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e,this.value=t,this.options=n}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",n=0;n<this.value.length;n++)t+=this.key+" "+this.value[n]+";",this.value[n+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),ns={"@charset":!0,"@import":!0,"@namespace":!0},rs=[Oa,Ha,Ka,Ga,Ja,es,{onCreateRule:function(e,t,n){return e in ns?new ts(e,t,n):null}}],os={process:!0},is={force:!0,process:!0},as=function(){function e(e){this.map={},this.raw={},this.index=[],this.options=void 0,this.classes=void 0,this.keyframes=void 0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,n){var r=this.options,o=r.parent,i=r.sheet,a=r.jss,s=r.Renderer,l=r.generateId,c=r.scoped,u=vi({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:s,generateId:l,scoped:c},n);this.raw[e]=t,e in this.classes&&(u.selector="."+La(this.classes[e]));var d=Sa(e,t,u);if(!d)return null;this.register(d);var p=void 0===u.index?this.index.length:u.index;return this.index.splice(p,0,d),d},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof Aa?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof $a&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Aa?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof $a&&delete this.keyframes[e.name]},t.update=function(){var e,t,n;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],n=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],n=arguments.length<=1?void 0:arguments[1],e=null),e)this.onUpdate(t,this.get(e),n);else for(var r=0;r<this.index.length;r++)this.onUpdate(t,this.index[r],n)},t.onUpdate=function(t,n,r){void 0===r&&(r=os);var o=this.options,i=o.jss.plugins,a=o.sheet;if(n.rules instanceof e)n.rules.update(t,r);else{var s=n,l=s.style;if(i.onUpdate(t,n,a,r),r.process&&l&&l!==s.style){for(var c in i.onProcessStyle(s.style,s,a),s.style){var u=s.style[c];u!==l[c]&&s.prop(c,u,is)}for(var d in l){var p=s.style[d],f=l[d];null==p&&p!==f&&s.prop(d,null,is)}}}},t.toString=function(e){for(var t="",n=this.options.sheet,r=!!n&&n.options.link,o=0;o<this.index.length;o++){var i=this.index[o].toString(e);(i||r)&&(t&&(t+="\n"),t+=i)}return t},e}(),ss=function(){function e(e,t){for(var n in this.options=void 0,this.deployed=void 0,this.attached=void 0,this.rules=void 0,this.renderer=void 0,this.classes=void 0,this.keyframes=void 0,this.queue=void 0,this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=vi({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new as(this.options),e)this.rules.add(n,e[n]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,n){var r=this.queue;this.attached&&!r&&(this.queue=[]);var o=this.rules.add(e,t,n);return o?(this.options.jss.plugins.onProcessRule(o),this.attached?this.deployed?(r?r.push(o):(this.insertRule(o),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),o):o:(this.deployed=!1,o)):null},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var n=[];for(var r in e){var o=this.addRule(r,e[r],t);o&&n.push(o)}return n},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t=this.rules.get(e);return!!t&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.toString=function(e){return this.rules.toString(e)},e}(),ls=function(){function e(){this.plugins={internal:[],external:[]},this.registry=void 0}var t=e.prototype;return t.onCreateRule=function(e,t,n){for(var r=0;r<this.registry.onCreateRule.length;r++){var o=this.registry.onCreateRule[r](e,t,n);if(o)return o}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,n=0;n<this.registry.onProcessRule.length;n++)this.registry.onProcessRule[n](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,n){for(var r=0;r<this.registry.onProcessStyle.length;r++)t.style=this.registry.onProcessStyle[r](t.style,t,n)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,n,r){for(var o=0;o<this.registry.onUpdate.length;o++)this.registry.onUpdate[o](e,t,n,r)},t.onChangeValue=function(e,t,n){for(var r=e,o=0;o<this.registry.onChangeValue.length;o++)r=this.registry.onChangeValue[o](r,t,n);return r},t.use=function(e,t){void 0===t&&(t={queue:"external"});var n=this.plugins[t.queue];-1===n.indexOf(e)&&(n.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var n in t)n in e&&e[n].push(t[n]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),cs=new(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,n=e.options.index;if(-1===t.indexOf(e))if(0===t.length||n>=this.index)t.push(e);else for(var r=0;r<t.length;r++)if(t[r].options.index>n)return void t.splice(r,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,n=t.attached,r=yi(t,["attached"]),o="",i=0;i<this.registry.length;i++){var a=this.registry[i];null!=n&&a.attached!==n||(o&&(o+="\n"),o+=a.toString(r))}return o},xa(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),us="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),ds="2f1acc6c3a606b082e5eef5e54414ffb";null==us[ds]&&(us[ds]=0);var ps=us[ds]++,fs=function(e){void 0===e&&(e={});var t=0;return function(n,r){t+=1;var o="",i="";return r&&(r.options.classNamePrefix&&(i=r.options.classNamePrefix),null!=r.options.jss.id&&(o=String(r.options.jss.id))),e.minify?""+(i||"c")+ps+o+t:i+n.key+"-"+ps+(o?"-"+o:"")+"-"+t}},hs=function(e){var t;return function(){return t||(t=e()),t}};function ms(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}}function gs(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Ra(n,!0),"!important"===n[n.length-1]))return e.style.setProperty(t,r,"important"),!0;e.attributeStyleMap?e.attributeStyleMap.set(t,r):e.style.setProperty(t,r)}catch(e){return!1}return!0}function vs(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}}function ys(e,t){return e.selectorText=t,e.selectorText===t}var bs=hs((function(){return document.querySelector("head")}));function xs(e){var t=cs.registry;if(t.length>0){var n=function(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(r.attached&&r.options.index>t.index&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e);if(n&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element};if((n=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.attached&&r.options.insertionPoint===t.insertionPoint)return r}return null}(t,e))&&n.renderer)return{parent:n.renderer.element.parentNode,node:n.renderer.element.nextSibling}}var r=e.insertionPoint;if(r&&"string"==typeof r){var o=function(e){for(var t=bs(),n=0;n<t.childNodes.length;n++){var r=t.childNodes[n];if(8===r.nodeType&&r.nodeValue.trim()===e)return r}return null}(r);if(o)return{parent:o.parentNode,node:o.nextSibling}}return!1}var ws=hs((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),Es=function(e,t,n){var r=e.cssRules.length;(void 0===n||n>r)&&(n=r);try{if("insertRule"in e)e.insertRule(t,n);else if("appendRule"in e){e.appendRule(t)}}catch(e){return!1}return e.cssRules[n]},Cs=function(){function e(e){this.getPropertyValue=ms,this.setProperty=gs,this.removeProperty=vs,this.setSelector=ys,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,e&&cs.add(e),this.sheet=e;var t=this.sheet?this.sheet.options:{},n=t.media,r=t.meta,o=t.element;this.element=o||function(){var e=document.createElement("style");return e.textContent="\n",e}(),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),r&&this.element.setAttribute("data-meta",r);var i=ws();i&&this.element.setAttribute("nonce",i)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var n=t.insertionPoint,r=xs(t);if(!1!==r&&r.parent)r.parent.insertBefore(e,r.node);else if(n&&"number"==typeof n.nodeType){var o=n,i=o.parentNode;i&&i.insertBefore(e,o.nextSibling)}else bs().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){var e=this.element.parentNode;e&&e.removeChild(this.element)},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var n=0;n<e.index.length;n++)this.insertRule(e.index[n],n,t)},t.insertRule=function(e,t,n){if(void 0===n&&(n=this.element.sheet),e.rules){var r=e,o=n;return("conditional"!==e.type&&"keyframes"!==e.type||!1!==(o=Es(n,r.toString({children:!1}),t)))&&(this.insertRules(r.rules,o),o)}if(e.renderable&&e.renderable.parentStyleSheet===this.element.sheet)return e.renderable;var i=e.toString();if(!i)return!1;var a=Es(n,i,t);return!1!==a&&(this.hasInsertedRules=!0,e.renderable=a,a)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),!0)},t.indexOf=function(e){for(var t=this.element.sheet.cssRules,n=0;n<t.length;n++)if(e===t[n])return n;return-1},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),ks=0,Ss=function(){function e(e){this.id=ks++,this.version="10.0.0",this.plugins=new ls,this.options={id:{minify:!1},createGenerateId:fs,Renderer:ya?Cs:null,plugins:[]},this.generateId=fs({minify:!1});for(var t=0;t<rs.length;t++)this.plugins.use(rs[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=vi({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var n=t.index;"number"!=typeof n&&(n=0===cs.index?0:cs.index+1);var r=new ss(e,vi({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:n}));return this.plugins.onProcessSheet(r),r},t.removeStyleSheet=function(e){return e.detach(),cs.remove(e),this},t.createRule=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),"object"==typeof e)return this.createRule(void 0,e,t);var r=vi({},n,{jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=Sa(e,t,r);return o&&this.plugins.onProcessRule(o),o},t.use=function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){e.plugins.use(t)})),this},e}();function Ts(e){var t=null;for(var n in e){var r=e[n],o=typeof r;if("function"===o)t||(t={}),t[n]=r;else if("object"===o&&null!==r&&!Array.isArray(r)){var i=Ts(r);i&&(t||(t={}),t[n]=i)}}return t}
|
|
17
17
|
/**
|
|
18
18
|
* A better abstraction over CSS.
|
|
19
19
|
*
|
|
20
20
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
21
21
|
* @website https://github.com/cssinjs/jss
|
|
22
22
|
* @license MIT
|
|
23
|
-
*/var Ts="undefined"!=typeof CSS&&CSS&&"number"in CSS,Rs=function(e){return new ks(e)};Rs();var Ns=Date.now(),Ps="fnValues"+Ns,Ds="fnStyle"+ ++Ns;var Ms="@global",Ls="@global ",Is=function(){function e(e,t,n){for(var r in this.type="global",this.at=Ms,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new is(gi({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),As=function(){function e(e,t,n){this.type="global",this.at=Ms,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(Ls.length);this.rule=n.jss.createRule(r,t,gi({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Os=/\s*,\s*/g;function qs(e,t){for(var n=e.split(Os),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function zs(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Ms)return new Is(e,t,n);if("@"===e[0]&&e.substr(0,Ls.length)===Ls)return new As(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,n=e.style,r=n?n[Ms]:null;if(r){for(var o in r)t.sheet.addRule(o,r[o],gi({},t,{selector:qs(o,e.selector)}));delete n[Ms]}}(e),function(e){var t=e.options,n=e.style;for(var r in n)if("@"===r[0]&&r.substr(0,Ms.length)===Ms){var o=qs(r.substr(Ms.length),e.selector);t.sheet.addRule(o,n[r],gi({},t,{selector:o})),delete n[r]}}(e))}}}var Fs=/\s*,\s*/g,Ws=/&/g,Hs=/\$([\w-]+)/g;function Bs(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function t(e,t){for(var n=t.split(Fs),r=e.split(Fs),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(Ws,a):a+" "+l}return o}function n(e,t,n){if(n)return gi({},n,{index:n.index+1});var r=e.options.nestingLevel;return r=void 0===r?1:r+1,gi({},e.options,{nestingLevel:r,index:t.indexOf(e)+1})}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,s,l=o,c=l.options.parent;for(var u in r){var d=-1!==u.indexOf("&"),p="@"===u[0];if(d||p){if(a=n(l,c,a),d){var f=t(u,l.selector);s||(s=e(c,i)),f=f.replace(Hs,s),c.addRule(f,r[u],gi({},a,{selector:f}))}else p&&c.addRule(u,{},a).addRule(l.key,r[u],{selector:l.selector});delete r[u]}}return r}}}var js=/[A-Z]/g,$s=/^ms-/,Vs={};function Us(e){return"-"+e.toLowerCase()}function _s(e){if(Vs.hasOwnProperty(e))return Vs[e];var t=e.replace(js,Us);return Vs[e]=$s.test(t)?"-"+t:t}function Ys(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:_s(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ys):t.fallbacks=Ys(e.fallbacks)),t}var Ks=Ts&&CSS?CSS.px:"px",Xs=Ts&&CSS?CSS.ms:"ms",Gs=Ts&&CSS?CSS.percent:"%";function Zs(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var Js=Zs({"animation-delay":Xs,"animation-duration":Xs,"background-position":Ks,"background-position-x":Ks,"background-position-y":Ks,"background-size":Ks,border:Ks,"border-bottom":Ks,"border-bottom-left-radius":Ks,"border-bottom-right-radius":Ks,"border-bottom-width":Ks,"border-left":Ks,"border-left-width":Ks,"border-radius":Ks,"border-right":Ks,"border-right-width":Ks,"border-top":Ks,"border-top-left-radius":Ks,"border-top-right-radius":Ks,"border-top-width":Ks,"border-width":Ks,margin:Ks,"margin-bottom":Ks,"margin-left":Ks,"margin-right":Ks,"margin-top":Ks,padding:Ks,"padding-bottom":Ks,"padding-left":Ks,"padding-right":Ks,"padding-top":Ks,"mask-position-x":Ks,"mask-position-y":Ks,"mask-size":Ks,height:Ks,width:Ks,"min-height":Ks,"max-height":Ks,"min-width":Ks,"max-width":Ks,bottom:Ks,left:Ks,top:Ks,right:Ks,"box-shadow":Ks,"text-shadow":Ks,"column-gap":Ks,"column-rule":Ks,"column-rule-width":Ks,"column-width":Ks,"font-size":Ks,"font-size-delta":Ks,"letter-spacing":Ks,"text-indent":Ks,"text-stroke":Ks,"text-stroke-width":Ks,"word-spacing":Ks,motion:Ks,"motion-offset":Ks,outline:Ks,"outline-offset":Ks,"outline-width":Ks,perspective:Ks,"perspective-origin-x":Gs,"perspective-origin-y":Gs,"transform-origin":Gs,"transform-origin-x":Gs,"transform-origin-y":Gs,"transform-origin-z":Gs,"transition-delay":Xs,"transition-duration":Xs,"vertical-align":Ks,"flex-basis":Ks,"shape-margin":Ks,size:Ks,grid:Ks,"grid-gap":Ks,"grid-row-gap":Ks,"grid-column-gap":Ks,"grid-template-rows":Ks,"grid-template-columns":Ks,"grid-auto-rows":Ks,"grid-auto-columns":Ks,"box-shadow-x":Ks,"box-shadow-y":Ks,"box-shadow-blur":Ks,"box-shadow-spread":Ks,"font-line-height":Ks,"text-shadow-x":Ks,"text-shadow-y":Ks,"text-shadow-blur":Ks});function Qs(e,t,n){if(!t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Qs(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=Qs(o,t[o],n);else for(var i in t)t[i]=Qs(e+"-"+i,t[i],n);else if("number"==typeof t)return n[e]?""+t+n[e]:Js[e]?"function"==typeof Js[e]?Js[e](t).toString():""+t+Js[e]:t.toString();return t}function el(e){void 0===e&&(e={});var t=Zs(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=Qs(r,e[r],t);return e},onChangeValue:function(e,n){return Qs(n,e,t)}}}function tl(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function nl(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||tl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var rl="",ol="",il="",al=va&&"ontouchstart"in document.documentElement;if(va){var sl={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},ll=document.createElement("p").style;for(var cl in sl)if(cl+"Transform"in ll){rl=cl,ol=sl[cl];break}"Webkit"===rl&&"msHyphens"in ll&&(rl="ms",ol=sl.ms,"edge"),"Webkit"===rl&&"-apple-trailing-word"in ll&&(il="apple")}var ul=rl,dl=ol,pl=il,fl=al;var hl={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===ul?"-webkit-"+e:dl+e)}},ml={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===ul?dl+"print-"+e:e)}},gl=/[-\s]+(.)?/g;function vl(e,t){return t?t.toUpperCase():""}function yl(e){return e.replace(gl,vl)}function bl(e){return yl("-"+e)}var xl,wl={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===ul){var n="mask-image";if(yl(n)in t)return e;if(ul+bl(n)in t)return dl+e}return e}},El={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==pl||fl?e:dl+e)}},Cl={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:dl+e)}},kl={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:dl+e)}},Sl={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===ul||"ms"===ul?dl+e:e)}},Tl={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===ul||"ms"===ul||"apple"===pl?dl+e:e)}},Rl={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===ul?"WebkitColumn"+bl(e)in t&&dl+"column-"+e:"Moz"===ul&&("page"+bl(e)in t&&"page-"+e))}},Nl={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===ul)return e;var n=e.replace("-inline","");return ul+bl(n)in t&&dl+n}},Pl={supportedProperty:function(e,t){return yl(e)in t&&e}},Dl={supportedProperty:function(e,t){var n=bl(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:ul+n in t?dl+e:"Webkit"!==ul&&"Webkit"+n in t&&"-webkit-"+e}},Ml={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===ul?""+dl+e:e)}},Ll={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===ul?dl+"scroll-chaining":e)}},Il={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Al={supportedProperty:function(e,t){var n=Il[e];return!!n&&(ul+bl(n)in t&&dl+n)}},Ol={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},ql=Object.keys(Ol),zl=function(e){return dl+e},Fl=[hl,ml,wl,El,Cl,kl,Sl,Tl,Rl,Nl,Pl,Dl,Ml,Ll,Al,{supportedProperty:function(e,t,n){var r=n.multiple;if(ql.indexOf(e)>-1){var o=Ol[e];if(!Array.isArray(o))return ul+bl(o)in t&&dl+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(ul+bl(o[0])in t))return!1;return o.map(zl)}return!1}}],Wl=Fl.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Hl=Fl.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,nl(t.noPrefill)),e}),[]),Bl={};if(va){xl=document.createElement("p");var jl=window.getComputedStyle(document.documentElement,"");for(var $l in jl)isNaN($l)||(Bl[jl[$l]]=jl[$l]);Hl.forEach((function(e){return delete Bl[e]}))}function Vl(e,t){if(void 0===t&&(t={}),!xl)return e;if(null!=Bl[e])return Bl[e];"transition"!==e&&"transform"!==e||(t[e]=e in xl.style);for(var n=0;n<Wl.length&&(Bl[e]=Wl[n](e,xl.style,t),!Bl[e]);n++);try{xl.style[e]=""}catch(e){return!1}return Bl[e]}var Ul,_l={},Yl={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Kl=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Xl(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Vl(t):", "+Vl(n);return r||(t||n)}function Gl(e,t){var n=t;if(!Ul||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=_l[r])return _l[r];try{Ul.style[e]=n}catch(e){return _l[r]=!1,!1}if(Yl[e])n=n.replace(Kl,Xl);else if(""===Ul.style[e]&&("-ms-flex"===(n=dl+n)&&(Ul.style[e]="-ms-flexbox"),Ul.style[e]=n,""===Ul.style[e]))return _l[r]=!1,!1;return Ul.style[e]="",_l[r]=n,_l[r]}function Zl(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=Vl(n);i&&i!==n&&(o=!0);var a=!1,s=Gl(i,Ta(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=s||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===ul?e:"@"+dl+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Gl(t,Ta(e))||e}}}function Jl(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=ka(e,{},n);return r[Ds]=t,r},onProcessStyle:function(e,t){if(Ps in t||Ds in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[Ps]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Ds];i&&(o.style=i(e)||{});var a=o[Ps];if(a)for(var s in a)o.prop(s,a[s](e),r)}},zs(),Bs(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Ys(e[t]);return e}return Ys(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=_s(t);return t===r?e:(n.prop(r,e),null)}},el(),"undefined"==typeof window?null:Zl(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}})]};var e}function Ql(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(e.Component,!n)return t;var r=gi({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}va&&(Ul=document.createElement("p"));var ec=function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},tc=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},nc=function(e,t,n){e.get(t).delete(n)},rc=o.createContext(null);function oc(){return o.useContext(rc)}var ic,ac=Rs(Jl()),sc={disableGeneration:!1,generateClassName:ha(),jss:ac,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},lc=o.createContext(sc);function cc(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,i=e.disableGeneration,a=void 0!==i&&i,s=yi(e,["children","injectFirst","disableGeneration"]),l=gi({},o.useContext(lc),{disableGeneration:a},s);if(!l.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!ic){var c=document.head;ic=document.createComment("mui-inject-first"),c.insertBefore(ic,c.firstChild)}l.jss=Rs({plugins:Jl().plugins,insertionPoint:ic})}return o.createElement(lc.Provider,{value:l},t)}var uc=-1e9;function dc(){return uc+=1}var pc={};function fc(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var i=n.overrides[r],a=gi({},o);return Object.keys(i).forEach((function(e){a[e]=Ei(a[e],i[e])})),a},options:{}}}function hc(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=Ql({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function mc(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=tc(o.sheetsManager,i,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},ec(o.sheetsManager,i,r,s));var l=gi({},i.options,{},o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var c=o.sheetsRegistry;if(0===s.refs){var u;o.sheetsCache&&(u=tc(o.sheetsCache,i,r));var d=i.create(r,a);u||((u=o.jss.createStyleSheet(d,gi({link:!1},l))).attach(),o.sheetsCache&&ec(o.sheetsCache,i,r,u)),c&&c.add(u),s.staticSheet=u,s.dynamicStyles=Ss(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,gi({link:!0},l));p.update(t).attach(),n.dynamicSheet=p,n.classes=Ql({baseClasses:s.staticSheet.classes,newClasses:p.classes}),c&&c.add(p)}else n.classes=s.staticSheet.classes;s.refs+=1}}function gc(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function vc(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=tc(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(nc(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function yc(e,t){var n,r=o.useRef([]),i=o.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),o.useEffect((function(){return function(){n&&n()}}),[i])}function bc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,a=t.defaultTheme,s=void 0===a?pc:a,l=yi(t,["name","classNamePrefix","Component","defaultTheme"]),c=fc(e),u=n||r||"makeStyles";return c.options={index:dc(),name:n,meta:u,classNamePrefix:u},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=oc()||s,r=gi({},o.useContext(lc),{},l),a=o.useRef(),u=o.useRef();return yc((function(){var o={name:n,state:{},stylesCreator:c,stylesOptions:r,theme:t};return mc(o,e),u.current=!1,a.current=o,function(){vc(o)}}),[t,c]),o.useEffect((function(){u.current&&gc(a.current,e),u.current=!0})),hc(a.current,e.classes,i)}}function xc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wc(e){var t,n,r="";if(e)if("object"==typeof e)if(e.push)for(t=0;t<e.length;t++)e[t]&&(n=wc(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(n=wc(t))&&(r&&(r+=" "),r+=n);else"boolean"==typeof e||e.call||(r&&(r+=" "),r+=e);return r}function Ec(){for(var e,t=0,n="";t<arguments.length;)(e=wc(arguments[t++]))&&(n&&(n+=" "),n+=e);return n}var Cc=Ci.exports,kc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Sc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Tc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rc={};function Nc(e){return Cc.isMemo(e)?Tc:Rc[e.$$typeof]||kc}Rc[Cc.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var Pc=Object.defineProperty,Dc=Object.getOwnPropertyNames,Mc=Object.getOwnPropertySymbols,Lc=Object.getOwnPropertyDescriptor,Ic=Object.getPrototypeOf,Ac=Object.prototype;var Oc=function e(t,n,r){if("string"!=typeof n){if(Ac){var o=Ic(n);o&&o!==Ac&&e(t,o,r)}var i=Dc(n);Mc&&(i=i.concat(Mc(n)));for(var a=Nc(t),s=Nc(n),l=0;l<i.length;++l){var c=i[l];if(!(Sc[c]||r&&r[c]||s&&s[c]||a&&a[c])){var u=Lc(n,c);try{Pc(t,c,u)}catch(e){}}}return t}return t};function qc(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function zc(e){var t=e.children,n=e.theme,r=oc(),i=o.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):gi({},e,{},t)}(r,n);return null!=e&&(e[pa]=null!==r),e}),[n,r]);return o.createElement(rc.Provider,{value:i},t)}function Fc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=function(e){var n=o.forwardRef((function(n,r){var i=n.innerRef,a=yi(n,["innerRef"]),s=oc()||t;return o.createElement(e,gi({theme:s,ref:i||r},a))}));return Oc(n,e),n};return n}Fc();var Wc=da();function Hc(){return oc()||Wc}function Bc(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,a=void 0!==i&&i,s=t.name,l=yi(t,["defaultTheme","withTheme","name"]),c=s,u=bc(e,gi({defaultTheme:r,Component:n,name:s||n.displayName,classNamePrefix:c},l)),d=o.forwardRef((function(e,t){e.classes;var i,l=e.innerRef,c=yi(e,["classes","innerRef"]),d=u(e),p=c;return("string"==typeof s||a)&&(i=oc()||r,s&&(p=ma({theme:i,name:s,props:c})),a&&!p.theme&&(p.theme=i)),o.createElement(n,gi({ref:l||t,classes:d},p))}));return d.defaultProps=n.defaultProps,Oc(d,n),d}}(e,gi({defaultTheme:Wc},t))}function jc(e){return e.charAt(0).toUpperCase()+e.slice(1)}Fc({defaultTheme:Wc});var $c=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.square,l=void 0!==s&&s,c=e.elevation,u=void 0===c?1:c,d=yi(e,["classes","className","component","square","elevation"]);return o.createElement(a,gi({className:Ec(n.root,n["elevation".concat(u)],r,!l&&n.rounded),ref:t},d))})),Vc=Bc((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),gi({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius}},t)}),{name:"MuiPaper"})($c),Uc=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.position,l=void 0===s?"fixed":s,c=yi(e,["classes","className","color","position"]);return o.createElement(Vc,gi({square:!0,component:"header",elevation:4,className:Ec(n.root,n["position".concat(jc(l))],r,"inherit"!==a&&n["color".concat(jc(a))],{fixed:"mui-fixed"}[l]),ref:t},c))}));Bc((function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static",transform:"translateZ(0)"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText}}}),{name:"MuiAppBar"})(Uc);var _c=o.forwardRef((function(e,t){var n=e.alt,r=e.children,i=e.classes,a=e.className,s=e.component,l=void 0===s?"div":s,c=e.imgProps,u=e.sizes,d=e.src,p=e.srcSet,f=e.variant,h=void 0===f?"circle":f,m=yi(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),g=null,v=d||p;return g=v?o.createElement("img",gi({alt:n,src:d,srcSet:p,sizes:u,className:i.img},c)):r,o.createElement(l,gi({className:Ec(i.root,i.system,i[h],a,!v&&i.colorDefault),ref:t},m),g)}));function Yc(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}Bc((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover"}}}),{name:"MuiAvatar"})(_c);var Kc=!1,Xc=o.createContext(null),Gc="unmounted",Zc="exited",Jc="entering",Qc="entered",eu="exiting",tu=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Zc,r.appearStatus=Jc):o=Qc:o=t.unmountOnExit||t.mountOnEnter?Gc:Zc,r.state={status:o},r.nextCallback=null,r}xa(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Gc?{status:Zc}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Jc&&n!==Qc&&(t=Jc):n!==Jc&&n!==Qc||(t=eu)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=l.findDOMNode(this);t===Jc?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===Zc&&this.setState({status:Gc})},n.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context?this.context.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;!t&&!r||Kc?this.safeSetState({status:Qc},(function(){n.props.onEntered(e)})):(this.props.onEnter(e,o),this.safeSetState({status:Jc},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:Qc},(function(){n.props.onEntered(e,o)}))}))})))},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n&&!Kc?(this.props.onExit(e),this.safeSetState({status:eu},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:Zc},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:Zc},(function(){t.props.onExited(e)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Gc)return null;var t=this.props,n=t.children,r=vi(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return o.createElement(Xc.Provider,{value:null},n(e,r));var i=o.Children.only(n);return o.createElement(Xc.Provider,{value:null},o.cloneElement(i,r))},t}(o.Component);function nu(){}tu.contextType=Xc,tu.propTypes={},tu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:nu,onEntering:nu,onEntered:nu,onExit:nu,onExiting:nu,onExited:nu},tu.UNMOUNTED=0,tu.EXITED=1,tu.ENTERING=2,tu.ENTERED=3,tu.EXITING=4;var ru=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))},ou=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Yc(n.className,r):n.setAttribute("class",Yc(n.className&&n.className.baseVal||"",r)));var n,r}))},iu=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){t.removeClasses(e,"exit"),t.addClass(e,n?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=n?"appear":"enter";t.addClass(e,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=n?"appear":"enter";t.removeClasses(e,r),t.addClass(e,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),t.addClass(e,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){t.addClass(e,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){t.removeClasses(e,"exit"),t.addClass(e,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}xa(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"];"appear"===t&&"done"===n&&(r+=" "+this.getClassNames("enter").doneClassName),"active"===n&&e&&e.scrollTop,this.appliedClasses[t][n]=r,ru(e,r)},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&ou(e,r),o&&ou(e,o),i&&ou(e,i)},n.render=function(){var e=this.props;e.classNames;var t=vi(e,["classNames"]);return o.createElement(tu,gi({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(o.Component);function au(e,t){var n=Object.create(null);return e&&i.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&a(e)?t(e):e}(e)})),n}function su(e,t,n){return null!=n[t]?n[t]:e.props[t]}function lu(e,t,n){var r=au(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var l=o[i];if(a(l)){var c=i in t,u=i in r,d=t[i],p=a(d)&&!d.props.in;!u||c&&!p?u||!c||p?u&&c&&a(d)&&(o[i]=s(l,{onExited:n.bind(null,l),in:d.props.in,exit:su(l,"exit",e),enter:su(l,"enter",e)})):o[i]=s(l,{in:!1}):o[i]=s(l,{onExited:n.bind(null,l),in:!0,exit:su(l,"exit",e),enter:su(l,"enter",e)})}})),o}iu.defaultProps={classNames:""},iu.propTypes={};var cu,uu,du=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},pu=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(wa(wa(r)));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}xa(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,au(n.children,(function(e){return s(e,{onExited:r.bind(null,e),in:!0,appear:su(e,"appear",n),enter:su(e,"enter",n),exit:su(e,"exit",n)})}))):lu(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=au(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=gi({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=vi(e,["component","childFactory"]),i=this.state.contextValue,a=du(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(Xc.Provider,{value:i},a):o.createElement(Xc.Provider,{value:i},o.createElement(t,r,a))},t}(o.Component);pu.propTypes={},pu.defaultProps={component:"div",childFactory:function(e){return e}},(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}xa(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,i=this.props.children,a=o.Children.toArray(i)[t];a.props[e]&&(r=a.props)[e].apply(r,n),this.props[e]&&this.props[e](l.findDOMNode(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,r=vi(e,["children","in"]),i=o.Children.toArray(t),a=i[0],s=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,o.createElement(pu,r,n?o.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):o.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(o.Component)).propTypes={};var fu="out-in",hu="in-out",mu=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},gu=((cu={})[fu]=function(e){var t=e.current,n=e.changeState;return o.cloneElement(t,{in:!1,onExited:mu(t,"onExited",(function(){n(Jc,null)}))})},cu[hu]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,o.cloneElement(r,{in:!0,onEntered:mu(r,"onEntered",(function(){n(Jc)}))})]},cu),vu=((uu={})[fu]=function(e){var t=e.children,n=e.changeState;return o.cloneElement(t,{in:!0,onEntered:mu(t,"onEntered",(function(){n(Qc,o.cloneElement(t,{in:!0}))}))})},uu[hu]=function(e){var t=e.current,n=e.children,r=e.changeState;return[o.cloneElement(t,{in:!1,onExited:mu(t,"onExited",(function(){r(Qc,o.cloneElement(n,{in:!0}))}))}),o.cloneElement(n,{in:!0})]},uu),yu=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:Qc,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}xa(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===Jc&&e.mode===hu?{status:Jc}:!t.current||(n=t.current,r=e.children,n===r||o.isValidElement(n)&&o.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:o.cloneElement(e.children,{in:!0})}:{status:eu};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,i=this.state,a=i.status,s=i.current,l={children:n,current:s,changeState:this.changeState,status:a};switch(a){case Jc:e=vu[r](l);break;case eu:e=gu[r](l);break;case Qc:e=s}return o.createElement(Xc.Provider,{value:{isMounting:!this.appeared}},e)},t}(o.Component);yu.propTypes={},yu.defaultProps={mode:fu};var bu=function(e){return e.scrollTop};function xu(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}function wu(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Eu(e,t){return o.useMemo((function(){return null==e&&null==t?null:function(n){wu(e,n),wu(t,n)}}),[e,t])}var Cu={entering:{opacity:1},entered:{opacity:1}},ku={enter:sa.enteringScreen,exit:sa.leavingScreen},Su=o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?ku:l,u=yi(e,["children","in","onEnter","onExit","style","timeout"]),d=Hc(),p=Eu(n.ref,t);return o.createElement(tu,gi({appear:!0,in:r,onEnter:function(e,t){bu(e);var n=xu({style:s,timeout:c},{mode:"enter"});e.style.webkitTransition=d.transitions.create("opacity",n),e.style.transition=d.transitions.create("opacity",n),i&&i(e,t)},onExit:function(e){var t=xu({style:s,timeout:c},{mode:"exit"});e.style.webkitTransition=d.transitions.create("opacity",t),e.style.transition=d.transitions.create("opacity",t),a&&a(e)},timeout:c},u),(function(e,t){return o.cloneElement(n,gi({style:gi({opacity:0,visibility:"exited"!==e||r?void 0:"hidden"},Cu[e],{},s,{},n.props.style),ref:p},t))}))})),Tu=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.invisible,s=void 0!==a&&a,l=e.open,c=e.transitionDuration,u=yi(e,["children","classes","className","invisible","open","transitionDuration"]);return o.createElement(Su,gi({in:l,timeout:c},u),o.createElement("div",{className:Ec(r.root,i,s&&r.invisible),"aria-hidden":!0,ref:t},n))})),Ru=Bc({root:{zIndex:-1,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",touchAction:"none"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(Tu),Nu=o.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,i=e.badgeContent,a=e.children,s=e.classes,l=e.className,c=e.color,u=void 0===c?"default":c,d=e.component,p=void 0===d?"span":d,f=e.invisible,h=e.max,m=void 0===h?99:h,g=e.overlap,v=void 0===g?"rectangle":g,y=e.showZero,b=void 0!==y&&y,x=e.variant,w=void 0===x?"standard":x,E=yi(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),C=f;null==f&&(0===i&&!b||null==i&&"dot"!==w)&&(C=!0);var k="";return"dot"!==w&&(k=i>m?"".concat(m,"+"):i),o.createElement(p,gi({className:Ec(s.root,l),ref:t},E),a,o.createElement("span",{className:Ec(s.badge,s["".concat(r.horizontal).concat(jc(r.vertical),"}")],s["anchorOrigin".concat(jc(r.vertical)).concat(jc(r.horizontal)).concat(jc(v))],"default"!==u&&s["color".concat(jc(u))],C&&s.invisible,{dot:s.dot}[w])},k))}));Bc((function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,backgroundColor:e.palette.color,color:e.palette.textColor,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText},dot:{height:6,minWidth:6,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(Nu);var Pu=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.onChange,c=e.showLabels,u=void 0!==c&&c,d=e.value,p=yi(e,["children","classes","className","component","onChange","showLabels","value"]);return o.createElement(s,gi({className:Ec(r.root,i),ref:t},p),o.Children.map(n,(function(e,t){if(!o.isValidElement(e))return null;var n=void 0===e.props.value?t:e.props.value;return o.cloneElement(e,{selected:n===d,showLabel:void 0!==e.props.showLabel?e.props.showLabel:u,value:n,onChange:l})})))}));Bc((function(e){return{root:{display:"flex",justifyContent:"center",height:56,backgroundColor:e.palette.background.paper}}}),{name:"MuiBottomNavigation"})(Pu);var Du="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Mu(e){var t=o.useRef(e);return Du((function(){t.current=e})),o.useCallback((function(e){return(0,t.current)(e)}),[])}var Lu="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Iu(e){var t=e.children,n=e.defer,r=void 0!==n&&n,i=e.fallback,a=void 0===i?null:i,s=o.useState(!1),l=s[0],c=s[1];return Lu((function(){r||c(!0)}),[r]),o.useEffect((function(){r&&c(!0)}),[r]),o.createElement(o.Fragment,null,l?t:a)}var Au=!0,Ou=!1,qu=null,zu={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 Fu(e){e.metaKey||e.altKey||e.ctrlKey||(Au=!0)}function Wu(){Au=!1}function Hu(){"hidden"===this.visibilityState&&Ou&&(Au=!0)}function Bu(e){var t,n,r,o=e.target;try{return o.matches(":focus-visible")}catch(e){}return Au||(n=(t=o).type,!("INPUT"!==(r=t.tagName)||!zu[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function ju(){Ou=!0,window.clearTimeout(qu),qu=window.setTimeout((function(){Ou=!1}),100)}function $u(){return{isFocusVisible:Bu,onBlurVisible:ju,ref:o.useCallback((function(e){var t=l.findDOMNode(e);null!=t&&function(e){e.addEventListener("keydown",Fu,!0),e.addEventListener("mousedown",Wu,!0),e.addEventListener("pointerdown",Wu,!0),e.addEventListener("touchstart",Wu,!0),e.addEventListener("visibilitychange",Hu,!0)}(t.ownerDocument)}),[])}}var Vu="undefined"==typeof window?o.useEffect:o.useLayoutEffect;function Uu(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,i=e.rippleX,a=e.rippleY,s=e.rippleSize,l=e.in,c=e.onExited,u=void 0===c?function(){}:c,d=e.timeout,p=o.useState(!1),f=p[0],h=p[1],m=Ec(t.ripple,t.rippleVisible,r&&t.ripplePulsate),g={width:s,height:s,top:-s/2+a,left:-s/2+i},v=Ec(t.child,f&&t.childLeaving,r&&t.childPulsate),y=Mu(u);return Vu((function(){if(!l){h(!0);var e=setTimeout(y,d);return function(){clearTimeout(e)}}}),[y,l,d]),o.createElement("span",{className:m,style:g},o.createElement("span",{className:v}))}var _u=o.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,i=e.classes,a=e.className,s=yi(e,["center","classes","className"]),l=o.useState([]),c=l[0],u=l[1],d=o.useRef(0),p=o.useRef(null);o.useEffect((function(){p.current&&(p.current(),p.current=null)}),[c]);var f=o.useRef(!1),h=o.useRef(null),m=o.useRef(null),g=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(h.current)}}),[]);var v=o.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,a=e.rippleSize,s=e.cb;u((function(e){return[].concat(nl(e),[o.createElement(Uu,{key:d.current,classes:i,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a})])})),d.current+=1,p.current=s}),[i]),y=o.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=t.pulsate,i=void 0!==o&&o,a=t.center,s=void 0===a?r||t.pulsate:a,l=t.fakeElement,c=void 0!==l&&l;if("mousedown"===e.type&&f.current)f.current=!1;else{"touchstart"===e.type&&(f.current=!0);var u,d,p,y=c?null:g.current,b=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(b.width/2),d=Math.round(b.height/2);else{var x=e.clientX?e.clientX:e.touches[0].clientX,w=e.clientY?e.clientY:e.touches[0].clientY;u=Math.round(x-b.left),d=Math.round(w-b.top)}if(s)(p=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(p+=1);else{var E=2*Math.max(Math.abs((y?y.clientWidth:0)-u),u)+2,C=2*Math.max(Math.abs((y?y.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(E,2)+Math.pow(C,2))}e.touches?(m.current=function(){v({pulsate:i,rippleX:u,rippleY:d,rippleSize:p,cb:n})},h.current=setTimeout((function(){m.current&&(m.current(),m.current=null)}),80)):v({pulsate:i,rippleX:u,rippleY:d,rippleSize:p,cb:n})}}),[r,v]),b=o.useCallback((function(){y({},{pulsate:!0})}),[y]),x=o.useCallback((function(e,t){if(clearTimeout(h.current),"touchend"===e.type&&m.current)return e.persist(),m.current(),m.current=null,void(h.current=setTimeout((function(){x(e,t)})));m.current=null,u((function(e){return e.length>0?e.slice(1):e})),p.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:b,start:y,stop:x}}),[b,y,x]),o.createElement("span",gi({className:Ec(i.root,a),ref:g},s),o.createElement(pu,{component:null,exit:!0},c))}));var Yu,Ku=Bc((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(((Yu=o.memo(_u)).muiName="MuiTouchRipple",Yu)),Xu=o.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,i=e.centerRipple,a=void 0!==i&&i,s=e.children,c=e.classes,u=e.className,d=e.component,p=void 0===d?"button":d,f=e.disabled,h=void 0!==f&&f,m=e.disableRipple,g=void 0!==m&&m,v=e.disableTouchRipple,y=void 0!==v&&v,b=e.focusRipple,x=void 0!==b&&b,w=e.focusVisibleClassName,E=e.onBlur,C=e.onClick,k=e.onFocus,S=e.onFocusVisible,T=e.onKeyDown,R=e.onKeyUp,N=e.onMouseDown,P=e.onMouseLeave,D=e.onMouseUp,M=e.onTouchEnd,L=e.onTouchMove,I=e.onTouchStart,A=e.onDragLeave,O=e.tabIndex,q=void 0===O?0:O,z=e.TouchRippleProps,F=e.type,W=void 0===F?"button":F,H=yi(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),B=o.useRef(null);var j=o.useRef(null),$=o.useState(!1),V=$[0],U=$[1];h&&V&&U(!1);var _=$u(),Y=_.isFocusVisible,K=_.onBlurVisible,X=_.ref;function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return Mu((function(r){return t&&t(r),!n&&j.current&&j.current[e](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){U(!0),B.current.focus()}}}),[]),o.useEffect((function(){V&&x&&!g&&j.current.pulsate()}),[g,x,V]);var Z=G("start",N),J=G("stop",A),Q=G("stop",D),ee=G("stop",(function(e){V&&e.preventDefault(),P&&P(e)})),te=G("start",I),ne=G("stop",M),re=G("stop",L),oe=G("stop",(function(e){V&&(K(e),U(!1)),E&&E(e)}),!1),ie=Mu((function(e){h||(B.current||(B.current=e.currentTarget),Y(e)&&(U(!0),S&&S(e)),k&&k(e))})),ae=o.useRef(!1),se=Mu((function(e){x&&!ae.current&&V&&j.current&&" "===e.key&&(ae.current=!0,e.persist(),j.current.stop(e,(function(){j.current.start(e)}))),T&&T(e);var t=l.findDOMNode(B.current);e.target!==e.currentTarget||!p||"button"===p||" "!==e.key&&"Enter"!==e.key||"A"===t.tagName&&t.href||(e.preventDefault(),C&&C(e))})),le=Mu((function(e){x&&" "===e.key&&j.current&&V&&(ae.current=!1,e.persist(),j.current.stop(e,(function(){j.current.pulsate(e)}))),R&&R(e)})),ce=p;"button"===ce&&H.href&&(ce="a");var ue={};"button"===ce?(ue.type=W,ue.disabled=h):("a"===ce&&H.href||(ue.role="button"),ue["aria-disabled"]=h);var de=Eu(r,t),pe=Eu(X,B),fe=Eu(de,pe);return o.createElement(ce,gi({className:Ec(c.root,u,V&&[c.focusVisible,w],h&&c.disabled),onBlur:oe,onClick:C,onFocus:ie,onKeyDown:se,onKeyUp:le,onMouseDown:Z,onMouseLeave:ee,onMouseUp:Q,onDragLeave:J,onTouchEnd:ne,onTouchMove:re,onTouchStart:te,ref:fe,tabIndex:h?-1:q},ue,H),s,g||h?null:o.createElement(Iu,null,o.createElement(Ku,gi({ref:j,center:a},z))))})),Gu=Bc({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(Xu),Zu=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.icon,a=e.label,s=e.onChange,l=e.onClick,c=e.selected,u=e.showLabel,d=e.value,p=yi(e,["classes","className","icon","label","onChange","onClick","selected","showLabel","value"]);return o.createElement(Gu,gi({ref:t,className:Ec(n.root,r,c?n.selected:!u&&n.iconOnly),focusRipple:!0,onClick:function(e){s&&s(e,d),l&&l(e)}},p),o.createElement("span",{className:n.wrapper},i,o.createElement("span",{className:Ec(n.label,c?n.selected:!u&&n.iconOnly)},a)))}));function Ju(e,t){return t?Ei(e,t,{clone:!1}):e}Bc((function(e){return{root:{transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"6px 12px 8px",minWidth:80,maxWidth:168,color:e.palette.text.secondary,flex:"1","&$iconOnly":{paddingTop:16},"&$selected":{paddingTop:6,color:e.palette.primary.main}},selected:{},iconOnly:{},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},label:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s","&$iconOnly":{opacity:0,transitionDelay:"0s"},"&$selected":{fontSize:e.typography.pxToRem(14)}}}}),{name:"MuiBottomNavigationAction"})(Zu);var Qu={xs:0,sm:600,md:960,lg:1280,xl:1920},ed={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Qu[e],"px)")}};function td(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||ed;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===xi(t)){var o=e.theme.breakpoints||ed;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function nd(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function rd(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=nd(e.theme,o)||{};return td(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=nd(a,e)||e,i&&(t=i(t))),!1===r?t:mi({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function od(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?Ju(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function id(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var ad=od(rd({prop:"border",themeKey:"borders",transform:id}),rd({prop:"borderTop",themeKey:"borders",transform:id}),rd({prop:"borderRight",themeKey:"borders",transform:id}),rd({prop:"borderBottom",themeKey:"borders",transform:id}),rd({prop:"borderLeft",themeKey:"borders",transform:id}),rd({prop:"borderColor",themeKey:"palette"}),rd({prop:"borderRadius",themeKey:"shape"}));var sd=od(rd({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),rd({prop:"display"}),rd({prop:"overflow"}),rd({prop:"textOverflow"}),rd({prop:"visibility"}),rd({prop:"whiteSpace"})),ld=od(rd({prop:"flexBasis"}),rd({prop:"flexDirection"}),rd({prop:"flexWrap"}),rd({prop:"justifyContent"}),rd({prop:"alignItems"}),rd({prop:"alignContent"}),rd({prop:"order"}),rd({prop:"flex"}),rd({prop:"flexGrow"}),rd({prop:"flexShrink"}),rd({prop:"alignSelf"}),rd({prop:"justifyItems"}),rd({prop:"justifySelf"})),cd=od(rd({prop:"color",themeKey:"palette"}),rd({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),ud=od(rd({prop:"position"}),rd({prop:"zIndex",themeKey:"zIndex"}),rd({prop:"top"}),rd({prop:"right"}),rd({prop:"bottom"}),rd({prop:"left"})),dd=rd({prop:"boxShadow",themeKey:"shadows"});function pd(e){return e<=1?"".concat(100*e,"%"):e}var fd=rd({prop:"width",transform:pd}),hd=rd({prop:"maxWidth",transform:pd}),md=rd({prop:"minWidth",transform:pd}),gd=rd({prop:"height",transform:pd}),vd=rd({prop:"maxHeight",transform:pd}),yd=rd({prop:"minHeight",transform:pd});rd({prop:"size",cssProperty:"width",transform:pd}),rd({prop:"size",cssProperty:"height",transform:pd});var bd=od(fd,hd,md,gd,vd,yd);function xd(e){if(Array.isArray(e))return e}function wd(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Ed(e,t){return xd(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||wd()}var Cd={m:"margin",p:"padding"},kd={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Sd={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Td=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!Sd[e])return[e];e=Sd[e]}var t=Ed(e.split(""),2),n=t[0],r=t[1],o=Cd[n],i=kd[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Rd=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Nd(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Pd(e){var t=function(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}(e.theme);return Object.keys(e).map((function(n){if(-1===Rd.indexOf(n))return null;var r=Nd(Td(n),t),o=e[n];return td(e,o,r)})).reduce(Ju,{})}Pd.propTypes={},Pd.filterProps=Rd;var Dd=od(rd({prop:"fontFamily",themeKey:"typography"}),rd({prop:"fontSize",themeKey:"typography"}),rd({prop:"fontStyle",themeKey:"typography"}),rd({prop:"fontWeight",themeKey:"typography"}),rd({prop:"letterSpacing"}),rd({prop:"lineHeight"}),rd({prop:"textAlign"})),Md=function(e){var t=function(t){var n=e(t);return t.css?gi({},Ju(n,e(gi({theme:t.theme},t.css))),{},function(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}(t.css,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css"].concat(nl(e.filterProps)),t}(od(ad,sd,ld,ud,cd,dd,bd,Pd,Dd));!function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,a=yi(r,["name"]),s=i,l=bc("function"==typeof t?function(e){return{root:function(n){return t(gi({theme:e},n))}}}:{root:t},gi({Component:e,name:i||e.displayName,classNamePrefix:s},a));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var c=o.forwardRef((function(t,r){var i=t.children,a=t.className,s=t.clone,c=t.component,u=yi(t,["children","className","clone","component"]),d=Ec(l(t).root,a),p=u;if(n&&(p=qc(p,n)),s)return o.cloneElement(i,gi({className:Ec(i.props.className,d)},p));if("function"==typeof i)return i(gi({className:d},p));var f=c||e;return o.createElement(f,gi({ref:r,className:d},p),i)}));return Oc(c,e),c}}(e);return function(e,n){return t(e,gi({defaultTheme:Wc},n))}}("div")(Md,{name:"MuiBox"});var Ld={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Id=o.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,i=e.classes,a=e.className,s=e.color,l=void 0===s?"initial":s,c=e.component,u=e.display,d=void 0===u?"initial":u,p=e.gutterBottom,f=void 0!==p&&p,h=e.noWrap,m=void 0!==h&&h,g=e.paragraph,v=void 0!==g&&g,y=e.variant,b=void 0===y?"body1":y,x=e.variantMapping,w=void 0===x?Ld:x,E=yi(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),C=c||(v?"p":w[b]||Ld[b])||"span";return o.createElement(C,gi({className:Ec(i.root,a,"inherit"!==b&&i[b],"initial"!==l&&i["color".concat(jc(l))],m&&i.noWrap,f&&i.gutterBottom,v&&i.paragraph,"inherit"!==r&&i["align".concat(jc(r))],"initial"!==d&&i["display".concat(jc(d))]),ref:t},E))})),Ad=Bc((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(Id),Od=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"inherit":a,l=e.component,c=void 0===l?"svg":l,u=e.fontSize,d=void 0===u?"default":u,p=e.htmlColor,f=e.titleAccess,h=e.viewBox,m=void 0===h?"0 0 24 24":h,g=yi(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(c,gi({className:Ec(r.root,i,"inherit"!==s&&r["color".concat(jc(s))],"default"!==d&&r["fontSize".concat(jc(d))]),focusable:"false",viewBox:m,color:p,"aria-hidden":f?"false":"true",role:f?"img":"presentation",ref:t},g),n,f?o.createElement("title",null,f):null)}));Od.muiName="SvgIcon";var qd=Bc((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(Od);function zd(e,t){var n=o.memo(o.forwardRef((function(t,n){return o.createElement(qd,gi({},t,{ref:n}),e)})));return n.muiName=qd.muiName,n}var Fd=zd(o.createElement("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));var Wd=Bc((function(e){return{root:{display:"flex"},icon:{width:24,height:16,backgroundColor:e.palette.grey[100],color:e.palette.grey[700],borderRadius:2,marginLeft:e.spacing(.5),marginRight:e.spacing(.5),cursor:"pointer","&:hover, &:focus":{backgroundColor:e.palette.grey[200]},"&:active":{boxShadow:e.shadows[0],backgroundColor:di(e.palette.grey[200],.12)}}}}),{name:"PrivateBreadcrumbCollapsed"})((function(e){var t=e.classes,n=yi(e,["classes"]);return o.createElement("li",gi({className:t.root},n),o.createElement(Fd,{className:t.icon}))}));var Hd=Bc({root:{display:"flex",userSelect:"none",marginLeft:8,marginRight:8}},{name:"PrivateBreadcrumbSeparator"})((function(e){var t=e.classes,n=e.className,r=yi(e,["classes","className"]);return o.createElement("li",gi({"aria-hidden":!0,className:Ec(t.root,n)},r))}));var Bd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"nav":a,l=e.itemsAfterCollapse,c=void 0===l?1:l,u=e.itemsBeforeCollapse,d=void 0===u?1:u,p=e.maxItems,f=void 0===p?8:p,h=e.separator,m=void 0===h?"/":h,g=yi(e,["children","classes","className","component","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),v=o.useState(!1),y=v[0],b=v[1],x=o.Children.toArray(n).filter((function(e){return o.isValidElement(e)})).map((function(e,t){return o.createElement("li",{className:r.li,key:"child-".concat(t)},e)}));return o.createElement(Ad,gi({ref:t,component:s,color:"textSecondary",className:Ec(r.root,i)},g),o.createElement("ol",{className:r.ol},function(e,t,n){return e.reduce((function(r,i,a){return a<e.length-1?r=r.concat(i,o.createElement(Hd,{key:"separator-".concat(a),className:t},n)):r.push(i),r}),[])}(y||f&&x.length<=f?x:function(e){return d+c>=e.length?e:[].concat(nl(e.slice(0,d)),[o.createElement(Wd,{key:"ellipsis",onClick:function(){b(!0)}})],nl(e.slice(e.length-c,e.length)))}(x),r.separator,m)))}));Bc({root:{},ol:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0},li:{listStyle:"none"},separator:{}},{name:"MuiBreadcrumbs"})(Bd);var jd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"button":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.endIcon,m=e.focusVisibleClassName,g=e.fullWidth,v=void 0!==g&&g,y=e.size,b=void 0===y?"medium":y,x=e.startIcon,w=e.type,E=void 0===w?"button":w,C=e.variant,k=void 0===C?"text":C,S=yi(e,["children","classes","className","color","component","disabled","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=x&&o.createElement("span",{className:Ec(r.startIcon,r["iconSize".concat(jc(b))])},x),R=h&&o.createElement("span",{className:Ec(r.endIcon,r["iconSize".concat(jc(b))])},h);return o.createElement(Gu,gi({className:Ec(r.root,r[k],i,"inherit"===s?r.colorInherit:"default"!==s&&r["".concat(k).concat(jc(s))],"medium"!==b&&[r["".concat(k,"Size").concat(jc(b))],r["size".concat(jc(b))]],d&&r.disabled,v&&r.fullWidth),component:c,disabled:d,focusRipple:!f,focusVisibleClassName:Ec(r.focusVisible,m),ref:t,type:E},S),o.createElement("span",{className:r.label},T,n,R))})),$d=Bc((function(e){return{root:gi({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:pi(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:pi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:pi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(pi(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:pi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(pi(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:pi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})(jd),Vd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"div":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.disableRipple,m=void 0!==h&&h,g=e.fullWidth,v=void 0!==g&&g,y=e.size,b=void 0===y?"medium":y,x=e.variant,w=void 0===x?"outlined":x,E=yi(e,["children","classes","className","color","component","disabled","disableFocusRipple","disableRipple","fullWidth","size","variant"]),C=Ec(r.grouped,r["grouped".concat(jc(w))],r["grouped".concat(jc(w)).concat("default"!==s?jc(s):"")],d&&r.disabled);return o.createElement(c,gi({role:"group",className:Ec(r.root,i,v&&r.fullWidth,{contained:r.contained}[w]),ref:t},E),o.Children.map(n,(function(e){return o.isValidElement(e)?o.cloneElement(e,{className:Ec(C,e.props.className),disabled:e.props.disabled||d,color:e.props.color||s,disableFocusRipple:f,disableRipple:m,fullWidth:v,size:e.props.size||b,variant:e.props.variant||w}):null})))}));Bc((function(e){return{root:{display:"inline-flex",borderRadius:e.shape.borderRadius},contained:{boxShadow:e.shadows[2]},fullWidth:{width:"100%"},grouped:{minWidth:40,"&:not(:first-child)":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child)":{borderTopRightRadius:0,borderBottomRightRadius:0}},groupedText:{"&:not(:last-child)":{borderRight:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextPrimary:{"&:not(:last-child)":{borderColor:pi(e.palette.primary.main,.5)}},groupedTextSecondary:{"&:not(:last-child)":{borderColor:pi(e.palette.secondary.main,.5)}},groupedOutlined:{"&:not(:first-child)":{marginLeft:-1},"&:not(:last-child)":{borderRightColor:"transparent"}},groupedOutlinedPrimary:{"&:hover":{borderColor:e.palette.primary.main}},groupedOutlinedSecondary:{"&:hover":{borderColor:e.palette.secondary.main}},groupedContained:{boxShadow:"none","&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.grey[400]),"&$disabled":{borderRight:"1px solid ".concat(e.palette.action.disabled)}}},groupedContainedPrimary:{"&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.primary.dark)}},groupedContainedSecondary:{"&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.secondary.dark)}},disabled:{}}}),{name:"MuiButtonGroup"})(Vd);var Ud=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.raised,a=void 0!==i&&i,s=yi(e,["classes","className","raised"]);return o.createElement(Vc,gi({className:Ec(n.root,r),elevation:a?8:1,ref:t},s))}));Bc({root:{overflow:"hidden"}},{name:"MuiCard"})(Ud);var _d=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.focusVisibleClassName,s=yi(e,["children","classes","className","focusVisibleClassName"]);return o.createElement(Gu,gi({className:Ec(r.root,i),focusVisibleClassName:Ec(a,r.focusVisible),ref:t},s),n,o.createElement("span",{className:r.focusHighlight}))}));Bc((function(e){return{root:{display:"block",textAlign:"inherit",width:"100%","&:hover $focusHighlight":{opacity:e.palette.action.hoverOpacity},"&$focusVisible $focusHighlight":{opacity:.12}},focusVisible:{},focusHighlight:{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}}}),{name:"MuiCardActionArea"})(_d);var Yd=o.forwardRef((function(e,t){var n=e.disableSpacing,r=void 0!==n&&n,i=e.classes,a=e.className,s=yi(e,["disableSpacing","classes","className"]);return o.createElement("div",gi({className:Ec(i.root,a,!r&&i.spacing),ref:t},s))}));Bc({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiCardActions"})(Yd);var Kd=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=yi(e,["classes","className","component"]);return o.createElement(a,gi({className:Ec(n.root,r),ref:t},s))}));Bc({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(Kd);var Xd=o.forwardRef((function(e,t){var n=e.action,r=e.avatar,i=e.classes,a=e.className,s=e.component,l=void 0===s?"div":s,c=e.disableTypography,u=void 0!==c&&c,d=e.subheader,p=e.subheaderTypographyProps,f=e.title,h=e.titleTypographyProps,m=yi(e,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),g=f;null==g||g.type===Ad||u||(g=o.createElement(Ad,gi({variant:r?"body2":"h5",className:i.title,component:"span",display:"block"},h),g));var v=d;return null==v||v.type===Ad||u||(v=o.createElement(Ad,gi({variant:r?"body2":"body1",className:i.subheader,color:"textSecondary",component:"span",display:"block"},p),v)),o.createElement(l,gi({className:Ec(i.root,a),ref:t},m),r&&o.createElement("div",{className:i.avatar},r),o.createElement("div",{className:i.content},g,v),n&&o.createElement("div",{className:i.action},n))}));Bc({root:{display:"flex",alignItems:"center",padding:16},avatar:{flex:"0 0 auto",marginRight:16},action:{flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-8},content:{flex:"1 1 auto"},title:{},subheader:{}},{name:"MuiCardHeader"})(Xd);var Gd=["video","audio","picture","iframe","img"],Zd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.image,c=e.src,u=e.style,d=yi(e,["children","classes","className","component","image","src","style"]),p=-1!==Gd.indexOf(s),f=!p&&l?gi({backgroundImage:'url("'.concat(l,'")')},u):u;return o.createElement(s,gi({className:Ec(r.root,i,p&&r.media,-1!=="picture img".indexOf(s)&&r.img),ref:t,style:f,src:p?l||c:void 0},d),n)}));Bc({root:{display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},media:{width:"100%"},img:{objectFit:"cover"}},{name:"MuiCardMedia"})(Zd);var Jd=o.createContext();function Qd(){return o.useContext(Jd)}function ep(){return o.useContext(Jd)}var tp=o.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,i=e.children,a=e.classes,s=e.className,l=e.color,c=void 0===l?"default":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.size,m=void 0===h?"medium":h,g=yi(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(Gu,gi({className:Ec(a.root,s,"default"!==c&&a["color".concat(jc(c))],d&&a.disabled,{small:a["size".concat(jc(m))]}[m],{start:a.edgeStart,end:a.edgeEnd}[r]),centerRipple:!0,focusRipple:!f,disabled:d,ref:t},g),o.createElement("span",{className:a.label},i))})),np=Bc((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:pi(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:pi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:pi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(tp),rp=o.forwardRef((function(e,t){var n=e.autoFocus,r=e.checked,i=e.checkedIcon,a=e.classes,s=e.className,l=e.defaultChecked,c=e.disabled,u=e.icon,d=e.id,p=e.inputProps,f=e.inputRef,h=e.name,m=e.onBlur,g=e.onChange,v=e.onFocus,y=e.readOnly,b=e.required,x=e.tabIndex,w=e.type,E=e.value,C=yi(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),k=o.useRef(null!=r).current,S=o.useState(Boolean(l)),T=S[0],R=S[1],N=ep(),P=c;N&&void 0===P&&(P=N.disabled);var D=k?r:T,M="checkbox"===w||"radio"===w;return o.createElement(np,gi({component:"span",className:Ec(a.root,s,D&&a.checked,P&&a.disabled),disabled:P,tabIndex:null,role:void 0,onFocus:function(e){v&&v(e),N&&N.onFocus&&N.onFocus(e)},onBlur:function(e){m&&m(e),N&&N.onBlur&&N.onBlur(e)},ref:t},C),o.createElement("input",gi({autoFocus:n,checked:r,defaultChecked:l,className:a.input,disabled:P,id:M&&d,name:h,onChange:function(e){var t=e.target.checked;k||R(t),g&&g(e,t)},readOnly:y,ref:f,required:b,tabIndex:x,type:w,value:E},p)),D?i:u)})),op=Bc({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(rp),ip=zd(o.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),ap=zd(o.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),sp=zd(o.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"})),lp=o.createElement(ap,null),cp=o.createElement(ip,null),up=o.createElement(sp,null),dp=o.forwardRef((function(e,t){var n=e.checkedIcon,r=void 0===n?lp:n,i=e.classes,a=e.color,s=void 0===a?"secondary":a,l=e.icon,c=void 0===l?cp:l,u=e.indeterminate,d=void 0!==u&&u,p=e.indeterminateIcon,f=void 0===p?up:p,h=e.inputProps,m=yi(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps"]);return o.createElement(op,gi({type:"checkbox",checkedIcon:d?f:r,classes:{root:Ec(i.root,i["color".concat(jc(s))],d&&i.indeterminate),checked:i.checked,disabled:i.disabled},color:s,inputProps:gi({"data-indeterminate":d},h),icon:d?f:c,ref:t},m))}));Bc((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:pi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:pi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(dp);var pp=zd(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"})),fp=o.forwardRef((function(e,t){var n=e.avatar,r=e.classes,i=e.className,a=e.clickable,s=e.color,l=void 0===s?"default":s,c=e.component,u=e.deleteIcon,d=e.disabled,p=void 0!==d&&d,f=e.icon,h=e.label,m=e.onClick,g=e.onDelete,v=e.onKeyDown,y=e.onKeyUp,b=e.size,x=void 0===b?"medium":b,w=e.variant,E=void 0===w?"default":w,C=yi(e,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),k=o.useRef(null),S=Eu(k,t),T=function(e){e.stopPropagation(),g&&g(e)},R=!(!1===a||!m)||a,N="small"===x,P=c||(R?Gu:"div"),D=P===Gu?{component:"div"}:{},M=null;if(g){var L=Ec("default"!==l&&("default"===E?r["deleteIconColor".concat(jc(l))]:r["deleteIconOutlinedColor".concat(jc(l))]),N&&r.deleteIconSmall);M=u&&o.isValidElement(u)?o.cloneElement(u,{className:Ec(u.props.className,r.deleteIcon,L),onClick:T}):o.createElement(pp,{className:Ec(r.deleteIcon,L),onClick:T})}var I=null;n&&o.isValidElement(n)&&(I=o.cloneElement(n,{className:Ec(r.avatar,n.props.className,N&&r.avatarSmall,"default"!==l&&r["avatarColor".concat(jc(l))])}));var A=null;return f&&o.isValidElement(f)&&(A=o.cloneElement(f,{className:Ec(r.icon,f.props.className,N&&r.iconSmall,"default"!==l&&r["iconColor".concat(jc(l))])})),o.createElement(P,gi({role:R||g?"button":void 0,className:Ec(r.root,i,"default"!==l&&[r["color".concat(jc(l))],R&&r["clickableColor".concat(jc(l))],g&&r["deletableColor".concat(jc(l))]],"default"!==E&&[r.outlined,{primary:r.outlinedPrimary,secondary:r.outlinedSecondary}[l]],p&&r.disabled,N&&r.sizeSmall,R&&r.clickable,g&&r.deletable),"aria-disabled":!!p||void 0,tabIndex:R||g?0:void 0,onClick:m,onKeyDown:function(e){v&&v(e),e.currentTarget===e.target&&-1!==[" ","Enter","Backspace","Delete","Escape"].indexOf(e.key)&&e.preventDefault()},onKeyUp:function(e){if(y&&y(e),e.currentTarget===e.target){var t=e.key;!g||"Backspace"!==t&&"Delete"!==t?"Escape"===t&&k.current&&k.current.blur():g(e)}},ref:S},D,C),I||A,o.createElement("span",{className:Ec(r.label,N&&r.labelSmall)},h),M)}));Bc((function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=pi(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},"& $avatarColorPrimary":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},"& $avatarColorSecondary":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:di(t,.08)},"&:active":{boxShadow:e.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:di(e.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:di(e.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:di(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:di(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:di(e.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:pi(e.palette.text.primary,e.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(e.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:pi(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(e.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:pi(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{display:"flex",alignItems:"center",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:pi(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:pi(e.palette.primary.contrastText,.7),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:pi(e.palette.secondary.contrastText,.7),"&:hover, &:active":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:pi(e.palette.primary.main,.7),"&:hover, &:active":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:pi(e.palette.secondary.main,.7),"&:hover, &:active":{color:e.palette.secondary.main}}}}),{name:"MuiChip"})(fp);var hp=44;function mp(e){var t,n,r;return t=e,n=0,r=1,e=(Math.min(Math.max(n,t),r)-n)/(r-n),e=(e-=1)*e*e+1}var gp=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.disableShrink,l=void 0!==s&&s,c=e.size,u=void 0===c?40:c,d=e.style,p=e.thickness,f=void 0===p?3.6:p,h=e.value,m=void 0===h?0:h,g=e.variant,v=void 0===g?"indeterminate":g,y=yi(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),b={},x={},w={};if("determinate"===v||"static"===v){var E=2*Math.PI*((hp-f)/2);b.strokeDasharray=E.toFixed(3),w["aria-valuenow"]=Math.round(m),"static"===v?(b.strokeDashoffset="".concat(((100-m)/100*E).toFixed(3),"px"),x.transform="rotate(-90deg)"):(b.strokeDashoffset="".concat((function(e){return e*e}((100-m)/100)*E).toFixed(3),"px"),x.transform="rotate(".concat((270*mp(m/70)).toFixed(3),"deg)"))}return o.createElement("div",gi({className:Ec(n.root,r,"inherit"!==a&&n["color".concat(jc(a))],{indeterminate:n.indeterminate,static:n.static}[v]),style:gi({width:u,height:u},x,{},d),ref:t,role:"progressbar"},w,y),o.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(hp," ").concat(hp)},o.createElement("circle",{className:Ec(n.circle,l&&n.circleDisableShrink,{indeterminate:n.circleIndeterminate,static:n.circleStatic}[v]),style:b,cx:hp,cy:hp,r:(hp-f)/2,fill:"none",strokeWidth:f})))}));function vp(e){return e&&e.ownerDocument||document}function yp(e){return e.substring(2).toLowerCase()}Bc((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},"@keyframes circular-rotate":{"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(gp);var bp=o.forwardRef((function(e,t){var n=e.children,r=e.mouseEvent,i=void 0===r?"onClick":r,a=e.touchEvent,s=void 0===a?"onTouchEnd":a,c=e.onClickAway,u=o.useRef(!1),d=o.useRef(null),p=o.useRef(!1);o.useEffect((function(){return p.current=!0,function(){p.current=!1}}),[]);var f=Eu(d,t),h=o.useCallback((function(e){wu(f,l.findDOMNode(e))}),[f]),m=Eu(n.ref,h),g=Mu((function(e){if(!e.defaultPrevented&&p.current)if(u.current)u.current=!1;else if(d.current){var t=vp(d.current);t.documentElement&&t.documentElement.contains(e.target)&&!d.current.contains(e.target)&&c(e)}})),v=o.useCallback((function(){u.current=!0}),[]);return o.useEffect((function(){if(!1!==s){var e=yp(s);return document.addEventListener(e,g),document.addEventListener("touchmove",v),function(){document.removeEventListener(e,g),document.removeEventListener("touchmove",v)}}}),[g,v,s]),o.useEffect((function(){if(!1!==i){var e=yp(i);return document.addEventListener(e,g),function(){document.removeEventListener(e,g)}}}),[g,i]),o.createElement(o.Fragment,null,o.cloneElement(n,{ref:m}))})),xp=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.collapsedHeight,s=void 0===a?"0px":a,l=e.component,c=void 0===l?"div":l,u=e.in,d=e.onEnter,p=e.onEntered,f=e.onEntering,h=e.onExit,m=e.onExiting,g=e.style,v=e.timeout,y=void 0===v?sa.standard:v,b=yi(e,["children","classes","className","collapsedHeight","component","in","onEnter","onEntered","onEntering","onExit","onExiting","style","timeout"]),x=Hc(),w=o.useRef(),E=o.useRef(null),C=o.useRef();o.useEffect((function(){return function(){clearTimeout(w.current)}}),[]);return o.createElement(tu,gi({in:u,onEnter:function(e,t){e.style.height=s,d&&d(e,t)},onEntered:function(e,t){e.style.height="auto",p&&p(e,t)},onEntering:function(e,t){var n=E.current?E.current.clientHeight:0,r=xu({style:g,timeout:y},{mode:"enter"}).duration;if("auto"===y){var o=x.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(o,"ms"),C.current=o}else e.style.transitionDuration="string"==typeof r?r:"".concat(r,"ms");e.style.height="".concat(n,"px"),f&&f(e,t)},onExit:function(e){var t=E.current?E.current.clientHeight:0;e.style.height="".concat(t,"px"),h&&h(e)},onExiting:function(e){var t=E.current?E.current.clientHeight:0,n=xu({style:g,timeout:y},{mode:"exit"}).duration;if("auto"===y){var r=x.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(r,"ms"),C.current=r}else e.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");e.style.height=s,m&&m(e)},addEndListener:function(e,t){"auto"===y&&(w.current=setTimeout(t,C.current||0))},timeout:"auto"===y?null:y},b),(function(e,a){return o.createElement(c,gi({className:Ec(r.container,i,{entered:r.entered,exited:!u&&"0px"===s&&r.hidden}[e]),style:gi({minHeight:s},g),ref:t},a),o.createElement("div",{className:r.wrapper,ref:E},o.createElement("div",{className:r.wrapperInner},n)))}))}));xp.muiSupportAuto=!0;var wp=Bc((function(e){return{container:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(xp),Ep=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.fixed,l=void 0!==s&&s,c=e.maxWidth,u=void 0===c?"lg":c,d=yi(e,["classes","className","component","fixed","maxWidth"]);return o.createElement(a,gi({className:Ec(n.root,r,l&&n.fixed,!1!==u&&n["maxWidth".concat(jc(String(u)))]),ref:t},d))}));Bc((function(e){var t;return{root:(t={width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},mi(t,e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),mi(t,e.breakpoints.up("md"),{paddingLeft:e.spacing(4),paddingRight:e.spacing(4)}),t),fixed:Object.keys(e.breakpoints.values).reduce((function(t,n){var r=e.breakpoints.values[n];return 0!==r&&(t[e.breakpoints.up(n)]={maxWidth:r}),t}),{}),maxWidthXs:mi({},e.breakpoints.up("xs"),{maxWidth:Math.max(e.breakpoints.values.xs,444)}),maxWidthSm:mi({},e.breakpoints.up("sm"),{maxWidth:e.breakpoints.values.sm}),maxWidthMd:mi({},e.breakpoints.up("md"),{maxWidth:e.breakpoints.values.md}),maxWidthLg:mi({},e.breakpoints.up("lg"),{maxWidth:e.breakpoints.values.lg}),maxWidthXl:mi({},e.breakpoints.up("xl"),{maxWidth:e.breakpoints.values.xl})}}),{name:"MuiContainer"})(Ep),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};bc(e,gi({defaultTheme:Wc},t))}((function(e){return{"@global":{html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:"bolder"},body:gi({margin:0,color:e.palette.text.primary},e.typography.body2,{backgroundColor:e.palette.background.default,"@media print":{backgroundColor:e.palette.common.white},"&::backdrop":{backgroundColor:e.palette.background.default}})}}}),{name:"MuiCssBaseline"});var Cp="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,kp=o.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,a=void 0!==i&&i,s=e.onRendered,c=o.useState(null),u=c[0],d=c[1],p=Eu(n.ref,t);return Cp((function(){a||d(function(e){return e="function"==typeof e?e():e,l.findDOMNode(e)}(r)||document.body)}),[r,a]),Cp((function(){if(u&&!a)return wu(t,u),function(){wu(t,null)}}),[t,u,a]),Cp((function(){s&&(u||a)&&s()}),[s,u,a]),a?(o.Children.only(n),o.cloneElement(n,{ref:p})):u?l.createPortal(n,u):u}));function Sp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function Tp(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function Rp(e){return vp(e).defaultView||window}function Np(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Pp(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Dp(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(nl(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&Np(e,o)}))}function Mp(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function Lp(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){var a=function(e){var t=vp(e);return t.body===e?Rp(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i),s=i.parentElement,l="HTML"===s.nodeName?s:i;if(r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden",a){var c=Tp();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Pp(i)+c,"px"),n=vp(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Pp(e)+c,"px")}))}}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var Ip=function(){function e(){xc(this,e),this.modals=[],this.containers=[]}return ba(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Np(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Dp(t,e.mountNode,e.modalRef,r,!0);var o=Mp(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=Mp(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=Lp(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=Mp(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Np(e.modalRef,!0),Dp(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&Np(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();function Ap(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,a=void 0!==i&&i,s=e.disableRestoreFocus,c=void 0!==s&&s,u=e.getDoc,d=e.isEnabled,p=e.open,f=o.useRef(),h=o.useRef(null),m=o.useRef(null),g=o.useRef(),v=o.useRef(null),y=o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),b=Eu(t.ref,y);return o.useMemo((function(){p&&"undefined"!=typeof window&&(g.current=u().activeElement)}),[p]),o.useEffect((function(){if(p){var e=vp(v.current);r||!v.current||v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex",-1),v.current.focus());var t=function(){a||!d()||f.current?f.current=!1:v.current&&!v.current.contains(e.activeElement)&&v.current.focus()},n=function(t){!a&&d()&&9===t.keyCode&&e.activeElement===v.current&&(f.current=!0,t.shiftKey?m.current.focus():h.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval((function(){t()}),50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),c||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[r,a,c,d,p]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelStart"}),o.cloneElement(t,{ref:b}),o.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))}var Op={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",touchAction:"none"},invisible:{backgroundColor:"transparent"}},qp=o.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,i=e.open,a=yi(e,["invisible","open"]);return i?o.createElement("div",gi({"aria-hidden":!0,ref:t},a,{style:gi({},Op.root,{},r?Op.invisible:{},{},a.style)})):null}));var zp=new Ip,Fp=o.forwardRef((function(e,t){var n=oc(),r=ma({name:"MuiModal",props:gi({},e),theme:n}),i=r.BackdropComponent,a=void 0===i?qp:i,s=r.BackdropProps,c=r.children,u=r.closeAfterTransition,d=void 0!==u&&u,p=r.container,f=r.disableAutoFocus,h=void 0!==f&&f,m=r.disableBackdropClick,g=void 0!==m&&m,v=r.disableEnforceFocus,y=void 0!==v&&v,b=r.disableEscapeKeyDown,x=void 0!==b&&b,w=r.disablePortal,E=void 0!==w&&w,C=r.disableRestoreFocus,k=void 0!==C&&C,S=r.disableScrollLock,T=void 0!==S&&S,R=r.hideBackdrop,N=void 0!==R&&R,P=r.keepMounted,D=void 0!==P&&P,M=r.manager,L=void 0===M?zp:M,I=r.onBackdropClick,A=r.onClose,O=r.onEscapeKeyDown,q=r.onRendered,z=r.open,F=yi(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),W=o.useState(!0),H=W[0],B=W[1],j=o.useRef({}),$=o.useRef(null),V=o.useRef(null),U=Eu(V,t),_=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),Y=function(){return vp($.current)},K=function(){return j.current.modalRef=V.current,j.current.mountNode=$.current,j.current},X=function(){L.mount(K(),{disableScrollLock:T}),V.current.scrollTop=0},G=Mu((function(){var e=function(e){return e="function"==typeof e?e():e,l.findDOMNode(e)}(p)||Y().body;L.add(K(),e),V.current&&X()})),Z=o.useCallback((function(){return L.isTopModal(K())}),[L]),J=Mu((function(e){$.current=e,e&&(q&&q(),z&&Z()?X():Np(V.current,!0))})),Q=o.useCallback((function(){L.remove(K())}),[L]);if(o.useEffect((function(){return function(){Q()}}),[Q]),o.useEffect((function(){z?G():_&&d||Q()}),[z,Q,_,d,G]),!D&&!z&&(!_||H))return null;var ee=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:ua}),te={};return void 0===c.props.tabIndex&&(te.tabIndex=c.props.tabIndex||"-1"),_&&(te.onEnter=Sp((function(){B(!1)}),c.props.onEnter),te.onExited=Sp((function(){B(!0),d&&Q()}),c.props.onExited)),o.createElement(kp,{ref:J,container:p,disablePortal:E},o.createElement("div",gi({ref:U,onKeyDown:function(e){"Escape"===e.key&&Z()&&(e.stopPropagation(),O&&O(e),!x&&A&&A(e,"escapeKeyDown"))},role:"presentation"},F,{style:gi({},ee.root,{},!z&&H?ee.hidden:{},{},F.style)}),N?null:o.createElement(a,gi({open:z,onClick:function(e){e.target===e.currentTarget&&(I&&I(e),!g&&A&&A(e,"backdropClick"))}},s)),o.createElement(Ap,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:k,getDoc:Y,isEnabled:Z,open:z},o.cloneElement(c,te))))})),Wp={enter:sa.enteringScreen,exit:sa.leavingScreen},Hp=o.forwardRef((function(e,t){var n=e.BackdropProps,r=e.children,i=e.classes,a=e.className,s=e.disableBackdropClick,l=void 0!==s&&s,c=e.disableEscapeKeyDown,u=void 0!==c&&c,d=e.fullScreen,p=void 0!==d&&d,f=e.fullWidth,h=void 0!==f&&f,m=e.maxWidth,g=void 0===m?"sm":m,v=e.onBackdropClick,y=e.onClose,b=e.onEnter,x=e.onEntered,w=e.onEntering,E=e.onEscapeKeyDown,C=e.onExit,k=e.onExited,S=e.onExiting,T=e.open,R=e.PaperComponent,N=void 0===R?Vc:R,P=e.PaperProps,D=void 0===P?{}:P,M=e.scroll,L=void 0===M?"paper":M,I=e.TransitionComponent,A=void 0===I?Su:I,O=e.transitionDuration,q=void 0===O?Wp:O,z=e.TransitionProps,F=e["aria-describedby"],W=e["aria-labelledby"],H=yi(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),B=o.useRef();return o.createElement(Fp,gi({className:Ec(i.root,a),BackdropComponent:Ru,BackdropProps:gi({transitionDuration:q},n),closeAfterTransition:!0,disableBackdropClick:l,disableEscapeKeyDown:u,onEscapeKeyDown:E,onClose:y,open:T,ref:t},H),o.createElement(A,gi({appear:!0,in:T,timeout:q,onEnter:b,onEntering:w,onEntered:x,onExit:C,onExiting:S,onExited:k,role:"none presentation"},z),o.createElement("div",{className:Ec(i.container,i["scroll".concat(jc(L))]),onClick:function(e){e.target===e.currentTarget&&e.target===B.current&&(B.current=null,v&&v(e),!l&&y&&y(e,"backdropClick"))},onMouseDown:function(e){B.current=e.target}},o.createElement(N,gi({elevation:24,role:"dialog","aria-describedby":F,"aria-labelledby":W},D,{className:Ec(i.paper,i["paperScroll".concat(jc(L))],i["paperWidth".concat(jc(String(g)))],D.className,p&&i.paperFullScreen,h&&i.paperFullWidth)}),r))))}));Bc((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":mi({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":mi({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":mi({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":mi({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":mi({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(Hp);var Bp=o.forwardRef((function(e,t){var n=e.disableSpacing,r=void 0!==n&&n,i=e.classes,a=e.className,s=yi(e,["disableSpacing","classes","className"]);return o.createElement("div",gi({className:Ec(i.root,a,!r&&i.spacing),ref:t},s))}));Bc({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiDialogActions"})(Bp);var jp=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.dividers,a=void 0!==i&&i,s=yi(e,["classes","className","dividers"]);return o.createElement("div",gi({className:Ec(n.root,r,a&&n.dividers),ref:t},s))}));Bc((function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}}),{name:"MuiDialogContent"})(jp);var $p=o.forwardRef((function(e,t){return o.createElement(Ad,gi({component:"p",variant:"body1",color:"textSecondary",ref:t},e))}));Bc({root:{marginBottom:12}},{name:"MuiDialogContentText"})($p);var Vp=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.disableTypography,s=void 0!==a&&a,l=yi(e,["children","classes","className","disableTypography"]);return o.createElement("div",gi({className:Ec(r.root,i),ref:t},l),s?n:o.createElement(Ad,{component:"h2",variant:"h6"},n))}));Bc({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(Vp);var Up=o.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,i=e.classes,a=e.className,s=e.component,l=void 0===s?"hr":s,c=e.light,u=void 0!==c&&c,d=e.orientation,p=void 0===d?"horizontal":d,f=e.role,h=void 0===f?"hr"!==l?"separator":void 0:f,m=e.variant,g=void 0===m?"fullWidth":m,v=yi(e,["absolute","classes","className","component","light","orientation","role","variant"]);return o.createElement(l,gi({className:Ec(i.root,a,"fullWidth"!==g&&i[g],r&&i.absolute,u&&i.light,{vertical:i.vertical}[p]),role:h,ref:t},v))}));function _p(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this,s=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(s,n)}return r.clear=function(){clearTimeout(t)},r}function Yp(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"==typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(-").concat(r.left-i,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(-").concat(r.top-a,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}Bc((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:pi(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1}}}),{name:"MuiDivider"})(Up);var Kp={enter:sa.enteringScreen,exit:sa.leavingScreen},Xp=o.forwardRef((function(e,t){var n=e.children,r=e.direction,i=void 0===r?"down":r,a=e.in,s=e.onEnter,c=e.onEntering,u=e.onExit,d=e.onExited,p=e.style,f=e.timeout,h=void 0===f?Kp:f,m=yi(e,["children","direction","in","onEnter","onEntering","onExit","onExited","style","timeout"]),g=Hc(),v=o.useRef(null),y=o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),b=Eu(n.ref,y),x=Eu(b,t),w=o.useCallback((function(){v.current&&Yp(i,v.current)}),[i]);return o.useEffect((function(){if(!a&&"down"!==i&&"right"!==i){var e=_p((function(){v.current&&Yp(i,v.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[i,a]),o.useEffect((function(){a||w()}),[a,w]),o.createElement(tu,gi({onEnter:function(e,t){var n=v.current;Yp(i,n),bu(n),s&&s(n,t)},onEntering:function(e,t){var n=v.current,r=xu({timeout:h,style:p},{mode:"enter"});n.style.webkitTransition=g.transitions.create("-webkit-transform",gi({},r,{easing:g.transitions.easing.easeOut})),n.style.transition=g.transitions.create("transform",gi({},r,{easing:g.transitions.easing.easeOut})),n.style.webkitTransform="none",n.style.transform="none",c&&c(n,t)},onExit:function(){var e=v.current,t=xu({timeout:h,style:p},{mode:"exit"});e.style.webkitTransition=g.transitions.create("-webkit-transform",gi({},t,{easing:g.transitions.easing.sharp})),e.style.transition=g.transitions.create("transform",gi({},t,{easing:g.transitions.easing.sharp})),Yp(i,e),u&&u(e)},onExited:function(){var e=v.current;e.style.webkitTransition="",e.style.transition="",d&&d(e)},appear:!0,in:a,timeout:h},m),(function(e,t){return o.cloneElement(n,gi({ref:x,style:gi({visibility:"exited"!==e||a?void 0:"hidden"},p,{},n.props.style)},t))}))})),Gp={left:"right",right:"left",top:"down",bottom:"up"};function Zp(e){return-1!==["left","right"].indexOf(e)}function Jp(e,t){return"rtl"===e.direction&&Zp(t)?Gp[t]:t}var Qp={enter:sa.enteringScreen,exit:sa.leavingScreen},ef=o.forwardRef((function(e,t){var n=e.anchor,r=void 0===n?"left":n,i=e.BackdropProps,a=e.children,s=e.classes,l=e.className,c=e.elevation,u=void 0===c?16:c,d=e.ModalProps,p=(d=void 0===d?{}:d).BackdropProps,f=yi(d,["BackdropProps"]),h=e.onClose,m=e.open,g=void 0!==m&&m,v=e.PaperProps,y=e.SlideProps,b=e.transitionDuration,x=void 0===b?Qp:b,w=e.variant,E=void 0===w?"temporary":w,C=yi(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","transitionDuration","variant"]),k=Hc(),S=o.useRef(!1);o.useEffect((function(){S.current=!0}),[]);var T=Jp(k,r),R=o.createElement(Vc,gi({elevation:"temporary"===E?u:0,square:!0,className:Ec(s.paper,s["paperAnchor".concat(jc(T))],"temporary"!==E&&s["paperAnchorDocked".concat(jc(T))])},v),a);if("permanent"===E)return o.createElement("div",gi({className:Ec(s.root,s.docked,l),ref:t},C),R);var N=o.createElement(Xp,gi({in:g,direction:Gp[T],timeout:x,appear:S.current},y),R);return"persistent"===E?o.createElement("div",gi({className:Ec(s.root,s.docked,l),ref:t},C),N):o.createElement(Fp,gi({BackdropProps:gi({},i,{},p,{transitionDuration:x}),BackdropComponent:Ru,className:Ec(s.root,s.modal,l),open:g,onClose:h,ref:t},C,f),N)})),tf=Bc((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(ef);var nf=o.createContext({}),rf=o.forwardRef((function(e,t){var n,r=e.children,i=e.classes,a=e.className,s=e.defaultExpanded,l=void 0!==s&&s,c=e.disabled,u=void 0!==c&&c,d=e.expanded,p=e.onChange,f=e.square,h=void 0!==f&&f,m=e.TransitionComponent,g=void 0===m?wp:m,v=e.TransitionProps,y=yi(e,["children","classes","className","defaultExpanded","disabled","expanded","onChange","square","TransitionComponent","TransitionProps"]),b=o.useRef(null!=d).current,x=o.useState(l),w=x[0],E=x[1],C=b?d:w,k=o.useCallback((function(e){b||E(!C),p&&p(e,!C)}),[C,b,p]),S=o.Children.toArray(r),T=xd(n=S)||tl(n)||wd(),R=T[0],N=T.slice(1),P=o.useMemo((function(){return{expanded:C,disabled:u,toggle:k}}),[C,u,k]);return o.createElement(Vc,gi({className:Ec(i.root,a,C&&i.expanded,u&&i.disabled,!h&&i.rounded),ref:t,square:h},y),o.createElement(nf.Provider,{value:P},R),o.createElement(g,gi({in:C,timeout:"auto"},v),o.createElement("div",{"aria-labelledby":R.props.id,id:R.props["aria-controls"],role:"region"},N)))}));Bc((function(e){var t={duration:e.transitions.duration.shortest};return{root:{position:"relative",transition:e.transitions.create(["margin"],t),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-child":{"&:before":{display:"none"}},"&$expanded":{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},"&$expanded + &":{"&:before":{display:"none"}},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},rounded:{borderRadius:0,"&:first-child":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-child":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},expanded:{},disabled:{}}}),{name:"MuiExpansionPanel"})(rf);var of=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disableSpacing,a=void 0!==i&&i,s=yi(e,["classes","className","disableSpacing"]);return o.createElement("div",gi({className:Ec(n.root,r,!a&&n.spacing),ref:t},s))}));Bc({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiExpansionPanelActions"})(of);var af=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=yi(e,["classes","className"]);return o.createElement("div",gi({className:Ec(n.root,r),ref:t},i))}));Bc({root:{display:"flex",padding:"8px 24px 24px"}},{name:"MuiExpansionPanelDetails"})(af);var sf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.expandIcon,s=e.IconButtonProps,l=e.onBlur,c=e.onClick,u=e.onFocusVisible,d=yi(e,["children","classes","className","expandIcon","IconButtonProps","onBlur","onClick","onFocusVisible"]),p=o.useState(!1),f=p[0],h=p[1],m=o.useContext(nf),g=m.disabled,v=void 0!==g&&g,y=m.expanded,b=m.toggle;return o.createElement(Gu,gi({focusRipple:!1,disableRipple:!0,disabled:v,component:"div","aria-expanded":y,className:Ec(r.root,i,v&&r.disabled,y&&r.expanded,f&&r.focused),onFocusVisible:function(e){h(!0),u&&u(e)},onBlur:function(e){h(!1),l&&l(e)},onClick:function(e){b&&b(e),c&&c(e)},ref:t},d),o.createElement("div",{className:Ec(r.content,y&&r.expanded)},n),a&&o.createElement(np,gi({className:Ec(r.expandIcon,y&&r.expanded),edge:"end",component:"div",tabIndex:null,role:null,"aria-hidden":!0},s),a))}));Bc((function(e){var t={duration:e.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:e.transitions.create(["min-height","background-color"],t),padding:"0 24px 0 24px","&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:e.palette.grey[300]},"&$disabled":{opacity:.38}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:e.transitions.create(["margin"],t),margin:"12px 0","&$expanded":{margin:"20px 0"}},expandIcon:{transform:"rotate(0deg)",transition:e.transitions.create("transform",t),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"rotate(180deg)"}}}}),{name:"MuiExpansionPanelSummary"})(sf);var lf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"button":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.focusVisibleClassName,m=e.size,g=void 0===m?"large":m,v=e.variant,y=void 0===v?"round":v,b=yi(e,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return o.createElement(Gu,gi({className:Ec(r.root,i,"round"!==y&&r.extended,"large"!==g&&r["size".concat(jc(g))],d&&r.disabled,{primary:r.primary,secondary:r.secondary,inherit:r.colorInherit}[s]),component:c,disabled:d,focusRipple:!f,focusVisibleClassName:Ec(r.focusVisible,h),ref:t},b),o.createElement("span",{className:r.label},n))}));function cf(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}function uf(e,t){return parseInt(e[t],10)||0}Bc((function(e){return{root:gi({},e.typography.button,{boxSizing:"border-box",minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]},color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],"&$focusVisible":{boxShadow:e.shadows[6]},"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground},textDecoration:"none"},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},secondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(lf);var df="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,pf={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},ff=o.forwardRef((function(e,t){var n=e.onChange,r=e.rows,i=e.rowsMax,a=e.style,s=e.value,l=yi(e,["onChange","rows","rowsMax","style","value"]),c=o.useRef(null!=s).current,u=o.useRef(null),d=Eu(t,u),p=o.useRef(null),f=o.useState({}),h=f[0],m=f[1],g=o.useCallback((function(){var t=u.current,n=window.getComputedStyle(t),o=p.current;o.style.width=n.width,o.value=t.value||e.placeholder||"x";var a=n["box-sizing"],s=uf(n,"padding-bottom")+uf(n,"padding-top"),l=uf(n,"border-bottom-width")+uf(n,"border-top-width"),c=o.scrollHeight-s;o.value="x";var d=o.scrollHeight-s,f=c;null!=r&&(f=Math.max(Number(r)*d,f)),null!=i&&(f=Math.min(Number(i)*d,f));var h=(f=Math.max(f,d))+("border-box"===a?s+l:0),g=Math.abs(f-c)<=1;m((function(e){return h>0&&Math.abs((e.outerHeightStyle||0)-h)>1||e.overflow!==g?{overflow:g,outerHeightStyle:h}:e}))}),[r,i,e.placeholder]);o.useEffect((function(){var e=_p((function(){g()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[g]),df((function(){g()}));return o.createElement(o.Fragment,null,o.createElement("textarea",gi({value:s,onChange:function(e){c||g(),n&&n(e)},ref:d,rows:r||1,style:gi({height:h.outerHeightStyle,overflow:h.overflow?"hidden":null},a)},l)),o.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:gi({},pf,{},a)}))}));function hf(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function mf(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(hf(e.value)&&""!==e.value||t&&hf(e.defaultValue)&&""!==e.defaultValue)}var gf="undefined"==typeof window?o.useEffect:o.useLayoutEffect,vf=o.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,i=e.autoFocus,a=e.classes,s=e.className;e.color;var l=e.defaultValue,c=e.disabled,u=e.endAdornment;e.error;var d=e.fullWidth,p=void 0!==d&&d,f=e.id,h=e.inputComponent,m=void 0===h?"input":h,g=e.inputProps,v=void 0===g?{}:g,y=e.inputRef;e.margin;var b=e.multiline,x=void 0!==b&&b,w=e.name,E=e.onBlur,C=e.onChange,k=e.onClick,S=e.onFocus,T=e.onKeyDown,R=e.onKeyUp,N=e.placeholder,P=e.readOnly,D=e.renderSuffix,M=e.rows,L=e.rowsMax,I=e.select,A=void 0!==I&&I,O=e.startAdornment,q=e.type,z=void 0===q?"text":q,F=e.value,W=yi(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","select","startAdornment","type","value"]),H=null!=v.value?v.value:F,B=o.useRef(null!=H).current,j=o.useRef(),$=o.useCallback((function(e){}),[]),V=Eu(v.ref,$),U=Eu(y,V),_=Eu(j,U),Y=o.useState(!1),K=Y[0],X=Y[1],G=Qd(),Z=cf({props:e,muiFormControl:G,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Z.focused=G?G.focused:K,o.useEffect((function(){!G&&c&&K&&(X(!1),E&&E())}),[G,c,K,E]);var J=G&&G.onFilled,Q=G&&G.onEmpty,ee=o.useCallback((function(e){mf(e)?J&&J():Q&&Q()}),[J,Q]);gf((function(){B&&ee({value:H})}),[H,ee,B]);o.useEffect((function(){ee(j.current)}),[]);var te=m,ne=gi({},v,{ref:_});"string"!=typeof te?ne=gi({inputRef:_,type:z},ne,{ref:null}):x?M&&!L?te="textarea":(ne=gi({rows:M,rowsMax:L},ne),te=ff):ne=gi({type:z},ne);return o.useEffect((function(){G&&G.setAdornedStart(Boolean(O))}),[G,O]),o.createElement("div",gi({className:Ec(a.root,a["color".concat(jc(Z.color||"primary"))],s,Z.disabled&&a.disabled,Z.error&&a.error,p&&a.fullWidth,Z.focused&&a.focused,G&&a.formControl,x&&a.multiline,O&&a.adornedStart,u&&a.adornedEnd,{dense:a.marginDense}[Z.margin]),onClick:function(e){j.current&&e.currentTarget===e.target&&j.current.focus(),k&&k(e)},ref:t},W),O,o.createElement(Jd.Provider,{value:null},o.createElement(te,gi({"aria-invalid":Z.error,"aria-describedby":n,autoComplete:r,autoFocus:i,defaultValue:l,disabled:Z.disabled,id:f,onAnimationStart:function(e){ee(-1!==e.animationName.indexOf("auto-fill-cancel")?j.current:{value:"x"})},name:w,placeholder:N,readOnly:P,required:Z.required,rows:M,value:H,onKeyDown:T,onKeyUp:R},ne,{className:Ec(a.input,v.className,Z.disabled&&a.disabled,x&&a.inputMultiline,A&&a.inputSelect,Z.hiddenLabel&&a.inputHiddenLabel,O&&a.inputAdornedStart,u&&a.inputAdornedEnd,{search:a.inputTypeSearch}[z],{dense:a.inputMarginDense}[Z.margin]),onBlur:function(e){E&&E(e),v.onBlur&&v.onBlur(e),G&&G.onBlur?G.onBlur(e):X(!1)},onChange:function(e){if(!B){var t=e.target||j.current;if(null==t)throw new TypeError("Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://material-ui.com/r/input-component-ref-interface for more info.");ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];v.onChange&&v.onChange.apply(v,[e].concat(r)),C&&C.apply(void 0,[e].concat(r))},onFocus:function(e){Z.disabled?e.stopPropagation():(S&&S(e),v.onFocus&&v.onFocus(e),G&&G.onFocus?G.onFocus(e):X(!0))}}))),u,D?D(gi({},Z,{startAdornment:O})):null)})),yf=Bc((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:t?.42:.5};return{root:{fontFamily:e.typography.fontFamily,color:e.palette.text.primary,fontSize:e.typography.pxToRem(16),lineHeight:"1.1875em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}},formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1875em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"$auto-fill-cancel","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"$auto-fill"}},"@keyframes auto-fill":{from:{}},"@keyframes auto-fill-cancel":{from:{}},inputMarginDense:{paddingTop:3},inputSelect:{paddingRight:24},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(vf),bf=o.forwardRef((function(e,t){var n=e.disableUnderline,r=e.classes,i=e.fullWidth,a=void 0!==i&&i,s=e.inputComponent,l=void 0===s?"input":s,c=e.multiline,u=void 0!==c&&c,d=e.type,p=void 0===d?"text":d,f=yi(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(yf,gi({classes:gi({},r,{root:Ec(r.root,!n&&r.underline),underline:null}),fullWidth:a,inputComponent:l,multiline:u,ref:t,type:p},f))}));bf.muiName="Input";var xf=Bc((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"dark"===e.palette.type?"0 0 0 100px #266798 inset":null,WebkitTextFillColor:"dark"===e.palette.type?"#fff":null,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputSelect:{paddingRight:24},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(bf);function wf(e,t){return o.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}var Ef=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.disabled,c=void 0!==l&&l,u=e.error,d=void 0!==u&&u,p=e.fullWidth,f=void 0!==p&&p,h=e.hiddenLabel,m=void 0!==h&&h,g=e.margin,v=void 0===g?"none":g,y=e.color,b=void 0===y?"primary":y,x=e.required,w=void 0!==x&&x,E=e.variant,C=void 0===E?"standard":E,k=yi(e,["children","classes","className","component","disabled","error","fullWidth","hiddenLabel","margin","color","required","variant"]),S=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){if(wf(t,["Input","Select"])){var n=wf(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),T=S[0],R=S[1],N=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){wf(t,["Input","Select"])&&mf(t.props,!0)&&(e=!0)})),e})),P=N[0],D=N[1],M=o.useState(!1),L=M[0],I=M[1];c&&L&&I(!1);var A=o.useCallback((function(){D(!0)}),[]),O={adornedStart:T,setAdornedStart:R,color:b,disabled:c,error:d,filled:P,focused:L,hiddenLabel:m,margin:v,onBlur:function(){I(!1)},onEmpty:o.useCallback((function(){D(!1)}),[]),onFilled:A,onFocus:function(){I(!0)},registerEffect:undefined,required:w,variant:C};return o.createElement(Jd.Provider,{value:O},o.createElement(s,gi({className:Ec(r.root,i,"none"!==v&&r["margin".concat(jc(v))],f&&r.fullWidth),ref:t},k),n))})),Cf=Bc({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(Ef),kf=o.forwardRef((function(e,t){e.checked;var n=e.classes,r=e.className,i=e.control,a=e.disabled;e.inputRef;var s=e.label,l=e.labelPlacement,c=void 0===l?"end":l;e.name,e.onChange,e.value;var u=yi(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"]),d=ep(),p=a;void 0===p&&void 0!==i.props.disabled&&(p=i.props.disabled),void 0===p&&d&&(p=d.disabled);var f={disabled:p};return["checked","name","onChange","value","inputRef"].forEach((function(t){void 0===i.props[t]&&void 0!==e[t]&&(f[t]=e[t])})),o.createElement("label",gi({className:Ec(n.root,r,"end"!==c&&n["labelPlacement".concat(jc(c))],p&&n.disabled),ref:t},u),o.cloneElement(i,f),o.createElement(Ad,{component:"span",className:Ec(n.label,p&&n.disabled)},s))}));Bc((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(kf);var Sf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.row,a=void 0!==i&&i,s=yi(e,["classes","className","row"]);return o.createElement("div",gi({className:Ec(n.root,r,a&&n.row),ref:t},s))})),Tf=Bc({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(Sf),Rf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"p":i;e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant;var s=yi(e,["classes","className","component","disabled","error","filled","focused","margin","required","variant"]),l=cf({props:e,muiFormControl:ep(),states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(a,gi({className:Ec(n.root,("filled"===l.variant||"outlined"===l.variant)&&n.contained,r,l.disabled&&n.disabled,l.error&&n.error,l.filled&&n.filled,l.focused&&n.focused,l.required&&n.required,{dense:n.marginDense}[l.margin]),ref:t},s))})),Nf=Bc((function(e){return{root:gi({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:8,lineHeight:"1em",minHeight:"1em",margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{margin:"8px 14px 0"},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(Rf),Pf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className;e.color;var a=e.component,s=void 0===a?"label":a;e.disabled,e.error,e.filled,e.focused,e.required;var l=yi(e,["children","classes","className","color","component","disabled","error","filled","focused","required"]),c=cf({props:e,muiFormControl:ep(),states:["color","required","focused","disabled","error","filled"]});return o.createElement(s,gi({className:Ec(r.root,r["color".concat(jc(c.color||"primary"))],i,c.disabled&&r.disabled,c.error&&r.error,c.filled&&r.filled,c.focused&&r.focused,c.required&&r.required),ref:t},l),n,c.required&&o.createElement("span",{className:Ec(r.asterisk,c.error&&r.error)}," ","*"))})),Df=Bc((function(e){return{root:gi({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(Pf),Mf=[0,1,2,3,4,5,6,7,8,9,10],Lf=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function If(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var Af=o.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,i=e.alignItems,a=void 0===i?"stretch":i,s=e.classes,l=e.className,c=e.component,u=void 0===c?"div":c,d=e.container,p=void 0!==d&&d,f=e.direction,h=void 0===f?"row":f,m=e.item,g=void 0!==m&&m,v=e.justify,y=void 0===v?"flex-start":v,b=e.lg,x=void 0!==b&&b,w=e.md,E=void 0!==w&&w,C=e.sm,k=void 0!==C&&C,S=e.spacing,T=void 0===S?0:S,R=e.wrap,N=void 0===R?"wrap":R,P=e.xl,D=void 0!==P&&P,M=e.xs,L=void 0!==M&&M,I=e.zeroMinWidth,A=void 0!==I&&I,O=yi(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),q=Ec(s.root,l,p&&[s.container,0!==T&&s["spacing-xs-".concat(String(T))]],g&&s.item,A&&s.zeroMinWidth,"row"!==h&&s["direction-xs-".concat(String(h))],"wrap"!==N&&s["wrap-xs-".concat(String(N))],"stretch"!==a&&s["align-items-xs-".concat(String(a))],"stretch"!==r&&s["align-content-xs-".concat(String(r))],"flex-start"!==y&&s["justify-xs-".concat(String(y))],!1!==L&&s["grid-xs-".concat(String(L))],!1!==k&&s["grid-sm-".concat(String(k))],!1!==E&&s["grid-md-".concat(String(E))],!1!==x&&s["grid-lg-".concat(String(x))],!1!==D&&s["grid-xl-".concat(String(D))]);return o.createElement(u,gi({className:q,ref:t},O))}));Bc((function(e){return gi({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return Mf.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(If(o,2)),width:"calc(100% + ".concat(If(o),")"),"& > $item":{padding:If(o,2)}})})),n}(e,"xs"),{},e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};Lf.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var o="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:o,flexGrow:0,maxWidth:o}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?gi(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(Af);var Of=o.forwardRef((function(e,t){var n=e.cellHeight,r=void 0===n?180:n,i=e.children,a=e.classes,s=e.className,l=e.cols,c=void 0===l?2:l,u=e.component,d=void 0===u?"ul":u,p=e.spacing,f=void 0===p?4:p,h=e.style,m=yi(e,["cellHeight","children","classes","className","cols","component","spacing","style"]);return o.createElement(d,gi({className:Ec(a.root,s),ref:t,style:gi({margin:-f/2},h)},m),o.Children.map(i,(function(e){if(!o.isValidElement(e))return null;var t=e.props.cols||1,n=e.props.rows||1;return o.cloneElement(e,{style:gi({width:"".concat(100/c*t,"%"),height:"auto"===r?"auto":r*n+f,padding:f/2},e.props.style)})})))}));Bc({root:{display:"flex",flexWrap:"wrap",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"}},{name:"MuiGridList"})(Of);var qf=function(e,t){var n,r,o,i;e&&e.complete&&(e.width/e.height>e.parentElement.offsetWidth/e.parentElement.offsetHeight?((n=e.classList).remove.apply(n,nl(t.imgFullWidth.split(" "))),(r=e.classList).add.apply(r,nl(t.imgFullHeight.split(" ")))):((o=e.classList).remove.apply(o,nl(t.imgFullHeight.split(" "))),(i=e.classList).add.apply(i,nl(t.imgFullWidth.split(" ")))))};var zf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className;e.cols;var a=e.component,s=void 0===a?"li":a;e.rows;var l=yi(e,["children","classes","className","cols","component","rows"]),c=o.useRef(null);return o.useEffect((function(){!function(e,t){e&&(e.complete?qf(e,t):e.addEventListener("load",(function(){qf(e,t)})))}(c.current,r)})),o.useEffect((function(){var e=_p((function(){qf(c.current,r)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[r]),o.createElement(s,gi({className:Ec(r.root,i),ref:t},l),o.createElement("div",{className:r.tile},o.Children.map(n,(function(e){return o.isValidElement(e)?"img"===e.type||wf(e,["Image"])?o.cloneElement(e,{ref:c}):e:null}))))}));Bc({root:{boxSizing:"border-box",flexShrink:0},tile:{position:"relative",display:"block",height:"100%",overflow:"hidden"},imgFullHeight:{height:"100%",transform:"translateX(-50%)",position:"relative",left:"50%"},imgFullWidth:{width:"100%",position:"relative",transform:"translateY(-50%)",top:"50%"}},{name:"MuiGridListTile"})(zf);var Ff=o.forwardRef((function(e,t){var n=e.actionIcon,r=e.actionPosition,i=void 0===r?"right":r,a=e.classes,s=e.className,l=e.subtitle,c=e.title,u=e.titlePosition,d=void 0===u?"bottom":u,p=yi(e,["actionIcon","actionPosition","classes","className","subtitle","title","titlePosition"]),f=n&&i;return o.createElement("div",gi({className:Ec(a.root,s,"top"===d?a.titlePositionTop:a.titlePositionBottom,l&&a.rootSubtitle),ref:t},p),o.createElement("div",{className:Ec(a.titleWrap,{left:a.titleWrapActionPosLeft,right:a.titleWrapActionPosRight}[f])},o.createElement("div",{className:a.title},c),l?o.createElement("div",{className:a.subtitle},l):null),n?o.createElement("div",{className:Ec(a.actionIcon,{left:a.actionIconActionPosLeft}[f])},n):null)}));function Wf(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}Bc((function(e){return{root:{position:"absolute",left:0,right:0,height:48,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},titlePositionBottom:{bottom:0},titlePositionTop:{top:0},rootSubtitle:{height:68},titleWrap:{flexGrow:1,marginLeft:16,marginRight:16,color:e.palette.common.white,overflow:"hidden"},titleWrapActionPosLeft:{marginLeft:0},titleWrapActionPosRight:{marginRight:0},title:{fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},subtitle:{fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},actionIcon:{},actionIconActionPosLeft:{order:-1}}}),{name:"MuiGridListTileBar"})(Ff);var Hf={entering:{opacity:1,transform:Wf(1)},entered:{opacity:1,transform:"none"}},Bf=o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?"auto":l,u=yi(e,["children","in","onEnter","onExit","style","timeout"]),d=o.useRef(),p=o.useRef(),f=Eu(n.ref,t),h=Hc();return o.useEffect((function(){return function(){clearTimeout(d.current)}}),[]),o.createElement(tu,gi({appear:!0,in:r,onEnter:function(e,t){bu(e);var n,r=xu({style:s,timeout:c},{mode:"enter"}),o=r.duration,a=r.delay;"auto"===c?(n=h.transitions.getAutoHeightDuration(e.clientHeight),p.current=n):n=o,e.style.transition=[h.transitions.create("opacity",{duration:n,delay:a}),h.transitions.create("transform",{duration:.666*n,delay:a})].join(","),i&&i(e,t)},onExit:function(e){var t,n=xu({style:s,timeout:c},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===c?(t=h.transitions.getAutoHeightDuration(e.clientHeight),p.current=t):t=r,e.style.transition=[h.transitions.create("opacity",{duration:t,delay:o}),h.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=Wf(.75),a&&a(e)},addEndListener:function(e,t){"auto"===c&&(d.current=setTimeout(t,p.current||0))},timeout:"auto"===c?null:c},u),(function(e,t){return o.cloneElement(n,gi({style:gi({opacity:0,transform:Wf(.75),visibility:"exited"!==e||r?void 0:"hidden"},Hf[e],{},s,{},n.props.style),ref:f},t))}))}));Bf.muiSupportAuto=!0;var jf=!1;function $f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=oc(),r=ma({theme:n,name:"MuiUseMediaQuery",props:{}}),i="function"==typeof e?e(n):e;i=i.replace(/^@media( ?)/m,"");var a="undefined"!=typeof window&&void 0!==window.matchMedia,s=gi({},r,{},t),l=s.defaultMatches,c=void 0!==l&&l,u=s.noSsr,d=void 0!==u&&u,p=s.ssrMatchMedia,f=void 0===p?null:p,h=o.useState((function(){return(jf||d)&&a?window.matchMedia(i).matches:f?f(i).matches:c})),m=h[0],g=h[1];return o.useEffect((function(){var e=!0;if(jf=!0,a){var t=window.matchMedia(i),n=function(){e&&g(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[i,a]),m}var Vf=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?Ui.indexOf(e)<=Ui.indexOf(t):Ui.indexOf(e)<Ui.indexOf(t)},Uf=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?Ui.indexOf(t)<=Ui.indexOf(e):Ui.indexOf(t)<Ui.indexOf(e)},_f="undefined"==typeof window?o.useEffect:o.useLayoutEffect;function Yf(e){var t=e.children,n=e.only,r=e.width,o=Hc(),i=!0;if(n)if(Array.isArray(n))for(var a=0;a<n.length;a+=1){if(r===n[a]){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(var s=0;s<o.breakpoints.keys.length;s+=1){var l=o.breakpoints.keys[s],c=e["".concat(l,"Up")],u=e["".concat(l,"Down")];if(c&&Vf(l,r)||u&&Uf(l,r)){i=!1;break}}return i?t:null}Yf.propTypes={children:Yo.exports.node,className:Yo.exports.string,implementation:Yo.exports.oneOf(["js","css"]),initialWidth:Yo.exports.oneOf(["xs","sm","md","lg","xl"]),lgDown:Yo.exports.bool,lgUp:Yo.exports.bool,mdDown:Yo.exports.bool,mdUp:Yo.exports.bool,only:Yo.exports.oneOfType([Yo.exports.oneOf(["xs","sm","md","lg","xl"]),Yo.exports.arrayOf(Yo.exports.oneOf(["xs","sm","md","lg","xl"]))]),smDown:Yo.exports.bool,smUp:Yo.exports.bool,width:Yo.exports.string.isRequired,xlDown:Yo.exports.bool,xlUp:Yo.exports.bool,xsDown:Yo.exports.bool,xsUp:Yo.exports.bool},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,r=void 0!==n&&n,i=e.noSSR,a=void 0!==i&&i,s=e.initialWidth;function l(e){var n=Hc(),i=e.theme||n,l=ma({theme:i,name:"MuiWithWidth",props:gi({},e)}),c=l.initialWidth,u=l.width,d=yi(l,["initialWidth","width"]),p=o.useState(!1),f=p[0],h=p[1];_f((function(){h(!0)}),[]);var m=nl(i.breakpoints.keys).reverse().reduce((function(e,t){var n=$f(i.breakpoints.up(t));return!e&&n?t:e}),null),g=gi({width:u||(f||a?m:void 0)||c||s},r?{theme:i}:{},{},d);return void 0===g.width?null:o.createElement(t,g)}return Oc(l,t),l}}()(Yf);Bc((function(e){var t={display:"none"};return e.breakpoints.keys.reduce((function(n,r){return n["only".concat(jc(r))]=mi({},e.breakpoints.only(r),t),n["".concat(r,"Up")]=mi({},e.breakpoints.up(r),t),n["".concat(r,"Down")]=mi({},e.breakpoints.down(r),t),n}),{})}),{name:"PrivateHiddenCss"})((function(e){var t=e.children,n=e.classes,r=e.className;e.lgDown,e.lgUp,e.mdDown,e.mdUp;var i=e.only;e.smDown,e.smUp,e.xlDown,e.xlUp,e.xsDown,e.xsUp,yi(e,["children","classes","className","lgDown","lgUp","mdDown","mdUp","only","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]);var a=Hc(),s=[];r&&s.push(r);for(var l=0;l<a.breakpoints.keys.length;l+=1){var c=a.breakpoints.keys[l],u=e["".concat(c,"Up")],d=e["".concat(c,"Down")];u&&s.push(n["".concat(c,"Up")]),d&&s.push(n["".concat(c,"Down")])}return i&&(Array.isArray(i)?i:[i]).forEach((function(e){s.push(n["only".concat(jc(e))])})),o.createElement("div",{className:s.join(" ")},t)}));var Kf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"inherit":i,s=e.component,l=void 0===s?"span":s,c=e.fontSize,u=void 0===c?"default":c,d=yi(e,["classes","className","color","component","fontSize"]);return o.createElement(l,gi({className:Ec("material-icons",n.root,r,"inherit"!==a&&n["color".concat(jc(a))],"default"!==u&&n["fontSize".concat(jc(u))]),"aria-hidden":!0,ref:t},d))}));Kf.muiName="Icon",Bc((function(e){return{root:{userSelect:"none",fontSize:e.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:"MuiIcon"})(Kf);var Xf=o.forwardRef((function(e,t){var n=e.disableUnderline,r=e.classes,i=e.fullWidth,a=void 0!==i&&i,s=e.inputComponent,l=void 0===s?"input":s,c=e.multiline,u=void 0!==c&&c,d=e.type,p=void 0===d?"text":d,f=yi(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(yf,gi({classes:gi({},r,{root:Ec(r.root,!n&&r.underline),underline:null}),fullWidth:a,inputComponent:l,multiline:u,ref:t,type:p},f))}));Xf.muiName="Input";var Gf=Bc((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(Xf),Zf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.disablePointerEvents,c=void 0!==l&&l,u=e.disableTypography,d=void 0!==u&&u,p=e.position,f=e.variant,h=yi(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),m=Qd()||{},g=f;return f&&m.variant,m&&!g&&(g=m.variant),o.createElement(Jd.Provider,{value:null},o.createElement(s,gi({className:Ec(r.root,i,c&&r.disablePointerEvents,m.hiddenLabel&&r.hiddenLabel,{filled:r.filled}[g],{start:r.positionStart,end:r.positionEnd}[p],{dense:r.marginDense}[m.margin]),ref:t},h),"string"!=typeof n||d?n:o.createElement(Ad,{color:"textSecondary"},n)))}));Bc({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(Zf);var Jf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disableAnimation,a=void 0!==i&&i;e.margin;var s=e.shrink;e.variant;var l=yi(e,["classes","className","disableAnimation","margin","shrink","variant"]),c=ep(),u=s;void 0===u&&c&&(u=c.filled||c.focused||c.adornedStart);var d=cf({props:e,muiFormControl:c,states:["margin","variant"]});return o.createElement(Df,gi({"data-shrink":u,className:Ec(n.root,r,c&&n.formControl,!a&&n.animated,u&&n.shrink,{dense:n.marginDense}[d.margin],{filled:n.filled,outlined:n.outlined}[d.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},l))})),Qf=Bc((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(Jf),eh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.value,l=e.valueBuffer,c=e.variant,u=void 0===c?"indeterminate":c,d=yi(e,["classes","className","color","value","valueBuffer","variant"]),p=Hc(),f={},h={bar1:{},bar2:{}};if(("determinate"===u||"buffer"===u)&&void 0!==s){f["aria-valuenow"]=Math.round(s);var m=s-100;"rtl"===p.direction&&(m=-m),h.bar1.transform="translateX(".concat(m,"%)")}if("buffer"===u&&void 0!==l){var g=(l||0)-100;"rtl"===p.direction&&(g=-g),h.bar2.transform="translateX(".concat(g,"%)")}return o.createElement("div",gi({className:Ec(n.root,n["color".concat(jc(a))],r,{determinate:n.determinate,indeterminate:n.indeterminate,buffer:n.buffer,query:n.query}[u]),role:"progressbar"},f,{ref:t},d),"buffer"===u?o.createElement("div",{className:Ec(n.dashed,n["dashedColor".concat(jc(a))])}):null,o.createElement("div",{className:Ec(n.bar,n["barColor".concat(jc(a))],("indeterminate"===u||"query"===u)&&n.bar1Indeterminate,{determinate:n.bar1Determinate,buffer:n.bar1Buffer}[u]),style:h.bar1}),"determinate"===u?null:o.createElement("div",{className:Ec(n.bar,("indeterminate"===u||"query"===u)&&n.bar2Indeterminate,"buffer"===u?[n["color".concat(jc(a))],n.bar2Buffer]:n["barColor".concat(jc(a))]),style:h.bar2}))})),th=Bc((function(e){var t=function(t){return"light"===e.palette.type?hi(t,.62):fi(t,.5)},n=t(e.palette.primary.main),r=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4},colorPrimary:{backgroundColor:n},colorSecondary:{backgroundColor:r},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite",animationDelay:"1.15s"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0px -23px"},"50%":{opacity:0,backgroundPosition:"0px -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(eh),nh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.component,l=void 0===s?"a":s,c=e.onBlur,u=e.onFocus,d=e.TypographyClasses,p=e.underline,f=void 0===p?"hover":p,h=e.variant,m=void 0===h?"inherit":h,g=yi(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),v=$u(),y=v.isFocusVisible,b=v.onBlurVisible,x=v.ref,w=o.useState(!1),E=w[0],C=w[1],k=Eu(t,x);return o.createElement(Ad,gi({className:Ec(n.root,n["underline".concat(jc(f))],r,E&&n.focusVisible,{button:n.button}[l]),classes:d,color:a,component:l,onBlur:function(e){E&&(b(),C(!1)),c&&c(e)},onFocus:function(e){y(e)&&C(!0),u&&u(e)},ref:k,variant:m},g))}));Bc({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(nh);var rh=o.createContext({}),oh=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"ul":a,l=e.dense,c=void 0!==l&&l,u=e.disablePadding,d=void 0!==u&&u,p=e.subheader,f=yi(e,["children","classes","className","component","dense","disablePadding","subheader"]),h=o.useMemo((function(){return{dense:c}}),[c]);return o.createElement(rh.Provider,{value:h},o.createElement(s,gi({className:Ec(r.root,i,c&&r.dense,!d&&r.padding,p&&r.subheader),ref:t},f),p,n))})),ih=Bc({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(oh),ah="undefined"==typeof window?o.useEffect:o.useLayoutEffect,sh=o.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,i=e.autoFocus,a=void 0!==i&&i,s=e.button,c=void 0!==s&&s,u=e.children,d=e.classes,p=e.className,f=e.component,h=e.ContainerComponent,m=void 0===h?"li":h,g=e.ContainerProps,v=(g=void 0===g?{}:g).className,y=yi(g,["className"]),b=e.dense,x=e.disabled,w=void 0!==x&&x,E=e.disableGutters,C=void 0!==E&&E,k=e.divider,S=void 0!==k&&k,T=e.focusVisibleClassName,R=e.selected,N=void 0!==R&&R,P=yi(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),D=o.useContext(rh),M={dense:b||D.dense||!1,alignItems:r},L=o.useRef(null);ah((function(){a&&L.current&&L.current.focus()}),[a]);var I=o.Children.toArray(u),A=I.length&&wf(I[I.length-1],["ListItemSecondaryAction"]),O=Eu(o.useCallback((function(e){L.current=l.findDOMNode(e)}),[]),t),q=gi({className:Ec(d.root,p,M.dense&&d.dense,!C&&d.gutters,S&&d.divider,w&&d.disabled,c&&d.button,"center"!==r&&d.alignItemsFlexStart,A&&d.secondaryAction,N&&d.selected),disabled:w},P),z=f||"li";return c&&(q.component=f||"div",q.focusVisibleClassName=Ec(d.focusVisible,T),z=Gu),A?(z=q.component||f?z:"div","li"===m&&("li"===z?z="div":"li"===q.component&&(q.component="div")),o.createElement(rh.Provider,{value:M},o.createElement(m,gi({className:Ec(d.container,v),ref:O},y),o.createElement(z,q,I),I.pop()))):o.createElement(rh.Provider,{value:M},o.createElement(z,gi({ref:O},q),I))})),lh=Bc((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(sh),ch=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=yi(e,["classes","className"]),a=o.useContext(rh);return o.createElement("div",gi({className:Ec(n.root,r,"flex-start"===a.alignItems&&n.alignItemsFlexStart),ref:t},i))}));Bc({root:{minWidth:56,flexShrink:0},alignItemsFlexStart:{marginTop:8}},{name:"MuiListItemAvatar"})(ch);var uh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=yi(e,["classes","className"]),a=o.useContext(rh);return o.createElement("div",gi({className:Ec(n.root,r,"flex-start"===a.alignItems&&n.alignItemsFlexStart),ref:t},i))})),dh=Bc((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(uh),ph=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=yi(e,["classes","className"]);return o.createElement("div",gi({className:Ec(n.root,r),ref:t},i))}));ph.muiName="ListItemSecondaryAction",Bc({root:{position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"}},{name:"MuiListItemSecondaryAction"})(ph);var fh=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.disableTypography,s=void 0!==a&&a,l=e.inset,c=void 0!==l&&l,u=e.primary,d=e.primaryTypographyProps,p=e.secondary,f=e.secondaryTypographyProps,h=yi(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),m=o.useContext(rh).dense,g=null!=u?u:n;null==g||g.type===Ad||s||(g=o.createElement(Ad,gi({variant:m?"body2":"body1",className:r.primary,component:"span"},d),g));var v=p;return null==v||v.type===Ad||s||(v=o.createElement(Ad,gi({variant:"body2",className:r.secondary,color:"textSecondary"},f),v)),o.createElement("div",gi({className:Ec(r.root,i,m&&r.dense,c&&r.inset,g&&v&&r.multiline),ref:t},h),g,v)})),hh=Bc({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(fh),mh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"default":i,s=e.component,l=void 0===s?"li":s,c=e.disableGutters,u=void 0!==c&&c,d=e.disableSticky,p=void 0!==d&&d,f=e.inset,h=void 0!==f&&f,m=yi(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return o.createElement(l,gi({className:Ec(n.root,r,"default"!==a&&n["color".concat(jc(a))],h&&n.inset,!p&&n.sticky,!u&&n.gutters),ref:t},m))}));function gh(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function vh(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function yh(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function bh(e){return"function"==typeof e?e():e}Bc((function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(mh);var xh=o.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,i=e.anchorOrigin,a=void 0===i?{vertical:"top",horizontal:"left"}:i,s=e.anchorPosition,c=e.anchorReference,u=void 0===c?"anchorEl":c,d=e.children,p=e.classes,f=e.className,h=e.container,m=e.elevation,g=void 0===m?8:m,v=e.getContentAnchorEl,y=e.marginThreshold,b=void 0===y?16:y,x=e.onEnter,w=e.onEntered,E=e.onEntering,C=e.onExit,k=e.onExited,S=e.onExiting,T=e.open,R=e.PaperProps,N=void 0===R?{}:R,P=e.transformOrigin,D=void 0===P?{vertical:"top",horizontal:"left"}:P,M=e.TransitionComponent,L=void 0===M?Bf:M,I=e.transitionDuration,A=void 0===I?"auto":I,O=e.TransitionProps,q=void 0===O?{}:O,z=yi(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),F=o.useRef(),W=o.useCallback((function(e){if("anchorPosition"===u)return s;var t=bh(r),n=(t instanceof Rp(t).Element?t:vp(F.current).body).getBoundingClientRect(),o=0===e?a.vertical:"center";return{top:n.top+gh(n,o),left:n.left+vh(n,a.horizontal)}}),[r,a.horizontal,a.vertical,s,u]),H=o.useCallback((function(e){var t=0;if(v&&"anchorEl"===u){var n=v(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}}return t}),[a.vertical,u,v]),B=o.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:gh(e,D.vertical)+t,horizontal:vh(e,D.horizontal)}}),[D.horizontal,D.vertical]),j=o.useCallback((function(e){var t=H(e),n={width:e.offsetWidth,height:e.offsetHeight},o=B(n,t);if("none"===u)return{top:null,left:null,transformOrigin:yh(o)};var i=W(t),a=i.top-o.vertical,s=i.left-o.horizontal,l=a+n.height,c=s+n.width,d=Rp(bh(r)),p=d.innerHeight-b,f=d.innerWidth-b;if(a<b){var h=a-b;a-=h,o.vertical+=h}else if(l>p){var m=l-p;a-=m,o.vertical+=m}if(s<b){var g=s-b;s-=g,o.horizontal+=g}else if(c>f){var v=c-f;s-=v,o.horizontal+=v}return{top:"".concat(a,"px"),left:"".concat(s,"px"),transformOrigin:yh(o)}}),[r,u,W,H,B,b]),$=o.useCallback((function(e){var t=j(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[j]),V=o.useCallback((function(e){F.current=l.findDOMNode(e)}),[]),U=o.useMemo((function(){if(T)return _p((function(){$(F.current)}))}),[T,$]);o.useImperativeHandle(n,(function(){return T?{updatePosition:U}:null}),[T,U]),o.useEffect((function(){if(U)return window.addEventListener("resize",U),function(){window.removeEventListener("resize",U),U.clear()}}),[U]);var _=A;"auto"!==A||L.muiSupportAuto||(_=void 0);var Y=h||(r?vp(bh(r)).body:void 0);return o.createElement(Fp,gi({container:Y,open:T,ref:t,BackdropProps:{invisible:!0},className:Ec(p.root,f)},z),o.createElement(L,gi({appear:!0,in:T,onEnter:x,onEntered:w,onExit:C,onExited:k,onExiting:S,timeout:_},q,{onEntering:Sp((function(e,t){E&&E(e,t),$(e)}),q.onEntering)}),o.createElement(Vc,gi({elevation:g,ref:V},N,{className:Ec(p.paper,N.className)}),d)))})),wh=Bc({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(xh);function Eh(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Ch(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function kh(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),void 0!==n&&(0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join(""))))}function Sh(e,t,n,r,o){for(var i=!1,a=r(e,t,!!t&&n);a;){if(a===e.firstChild){if(i)return!1;i=!0}if(a.hasAttribute("tabindex")&&!a.disabled&&"true"!==a.getAttribute("aria-disabled")&&kh(a,o))return a.focus(),!0;a=r(e,a,n)}return!1}var Th="undefined"==typeof window?o.useEffect:o.useLayoutEffect,Rh=o.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,a=e.autoFocusItem,s=void 0!==a&&a,c=e.children,u=e.className,d=e.onKeyDown,p=e.disableListWrap,f=void 0!==p&&p,h=e.variant,m=void 0===h?"selectedMenu":h,g=yi(e,["actions","autoFocus","autoFocusItem","children","className","onKeyDown","disableListWrap","variant"]),v=o.useRef(null),y=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Th((function(){i&&v.current.focus()}),[i]),o.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!v.current.style.width;if(e.clientHeight<v.current.clientHeight&&n){var r="".concat(Tp(),"px");v.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,v.current.style.width="calc(100% + ".concat(r,")")}return v.current}}}),[]);var b=Eu(o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),t),x=-1;o.Children.forEach(c,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===x)&&(x=t))}));var w=o.Children.map(c,(function(e,t){if(t===x){var n={};if(s&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),null!==n)return o.cloneElement(e,n)}return e}));return o.createElement(ih,gi({role:"menu",ref:b,className:u,onKeyDown:function(e){var t=v.current,n=e.key,r=vp(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Sh(t,r,f,Eh);else if("ArrowUp"===n)e.preventDefault(),Sh(t,r,f,Ch);else if("Home"===n)e.preventDefault(),Sh(t,null,f,Eh);else if("End"===n)e.preventDefault(),Sh(t,null,f,Ch);else if(1===n.length){var o=y.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);var s=r&&!o.repeating&&kh(r,o);o.previousKeyMatched&&(s||Sh(t,r,!1,Eh,o))?e.preventDefault():o.previousKeyMatched=!1}d&&d(e)},tabIndex:i?0:-1},g),w)})),Nh={vertical:"top",horizontal:"right"},Ph={vertical:"top",horizontal:"left"},Dh=o.forwardRef((function(e,t){var n=e.autoFocus,r=void 0===n||n,i=e.children,a=e.classes,s=e.disableAutoFocusItem,c=void 0!==s&&s,u=e.MenuListProps,d=void 0===u?{}:u,p=e.onClose,f=e.onEntering,h=e.open,m=e.PaperProps,g=void 0===m?{}:m,v=e.PopoverClasses,y=e.transitionDuration,b=void 0===y?"auto":y,x=e.variant,w=void 0===x?"selectedMenu":x,E=yi(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),C=Hc(),k=r&&!c&&h,S=o.useRef(null),T=o.useRef(null),R=-1;o.Children.map(i,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("menu"!==w&&e.props.selected||-1===R)&&(R=t))}));var N=o.Children.map(i,(function(e,t){return t===R?o.cloneElement(e,{ref:function(t){T.current=l.findDOMNode(t),wu(e.ref,t)}}):e}));return o.createElement(wh,gi({getContentAnchorEl:function(){return T.current},classes:v,onClose:p,onEntering:function(e,t){S.current&&S.current.adjustStyleForScrollbar(e,C),f&&f(e,t)},anchorOrigin:"rtl"===C.direction?Nh:Ph,transformOrigin:"rtl"===C.direction?Nh:Ph,PaperProps:gi({},g,{classes:gi({},g.classes,{root:a.paper})}),open:h,ref:t,transitionDuration:b},E),o.createElement(Rh,gi({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:S,autoFocus:r&&(-1===R||c),autoFocusItem:k,variant:w},d,{className:Ec(a.list,d.className)}),N))})),Mh=Bc({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(Dh),Lh=o.forwardRef((function(e,t){var n,r=e.classes,i=e.className,a=e.component,s=void 0===a?"li":a,l=e.disableGutters,c=void 0!==l&&l,u=e.role,d=void 0===u?"menuitem":u,p=e.selected,f=e.tabIndex,h=yi(e,["classes","className","component","disableGutters","role","selected","tabIndex"]);return e.disabled||(n=void 0!==f?f:-1),o.createElement(lh,gi({button:!0,role:d,tabIndex:n,component:s,selected:p,disableGutters:c,classes:{dense:r.dense},className:Ec(r.root,i,p&&r.selected,!c&&r.gutters),ref:t},h))})),Ih=Bc((function(e){return{root:gi({},e.typography.body1,mi({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:gi({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(Lh),Ah=o.forwardRef((function(e,t){var n=e.activeStep,r=void 0===n?0:n,i=e.backButton,a=e.classes,s=e.className,l=e.LinearProgressProps,c=e.nextButton,u=e.position,d=void 0===u?"bottom":u,p=e.steps,f=e.variant,h=void 0===f?"dots":f,m=yi(e,["activeStep","backButton","classes","className","LinearProgressProps","nextButton","position","steps","variant"]);return o.createElement(Vc,gi({square:!0,elevation:0,className:Ec(a.root,a["position".concat(jc(d))],s),ref:t},m),i,"text"===h&&o.createElement(o.Fragment,null,r+1," / ",p),"dots"===h&&o.createElement("div",{className:a.dots},nl(new Array(p)).map((function(e,t){return o.createElement("div",{key:t,className:Ec(a.dot,t===r&&a.dotActive)})}))),"progress"===h&&o.createElement(th,gi({className:a.progress,variant:"determinate",value:Math.ceil(r/(p-1)*100)},l)),c)}));Bc((function(e){return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:e.palette.background.default,padding:8},positionBottom:{position:"fixed",bottom:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionTop:{position:"fixed",top:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionStatic:{},dots:{display:"flex",flexDirection:"row"},dot:{backgroundColor:e.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},dotActive:{backgroundColor:e.palette.primary.main},progress:{width:"50%"}}}),{name:"MuiMobileStepper"})(Ah);var Oh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disabled,a=e.IconComponent,s=e.inputRef,l=e.variant,c=void 0===l?"standard":l,u=yi(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",gi({className:Ec(n.root,n.select,n[c],r,i&&n.disabled),disabled:i,ref:s||t},u)),e.multiple?null:o.createElement(a,{className:Ec(n.icon,n["icon".concat(jc(c))])}))})),qh=zd(o.createElement("path",{d:"M7 10l5 5 5-5z"})),zh=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper}},filled:{},outlined:{borderRadius:e.shape.borderRadius},selectMenu:{height:"auto",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",color:e.palette.action.active,pointerEvents:"none"},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7}}},Fh=o.createElement(Gf,null),Wh=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.IconComponent,a=void 0===i?qh:i,s=e.input,l=void 0===s?Fh:s,c=e.inputProps;e.variant;var u=yi(e,["children","classes","IconComponent","input","inputProps","variant"]),d=cf({props:e,muiFormControl:ep(),states:["variant"]});return o.cloneElement(l,gi({inputComponent:Oh,select:!0,inputProps:gi({children:n,classes:r,IconComponent:a,variant:d.variant,type:void 0},c,{},l?l.props.inputProps:{}),ref:t},u))}));Wh.muiName="Select",Bc(zh,{name:"MuiNativeSelect"})(Wh);var Hh=o.forwardRef((function(e,t){e.children;var n=e.classes,r=e.className,i=e.labelWidth,a=e.notched,s=e.style,l=yi(e,["children","classes","className","labelWidth","notched","style"]),c="rtl"===Hc().direction?"right":"left",u=i>0?.75*i+8:0;return o.createElement("fieldset",gi({"aria-hidden":!0,style:gi(mi({},"padding".concat(jc(c)),8+(a?0:u/2)),s),className:Ec(n.root,r),ref:t},l),o.createElement("legend",{className:n.legend,style:{width:a?u:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),Bh=Bc((function(e){var t="rtl"===e.direction?"right":"left";return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:0,pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,transition:e.transitions.create(["padding-".concat(t),"border-color","border-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}}}),{name:"PrivateNotchedOutline"})(Hh),jh=o.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,i=void 0!==r&&r,a=e.inputComponent,s=void 0===a?"input":a,l=e.labelWidth,c=void 0===l?0:l,u=e.multiline,d=void 0!==u&&u,p=e.notched,f=e.type,h=void 0===f?"text":f,m=yi(e,["classes","fullWidth","inputComponent","labelWidth","multiline","notched","type"]);return o.createElement(yf,gi({renderSuffix:function(e){return o.createElement(Bh,{className:n.notchedOutline,labelWidth:c,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)})},classes:gi({},n,{root:Ec(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:s,multiline:d,ref:t,type:h},m))}));jh.muiName="Input";var $h=Bc((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"dark"===e.palette.type?"0 0 0 100px #266798 inset":null,WebkitTextFillColor:"dark"===e.palette.type?"#fff":null,borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputSelect:{paddingRight:24},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(jh),Vh="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,Uh=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(Vh&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();
|
|
23
|
+
*/var Rs="undefined"!=typeof CSS&&CSS&&"number"in CSS,Ns=function(e){return new Ss(e)};Ns();var Ms=Date.now(),Ps="fnValues"+Ms,Ds="fnStyle"+ ++Ms;var Ls="@global",Is="@global ",As=function(){function e(e,t,n){for(var r in this.type="global",this.at=Ls,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new as(vi({},n,{parent:this})),t)this.rules.add(r,t[r]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,n){var r=this.rules.add(e,t,n);return this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Os=function(){function e(e,t,n){this.type="global",this.at=Ls,this.options=void 0,this.rule=void 0,this.isProcessed=!1,this.key=void 0,this.key=e,this.options=n;var r=e.substr(Is.length);this.rule=n.jss.createRule(r,t,vi({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),qs=/\s*,\s*/g;function zs(e,t){for(var n=e.split(qs),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function Fs(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Ls)return new As(e,t,n);if("@"===e[0]&&e.substr(0,Is.length)===Is)return new Os(e,t,n);var r=n.parent;return r&&("global"===r.type||r.options.parent&&"global"===r.options.parent.type)&&(n.scoped=!1),!1===n.scoped&&(n.selector=e),null},onProcessRule:function(e){"style"===e.type&&(function(e){var t=e.options,n=e.style,r=n?n[Ls]:null;if(r){for(var o in r)t.sheet.addRule(o,r[o],vi({},t,{selector:zs(o,e.selector)}));delete n[Ls]}}(e),function(e){var t=e.options,n=e.style;for(var r in n)if("@"===r[0]&&r.substr(0,Ls.length)===Ls){var o=zs(r.substr(Ls.length),e.selector);t.sheet.addRule(o,n[r],vi({},t,{selector:o})),delete n[r]}}(e))}}}var Ws=/\s*,\s*/g,Hs=/&/g,Bs=/\$([\w-]+)/g;function js(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function t(e,t){for(var n=t.split(Ws),r=e.split(Ws),o="",i=0;i<n.length;i++)for(var a=n[i],s=0;s<r.length;s++){var l=r[s];o&&(o+=", "),o+=-1!==l.indexOf("&")?l.replace(Hs,a):a+" "+l}return o}function n(e,t,n){if(n)return vi({},n,{index:n.index+1});var r=e.options.nestingLevel;return r=void 0===r?1:r+1,vi({},e.options,{nestingLevel:r,index:t.indexOf(e)+1})}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,s,l=o,c=l.options.parent;for(var u in r){var d=-1!==u.indexOf("&"),p="@"===u[0];if(d||p){if(a=n(l,c,a),d){var f=t(u,l.selector);s||(s=e(c,i)),f=f.replace(Bs,s),c.addRule(f,r[u],vi({},a,{selector:f}))}else p&&c.addRule(u,{},a).addRule(l.key,r[u],{selector:l.selector});delete r[u]}}return r}}}var $s=/[A-Z]/g,Vs=/^ms-/,Us={};function _s(e){return"-"+e.toLowerCase()}function Ys(e){if(Us.hasOwnProperty(e))return Us[e];var t=e.replace($s,_s);return Us[e]=Vs.test(t)?"-"+t:t}function Ks(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Ys(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Ks):t.fallbacks=Ks(e.fallbacks)),t}var Xs=Rs&&CSS?CSS.px:"px",Gs=Rs&&CSS?CSS.ms:"ms",Zs=Rs&&CSS?CSS.percent:"%";function Js(e){var t=/(-[a-z])/g,n=function(e){return e[1].toUpperCase()},r={};for(var o in e)r[o]=e[o],r[o.replace(t,n)]=e[o];return r}var Qs=Js({"animation-delay":Gs,"animation-duration":Gs,"background-position":Xs,"background-position-x":Xs,"background-position-y":Xs,"background-size":Xs,border:Xs,"border-bottom":Xs,"border-bottom-left-radius":Xs,"border-bottom-right-radius":Xs,"border-bottom-width":Xs,"border-left":Xs,"border-left-width":Xs,"border-radius":Xs,"border-right":Xs,"border-right-width":Xs,"border-top":Xs,"border-top-left-radius":Xs,"border-top-right-radius":Xs,"border-top-width":Xs,"border-width":Xs,margin:Xs,"margin-bottom":Xs,"margin-left":Xs,"margin-right":Xs,"margin-top":Xs,padding:Xs,"padding-bottom":Xs,"padding-left":Xs,"padding-right":Xs,"padding-top":Xs,"mask-position-x":Xs,"mask-position-y":Xs,"mask-size":Xs,height:Xs,width:Xs,"min-height":Xs,"max-height":Xs,"min-width":Xs,"max-width":Xs,bottom:Xs,left:Xs,top:Xs,right:Xs,"box-shadow":Xs,"text-shadow":Xs,"column-gap":Xs,"column-rule":Xs,"column-rule-width":Xs,"column-width":Xs,"font-size":Xs,"font-size-delta":Xs,"letter-spacing":Xs,"text-indent":Xs,"text-stroke":Xs,"text-stroke-width":Xs,"word-spacing":Xs,motion:Xs,"motion-offset":Xs,outline:Xs,"outline-offset":Xs,"outline-width":Xs,perspective:Xs,"perspective-origin-x":Zs,"perspective-origin-y":Zs,"transform-origin":Zs,"transform-origin-x":Zs,"transform-origin-y":Zs,"transform-origin-z":Zs,"transition-delay":Gs,"transition-duration":Gs,"vertical-align":Xs,"flex-basis":Xs,"shape-margin":Xs,size:Xs,grid:Xs,"grid-gap":Xs,"grid-row-gap":Xs,"grid-column-gap":Xs,"grid-template-rows":Xs,"grid-template-columns":Xs,"grid-auto-rows":Xs,"grid-auto-columns":Xs,"box-shadow-x":Xs,"box-shadow-y":Xs,"box-shadow-blur":Xs,"box-shadow-spread":Xs,"font-line-height":Xs,"text-shadow-x":Xs,"text-shadow-y":Xs,"text-shadow-blur":Xs});function el(e,t,n){if(!t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=el(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=el(o,t[o],n);else for(var i in t)t[i]=el(e+"-"+i,t[i],n);else if("number"==typeof t)return n[e]?""+t+n[e]:Qs[e]?"function"==typeof Qs[e]?Qs[e](t).toString():""+t+Qs[e]:t.toString();return t}function tl(e){void 0===e&&(e={});var t=Js(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=el(r,e[r],t);return e},onChangeValue:function(e,n){return el(n,e,t)}}}function nl(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function rl(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||nl(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ol="",il="",al="",sl=ya&&"ontouchstart"in document.documentElement;if(ya){var ll={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},cl=document.createElement("p").style;for(var ul in ll)if(ul+"Transform"in cl){ol=ul,il=ll[ul];break}"Webkit"===ol&&"msHyphens"in cl&&(ol="ms",il=ll.ms,"edge"),"Webkit"===ol&&"-apple-trailing-word"in cl&&(al="apple")}var dl=ol,pl=il,fl=al,hl=sl;var ml={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===dl?"-webkit-"+e:pl+e)}},gl={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===dl?pl+"print-"+e:e)}},vl=/[-\s]+(.)?/g;function yl(e,t){return t?t.toUpperCase():""}function bl(e){return e.replace(vl,yl)}function xl(e){return bl("-"+e)}var wl,El={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===dl){var n="mask-image";if(bl(n)in t)return e;if(dl+xl(n)in t)return pl+e}return e}},Cl={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==fl||hl?e:pl+e)}},kl={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:pl+e)}},Sl={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:pl+e)}},Tl={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===dl||"ms"===dl?pl+e:e)}},Rl={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===dl||"ms"===dl||"apple"===fl?pl+e:e)}},Nl={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===dl?"WebkitColumn"+xl(e)in t&&pl+"column-"+e:"Moz"===dl&&("page"+xl(e)in t&&"page-"+e))}},Ml={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===dl)return e;var n=e.replace("-inline","");return dl+xl(n)in t&&pl+n}},Pl={supportedProperty:function(e,t){return bl(e)in t&&e}},Dl={supportedProperty:function(e,t){var n=xl(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:dl+n in t?pl+e:"Webkit"!==dl&&"Webkit"+n in t&&"-webkit-"+e}},Ll={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===dl?""+pl+e:e)}},Il={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===dl?pl+"scroll-chaining":e)}},Al={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Ol={supportedProperty:function(e,t){var n=Al[e];return!!n&&(dl+xl(n)in t&&pl+n)}},ql={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},zl=Object.keys(ql),Fl=function(e){return pl+e},Wl=[ml,gl,El,Cl,kl,Sl,Tl,Rl,Nl,Ml,Pl,Dl,Ll,Il,Ol,{supportedProperty:function(e,t,n){var r=n.multiple;if(zl.indexOf(e)>-1){var o=ql[e];if(!Array.isArray(o))return dl+xl(o)in t&&pl+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(dl+xl(o[0])in t))return!1;return o.map(Fl)}return!1}}],Hl=Wl.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Bl=Wl.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,rl(t.noPrefill)),e}),[]),jl={};if(ya){wl=document.createElement("p");var $l=window.getComputedStyle(document.documentElement,"");for(var Vl in $l)isNaN(Vl)||(jl[$l[Vl]]=$l[Vl]);Bl.forEach((function(e){return delete jl[e]}))}function Ul(e,t){if(void 0===t&&(t={}),!wl)return e;if(null!=jl[e])return jl[e];"transition"!==e&&"transform"!==e||(t[e]=e in wl.style);for(var n=0;n<Hl.length&&(jl[e]=Hl[n](e,wl.style,t),!jl[e]);n++);try{wl.style[e]=""}catch(e){return!1}return jl[e]}var _l,Yl={},Kl={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Xl=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Gl(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Ul(t):", "+Ul(n);return r||(t||n)}function Zl(e,t){var n=t;if(!_l||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Yl[r])return Yl[r];try{_l.style[e]=n}catch(e){return Yl[r]=!1,!1}if(Kl[e])n=n.replace(Xl,Gl);else if(""===_l.style[e]&&("-ms-flex"===(n=pl+n)&&(_l.style[e]="-ms-flexbox"),_l.style[e]=n,""===_l.style[e]))return Yl[r]=!1,!1;return _l.style[e]="",Yl[r]=n,Yl[r]}function Jl(){function e(t){for(var n in t){var r=t[n];if("fallbacks"===n&&Array.isArray(r))t[n]=r.map(e);else{var o=!1,i=Ul(n);i&&i!==n&&(o=!0);var a=!1,s=Zl(i,Ra(r));s&&s!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=s||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===dl?e:"@"+pl+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Zl(t,Ra(e))||e}}}function Ql(){return{plugins:[{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=Sa(e,{},n);return r[Ds]=t,r},onProcessStyle:function(e,t){if(Ps in t||Ds in t)return e;var n={};for(var r in e){var o=e[r];"function"==typeof o&&(delete e[r],n[r]=o)}return t[Ps]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Ds];i&&(o.style=i(e)||{});var a=o[Ps];if(a)for(var s in a)o.prop(s,a[s](e),r)}},Fs(),js(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Ks(e[t]);return e}return Ks(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Ys(t);return t===r?e:(n.prop(r,e),null)}},tl(),"undefined"==typeof window?null:Jl(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,n){if("style"!==n.type)return t;for(var r={},o=Object.keys(t).sort(e),i=0;i<o.length;i++)r[o[i]]=t[o[i]];return r}})]};var e}function ec(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;if(e.Component,!n)return t;var r=vi({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}ya&&(_l=document.createElement("p"));var tc=function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},nc=function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},rc=function(e,t,n){e.get(t).delete(n)},oc=o.createContext(null);function ic(){return o.useContext(oc)}var ac,sc=Ns(Ql()),lc={disableGeneration:!1,generateClassName:ma(),jss:sc,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},cc=o.createContext(lc);function uc(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,i=e.disableGeneration,a=void 0!==i&&i,s=bi(e,["children","injectFirst","disableGeneration"]),l=vi({},o.useContext(cc),{disableGeneration:a},s);if(!l.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!ac){var c=document.head;ac=document.createComment("mui-inject-first"),c.insertBefore(ac,c.firstChild)}l.jss=Ns({plugins:Ql().plugins,insertionPoint:ac})}return o.createElement(cc.Provider,{value:l},t)}var dc=-1e9;function pc(){return dc+=1}var fc={};function hc(e){var t="function"==typeof e;return{create:function(n,r){var o;try{o=t?e(n):e}catch(e){throw e}if(!r||!n.overrides||!n.overrides[r])return o;var i=n.overrides[r],a=vi({},o);return Object.keys(i).forEach((function(e){a[e]=Ci(a[e],i[e])})),a},options:{}}}function mc(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var o=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,o=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,o=!0),o&&(r.cacheClasses.value=ec({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function gc(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var s=nc(o.sheetsManager,i,r);s||(s={refs:0,staticSheet:null,dynamicStyles:null},tc(o.sheetsManager,i,r,s));var l=vi({},i.options,{},o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});l.generateId=l.serverGenerateClassName||l.generateClassName;var c=o.sheetsRegistry;if(0===s.refs){var u;o.sheetsCache&&(u=nc(o.sheetsCache,i,r));var d=i.create(r,a);u||((u=o.jss.createStyleSheet(d,vi({link:!1},l))).attach(),o.sheetsCache&&tc(o.sheetsCache,i,r,u)),c&&c.add(u),s.staticSheet=u,s.dynamicStyles=Ts(d)}if(s.dynamicStyles){var p=o.jss.createStyleSheet(s.dynamicStyles,vi({link:!0},l));p.update(t).attach(),n.dynamicSheet=p,n.classes=ec({baseClasses:s.staticSheet.classes,newClasses:p.classes}),c&&c.add(p)}else n.classes=s.staticSheet.classes;s.refs+=1}}function vc(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function yc(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=nc(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(rc(r.sheetsManager,o,n),r.jss.removeStyleSheet(i.staticSheet),a&&a.remove(i.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),a&&a.remove(t.dynamicSheet))}}function bc(e,t){var n,r=o.useRef([]),i=o.useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),o.useEffect((function(){return function(){n&&n()}}),[i])}function xc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,i=t.Component,a=t.defaultTheme,s=void 0===a?fc:a,l=bi(t,["name","classNamePrefix","Component","defaultTheme"]),c=hc(e),u=n||r||"makeStyles";return c.options={index:pc(),name:n,meta:u,classNamePrefix:u},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=ic()||s,r=vi({},o.useContext(cc),{},l),a=o.useRef(),u=o.useRef();return bc((function(){var o={name:n,state:{},stylesCreator:c,stylesOptions:r,theme:t};return gc(o,e),u.current=!1,a.current=o,function(){yc(o)}}),[t,c]),o.useEffect((function(){u.current&&vc(a.current,e),u.current=!0})),mc(a.current,e.classes,i)}}function wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ec(e){var t,n,r="";if(e)if("object"==typeof e)if(e.push)for(t=0;t<e.length;t++)e[t]&&(n=Ec(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(n=Ec(t))&&(r&&(r+=" "),r+=n);else"boolean"==typeof e||e.call||(r&&(r+=" "),r+=e);return r}function Cc(){for(var e,t=0,n="";t<arguments.length;)(e=Ec(arguments[t++]))&&(n&&(n+=" "),n+=e);return n}var kc=ki.exports,Sc={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Tc={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Rc={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Nc={};function Mc(e){return kc.isMemo(e)?Rc:Nc[e.$$typeof]||Sc}Nc[kc.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var Pc=Object.defineProperty,Dc=Object.getOwnPropertyNames,Lc=Object.getOwnPropertySymbols,Ic=Object.getOwnPropertyDescriptor,Ac=Object.getPrototypeOf,Oc=Object.prototype;var qc=function e(t,n,r){if("string"!=typeof n){if(Oc){var o=Ac(n);o&&o!==Oc&&e(t,o,r)}var i=Dc(n);Lc&&(i=i.concat(Lc(n)));for(var a=Mc(t),s=Mc(n),l=0;l<i.length;++l){var c=i[l];if(!(Tc[c]||r&&r[c]||s&&s[c]||a&&a[c])){var u=Ic(n,c);try{Pc(t,c,u)}catch(e){}}}return t}return t};function zc(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function Fc(e){var t=e.children,n=e.theme,r=ic(),i=o.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):vi({},e,{},t)}(r,n);return null!=e&&(e[fa]=null!==r),e}),[n,r]);return o.createElement(oc.Provider,{value:i},t)}function Wc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,n=function(e){var n=o.forwardRef((function(n,r){var i=n.innerRef,a=bi(n,["innerRef"]),s=ic()||t;return o.createElement(e,vi({theme:s,ref:i||r},a))}));return qc(n,e),n};return n}Wc();var Hc=pa();function Bc(){return ic()||Hc}function jc(e,t){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,i=t.withTheme,a=void 0!==i&&i,s=t.name,l=bi(t,["defaultTheme","withTheme","name"]),c=s,u=xc(e,vi({defaultTheme:r,Component:n,name:s||n.displayName,classNamePrefix:c},l)),d=o.forwardRef((function(e,t){e.classes;var i,l=e.innerRef,c=bi(e,["classes","innerRef"]),d=u(e),p=c;return("string"==typeof s||a)&&(i=ic()||r,s&&(p=ga({theme:i,name:s,props:c})),a&&!p.theme&&(p.theme=i)),o.createElement(n,vi({ref:l||t,classes:d},p))}));return d.defaultProps=n.defaultProps,qc(d,n),d}}(e,vi({defaultTheme:Hc},t))}function $c(e){return e.charAt(0).toUpperCase()+e.slice(1)}Wc({defaultTheme:Hc});var Vc=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.square,l=void 0!==s&&s,c=e.elevation,u=void 0===c?1:c,d=bi(e,["classes","className","component","square","elevation"]);return o.createElement(a,vi({className:Cc(n.root,n["elevation".concat(u)],r,!l&&n.rounded),ref:t},d))})),Uc=jc((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),vi({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius}},t)}),{name:"MuiPaper"})(Vc),_c=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.position,l=void 0===s?"fixed":s,c=bi(e,["classes","className","color","position"]);return o.createElement(Uc,vi({square:!0,component:"header",elevation:4,className:Cc(n.root,n["position".concat($c(l))],r,"inherit"!==a&&n["color".concat($c(a))],{fixed:"mui-fixed"}[l]),ref:t},c))}));jc((function(e){var t="light"===e.palette.type?e.palette.grey[100]:e.palette.grey[900];return{root:{display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",zIndex:e.zIndex.appBar,flexShrink:0},positionFixed:{position:"fixed",top:0,left:"auto",right:0},positionAbsolute:{position:"absolute",top:0,left:"auto",right:0},positionSticky:{position:"sticky",top:0,left:"auto",right:0},positionStatic:{position:"static",transform:"translateZ(0)"},positionRelative:{position:"relative"},colorDefault:{backgroundColor:t,color:e.palette.getContrastText(t)},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText}}}),{name:"MuiAppBar"})(_c);var Yc=o.forwardRef((function(e,t){var n=e.alt,r=e.children,i=e.classes,a=e.className,s=e.component,l=void 0===s?"div":s,c=e.imgProps,u=e.sizes,d=e.src,p=e.srcSet,f=e.variant,h=void 0===f?"circle":f,m=bi(e,["alt","children","classes","className","component","imgProps","sizes","src","srcSet","variant"]),g=null,v=d||p;return g=v?o.createElement("img",vi({alt:n,src:d,srcSet:p,sizes:u,className:i.img},c)):r,o.createElement(l,vi({className:Cc(i.root,i.system,i[h],a,!v&&i.colorDefault),ref:t},m),g)}));function Kc(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}jc((function(e){return{root:{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none"},colorDefault:{color:e.palette.background.default,backgroundColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},circle:{},rounded:{borderRadius:e.shape.borderRadius},square:{borderRadius:0},img:{width:"100%",height:"100%",textAlign:"center",objectFit:"cover"}}}),{name:"MuiAvatar"})(Yc);var Xc=!1,Gc=o.createContext(null),Zc="unmounted",Jc="exited",Qc="entering",eu="entered",tu="exiting",nu=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=Jc,r.appearStatus=Qc):o=eu:o=t.unmountOnExit||t.mountOnEnter?Zc:Jc,r.state={status:o},r.nextCallback=null,r}wa(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Zc?{status:Jc}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==Qc&&n!==eu&&(t=Qc):n!==Qc&&n!==eu||(t=tu)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=l.findDOMNode(this);t===Qc?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===Jc&&this.setState({status:Zc})},n.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context?this.context.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;!t&&!r||Xc?this.safeSetState({status:eu},(function(){n.props.onEntered(e)})):(this.props.onEnter(e,o),this.safeSetState({status:Qc},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:eu},(function(){n.props.onEntered(e,o)}))}))})))},n.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n&&!Xc?(this.props.onExit(e),this.safeSetState({status:tu},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:Jc},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:Jc},(function(){t.props.onExited(e)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Zc)return null;var t=this.props,n=t.children,r=yi(t,["children"]);if(delete r.in,delete r.mountOnEnter,delete r.unmountOnExit,delete r.appear,delete r.enter,delete r.exit,delete r.timeout,delete r.addEndListener,delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,"function"==typeof n)return o.createElement(Gc.Provider,{value:null},n(e,r));var i=o.Children.only(n);return o.createElement(Gc.Provider,{value:null},o.cloneElement(i,r))},t}(o.Component);function ru(){}nu.contextType=Gc,nu.propTypes={},nu.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:ru,onEntering:ru,onEntered:ru,onExit:ru,onExiting:ru,onExited:ru},nu.UNMOUNTED=0,nu.EXITED=1,nu.ENTERING=2,nu.ENTERED=3,nu.EXITING=4;var ou=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))},iu=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=Kc(n.className,r):n.setAttribute("class",Kc(n.className&&n.className.baseVal||"",r)));var n,r}))},au=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){t.removeClasses(e,"exit"),t.addClass(e,n?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=n?"appear":"enter";t.addClass(e,r,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=n?"appear":"enter";t.removeClasses(e,r),t.addClass(e,r,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),t.addClass(e,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){t.addClass(e,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){t.removeClasses(e,"exit"),t.addClass(e,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}wa(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"];"appear"===t&&"done"===n&&(r+=" "+this.getClassNames("enter").doneClassName),"active"===n&&e&&e.scrollTop,this.appliedClasses[t][n]=r,ou(e,r)},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&iu(e,r),o&&iu(e,o),i&&iu(e,i)},n.render=function(){var e=this.props;e.classNames;var t=yi(e,["classNames"]);return o.createElement(nu,vi({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(o.Component);function su(e,t){var n=Object.create(null);return e&&i.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&a(e)?t(e):e}(e)})),n}function lu(e,t,n){return null!=n[t]?n[t]:e.props[t]}function cu(e,t,n){var r=su(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var l=o[i];if(a(l)){var c=i in t,u=i in r,d=t[i],p=a(d)&&!d.props.in;!u||c&&!p?u||!c||p?u&&c&&a(d)&&(o[i]=s(l,{onExited:n.bind(null,l),in:d.props.in,exit:lu(l,"exit",e),enter:lu(l,"enter",e)})):o[i]=s(l,{in:!1}):o[i]=s(l,{onExited:n.bind(null,l),in:!0,exit:lu(l,"exit",e),enter:lu(l,"enter",e)})}})),o}au.defaultProps={classNames:""},au.propTypes={};var uu,du,pu=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},fu=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(Ea(Ea(r)));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}wa(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,su(n.children,(function(e){return s(e,{onExited:r.bind(null,e),in:!0,appear:lu(e,"appear",n),enter:lu(e,"enter",n),exit:lu(e,"exit",n)})}))):cu(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=su(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=vi({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=yi(e,["component","childFactory"]),i=this.state.contextValue,a=pu(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?o.createElement(Gc.Provider,{value:i},a):o.createElement(Gc.Provider,{value:i},o.createElement(t,r,a))},t}(o.Component);fu.propTypes={},fu.defaultProps={component:"div",childFactory:function(e){return e}},(function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}wa(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,i=this.props.children,a=o.Children.toArray(i)[t];a.props[e]&&(r=a.props)[e].apply(r,n),this.props[e]&&this.props[e](l.findDOMNode(this))},n.render=function(){var e=this.props,t=e.children,n=e.in,r=yi(e,["children","in"]),i=o.Children.toArray(t),a=i[0],s=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,o.createElement(fu,r,n?o.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):o.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(o.Component)).propTypes={};var hu="out-in",mu="in-out",gu=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},vu=((uu={})[hu]=function(e){var t=e.current,n=e.changeState;return o.cloneElement(t,{in:!1,onExited:gu(t,"onExited",(function(){n(Qc,null)}))})},uu[mu]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,o.cloneElement(r,{in:!0,onEntered:gu(r,"onEntered",(function(){n(Qc)}))})]},uu),yu=((du={})[hu]=function(e){var t=e.children,n=e.changeState;return o.cloneElement(t,{in:!0,onEntered:gu(t,"onEntered",(function(){n(eu,o.cloneElement(t,{in:!0}))}))})},du[mu]=function(e){var t=e.current,n=e.children,r=e.changeState;return[o.cloneElement(t,{in:!1,onExited:gu(t,"onExited",(function(){r(eu,o.cloneElement(n,{in:!0}))}))}),o.cloneElement(n,{in:!0})]},du),bu=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:eu,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}wa(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===Qc&&e.mode===mu?{status:Qc}:!t.current||(n=t.current,r=e.children,n===r||o.isValidElement(n)&&o.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:o.cloneElement(e.children,{in:!0})}:{status:tu};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,i=this.state,a=i.status,s=i.current,l={children:n,current:s,changeState:this.changeState,status:a};switch(a){case Qc:e=yu[r](l);break;case tu:e=vu[r](l);break;case eu:e=s}return o.createElement(Gc.Provider,{value:{isMounting:!this.appeared}},e)},t}(o.Component);bu.propTypes={},bu.defaultProps={mode:hu};var xu=function(e){return e.scrollTop};function wu(e,t){var n=e.timeout,r=e.style,o=void 0===r?{}:r;return{duration:o.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:o.transitionDelay}}function Eu(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function Cu(e,t){return o.useMemo((function(){return null==e&&null==t?null:function(n){Eu(e,n),Eu(t,n)}}),[e,t])}var ku={entering:{opacity:1},entered:{opacity:1}},Su={enter:la.enteringScreen,exit:la.leavingScreen},Tu=o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?Su:l,u=bi(e,["children","in","onEnter","onExit","style","timeout"]),d=Bc(),p=Cu(n.ref,t);return o.createElement(nu,vi({appear:!0,in:r,onEnter:function(e,t){xu(e);var n=wu({style:s,timeout:c},{mode:"enter"});e.style.webkitTransition=d.transitions.create("opacity",n),e.style.transition=d.transitions.create("opacity",n),i&&i(e,t)},onExit:function(e){var t=wu({style:s,timeout:c},{mode:"exit"});e.style.webkitTransition=d.transitions.create("opacity",t),e.style.transition=d.transitions.create("opacity",t),a&&a(e)},timeout:c},u),(function(e,t){return o.cloneElement(n,vi({style:vi({opacity:0,visibility:"exited"!==e||r?void 0:"hidden"},ku[e],{},s,{},n.props.style),ref:p},t))}))})),Ru=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.invisible,s=void 0!==a&&a,l=e.open,c=e.transitionDuration,u=bi(e,["children","classes","className","invisible","open","transitionDuration"]);return o.createElement(Tu,vi({in:l,timeout:c},u),o.createElement("div",{className:Cc(r.root,i,s&&r.invisible),"aria-hidden":!0,ref:t},n))})),Nu=jc({root:{zIndex:-1,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",touchAction:"none"},invisible:{backgroundColor:"transparent"}},{name:"MuiBackdrop"})(Ru),Mu=o.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,i=e.badgeContent,a=e.children,s=e.classes,l=e.className,c=e.color,u=void 0===c?"default":c,d=e.component,p=void 0===d?"span":d,f=e.invisible,h=e.max,m=void 0===h?99:h,g=e.overlap,v=void 0===g?"rectangle":g,y=e.showZero,b=void 0!==y&&y,x=e.variant,w=void 0===x?"standard":x,E=bi(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),C=f;null==f&&(0===i&&!b||null==i&&"dot"!==w)&&(C=!0);var k="";return"dot"!==w&&(k=i>m?"".concat(m,"+"):i),o.createElement(p,vi({className:Cc(s.root,l),ref:t},E),a,o.createElement("span",{className:Cc(s.badge,s["".concat(r.horizontal).concat($c(r.vertical),"}")],s["anchorOrigin".concat($c(r.vertical)).concat($c(r.horizontal)).concat($c(v))],"default"!==u&&s["color".concat($c(u))],C&&s.invisible,{dot:s.dot}[w])},k))}));jc((function(e){return{root:{position:"relative",display:"inline-flex",verticalAlign:"middle",flexShrink:0},badge:{display:"flex",flexDirection:"row",flexWrap:"wrap",justifyContent:"center",alignContent:"center",alignItems:"center",position:"absolute",boxSizing:"border-box",fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(12),minWidth:20,lineHeight:1,padding:"0 6px",height:20,borderRadius:10,backgroundColor:e.palette.color,color:e.palette.textColor,zIndex:1,transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.enteringScreen})},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},colorError:{backgroundColor:e.palette.error.main,color:e.palette.error.contrastText},dot:{height:6,minWidth:6,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightRectangle:{bottom:0,right:0,transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftRectangle:{top:0,left:0,transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftRectangle:{bottom:0,left:0,transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},anchorOriginTopRightCircle:{top:"14%",right:"14%",transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginBottomRightCircle:{bottom:"14%",right:"14%",transform:"scale(1) translate(50%, 50%)",transformOrigin:"100% 100%","&$invisible":{transform:"scale(0) translate(50%, 50%)"}},anchorOriginTopLeftCircle:{top:"14%",left:"14%",transform:"scale(1) translate(-50%, -50%)",transformOrigin:"0% 0%","&$invisible":{transform:"scale(0) translate(-50%, -50%)"}},anchorOriginBottomLeftCircle:{bottom:"14%",left:"14%",transform:"scale(1) translate(-50%, 50%)",transformOrigin:"0% 100%","&$invisible":{transform:"scale(0) translate(-50%, 50%)"}},invisible:{transition:e.transitions.create("transform",{easing:e.transitions.easing.easeInOut,duration:e.transitions.duration.leavingScreen})}}}),{name:"MuiBadge"})(Mu);var Pu=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.onChange,c=e.showLabels,u=void 0!==c&&c,d=e.value,p=bi(e,["children","classes","className","component","onChange","showLabels","value"]);return o.createElement(s,vi({className:Cc(r.root,i),ref:t},p),o.Children.map(n,(function(e,t){if(!o.isValidElement(e))return null;var n=void 0===e.props.value?t:e.props.value;return o.cloneElement(e,{selected:n===d,showLabel:void 0!==e.props.showLabel?e.props.showLabel:u,value:n,onChange:l})})))}));jc((function(e){return{root:{display:"flex",justifyContent:"center",height:56,backgroundColor:e.palette.background.paper}}}),{name:"MuiBottomNavigation"})(Pu);var Du="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Lu(e){var t=o.useRef(e);return Du((function(){t.current=e})),o.useCallback((function(e){return(0,t.current)(e)}),[])}var Iu="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function Au(e){var t=e.children,n=e.defer,r=void 0!==n&&n,i=e.fallback,a=void 0===i?null:i,s=o.useState(!1),l=s[0],c=s[1];return Iu((function(){r||c(!0)}),[r]),o.useEffect((function(){r&&c(!0)}),[r]),o.createElement(o.Fragment,null,l?t:a)}var Ou=!0,qu=!1,zu=null,Fu={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 Wu(e){e.metaKey||e.altKey||e.ctrlKey||(Ou=!0)}function Hu(){Ou=!1}function Bu(){"hidden"===this.visibilityState&&qu&&(Ou=!0)}function ju(e){var t,n,r,o=e.target;try{return o.matches(":focus-visible")}catch(e){}return Ou||(n=(t=o).type,!("INPUT"!==(r=t.tagName)||!Fu[n]||t.readOnly)||"TEXTAREA"===r&&!t.readOnly||!!t.isContentEditable)}function $u(){qu=!0,window.clearTimeout(zu),zu=window.setTimeout((function(){qu=!1}),100)}function Vu(){return{isFocusVisible:ju,onBlurVisible:$u,ref:o.useCallback((function(e){var t=l.findDOMNode(e);null!=t&&function(e){e.addEventListener("keydown",Wu,!0),e.addEventListener("mousedown",Hu,!0),e.addEventListener("pointerdown",Hu,!0),e.addEventListener("touchstart",Hu,!0),e.addEventListener("visibilitychange",Bu,!0)}(t.ownerDocument)}),[])}}var Uu="undefined"==typeof window?o.useEffect:o.useLayoutEffect;function _u(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,i=e.rippleX,a=e.rippleY,s=e.rippleSize,l=e.in,c=e.onExited,u=void 0===c?function(){}:c,d=e.timeout,p=o.useState(!1),f=p[0],h=p[1],m=Cc(t.ripple,t.rippleVisible,r&&t.ripplePulsate),g={width:s,height:s,top:-s/2+a,left:-s/2+i},v=Cc(t.child,f&&t.childLeaving,r&&t.childPulsate),y=Lu(u);return Uu((function(){if(!l){h(!0);var e=setTimeout(y,d);return function(){clearTimeout(e)}}}),[y,l,d]),o.createElement("span",{className:m,style:g},o.createElement("span",{className:v}))}var Yu=o.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,i=e.classes,a=e.className,s=bi(e,["center","classes","className"]),l=o.useState([]),c=l[0],u=l[1],d=o.useRef(0),p=o.useRef(null);o.useEffect((function(){p.current&&(p.current(),p.current=null)}),[c]);var f=o.useRef(!1),h=o.useRef(null),m=o.useRef(null),g=o.useRef(null);o.useEffect((function(){return function(){clearTimeout(h.current)}}),[]);var v=o.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,a=e.rippleSize,s=e.cb;u((function(e){return[].concat(rl(e),[o.createElement(_u,{key:d.current,classes:i,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:a})])})),d.current+=1,p.current=s}),[i]),y=o.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,o=t.pulsate,i=void 0!==o&&o,a=t.center,s=void 0===a?r||t.pulsate:a,l=t.fakeElement,c=void 0!==l&&l;if("mousedown"===e.type&&f.current)f.current=!1;else{"touchstart"===e.type&&(f.current=!0);var u,d,p,y=c?null:g.current,b=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(s||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)u=Math.round(b.width/2),d=Math.round(b.height/2);else{var x=e.clientX?e.clientX:e.touches[0].clientX,w=e.clientY?e.clientY:e.touches[0].clientY;u=Math.round(x-b.left),d=Math.round(w-b.top)}if(s)(p=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(p+=1);else{var E=2*Math.max(Math.abs((y?y.clientWidth:0)-u),u)+2,C=2*Math.max(Math.abs((y?y.clientHeight:0)-d),d)+2;p=Math.sqrt(Math.pow(E,2)+Math.pow(C,2))}e.touches?(m.current=function(){v({pulsate:i,rippleX:u,rippleY:d,rippleSize:p,cb:n})},h.current=setTimeout((function(){m.current&&(m.current(),m.current=null)}),80)):v({pulsate:i,rippleX:u,rippleY:d,rippleSize:p,cb:n})}}),[r,v]),b=o.useCallback((function(){y({},{pulsate:!0})}),[y]),x=o.useCallback((function(e,t){if(clearTimeout(h.current),"touchend"===e.type&&m.current)return e.persist(),m.current(),m.current=null,void(h.current=setTimeout((function(){x(e,t)})));m.current=null,u((function(e){return e.length>0?e.slice(1):e})),p.current=t}),[]);return o.useImperativeHandle(t,(function(){return{pulsate:b,start:y,stop:x}}),[b,y,x]),o.createElement("span",vi({className:Cc(i.root,a),ref:g},s),o.createElement(fu,{component:null,exit:!0},c))}));var Ku,Xu=jc((function(e){return{root:{overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"},ripple:{opacity:0,position:"absolute"},rippleVisible:{opacity:.3,transform:"scale(1)",animation:"$enter ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},ripplePulsate:{animationDuration:"".concat(e.transitions.duration.shorter,"ms")},child:{opacity:1,display:"block",width:"100%",height:"100%",borderRadius:"50%",backgroundColor:"currentColor"},childLeaving:{opacity:0,animation:"$exit ".concat(550,"ms ").concat(e.transitions.easing.easeInOut)},childPulsate:{position:"absolute",left:0,top:0,animation:"$pulsate 2500ms ".concat(e.transitions.easing.easeInOut," 200ms infinite")},"@keyframes enter":{"0%":{transform:"scale(0)",opacity:.1},"100%":{transform:"scale(1)",opacity:.3}},"@keyframes exit":{"0%":{opacity:1},"100%":{opacity:0}},"@keyframes pulsate":{"0%":{transform:"scale(1)"},"50%":{transform:"scale(0.92)"},"100%":{transform:"scale(1)"}}}}),{flip:!1,name:"MuiTouchRipple"})(((Ku=o.memo(Yu)).muiName="MuiTouchRipple",Ku)),Gu=o.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,i=e.centerRipple,a=void 0!==i&&i,s=e.children,c=e.classes,u=e.className,d=e.component,p=void 0===d?"button":d,f=e.disabled,h=void 0!==f&&f,m=e.disableRipple,g=void 0!==m&&m,v=e.disableTouchRipple,y=void 0!==v&&v,b=e.focusRipple,x=void 0!==b&&b,w=e.focusVisibleClassName,E=e.onBlur,C=e.onClick,k=e.onFocus,S=e.onFocusVisible,T=e.onKeyDown,R=e.onKeyUp,N=e.onMouseDown,M=e.onMouseLeave,P=e.onMouseUp,D=e.onTouchEnd,L=e.onTouchMove,I=e.onTouchStart,A=e.onDragLeave,O=e.tabIndex,q=void 0===O?0:O,z=e.TouchRippleProps,F=e.type,W=void 0===F?"button":F,H=bi(e,["action","buttonRef","centerRipple","children","classes","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","onBlur","onClick","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","onDragLeave","tabIndex","TouchRippleProps","type"]),B=o.useRef(null);var j=o.useRef(null),$=o.useState(!1),V=$[0],U=$[1];h&&V&&U(!1);var _=Vu(),Y=_.isFocusVisible,K=_.onBlurVisible,X=_.ref;function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;return Lu((function(r){return t&&t(r),!n&&j.current&&j.current[e](r),!0}))}o.useImperativeHandle(n,(function(){return{focusVisible:function(){U(!0),B.current.focus()}}}),[]),o.useEffect((function(){V&&x&&!g&&j.current.pulsate()}),[g,x,V]);var Z=G("start",N),J=G("stop",A),Q=G("stop",P),ee=G("stop",(function(e){V&&e.preventDefault(),M&&M(e)})),te=G("start",I),ne=G("stop",D),re=G("stop",L),oe=G("stop",(function(e){V&&(K(e),U(!1)),E&&E(e)}),!1),ie=Lu((function(e){h||(B.current||(B.current=e.currentTarget),Y(e)&&(U(!0),S&&S(e)),k&&k(e))})),ae=o.useRef(!1),se=Lu((function(e){x&&!ae.current&&V&&j.current&&" "===e.key&&(ae.current=!0,e.persist(),j.current.stop(e,(function(){j.current.start(e)}))),T&&T(e);var t=l.findDOMNode(B.current);e.target!==e.currentTarget||!p||"button"===p||" "!==e.key&&"Enter"!==e.key||"A"===t.tagName&&t.href||(e.preventDefault(),C&&C(e))})),le=Lu((function(e){x&&" "===e.key&&j.current&&V&&(ae.current=!1,e.persist(),j.current.stop(e,(function(){j.current.pulsate(e)}))),R&&R(e)})),ce=p;"button"===ce&&H.href&&(ce="a");var ue={};"button"===ce?(ue.type=W,ue.disabled=h):("a"===ce&&H.href||(ue.role="button"),ue["aria-disabled"]=h);var de=Cu(r,t),pe=Cu(X,B),fe=Cu(de,pe);return o.createElement(ce,vi({className:Cc(c.root,u,V&&[c.focusVisible,w],h&&c.disabled),onBlur:oe,onClick:C,onFocus:ie,onKeyDown:se,onKeyUp:le,onMouseDown:Z,onMouseLeave:ee,onMouseUp:Q,onDragLeave:J,onTouchEnd:ne,onTouchMove:re,onTouchStart:te,ref:fe,tabIndex:h?-1:q},ue,H),s,g||h?null:o.createElement(Au,null,o.createElement(Xu,vi({ref:j,center:a},z))))})),Zu=jc({root:{display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},"&$disabled":{pointerEvents:"none",cursor:"default"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(Gu),Ju=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.icon,a=e.label,s=e.onChange,l=e.onClick,c=e.selected,u=e.showLabel,d=e.value,p=bi(e,["classes","className","icon","label","onChange","onClick","selected","showLabel","value"]);return o.createElement(Zu,vi({ref:t,className:Cc(n.root,r,c?n.selected:!u&&n.iconOnly),focusRipple:!0,onClick:function(e){s&&s(e,d),l&&l(e)}},p),o.createElement("span",{className:n.wrapper},i,o.createElement("span",{className:Cc(n.label,c?n.selected:!u&&n.iconOnly)},a)))}));function Qu(e,t){return t?Ci(e,t,{clone:!1}):e}jc((function(e){return{root:{transition:e.transitions.create(["color","padding-top"],{duration:e.transitions.duration.short}),padding:"6px 12px 8px",minWidth:80,maxWidth:168,color:e.palette.text.secondary,flex:"1","&$iconOnly":{paddingTop:16},"&$selected":{paddingTop:6,color:e.palette.primary.main}},selected:{},iconOnly:{},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"},label:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(12),opacity:1,transition:"font-size 0.2s, opacity 0.2s",transitionDelay:"0.1s","&$iconOnly":{opacity:0,transitionDelay:"0s"},"&$selected":{fontSize:e.typography.pxToRem(14)}}}}),{name:"MuiBottomNavigationAction"})(Ju);var ed={xs:0,sm:600,md:960,lg:1280,xl:1920},td={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(ed[e],"px)")}};function nd(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||td;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===wi(t)){var o=e.theme.breakpoints||td;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function rd(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function od(e){var t=e.prop,n=e.cssProperty,r=void 0===n?e.prop:n,o=e.themeKey,i=e.transform,a=function(e){if(null==e[t])return null;var n=e[t],a=rd(e.theme,o)||{};return nd(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=rd(a,e)||e,i&&(t=i(t))),!1===r?t:gi({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function id(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=function(e){return t.reduce((function(t,n){var r=n(e);return r?Qu(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function ad(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var sd=id(od({prop:"border",themeKey:"borders",transform:ad}),od({prop:"borderTop",themeKey:"borders",transform:ad}),od({prop:"borderRight",themeKey:"borders",transform:ad}),od({prop:"borderBottom",themeKey:"borders",transform:ad}),od({prop:"borderLeft",themeKey:"borders",transform:ad}),od({prop:"borderColor",themeKey:"palette"}),od({prop:"borderRadius",themeKey:"shape"}));var ld=id(od({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),od({prop:"display"}),od({prop:"overflow"}),od({prop:"textOverflow"}),od({prop:"visibility"}),od({prop:"whiteSpace"})),cd=id(od({prop:"flexBasis"}),od({prop:"flexDirection"}),od({prop:"flexWrap"}),od({prop:"justifyContent"}),od({prop:"alignItems"}),od({prop:"alignContent"}),od({prop:"order"}),od({prop:"flex"}),od({prop:"flexGrow"}),od({prop:"flexShrink"}),od({prop:"alignSelf"}),od({prop:"justifyItems"}),od({prop:"justifySelf"})),ud=id(od({prop:"color",themeKey:"palette"}),od({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),dd=id(od({prop:"position"}),od({prop:"zIndex",themeKey:"zIndex"}),od({prop:"top"}),od({prop:"right"}),od({prop:"bottom"}),od({prop:"left"})),pd=od({prop:"boxShadow",themeKey:"shadows"});function fd(e){return e<=1?"".concat(100*e,"%"):e}var hd=od({prop:"width",transform:fd}),md=od({prop:"maxWidth",transform:fd}),gd=od({prop:"minWidth",transform:fd}),vd=od({prop:"height",transform:fd}),yd=od({prop:"maxHeight",transform:fd}),bd=od({prop:"minHeight",transform:fd});od({prop:"size",cssProperty:"width",transform:fd}),od({prop:"size",cssProperty:"height",transform:fd});var xd=id(hd,md,gd,vd,yd,bd);function wd(e){if(Array.isArray(e))return e}function Ed(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function Cd(e,t){return wd(e)||function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||Ed()}var kd={m:"margin",p:"padding"},Sd={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Td={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Rd=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){if(e.length>2){if(!Td[e])return[e];e=Td[e]}var t=Cd(e.split(""),2),n=t[0],r=t[1],o=kd[n],i=Sd[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Nd=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function Md(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Pd(e){var t=function(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}(e.theme);return Object.keys(e).map((function(n){if(-1===Nd.indexOf(n))return null;var r=Md(Rd(n),t),o=e[n];return nd(e,o,r)})).reduce(Qu,{})}Pd.propTypes={},Pd.filterProps=Nd;var Dd=id(od({prop:"fontFamily",themeKey:"typography"}),od({prop:"fontSize",themeKey:"typography"}),od({prop:"fontStyle",themeKey:"typography"}),od({prop:"fontWeight",themeKey:"typography"}),od({prop:"letterSpacing"}),od({prop:"lineHeight"}),od({prop:"textAlign"})),Ld=function(e){var t=function(t){var n=e(t);return t.css?vi({},Qu(n,e(vi({theme:t.theme},t.css))),{},function(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}(t.css,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css"].concat(rl(e.filterProps)),t}(id(sd,ld,cd,dd,ud,pd,xd,Pd,Dd));!function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.name,a=bi(r,["name"]),s=i,l=xc("function"==typeof t?function(e){return{root:function(n){return t(vi({theme:e},n))}}}:{root:t},vi({Component:e,name:i||e.displayName,classNamePrefix:s},a));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&(t.propTypes,delete t.propTypes);var c=o.forwardRef((function(t,r){var i=t.children,a=t.className,s=t.clone,c=t.component,u=bi(t,["children","className","clone","component"]),d=Cc(l(t).root,a),p=u;if(n&&(p=zc(p,n)),s)return o.cloneElement(i,vi({className:Cc(i.props.className,d)},p));if("function"==typeof i)return i(vi({className:d},p));var f=c||e;return o.createElement(f,vi({ref:r,className:d},p),i)}));return qc(c,e),c}}(e);return function(e,n){return t(e,vi({defaultTheme:Hc},n))}}("div")(Ld,{name:"MuiBox"});var Id={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},Ad=o.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,i=e.classes,a=e.className,s=e.color,l=void 0===s?"initial":s,c=e.component,u=e.display,d=void 0===u?"initial":u,p=e.gutterBottom,f=void 0!==p&&p,h=e.noWrap,m=void 0!==h&&h,g=e.paragraph,v=void 0!==g&&g,y=e.variant,b=void 0===y?"body1":y,x=e.variantMapping,w=void 0===x?Id:x,E=bi(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),C=c||(v?"p":w[b]||Id[b])||"span";return o.createElement(C,vi({className:Cc(i.root,a,"inherit"!==b&&i[b],"initial"!==l&&i["color".concat($c(l))],m&&i.noWrap,f&&i.gutterBottom,v&&i.paragraph,"inherit"!==r&&i["align".concat($c(r))],"initial"!==d&&i["display".concat($c(d))]),ref:t},E))})),Od=jc((function(e){return{root:{margin:0},body2:e.typography.body2,body1:e.typography.body1,caption:e.typography.caption,button:e.typography.button,h1:e.typography.h1,h2:e.typography.h2,h3:e.typography.h3,h4:e.typography.h4,h5:e.typography.h5,h6:e.typography.h6,subtitle1:e.typography.subtitle1,subtitle2:e.typography.subtitle2,overline:e.typography.overline,srOnly:{position:"absolute",height:1,width:1,overflow:"hidden"},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right"},alignJustify:{textAlign:"justify"},noWrap:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},gutterBottom:{marginBottom:"0.35em"},paragraph:{marginBottom:16},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorTextPrimary:{color:e.palette.text.primary},colorTextSecondary:{color:e.palette.text.secondary},colorError:{color:e.palette.error.main},displayInline:{display:"inline"},displayBlock:{display:"block"}}}),{name:"MuiTypography"})(Ad),qd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"inherit":a,l=e.component,c=void 0===l?"svg":l,u=e.fontSize,d=void 0===u?"default":u,p=e.htmlColor,f=e.titleAccess,h=e.viewBox,m=void 0===h?"0 0 24 24":h,g=bi(e,["children","classes","className","color","component","fontSize","htmlColor","titleAccess","viewBox"]);return o.createElement(c,vi({className:Cc(r.root,i,"inherit"!==s&&r["color".concat($c(s))],"default"!==d&&r["fontSize".concat($c(d))]),focusable:"false",viewBox:m,color:p,"aria-hidden":f?"false":"true",role:f?"img":"presentation",ref:t},g),n,f?o.createElement("title",null,f):null)}));qd.muiName="SvgIcon";var zd=jc((function(e){return{root:{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0,fontSize:e.typography.pxToRem(24),transition:e.transitions.create("fill",{duration:e.transitions.duration.shorter})},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(35)}}}),{name:"MuiSvgIcon"})(qd);function Fd(e,t){var n=o.memo(o.forwardRef((function(t,n){return o.createElement(zd,vi({},t,{ref:n}),e)})));return n.muiName=zd.muiName,n}var Wd=Fd(o.createElement("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}));var Hd=jc((function(e){return{root:{display:"flex"},icon:{width:24,height:16,backgroundColor:e.palette.grey[100],color:e.palette.grey[700],borderRadius:2,marginLeft:e.spacing(.5),marginRight:e.spacing(.5),cursor:"pointer","&:hover, &:focus":{backgroundColor:e.palette.grey[200]},"&:active":{boxShadow:e.shadows[0],backgroundColor:pi(e.palette.grey[200],.12)}}}}),{name:"PrivateBreadcrumbCollapsed"})((function(e){var t=e.classes,n=bi(e,["classes"]);return o.createElement("li",vi({className:t.root},n),o.createElement(Wd,{className:t.icon}))}));var Bd=jc({root:{display:"flex",userSelect:"none",marginLeft:8,marginRight:8}},{name:"PrivateBreadcrumbSeparator"})((function(e){var t=e.classes,n=e.className,r=bi(e,["classes","className"]);return o.createElement("li",vi({"aria-hidden":!0,className:Cc(t.root,n)},r))}));var jd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"nav":a,l=e.itemsAfterCollapse,c=void 0===l?1:l,u=e.itemsBeforeCollapse,d=void 0===u?1:u,p=e.maxItems,f=void 0===p?8:p,h=e.separator,m=void 0===h?"/":h,g=bi(e,["children","classes","className","component","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"]),v=o.useState(!1),y=v[0],b=v[1],x=o.Children.toArray(n).filter((function(e){return o.isValidElement(e)})).map((function(e,t){return o.createElement("li",{className:r.li,key:"child-".concat(t)},e)}));return o.createElement(Od,vi({ref:t,component:s,color:"textSecondary",className:Cc(r.root,i)},g),o.createElement("ol",{className:r.ol},function(e,t,n){return e.reduce((function(r,i,a){return a<e.length-1?r=r.concat(i,o.createElement(Bd,{key:"separator-".concat(a),className:t},n)):r.push(i),r}),[])}(y||f&&x.length<=f?x:function(e){return d+c>=e.length?e:[].concat(rl(e.slice(0,d)),[o.createElement(Hd,{key:"ellipsis",onClick:function(){b(!0)}})],rl(e.slice(e.length-c,e.length)))}(x),r.separator,m)))}));jc({root:{},ol:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0},li:{listStyle:"none"},separator:{}},{name:"MuiBreadcrumbs"})(jd);var $d=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"button":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.endIcon,m=e.focusVisibleClassName,g=e.fullWidth,v=void 0!==g&&g,y=e.size,b=void 0===y?"medium":y,x=e.startIcon,w=e.type,E=void 0===w?"button":w,C=e.variant,k=void 0===C?"text":C,S=bi(e,["children","classes","className","color","component","disabled","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),T=x&&o.createElement("span",{className:Cc(r.startIcon,r["iconSize".concat($c(b))])},x),R=h&&o.createElement("span",{className:Cc(r.endIcon,r["iconSize".concat($c(b))])},h);return o.createElement(Zu,vi({className:Cc(r.root,r[k],i,"inherit"===s?r.colorInherit:"default"!==s&&r["".concat(k).concat($c(s))],"medium"!==b&&[r["".concat(k,"Size").concat($c(b))],r["size".concat($c(b))]],d&&r.disabled,v&&r.fullWidth),component:c,disabled:d,focusRipple:!f,focusVisibleClassName:Cc(r.focusVisible,m),ref:t,type:E},S),o.createElement("span",{className:r.label},T,n,R))})),Vd=jc((function(e){return{root:vi({},e.typography.button,{boxSizing:"border-box",minWidth:64,padding:"6px 16px",borderRadius:e.shape.borderRadius,color:e.palette.text.primary,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),"&:hover":{textDecoration:"none",backgroundColor:fi(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"},"&$disabled":{backgroundColor:"transparent"}},"&$disabled":{color:e.palette.action.disabled}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},text:{padding:"6px 8px"},textPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlined:{padding:"5px 15px",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(fi(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(fi(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{border:"1px solid ".concat(e.palette.action.disabled)}},contained:{color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],boxShadow:e.shadows[2],"&:hover":{backgroundColor:e.palette.grey.A100,boxShadow:e.shadows[4],"@media (hover: none)":{boxShadow:e.shadows[2],backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},"&$focusVisible":{boxShadow:e.shadows[6]},"&:active":{boxShadow:e.shadows[8]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}},containedPrimary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},containedSecondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},focusVisible:{},disabled:{},colorInherit:{color:"inherit",borderColor:"currentColor"},textSizeSmall:{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},textSizeLarge:{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},outlinedSizeSmall:{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},outlinedSizeLarge:{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},containedSizeSmall:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},containedSizeLarge:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},sizeSmall:{},sizeLarge:{},fullWidth:{width:"100%"},startIcon:{display:"inherit",marginRight:8,marginLeft:-4,"&$iconSizeSmall":{marginLeft:-2}},endIcon:{display:"inherit",marginRight:-4,marginLeft:8,"&$iconSizeSmall":{marginRight:-2}},iconSizeSmall:{"& > *:first-child":{fontSize:18}},iconSizeMedium:{"& > *:first-child":{fontSize:20}},iconSizeLarge:{"& > *:first-child":{fontSize:22}}}}),{name:"MuiButton"})($d),Ud=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"div":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.disableRipple,m=void 0!==h&&h,g=e.fullWidth,v=void 0!==g&&g,y=e.size,b=void 0===y?"medium":y,x=e.variant,w=void 0===x?"outlined":x,E=bi(e,["children","classes","className","color","component","disabled","disableFocusRipple","disableRipple","fullWidth","size","variant"]),C=Cc(r.grouped,r["grouped".concat($c(w))],r["grouped".concat($c(w)).concat("default"!==s?$c(s):"")],d&&r.disabled);return o.createElement(c,vi({role:"group",className:Cc(r.root,i,v&&r.fullWidth,{contained:r.contained}[w]),ref:t},E),o.Children.map(n,(function(e){return o.isValidElement(e)?o.cloneElement(e,{className:Cc(C,e.props.className),disabled:e.props.disabled||d,color:e.props.color||s,disableFocusRipple:f,disableRipple:m,fullWidth:v,size:e.props.size||b,variant:e.props.variant||w}):null})))}));jc((function(e){return{root:{display:"inline-flex",borderRadius:e.shape.borderRadius},contained:{boxShadow:e.shadows[2]},fullWidth:{width:"100%"},grouped:{minWidth:40,"&:not(:first-child)":{borderTopLeftRadius:0,borderBottomLeftRadius:0},"&:not(:last-child)":{borderTopRightRadius:0,borderBottomRightRadius:0}},groupedText:{"&:not(:last-child)":{borderRight:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)")}},groupedTextPrimary:{"&:not(:last-child)":{borderColor:fi(e.palette.primary.main,.5)}},groupedTextSecondary:{"&:not(:last-child)":{borderColor:fi(e.palette.secondary.main,.5)}},groupedOutlined:{"&:not(:first-child)":{marginLeft:-1},"&:not(:last-child)":{borderRightColor:"transparent"}},groupedOutlinedPrimary:{"&:hover":{borderColor:e.palette.primary.main}},groupedOutlinedSecondary:{"&:hover":{borderColor:e.palette.secondary.main}},groupedContained:{boxShadow:"none","&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.grey[400]),"&$disabled":{borderRight:"1px solid ".concat(e.palette.action.disabled)}}},groupedContainedPrimary:{"&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.primary.dark)}},groupedContainedSecondary:{"&:not(:last-child)":{borderRight:"1px solid ".concat(e.palette.secondary.dark)}},disabled:{}}}),{name:"MuiButtonGroup"})(Ud);var _d=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.raised,a=void 0!==i&&i,s=bi(e,["classes","className","raised"]);return o.createElement(Uc,vi({className:Cc(n.root,r),elevation:a?8:1,ref:t},s))}));jc({root:{overflow:"hidden"}},{name:"MuiCard"})(_d);var Yd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.focusVisibleClassName,s=bi(e,["children","classes","className","focusVisibleClassName"]);return o.createElement(Zu,vi({className:Cc(r.root,i),focusVisibleClassName:Cc(a,r.focusVisible),ref:t},s),n,o.createElement("span",{className:r.focusHighlight}))}));jc((function(e){return{root:{display:"block",textAlign:"inherit",width:"100%","&:hover $focusHighlight":{opacity:e.palette.action.hoverOpacity},"&$focusVisible $focusHighlight":{opacity:.12}},focusVisible:{},focusHighlight:{overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:e.transitions.create("opacity",{duration:e.transitions.duration.short})}}}),{name:"MuiCardActionArea"})(Yd);var Kd=o.forwardRef((function(e,t){var n=e.disableSpacing,r=void 0!==n&&n,i=e.classes,a=e.className,s=bi(e,["disableSpacing","classes","className"]);return o.createElement("div",vi({className:Cc(i.root,a,!r&&i.spacing),ref:t},s))}));jc({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiCardActions"})(Kd);var Xd=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=bi(e,["classes","className","component"]);return o.createElement(a,vi({className:Cc(n.root,r),ref:t},s))}));jc({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(Xd);var Gd=o.forwardRef((function(e,t){var n=e.action,r=e.avatar,i=e.classes,a=e.className,s=e.component,l=void 0===s?"div":s,c=e.disableTypography,u=void 0!==c&&c,d=e.subheader,p=e.subheaderTypographyProps,f=e.title,h=e.titleTypographyProps,m=bi(e,["action","avatar","classes","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"]),g=f;null==g||g.type===Od||u||(g=o.createElement(Od,vi({variant:r?"body2":"h5",className:i.title,component:"span",display:"block"},h),g));var v=d;return null==v||v.type===Od||u||(v=o.createElement(Od,vi({variant:r?"body2":"body1",className:i.subheader,color:"textSecondary",component:"span",display:"block"},p),v)),o.createElement(l,vi({className:Cc(i.root,a),ref:t},m),r&&o.createElement("div",{className:i.avatar},r),o.createElement("div",{className:i.content},g,v),n&&o.createElement("div",{className:i.action},n))}));jc({root:{display:"flex",alignItems:"center",padding:16},avatar:{flex:"0 0 auto",marginRight:16},action:{flex:"0 0 auto",alignSelf:"flex-start",marginTop:-8,marginRight:-8},content:{flex:"1 1 auto"},title:{},subheader:{}},{name:"MuiCardHeader"})(Gd);var Zd=["video","audio","picture","iframe","img"],Jd=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.image,c=e.src,u=e.style,d=bi(e,["children","classes","className","component","image","src","style"]),p=-1!==Zd.indexOf(s),f=!p&&l?vi({backgroundImage:'url("'.concat(l,'")')},u):u;return o.createElement(s,vi({className:Cc(r.root,i,p&&r.media,-1!=="picture img".indexOf(s)&&r.img),ref:t,style:f,src:p?l||c:void 0},d),n)}));jc({root:{display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},media:{width:"100%"},img:{objectFit:"cover"}},{name:"MuiCardMedia"})(Jd);var Qd=o.createContext();function ep(){return o.useContext(Qd)}function tp(){return o.useContext(Qd)}var np=o.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,i=e.children,a=e.classes,s=e.className,l=e.color,c=void 0===l?"default":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.size,m=void 0===h?"medium":h,g=bi(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return o.createElement(Zu,vi({className:Cc(a.root,s,"default"!==c&&a["color".concat($c(c))],d&&a.disabled,{small:a["size".concat($c(m))]}[m],{start:a.edgeStart,end:a.edgeEnd}[r]),centerRipple:!0,focusRipple:!f,disabled:d,ref:t},g),o.createElement("span",{className:a.label},i))})),rp=jc((function(e){return{root:{textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:12,borderRadius:"50%",overflow:"visible",color:e.palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{backgroundColor:fi(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"&$disabled":{backgroundColor:"transparent",color:e.palette.action.disabled}},edgeStart:{marginLeft:-12,"$sizeSmall&":{marginLeft:-3}},edgeEnd:{marginRight:-12,"$sizeSmall&":{marginRight:-3}},colorInherit:{color:"inherit"},colorPrimary:{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},disabled:{},sizeSmall:{padding:3,fontSize:e.typography.pxToRem(18)},label:{width:"100%",display:"flex",alignItems:"inherit",justifyContent:"inherit"}}}),{name:"MuiIconButton"})(np),op=o.forwardRef((function(e,t){var n=e.autoFocus,r=e.checked,i=e.checkedIcon,a=e.classes,s=e.className,l=e.defaultChecked,c=e.disabled,u=e.icon,d=e.id,p=e.inputProps,f=e.inputRef,h=e.name,m=e.onBlur,g=e.onChange,v=e.onFocus,y=e.readOnly,b=e.required,x=e.tabIndex,w=e.type,E=e.value,C=bi(e,["autoFocus","checked","checkedIcon","classes","className","defaultChecked","disabled","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"]),k=o.useRef(null!=r).current,S=o.useState(Boolean(l)),T=S[0],R=S[1],N=tp(),M=c;N&&void 0===M&&(M=N.disabled);var P=k?r:T,D="checkbox"===w||"radio"===w;return o.createElement(rp,vi({component:"span",className:Cc(a.root,s,P&&a.checked,M&&a.disabled),disabled:M,tabIndex:null,role:void 0,onFocus:function(e){v&&v(e),N&&N.onFocus&&N.onFocus(e)},onBlur:function(e){m&&m(e),N&&N.onBlur&&N.onBlur(e)},ref:t},C),o.createElement("input",vi({autoFocus:n,checked:r,defaultChecked:l,className:a.input,disabled:M,id:D&&d,name:h,onChange:function(e){var t=e.target.checked;k||R(t),g&&g(e,t)},readOnly:y,ref:f,required:b,tabIndex:x,type:w,value:E},p)),P?i:u)})),ip=jc({root:{padding:9},checked:{},disabled:{},input:{cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}},{name:"PrivateSwitchBase"})(op),ap=Fd(o.createElement("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),sp=Fd(o.createElement("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),lp=Fd(o.createElement("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"})),cp=o.createElement(sp,null),up=o.createElement(ap,null),dp=o.createElement(lp,null),pp=o.forwardRef((function(e,t){var n=e.checkedIcon,r=void 0===n?cp:n,i=e.classes,a=e.color,s=void 0===a?"secondary":a,l=e.icon,c=void 0===l?up:l,u=e.indeterminate,d=void 0!==u&&u,p=e.indeterminateIcon,f=void 0===p?dp:p,h=e.inputProps,m=bi(e,["checkedIcon","classes","color","icon","indeterminate","indeterminateIcon","inputProps"]);return o.createElement(ip,vi({type:"checkbox",checkedIcon:d?f:r,classes:{root:Cc(i.root,i["color".concat($c(s))],d&&i.indeterminate),checked:i.checked,disabled:i.disabled},color:s,inputProps:vi({"data-indeterminate":d},h),icon:d?f:c,ref:t},m))}));jc((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},indeterminate:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiCheckbox"})(pp);var fp=Fd(o.createElement("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"})),hp=o.forwardRef((function(e,t){var n=e.avatar,r=e.classes,i=e.className,a=e.clickable,s=e.color,l=void 0===s?"default":s,c=e.component,u=e.deleteIcon,d=e.disabled,p=void 0!==d&&d,f=e.icon,h=e.label,m=e.onClick,g=e.onDelete,v=e.onKeyDown,y=e.onKeyUp,b=e.size,x=void 0===b?"medium":b,w=e.variant,E=void 0===w?"default":w,C=bi(e,["avatar","classes","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant"]),k=o.useRef(null),S=Cu(k,t),T=function(e){e.stopPropagation(),g&&g(e)},R=!(!1===a||!m)||a,N="small"===x,M=c||(R?Zu:"div"),P=M===Zu?{component:"div"}:{},D=null;if(g){var L=Cc("default"!==l&&("default"===E?r["deleteIconColor".concat($c(l))]:r["deleteIconOutlinedColor".concat($c(l))]),N&&r.deleteIconSmall);D=u&&o.isValidElement(u)?o.cloneElement(u,{className:Cc(u.props.className,r.deleteIcon,L),onClick:T}):o.createElement(fp,{className:Cc(r.deleteIcon,L),onClick:T})}var I=null;n&&o.isValidElement(n)&&(I=o.cloneElement(n,{className:Cc(r.avatar,n.props.className,N&&r.avatarSmall,"default"!==l&&r["avatarColor".concat($c(l))])}));var A=null;return f&&o.isValidElement(f)&&(A=o.cloneElement(f,{className:Cc(r.icon,f.props.className,N&&r.iconSmall,"default"!==l&&r["iconColor".concat($c(l))])})),o.createElement(M,vi({role:R||g?"button":void 0,className:Cc(r.root,i,"default"!==l&&[r["color".concat($c(l))],R&&r["clickableColor".concat($c(l))],g&&r["deletableColor".concat($c(l))]],"default"!==E&&[r.outlined,{primary:r.outlinedPrimary,secondary:r.outlinedSecondary}[l]],p&&r.disabled,N&&r.sizeSmall,R&&r.clickable,g&&r.deletable),"aria-disabled":!!p||void 0,tabIndex:R||g?0:void 0,onClick:m,onKeyDown:function(e){v&&v(e),e.currentTarget===e.target&&-1!==[" ","Enter","Backspace","Delete","Escape"].indexOf(e.key)&&e.preventDefault()},onKeyUp:function(e){if(y&&y(e),e.currentTarget===e.target){var t=e.key;!g||"Backspace"!==t&&"Delete"!==t?"Escape"===t&&k.current&&k.current.blur():g(e)}},ref:S},P,C),I||A,o.createElement("span",{className:Cc(r.label,N&&r.labelSmall)},h),D)}));jc((function(e){var t="light"===e.palette.type?e.palette.grey[300]:e.palette.grey[700],n=fi(e.palette.text.primary,.26);return{root:{fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:e.palette.getContrastText(t),backgroundColor:t,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"default",outline:0,textDecoration:"none",border:"none",padding:0,verticalAlign:"middle",boxSizing:"border-box","&$disabled":{opacity:.5,pointerEvents:"none"},"& $avatar":{marginLeft:5,marginRight:-6,width:24,height:24,color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],fontSize:e.typography.pxToRem(12)},"& $avatarColorPrimary":{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.dark},"& $avatarColorSecondary":{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.dark},"& $avatarSmall":{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)}},sizeSmall:{height:24},colorPrimary:{backgroundColor:e.palette.primary.main,color:e.palette.primary.contrastText},colorSecondary:{backgroundColor:e.palette.secondary.main,color:e.palette.secondary.contrastText},disabled:{},clickable:{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover, &:focus":{backgroundColor:pi(t,.08)},"&:active":{boxShadow:e.shadows[1]}},clickableColorPrimary:{"&:hover, &:focus":{backgroundColor:pi(e.palette.primary.main,.08)}},clickableColorSecondary:{"&:hover, &:focus":{backgroundColor:pi(e.palette.secondary.main,.08)}},deletable:{"&:focus":{backgroundColor:pi(t,.08)}},deletableColorPrimary:{"&:focus":{backgroundColor:pi(e.palette.primary.main,.2)}},deletableColorSecondary:{"&:focus":{backgroundColor:pi(e.palette.secondary.main,.2)}},outlined:{backgroundColor:"transparent",border:"1px solid ".concat("light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:fi(e.palette.text.primary,e.palette.action.hoverOpacity)},"& $avatar":{marginLeft:4},"& $avatarSmall":{marginLeft:2},"& $icon":{marginLeft:4},"& $iconSmall":{marginLeft:2},"& $deleteIcon":{marginRight:5},"& $deleteIconSmall":{marginRight:3}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(e.palette.primary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity)}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(e.palette.secondary.main),"$clickable&:hover, $clickable&:focus, $deletable&:focus":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity)}},avatar:{},avatarSmall:{},avatarColorPrimary:{},avatarColorSecondary:{},icon:{color:"light"===e.palette.type?e.palette.grey[700]:e.palette.grey[300],marginLeft:5,marginRight:-6},iconSmall:{width:18,height:18,marginLeft:4,marginRight:-4},iconColorPrimary:{color:"inherit"},iconColorSecondary:{color:"inherit"},label:{display:"flex",alignItems:"center",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},labelSmall:{paddingLeft:8,paddingRight:8},deleteIcon:{WebkitTapHighlightColor:"transparent",color:n,height:22,width:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:fi(n,.4)}},deleteIconSmall:{height:16,width:16,marginRight:4,marginLeft:-4},deleteIconColorPrimary:{color:fi(e.palette.primary.contrastText,.7),"&:hover, &:active":{color:e.palette.primary.contrastText}},deleteIconColorSecondary:{color:fi(e.palette.secondary.contrastText,.7),"&:hover, &:active":{color:e.palette.secondary.contrastText}},deleteIconOutlinedColorPrimary:{color:fi(e.palette.primary.main,.7),"&:hover, &:active":{color:e.palette.primary.main}},deleteIconOutlinedColorSecondary:{color:fi(e.palette.secondary.main,.7),"&:hover, &:active":{color:e.palette.secondary.main}}}}),{name:"MuiChip"})(hp);var mp=44;function gp(e){var t,n,r;return t=e,n=0,r=1,e=(Math.min(Math.max(n,t),r)-n)/(r-n),e=(e-=1)*e*e+1}var vp=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.disableShrink,l=void 0!==s&&s,c=e.size,u=void 0===c?40:c,d=e.style,p=e.thickness,f=void 0===p?3.6:p,h=e.value,m=void 0===h?0:h,g=e.variant,v=void 0===g?"indeterminate":g,y=bi(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),b={},x={},w={};if("determinate"===v||"static"===v){var E=2*Math.PI*((mp-f)/2);b.strokeDasharray=E.toFixed(3),w["aria-valuenow"]=Math.round(m),"static"===v?(b.strokeDashoffset="".concat(((100-m)/100*E).toFixed(3),"px"),x.transform="rotate(-90deg)"):(b.strokeDashoffset="".concat((function(e){return e*e}((100-m)/100)*E).toFixed(3),"px"),x.transform="rotate(".concat((270*gp(m/70)).toFixed(3),"deg)"))}return o.createElement("div",vi({className:Cc(n.root,r,"inherit"!==a&&n["color".concat($c(a))],{indeterminate:n.indeterminate,static:n.static}[v]),style:vi({width:u,height:u},x,{},d),ref:t,role:"progressbar"},w,y),o.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(mp," ").concat(mp)},o.createElement("circle",{className:Cc(n.circle,l&&n.circleDisableShrink,{indeterminate:n.circleIndeterminate,static:n.circleStatic}[v]),style:b,cx:mp,cy:mp,r:(mp-f)/2,fill:"none",strokeWidth:f})))}));function yp(e){return e&&e.ownerDocument||document}function bp(e){return e.substring(2).toLowerCase()}jc((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},svg:{display:"block"},circle:{stroke:"currentColor"},circleStatic:{transition:e.transitions.create("stroke-dashoffset")},circleIndeterminate:{animation:"$circular-dash 1.4s ease-in-out infinite",strokeDasharray:"80px, 200px",strokeDashoffset:"0px"},"@keyframes circular-rotate":{"100%":{transform:"rotate(360deg)"}},"@keyframes circular-dash":{"0%":{strokeDasharray:"1px, 200px",strokeDashoffset:"0px"},"50%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-15px"},"100%":{strokeDasharray:"100px, 200px",strokeDashoffset:"-125px"}},circleDisableShrink:{animation:"none"}}}),{name:"MuiCircularProgress",flip:!1})(vp);var xp=o.forwardRef((function(e,t){var n=e.children,r=e.mouseEvent,i=void 0===r?"onClick":r,a=e.touchEvent,s=void 0===a?"onTouchEnd":a,c=e.onClickAway,u=o.useRef(!1),d=o.useRef(null),p=o.useRef(!1);o.useEffect((function(){return p.current=!0,function(){p.current=!1}}),[]);var f=Cu(d,t),h=o.useCallback((function(e){Eu(f,l.findDOMNode(e))}),[f]),m=Cu(n.ref,h),g=Lu((function(e){if(!e.defaultPrevented&&p.current)if(u.current)u.current=!1;else if(d.current){var t=yp(d.current);t.documentElement&&t.documentElement.contains(e.target)&&!d.current.contains(e.target)&&c(e)}})),v=o.useCallback((function(){u.current=!0}),[]);return o.useEffect((function(){if(!1!==s){var e=bp(s);return document.addEventListener(e,g),document.addEventListener("touchmove",v),function(){document.removeEventListener(e,g),document.removeEventListener("touchmove",v)}}}),[g,v,s]),o.useEffect((function(){if(!1!==i){var e=bp(i);return document.addEventListener(e,g),function(){document.removeEventListener(e,g)}}}),[g,i]),o.createElement(o.Fragment,null,o.cloneElement(n,{ref:m}))})),wp=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.collapsedHeight,s=void 0===a?"0px":a,l=e.component,c=void 0===l?"div":l,u=e.in,d=e.onEnter,p=e.onEntered,f=e.onEntering,h=e.onExit,m=e.onExiting,g=e.style,v=e.timeout,y=void 0===v?la.standard:v,b=bi(e,["children","classes","className","collapsedHeight","component","in","onEnter","onEntered","onEntering","onExit","onExiting","style","timeout"]),x=Bc(),w=o.useRef(),E=o.useRef(null),C=o.useRef();o.useEffect((function(){return function(){clearTimeout(w.current)}}),[]);return o.createElement(nu,vi({in:u,onEnter:function(e,t){e.style.height=s,d&&d(e,t)},onEntered:function(e,t){e.style.height="auto",p&&p(e,t)},onEntering:function(e,t){var n=E.current?E.current.clientHeight:0,r=wu({style:g,timeout:y},{mode:"enter"}).duration;if("auto"===y){var o=x.transitions.getAutoHeightDuration(n);e.style.transitionDuration="".concat(o,"ms"),C.current=o}else e.style.transitionDuration="string"==typeof r?r:"".concat(r,"ms");e.style.height="".concat(n,"px"),f&&f(e,t)},onExit:function(e){var t=E.current?E.current.clientHeight:0;e.style.height="".concat(t,"px"),h&&h(e)},onExiting:function(e){var t=E.current?E.current.clientHeight:0,n=wu({style:g,timeout:y},{mode:"exit"}).duration;if("auto"===y){var r=x.transitions.getAutoHeightDuration(t);e.style.transitionDuration="".concat(r,"ms"),C.current=r}else e.style.transitionDuration="string"==typeof n?n:"".concat(n,"ms");e.style.height=s,m&&m(e)},addEndListener:function(e,t){"auto"===y&&(w.current=setTimeout(t,C.current||0))},timeout:"auto"===y?null:y},b),(function(e,a){return o.createElement(c,vi({className:Cc(r.container,i,{entered:r.entered,exited:!u&&"0px"===s&&r.hidden}[e]),style:vi({minHeight:s},g),ref:t},a),o.createElement("div",{className:r.wrapper,ref:E},o.createElement("div",{className:r.wrapperInner},n)))}))}));wp.muiSupportAuto=!0;var Ep=jc((function(e){return{container:{height:0,overflow:"hidden",transition:e.transitions.create("height")},entered:{height:"auto",overflow:"visible"},hidden:{visibility:"hidden"},wrapper:{display:"flex"},wrapperInner:{width:"100%"}}}),{name:"MuiCollapse"})(wp),Cp=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.fixed,l=void 0!==s&&s,c=e.maxWidth,u=void 0===c?"lg":c,d=bi(e,["classes","className","component","fixed","maxWidth"]);return o.createElement(a,vi({className:Cc(n.root,r,l&&n.fixed,!1!==u&&n["maxWidth".concat($c(String(u)))]),ref:t},d))}));jc((function(e){var t;return{root:(t={width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},gi(t,e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),gi(t,e.breakpoints.up("md"),{paddingLeft:e.spacing(4),paddingRight:e.spacing(4)}),t),fixed:Object.keys(e.breakpoints.values).reduce((function(t,n){var r=e.breakpoints.values[n];return 0!==r&&(t[e.breakpoints.up(n)]={maxWidth:r}),t}),{}),maxWidthXs:gi({},e.breakpoints.up("xs"),{maxWidth:Math.max(e.breakpoints.values.xs,444)}),maxWidthSm:gi({},e.breakpoints.up("sm"),{maxWidth:e.breakpoints.values.sm}),maxWidthMd:gi({},e.breakpoints.up("md"),{maxWidth:e.breakpoints.values.md}),maxWidthLg:gi({},e.breakpoints.up("lg"),{maxWidth:e.breakpoints.values.lg}),maxWidthXl:gi({},e.breakpoints.up("xl"),{maxWidth:e.breakpoints.values.xl})}}),{name:"MuiContainer"})(Cp),function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};xc(e,vi({defaultTheme:Hc},t))}((function(e){return{"@global":{html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box"},"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:"bolder"},body:vi({margin:0,color:e.palette.text.primary},e.typography.body2,{backgroundColor:e.palette.background.default,"@media print":{backgroundColor:e.palette.common.white},"&::backdrop":{backgroundColor:e.palette.background.default}})}}}),{name:"MuiCssBaseline"});var kp="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,Sp=o.forwardRef((function(e,t){var n=e.children,r=e.container,i=e.disablePortal,a=void 0!==i&&i,s=e.onRendered,c=o.useState(null),u=c[0],d=c[1],p=Cu(n.ref,t);return kp((function(){a||d(function(e){return e="function"==typeof e?e():e,l.findDOMNode(e)}(r)||document.body)}),[r,a]),kp((function(){if(u&&!a)return Eu(t,u),function(){Eu(t,null)}}),[t,u,a]),kp((function(){s&&(u||a)&&s()}),[s,u,a]),a?(o.Children.only(n),o.cloneElement(n,{ref:p})):u?l.createPortal(n,u):u}));function Tp(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.apply(this,r),t.apply(this,r)}}),(function(){}))}function Rp(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function Np(e){return yp(e).defaultView||window}function Mp(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Pp(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Dp(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=arguments.length>4?arguments[4]:void 0,i=[t,n].concat(rl(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&Mp(e,o)}))}function Lp(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function Ip(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){var a=function(e){var t=yp(e);return t.body===e?Np(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i),s=i.parentElement,l="HTML"===s.nodeName?s:i;if(r.push({value:l.style.overflow,key:"overflow",el:l}),l.style.overflow="hidden",a){var c=Rp();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Pp(i)+c,"px"),n=yp(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Pp(e)+c,"px")}))}}return function(){n&&[].forEach.call(n,(function(e,t){o[t]?e.style.paddingRight=o[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var Ap=function(){function e(){wc(this,e),this.modals=[],this.containers=[]}return xa(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&Mp(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);Dp(t,e.mountNode,e.modalRef,r,!0);var o=Lp(this.containers,(function(e){return e.container===t}));return-1!==o?(this.containers[o].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=Lp(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=Ip(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=Lp(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&Mp(e.modalRef,!0),Dp(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var o=r.modals[r.modals.length-1];o.modalRef&&Mp(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();function Op(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,i=e.disableEnforceFocus,a=void 0!==i&&i,s=e.disableRestoreFocus,c=void 0!==s&&s,u=e.getDoc,d=e.isEnabled,p=e.open,f=o.useRef(),h=o.useRef(null),m=o.useRef(null),g=o.useRef(),v=o.useRef(null),y=o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),b=Cu(t.ref,y);return o.useMemo((function(){p&&"undefined"!=typeof window&&(g.current=u().activeElement)}),[p]),o.useEffect((function(){if(p){var e=yp(v.current);r||!v.current||v.current.contains(e.activeElement)||(v.current.hasAttribute("tabIndex")||v.current.setAttribute("tabIndex",-1),v.current.focus());var t=function(){a||!d()||f.current?f.current=!1:v.current&&!v.current.contains(e.activeElement)&&v.current.focus()},n=function(t){!a&&d()&&9===t.keyCode&&e.activeElement===v.current&&(f.current=!0,t.shiftKey?m.current.focus():h.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var o=setInterval((function(){t()}),50);return function(){clearInterval(o),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),c||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[r,a,c,d,p]),o.createElement(o.Fragment,null,o.createElement("div",{tabIndex:0,ref:h,"data-test":"sentinelStart"}),o.cloneElement(t,{ref:b}),o.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))}var qp={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",touchAction:"none"},invisible:{backgroundColor:"transparent"}},zp=o.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,i=e.open,a=bi(e,["invisible","open"]);return i?o.createElement("div",vi({"aria-hidden":!0,ref:t},a,{style:vi({},qp.root,{},r?qp.invisible:{},{},a.style)})):null}));var Fp=new Ap,Wp=o.forwardRef((function(e,t){var n=ic(),r=ga({name:"MuiModal",props:vi({},e),theme:n}),i=r.BackdropComponent,a=void 0===i?zp:i,s=r.BackdropProps,c=r.children,u=r.closeAfterTransition,d=void 0!==u&&u,p=r.container,f=r.disableAutoFocus,h=void 0!==f&&f,m=r.disableBackdropClick,g=void 0!==m&&m,v=r.disableEnforceFocus,y=void 0!==v&&v,b=r.disableEscapeKeyDown,x=void 0!==b&&b,w=r.disablePortal,E=void 0!==w&&w,C=r.disableRestoreFocus,k=void 0!==C&&C,S=r.disableScrollLock,T=void 0!==S&&S,R=r.hideBackdrop,N=void 0!==R&&R,M=r.keepMounted,P=void 0!==M&&M,D=r.manager,L=void 0===D?Fp:D,I=r.onBackdropClick,A=r.onClose,O=r.onEscapeKeyDown,q=r.onRendered,z=r.open,F=bi(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),W=o.useState(!0),H=W[0],B=W[1],j=o.useRef({}),$=o.useRef(null),V=o.useRef(null),U=Cu(V,t),_=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),Y=function(){return yp($.current)},K=function(){return j.current.modalRef=V.current,j.current.mountNode=$.current,j.current},X=function(){L.mount(K(),{disableScrollLock:T}),V.current.scrollTop=0},G=Lu((function(){var e=function(e){return e="function"==typeof e?e():e,l.findDOMNode(e)}(p)||Y().body;L.add(K(),e),V.current&&X()})),Z=o.useCallback((function(){return L.isTopModal(K())}),[L]),J=Lu((function(e){$.current=e,e&&(q&&q(),z&&Z()?X():Mp(V.current,!0))})),Q=o.useCallback((function(){L.remove(K())}),[L]);if(o.useEffect((function(){return function(){Q()}}),[Q]),o.useEffect((function(){z?G():_&&d||Q()}),[z,Q,_,d,G]),!P&&!z&&(!_||H))return null;var ee=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:da}),te={};return void 0===c.props.tabIndex&&(te.tabIndex=c.props.tabIndex||"-1"),_&&(te.onEnter=Tp((function(){B(!1)}),c.props.onEnter),te.onExited=Tp((function(){B(!0),d&&Q()}),c.props.onExited)),o.createElement(Sp,{ref:J,container:p,disablePortal:E},o.createElement("div",vi({ref:U,onKeyDown:function(e){"Escape"===e.key&&Z()&&(e.stopPropagation(),O&&O(e),!x&&A&&A(e,"escapeKeyDown"))},role:"presentation"},F,{style:vi({},ee.root,{},!z&&H?ee.hidden:{},{},F.style)}),N?null:o.createElement(a,vi({open:z,onClick:function(e){e.target===e.currentTarget&&(I&&I(e),!g&&A&&A(e,"backdropClick"))}},s)),o.createElement(Op,{disableEnforceFocus:y,disableAutoFocus:h,disableRestoreFocus:k,getDoc:Y,isEnabled:Z,open:z},o.cloneElement(c,te))))})),Hp={enter:la.enteringScreen,exit:la.leavingScreen},Bp=o.forwardRef((function(e,t){var n=e.BackdropProps,r=e.children,i=e.classes,a=e.className,s=e.disableBackdropClick,l=void 0!==s&&s,c=e.disableEscapeKeyDown,u=void 0!==c&&c,d=e.fullScreen,p=void 0!==d&&d,f=e.fullWidth,h=void 0!==f&&f,m=e.maxWidth,g=void 0===m?"sm":m,v=e.onBackdropClick,y=e.onClose,b=e.onEnter,x=e.onEntered,w=e.onEntering,E=e.onEscapeKeyDown,C=e.onExit,k=e.onExited,S=e.onExiting,T=e.open,R=e.PaperComponent,N=void 0===R?Uc:R,M=e.PaperProps,P=void 0===M?{}:M,D=e.scroll,L=void 0===D?"paper":D,I=e.TransitionComponent,A=void 0===I?Tu:I,O=e.transitionDuration,q=void 0===O?Hp:O,z=e.TransitionProps,F=e["aria-describedby"],W=e["aria-labelledby"],H=bi(e,["BackdropProps","children","classes","className","disableBackdropClick","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClose","onEnter","onEntered","onEntering","onEscapeKeyDown","onExit","onExited","onExiting","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps","aria-describedby","aria-labelledby"]),B=o.useRef();return o.createElement(Wp,vi({className:Cc(i.root,a),BackdropComponent:Nu,BackdropProps:vi({transitionDuration:q},n),closeAfterTransition:!0,disableBackdropClick:l,disableEscapeKeyDown:u,onEscapeKeyDown:E,onClose:y,open:T,ref:t},H),o.createElement(A,vi({appear:!0,in:T,timeout:q,onEnter:b,onEntering:w,onEntered:x,onExit:C,onExiting:S,onExited:k,role:"none presentation"},z),o.createElement("div",{className:Cc(i.container,i["scroll".concat($c(L))]),onClick:function(e){e.target===e.currentTarget&&e.target===B.current&&(B.current=null,v&&v(e),!l&&y&&y(e,"backdropClick"))},onMouseDown:function(e){B.current=e.target}},o.createElement(N,vi({elevation:24,role:"dialog","aria-describedby":F,"aria-labelledby":W},P,{className:Cc(i.paper,i["paperScroll".concat($c(L))],i["paperWidth".concat($c(String(g)))],P.className,p&&i.paperFullScreen,h&&i.paperFullWidth)}),r))))}));jc((function(e){return{root:{"@media print":{position:"absolute !important"}},scrollPaper:{display:"flex",justifyContent:"center",alignItems:"center"},scrollBody:{overflowY:"auto",overflowX:"hidden",textAlign:"center","&:after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}},container:{height:"100%","@media print":{height:"auto"},outline:0},paper:{margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},paperScrollPaper:{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},paperScrollBody:{display:"inline-block",verticalAlign:"middle",textAlign:"left"},paperWidthFalse:{maxWidth:"calc(100% - 64px)"},paperWidthXs:{maxWidth:Math.max(e.breakpoints.values.xs,444),"&$paperScrollBody":gi({},e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64),{maxWidth:"calc(100% - 64px)"})},paperWidthSm:{maxWidth:e.breakpoints.values.sm,"&$paperScrollBody":gi({},e.breakpoints.down(e.breakpoints.values.sm+64),{maxWidth:"calc(100% - 64px)"})},paperWidthMd:{maxWidth:e.breakpoints.values.md,"&$paperScrollBody":gi({},e.breakpoints.down(e.breakpoints.values.md+64),{maxWidth:"calc(100% - 64px)"})},paperWidthLg:{maxWidth:e.breakpoints.values.lg,"&$paperScrollBody":gi({},e.breakpoints.down(e.breakpoints.values.lg+64),{maxWidth:"calc(100% - 64px)"})},paperWidthXl:{maxWidth:e.breakpoints.values.xl,"&$paperScrollBody":gi({},e.breakpoints.down(e.breakpoints.values.xl+64),{maxWidth:"calc(100% - 64px)"})},paperFullWidth:{width:"calc(100% - 64px)"},paperFullScreen:{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,"&$paperScrollBody":{margin:0,maxWidth:"100%"}}}}),{name:"MuiDialog"})(Bp);var jp=o.forwardRef((function(e,t){var n=e.disableSpacing,r=void 0!==n&&n,i=e.classes,a=e.className,s=bi(e,["disableSpacing","classes","className"]);return o.createElement("div",vi({className:Cc(i.root,a,!r&&i.spacing),ref:t},s))}));jc({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiDialogActions"})(jp);var $p=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.dividers,a=void 0!==i&&i,s=bi(e,["classes","className","dividers"]);return o.createElement("div",vi({className:Cc(n.root,r,a&&n.dividers),ref:t},s))}));jc((function(e){return{root:{flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"8px 24px","&:first-child":{paddingTop:20}},dividers:{padding:"16px 24px",borderTop:"1px solid ".concat(e.palette.divider),borderBottom:"1px solid ".concat(e.palette.divider)}}}),{name:"MuiDialogContent"})($p);var Vp=o.forwardRef((function(e,t){return o.createElement(Od,vi({component:"p",variant:"body1",color:"textSecondary",ref:t},e))}));jc({root:{marginBottom:12}},{name:"MuiDialogContentText"})(Vp);var Up=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.disableTypography,s=void 0!==a&&a,l=bi(e,["children","classes","className","disableTypography"]);return o.createElement("div",vi({className:Cc(r.root,i),ref:t},l),s?n:o.createElement(Od,{component:"h2",variant:"h6"},n))}));jc({root:{margin:0,padding:"16px 24px",flex:"0 0 auto"}},{name:"MuiDialogTitle"})(Up);var _p=o.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,i=e.classes,a=e.className,s=e.component,l=void 0===s?"hr":s,c=e.light,u=void 0!==c&&c,d=e.orientation,p=void 0===d?"horizontal":d,f=e.role,h=void 0===f?"hr"!==l?"separator":void 0:f,m=e.variant,g=void 0===m?"fullWidth":m,v=bi(e,["absolute","classes","className","component","light","orientation","role","variant"]);return o.createElement(l,vi({className:Cc(i.root,a,"fullWidth"!==g&&i[g],r&&i.absolute,u&&i.light,{vertical:i.vertical}[p]),role:h,ref:t},v))}));function Yp(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=this,s=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(s,n)}return r.clear=function(){clearTimeout(t)},r}function Kp(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var i=0,a=0;if(n&&"none"!==n&&"string"==typeof n){var s=n.split("(")[1].split(")")[0].split(",");i=parseInt(s[4],10),a=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(-").concat(r.left-i,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-i,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(-").concat(r.top-a,"px)"):"translateY(-".concat(r.top+r.height-a,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}jc((function(e){return{root:{height:1,margin:0,border:"none",flexShrink:0,backgroundColor:e.palette.divider},absolute:{position:"absolute",bottom:0,left:0,width:"100%"},inset:{marginLeft:72},light:{backgroundColor:fi(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1}}}),{name:"MuiDivider"})(_p);var Xp={enter:la.enteringScreen,exit:la.leavingScreen},Gp=o.forwardRef((function(e,t){var n=e.children,r=e.direction,i=void 0===r?"down":r,a=e.in,s=e.onEnter,c=e.onEntering,u=e.onExit,d=e.onExited,p=e.style,f=e.timeout,h=void 0===f?Xp:f,m=bi(e,["children","direction","in","onEnter","onEntering","onExit","onExited","style","timeout"]),g=Bc(),v=o.useRef(null),y=o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),b=Cu(n.ref,y),x=Cu(b,t),w=o.useCallback((function(){v.current&&Kp(i,v.current)}),[i]);return o.useEffect((function(){if(!a&&"down"!==i&&"right"!==i){var e=Yp((function(){v.current&&Kp(i,v.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[i,a]),o.useEffect((function(){a||w()}),[a,w]),o.createElement(nu,vi({onEnter:function(e,t){var n=v.current;Kp(i,n),xu(n),s&&s(n,t)},onEntering:function(e,t){var n=v.current,r=wu({timeout:h,style:p},{mode:"enter"});n.style.webkitTransition=g.transitions.create("-webkit-transform",vi({},r,{easing:g.transitions.easing.easeOut})),n.style.transition=g.transitions.create("transform",vi({},r,{easing:g.transitions.easing.easeOut})),n.style.webkitTransform="none",n.style.transform="none",c&&c(n,t)},onExit:function(){var e=v.current,t=wu({timeout:h,style:p},{mode:"exit"});e.style.webkitTransition=g.transitions.create("-webkit-transform",vi({},t,{easing:g.transitions.easing.sharp})),e.style.transition=g.transitions.create("transform",vi({},t,{easing:g.transitions.easing.sharp})),Kp(i,e),u&&u(e)},onExited:function(){var e=v.current;e.style.webkitTransition="",e.style.transition="",d&&d(e)},appear:!0,in:a,timeout:h},m),(function(e,t){return o.cloneElement(n,vi({ref:x,style:vi({visibility:"exited"!==e||a?void 0:"hidden"},p,{},n.props.style)},t))}))})),Zp={left:"right",right:"left",top:"down",bottom:"up"};function Jp(e){return-1!==["left","right"].indexOf(e)}function Qp(e,t){return"rtl"===e.direction&&Jp(t)?Zp[t]:t}var ef={enter:la.enteringScreen,exit:la.leavingScreen},tf=o.forwardRef((function(e,t){var n=e.anchor,r=void 0===n?"left":n,i=e.BackdropProps,a=e.children,s=e.classes,l=e.className,c=e.elevation,u=void 0===c?16:c,d=e.ModalProps,p=(d=void 0===d?{}:d).BackdropProps,f=bi(d,["BackdropProps"]),h=e.onClose,m=e.open,g=void 0!==m&&m,v=e.PaperProps,y=e.SlideProps,b=e.transitionDuration,x=void 0===b?ef:b,w=e.variant,E=void 0===w?"temporary":w,C=bi(e,["anchor","BackdropProps","children","classes","className","elevation","ModalProps","onClose","open","PaperProps","SlideProps","transitionDuration","variant"]),k=Bc(),S=o.useRef(!1);o.useEffect((function(){S.current=!0}),[]);var T=Qp(k,r),R=o.createElement(Uc,vi({elevation:"temporary"===E?u:0,square:!0,className:Cc(s.paper,s["paperAnchor".concat($c(T))],"temporary"!==E&&s["paperAnchorDocked".concat($c(T))])},v),a);if("permanent"===E)return o.createElement("div",vi({className:Cc(s.root,s.docked,l),ref:t},C),R);var N=o.createElement(Gp,vi({in:g,direction:Zp[T],timeout:x,appear:S.current},y),R);return"persistent"===E?o.createElement("div",vi({className:Cc(s.root,s.docked,l),ref:t},C),N):o.createElement(Wp,vi({BackdropProps:vi({},i,{},p,{transitionDuration:x}),BackdropComponent:Nu,className:Cc(s.root,s.modal,l),open:g,onClose:h,ref:t},C,f),N)})),nf=jc((function(e){return{root:{},docked:{flex:"0 0 auto"},paper:{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:e.zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0},paperAnchorLeft:{left:0,right:"auto"},paperAnchorRight:{left:"auto",right:0},paperAnchorTop:{top:0,left:0,bottom:"auto",right:0,height:"auto",maxHeight:"100%"},paperAnchorBottom:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"},paperAnchorDockedLeft:{borderRight:"1px solid ".concat(e.palette.divider)},paperAnchorDockedTop:{borderBottom:"1px solid ".concat(e.palette.divider)},paperAnchorDockedRight:{borderLeft:"1px solid ".concat(e.palette.divider)},paperAnchorDockedBottom:{borderTop:"1px solid ".concat(e.palette.divider)},modal:{}}}),{name:"MuiDrawer",flip:!1})(tf);var rf=o.createContext({}),of=o.forwardRef((function(e,t){var n,r=e.children,i=e.classes,a=e.className,s=e.defaultExpanded,l=void 0!==s&&s,c=e.disabled,u=void 0!==c&&c,d=e.expanded,p=e.onChange,f=e.square,h=void 0!==f&&f,m=e.TransitionComponent,g=void 0===m?Ep:m,v=e.TransitionProps,y=bi(e,["children","classes","className","defaultExpanded","disabled","expanded","onChange","square","TransitionComponent","TransitionProps"]),b=o.useRef(null!=d).current,x=o.useState(l),w=x[0],E=x[1],C=b?d:w,k=o.useCallback((function(e){b||E(!C),p&&p(e,!C)}),[C,b,p]),S=o.Children.toArray(r),T=wd(n=S)||nl(n)||Ed(),R=T[0],N=T.slice(1),M=o.useMemo((function(){return{expanded:C,disabled:u,toggle:k}}),[C,u,k]);return o.createElement(Uc,vi({className:Cc(i.root,a,C&&i.expanded,u&&i.disabled,!h&&i.rounded),ref:t,square:h},y),o.createElement(rf.Provider,{value:M},R),o.createElement(g,vi({in:C,timeout:"auto"},v),o.createElement("div",{"aria-labelledby":R.props.id,id:R.props["aria-controls"],role:"region"},N)))}));jc((function(e){var t={duration:e.transitions.duration.shortest};return{root:{position:"relative",transition:e.transitions.create(["margin"],t),"&:before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:e.palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-child":{"&:before":{display:"none"}},"&$expanded":{margin:"16px 0","&:first-child":{marginTop:0},"&:last-child":{marginBottom:0},"&:before":{opacity:0}},"&$expanded + &":{"&:before":{display:"none"}},"&$disabled":{backgroundColor:e.palette.action.disabledBackground}},rounded:{borderRadius:0,"&:first-child":{borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius},"&:last-child":{borderBottomLeftRadius:e.shape.borderRadius,borderBottomRightRadius:e.shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}},expanded:{},disabled:{}}}),{name:"MuiExpansionPanel"})(of);var af=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disableSpacing,a=void 0!==i&&i,s=bi(e,["classes","className","disableSpacing"]);return o.createElement("div",vi({className:Cc(n.root,r,!a&&n.spacing),ref:t},s))}));jc({root:{display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end"},spacing:{"& > * + *":{marginLeft:8}}},{name:"MuiExpansionPanelActions"})(af);var sf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=bi(e,["classes","className"]);return o.createElement("div",vi({className:Cc(n.root,r),ref:t},i))}));jc({root:{display:"flex",padding:"8px 24px 24px"}},{name:"MuiExpansionPanelDetails"})(sf);var lf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.expandIcon,s=e.IconButtonProps,l=e.onBlur,c=e.onClick,u=e.onFocusVisible,d=bi(e,["children","classes","className","expandIcon","IconButtonProps","onBlur","onClick","onFocusVisible"]),p=o.useState(!1),f=p[0],h=p[1],m=o.useContext(rf),g=m.disabled,v=void 0!==g&&g,y=m.expanded,b=m.toggle;return o.createElement(Zu,vi({focusRipple:!1,disableRipple:!0,disabled:v,component:"div","aria-expanded":y,className:Cc(r.root,i,v&&r.disabled,y&&r.expanded,f&&r.focused),onFocusVisible:function(e){h(!0),u&&u(e)},onBlur:function(e){h(!1),l&&l(e)},onClick:function(e){b&&b(e),c&&c(e)},ref:t},d),o.createElement("div",{className:Cc(r.content,y&&r.expanded)},n),a&&o.createElement(rp,vi({className:Cc(r.expandIcon,y&&r.expanded),edge:"end",component:"div",tabIndex:null,role:null,"aria-hidden":!0},s),a))}));jc((function(e){var t={duration:e.transitions.duration.shortest};return{root:{display:"flex",minHeight:48,transition:e.transitions.create(["min-height","background-color"],t),padding:"0 24px 0 24px","&:hover:not($disabled)":{cursor:"pointer"},"&$expanded":{minHeight:64},"&$focused":{backgroundColor:e.palette.grey[300]},"&$disabled":{opacity:.38}},expanded:{},focused:{},disabled:{},content:{display:"flex",flexGrow:1,transition:e.transitions.create(["margin"],t),margin:"12px 0","&$expanded":{margin:"20px 0"}},expandIcon:{transform:"rotate(0deg)",transition:e.transitions.create("transform",t),"&:hover":{backgroundColor:"transparent"},"&$expanded":{transform:"rotate(180deg)"}}}}),{name:"MuiExpansionPanelSummary"})(lf);var cf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.color,s=void 0===a?"default":a,l=e.component,c=void 0===l?"button":l,u=e.disabled,d=void 0!==u&&u,p=e.disableFocusRipple,f=void 0!==p&&p,h=e.focusVisibleClassName,m=e.size,g=void 0===m?"large":m,v=e.variant,y=void 0===v?"round":v,b=bi(e,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return o.createElement(Zu,vi({className:Cc(r.root,i,"round"!==y&&r.extended,"large"!==g&&r["size".concat($c(g))],d&&r.disabled,{primary:r.primary,secondary:r.secondary,inherit:r.colorInherit}[s]),component:c,disabled:d,focusRipple:!f,focusVisibleClassName:Cc(r.focusVisible,h),ref:t},b),o.createElement("span",{className:r.label},n))}));function uf(e){var t=e.props,n=e.states,r=e.muiFormControl;return n.reduce((function(e,n){return e[n]=t[n],r&&void 0===t[n]&&(e[n]=r[n]),e}),{})}function df(e,t){return parseInt(e[t],10)||0}jc((function(e){return{root:vi({},e.typography.button,{boxSizing:"border-box",minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]},color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],"&$focusVisible":{boxShadow:e.shadows[6]},"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground},textDecoration:"none"},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},secondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(cf);var pf="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,ff={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},hf=o.forwardRef((function(e,t){var n=e.onChange,r=e.rows,i=e.rowsMax,a=e.style,s=e.value,l=bi(e,["onChange","rows","rowsMax","style","value"]),c=o.useRef(null!=s).current,u=o.useRef(null),d=Cu(t,u),p=o.useRef(null),f=o.useState({}),h=f[0],m=f[1],g=o.useCallback((function(){var t=u.current,n=window.getComputedStyle(t),o=p.current;o.style.width=n.width,o.value=t.value||e.placeholder||"x";var a=n["box-sizing"],s=df(n,"padding-bottom")+df(n,"padding-top"),l=df(n,"border-bottom-width")+df(n,"border-top-width"),c=o.scrollHeight-s;o.value="x";var d=o.scrollHeight-s,f=c;null!=r&&(f=Math.max(Number(r)*d,f)),null!=i&&(f=Math.min(Number(i)*d,f));var h=(f=Math.max(f,d))+("border-box"===a?s+l:0),g=Math.abs(f-c)<=1;m((function(e){return h>0&&Math.abs((e.outerHeightStyle||0)-h)>1||e.overflow!==g?{overflow:g,outerHeightStyle:h}:e}))}),[r,i,e.placeholder]);o.useEffect((function(){var e=Yp((function(){g()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[g]),pf((function(){g()}));return o.createElement(o.Fragment,null,o.createElement("textarea",vi({value:s,onChange:function(e){c||g(),n&&n(e)},ref:d,rows:r||1,style:vi({height:h.outerHeightStyle,overflow:h.overflow?"hidden":null},a)},l)),o.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:p,tabIndex:-1,style:vi({},ff,{},a)}))}));function mf(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function gf(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(mf(e.value)&&""!==e.value||t&&mf(e.defaultValue)&&""!==e.defaultValue)}var vf="undefined"==typeof window?o.useEffect:o.useLayoutEffect,yf=o.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,i=e.autoFocus,a=e.classes,s=e.className;e.color;var l=e.defaultValue,c=e.disabled,u=e.endAdornment;e.error;var d=e.fullWidth,p=void 0!==d&&d,f=e.id,h=e.inputComponent,m=void 0===h?"input":h,g=e.inputProps,v=void 0===g?{}:g,y=e.inputRef;e.margin;var b=e.multiline,x=void 0!==b&&b,w=e.name,E=e.onBlur,C=e.onChange,k=e.onClick,S=e.onFocus,T=e.onKeyDown,R=e.onKeyUp,N=e.placeholder,M=e.readOnly,P=e.renderSuffix,D=e.rows,L=e.rowsMax,I=e.select,A=void 0!==I&&I,O=e.startAdornment,q=e.type,z=void 0===q?"text":q,F=e.value,W=bi(e,["aria-describedby","autoComplete","autoFocus","classes","className","color","defaultValue","disabled","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","rowsMax","select","startAdornment","type","value"]),H=null!=v.value?v.value:F,B=o.useRef(null!=H).current,j=o.useRef(),$=o.useCallback((function(e){}),[]),V=Cu(v.ref,$),U=Cu(y,V),_=Cu(j,U),Y=o.useState(!1),K=Y[0],X=Y[1],G=ep(),Z=uf({props:e,muiFormControl:G,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Z.focused=G?G.focused:K,o.useEffect((function(){!G&&c&&K&&(X(!1),E&&E())}),[G,c,K,E]);var J=G&&G.onFilled,Q=G&&G.onEmpty,ee=o.useCallback((function(e){gf(e)?J&&J():Q&&Q()}),[J,Q]);vf((function(){B&&ee({value:H})}),[H,ee,B]);o.useEffect((function(){ee(j.current)}),[]);var te=m,ne=vi({},v,{ref:_});"string"!=typeof te?ne=vi({inputRef:_,type:z},ne,{ref:null}):x?D&&!L?te="textarea":(ne=vi({rows:D,rowsMax:L},ne),te=hf):ne=vi({type:z},ne);return o.useEffect((function(){G&&G.setAdornedStart(Boolean(O))}),[G,O]),o.createElement("div",vi({className:Cc(a.root,a["color".concat($c(Z.color||"primary"))],s,Z.disabled&&a.disabled,Z.error&&a.error,p&&a.fullWidth,Z.focused&&a.focused,G&&a.formControl,x&&a.multiline,O&&a.adornedStart,u&&a.adornedEnd,{dense:a.marginDense}[Z.margin]),onClick:function(e){j.current&&e.currentTarget===e.target&&j.current.focus(),k&&k(e)},ref:t},W),O,o.createElement(Qd.Provider,{value:null},o.createElement(te,vi({"aria-invalid":Z.error,"aria-describedby":n,autoComplete:r,autoFocus:i,defaultValue:l,disabled:Z.disabled,id:f,onAnimationStart:function(e){ee(-1!==e.animationName.indexOf("auto-fill-cancel")?j.current:{value:"x"})},name:w,placeholder:N,readOnly:M,required:Z.required,rows:D,value:H,onKeyDown:T,onKeyUp:R},ne,{className:Cc(a.input,v.className,Z.disabled&&a.disabled,x&&a.inputMultiline,A&&a.inputSelect,Z.hiddenLabel&&a.inputHiddenLabel,O&&a.inputAdornedStart,u&&a.inputAdornedEnd,{search:a.inputTypeSearch}[z],{dense:a.inputMarginDense}[Z.margin]),onBlur:function(e){E&&E(e),v.onBlur&&v.onBlur(e),G&&G.onBlur?G.onBlur(e):X(!1)},onChange:function(e){if(!B){var t=e.target||j.current;if(null==t)throw new TypeError("Material-UI: Expected valid input target. Did you use a custom `inputComponent` and forget to forward refs? See https://material-ui.com/r/input-component-ref-interface for more info.");ee({value:t.value})}for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];v.onChange&&v.onChange.apply(v,[e].concat(r)),C&&C.apply(void 0,[e].concat(r))},onFocus:function(e){Z.disabled?e.stopPropagation():(S&&S(e),v.onFocus&&v.onFocus(e),G&&G.onFocus?G.onFocus(e):X(!0))}}))),u,P?P(vi({},Z,{startAdornment:O})):null)})),bf=jc((function(e){var t="light"===e.palette.type,n={color:"currentColor",opacity:t?.42:.5,transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},r={opacity:"0 !important"},o={opacity:t?.42:.5};return{root:{fontFamily:e.typography.fontFamily,color:e.palette.text.primary,fontSize:e.typography.pxToRem(16),lineHeight:"1.1875em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center","&$disabled":{color:e.palette.text.disabled,cursor:"default"}},formControl:{},focused:{},disabled:{},adornedStart:{},adornedEnd:{},error:{},marginDense:{},multiline:{padding:"".concat(6,"px 0 ").concat(7,"px"),"&$marginDense":{paddingTop:3}},colorSecondary:{},fullWidth:{width:"100%"},input:{font:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1875em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"$auto-fill-cancel","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-webkit-appearance":"none"},"label[data-shrink=false] + $formControl &":{"&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&:-ms-input-placeholder":r,"&::-ms-input-placeholder":r,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus:-ms-input-placeholder":o,"&:focus::-ms-input-placeholder":o},"&$disabled":{opacity:1},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"$auto-fill"}},"@keyframes auto-fill":{from:{}},"@keyframes auto-fill-cancel":{from:{}},inputMarginDense:{paddingTop:3},inputSelect:{paddingRight:24},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(yf),xf=o.forwardRef((function(e,t){var n=e.disableUnderline,r=e.classes,i=e.fullWidth,a=void 0!==i&&i,s=e.inputComponent,l=void 0===s?"input":s,c=e.multiline,u=void 0!==c&&c,d=e.type,p=void 0===d?"text":d,f=bi(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(bf,vi({classes:vi({},r,{root:Cc(r.root,!n&&r.underline),underline:null}),fullWidth:a,inputComponent:l,multiline:u,ref:t,type:p},f))}));xf.muiName="Input";var wf=jc((function(e){var t="light"===e.palette.type,n=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",r=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)";return{root:{position:"relative",backgroundColor:r,borderTopLeftRadius:e.shape.borderRadius,borderTopRightRadius:e.shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:t?"rgba(0, 0, 0, 0.13)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:r}},"&$focused":{backgroundColor:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.09)"},"&$disabled":{backgroundColor:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"}},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(n),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:before":{borderBottom:"1px solid ".concat(e.palette.text.primary)},"&$disabled:before":{borderBottomStyle:"dotted"}},focused:{},disabled:{},adornedStart:{paddingLeft:12},adornedEnd:{paddingRight:12},error:{},marginDense:{},multiline:{padding:"27px 12px 10px","&$marginDense":{paddingTop:23,paddingBottom:6}},input:{padding:"27px 12px 10px","&:-webkit-autofill":{WebkitBoxShadow:"dark"===e.palette.type?"0 0 0 100px #266798 inset":null,WebkitTextFillColor:"dark"===e.palette.type?"#fff":null,borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},inputMarginDense:{paddingTop:23,paddingBottom:6},inputHiddenLabel:{paddingTop:18,paddingBottom:19,"&$inputMarginDense":{paddingTop:10,paddingBottom:11}},inputSelect:{paddingRight:24},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiFilledInput"})(xf);function Ef(e,t){return o.isValidElement(e)&&-1!==t.indexOf(e.type.muiName)}var Cf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.disabled,c=void 0!==l&&l,u=e.error,d=void 0!==u&&u,p=e.fullWidth,f=void 0!==p&&p,h=e.hiddenLabel,m=void 0!==h&&h,g=e.margin,v=void 0===g?"none":g,y=e.color,b=void 0===y?"primary":y,x=e.required,w=void 0!==x&&x,E=e.variant,C=void 0===E?"standard":E,k=bi(e,["children","classes","className","component","disabled","error","fullWidth","hiddenLabel","margin","color","required","variant"]),S=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){if(Ef(t,["Input","Select"])){var n=Ef(t,["Select"])?t.props.input:t;n&&n.props.startAdornment&&(e=!0)}})),e})),T=S[0],R=S[1],N=o.useState((function(){var e=!1;return n&&o.Children.forEach(n,(function(t){Ef(t,["Input","Select"])&&gf(t.props,!0)&&(e=!0)})),e})),M=N[0],P=N[1],D=o.useState(!1),L=D[0],I=D[1];c&&L&&I(!1);var A=o.useCallback((function(){P(!0)}),[]),O={adornedStart:T,setAdornedStart:R,color:b,disabled:c,error:d,filled:M,focused:L,hiddenLabel:m,margin:v,onBlur:function(){I(!1)},onEmpty:o.useCallback((function(){P(!1)}),[]),onFilled:A,onFocus:function(){I(!0)},registerEffect:undefined,required:w,variant:C};return o.createElement(Qd.Provider,{value:O},o.createElement(s,vi({className:Cc(r.root,i,"none"!==v&&r["margin".concat($c(v))],f&&r.fullWidth),ref:t},k),n))})),kf=jc({root:{display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},marginNormal:{marginTop:16,marginBottom:8},marginDense:{marginTop:8,marginBottom:4},fullWidth:{width:"100%"}},{name:"MuiFormControl"})(Cf),Sf=o.forwardRef((function(e,t){e.checked;var n=e.classes,r=e.className,i=e.control,a=e.disabled;e.inputRef;var s=e.label,l=e.labelPlacement,c=void 0===l?"end":l;e.name,e.onChange,e.value;var u=bi(e,["checked","classes","className","control","disabled","inputRef","label","labelPlacement","name","onChange","value"]),d=tp(),p=a;void 0===p&&void 0!==i.props.disabled&&(p=i.props.disabled),void 0===p&&d&&(p=d.disabled);var f={disabled:p};return["checked","name","onChange","value","inputRef"].forEach((function(t){void 0===i.props[t]&&void 0!==e[t]&&(f[t]=e[t])})),o.createElement("label",vi({className:Cc(n.root,r,"end"!==c&&n["labelPlacement".concat($c(c))],p&&n.disabled),ref:t},u),o.cloneElement(i,f),o.createElement(Od,{component:"span",className:Cc(n.label,p&&n.disabled)},s))}));jc((function(e){return{root:{display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,"&$disabled":{cursor:"default"}},labelPlacementStart:{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},labelPlacementTop:{flexDirection:"column-reverse",marginLeft:16},labelPlacementBottom:{flexDirection:"column",marginLeft:16},disabled:{},label:{"&$disabled":{color:e.palette.text.disabled}}}}),{name:"MuiFormControlLabel"})(Sf);var Tf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.row,a=void 0!==i&&i,s=bi(e,["classes","className","row"]);return o.createElement("div",vi({className:Cc(n.root,r,a&&n.row),ref:t},s))})),Rf=jc({root:{display:"flex",flexDirection:"column",flexWrap:"wrap"},row:{flexDirection:"row"}},{name:"MuiFormGroup"})(Tf),Nf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"p":i;e.disabled,e.error,e.filled,e.focused,e.margin,e.required,e.variant;var s=bi(e,["classes","className","component","disabled","error","filled","focused","margin","required","variant"]),l=uf({props:e,muiFormControl:tp(),states:["variant","margin","disabled","error","filled","focused","required"]});return o.createElement(a,vi({className:Cc(n.root,("filled"===l.variant||"outlined"===l.variant)&&n.contained,r,l.disabled&&n.disabled,l.error&&n.error,l.filled&&n.filled,l.focused&&n.focused,l.required&&n.required,{dense:n.marginDense}[l.margin]),ref:t},s))})),Mf=jc((function(e){return{root:vi({color:e.palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:8,lineHeight:"1em",minHeight:"1em",margin:0,"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),error:{},disabled:{},marginDense:{marginTop:4},contained:{margin:"8px 14px 0"},focused:{},filled:{},required:{}}}),{name:"MuiFormHelperText"})(Nf),Pf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className;e.color;var a=e.component,s=void 0===a?"label":a;e.disabled,e.error,e.filled,e.focused,e.required;var l=bi(e,["children","classes","className","color","component","disabled","error","filled","focused","required"]),c=uf({props:e,muiFormControl:tp(),states:["color","required","focused","disabled","error","filled"]});return o.createElement(s,vi({className:Cc(r.root,r["color".concat($c(c.color||"primary"))],i,c.disabled&&r.disabled,c.error&&r.error,c.filled&&r.filled,c.focused&&r.focused,c.required&&r.required),ref:t},l),n,c.required&&o.createElement("span",{className:Cc(r.asterisk,c.error&&r.error)}," ","*"))})),Df=jc((function(e){return{root:vi({color:e.palette.text.secondary},e.typography.body1,{lineHeight:1,padding:0,"&$focused":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled},"&$error":{color:e.palette.error.main}}),colorSecondary:{"&$focused":{color:e.palette.secondary.main}},focused:{},disabled:{},error:{},filled:{},required:{},asterisk:{"&$error":{color:e.palette.error.main}}}}),{name:"MuiFormLabel"})(Pf),Lf=[0,1,2,3,4,5,6,7,8,9,10],If=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function Af(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=parseFloat(e);return"".concat(n/t).concat(String(e).replace(String(n),"")||"px")}var Of=o.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,i=e.alignItems,a=void 0===i?"stretch":i,s=e.classes,l=e.className,c=e.component,u=void 0===c?"div":c,d=e.container,p=void 0!==d&&d,f=e.direction,h=void 0===f?"row":f,m=e.item,g=void 0!==m&&m,v=e.justify,y=void 0===v?"flex-start":v,b=e.lg,x=void 0!==b&&b,w=e.md,E=void 0!==w&&w,C=e.sm,k=void 0!==C&&C,S=e.spacing,T=void 0===S?0:S,R=e.wrap,N=void 0===R?"wrap":R,M=e.xl,P=void 0!==M&&M,D=e.xs,L=void 0!==D&&D,I=e.zeroMinWidth,A=void 0!==I&&I,O=bi(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),q=Cc(s.root,l,p&&[s.container,0!==T&&s["spacing-xs-".concat(String(T))]],g&&s.item,A&&s.zeroMinWidth,"row"!==h&&s["direction-xs-".concat(String(h))],"wrap"!==N&&s["wrap-xs-".concat(String(N))],"stretch"!==a&&s["align-items-xs-".concat(String(a))],"stretch"!==r&&s["align-content-xs-".concat(String(r))],"flex-start"!==y&&s["justify-xs-".concat(String(y))],!1!==L&&s["grid-xs-".concat(String(L))],!1!==k&&s["grid-sm-".concat(String(k))],!1!==E&&s["grid-md-".concat(String(E))],!1!==x&&s["grid-lg-".concat(String(x))],!1!==P&&s["grid-xl-".concat(String(P))]);return o.createElement(u,vi({className:q,ref:t},O))}));jc((function(e){return vi({root:{},container:{boxSizing:"border-box",display:"flex",flexWrap:"wrap",width:"100%"},item:{boxSizing:"border-box",margin:"0"},zeroMinWidth:{minWidth:0},"direction-xs-column":{flexDirection:"column"},"direction-xs-column-reverse":{flexDirection:"column-reverse"},"direction-xs-row-reverse":{flexDirection:"row-reverse"},"wrap-xs-nowrap":{flexWrap:"nowrap"},"wrap-xs-wrap-reverse":{flexWrap:"wrap-reverse"},"align-items-xs-center":{alignItems:"center"},"align-items-xs-flex-start":{alignItems:"flex-start"},"align-items-xs-flex-end":{alignItems:"flex-end"},"align-items-xs-baseline":{alignItems:"baseline"},"align-content-xs-center":{alignContent:"center"},"align-content-xs-flex-start":{alignContent:"flex-start"},"align-content-xs-flex-end":{alignContent:"flex-end"},"align-content-xs-space-between":{alignContent:"space-between"},"align-content-xs-space-around":{alignContent:"space-around"},"justify-xs-center":{justifyContent:"center"},"justify-xs-flex-end":{justifyContent:"flex-end"},"justify-xs-space-between":{justifyContent:"space-between"},"justify-xs-space-around":{justifyContent:"space-around"},"justify-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return Lf.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(Af(o,2)),width:"calc(100% + ".concat(Af(o),")"),"& > $item":{padding:Af(o,2)}})})),n}(e,"xs"),{},e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};If.forEach((function(e){var t="grid-".concat(n,"-").concat(e);if(!0!==e)if("auto"!==e){var o="".concat(Math.round(e/12*1e8)/1e6,"%");r[t]={flexBasis:o,flexGrow:0,maxWidth:o}}else r[t]={flexBasis:"auto",flexGrow:0,maxWidth:"none"};else r[t]={flexBasis:0,flexGrow:1,maxWidth:"100%"}})),"xs"===n?vi(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(Of);var qf=o.forwardRef((function(e,t){var n=e.cellHeight,r=void 0===n?180:n,i=e.children,a=e.classes,s=e.className,l=e.cols,c=void 0===l?2:l,u=e.component,d=void 0===u?"ul":u,p=e.spacing,f=void 0===p?4:p,h=e.style,m=bi(e,["cellHeight","children","classes","className","cols","component","spacing","style"]);return o.createElement(d,vi({className:Cc(a.root,s),ref:t,style:vi({margin:-f/2},h)},m),o.Children.map(i,(function(e){if(!o.isValidElement(e))return null;var t=e.props.cols||1,n=e.props.rows||1;return o.cloneElement(e,{style:vi({width:"".concat(100/c*t,"%"),height:"auto"===r?"auto":r*n+f,padding:f/2},e.props.style)})})))}));jc({root:{display:"flex",flexWrap:"wrap",overflowY:"auto",listStyle:"none",padding:0,WebkitOverflowScrolling:"touch"}},{name:"MuiGridList"})(qf);var zf=function(e,t){var n,r,o,i;e&&e.complete&&(e.width/e.height>e.parentElement.offsetWidth/e.parentElement.offsetHeight?((n=e.classList).remove.apply(n,rl(t.imgFullWidth.split(" "))),(r=e.classList).add.apply(r,rl(t.imgFullHeight.split(" ")))):((o=e.classList).remove.apply(o,rl(t.imgFullHeight.split(" "))),(i=e.classList).add.apply(i,rl(t.imgFullWidth.split(" ")))))};var Ff=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className;e.cols;var a=e.component,s=void 0===a?"li":a;e.rows;var l=bi(e,["children","classes","className","cols","component","rows"]),c=o.useRef(null);return o.useEffect((function(){!function(e,t){e&&(e.complete?zf(e,t):e.addEventListener("load",(function(){zf(e,t)})))}(c.current,r)})),o.useEffect((function(){var e=Yp((function(){zf(c.current,r)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[r]),o.createElement(s,vi({className:Cc(r.root,i),ref:t},l),o.createElement("div",{className:r.tile},o.Children.map(n,(function(e){return o.isValidElement(e)?"img"===e.type||Ef(e,["Image"])?o.cloneElement(e,{ref:c}):e:null}))))}));jc({root:{boxSizing:"border-box",flexShrink:0},tile:{position:"relative",display:"block",height:"100%",overflow:"hidden"},imgFullHeight:{height:"100%",transform:"translateX(-50%)",position:"relative",left:"50%"},imgFullWidth:{width:"100%",position:"relative",transform:"translateY(-50%)",top:"50%"}},{name:"MuiGridListTile"})(Ff);var Wf=o.forwardRef((function(e,t){var n=e.actionIcon,r=e.actionPosition,i=void 0===r?"right":r,a=e.classes,s=e.className,l=e.subtitle,c=e.title,u=e.titlePosition,d=void 0===u?"bottom":u,p=bi(e,["actionIcon","actionPosition","classes","className","subtitle","title","titlePosition"]),f=n&&i;return o.createElement("div",vi({className:Cc(a.root,s,"top"===d?a.titlePositionTop:a.titlePositionBottom,l&&a.rootSubtitle),ref:t},p),o.createElement("div",{className:Cc(a.titleWrap,{left:a.titleWrapActionPosLeft,right:a.titleWrapActionPosRight}[f])},o.createElement("div",{className:a.title},c),l?o.createElement("div",{className:a.subtitle},l):null),n?o.createElement("div",{className:Cc(a.actionIcon,{left:a.actionIconActionPosLeft}[f])},n):null)}));function Hf(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}jc((function(e){return{root:{position:"absolute",left:0,right:0,height:48,background:"rgba(0, 0, 0, 0.5)",display:"flex",alignItems:"center",fontFamily:e.typography.fontFamily},titlePositionBottom:{bottom:0},titlePositionTop:{top:0},rootSubtitle:{height:68},titleWrap:{flexGrow:1,marginLeft:16,marginRight:16,color:e.palette.common.white,overflow:"hidden"},titleWrapActionPosLeft:{marginLeft:0},titleWrapActionPosRight:{marginRight:0},title:{fontSize:e.typography.pxToRem(16),lineHeight:"24px",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},subtitle:{fontSize:e.typography.pxToRem(12),lineHeight:1,textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},actionIcon:{},actionIconActionPosLeft:{order:-1}}}),{name:"MuiGridListTileBar"})(Wf);var Bf={entering:{opacity:1,transform:Hf(1)},entered:{opacity:1,transform:"none"}},jf=o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?"auto":l,u=bi(e,["children","in","onEnter","onExit","style","timeout"]),d=o.useRef(),p=o.useRef(),f=Cu(n.ref,t),h=Bc();return o.useEffect((function(){return function(){clearTimeout(d.current)}}),[]),o.createElement(nu,vi({appear:!0,in:r,onEnter:function(e,t){xu(e);var n,r=wu({style:s,timeout:c},{mode:"enter"}),o=r.duration,a=r.delay;"auto"===c?(n=h.transitions.getAutoHeightDuration(e.clientHeight),p.current=n):n=o,e.style.transition=[h.transitions.create("opacity",{duration:n,delay:a}),h.transitions.create("transform",{duration:.666*n,delay:a})].join(","),i&&i(e,t)},onExit:function(e){var t,n=wu({style:s,timeout:c},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===c?(t=h.transitions.getAutoHeightDuration(e.clientHeight),p.current=t):t=r,e.style.transition=[h.transitions.create("opacity",{duration:t,delay:o}),h.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=Hf(.75),a&&a(e)},addEndListener:function(e,t){"auto"===c&&(d.current=setTimeout(t,p.current||0))},timeout:"auto"===c?null:c},u),(function(e,t){return o.cloneElement(n,vi({style:vi({opacity:0,transform:Hf(.75),visibility:"exited"!==e||r?void 0:"hidden"},Bf[e],{},s,{},n.props.style),ref:f},t))}))}));jf.muiSupportAuto=!0;var $f=!1;function Vf(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=ic(),r=ga({theme:n,name:"MuiUseMediaQuery",props:{}}),i="function"==typeof e?e(n):e;i=i.replace(/^@media( ?)/m,"");var a="undefined"!=typeof window&&void 0!==window.matchMedia,s=vi({},r,{},t),l=s.defaultMatches,c=void 0!==l&&l,u=s.noSsr,d=void 0!==u&&u,p=s.ssrMatchMedia,f=void 0===p?null:p,h=o.useState((function(){return($f||d)&&a?window.matchMedia(i).matches:f?f(i).matches:c})),m=h[0],g=h[1];return o.useEffect((function(){var e=!0;if($f=!0,a){var t=window.matchMedia(i),n=function(){e&&g(t.matches)};return n(),t.addListener(n),function(){e=!1,t.removeListener(n)}}}),[i,a]),m}var Uf=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?_i.indexOf(e)<=_i.indexOf(t):_i.indexOf(e)<_i.indexOf(t)},_f=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return n?_i.indexOf(t)<=_i.indexOf(e):_i.indexOf(t)<_i.indexOf(e)},Yf="undefined"==typeof window?o.useEffect:o.useLayoutEffect;function Kf(e){var t=e.children,n=e.only,r=e.width,o=Bc(),i=!0;if(n)if(Array.isArray(n))for(var a=0;a<n.length;a+=1){if(r===n[a]){i=!1;break}}else n&&r===n&&(i=!1);if(i)for(var s=0;s<o.breakpoints.keys.length;s+=1){var l=o.breakpoints.keys[s],c=e["".concat(l,"Up")],u=e["".concat(l,"Down")];if(c&&Uf(l,r)||u&&_f(l,r)){i=!1;break}}return i?t:null}Kf.propTypes={children:Ko.exports.node,className:Ko.exports.string,implementation:Ko.exports.oneOf(["js","css"]),initialWidth:Ko.exports.oneOf(["xs","sm","md","lg","xl"]),lgDown:Ko.exports.bool,lgUp:Ko.exports.bool,mdDown:Ko.exports.bool,mdUp:Ko.exports.bool,only:Ko.exports.oneOfType([Ko.exports.oneOf(["xs","sm","md","lg","xl"]),Ko.exports.arrayOf(Ko.exports.oneOf(["xs","sm","md","lg","xl"]))]),smDown:Ko.exports.bool,smUp:Ko.exports.bool,width:Ko.exports.string.isRequired,xlDown:Ko.exports.bool,xlUp:Ko.exports.bool,xsDown:Ko.exports.bool,xsUp:Ko.exports.bool},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t){var n=e.withTheme,r=void 0!==n&&n,i=e.noSSR,a=void 0!==i&&i,s=e.initialWidth;function l(e){var n=Bc(),i=e.theme||n,l=ga({theme:i,name:"MuiWithWidth",props:vi({},e)}),c=l.initialWidth,u=l.width,d=bi(l,["initialWidth","width"]),p=o.useState(!1),f=p[0],h=p[1];Yf((function(){h(!0)}),[]);var m=rl(i.breakpoints.keys).reverse().reduce((function(e,t){var n=Vf(i.breakpoints.up(t));return!e&&n?t:e}),null),g=vi({width:u||(f||a?m:void 0)||c||s},r?{theme:i}:{},{},d);return void 0===g.width?null:o.createElement(t,g)}return qc(l,t),l}}()(Kf);jc((function(e){var t={display:"none"};return e.breakpoints.keys.reduce((function(n,r){return n["only".concat($c(r))]=gi({},e.breakpoints.only(r),t),n["".concat(r,"Up")]=gi({},e.breakpoints.up(r),t),n["".concat(r,"Down")]=gi({},e.breakpoints.down(r),t),n}),{})}),{name:"PrivateHiddenCss"})((function(e){var t=e.children,n=e.classes,r=e.className;e.lgDown,e.lgUp,e.mdDown,e.mdUp;var i=e.only;e.smDown,e.smUp,e.xlDown,e.xlUp,e.xsDown,e.xsUp,bi(e,["children","classes","className","lgDown","lgUp","mdDown","mdUp","only","smDown","smUp","xlDown","xlUp","xsDown","xsUp"]);var a=Bc(),s=[];r&&s.push(r);for(var l=0;l<a.breakpoints.keys.length;l+=1){var c=a.breakpoints.keys[l],u=e["".concat(c,"Up")],d=e["".concat(c,"Down")];u&&s.push(n["".concat(c,"Up")]),d&&s.push(n["".concat(c,"Down")])}return i&&(Array.isArray(i)?i:[i]).forEach((function(e){s.push(n["only".concat($c(e))])})),o.createElement("div",{className:s.join(" ")},t)}));var Xf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"inherit":i,s=e.component,l=void 0===s?"span":s,c=e.fontSize,u=void 0===c?"default":c,d=bi(e,["classes","className","color","component","fontSize"]);return o.createElement(l,vi({className:Cc("material-icons",n.root,r,"inherit"!==a&&n["color".concat($c(a))],"default"!==u&&n["fontSize".concat($c(u))]),"aria-hidden":!0,ref:t},d))}));Xf.muiName="Icon",jc((function(e){return{root:{userSelect:"none",fontSize:e.typography.pxToRem(24),width:"1em",height:"1em",overflow:"hidden",flexShrink:0},colorPrimary:{color:e.palette.primary.main},colorSecondary:{color:e.palette.secondary.main},colorAction:{color:e.palette.action.active},colorError:{color:e.palette.error.main},colorDisabled:{color:e.palette.action.disabled},fontSizeInherit:{fontSize:"inherit"},fontSizeSmall:{fontSize:e.typography.pxToRem(20)},fontSizeLarge:{fontSize:e.typography.pxToRem(36)}}}),{name:"MuiIcon"})(Xf);var Gf=o.forwardRef((function(e,t){var n=e.disableUnderline,r=e.classes,i=e.fullWidth,a=void 0!==i&&i,s=e.inputComponent,l=void 0===s?"input":s,c=e.multiline,u=void 0!==c&&c,d=e.type,p=void 0===d?"text":d,f=bi(e,["disableUnderline","classes","fullWidth","inputComponent","multiline","type"]);return o.createElement(bf,vi({classes:vi({},r,{root:Cc(r.root,!n&&r.underline),underline:null}),fullWidth:a,inputComponent:l,multiline:u,ref:t,type:p},f))}));Gf.muiName="Input";var Zf=jc((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return{root:{position:"relative"},formControl:{"label + &":{marginTop:16}},focused:{},disabled:{},colorSecondary:{"&$underline:after":{borderBottomColor:e.palette.secondary.main}},underline:{"&:after":{borderBottom:"2px solid ".concat(e.palette.primary.main),left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},"&$focused:after":{transform:"scaleX(1)"},"&$error:after":{borderBottomColor:e.palette.error.main,transform:"scaleX(1)"},"&:before":{borderBottom:"1px solid ".concat(t),left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},"&:hover:not($disabled):before":{borderBottom:"2px solid ".concat(e.palette.text.primary),"@media (hover: none)":{borderBottom:"1px solid ".concat(t)}},"&$disabled:before":{borderBottomStyle:"dotted"}},error:{},multiline:{},fullWidth:{},input:{},inputMarginDense:{},inputMultiline:{},inputTypeSearch:{}}}),{name:"MuiInput"})(Gf),Jf=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"div":a,l=e.disablePointerEvents,c=void 0!==l&&l,u=e.disableTypography,d=void 0!==u&&u,p=e.position,f=e.variant,h=bi(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),m=ep()||{},g=f;return f&&m.variant,m&&!g&&(g=m.variant),o.createElement(Qd.Provider,{value:null},o.createElement(s,vi({className:Cc(r.root,i,c&&r.disablePointerEvents,m.hiddenLabel&&r.hiddenLabel,{filled:r.filled}[g],{start:r.positionStart,end:r.positionEnd}[p],{dense:r.marginDense}[m.margin]),ref:t},h),"string"!=typeof n||d?n:o.createElement(Od,{color:"textSecondary"},n)))}));jc({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(Jf);var Qf=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disableAnimation,a=void 0!==i&&i;e.margin;var s=e.shrink;e.variant;var l=bi(e,["classes","className","disableAnimation","margin","shrink","variant"]),c=tp(),u=s;void 0===u&&c&&(u=c.filled||c.focused||c.adornedStart);var d=uf({props:e,muiFormControl:c,states:["margin","variant"]});return o.createElement(Df,vi({"data-shrink":u,className:Cc(n.root,r,c&&n.formControl,!a&&n.animated,u&&n.shrink,{dense:n.marginDense}[d.margin],{filled:n.filled,outlined:n.outlined}[d.variant]),classes:{focused:n.focused,disabled:n.disabled,error:n.error,required:n.required,asterisk:n.asterisk},ref:t},l))})),eh=jc((function(e){return{root:{display:"block",transformOrigin:"top left"},focused:{},disabled:{},error:{},required:{},asterisk:{},formControl:{position:"absolute",left:0,top:0,transform:"translate(0, 24px) scale(1)"},marginDense:{transform:"translate(0, 21px) scale(1)"},shrink:{transform:"translate(0, 1.5px) scale(0.75)",transformOrigin:"top left"},animated:{transition:e.transitions.create(["color","transform"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},filled:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 20px) scale(1)","&$marginDense":{transform:"translate(12px, 17px) scale(1)"},"&$shrink":{transform:"translate(12px, 10px) scale(0.75)","&$marginDense":{transform:"translate(12px, 7px) scale(0.75)"}}},outlined:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 20px) scale(1)","&$marginDense":{transform:"translate(14px, 12px) scale(1)"},"&$shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}}),{name:"MuiInputLabel"})(Qf),th=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.value,l=e.valueBuffer,c=e.variant,u=void 0===c?"indeterminate":c,d=bi(e,["classes","className","color","value","valueBuffer","variant"]),p=Bc(),f={},h={bar1:{},bar2:{}};if(("determinate"===u||"buffer"===u)&&void 0!==s){f["aria-valuenow"]=Math.round(s);var m=s-100;"rtl"===p.direction&&(m=-m),h.bar1.transform="translateX(".concat(m,"%)")}if("buffer"===u&&void 0!==l){var g=(l||0)-100;"rtl"===p.direction&&(g=-g),h.bar2.transform="translateX(".concat(g,"%)")}return o.createElement("div",vi({className:Cc(n.root,n["color".concat($c(a))],r,{determinate:n.determinate,indeterminate:n.indeterminate,buffer:n.buffer,query:n.query}[u]),role:"progressbar"},f,{ref:t},d),"buffer"===u?o.createElement("div",{className:Cc(n.dashed,n["dashedColor".concat($c(a))])}):null,o.createElement("div",{className:Cc(n.bar,n["barColor".concat($c(a))],("indeterminate"===u||"query"===u)&&n.bar1Indeterminate,{determinate:n.bar1Determinate,buffer:n.bar1Buffer}[u]),style:h.bar1}),"determinate"===u?null:o.createElement("div",{className:Cc(n.bar,("indeterminate"===u||"query"===u)&&n.bar2Indeterminate,"buffer"===u?[n["color".concat($c(a))],n.bar2Buffer]:n["barColor".concat($c(a))]),style:h.bar2}))})),nh=jc((function(e){var t=function(t){return"light"===e.palette.type?mi(t,.62):hi(t,.5)},n=t(e.palette.primary.main),r=t(e.palette.secondary.main);return{root:{position:"relative",overflow:"hidden",height:4},colorPrimary:{backgroundColor:n},colorSecondary:{backgroundColor:r},determinate:{},indeterminate:{},buffer:{backgroundColor:"transparent"},query:{transform:"rotate(180deg)"},dashed:{position:"absolute",marginTop:0,height:"100%",width:"100%",animation:"$buffer 3s infinite linear"},dashedColorPrimary:{backgroundImage:"radial-gradient(".concat(n," 0%, ").concat(n," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},dashedColorSecondary:{backgroundImage:"radial-gradient(".concat(r," 0%, ").concat(r," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0px -23px"},bar:{width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},barColorPrimary:{backgroundColor:e.palette.primary.main},barColorSecondary:{backgroundColor:e.palette.secondary.main},bar1Indeterminate:{width:"auto",animation:"$indeterminate1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite"},bar1Determinate:{transition:"transform .".concat(4,"s linear")},bar1Buffer:{zIndex:1,transition:"transform .".concat(4,"s linear")},bar2Indeterminate:{width:"auto",animation:"$indeterminate2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite",animationDelay:"1.15s"},bar2Buffer:{transition:"transform .".concat(4,"s linear")},"@keyframes indeterminate1":{"0%":{left:"-35%",right:"100%"},"60%":{left:"100%",right:"-90%"},"100%":{left:"100%",right:"-90%"}},"@keyframes indeterminate2":{"0%":{left:"-200%",right:"100%"},"60%":{left:"107%",right:"-8%"},"100%":{left:"107%",right:"-8%"}},"@keyframes buffer":{"0%":{opacity:1,backgroundPosition:"0px -23px"},"50%":{opacity:0,backgroundPosition:"0px -23px"},"100%":{opacity:1,backgroundPosition:"-200px -23px"}}}}),{name:"MuiLinearProgress"})(th),rh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"primary":i,s=e.component,l=void 0===s?"a":s,c=e.onBlur,u=e.onFocus,d=e.TypographyClasses,p=e.underline,f=void 0===p?"hover":p,h=e.variant,m=void 0===h?"inherit":h,g=bi(e,["classes","className","color","component","onBlur","onFocus","TypographyClasses","underline","variant"]),v=Vu(),y=v.isFocusVisible,b=v.onBlurVisible,x=v.ref,w=o.useState(!1),E=w[0],C=w[1],k=Cu(t,x);return o.createElement(Od,vi({className:Cc(n.root,n["underline".concat($c(f))],r,E&&n.focusVisible,{button:n.button}[l]),classes:d,color:a,component:l,onBlur:function(e){E&&(b(),C(!1)),c&&c(e)},onFocus:function(e){y(e)&&C(!0),u&&u(e)},ref:k,variant:m},g))}));jc({root:{},underlineNone:{textDecoration:"none"},underlineHover:{textDecoration:"none","&:hover":{textDecoration:"underline"}},underlineAlways:{textDecoration:"underline"},button:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle","-moz-appearance":"none","-webkit-appearance":"none","&::-moz-focus-inner":{borderStyle:"none"},"&$focusVisible":{outline:"auto"}},focusVisible:{}},{name:"MuiLink"})(rh);var oh=o.createContext({}),ih=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.component,s=void 0===a?"ul":a,l=e.dense,c=void 0!==l&&l,u=e.disablePadding,d=void 0!==u&&u,p=e.subheader,f=bi(e,["children","classes","className","component","dense","disablePadding","subheader"]),h=o.useMemo((function(){return{dense:c}}),[c]);return o.createElement(oh.Provider,{value:h},o.createElement(s,vi({className:Cc(r.root,i,c&&r.dense,!d&&r.padding,p&&r.subheader),ref:t},f),p,n))})),ah=jc({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(ih),sh="undefined"==typeof window?o.useEffect:o.useLayoutEffect,lh=o.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,i=e.autoFocus,a=void 0!==i&&i,s=e.button,c=void 0!==s&&s,u=e.children,d=e.classes,p=e.className,f=e.component,h=e.ContainerComponent,m=void 0===h?"li":h,g=e.ContainerProps,v=(g=void 0===g?{}:g).className,y=bi(g,["className"]),b=e.dense,x=e.disabled,w=void 0!==x&&x,E=e.disableGutters,C=void 0!==E&&E,k=e.divider,S=void 0!==k&&k,T=e.focusVisibleClassName,R=e.selected,N=void 0!==R&&R,M=bi(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),P=o.useContext(oh),D={dense:b||P.dense||!1,alignItems:r},L=o.useRef(null);sh((function(){a&&L.current&&L.current.focus()}),[a]);var I=o.Children.toArray(u),A=I.length&&Ef(I[I.length-1],["ListItemSecondaryAction"]),O=Cu(o.useCallback((function(e){L.current=l.findDOMNode(e)}),[]),t),q=vi({className:Cc(d.root,p,D.dense&&d.dense,!C&&d.gutters,S&&d.divider,w&&d.disabled,c&&d.button,"center"!==r&&d.alignItemsFlexStart,A&&d.secondaryAction,N&&d.selected),disabled:w},M),z=f||"li";return c&&(q.component=f||"div",q.focusVisibleClassName=Cc(d.focusVisible,T),z=Zu),A?(z=q.component||f?z:"div","li"===m&&("li"===z?z="div":"li"===q.component&&(q.component="div")),o.createElement(oh.Provider,{value:D},o.createElement(m,vi({className:Cc(d.container,v),ref:O},y),o.createElement(z,q,I),I.pop()))):o.createElement(oh.Provider,{value:D},o.createElement(z,vi({ref:O},q),I))})),ch=jc((function(e){return{root:{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",paddingTop:8,paddingBottom:8,"&$focusVisible":{backgroundColor:e.palette.action.selected},"&$selected, &$selected:hover":{backgroundColor:e.palette.action.selected},"&$disabled":{opacity:.5}},container:{position:"relative"},focusVisible:{},dense:{paddingTop:4,paddingBottom:4},alignItemsFlexStart:{alignItems:"flex-start"},disabled:{},divider:{borderBottom:"1px solid ".concat(e.palette.divider),backgroundClip:"padding-box"},gutters:{paddingLeft:16,paddingRight:16},button:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:e.palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},secondaryAction:{paddingRight:48},selected:{}}}),{name:"MuiListItem"})(lh),uh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=bi(e,["classes","className"]),a=o.useContext(oh);return o.createElement("div",vi({className:Cc(n.root,r,"flex-start"===a.alignItems&&n.alignItemsFlexStart),ref:t},i))}));jc({root:{minWidth:56,flexShrink:0},alignItemsFlexStart:{marginTop:8}},{name:"MuiListItemAvatar"})(uh);var dh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=bi(e,["classes","className"]),a=o.useContext(oh);return o.createElement("div",vi({className:Cc(n.root,r,"flex-start"===a.alignItems&&n.alignItemsFlexStart),ref:t},i))})),ph=jc((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(dh),fh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=bi(e,["classes","className"]);return o.createElement("div",vi({className:Cc(n.root,r),ref:t},i))}));fh.muiName="ListItemSecondaryAction",jc({root:{position:"absolute",right:16,top:"50%",transform:"translateY(-50%)"}},{name:"MuiListItemSecondaryAction"})(fh);var hh=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.className,a=e.disableTypography,s=void 0!==a&&a,l=e.inset,c=void 0!==l&&l,u=e.primary,d=e.primaryTypographyProps,p=e.secondary,f=e.secondaryTypographyProps,h=bi(e,["children","classes","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"]),m=o.useContext(oh).dense,g=null!=u?u:n;null==g||g.type===Od||s||(g=o.createElement(Od,vi({variant:m?"body2":"body1",className:r.primary,component:"span"},d),g));var v=p;return null==v||v.type===Od||s||(v=o.createElement(Od,vi({variant:"body2",className:r.secondary,color:"textSecondary"},f),v)),o.createElement("div",vi({className:Cc(r.root,i,m&&r.dense,c&&r.inset,g&&v&&r.multiline),ref:t},h),g,v)})),mh=jc({root:{flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},multiline:{marginTop:6,marginBottom:6},dense:{},inset:{paddingLeft:56},primary:{},secondary:{}},{name:"MuiListItemText"})(hh),gh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"default":i,s=e.component,l=void 0===s?"li":s,c=e.disableGutters,u=void 0!==c&&c,d=e.disableSticky,p=void 0!==d&&d,f=e.inset,h=void 0!==f&&f,m=bi(e,["classes","className","color","component","disableGutters","disableSticky","inset"]);return o.createElement(l,vi({className:Cc(n.root,r,"default"!==a&&n["color".concat($c(a))],h&&n.inset,!p&&n.sticky,!u&&n.gutters),ref:t},m))}));function vh(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function yh(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function bh(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function xh(e){return"function"==typeof e?e():e}jc((function(e){return{root:{boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:e.palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14)},colorPrimary:{color:e.palette.primary.main},colorInherit:{color:"inherit"},gutters:{paddingLeft:16,paddingRight:16},inset:{paddingLeft:72},sticky:{position:"sticky",top:0,zIndex:1,backgroundColor:"inherit"}}}),{name:"MuiListSubheader"})(gh);var wh=o.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,i=e.anchorOrigin,a=void 0===i?{vertical:"top",horizontal:"left"}:i,s=e.anchorPosition,c=e.anchorReference,u=void 0===c?"anchorEl":c,d=e.children,p=e.classes,f=e.className,h=e.container,m=e.elevation,g=void 0===m?8:m,v=e.getContentAnchorEl,y=e.marginThreshold,b=void 0===y?16:y,x=e.onEnter,w=e.onEntered,E=e.onEntering,C=e.onExit,k=e.onExited,S=e.onExiting,T=e.open,R=e.PaperProps,N=void 0===R?{}:R,M=e.transformOrigin,P=void 0===M?{vertical:"top",horizontal:"left"}:M,D=e.TransitionComponent,L=void 0===D?jf:D,I=e.transitionDuration,A=void 0===I?"auto":I,O=e.TransitionProps,q=void 0===O?{}:O,z=bi(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),F=o.useRef(),W=o.useCallback((function(e){if("anchorPosition"===u)return s;var t=xh(r),n=(t instanceof Np(t).Element?t:yp(F.current).body).getBoundingClientRect(),o=0===e?a.vertical:"center";return{top:n.top+vh(n,o),left:n.left+yh(n,a.horizontal)}}),[r,a.horizontal,a.vertical,s,u]),H=o.useCallback((function(e){var t=0;if(v&&"anchorEl"===u){var n=v(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}}return t}),[a.vertical,u,v]),B=o.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:vh(e,P.vertical)+t,horizontal:yh(e,P.horizontal)}}),[P.horizontal,P.vertical]),j=o.useCallback((function(e){var t=H(e),n={width:e.offsetWidth,height:e.offsetHeight},o=B(n,t);if("none"===u)return{top:null,left:null,transformOrigin:bh(o)};var i=W(t),a=i.top-o.vertical,s=i.left-o.horizontal,l=a+n.height,c=s+n.width,d=Np(xh(r)),p=d.innerHeight-b,f=d.innerWidth-b;if(a<b){var h=a-b;a-=h,o.vertical+=h}else if(l>p){var m=l-p;a-=m,o.vertical+=m}if(s<b){var g=s-b;s-=g,o.horizontal+=g}else if(c>f){var v=c-f;s-=v,o.horizontal+=v}return{top:"".concat(a,"px"),left:"".concat(s,"px"),transformOrigin:bh(o)}}),[r,u,W,H,B,b]),$=o.useCallback((function(e){var t=j(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}),[j]),V=o.useCallback((function(e){F.current=l.findDOMNode(e)}),[]),U=o.useMemo((function(){if(T)return Yp((function(){$(F.current)}))}),[T,$]);o.useImperativeHandle(n,(function(){return T?{updatePosition:U}:null}),[T,U]),o.useEffect((function(){if(U)return window.addEventListener("resize",U),function(){window.removeEventListener("resize",U),U.clear()}}),[U]);var _=A;"auto"!==A||L.muiSupportAuto||(_=void 0);var Y=h||(r?yp(xh(r)).body:void 0);return o.createElement(Wp,vi({container:Y,open:T,ref:t,BackdropProps:{invisible:!0},className:Cc(p.root,f)},z),o.createElement(L,vi({appear:!0,in:T,onEnter:x,onEntered:w,onExit:C,onExited:k,onExiting:S,timeout:_},q,{onEntering:Tp((function(e,t){E&&E(e,t),$(e)}),q.onEntering)}),o.createElement(Uc,vi({elevation:g,ref:V},N,{className:Cc(p.paper,N.className)}),d)))})),Eh=jc({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(wh);function Ch(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function kh(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Sh(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),void 0!==n&&(0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join(""))))}function Th(e,t,n,r,o){for(var i=!1,a=r(e,t,!!t&&n);a;){if(a===e.firstChild){if(i)return!1;i=!0}if(a.hasAttribute("tabindex")&&!a.disabled&&"true"!==a.getAttribute("aria-disabled")&&Sh(a,o))return a.focus(),!0;a=r(e,a,n)}return!1}var Rh="undefined"==typeof window?o.useEffect:o.useLayoutEffect,Nh=o.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,i=void 0!==r&&r,a=e.autoFocusItem,s=void 0!==a&&a,c=e.children,u=e.className,d=e.onKeyDown,p=e.disableListWrap,f=void 0!==p&&p,h=e.variant,m=void 0===h?"selectedMenu":h,g=bi(e,["actions","autoFocus","autoFocusItem","children","className","onKeyDown","disableListWrap","variant"]),v=o.useRef(null),y=o.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Rh((function(){i&&v.current.focus()}),[i]),o.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!v.current.style.width;if(e.clientHeight<v.current.clientHeight&&n){var r="".concat(Rp(),"px");v.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,v.current.style.width="calc(100% + ".concat(r,")")}return v.current}}}),[]);var b=Cu(o.useCallback((function(e){v.current=l.findDOMNode(e)}),[]),t),x=-1;o.Children.forEach(c,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===x)&&(x=t))}));var w=o.Children.map(c,(function(e,t){if(t===x){var n={};if(s&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),null!==n)return o.cloneElement(e,n)}return e}));return o.createElement(ah,vi({role:"menu",ref:b,className:u,onKeyDown:function(e){var t=v.current,n=e.key,r=yp(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Th(t,r,f,Ch);else if("ArrowUp"===n)e.preventDefault(),Th(t,r,f,kh);else if("Home"===n)e.preventDefault(),Th(t,null,f,Ch);else if("End"===n)e.preventDefault(),Th(t,null,f,kh);else if(1===n.length){var o=y.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);var s=r&&!o.repeating&&Sh(r,o);o.previousKeyMatched&&(s||Th(t,r,!1,Ch,o))?e.preventDefault():o.previousKeyMatched=!1}d&&d(e)},tabIndex:i?0:-1},g),w)})),Mh={vertical:"top",horizontal:"right"},Ph={vertical:"top",horizontal:"left"},Dh=o.forwardRef((function(e,t){var n=e.autoFocus,r=void 0===n||n,i=e.children,a=e.classes,s=e.disableAutoFocusItem,c=void 0!==s&&s,u=e.MenuListProps,d=void 0===u?{}:u,p=e.onClose,f=e.onEntering,h=e.open,m=e.PaperProps,g=void 0===m?{}:m,v=e.PopoverClasses,y=e.transitionDuration,b=void 0===y?"auto":y,x=e.variant,w=void 0===x?"selectedMenu":x,E=bi(e,["autoFocus","children","classes","disableAutoFocusItem","MenuListProps","onClose","onEntering","open","PaperProps","PopoverClasses","transitionDuration","variant"]),C=Bc(),k=r&&!c&&h,S=o.useRef(null),T=o.useRef(null),R=-1;o.Children.map(i,(function(e,t){o.isValidElement(e)&&(e.props.disabled||("menu"!==w&&e.props.selected||-1===R)&&(R=t))}));var N=o.Children.map(i,(function(e,t){return t===R?o.cloneElement(e,{ref:function(t){T.current=l.findDOMNode(t),Eu(e.ref,t)}}):e}));return o.createElement(Eh,vi({getContentAnchorEl:function(){return T.current},classes:v,onClose:p,onEntering:function(e,t){S.current&&S.current.adjustStyleForScrollbar(e,C),f&&f(e,t)},anchorOrigin:"rtl"===C.direction?Mh:Ph,transformOrigin:"rtl"===C.direction?Mh:Ph,PaperProps:vi({},g,{classes:vi({},g.classes,{root:a.paper})}),open:h,ref:t,transitionDuration:b},E),o.createElement(Nh,vi({onKeyDown:function(e){"Tab"===e.key&&(e.preventDefault(),p&&p(e,"tabKeyDown"))},actions:S,autoFocus:r&&(-1===R||c),autoFocusItem:k,variant:w},d,{className:Cc(a.list,d.className)}),N))})),Lh=jc({paper:{maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"},list:{outline:0}},{name:"MuiMenu"})(Dh),Ih=o.forwardRef((function(e,t){var n,r=e.classes,i=e.className,a=e.component,s=void 0===a?"li":a,l=e.disableGutters,c=void 0!==l&&l,u=e.role,d=void 0===u?"menuitem":u,p=e.selected,f=e.tabIndex,h=bi(e,["classes","className","component","disableGutters","role","selected","tabIndex"]);return e.disabled||(n=void 0!==f?f:-1),o.createElement(ch,vi({button:!0,role:d,tabIndex:n,component:s,selected:p,disableGutters:c,classes:{dense:r.dense},className:Cc(r.root,i,p&&r.selected,!c&&r.gutters),ref:t},h))})),Ah=jc((function(e){return{root:vi({},e.typography.body1,gi({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:vi({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(Ih),Oh=o.forwardRef((function(e,t){var n=e.activeStep,r=void 0===n?0:n,i=e.backButton,a=e.classes,s=e.className,l=e.LinearProgressProps,c=e.nextButton,u=e.position,d=void 0===u?"bottom":u,p=e.steps,f=e.variant,h=void 0===f?"dots":f,m=bi(e,["activeStep","backButton","classes","className","LinearProgressProps","nextButton","position","steps","variant"]);return o.createElement(Uc,vi({square:!0,elevation:0,className:Cc(a.root,a["position".concat($c(d))],s),ref:t},m),i,"text"===h&&o.createElement(o.Fragment,null,r+1," / ",p),"dots"===h&&o.createElement("div",{className:a.dots},rl(new Array(p)).map((function(e,t){return o.createElement("div",{key:t,className:Cc(a.dot,t===r&&a.dotActive)})}))),"progress"===h&&o.createElement(nh,vi({className:a.progress,variant:"determinate",value:Math.ceil(r/(p-1)*100)},l)),c)}));jc((function(e){return{root:{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:e.palette.background.default,padding:8},positionBottom:{position:"fixed",bottom:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionTop:{position:"fixed",top:0,left:0,right:0,zIndex:e.zIndex.mobileStepper},positionStatic:{},dots:{display:"flex",flexDirection:"row"},dot:{backgroundColor:e.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},dotActive:{backgroundColor:e.palette.primary.main},progress:{width:"50%"}}}),{name:"MuiMobileStepper"})(Oh);var qh=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disabled,a=e.IconComponent,s=e.inputRef,l=e.variant,c=void 0===l?"standard":l,u=bi(e,["classes","className","disabled","IconComponent","inputRef","variant"]);return o.createElement(o.Fragment,null,o.createElement("select",vi({className:Cc(n.root,n.select,n[c],r,i&&n.disabled),disabled:i,ref:s||t},u)),e.multiple?null:o.createElement(a,{className:Cc(n.icon,n["icon".concat($c(c))])}))})),zh=Fd(o.createElement("path",{d:"M7 10l5 5 5-5z"})),Fh=function(e){return{root:{},select:{"-moz-appearance":"none","-webkit-appearance":"none",userSelect:"none",borderRadius:0,minWidth:16,cursor:"pointer","&:focus":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)",borderRadius:0},"&::-ms-expand":{display:"none"},"&$disabled":{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:e.palette.background.paper}},filled:{},outlined:{borderRadius:e.shape.borderRadius},selectMenu:{height:"auto",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"},disabled:{},icon:{position:"absolute",right:0,top:"calc(50% - 12px)",color:e.palette.action.active,pointerEvents:"none"},iconOpen:{transform:"rotate(180deg)"},iconFilled:{right:7},iconOutlined:{right:7}}},Wh=o.createElement(Zf,null),Hh=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.IconComponent,a=void 0===i?zh:i,s=e.input,l=void 0===s?Wh:s,c=e.inputProps;e.variant;var u=bi(e,["children","classes","IconComponent","input","inputProps","variant"]),d=uf({props:e,muiFormControl:tp(),states:["variant"]});return o.cloneElement(l,vi({inputComponent:qh,select:!0,inputProps:vi({children:n,classes:r,IconComponent:a,variant:d.variant,type:void 0},c,{},l?l.props.inputProps:{}),ref:t},u))}));Hh.muiName="Select",jc(Fh,{name:"MuiNativeSelect"})(Hh);var Bh=o.forwardRef((function(e,t){e.children;var n=e.classes,r=e.className,i=e.labelWidth,a=e.notched,s=e.style,l=bi(e,["children","classes","className","labelWidth","notched","style"]),c="rtl"===Bc().direction?"right":"left",u=i>0?.75*i+8:0;return o.createElement("fieldset",vi({"aria-hidden":!0,style:vi(gi({},"padding".concat($c(c)),8+(a?0:u/2)),s),className:Cc(n.root,r),ref:t},l),o.createElement("legend",{className:n.legend,style:{width:a?u:.01}},o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),jh=jc((function(e){var t="rtl"===e.direction?"right":"left";return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:0,pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,transition:e.transitions.create(["padding-".concat(t),"border-color","border-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}}}),{name:"PrivateNotchedOutline"})(Bh),$h=o.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,i=void 0!==r&&r,a=e.inputComponent,s=void 0===a?"input":a,l=e.labelWidth,c=void 0===l?0:l,u=e.multiline,d=void 0!==u&&u,p=e.notched,f=e.type,h=void 0===f?"text":f,m=bi(e,["classes","fullWidth","inputComponent","labelWidth","multiline","notched","type"]);return o.createElement(bf,vi({renderSuffix:function(e){return o.createElement(jh,{className:n.notchedOutline,labelWidth:c,notched:void 0!==p?p:Boolean(e.startAdornment||e.filled||e.focused)})},classes:vi({},n,{root:Cc(n.root,n.underline),notchedOutline:null}),fullWidth:i,inputComponent:s,multiline:d,ref:t,type:h},m))}));$h.muiName="Input";var Vh=jc((function(e){var t="light"===e.palette.type?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{root:{position:"relative",borderRadius:e.shape.borderRadius,"&:hover $notchedOutline":{borderColor:e.palette.text.primary},"@media (hover: none)":{"&:hover $notchedOutline":{borderColor:t}},"&$focused $notchedOutline":{borderColor:e.palette.primary.main,borderWidth:2},"&$error $notchedOutline":{borderColor:e.palette.error.main},"&$disabled $notchedOutline":{borderColor:e.palette.action.disabled}},colorSecondary:{"&$focused $notchedOutline":{borderColor:e.palette.secondary.main}},focused:{},disabled:{},adornedStart:{paddingLeft:14},adornedEnd:{paddingRight:14},error:{},marginDense:{},multiline:{padding:"18.5px 14px","&$marginDense":{paddingTop:10.5,paddingBottom:10.5}},notchedOutline:{borderColor:t},input:{padding:"18.5px 14px","&:-webkit-autofill":{WebkitBoxShadow:"dark"===e.palette.type?"0 0 0 100px #266798 inset":null,WebkitTextFillColor:"dark"===e.palette.type?"#fff":null,borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputSelect:{paddingRight:24},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})($h),Uh="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,_h=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(Uh&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();
|
|
24
24
|
/**!
|
|
25
25
|
* @fileOverview Kickass library to create and place poppers near their reference elements.
|
|
26
26
|
* @version 1.16.0
|
|
@@ -44,4 +44,4 @@ Object.defineProperty(ki,"__esModule",{value:!0});var Si="function"==typeof Symb
|
|
|
44
44
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
45
45
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
46
46
|
* SOFTWARE.
|
|
47
|
-
*/var _h=Vh&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),Uh))}};function Yh(e){return e&&"[object Function]"==={}.toString.call(e)}function Kh(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Xh(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Gh(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Kh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:Gh(Xh(e))}function Zh(e){return e&&e.referenceNode?e.referenceNode:e}var Jh=Vh&&!(!window.MSInputMethodContext||!document.documentMode),Qh=Vh&&/MSIE 10/.test(navigator.userAgent);function em(e){return 11===e?Jh:10===e?Qh:Jh||Qh}function tm(e){if(!e)return document.documentElement;for(var t=em(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Kh(n,"position")?tm(n):n:e?e.ownerDocument.documentElement:document.documentElement}function nm(e){return null!==e.parentNode?nm(e.parentNode):e}function rm(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&tm(a.firstElementChild)!==a?tm(l):l;var c=nm(e);return c.host?rm(c.host,t):rm(e,nm(t).host)}function om(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function im(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=om(t,"top"),o=om(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function am(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function sm(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],em(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function lm(e){var t=e.body,n=e.documentElement,r=em(10)&&getComputedStyle(n);return{height:sm("Height",t,n,r),width:sm("Width",t,n,r)}}var cm=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},um=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),dm=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},pm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function fm(e){return pm({},e,{right:e.left+e.width,bottom:e.top+e.height})}function hm(e){var t={};try{if(em(10)){t=e.getBoundingClientRect();var n=om(e,"top"),r=om(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?lm(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var u=Kh(e);l-=am(u,"x"),c-=am(u,"y"),o.width-=l,o.height-=c}return fm(o)}function mm(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=em(10),o="HTML"===t.nodeName,i=hm(e),a=hm(t),s=Gh(e),l=Kh(t),c=parseFloat(l.borderTopWidth,10),u=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=fm({top:i.top-a.top-c,left:i.left-a.left-u,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!r&&o){var p=parseFloat(l.marginTop,10),f=parseFloat(l.marginLeft,10);d.top-=c-p,d.bottom-=c-p,d.left-=u-f,d.right-=u-f,d.marginTop=p,d.marginLeft=f}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=im(d,t)),d}function gm(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=mm(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:om(n),s=t?0:om(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return fm(l)}function vm(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Kh(e,"position"))return!0;var n=Xh(e);return!!n&&vm(n)}function ym(e){if(!e||!e.parentElement||em())return document.documentElement;for(var t=e.parentElement;t&&"none"===Kh(t,"transform");)t=t.parentElement;return t||document.documentElement}function bm(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?ym(e):rm(e,Zh(t));if("viewport"===r)i=gm(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Gh(Xh(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=mm(s,a,o);if("HTML"!==s.nodeName||vm(a))i=l;else{var c=lm(e.ownerDocument),u=c.height,d=c.width;i.top+=l.top-l.marginTop,i.bottom=u+l.top,i.left+=l.left-l.marginLeft,i.right=d+l.left}}var p="number"==typeof(n=n||0);return i.left+=p?n:n.left||0,i.top+=p?n:n.top||0,i.right-=p?n:n.right||0,i.bottom-=p?n:n.bottom||0,i}function xm(e){return e.width*e.height}function wm(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=bm(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return pm({key:e},s[e],{area:xm(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function Em(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?ym(t):rm(t,Zh(n));return mm(n,o,r)}function Cm(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function km(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function Sm(e,t,n){n=n.split("-")[0];var r=Cm(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[km(s)],o}function Tm(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Rm(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=Tm(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Yh(n)&&(t.offsets.popper=fm(t.offsets.popper),t.offsets.reference=fm(t.offsets.reference),t=n(t,e))})),t}function Nm(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Em(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=wm(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Sm(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Rm(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Pm(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Dm(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function Mm(){return this.state.isDestroyed=!0,Pm(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Dm("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Lm(e){var t=e.ownerDocument;return t?t.defaultView:window}function Im(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||Im(Gh(i.parentNode),t,n,r),r.push(i)}function Am(e,t,n,r){n.updateBound=r,Lm(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Gh(e);return Im(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function Om(){this.state.eventsEnabled||(this.state=Am(this.reference,this.options,this.state,this.scheduleUpdate))}function qm(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,Lm(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function zm(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Fm(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&zm(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Wm=Vh&&/Firefox/i.test(navigator.userAgent);function Hm(e,t,n){var r=Tm(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var Bm=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],jm=Bm.slice(3);function $m(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=jm.indexOf(e),r=jm.slice(n+1).concat(jm.slice(0,n));return t?r.reverse():r}var Vm="flip",Um="clockwise",_m="counterclockwise";function Ym(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(Tm(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return fm(s)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){zm(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var Km={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:dm({},l,i[l]),end:dm({},l,i[l]+i[c]-a[c])};e.offsets.popper=pm({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=zm(+n)?[+n,0]:Ym(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||tm(e.instance.popper);e.instance.reference===n&&(n=tm(n));var r=Dm("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=bm(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),dm({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),dm({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=pm({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Hm(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",h=Cm(r)[c];s[f]-h<a[d]&&(e.offsets.popper[d]-=a[d]-(s[f]-h)),s[d]+h>a[f]&&(e.offsets.popper[d]+=s[d]+h-a[f]),e.offsets.popper=fm(e.offsets.popper);var m=s[d]+s[c]/2-h/2,g=Kh(e.instance.popper),v=parseFloat(g["margin"+u],10),y=parseFloat(g["border"+u+"Width"],10),b=m-e.offsets.popper[d]-v-y;return b=Math.max(Math.min(a[c]-h,b),0),e.arrowElement=r,e.offsets.arrow=(dm(n={},d,Math.round(b)),dm(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Pm(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=bm(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=km(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Vm:a=[r,o];break;case Um:a=$m(r);break;case _m:a=$m(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=km(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&g),x=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&f||!y&&"start"===i&&g||!y&&"end"===i&&m),w=b||x;(p||v||w)&&(e.flipped=!0,(p||v)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=pm({},e.offsets.popper,Sm(e.instance.popper,e.offsets.reference,e.placement)),e=Rm(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=km(t),e.offsets.popper=fm(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Hm(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Tm(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=Tm(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=tm(e.instance.popper),l=hm(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2==c%2?i:a:s,f=t?i:s;return{left:p(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!Wm),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=Dm("transform"),h=void 0,m=void 0;if(m="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,h="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&f)c[f]="translate3d("+h+"px, "+m+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var g="bottom"===d?-1:1,v="right"===p?-1:1;c[d]=m*g,c[p]=h*v,c.willChange=d+", "+p}var y={"x-placement":e.placement};return e.attributes=pm({},y,e.attributes),e.styles=pm({},c,e.styles),e.arrowStyles=pm({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Fm(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Fm(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=Em(o,t,e,n.positionFixed),a=wm(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Fm(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Xm=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};cm(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=_h(this.update.bind(this)),this.options=pm({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(pm({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=pm({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return pm({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Yh(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return um(e,[{key:"update",value:function(){return Nm.call(this)}},{key:"destroy",value:function(){return Mm.call(this)}},{key:"enableEventListeners",value:function(){return Om.call(this)}},{key:"disableEventListeners",value:function(){return qm.call(this)}}]),e}();function Gm(e){return"function"==typeof e?e():e}Xm.Utils=("undefined"!=typeof window?window:global).PopperUtils,Xm.placements=Bm,Xm.Defaults=Km;var Zm="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,Jm={},Qm=o.forwardRef((function(e,t){var n=e.anchorEl,r=e.children,i=e.container,a=e.disablePortal,s=void 0!==a&&a,l=e.keepMounted,c=void 0!==l&&l,u=e.modifiers,d=e.open,p=e.placement,f=void 0===p?"bottom":p,h=e.popperOptions,m=void 0===h?Jm:h,g=e.popperRef,v=e.transition,y=void 0!==v&&v,b=yi(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition"]),x=o.useRef(null),w=Eu(x,t),E=o.useRef(null),C=Eu(E,g),k=o.useRef(C);Zm((function(){k.current=C}),[C]),o.useImperativeHandle(g,(function(){return E.current}),[]);var S=o.useState(!0),T=S[0],R=S[1],N=function(e){if("rtl"!==("undefined"!=typeof window&&document.body.getAttribute("dir")||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f),P=o.useState(N),D=P[0],M=P[1],L=o.useCallback((function(){if(x.current&&n&&d){E.current&&(E.current.destroy(),k.current(null));var e=function(e){M(e.placement)};Gm(n);var t=new Xm(Gm(n),x.current,gi({placement:N},m,{modifiers:gi({},s?{}:{preventOverflow:{boundariesElement:"window"}},{},u,{},m.modifiers),onCreate:Sp(e,m.onCreate),onUpdate:Sp(e,m.onUpdate)}));k.current(t)}}),[n,s,u,d,N,m]),I=o.useCallback((function(e){wu(w,e),L()}),[w,L]),A=function(){E.current&&(E.current.destroy(),k.current(null))};if(o.useEffect((function(){L()}),[L]),o.useEffect((function(){return function(){A()}}),[]),o.useEffect((function(){d||y||A()}),[d,y]),!c&&!d&&(!y||T))return null;var O={placement:D};return y&&(O.TransitionProps={in:d,onEnter:function(){R(!1)},onExited:function(){R(!0),A()}}),o.createElement(kp,{disablePortal:s,container:i},o.createElement("div",gi({ref:I,role:"tooltip"},b,{style:gi({position:"fixed",top:0,left:0},b.style)}),"function"==typeof r?r(O):r))})),eg=zd(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),tg=zd(o.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"})),ng=o.createElement(eg,null);var rg=Bc((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(e){var t=e.checked,n=e.classes;return o.createElement("div",{className:Ec(n.root,t&&n.checked)},ng,o.createElement(tg,{className:n.layer}))})),og=o.createContext(),ig=o.createElement(rg,{checked:!0}),ag=o.createElement(rg,null),sg=o.forwardRef((function(e,t){var n=e.checked,r=e.classes,i=e.color,a=void 0===i?"secondary":i,s=e.name,l=e.onChange,c=yi(e,["checked","classes","color","name","onChange"]),u=o.useContext(og),d=n,p=Sp(l,u&&u.onChange),f=s;return u&&(void 0===d&&(d=u.value===e.value),void 0===f&&(f=u.name)),o.createElement(op,gi({color:a,type:"radio",icon:ag,checkedIcon:ig,classes:{root:Ec(r.root,r["color".concat(jc(a))]),checked:r.checked,disabled:r.disabled},name:f,checked:d,onChange:p,ref:t},c))}));function lg(e,t){return"object"===xi(t)&&null!==t?e===t:String(e)===String(t)}Bc((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:pi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:pi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(sg),o.forwardRef((function(e,t){var n=e.actions,r=e.children,i=e.name,a=e.value,s=e.onChange,l=yi(e,["actions","children","name","value","onChange"]),c=o.useRef(null),u=o.useRef(null!=a).current,d=o.useState((function(){return u?null:e.defaultValue})),p=d[0],f=d[1];o.useImperativeHandle(n,(function(){return{focus:function(){var e=c.current.querySelector("input:not(:disabled):checked");e||(e=c.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var h={name:i,onChange:function(e){u||f(e.target.value),s&&s(e,e.target.value)},value:u?a:p},m=Eu(t,c);return o.createElement(Tf,gi({role:"radiogroup",ref:m},l),o.createElement(og.Provider,{value:h},r))})),o.Component;var cg=o.forwardRef((function(e,t){var n=e.autoFocus,r=e.autoWidth,i=e.children,a=e.classes,s=e.className,l=e.defaultValue,c=e.disabled,u=e.displayEmpty,d=e.labelId,p=e.IconComponent,f=e.inputRef,h=e.MenuProps,m=void 0===h?{}:h,g=e.multiple,v=e.name,y=e.onBlur,b=e.onChange,x=e.onClose,w=e.onFocus,E=e.onOpen,C=e.open,k=e.readOnly,S=e.renderValue;e.required;var T=e.SelectDisplayProps,R=void 0===T?{}:T,N=e.tabIndex;e.type;var P=e.value,D=e.variant,M=void 0===D?"standard":D,L=yi(e,["autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","labelId","IconComponent","inputRef","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","required","SelectDisplayProps","tabIndex","type","value","variant"]),I=o.useRef(null!=P).current,A=o.useState(l),O=A[0],q=A[1],z=I?P:O,F=o.useRef(null),W=o.useState(null),H=W[0],B=W[1],j=o.useRef(null!=C).current,$=o.useState(),V=$[0],U=$[1],_=o.useState(!1),Y=_[0],K=_[1],X=Eu(t,f);o.useImperativeHandle(X,(function(){return{focus:function(){H.focus()},node:F.current,value:z}}),[H,z]),o.useEffect((function(){n&&H&&H.focus()}),[n,H]);var G,Z,J=function(e,t){e?E&&E(t):(H.focus(),x&&x(t)),j||(U(r?null:H.clientWidth),K(e))},Q=function(e){return function(t){var n;if(g||J(!1,t),g){n=Array.isArray(z)?nl(z):[];var r=z.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;I||q(n),b&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:v}}),b(t,e))}},ee=null!==H&&(j?C:Y);delete L["aria-invalid"];var te=[],ne=!1;(mf({value:z})||u)&&(S?G=S(z):ne=!0);var re=o.Children.map(i,(function(e){if(!o.isValidElement(e))return null;var t;if(g){if(!Array.isArray(z))throw new Error("Material-UI: the `value` prop must be an array when using the `Select` component with `multiple`.");(t=z.some((function(t){return lg(t,e.props.value)})))&&ne&&te.push(e.props.children)}else(t=lg(z,e.props.value))&&ne&&(Z=e.props.children);return o.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:Q(e),role:"option",selected:t,value:void 0,"data-value":e.props.value})}));ne&&(G=g?te.join(", "):Z);var oe,ie=V;!r&&j&&H&&(ie=H.clientWidth),oe=void 0!==N?N:c?null:0;var ae=R.id||(v?"mui-component-select-".concat(v):void 0);return o.createElement(o.Fragment,null,o.createElement("div",gi({className:Ec(a.root,a.select,a.selectMenu,a[M],s,c&&a.disabled),ref:B,tabIndex:oe,role:"button","aria-expanded":ee?"true":void 0,"aria-labelledby":"".concat(d||""," ").concat(ae||""),"aria-haspopup":"listbox",onKeyDown:function(e){if(!k){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),J(!0,e))}},onClick:c||k?null:function(e){J(!0,e)},onBlur:function(e){!ee&&y&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:z,name:v}}),y(e))},onFocus:w},R,{id:ae}),function(e){return null==e||"string"==typeof e&&!e.trim()}(G)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):G),o.createElement("input",gi({value:Array.isArray(z)?z.join(","):z,name:v,ref:F,type:"hidden",autoFocus:n},L)),o.createElement(p,{className:Ec(a.icon,a["icon".concat(jc(M))],ee&&a.iconOpen)}),o.createElement(Mh,gi({id:"menu-".concat(v||""),anchorEl:H,open:ee,onClose:function(e){J(!1,e)}},m,{MenuListProps:gi({"aria-labelledby":d,role:"listbox",disableListWrap:!0},m.MenuListProps),PaperProps:gi({},m.PaperProps,{style:gi({minWidth:ie},null!=m.PaperProps?m.PaperProps.style:null)})}),re))})),ug=zh,dg=o.createElement(Gf,null),pg=o.createElement(xf,null),fg=o.forwardRef((function e(t,n){var r=t.autoWidth,i=void 0!==r&&r,a=t.children,s=t.classes,l=t.displayEmpty,c=void 0!==l&&l,u=t.IconComponent,d=void 0===u?qh:u,p=t.id,f=t.input,h=t.inputProps,m=t.labelId,g=t.MenuProps,v=t.multiple,y=void 0!==v&&v,b=t.native,x=void 0!==b&&b,w=t.onClose,E=t.onOpen,C=t.open,k=t.renderValue,S=t.SelectDisplayProps,T=t.variant,R=void 0===T?"standard":T,N=t.labelWidth,P=void 0===N?0:N,D=yi(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant","labelWidth"]),M=x?Oh:cg,L=cf({props:t,muiFormControl:ep(),states:["variant"]}).variant||R,I=f||{standard:dg,outlined:o.createElement($h,{labelWidth:P}),filled:pg}[L];return o.cloneElement(I,gi({inputComponent:M,select:!0,inputProps:gi({children:a,IconComponent:d,variant:L,type:void 0,multiple:y},x?{}:{autoWidth:i,displayEmpty:c,labelId:m,MenuProps:g,onClose:w,onOpen:E,open:C,renderValue:k,SelectDisplayProps:gi({id:p},S)},{},h,{classes:h?Ql({baseClasses:s,newClasses:h.classes,Component:e}):s},f?f.props.inputProps:{}),ref:n},D))}));fg.muiName="Select";var hg=Bc(ug,{name:"MuiSelect"})(fg);var mg=Bc((function(e){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:gi({zIndex:1},e.typography.body2,{fontSize:e.typography.pxToRem(12),lineHeight:1.2,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-34,left:"calc(-50% + -4px)",transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:e.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(e){var t=e.children,n=e.classes,r=e.className,i=e.open,a=e.value,s=e.valueLabelDisplay;return"off"===s?t:o.cloneElement(t,{className:Ec(t.props.className,(i||"on"===s)&&n.open,n.thumb)},o.createElement("span",{className:Ec(n.offset,r)},o.createElement("span",{className:n.circle},o.createElement("span",{className:n.label},a))))}));function gg(e,t){return e-t}function vg(e,t,n){return e<t?t:e>n?n:e}function yg(e,t){return e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null).index}function bg(e,t){if(void 0!==t.current&&e.changedTouches){for(var n=0;n<e.changedTouches.length;n+=1){var r=e.changedTouches[n];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function xg(e,t,n){return 100*(e-t)/(n-t)}function wg(e,t){var n=Math.round(e/t)*t;return Number(n.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function Eg(e){var t=e.values,n=e.source,r=e.newValue,o=e.index;if(t[o]===r)return n;var i=nl(t);return i[o]=r,i}function Cg(e){var t=e.sliderRef,n=e.activeIndex,r=e.setActive;t.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===n||t.current.querySelector('[data-index="'.concat(n,'"]')).focus(),r&&r(n)}var kg={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}},Sg=[],Tg=function(e){return e},Rg=o.forwardRef((function(e,t){var n=e["aria-label"],r=e["aria-labelledby"],i=e["aria-valuetext"],a=e.classes,s=e.className,l=e.color,c=void 0===l?"primary":l,u=e.component,d=void 0===u?"span":u,p=e.defaultValue,f=e.disabled,h=void 0!==f&&f,m=e.getAriaLabel,g=e.getAriaValueText,v=e.marks,y=void 0===v?Sg:v,b=e.max,x=void 0===b?100:b,w=e.min,E=void 0===w?0:w,C=e.name,k=e.onChange,S=e.onChangeCommitted,T=e.onMouseDown,R=e.orientation,N=void 0===R?"horizontal":R,P=e.step,D=void 0===P?1:P,M=e.ThumbComponent,L=void 0===M?"span":M,I=e.track,A=void 0===I?"normal":I,O=e.value,q=e.ValueLabelComponent,z=void 0===q?mg:q,F=e.valueLabelDisplay,W=void 0===F?"off":F,H=e.valueLabelFormat,B=void 0===H?Tg:H,j=yi(e,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),$=Hc(),V=o.useRef(null!=O).current,U=o.useRef(),_=o.useState(-1),Y=_[0],K=_[1],X=o.useState(-1),G=X[0],Z=X[1],J=o.useState(p),Q=J[0],ee=J[1],te=V?O:Q,ne=Array.isArray(te),re=o.useRef(),oe=ne?nl(te).sort(gg):[te];oe=oe.map((function(e){return vg(e,E,x)}));var ie=!0===y&&null!==D?nl(Array(Math.floor((x-E)/D)+1)).map((function(e,t){return{value:E+D*t}})):y;re.current={source:te};var ae=$u(),se=ae.isFocusVisible,le=ae.onBlurVisible,ce=ae.ref,ue=o.useState(-1),de=ue[0],pe=ue[1],fe=o.useRef(),he=Eu(ce,fe),me=Eu(t,he),ge=Mu((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));se(e)&&pe(t),Z(t)})),ve=Mu((function(){-1!==de&&(pe(-1),le()),Z(-1)})),ye=Mu((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));Z(t)})),be=Mu((function(){Z(-1)})),xe=Mu((function(e){var t,n=Number(e.currentTarget.getAttribute("data-index")),r=oe[n],o=(x-E)/10,i=ie.map((function(e){return e.value})),a=i.indexOf(r);switch(e.key){case"Home":t=E;break;case"End":t=x;break;case"PageUp":D&&(t=r+o);break;case"PageDown":D&&(t=r-o);break;case"ArrowRight":case"ArrowUp":t=D?r+D:i[a+1]||i[i.length-1];break;case"ArrowLeft":case"ArrowDown":t=D?r-D:i[a-1]||i[0];break;default:return}if(e.preventDefault(),D&&(t=wg(t,D)),t=vg(t,E,x),ne){var s=t;t=Eg({values:oe,source:te,newValue:t,index:n}).sort(gg),Cg({sliderRef:fe,activeIndex:t.indexOf(s)})}V||ee(t),pe(n),k&&k(e,t),S&&S(e,t)})),we=o.useRef(),Ee=N;"rtl"===$.direction&&"vertical"!==N&&(Ee+="-reverse");var Ce=o.useCallback((function(e){var t,n,r=e.finger,o=e.move,i=void 0!==o&&o,a=e.values,s=e.source,l=fe.current.getBoundingClientRect(),c=l.width,u=l.height,d=l.bottom,p=l.left;if(t=0===Ee.indexOf("vertical")?(d-r.y)/u:(r.x-p)/c,-1!==Ee.indexOf("-reverse")&&(t=1-t),n=function(e,t,n){return(n-t)*e+t}(t,E,x),D)n=wg(n,D);else{var f=ie.map((function(e){return e.value}));n=f[yg(f,n)]}n=vg(n,E,x);var h=0;if(ne){var m=n;h=(n=Eg({values:a,source:s,newValue:n,index:h=i?we.current:yg(a,n)}).sort(gg)).indexOf(m),we.current=h}return{newValue:n,activeIndex:h}}),[x,E,Ee,ne,D,ie]),ke=Mu((function(e){var t=bg(e,U);if(t){var n=Ce({finger:t,move:!0,values:oe,source:te}),r=n.newValue,o=n.activeIndex;Cg({sliderRef:fe,activeIndex:o,setActive:K}),V||ee(r),k&&k(e,r)}})),Se=Mu((function(e){var t=bg(e,U);if(t){var n=Ce({finger:t,values:oe,source:te}).newValue;K(-1),"touchend"===e.type&&Z(-1),S&&S(e,n),U.current=void 0,document.body.removeEventListener("mousemove",ke),document.body.removeEventListener("mouseup",Se),document.body.removeEventListener("mouseenter",Te),document.body.removeEventListener("touchmove",ke),document.body.removeEventListener("touchend",Se)}})),Te=Mu((function(e){0===e.buttons&&Se(e)})),Re=Mu((function(e){e.preventDefault();var t=e.changedTouches[0];null!=t&&(U.current=t.identifier);var n=bg(e,U),r=Ce({finger:n,values:oe,source:te}),o=r.newValue,i=r.activeIndex;Cg({sliderRef:fe,activeIndex:i,setActive:K}),V||ee(o),k&&k(e,o),document.body.addEventListener("touchmove",ke),document.body.addEventListener("touchend",Se)}));o.useEffect((function(){var e=fe.current;return e.addEventListener("touchstart",Re),function(){e.removeEventListener("touchstart",Re),document.body.removeEventListener("mousemove",ke),document.body.removeEventListener("mouseup",Se),document.body.removeEventListener("mouseenter",Te),document.body.removeEventListener("touchmove",ke),document.body.removeEventListener("touchend",Se)}}),[Te,Se,ke,Re]);var Ne=Mu((function(e){T&&T(e),e.preventDefault();var t=bg(e,U),n=Ce({finger:t,values:oe,source:te}),r=n.newValue,o=n.activeIndex;Cg({sliderRef:fe,activeIndex:o,setActive:K}),V||ee(r),k&&k(e,r),document.body.addEventListener("mousemove",ke),document.body.addEventListener("mouseenter",Te),document.body.addEventListener("mouseup",Se)})),Pe=xg(ne?oe[0]:E,E,x),De=xg(oe[oe.length-1],E,x)-Pe,Me=gi({},kg[Ee].offset(Pe),{},kg[Ee].leap(De));return o.createElement(d,gi({ref:me,className:Ec(a.root,a["color".concat(jc(c))],s,h&&a.disabled,ie.length>0&&ie.some((function(e){return e.label}))&&a.marked,!1===A&&a.trackFalse,{vertical:a.vertical}[N],{inverted:a.trackInverted}[A]),onMouseDown:Ne},j),o.createElement("span",{className:a.rail}),o.createElement("span",{className:a.track,style:Me}),o.createElement("input",{value:oe.join(","),name:C,type:"hidden"}),ie.map((function(e){var t,n=xg(e.value,E,x),r=kg[Ee].offset(n);if(!1===A)t=-1!==oe.indexOf(e.value);else{var i=ne?e.value>=oe[0]&&e.value<=oe[oe.length-1]:e.value<=oe[0];t=i&&"normal"===A||!i&&"inverted"===A}return o.createElement(o.Fragment,{key:e.value},o.createElement("span",{style:r,className:Ec(a.mark,t&&a.markActive)}),o.createElement("span",{"aria-hidden":!0,style:r,className:Ec(a.markLabel,t&&a.markLabelActive)},e.label))})),oe.map((function(e,t){var s=xg(e,E,x),l=kg[Ee].offset(s);return o.createElement(z,{key:t,valueLabelFormat:B,valueLabelDisplay:W,className:a.valueLabel,value:"function"==typeof B?B(e,t):B,index:t,open:G===t||Y===t||"on"===W,disabled:h},o.createElement(L,{className:Ec(a.thumb,a["thumbColor".concat(jc(c))],Y===t&&a.active,h&&a.disabled,de===t&&a.focusVisible),tabIndex:h?null:0,role:"slider",style:l,"data-index":t,"aria-label":m?m(t):n,"aria-labelledby":r,"aria-orientation":N,"aria-valuemax":x,"aria-valuemin":E,"aria-valuenow":e,"aria-valuetext":g?g(e,t):i,onKeyDown:xe,onFocus:ge,onBlur:ve,onMouseOver:ye,onMouseLeave:be}))})))}));Bc((function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"11px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 11px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?hi(e.palette.primary.main,.62):fi(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',left:-18,top:-18,right:-18,bottom:-18},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(pi(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(pi(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(pi(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(pi(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:gi({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:22,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:22,transform:"translateY(50%)"}}),markLabelActive:{color:e.palette.text.primary}}}),{name:"MuiSlider"})(Rg);var Ng=o.forwardRef((function(e,t){var n=e.action,r=e.classes,i=e.className,a=e.message,s=e.role,l=void 0===s?"alert":s,c=yi(e,["action","classes","className","message","role"]);return o.createElement(Vc,gi({component:Ad,variant:"body2",variantMapping:{body1:"div",body2:"div"},role:l,square:!0,elevation:6,className:Ec(r.root,i),ref:t},c),o.createElement("div",{className:r.message},a),n?o.createElement("div",{className:r.action},n):null)})),Pg=Bc((function(e){var t="light"===e.palette.type?.8:.98,n=di(e.palette.background.default,t);return{root:mi({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(Ng),Dg=o.forwardRef((function(e,t){var n=e.action,r=e.anchorOrigin,i=(r=void 0===r?{vertical:"bottom",horizontal:"center"}:r).vertical,a=r.horizontal,s=e.autoHideDuration,l=e.children,c=e.classes,u=e.className,d=e.ClickAwayListenerProps,p=e.ContentProps,f=e.disableWindowBlurListener,h=void 0!==f&&f,m=e.message,g=e.onClose,v=e.onEnter,y=e.onEntered,b=e.onEntering,x=e.onExit,w=e.onExited,E=e.onExiting,C=e.onMouseEnter,k=e.onMouseLeave,S=e.open,T=e.resumeHideDuration,R=e.TransitionComponent,N=void 0===R?Bf:R,P=e.transitionDuration,D=void 0===P?{enter:sa.enteringScreen,exit:sa.leavingScreen}:P,M=e.TransitionProps,L=yi(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),I=o.useRef(),A=o.useState(!0),O=A[0],q=A[1],z=o.useCallback((function(e){var t=null!=e?e:s;g&&null!=t&&(clearTimeout(I.current),I.current=setTimeout((function(){g&&null!=(null!=e?e:s)&&g(null,"timeout")}),t))}),[s,g]);o.useEffect((function(){return S&&z(),function(){clearTimeout(I.current)}}),[S,z]);var F=function(){clearTimeout(I.current)},W=o.useCallback((function(){if(null!=s){if(null!=T)return void z(T);z(.5*s)}}),[s,T,z]);return o.useEffect((function(){if(!h&&S)return window.addEventListener("focus",W),window.addEventListener("blur",F),function(){window.removeEventListener("focus",W),window.removeEventListener("blur",F)}}),[h,W,S]),!S&&O?null:o.createElement(bp,gi({onClickAway:function(e){g&&g(e,"clickaway")}},d),o.createElement("div",gi({className:Ec(c.root,c["anchorOrigin".concat(jc(i)).concat(jc(a))],u),onMouseEnter:function(e){C&&C(e),F()},onMouseLeave:function(e){k&&k(e),W()},ref:t},L),o.createElement(N,gi({appear:!0,in:S,onEnter:Sp((function(){q(!1)}),v),onEntered:y,onEntering:b,onExit:x,onExited:Sp((function(){q(!0)}),w),onExiting:E,timeout:D,direction:"top"===i?"down":"up"},M),l||o.createElement(Pg,gi({message:m,action:n},p)))))}));Bc((function(e){var t={top:8},n={bottom:8},r={justifyContent:"flex-end"},o={justifyContent:"flex-start"},i={top:24},a={bottom:24},s={right:24},l={left:24},c={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:gi({},t,mi({},e.breakpoints.up("sm"),gi({},i,{},c))),anchorOriginBottomCenter:gi({},n,mi({},e.breakpoints.up("sm"),gi({},a,{},c))),anchorOriginTopRight:gi({},t,{},r,mi({},e.breakpoints.up("sm"),gi({left:"auto"},i,{},s))),anchorOriginBottomRight:gi({},n,{},r,mi({},e.breakpoints.up("sm"),gi({left:"auto"},a,{},s))),anchorOriginTopLeft:gi({},t,{},o,mi({},e.breakpoints.up("sm"),gi({right:"auto"},i,{},l))),anchorOriginBottomLeft:gi({},n,{},o,mi({},e.breakpoints.up("sm"),gi({right:"auto"},a,{},l)))}}),{flip:!1,name:"MuiSnackbar"})(Dg);var Mg=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.alternativeLabel,a=e.children,s=e.classes,l=e.className,c=e.completed,u=void 0!==c&&c,d=e.connector,p=e.disabled,f=void 0!==p&&p,h=e.index,m=e.last,g=e.orientation,v=yi(e,["active","alternativeLabel","children","classes","className","completed","connector","disabled","index","last","orientation"]);return o.createElement("div",gi({className:Ec(s.root,s[g],l,i&&s.alternativeLabel,u&&s.completed),ref:t},v),d&&i&&0!==h&&o.cloneElement(d,{orientation:g,alternativeLabel:i,index:h,active:r,completed:u,disabled:f}),o.Children.map(a,(function(e){return o.isValidElement(e)?o.cloneElement(e,gi({active:r,alternativeLabel:i,completed:u,disabled:f,last:m,icon:h+1,orientation:g},e.props)):null})))}));Bc({root:{},horizontal:{paddingLeft:8,paddingRight:8},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}},{name:"MuiStep"})(Mg);var Lg=zd(o.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"})),Ig=zd(o.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})),Ag=o.createElement("circle",{cx:"12",cy:"12",r:"12"}),Og=o.forwardRef((function(e,t){var n=e.completed,r=void 0!==n&&n,i=e.icon,a=e.active,s=void 0!==a&&a,l=e.error,c=void 0!==l&&l,u=e.classes;return"number"==typeof i||"string"==typeof i?c?o.createElement(Ig,{className:Ec(u.root,u.error),ref:t}):r?o.createElement(Lg,{className:Ec(u.root,u.completed),ref:t}):o.createElement(qd,{className:Ec(u.root,s&&u.active),ref:t},Ag,o.createElement("text",{className:u.text,x:"12",y:"16",textAnchor:"middle"},i)):i})),qg=Bc((function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$active":{color:e.palette.primary.main},"&$completed":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}}),{name:"MuiStepIcon"})(Og),zg=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.alternativeLabel,a=void 0!==i&&i,s=e.children,l=e.classes,c=e.className,u=e.completed,d=void 0!==u&&u,p=e.disabled,f=void 0!==p&&p,h=e.error,m=void 0!==h&&h,g=e.icon;e.last;var v=e.optional,y=e.orientation,b=void 0===y?"horizontal":y,x=e.StepIconComponent,w=e.StepIconProps,E=yi(e,["active","alternativeLabel","children","classes","className","completed","disabled","error","icon","last","optional","orientation","StepIconComponent","StepIconProps"]),C=x;return g&&!C&&(C=qg),o.createElement("span",gi({className:Ec(l.root,l[b],c,f&&l.disabled,a&&l.alternativeLabel,m&&l.error),ref:t},E),g||C?o.createElement("span",{className:Ec(l.iconContainer,a&&l.alternativeLabel)},o.createElement(C,gi({completed:d,active:r,error:m,icon:g},w))):null,o.createElement("span",{className:l.labelContainer},o.createElement(Ad,{variant:"body2",component:"span",className:Ec(l.label,a&&l.alternativeLabel,d&&l.completed,r&&l.active,m&&l.error),display:"block"},s),v))}));zg.muiName="StepLabel";var Fg=Bc((function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{flexShrink:0,display:"flex",paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}}),{name:"MuiStepLabel"})(zg),Wg=o.forwardRef((function(e,t){var n=e.active,r=e.alternativeLabel,i=e.children,a=e.classes,s=e.className,l=e.completed,c=e.disabled,u=e.icon;e.last;var d=e.optional,p=e.orientation,f=yi(e,["active","alternativeLabel","children","classes","className","completed","disabled","icon","last","optional","orientation"]),h={active:n,alternativeLabel:r,completed:l,disabled:c,icon:u,optional:d,orientation:p},m=wf(i,["StepLabel"])?o.cloneElement(i,h):o.createElement(Fg,h,i);return o.createElement(Gu,gi({disabled:c,TouchRippleProps:{className:a.touchRipple},className:Ec(a.root,a[p],s),ref:t},f),m)}));Bc({root:{width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},horizontal:{},vertical:{justifyContent:"flex-start",padding:"8px",margin:"-8px"},touchRipple:{color:"rgba(0, 0, 0, 0.3)"}},{name:"MuiStepButton"})(Wg);var Hg=o.forwardRef((function(e,t){var n=e.active,r=e.alternativeLabel,i=void 0!==r&&r,a=e.classes,s=e.className,l=e.completed,c=e.disabled;e.index;var u=e.orientation,d=void 0===u?"horizontal":u,p=yi(e,["active","alternativeLabel","classes","className","completed","disabled","index","orientation"]);return o.createElement("div",gi({className:Ec(a.root,a[d],s,i&&a.alternativeLabel,n&&a.active,l&&a.completed,c&&a.disabled),ref:t},p),o.createElement("span",{className:Ec(a.line,"vertical"===d?a.lineVertical:a.lineHorizontal)}))})),Bg=Bc((function(e){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"},active:{},completed:{},disabled:{},line:{display:"block",borderColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}}),{name:"MuiStepConnector"})(Hg),jg=o.forwardRef((function(e,t){var n=e.active;e.alternativeLabel;var r=e.children,i=e.classes,a=e.className;e.completed;var s=e.last;e.optional,e.orientation;var l=e.TransitionComponent,c=void 0===l?wp:l,u=e.transitionDuration,d=void 0===u?"auto":u,p=e.TransitionProps,f=yi(e,["active","alternativeLabel","children","classes","className","completed","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]),h=d;return"auto"!==d||c.muiSupportAuto||(h=void 0),o.createElement("div",gi({className:Ec(i.root,a,s&&i.last),ref:t},f),o.createElement(c,gi({in:n,className:i.transition,timeout:h,unmountOnExit:!0},p),r))}));Bc((function(e){return{root:{marginTop:8,marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:"1px solid ".concat("light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600])},last:{borderLeft:"none"},transition:{}}}),{name:"MuiStepContent"})(jg);var $g=o.createElement(Bg,null),Vg=o.forwardRef((function(e,t){var n=e.activeStep,r=void 0===n?0:n,i=e.alternativeLabel,a=void 0!==i&&i,s=e.children,l=e.classes,c=e.className,u=e.connector,d=void 0===u?$g:u,p=e.nonLinear,f=void 0!==p&&p,h=e.orientation,m=void 0===h?"horizontal":h,g=yi(e,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),v=o.isValidElement(d)?o.cloneElement(d,{orientation:m}):null,y=o.Children.toArray(s),b=y.map((function(e,t){var n={alternativeLabel:a,connector:d,last:t+1===y.length,orientation:m},i={index:t,active:!1,completed:!1,disabled:!1};return r===t?i.active=!0:!f&&r>t?i.completed=!0:!f&&r<t&&(i.disabled=!0),[!a&&v&&0!==t&&o.cloneElement(v,gi({key:t},i)),o.cloneElement(e,gi({},n,{},i,{},e.props))]}));return o.createElement(Vc,gi({square:!0,elevation:0,className:Ec(l.root,l[m],c,a&&l.alternativeLabel),ref:t},g),b)}));Bc({root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}},{name:"MuiStepper"})(Vg);var Ug=o.forwardRef((function(e,t){var n=e.anchor,r=e.classes,i=e.className,a=e.width,s=yi(e,["anchor","classes","className","width"]);return o.createElement("div",gi({className:Ec(r.root,r["anchor".concat(jc(n))],i),ref:t,style:mi({},Zp(n)?"width":"height",a)},s))})),_g=Bc((function(e){return{root:{position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},anchorLeft:{right:"auto"},anchorRight:{left:"auto",right:0},anchorTop:{bottom:"auto",right:0},anchorBottom:{top:"auto",bottom:0,right:0}}}),{name:"PrivateSwipeArea"})(Ug),Yg=null;function Kg(e,t){return"right"===e?document.body.offsetWidth-t[0].pageX:t[0].pageX}function Xg(e,t){return"bottom"===e?window.innerHeight-t[0].clientY:t[0].clientY}function Gg(e,t){return e?t.clientWidth:t.clientHeight}function Zg(e,t,n,r){return Math.min(Math.max(n?t-e:r+t-e,0),r)}var Jg="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),Qg={enter:sa.enteringScreen,exit:sa.leavingScreen},ev="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;o.forwardRef((function(e,t){var n=e.anchor,r=void 0===n?"left":n,i=e.disableBackdropTransition,a=void 0!==i&&i,s=e.disableDiscovery,c=void 0!==s&&s,u=e.disableSwipeToOpen,d=void 0===u?Jg:u,p=e.hideBackdrop,f=e.hysteresis,h=void 0===f?.52:f,m=e.minFlingVelocity,g=void 0===m?450:m,v=e.ModalProps,y=(v=void 0===v?{}:v).BackdropProps,b=yi(v,["BackdropProps"]),x=e.onClose,w=e.onOpen,E=e.open,C=e.PaperProps,k=void 0===C?{}:C,S=e.SwipeAreaProps,T=e.swipeAreaWidth,R=void 0===T?20:T,N=e.transitionDuration,P=void 0===N?Qg:N,D=e.variant,M=void 0===D?"temporary":D,L=yi(e,["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"]),I=Hc(),A=o.useState(!1),O=A[0],q=A[1],z=o.useRef({isSwiping:null}),F=o.useRef(),W=o.useRef(),H=o.useRef(),B=o.useRef(!1),j=o.useRef();ev((function(){j.current=null}),[E]);var $=o.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,o=void 0===n?null:n,i=t.changeTransition,s=void 0===i||i,l=Jp(I,r),c=-1!==["right","bottom"].indexOf(l)?1:-1,u=Zp(r),d=u?"translate(".concat(c*e,"px, 0)"):"translate(0, ".concat(c*e,"px)"),f=H.current.style;f.webkitTransform=d,f.transform=d;var h="";if(o&&(h=I.transitions.create("all",xu({timeout:P},{mode:o}))),s&&(f.webkitTransition=h,f.transition=h),!a&&!p){var m=W.current.style;m.opacity=1-e/Gg(u,H.current),s&&(m.webkitTransition=h,m.transition=h)}}),[r,a,p,I,P]),V=Mu((function(e){if(B.current)if(Yg=null,B.current=!1,q(!1),z.current.isSwiping){z.current.isSwiping=null;var t,n=Jp(I,r),o=Zp(r);t=o?Kg(n,e.changedTouches):Xg(n,e.changedTouches);var i=o?z.current.startX:z.current.startY,a=Gg(o,H.current),s=Zg(t,i,E,a),l=s/a;Math.abs(z.current.velocity)>g&&(j.current=1e3*Math.abs((a-s)/z.current.velocity)),E?z.current.velocity>g||l>h?x():$(0,{mode:"exit"}):z.current.velocity<-g||1-l>h?w():$(Gg(o,H.current),{mode:"enter"})}else z.current.isSwiping=null})),U=Mu((function(e){if(H.current&&B.current&&(null==Yg||Yg===z.current)){var t=Jp(I,r),n=Zp(r),o=Kg(t,e.touches),i=Xg(t,e.touches);if(E&&H.current.contains(e.target)&&null==Yg){var a=function(e){var t=e.domTreeShapes,n=e.start,r=e.current,o=e.anchor,i={x:"scrollLeft",y:"scrollTop"},a={x:"scrollWidth",y:"scrollHeight"},s={x:"clientWidth",y:"clientHeight"};return t.some((function(e){var t=r>=n;"top"!==o&&"left"!==o||(t=!t);var l="left"===o||"right"===o?"x":"y",c=e[i[l]],u=c>0,d=c+e[s[l]]<e[a[l]];return t&&d||!t&&u?e:null}))}({domTreeShapes:function(e,t){for(var n=[];e&&e!==t;){var r=window.getComputedStyle(e);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")?n=[]:(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}(e.target,H.current),start:n?z.current.startX:z.current.startY,current:n?o:i,anchor:r});if(a)return void(Yg=a);Yg=z.current}if(null==z.current.isSwiping){var s=Math.abs(o-z.current.startX),l=Math.abs(i-z.current.startY);s>l&&e.cancelable&&e.preventDefault();var u=n?s>l&&s>3:l>s&&l>3;if(!0===u||(n?l>3:s>3)){if(z.current.isSwiping=u,!u)return void V(e);z.current.startX=o,z.current.startY=i,c||E||(n?z.current.startX-=R:z.current.startY-=R)}}if(z.current.isSwiping){var d=Gg(n,H.current),p=n?z.current.startX:z.current.startY;E&&!z.current.paperHit&&(p=Math.min(p,d));var f=Zg(n?o:i,p,E,d);if(E)if(z.current.paperHit)0===f&&(z.current.startX=o,z.current.startY=i);else{if(!(n?o<d:i<d))return;z.current.paperHit=!0,z.current.startX=o,z.current.startY=i}null===z.current.lastTranslate&&(z.current.lastTranslate=f,z.current.lastTime=performance.now()+1);var h=(f-z.current.lastTranslate)/(performance.now()-z.current.lastTime)*1e3;z.current.velocity=.4*z.current.velocity+.6*h,z.current.lastTranslate=f,z.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),$(f)}}})),_=Mu((function(e){if(!e.defaultPrevented&&!e.muiHandled&&(!E||W.current.contains(e.target)||H.current.contains(e.target))){var t=Jp(I,r),n=Zp(r),o=Kg(t,e.touches),i=Xg(t,e.touches);if(!E){if(d||e.target!==F.current)return;if(n){if(o>R)return}else if(i>R)return}e.muiHandled=!0,Yg=null,z.current.startX=o,z.current.startY=i,q(!0),!E&&H.current&&$(Gg(n,H.current)+(c?20:-R),{changeTransition:!1}),z.current.velocity=0,z.current.lastTime=null,z.current.lastTranslate=null,z.current.paperHit=!1,B.current=!0}}));o.useEffect((function(){if("temporary"===M)return document.body.addEventListener("touchstart",_),document.body.addEventListener("touchmove",U,{passive:!1}),document.body.addEventListener("touchend",V),function(){document.body.removeEventListener("touchstart",_),document.body.removeEventListener("touchmove",U,{passive:!1}),document.body.removeEventListener("touchend",V)}}),[M,_,U,V]),o.useEffect((function(){return function(){Yg===z.current&&(Yg=null)}}),[]),o.useEffect((function(){E||q(!1)}),[E]);var Y=o.useCallback((function(e){W.current=l.findDOMNode(e)}),[]),K=o.useCallback((function(e){H.current=l.findDOMNode(e)}),[]);return o.createElement(o.Fragment,null,o.createElement(tf,gi({open:!("temporary"!==M||!O)||E,variant:M,ModalProps:gi({BackdropProps:gi({},y,{ref:Y})},b),PaperProps:gi({},k,{style:gi({pointerEvents:"temporary"!==M||E?"":"none"},k.style),ref:K}),anchor:r,transitionDuration:j.current||P,onClose:x,ref:t},L)),!d&&"temporary"===M&&o.createElement(Iu,null,o.createElement(_g,gi({anchor:r,ref:F,width:R},S))))}));var tv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"secondary":i,s=e.edge,l=void 0!==s&&s,c=e.size,u=void 0===c?"medium":c,d=yi(e,["classes","className","color","edge","size"]),p=o.createElement("span",{className:n.thumb});return o.createElement("span",{className:Ec(n.root,r,{start:n.edgeStart,end:n.edgeEnd}[l],{small:n["size".concat(jc(u))]}[u])},o.createElement(op,gi({type:"checkbox",icon:p,checkedIcon:p,classes:{root:Ec(n.switchBase,n["color".concat(jc(a))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:t},d)),o.createElement("span",{className:n.track}))}));Bc((function(e){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle"},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),"&$checked":{transform:"translateX(50%)"},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===e.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:pi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:pi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}}),{name:"MuiSwitch"})(tv);var nv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disabled,a=void 0!==i&&i,s=e.disableFocusRipple,l=void 0!==s&&s,c=e.fullWidth,u=e.icon,d=e.indicator,p=e.label,f=e.onChange,h=e.onClick,m=e.selected,g=e.textColor,v=void 0===g?"inherit":g,y=e.value,b=e.wrapped,x=void 0!==b&&b,w=yi(e,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","selected","textColor","value","wrapped"]);return o.createElement(Gu,gi({focusRipple:!l,className:Ec(n.root,n["textColor".concat(jc(v))],r,a&&n.disabled,m&&n.selected,p&&u&&n.labelIcon,c&&n.fullWidth,x&&n.wrapped),ref:t,role:"tab","aria-selected":m,disabled:a,onClick:function(e){f&&f(e,y),h&&h(e)}},w),o.createElement("span",{className:n.wrapper},u,p),d)}));Bc((function(e){var t;return{root:gi({},e.typography.button,(t={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},mi(t,e.breakpoints.up("sm"),{padding:"6px 24px"}),mi(t,"overflow","hidden"),mi(t,"whiteSpace","normal"),mi(t,"textAlign","center"),mi(t,e.breakpoints.up("sm"),{fontSize:e.typography.pxToRem(13),minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}}),{name:"MuiTab"})(nv);var rv=o.createContext(),ov=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"table":i,s=e.padding,l=void 0===s?"default":s,c=e.size,u=void 0===c?"medium":c,d=e.stickyHeader,p=void 0!==d&&d,f=yi(e,["classes","className","component","padding","size","stickyHeader"]),h=o.useMemo((function(){return{padding:l,size:u,stickyHeader:p}}),[l,u,p]);return o.createElement(rv.Provider,{value:h},o.createElement(a,gi({ref:t,className:Ec(n.root,r,p&&n.stickyHeader)},f)))}));Bc((function(e){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":gi({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}}),{name:"MuiTable"})(ov);var iv=o.createContext(),av={variant:"body"},sv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tbody":i,s=yi(e,["classes","className","component"]);return o.createElement(iv.Provider,{value:av},o.createElement(a,gi({className:Ec(n.root,r),ref:t},s)))}));Bc({root:{display:"table-row-group"}},{name:"MuiTableBody"})(sv);var lv=o.forwardRef((function(e,t){var n,r=e.align,i=void 0===r?"inherit":r,a=e.classes,s=e.className,l=e.component,c=e.padding,u=e.scope,d=e.size,p=e.sortDirection,f=e.variant,h=yi(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),m=o.useContext(rv),g=o.useContext(iv);n=l||(g&&"head"===g.variant?"th":"td");var v=u;!v&&g&&"head"===g.variant&&(v="col");var y=c||(m&&m.padding?m.padding:"default"),b=d||(m&&m.size?m.size:"medium"),x=f||g&&g.variant,w=null;return p&&(w="asc"===p?"ascending":"descending"),o.createElement(n,gi({ref:t,className:Ec(a.root,a[x],s,"inherit"!==i&&a["align".concat(jc(i))],"default"!==y&&a["padding".concat(jc(y))],"medium"!==b&&a["size".concat(jc(b))],{head:m&&m.stickyHeader&&a.stickyHeader}[x]),"aria-sort":w,scope:v},h))})),cv=Bc((function(e){return{root:gi({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?hi(pi(e.palette.divider,1),.88):fi(pi(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0px 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(lv),uv={variant:"footer"},dv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tfoot":i,s=yi(e,["classes","className","component"]);return o.createElement(iv.Provider,{value:uv},o.createElement(a,gi({className:Ec(n.root,r),ref:t},s)))}));Bc({root:{display:"table-footer-group"}},{name:"MuiTableFooter"})(dv);var pv={variant:"head"},fv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"thead":i,s=yi(e,["classes","className","component"]);return o.createElement(iv.Provider,{value:pv},o.createElement(a,gi({className:Ec(n.root,r),ref:t},s)))}));Bc({root:{display:"table-header-group"}},{name:"MuiTableHead"})(fv);var hv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.disableGutters,l=void 0!==s&&s,c=e.variant,u=void 0===c?"regular":c,d=yi(e,["classes","className","component","disableGutters","variant"]);return o.createElement(a,gi({className:Ec(n.root,n[u],r,!l&&n.gutters),ref:t},d))})),mv=Bc((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:mi({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(hv),gv=zd(o.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})),vv=zd(o.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"})),yv=o.createElement(vv,null),bv=o.createElement(gv,null),xv=o.createElement(gv,null),wv=o.createElement(vv,null),Ev=o.forwardRef((function(e,t){var n=e.backIconButtonProps,r=e.count,i=e.nextIconButtonProps,a=e.onChangePage,s=e.page,l=e.rowsPerPage,c=yi(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage"]),u=Hc();return o.createElement("div",gi({ref:t},c),o.createElement(np,gi({onClick:function(e){a(e,s-1)},disabled:0===s,color:"inherit"},n),"rtl"===u.direction?yv:bv),o.createElement(np,gi({onClick:function(e){a(e,s+1)},disabled:s>=Math.ceil(r/l)-1,color:"inherit"},i),"rtl"===u.direction?xv:wv))})),Cv=function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(-1===n?r:n," of ").concat(r)},kv=[10,25,50,100],Sv=o.forwardRef((function(e,t){var n,r=e.ActionsComponent,i=void 0===r?Ev:r,a=e.backIconButtonProps,s=e.classes,l=e.className,c=e.colSpan,u=e.component,d=void 0===u?cv:u,p=e.count,f=e.labelDisplayedRows,h=void 0===f?Cv:f,m=e.labelRowsPerPage,g=void 0===m?"Rows per page:":m,v=e.nextIconButtonProps,y=e.onChangePage,b=e.onChangeRowsPerPage,x=e.page,w=e.rowsPerPage,E=e.rowsPerPageOptions,C=void 0===E?kv:E,k=e.SelectProps,S=void 0===k?{}:k,T=yi(e,["ActionsComponent","backIconButtonProps","classes","className","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);d!==cv&&"td"!==d||(n=c||1e3);var R=S.native?"option":Ih;return o.createElement(d,gi({className:Ec(s.root,l),colSpan:n,ref:t},T),o.createElement(mv,{className:s.toolbar},o.createElement("div",{className:s.spacer}),C.length>1&&o.createElement(Ad,{color:"inherit",variant:"body2",className:s.caption},g),C.length>1&&o.createElement(hg,gi({classes:{select:s.select,icon:s.selectIcon},input:o.createElement(yf,{className:Ec(s.input,s.selectRoot)}),value:w,onChange:b},S),C.map((function(e){return o.createElement(R,{className:s.menuItem,key:e,value:e.value?e.value:e},e.label?e.label:e)}))),o.createElement(Ad,{color:"inherit",variant:"body2",className:s.caption},h({from:0===p?0:x*w+1,to:Math.min(p,(x+1)*w),count:p,page:x})),o.createElement(i,{className:s.actions,backIconButtonProps:a,count:p,nextIconButtonProps:v,onChangePage:y,page:x,rowsPerPage:w})))}));Bc((function(e){return{root:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"},selectIcon:{top:1},input:{color:"inherit",fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:"MuiTablePagination"})(Sv);var Tv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tr":i,s=e.hover,l=void 0!==s&&s,c=e.selected,u=void 0!==c&&c,d=yi(e,["classes","className","component","hover","selected"]),p=o.useContext(iv);return o.createElement(a,gi({ref:t,className:Ec(n.root,r,p&&{head:n.head,footer:n.footer}[p.variant],l&&n.hover,u&&n.selected)},d))}));Bc((function(e){return{root:{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,"&$selected":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.04)":"rgba(255, 255, 255, 0.08)"},"&$hover:hover":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.07)":"rgba(255, 255, 255, 0.14)"}},selected:{},hover:{},head:{},footer:{}}}),{name:"MuiTableRow"})(Tv);var Rv=zd(o.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"})),Nv=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.children,a=e.classes,s=e.className,l=e.direction,c=void 0===l?"desc":l,u=e.hideSortIcon,d=void 0!==u&&u,p=e.IconComponent,f=void 0===p?Rv:p,h=yi(e,["active","children","classes","className","direction","hideSortIcon","IconComponent"]);return o.createElement(Gu,gi({className:Ec(a.root,s,r&&a.active),component:"span",disableRipple:!0,ref:t},h),i,d&&!r?null:o.createElement(f,{className:Ec(a.icon,a["iconDirection".concat(jc(c))])}))}));Bc((function(e){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:e.palette.text.secondary},"&:hover":{color:e.palette.text.secondary,"& $icon":{opacity:1}},"&$active":{color:e.palette.text.primary,"&& $icon":{opacity:1,color:e.palette.text.secondary}}},active:{},icon:{marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}}),{name:"MuiTableSortLabel"})(Nv);var Pv,Dv=!("undefined"==typeof window||!window.document||!window.document.createElement);function Mv(){if(Pv)return Pv;if(!Dv||!window.document.body)return"indeterminate";var e=window.document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),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),Pv="reverse",e.scrollLeft>0?Pv="default":(e.scrollLeft=1,0===e.scrollLeft&&(Pv="negative")),document.body.removeChild(e),Pv}function Lv(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;var r=Mv();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n}return n}function Iv(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var Av={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function Ov(e){var t=e.onChange,n=yi(e,["onChange"]),r=o.useRef(),i=o.useRef(null),a=function(){r.current=i.current.offsetHeight-i.current.clientHeight};return o.useEffect((function(){var e=_p((function(){var e=r.current;a(),e!==r.current&&t(r.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[t]),o.useEffect((function(){a(),t(r.current)}),[t]),o.createElement("div",gi({style:Av,ref:i},n))}var qv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=e.orientation,s=yi(e,["classes","className","color","orientation"]);return o.createElement("span",gi({className:Ec(n.root,n["color".concat(jc(i))],r,{vertical:n.vertical}[a]),ref:t},s))})),zv=Bc((function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}}),{name:"PrivateTabIndicator"})(qv),Fv=o.createElement(gv,{fontSize:"small"}),Wv=o.createElement(vv,{fontSize:"small"}),Hv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.direction,a=e.orientation,s=e.visible,l=yi(e,["classes","className","direction","orientation","visible"]),c=Ec(n.root,r,{vertical:n.vertical}[a]);return s?o.createElement(Gu,gi({component:"div",className:c,ref:t,role:null,tabIndex:null},l),"left"===i?Fv:Wv):o.createElement("div",{className:c})})),Bv=Bc({root:{width:40,flexShrink:0},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}}},{name:"PrivateTabScrollButton"})(Hv),jv=o.forwardRef((function(e,t){var n=e.action,r=e.centered,i=void 0!==r&&r,a=e.children,s=e.classes,l=e.className,c=e.component,u=void 0===c?"div":c,d=e.indicatorColor,p=void 0===d?"secondary":d,f=e.onChange,h=e.orientation,m=void 0===h?"horizontal":h,g=e.ScrollButtonComponent,v=void 0===g?Bv:g,y=e.scrollButtons,b=void 0===y?"auto":y,x=e.TabIndicatorProps,w=void 0===x?{}:x,E=e.textColor,C=void 0===E?"inherit":E,k=e.value,S=e.variant,T=void 0===S?"standard":S,R=yi(e,["action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","TabIndicatorProps","textColor","value","variant"]),N=Hc(),P="scrollable"===T,D="rtl"===N.direction,M="vertical"===m,L=M?"scrollTop":"scrollLeft",I=M?"top":"left",A=M?"bottom":"right",O=M?"clientHeight":"clientWidth",q=M?"height":"width",z=o.useState(!1),F=z[0],W=z[1],H=o.useState({}),B=H[0],j=H[1],$=o.useState({start:!1,end:!1}),V=$[0],U=$[1],_=o.useState({overflow:"hidden",marginBottom:null}),Y=_[0],K=_[1],X=new Map,G=o.useRef(null),Z=o.useRef(null),J=function(){var e,t,n=G.current;if(n){var r=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:Lv(n,N.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==k){var o=Z.current.children;if(o.length>0){var i=o[X.get(k)];t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},Q=Mu((function(){var e,t=J(),n=t.tabsMeta,r=t.tabMeta,o=0;if(r&&n)if(M)o=r.top-n.top+n.scrollTop;else{var i=D?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;o=r.left-n.left+i}var a=(mi(e={},I,o),mi(e,q,r?r[q]:0),e);if(isNaN(B[I])||isNaN(B[q]))j(a);else{var s=Math.abs(B[I]-a[I]),l=Math.abs(B[q]-a[q]);(s>=1||l>=1)&&j(a)}})),ee=function(e){!function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?Iv:i,s=r.duration,l=void 0===s?300:s,c=null,u=t[e],d=!1,p=function(){d=!0},f=function r(i){if(d)o(new Error("Animation cancelled"));else{null===c&&(c=i);var s=Math.min(1,(i-c)/l);t[e]=a(s)*(n-u)+u,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}};u===n?o(new Error("Element already at target position")):requestAnimationFrame(f)}(L,G.current,e)},te=function(e){var t=G.current[L];M?t+=e:(t+=e*(D?-1:1),t*=D&&"reverse"===Mv()?-1:1),ee(t)},ne=function(){te(-G.current[O])},re=function(){te(G.current[O])},oe=o.useCallback((function(e){K({overflow:null,marginBottom:-e})}),[]),ie=Mu((function(){var e=J(),t=e.tabsMeta,n=e.tabMeta;if(n&&t)if(n[I]<t[I]){var r=t[L]+(n[I]-t[I]);ee(r)}else if(n[A]>t[A]){var o=t[L]+(n[A]-t[A]);ee(o)}})),ae=Mu((function(){if(P&&"off"!==b){var e,t,n=G.current,r=n.scrollTop,o=n.scrollHeight,i=n.clientHeight,a=n.scrollWidth,s=n.clientWidth;if(M)e=r>1,t=r<o-i-1;else{var l=Lv(G.current,N.direction);e=D?l<a-s-1:l>1,t=D?l>1:l<a-s-1}e===V.start&&t===V.end||U({start:e,end:t})}}));o.useEffect((function(){var e=_p((function(){Q(),ae()})),t=Rp(G.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}),[Q,ae]);var se=o.useCallback(_p((function(){ae()})));o.useEffect((function(){return function(){se.clear()}}),[se]),o.useEffect((function(){W(!0)}),[]),o.useEffect((function(){Q(),ae()})),o.useEffect((function(){ie()}),[ie,B]),o.useImperativeHandle(n,(function(){return{updateIndicator:Q,updateScrollButtons:ae}}),[Q,ae]);var le=o.createElement(zv,gi({className:s.indicator,orientation:m,color:p},w,{style:gi({},B,{},w.style)})),ce=0,ue=o.Children.map(a,(function(e){if(!o.isValidElement(e))return null;var t=void 0===e.props.value?ce:e.props.value;X.set(t,ce);var n=t===k;return ce+=1,o.cloneElement(e,{fullWidth:"fullWidth"===T,indicator:n&&!F&&le,selected:n,onChange:f,textColor:C,value:t})})),de=function(){var e={};e.scrollbarSizeListener=P?o.createElement(Ov,{className:s.scrollable,onChange:oe}):null;var t=V.start||V.end,n=P&&("auto"===b&&t||"desktop"===b||"on"===b);return e.scrollButtonStart=n?o.createElement(v,{orientation:m,direction:D?"right":"left",onClick:ne,visible:V.start,className:Ec(s.scrollButtons,"on"!==b&&s.scrollButtonsDesktop)}):null,e.scrollButtonEnd=n?o.createElement(v,{orientation:m,direction:D?"left":"right",onClick:re,visible:V.end,className:Ec(s.scrollButtons,"on"!==b&&s.scrollButtonsDesktop)}):null,e}();return o.createElement(u,gi({className:Ec(s.root,l,M&&s.vertical),ref:t},R),de.scrollButtonStart,de.scrollbarSizeListener,o.createElement("div",{className:Ec(s.scroller,P?s.scrollable:s.fixed),style:Y,ref:G,onScroll:se},o.createElement("div",{className:Ec(s.flexContainer,M&&s.flexContainerVertical,i&&!P&&s.centered),ref:Z,role:"tablist"},ue),F&&le),de.scrollButtonEnd)}));Bc((function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:mi({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}}),{name:"MuiTabs"})(jv);var $v={standard:Gf,filled:xf,outlined:$h},Vv=o.forwardRef((function(e,t){var n=e.autoComplete,r=e.autoFocus,i=e.children,a=e.classes,s=e.className,c=e.color,u=void 0===c?"primary":c,d=e.defaultValue,p=e.error,f=e.FormHelperTextProps,h=e.fullWidth,m=e.helperText,g=e.hiddenLabel,v=e.id,y=e.InputLabelProps,b=e.inputProps,x=e.InputProps,w=e.inputRef,E=e.label,C=e.multiline,k=e.name,S=e.onBlur,T=e.onChange,R=e.onFocus,N=e.placeholder,P=e.required,D=void 0!==P&&P,M=e.rows,L=e.rowsMax,I=e.select,A=void 0!==I&&I,O=e.SelectProps,q=e.type,z=e.value,F=e.variant,W=void 0===F?"standard":F,H=yi(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]),B=o.useState(0),j=B[0],$=B[1],V=o.useRef(null);o.useEffect((function(){if("outlined"===W){var e=l.findDOMNode(V.current);$(null!=e?e.offsetWidth:0)}}),[W,D,E]);var U={};"outlined"===W&&(y&&void 0!==y.shrink&&(U.notched=y.shrink),U.labelWidth=j),A&&(O&&O.native||(U.id=void 0),U["aria-describedby"]=void 0);var _=m&&v?"".concat(v,"-helper-text"):void 0,Y=E&&v?"".concat(v,"-label"):void 0,K=$v[W],X=o.createElement(K,gi({"aria-describedby":_,autoComplete:n,autoFocus:r,defaultValue:d,fullWidth:h,multiline:C,name:k,rows:M,rowsMax:L,type:q,value:z,id:v,inputRef:w,onBlur:S,onChange:T,onFocus:R,placeholder:N,inputProps:b},U,x));return o.createElement(Cf,gi({className:Ec(a.root,s),error:p,fullWidth:h,hiddenLabel:g,ref:t,required:D,color:u,variant:W},H),E&&o.createElement(Qf,gi({htmlFor:v,ref:V,id:Y},y),E),A?o.createElement(hg,gi({"aria-describedby":_,id:v,labelId:Y,value:z,input:X},O),i):X,m&&o.createElement(Nf,gi({id:_},f),m))}));function Uv(e){return Math.round(1e5*e)/1e5}Bc({root:{}},{name:"MuiTextField"})(Vv);var _v=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.disableFocusListener,a=void 0!==i&&i,s=e.disableHoverListener,c=void 0!==s&&s,u=e.disableTouchListener,d=void 0!==u&&u,p=e.enterDelay,f=void 0===p?0:p,h=e.enterTouchDelay,m=void 0===h?700:h,g=e.id,v=e.interactive,y=void 0!==v&&v,b=e.leaveDelay,x=void 0===b?0:b,w=e.leaveTouchDelay,E=void 0===w?1500:w,C=e.onClose,k=e.onOpen,S=e.open,T=e.placement,R=void 0===T?"bottom":T,N=e.PopperProps,P=e.title,D=e.TransitionComponent,M=void 0===D?Bf:D,L=e.TransitionProps,I=yi(e,["children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperProps","title","TransitionComponent","TransitionProps"]),A=Hc(),O=o.useState(!1),q=O[0],z=O[1],F=o.useState(0)[1],W=o.useState(),H=W[0],B=W[1],j=o.useRef(!1),$=o.useRef(null!=S).current,V=o.useRef(),U=o.useRef(),_=o.useRef(),Y=o.useRef(),K=o.useRef();o.useEffect((function(){V.current||(V.current="mui-tooltip-".concat(Math.round(1e5*Math.random()))),S&&F((function(e){return!e}))}),[S]),o.useEffect((function(){return function(){clearTimeout(U.current),clearTimeout(_.current),clearTimeout(Y.current),clearTimeout(K.current)}}),[]);var X=function(e){$||q||z(!0),k&&k(e)},G=function(e){var t=n.props;"mouseover"===e.type&&t.onMouseOver&&t.onMouseOver(e),j.current&&"touchstart"!==e.type||(H&&H.removeAttribute("title"),clearTimeout(_.current),clearTimeout(Y.current),f?(e.persist(),_.current=setTimeout((function(){X(e)}),f)):X(e))},Z=$u(),J=Z.isFocusVisible,Q=Z.onBlurVisible,ee=Z.ref,te=o.useState(!1),ne=te[0],re=te[1],oe=function(e){$||z(!1),C&&C(e),clearTimeout(U.current),U.current=setTimeout((function(){j.current=!1}),A.transitions.duration.shortest)},ie=function(e){var t=n.props;"blur"===e.type&&(t.onBlur&&t.onBlur(e),ne&&(re(!1),Q())),"mouseleave"===e.type&&t.onMouseLeave&&t.onMouseLeave(e),clearTimeout(_.current),clearTimeout(Y.current),e.persist(),Y.current=setTimeout((function(){oe(e)}),x)},ae=Eu(B,t),se=Eu(ee,ae),le=o.useCallback((function(e){wu(se,l.findDOMNode(e))}),[se]),ce=Eu(n.ref,le),ue=$?S:q;""===P&&(ue=!1);var de=!ue&&!c,pe=gi({"aria-describedby":ue?g||V.current:null,title:de&&"string"==typeof P?P:null},I,{},n.props,{className:Ec(I.className,n.props.className)});d||(pe.onTouchStart=function(e){j.current=!0;var t=n.props;t.onTouchStart&&t.onTouchStart(e),clearTimeout(Y.current),clearTimeout(U.current),clearTimeout(K.current),e.persist(),K.current=setTimeout((function(){G(e)}),m)},pe.onTouchEnd=function(e){n.props.onTouchEnd&&n.props.onTouchEnd(e),clearTimeout(K.current),clearTimeout(Y.current),e.persist(),Y.current=setTimeout((function(){oe(e)}),E)}),c||(pe.onMouseOver=G,pe.onMouseLeave=ie),a||(pe.onFocus=function(e){H||B(e.currentTarget),J(e)&&(re(!0),G(e));var t=n.props;t.onFocus&&t.onFocus(e)},pe.onBlur=ie);var fe=y?{onMouseOver:pe.onMouseOver,onMouseLeave:pe.onMouseLeave,onFocus:pe.onFocus,onBlur:pe.onBlur}:{};return o.createElement(o.Fragment,null,o.cloneElement(n,gi({ref:ce},pe)),o.createElement(Qm,gi({className:Ec(r.popper,y&&r.popperInteractive),placement:R,anchorEl:H,open:!!H&&ue,id:pe["aria-describedby"],transition:!0},fe,N),(function(e){var t=e.placement,n=e.TransitionProps;return o.createElement(M,gi({timeout:A.transitions.duration.shorter},n,L),o.createElement("div",{className:Ec(r.tooltip,r["tooltipPlacement".concat(jc(t.split("-")[0]))],j.current&&r.touch)},P))})))}));Bc((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none",flip:!1},popperInteractive:{pointerEvents:"auto"},tooltip:{backgroundColor:pi(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(Uv(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(Uv(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:mi({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:mi({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:mi({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:mi({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip"})(_v);var Yv={entering:{transform:"none"},entered:{transform:"none"}},Kv={enter:sa.enteringScreen,exit:sa.leavingScreen};function Xv(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Gv({d:e,size:t,style:n={},viewBox:r="0 0 16 16"}){const i={fontSize:Xv(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",...n};return o.createElement("i",{style:i},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},o.createElement("path",{d:e})))}o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?Kv:l,u=yi(e,["children","in","onEnter","onExit","style","timeout"]),d=Hc(),p=Eu(n.ref,t);return o.createElement(tu,gi({appear:!0,in:r,onEnter:function(e,t){bu(e);var n=xu({style:s,timeout:c},{mode:"enter"});e.style.webkitTransition=d.transitions.create("transform",n),e.style.transition=d.transitions.create("transform",n),i&&i(e,t)},onExit:function(e){var t=xu({style:s,timeout:c},{mode:"exit"});e.style.webkitTransition=d.transitions.create("transform",t),e.style.transition=d.transitions.create("transform",t),a&&a(e)},timeout:c},u),(function(e,t){return o.cloneElement(n,gi({style:gi({transform:"scale(0)",visibility:"exited"!==e||r?void 0:"hidden"},Yv[e],{},s,{},n.props.style),ref:p},t))}))}));const Zv={d:"M15.9993744,3 L15.9993744,5 L4.99937445,5 L4.99937445,3 L15.9993744,3 Z M8.99937445,7 L15.9993744,7 L15.9993744,9 L8.99937445,9 L8.99937445,7 Z M11.9993744,11 L15.9993744,11 L15.9993744,13 L11.9993744,13 L11.9993744,11 Z M2.2,11 L7,11 L7,9.00369263 C7,8.89323568 7.08954305,8.80369263 7.2,8.80369263 C7.2549016,8.80369263 7.30738916,8.82626165 7.34515712,8.86610844 L10.1852182,11.8624926 C10.2583124,11.93961 10.258346,12.0604218 10.1852948,12.13758 L7.34523376,15.1373102 C7.2692928,15.2175206 7.14270711,15.2209817 7.06249671,15.1450407 C7.02260076,15.1072683 7,15.0547472 7,14.9998069 L7,12.9043747 C4.79351111,12.9043747 2.8018683,12.9266213 1.02507156,12.9711145 L1.02507252,12.9711526 C0.472939773,12.9849787 0.014139487,12.5485949 0.000313396522,11.9964622 C0.000104473692,11.988119 -1.32268838e-12,11.9797736 -1.3231638e-12,11.9714278 L-1.83320026e-12,3 L2,3 L2,10.8 C2,10.9104569 2.08954305,11 2.2,11 Z"},Jv={d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"},Qv="M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z",ey={d:"M2.4,4 L13.6,4 C13.7104569,4 13.8,4.08954305 13.8,4.2 C13.8,4.24327404 13.7859644,4.28538077 13.76,4.32 L8.16,11.7866667 C8.09372583,11.8750322 7.96836556,11.8929408 7.88,11.8266667 C7.86483887,11.8152958 7.85137085,11.8018278 7.84,11.7866667 L2.24,4.32 C2.17372583,4.23163444 2.19163444,4.10627417 2.28,4.04 C2.31461923,4.01403557 2.35672596,4 2.4,4 Z"},ty={d:"M4,13.6 L4,2.4 C4,2.28954305 4.08954305,2.2 4.2,2.2 C4.24327404,2.2 4.28538077,2.21403557 4.32,2.24 L11.7866667,7.84 C11.8750322,7.90627417 11.8929408,8.03163444 11.8266667,8.12 C11.8152958,8.13516113 11.8018278,8.14862915 11.7866667,8.16 L4.32,13.76 C4.23163444,13.8262742 4.10627417,13.8083656 4.04,13.72 C4.01403557,13.6853808 4,13.643274 4,13.6 Z"};function ny(e,t,n){(function({model:e,properties:t}){return e.modifiers?e.modifiers.apply({model:e,properties:t}):Promise.resolve()})({model:e,properties:n}).then((()=>{e.colorSupport&&e.colorSupport.colorByUpdater(n,"qHyperCubeDef.",e.layout);let r=qo.generate(t,n);r&&r.length&&(r=r.map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}))),e.applyPatches(r,!0))}))}function ry(e,t,n,r,o,i){e.getEffectiveProperties().then((a=>{const s=a.qHyperCubeDef[r].findIndex((e=>e.qDef.cId===t)),l=a.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r].findIndex((e=>e.qDef.cId===n)),c=J(!0,{},a),u=c.qHyperCubeDef[r][s],d=c.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][l];d.qAttributeDimensions=u.qAttributeDimensions,u.qAttributeDimensions=[],i||(d.qAttributeExpressions=u.qAttributeExpressions,u.qAttributeExpressions=[]),c.qHyperCubeDef[r][s]=d,c.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][l]=u,o&&o({oldItem:u,newItem:d,oldProperties:a,newProperties:c,model:e}),ny(e,a,c)}))}const oy=(e,t)=>{const n=[],r=[];return t.forEach((t=>{t.qCalcCondition.qCond.qv&&r.push(e.evaluate(t.qCalcCondition.qCond.qv).then((e=>{"0"===e&&n.push(t.qDef.cId)})))})),Promise.all(r).then((()=>n))};function iy({dir:e,dock:t,altList:n,model:r,translator:o,app:i,onChange:a}){return 0===n.length?null:{dir:e,dock:t,getAlternatives:()=>oy(i,n).then((e=>Promise.all(n.filter((t=>!e.includes(t.qDef.cId))).map((e=>function(e,t,n){if(e.qLibraryId)return t.getDimension(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null)).then((e=>e?"H"!==e.qDim.qGrouping&&e.qDim.qLabelExpression?e.qDim.qLabelExpression:e.qDim.title:n.get("Object.ErrorMessage.MissingDimension")));const r=e.qDef.qLabelExpression;if(r)return t.evaluate(r);const o=e.qDef.qFieldLabels[0]||e.qDef.qFieldDefs[0];return Promise.resolve(o)}(e,i,o).then((t=>({id:e.qDef.cId,selected:!1,title:t})))))))),changeTo(e,t){ry(r,e,t,"qDimensions",a)}}}function ay(e,t,n,r="/qHyperCubeDef"){return{breadcrumbs:e.qGroupFallbackTitles.slice(0,e.qGroupPos),drilldown:"H"===e.qGrouping,index:t,locked:!!e.qLocked,text:"H"===e.qGrouping?e.qGroupFallbackTitles[e.qGroupPos]:e.qFallbackTitle,popoverText:(o=e,"H"===o.qGrouping?o.title||"":o.qFallbackTitle||""),drillUp(e){n.drillUp(r,t,e)},id:e.cId};var o}function sy({altList:e,app:t,dir:n,dock:r,model:o,onChange:i,skipAttributeExpressions:a,translator:s}){return 0===e.length?null:{dir:n,dock:r,getAlternatives:()=>oy(t,e).then((n=>Promise.all(e.filter((e=>!n.includes(e.qDef.cId))).map((e=>function(e,t,n){if(e.qLibraryId)return t.getMeasure(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null)).then((e=>e?e.qMeasure.qLabelExpression?e.qMeasure.qLabelExpression:e.qMeasure.qLabel||e.qMeasure.qDef:n.get("Object.ErrorMessage.MissingMeasure")));const r=e.qDef.qLabelExpression;if(r)return t.evaluate(r);const o=e.qDef.qLabel||e.qDef.qDef;return Promise.resolve(o)}(e,t,s).then((t=>({id:e.qDef.cId,selected:!1,title:t})))))))),changeTo(e,t){ry(o,e,t,"qMeasures",i,a)}}}function ly(e,t){return{breadcrumbs:[],drilldown:!1,index:t,locked:!1,text:e.qFallbackTitle,popoverText:e.qFallbackTitle,id:e.cId}}const cy={bottom:{anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},top:{anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}},left:{anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}},right:{anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}}},uy=({children:e,...t})=>o.createElement($d,$({size:"small",disableRipple:!0,disableTouchRipple:!0},t),e);function dy(){function e({title:e,selected:t,onClick:n}){const r=de.detectTextDirection(e);return o.createElement(lh,{role:"menuitem",button:!0,onClick:n,style:{textAlign:"start"}},o.createElement(dh,{style:{minWidth:32}},o.createElement(Gv,{d:t?Qv:""})),o.createElement(hh,{primaryTypographyProps:{dir:r}},e))}function t({alignTo:t,changeTo:n,current:r,dir:i,dock:a,list:s,onClose:l,show:c,instruction:u}){const d=s.map((t=>o.createElement(e,{key:t.id,title:t.title,onClick:()=>n(t.id)})));return o.createElement(wh,$({anchorEl:t,open:c,onClose:l},cy[a],{PaperProps:{style:{minWidth:"250px",maxHeight:"300px"}}}),o.createElement(ih,{dense:!0,dir:i,"aria-label":u,component:"nav"},o.createElement(e,{title:r,selected:!0,onClick:l}),d))}e.propTypes={title:Yo.exports.string.isRequired,selected:Yo.exports.bool,onClick:Yo.exports.func.isRequired},e.defaultProps={selected:!1},t.propTypes={alignTo:Yo.exports.any,changeTo:Yo.exports.func.isRequired,current:Yo.exports.string.isRequired,dir:Yo.exports.string.isRequired,dock:Yo.exports.string.isRequired,list:Yo.exports.array,onClose:Yo.exports.func.isRequired,show:Yo.exports.bool.isRequired,instruction:Yo.exports.string.isRequired},t.defaultProps={list:[],alignTo:null};class n extends o.Component{constructor(e){super(e),this.state={open:!1,inSelection:e.selections&&e.selections.isActive(),hasValidAlternatives:!1},this.openPopover=this.openPopover.bind(this),this.closePopover=this.closePopover.bind(this),this.changeTo=this.changeTo.bind(this),this.alignToRef=o.createRef()}componentDidMount(){const{selections:e}=this.props;e&&(this.onSelectionsActivated=()=>this.setState({inSelection:!0}),this.onSelectionsDeactivated=()=>this.setState({inSelection:!1}),e.addListener("activated",this.onSelectionsActivated),e.addListener("deactivated",this.onSelectionsDeactivated),e.addListener("canceled",this.onSelectionsDeactivated))}componentDidUpdate(e,t){const{popover:n,supportConditional:r}=this.props;n&&r&&n.getAlternatives().then((e=>{t.hasValidAlternatives!==(0!==e.length)&&this.setState({hasValidAlternatives:0!==e.length})}))}componentWillUnmount(){const{selections:e}=this.props;e&&(e.removeListener("activated",this.onSelectionsActivated),e.removeListener("deactivated",this.onSelectionsDeactivated),e.removeListener("canceled",this.onSelectionsDeactivated))}changeTo(e){this.props.popover.changeTo(this.props.titleData.id,e),this.closePopover()}openPopover(){this.state.closeTime&&Date.now()-this.state.closeTime<20||this.props.popover.getAlternatives().then((e=>{this.setState({open:!0,alternatives:e})}))}closePopover(){this.setState({open:!1,closeTime:Date.now()})}render(){const{titleData:e,popover:n,translator:r,disabled:i,isDimension:a,padding:s,minWidth:l,hasAlternative:c,supportConditional:u}=this.props,d={flex:"1 1 auto",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:"normal",lineHeight:"normal",...this.props.style},p=e.breadcrumbs.length,f=i||this.state.inSelection,h=e.breadcrumbs.map(((t,n)=>o.createElement(uy,{style:{display:"flex",alignItems:"center",color:f&&"rgba(89, 89, 89, 0.8)",pointerEvents:f?"none":"auto",paddingTop:0,paddingBottom:0,height:"100%"},key:n,onClick:()=>f?void 0:e.drillUp(p-n),title:t},o.createElement("span",{style:d},t),o.createElement(Gv,$({},ty,{size:"small",style:{margin:"0 8px"}}))))),m=u?this.state.hasValidAlternatives:c,g=n&&!this.state.open?this.openPopover:this.closePopover,v=!n||i||this.state.inSelection,y={display:"flex",alignItems:"center",width:"100%",color:v&&"rgba(89, 89, 89, 0.8)",height:"100%",border:!a&&v&&"none",paddingTop:0,paddingBottom:0};this.state.open&&(y.background="rgba(0,0,0,0.08)");s&&(y.padding=s),l&&(y.minWidth=l);const b=de.detectTextDirection(e.text),x=o.createElement(uy,{"aria-label":r.get("Accessibility.Alternative.Instructions",[e.text]),style:y,onClick:v?void 0:g,title:e.text,tabIndex:v?-1:0,onFocus:v?void 0:e=>{e.currentTarget.style.boxShadow="0px 0px 0px 2px #177FE6 inset",e.currentTarget.style.borderRadius="2px"},onBlur:v?void 0:e=>{e.currentTarget.style.boxShadow="none",e.currentTarget.style.borderRadius="0px"},onMouseDown:e=>{e.preventDefault()}},e.locked&&o.createElement(Gv,$({},Jv,{size:"small",title:r.get("Tooltip.selections.locked")})),o.createElement("span",{style:d,dir:b},e.text),n&&m&&o.createElement(Gv,$({},ey,{size:"small",style:{margin:"0 8px"}})));return o.createElement(o.Fragment,null,e.drilldown&&o.createElement(Gv,$({},Zv,{size:"small",title:r.get("Tooltip.dimensions.drilldown"),style:{margin:"0 4px 0 0"}})),h,o.createElement("div",{ref:this.alignToRef,style:{overflow:"hidden",pointerEvents:m?"auto":"none",height:"100%"}},x),n&&m&&o.createElement(t,{dock:n.dock,dir:n.dir,current:e.popoverText,alignTo:this.alignToRef.current,show:this.state.open,list:this.state.alternatives,onClose:this.closePopover,changeTo:this.changeTo,instruction:r.get("Accessibility.Popover.Instructions")}))}}function r(e){return{top:"bottom",bottom:"top",left:"right",right:"left"}[e]}function i(e){return!e.isDimension&&ae(e,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures.length")>0}return n.propTypes={disabled:Yo.exports.bool.isRequired,padding:Yo.exports.string,minWidth:Yo.exports.string,titleData:Yo.exports.shape({breadcrumbs:Yo.exports.arrayOf(Yo.exports.string).isRequired,drilldown:Yo.exports.bool.isRequired,index:Yo.exports.number.isRequired,locked:Yo.exports.bool.isRequired,text:Yo.exports.string.isRequired,popoverText:Yo.exports.string.isRequired,drillUp:Yo.exports.func,id:Yo.exports.string.isRequired}).isRequired,popover:Yo.exports.shape({dir:Yo.exports.string.isRequired,dock:Yo.exports.string.isRequired,changeTo:Yo.exports.func.isRequired,getAlternatives:Yo.exports.func.isRequired}),translator:Yo.exports.shape({get:Yo.exports.func.isRequired}).isRequired,selections:Yo.exports.shape({isActive:Yo.exports.func,addListener:Yo.exports.func,removeListener:Yo.exports.func}),style:Yo.exports.shape({fontSize:Yo.exports.string,color:Yo.exports.string,fontFamily:Yo.exports.string}).isRequired,isDimension:Yo.exports.bool.isRequired,hasAlternative:Yo.exports.bool.isRequired,supportConditional:Yo.exports.bool.isRequired},n.defaultProps={popover:null,selections:null,padding:"",minWidth:""},{renderer:"react",disableTriggers:!0,preferredSize:function(){return this.settings.settings.isDimension||i(this.settings.settings)?28:20},render(){const{settings:{app:e,disabled:t,explicitItemInfos:a,hyperCube:s,hyperCubeDef:l,isDimension:c,minWidth:u,model:d,onChangeToAlternative:p,padding:f,rtl:h,selections:m,skipAttributeExpressions:g,translator:v,supportConditional:y=!1},layout:{dock:b}}=this.settings,x="top"!==b&&"bottom"!==b||!h?"ltr":"rtl",w=function(e,t){const n={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",height:"100%"};return"left"===e?(n.width=t.height+"px",n.height=t.width+"px",n.transform=`rotate(-90deg) translate(-${t.height}px, 0)`,n.transformOrigin="top left"):"right"===e&&(n.width=t.height+"px",n.height=t.width+"px",n.transform=`rotate(90deg) translate(0, -${t.width}px)`,n.transformOrigin="top left"),n}(b,this.rect),E=l&&l.qLayoutExclude&&l.qLayoutExclude.qHyperCubeDef,C=E&&E[c?"qDimensions":"qMeasures"]||[],k=a||s[c?"qDimensionInfo":"qMeasureInfo"],S=c?iy:sy,T=c?ay:ly,R=d&&d.colorSupport&&d.modifiers&&S({altList:C,app:e,dir:h?"rtl":"ltr",dock:r(b),model:d,onChange:p,skipAttributeExpressions:g,translator:v}),N=(P=this.settings.settings).isDimension&&ae(P,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions.length")>0||i(this.settings.settings);var P;const D=k.map(((e,r)=>{const i="number"==typeof e.explicitColumn?e.explicitColumn:r,a=T(e,i,d),s=r===k.length-1;return o.createElement(o.Fragment,{key:e.cId},o.createElement(n,{popover:R,titleData:a,model:d,translator:v,selections:m,disabled:t(),style:this.style,isDimension:c,padding:f,minWidth:u,hasAlternative:N,supportConditional:y}),!s&&o.createElement("span",{style:{lineHeight:"normal",...this.style}},", "))}));return o.createElement("div",{style:w,dir:x},D)}}}const py=da({palette:{text:{primary:"rgba(89, 89, 89, 0.8)",secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{disabled:"rgba(0, 0, 0, 0.3)"}},typography:{fontFamily:'"Source Sans Pro", "Arial", "sans-serif"',button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},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)"],props:{MuiButtonBase:{disableRipple:!0}}});const fy=ha({productionPrefix:"qfc20",disableGlobal:!0,seed:""});function hy(){function e({x:e,y:t,width:n,height:r,scaleRatio:o,margin:i}={}){const a={x:0,y:0,width:0,height:0,scaleRatio:{x:1,y:1},margin:{left:0,top:0}};return a.x=Number.isNaN(e)?a.x:e,a.y=Number.isNaN(t)?a.y:t,a.width=Number.isNaN(n)?a.width:n,a.height=Number.isNaN(r)?a.height:r,void 0!==o&&(a.scaleRatio.x=Number.isNaN(o.x)?a.scaleRatio.x:o.x,a.scaleRatio.y=Number.isNaN(o.y)?a.scaleRatio.y:o.y),void 0!==i&&(a.margin.left=Number.isNaN(i.left)?0:i.left,a.margin.top=Number.isNaN(i.top)?0:i.top),a}return function(t={}){const{createElement:n=document.createElement.bind(document)}=t;let r,i=e();const a={element:()=>r,root:()=>r,appendTo:e=>(r||(r=n("div"),r.style.position="absolute",r.style["-webkit-font-smoothing"]="antialiased",r.style["-moz-osx-font-smoothing"]="antialiased",r.style.pointerEvents="none"),e.appendChild(r),r),render(e){if(!r)return!1;const t=i.scaleRatio.x,n=i.scaleRatio.y;return r.style.left=Math.round(i.margin.left+i.x*t)+"px",r.style.top=Math.round(i.margin.top+i.y*n)+"px",r.style.width=Math.round(i.width)+"px",r.style.height=Math.round(i.height)+"px",r.style.transform=`scale(${t}, ${n})`,r.style.transformOrigin="top left",l.render(function(e,t){return o.createElement(cc,{generateClassName:t},o.createElement(zc,{theme:py},e))}(e,fy),r),!0},itemsAt:()=>[],findShapes:()=>[],clear:()=>(r&&l.unmountComponentAtNode(r),a),destroy(){r&&r.parentElement&&(l.unmountComponentAtNode(r),r.parentElement.removeChild(r)),r=null},size:t=>(t&&(i=e(t)),i)};return a}}function my(){return function(e){e.renderer("react",hy()),e.component("data-title",dy()),e.component("disclaimer",function(){class e extends o.Component{render(){const{label:e,spanStyle:t}=this.props;return o.createElement(o.Fragment,null,o.createElement("span",{ref:this.alignToRef,style:t,title:e},e))}}return e.propTypes={label:Yo.exports.string.isRequired,spanStyle:Yo.exports.shape().isRequired},{renderer:"react",disableTriggers:!0,preferredSize:function(){return 22},render(){const{settings:{label:t,rtl:n},layout:{dock:r},style:i={}}=this.settings,a="top"!==r&&"bottom"!==r||!n?"ltr":"rtl",s=function(e,t,n){const r={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",color:"#7b7a78",fontStyle:"italic",fontSize:"13px",fontFamily:e.fontFamily||'"Source Sans Pro", "Arial", "sans-serif"'};switch(t){case"left":r.width=n.height+"px",r.transform=`rotate(-90deg) translate(-${n.height}px, 0)`,r.transformOrigin="top left";break;case"right":r.width=n.height+"px",r.transform=`rotate(90deg) translate(0, -${n.width}px)`,r.transformOrigin="top left";break;case"center":r.width=n.width+"px",r.height=n.height+"px",r.color="#595959",r.fontStyle="normal",r.fontSize="1.2em",r.textAlign="center";break;default:case"top":case"bottom":r.justifyContent="flex-start",r.alignItems="flex-start"}return r}(i,r,this.rect),l="center"===r?t:"* "+t,c="center"!==r?{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}:{};return o.createElement("div",{style:s,dir:a},o.createElement(o.Fragment,null,o.createElement(e,{label:l,spanStyle:c})))}}}())}}function gy(e){return at(e).l<70}function vy(e,t){const n=at(e).l/100,r=at(t).l/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function yy(e,t){return{x:t.x+e.r*Math.sin(e.a),y:t.y-e.r*Math.cos(e.a)}}var by={require:["chart","settings"],defaultSettings:{settings:{},style:{}},render(){return function({chart:e,settings:t}){const n=e.component(t.component);if(!n)return[];const r=e.findShapes(t.selector).filter((e=>e.key===t.component));if(r.length<2)return[];if(n.settings.settings.slice.cornerRadius>0||n.settings.settings.slice.strokeWidth>0)return[];const o=[];let i=r[r.length-1];for(let e=0;e<r.length;e+=1){const t=r[e],n=i.attrs.fill,a=t.attrs.fill;if(vy(a,n)<=1.2){const{start:e,offset:n}=t.desc.slice;let{innerRadius:r,outerRadius:s}=t.desc.slice;if(r=Math.max(r,i.desc.slice.innerRadius),s=Math.min(s,i.desc.slice.outerRadius),s>r){const t=yy({r:s,a:e},n),i=yy({r:r,a:e},n);o.push({type:"line",x1:t.x,y1:t.y,x2:i.x,y2:i.y,strokeWidth:1,opacity:.4,stroke:gy(a)?"#ccc":"#333"})}}i=t}return o}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function xy(e,t=!0){let n="";for(let t=0;t<e.length;t++){const r=e[t];n+=0===t?`M${r.x} ${r.y}`:`L${r.x} ${r.y}`,n+=" "}return t&&(n+="Z"),n}function wy(e){const{size:t,angle:n}=e,r={x:e.x,y:e.y},o=t/2,i=e.x-o,a=e.y-o;let s=[{x:i,y:a+t},{x:i+o,y:a},{x:i+t,y:a+t},{x:i,y:a+t}];return s=s.map((e=>function(e,t,n={x:0,y:0}){const r=Math.cos(t),o=Math.sin(t),i=(s=n,{x:(a=e).x-s.x,y:a.y-s.y});var a,s;return function(e,t){return{x:e.x+t.x,y:e.y+t.y}}({x:r*i.x-o*i.y,y:o*i.x+r*i.y},n)}(e,n,r))),{type:"path",fill:e.fill,d:xy(s)}}var Ey={require:["chart"],defaultSettings:{settings:{},style:{}},render(){return function({chart:e,settings:t}){if(!e.component(t.component))return[];const n=e.findShapes(t.selector).filter((e=>e.key===t.component));if(n.length<2)return[];const r=[];for(let e=0;e<n.length;e+=1){const a=n[e];if(a.data.radius.value<0){const{start:e,end:n,offset:s}=a.desc.slice,l=(e+n)/2,c=(o={r:t.offset,a:l},{x:(i=s).x+o.r*Math.sin(o.a),y:i.y-o.r*Math.cos(o.a)}),u=wy({size:t.size,fill:t.fill,angle:l+Math.PI,...c});u.data={...a.data,_share:a.desc.share,_fillColor:a.attrs.fill},r.push(u)}}var o,i;return r}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function Cy(){const e=n();return e.use(r),e.use(function(e){if("function"!=typeof e.interaction)return function(t){t.interaction("hammer",j(e))};e.interaction("hammer",j(Hammer))}(t)),e.use(my()),e.component("pie-dividers",by),e.component("negative-indicators",Ey),e}var ky={};function Sy(){Sy.init.call(this)}ky.isObject=function(e){return"object"==typeof e&&null!==e},ky.isNumber=function(e){return"number"==typeof e},ky.isUndefined=function(e){return void 0===e},ky.isFunction=function(e){return"function"==typeof e};var Ty=Sy;Sy.EventEmitter=Sy,Sy.prototype._events=void 0,Sy.prototype._maxListeners=void 0,Sy.defaultMaxListeners=10,Sy.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},Sy.prototype.setMaxListeners=function(e){if(!ky.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},Sy.prototype.emit=function(e){var t,n,r,o,i,a;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],ky.isUndefined(n))return!1;if(ky.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];n.apply(this,o)}else if(ky.isObject(n)){for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];for(r=(a=n.slice()).length,i=0;i<r;i++)a[i].apply(this,o)}return!0},Sy.prototype.addListener=function(e,t){var n;if(!ky.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,ky.isFunction(t.listener)?t.listener:t),this._events[e]?ky.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,ky.isObject(this._events[e])&&!this._events[e].warned)&&((n=ky.isUndefined(this._maxListeners)?Sy.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,ky.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),ky.isFunction(console.trace)&&console.trace()));return this},Sy.prototype.on=Sy.prototype.addListener,Sy.prototype.once=function(e,t){if(!ky.isFunction(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},Sy.prototype.removeListener=function(e,t){var n,r,o,i;if(!ky.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(n=this._events[e]).length,r=-1,n===t||ky.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(ky.isObject(n)){for(i=o;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){r=i;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},Sy.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],ky.isFunction(n))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},Sy.prototype.listeners=function(e){return this._events&&this._events[e]?ky.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},Sy.listenerCount=function(e,t){return e._events&&e._events[t]?ky.isFunction(e._events[t])?1:e._events[t].length:0};function Ry(){const e={};var t;return t=e,Object.keys(Ty.prototype).forEach((e=>{t[e]=Ty.prototype[e]})),Ty.init(t),e.lasso={active:()=>!1},e.select={on:e.on,removeListener:e.removeListener},e}const Ny={CUSTOM:{EXPRESSION:"customTooltipExpression",TITLE:"customTooltipTitle",DESCRIPTION:"customTooltipDescription",QUARANTINE:"customTooltip",IMAGES:"customTooltipImages"},CHART:{CONTAINER_ID:"tooltipContainerId",STATE:"customTooltipSessionState",CHART_OBJECT_ID:"customTooltipSessionObjectId",CHART_PARENT_TYPE:"TooltipChartParent",CHART_CHILD_TYPE:"TooltipChart",STYLE:{small:"140px",medium:"200px",large:"340px"}}};function Py(e){const t=e.split("/");return"qmem:"===t[0]&&""===t[1]}const Dy={getImageSize(e,t){let n;function r(){n&&(clearTimeout(n),n=null)}function o(e){const t=e;t.onload=null,t.onerror=null,r()}const i={small:50,medium:200,large:340,original:340};return new Promise((a=>{const s=new Image;s.referrerPolicy="no-referrer",s.onload=()=>{let e;const{height:n,width:l}=s,c=i[t]*(n>l?1:n/l),u=i[t]*(l>n?1:l/n);!n||!l||0===n&&0===l?(e={height:20,width:20,imageError:!0},o(s)):"original"===t?(e={height:Math.min(c,n),width:Math.min(u,l)},r()):(e={height:c,width:u},r()),a(e)},s.onerror=()=>{o(s),a({height:20,width:20,imageError:!0})},s.src=e,n=setTimeout((()=>{o(s),a({height:20,width:20,imageError:!0})}),3e3)}))}};async function My(e,t,n,r){var o,i,a,s,l,c;const{app:u,flags:d}=t,p=null===(o=e.layout)||void 0===o||null===(i=o.tooltip)||void 0===i?void 0:i.imageComponents;if(!p)return[];const[f]=p,h=f.size||"small",m=f.type||"media";let g=-1;for(let e=0;e<n.length;e++)if(n[e].cId===f.cId){g=e;break}const v=(null===(a=r.data)||void 0===a||null===(s=a.customTooltipAttrExps)||void 0===s?void 0:s.value)||[];let y;if(-1!==g&&v[g]&&(y=v[g]),"media"===m&&null!==(l=f.ref)&&void 0!==l&&null!==(c=l.qStaticContentUrl)&&void 0!==c&&c.qUrl)return async function(e,t,n){let r=e.ref.qStaticContentUrl.qUrl;const o=function(e){let t,n,r,o,i,a;return e&&e.session&&e.session.options||e&&e.enigmaModel&&e.enigmaModel.session&&e.enigmaModel.session.sessionConfig?(t=e.session.options||e.enigmaModel.session.sessionConfig,a=void 0!==t.secure?t.secure:t.isSecure,n=a?"https://":"http://",r=t.host||"localhost",o=t.port?":"+t.port:"",i=t.prefix?t.prefix:"/","/"!==i[i.length-1]&&(i+="/"),n+r+o+i):""}(n);o&&(function(e,t){e.replace(t,"").replace(/^\.\.\//i,"/")[0]}(r,o),r=r.replace(/"/g,'\\"'),r=r.replace(/'/g,"\\'"),r=function(e,t){return t+("/"===e[0]?e.substr(1):e)}(r,o));const{height:i,width:a,imageError:s}=await Dy.getImageSize(r,t);return{src:r,size:t,height:i,width:a,imageError:s}}(f,h,u);if("url"===m)return async function(e,t,n,r,o){let i,a=n.ref;if(o&&o.label&&(a=o.label),t.isEnabled("IMAGE_BUNDLE_LOAD")&&null!=e&&e.getImage&&Py(a))try{const t="data:image/png;base64, "+await e.getImage(a),{height:n,width:o,imageError:s}=await Dy.getImageSize(t,r);i={src:t,size:r,height:n,width:o,imageError:s}}catch(e){}else{const{height:e,width:t,imageError:n}=await Dy.getImageSize(a,r);i={src:a,size:r,height:e,width:t,imageError:n}}return i}(u,d,f,h,y);if(d.isEnabled("IMAGE_BUNDLE_LOAD")&&"field"===m&&y&&y.label){return async function(e,t,n,r){let o;const i=r.label,a=`qmem://${t.qFallbackTitle}/${i}`;if(Py(a))try{const t=await e.getImage(a);if(t){const e="data:image/png;base64, "+t,{height:r,width:i,imageError:a}=await Dy.getImageSize(e,n);o={src:e,size:n,height:r,width:i,imageError:a}}}catch(e){}return o}(u,n[g],h,y)}return[]}const Ly={async addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){const o=t,i=[];for(let t=0;t<o.length;t++)i.push(My(e,r,n,o[t]));const a=await Promise.all(i);for(let e=0;e<o.length;e++)o[e].data.customTooltipImages=[a[e]];return o},checkIfPromisesExist({customTooltipModel:e}){var t,n;const r=null===(t=e.layout)||void 0===t||null===(n=t.tooltip)||void 0===n?void 0:n.imageComponents;return!!r&&r.length>0}},Iy={async handlePromises({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){let o=t;return o=await Ly.addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}),o},checkIfPromisesExist:({customTooltipModel:e})=>Ly.checkIfPromisesExist({customTooltipModel:e})};const Ay=(e,t)=>{var n,r,o;const i=null==e||null===(n=e.qHyperCubeDef)||void 0===n?void 0:n.qDimensions,a=null==e||null===(r=e.qHyperCubeDef)||void 0===r?void 0:r.qMeasures,s=null==e||null===(o=e.qHyperCubeDef)||void 0===o?void 0:o.qInterColumnSortOrder,l=t;return{qInfo:{qType:Ny.CHART.CHART_PARENT_TYPE,qId:Ny.CHART.CHART_OBJECT_ID},qHyperCubeDef:{qDimensions:i,qMeasures:a,qInterColumnSortOrder:s,qInitialDataFetch:[{qWidth:0,qHeight:0}]},qStateName:l}},Oy=e=>{var t,n,r;const o=null===(t=e.tooltip)||void 0===t||null===(n=t.chart)||void 0===n||null===(r=n.object)||void 0===r?void 0:r.refId;return{qInfo:{qType:Ny.CHART.CHART_CHILD_TYPE},qExtendsId:o}};const qy={createContainer:({ctx:e,layout:t})=>{var n,r;if(!((null===(n=t.qHyperCube)||void 0===n||null===(r=n.qDimensionInfo)||void 0===r?void 0:r.length)<=0))return function(e,t){var n,r,o,i;const a=null!==(n=null===(r=t.tooltip)||void 0===r||null===(o=r.chart)||void 0===o||null===(i=o.style)||void 0===i?void 0:i.size)&&void 0!==n?n:"medium",s=Ny.CHART.STYLE[a];return[{content:[e.h("div",{style:{display:"flex",width:s,height:s,backgroundColor:"#FFFFFF",borderRadius:"5px",padding:"2px",color:"#595959"},colspan:2,id:Ny.CHART.CONTAINER_ID})],colspan:2,style:{"text-align":e.rtl?"right":"left","max-width":s,width:"100%"}},{}]}(e,t)},show:async({app:e,properties:t,selectedNodes:n,dimIndex:r,customTooltipModel:o,rtl:i})=>{var a,s,l;const c=o,u=null==t||null===(a=t.tooltip)||void 0===a||null===(s=a.chart)||void 0===s||null===(l=s.object)||void 0===l?void 0:l.refId;if(null!=c&&c.embed&&e.removeSessionAlternateState&&e.addSessionAlternateState&&u&&!(t.qHyperCubeDef.qDimensions.length<=0)){await qy.hide({app:e,customTooltipModel:o});try{await async function({app:e,properties:t,customTooltipModel:n}){const r=n,o=Ny.CHART.STATE,i=t.qStateName;r.miniChartToken.alternateState||(r.miniChartToken.alternateState=o,await e.addSessionAlternateState(o,i),r.miniChartToken.alternateState=o)}({app:e,properties:t,customTooltipModel:o});const a=await async function({app:e,properties:t,customTooltipModel:n}){var r;const o=n;null!==(r=o.miniChartToken.sessionObj)&&void 0!==r&&r.id&&await e.destroySessionObject(o.miniChartToken.sessionObj.id);const i=Ny.CHART.STATE,a=Ay(t,i),s=await e.createSessionObject(a),l=Oy(t);if(s.id!==Ny.CHART.CHART_OBJECT_ID)return void e.destroySessionObject(s.id);o.miniChartToken.sessionObj=s;const c=await s.createChild(l);if(o.miniChartToken.sessionObj&&o.miniChartToken.sessionObj.id===s.id)return o.miniChartToken.model=c,c;e.destroySessionObject(s.id)}({app:e,properties:t,customTooltipModel:o});if(c.miniChartToken.alternateState&&c.miniChartToken.sessionObj&&a){var d,p,f,h;const e=n.length>0&&void 0!==(null===(d=n[0].data)||void 0===d?void 0:d.value)?[null===(p=n[0].data)||void 0===p?void 0:p.value]:[],a=void 0!==r?r:t.qHyperCubeDef.qDimensions.length-1;if(2===t.qHyperCubeDef.qDimensions.length&&void 0===r&&n.length>0){var m,g;const e=null!==(m=n[0].data.selectionOuterDimension)&&void 0!==m?m:n[0].data.selectionDimension;if(null!=e&&null!==(g=e.source)&&void 0!==g&&g.field){var v;const t=null==e||null===(v=e.source)||void 0===v?void 0:v.field.split("/"),n=t[t.length-1],r=void 0!==e.value?[e.value]:[];r.length>0&&void 0!==n&&c.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",Number(n),r,!1)}}e.length>0&&c.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",a,e,!1);const s=document.getElementById(Ny.CHART.CONTAINER_ID),l={direction:i?"rtl":"ltr",isReadonly:!0,isPopover:!0,navigation:!1,selections:!1};c.miniChartToken.vis=await o.embed.render({element:s,model:c.miniChartToken.model,options:l,id:null===(f=c.miniChartToken.model)||void 0===f?void 0:f.id,type:null===(h=c.miniChartToken.model)||void 0===h?void 0:h.genericType})}}catch(t){await qy.hide({app:e,customTooltipModel:o})}}},hide:async({app:e,customTooltipModel:t})=>{const n=t;null!=n&&n.embed&&(qy.destroyVisualization({customTooltipModel:t}),await e.destroySessionObject(Ny.CHART.CHART_OBJECT_ID),n.miniChartToken.sessionObj=void 0,await async function({app:e,customTooltipModel:t}){const n=t,r=Ny.CHART.STATE;await e.removeSessionAlternateState(r),n.miniChartToken.alternateState=void 0}({app:e,customTooltipModel:t}))},destroyVisualization:({customTooltipModel:e})=>{var t,n;const r=e;"function"==typeof(null===(t=r.miniChartToken)||void 0===t||null===(n=t.vis)||void 0===n?void 0:n.destroy)&&(r.miniChartToken.vis.destroy(),r.miniChartToken.vis=void 0)}};function zy(e){const t=e.qHyperCubeDef?e.qHyperCubeDef.qDimensions:e.qHyperCube.qDimensionInfo;if(t&&t.length>0)return t}function Fy(){const{EXPRESSION:e,TITLE:t,DESCRIPTION:n,IMAGES:r}=Ny.CUSTOM,o={};return o[e]=!0,o[t]=!0,o[n]=!0,o[r]=!0,o}function Wy(e){const t=Fy();return e.filter((e=>t[e.id]))}const Hy={getNodes(e,t){const n=function(e,t){let n=0,r=0;e.center?(n+=e.center.x,r+=e.center.y):(n+=e.clientX,r+=e.clientY);const o=t.element.getBoundingClientRect();return{cx:n-o.left,cy:r-o.top}}(e,t);return t.shapesAt({x:n.cx,y:n.cy})},getDataNodes(e,t){let n,r=[];const o={container:{bar:!0,"bullet-axis":!0},circle:{"point-component":!0}};return t.forEach((t=>{var i,a,s,l;const c=null!==(i=null===(a=t.data)||void 0===a?void 0:a.selectionDimension)&&void 0!==i?i:t.data;if(!c||null!==(s=t.data)&&void 0!==s&&s.customTooltipAttrExps||o[t.type]){if(null!==(l=t.data)&&void 0!==l&&l.customTooltipAttrExps&&!t.data.customTooltipImages){const e=t;e.data.customTooltipImages=[],r.push(e)}}else{n||(n=[],Object.keys(o).forEach((t=>{n=n.concat(e.findShapes(t).filter((e=>e.data&&e.data.customTooltipAttrExps&&!e.data.customTooltipImages&&o[t][e.key])))})));const t=n.filter((e=>{var t,n;const r=null!==(t=null!==(n=e.data.stack)&&void 0!==n?n:e.data.selectionOuterDimension)&&void 0!==t?t:e.data.selectionDimension;return r&&r.value===c.value&&r.label===c.label}));t.length>0&&(r=r.concat(t[0]))}})),r},displayTooltip(e,t,{nodes:n,opts:r={},customTooltipModel:o,extractedNodes:i=[],hide:a}){if(o&&!a){const{layout:a,chart:s}=o,{attrExps:l}=Hy.getAttrExprData(a);i.length||n.length?Iy.handlePromises({customTooltipModel:o,nodes:Hy.getDataNodes(s,i.length>0?i:n),attrExps:l,opts:r}).then((()=>{t.emit("show",e,n.length?{nodes:n}:void 0)})):t.emit("show",e,n.length?{nodes:n}:void 0)}else{var s;null!=o&&null!==(s=o.miniChartToken)&&void 0!==s&&s.alternateState&&qy.hide({app:r.app,customTooltipModel:o}),t.emit("hide")}},checkIfPromisesExist:({customTooltipModel:e})=>Iy.checkIfPromisesExist({customTooltipModel:e}),getAttrExps(e,t){var n;const r=t,o=null!==(n=e.qHyperCubeDef)&&void 0!==n&&n.qDimensions?"qAttributeExpressions":"qAttrExprInfo";return r[o]||(r[o]=[]),r[o]},getAttrExprData(e){var t;let n=[],r="";const o=(null===(t=e.qHyperCube)||void 0===t?void 0:t.qDimensionInfo)||[];if(o.length>0){var i,a,s;const t=o.length-1;n=(null===(i=e.qHyperCube)||void 0===i||null===(a=i.qDimensionInfo)||void 0===a||null===(s=a[t])||void 0===s?void 0:s.qAttrExprInfo)||[],r=`qDimensionInfo/${t}/qAttrExprInfo`}return{attrExps:n,fieldPath:r}},quarantineCustomTooltipAttrs(e,t={}){var n,r;if(!(null===(n=e.qLayoutExclude)||void 0===n||null===(r=n.quarantine)||void 0===r?void 0:r[Ny.CUSTOM.QUARANTINE])){!function(e,t){const n=t;let r=n.qLayoutExclude;r||(n.qLayoutExclude={quarantine:{}},r=n.qLayoutExclude),r.quarantine||(r.quarantine={}),r.quarantine[Ny.CUSTOM.QUARANTINE]=[],e.forEach((e=>{r.quarantine[Ny.CUSTOM.QUARANTINE].push(e)})),n.qLayoutExclude=r}(Wy(t.qAttributeExpressions||[]),e)}},unquarantineCustomTooltipAttrs(e){var t,n;const r=e;(null===(t=e.qLayoutExclude)||void 0===t||null===(n=t.quarantine)||void 0===n?void 0:n[Ny.CUSTOM.QUARANTINE])&&delete r.qLayoutExclude.quarantine[Ny.CUSTOM.QUARANTINE]},setAttrsFromQuarantine(e,t){const n=zy(e);if(!n)return;const r=void 0!==t?t:n.length-1;if(!n[r])return;const o=this.getAttrExps(e,n[r]);if(0===Wy(o).length){var i,a;const t=(null===(i=e.qLayoutExclude)||void 0===i||null===(a=i.quarantine)||void 0===a?void 0:a.customTooltip)||[],n=[...o,...t],s=e;s.qHyperCubeDef?s.qHyperCubeDef.qDimensions[r].qAttributeExpressions=n:s.qHyperCube.qDimensionInfo[r].qAttrExprInfo=n}},moveCustomTooltipAttrs(e,t={},n){let r=[];const o=zy(e)||[];[...o,t].forEach((e=>{const t=Wy(e.qAttributeExpressions||[]);t.length>0&&(r=t)}));const i=Fy(),a=o.map((e=>{const t=e,n=e.qAttributeExpressions||[];return t.qAttributeExpressions=n.filter((e=>!i[e.id])),t})),s=void 0!==n?n:a.length-1;a.length>0&&(a[s].qAttributeExpressions=a[s].qAttributeExpressions.concat(r));const l=e;e.qHyperCubeDef?l.qHyperCubeDef.qDimensions=a:l.qHyperCube.qDimensionInfo=a},addCallbackCustomTooltip(e){e.qHyperCubeDef.qDimensions.length>1?this.moveCustomTooltipAttrs(e):(this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e))},moveCallbackCustomTooltip(e,t){1===e.qHyperCubeDef.qDimensions.length&&(this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e)),e.qHyperCubeDef.qDimensions.length>1&&this.moveCustomTooltipAttrs(e,t)},removeCallbackCustomTooltip(e,t){e.qHyperCubeDef.qDimensions.length>0?this.moveCustomTooltipAttrs(e,t):this.quarantineCustomTooltipAttrs(e,t)},replaceCallbackCustomTooltip(e,t){e.qHyperCubeDef.qDimensions.length>1?this.moveCustomTooltipAttrs(e,t):(this.quarantineCustomTooltipAttrs(e,t),this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e))},shouldIgnoreDefaultRows(e){var t;return(null===(t=e.tooltip)||void 0===t?void 0:t.hideBasic)||0},DEBOUNCE_THRESHOLD:50,getFooterRow:(e,t)=>[{content:e,style:{"font-style":"italic","font-size":"12px","line-height":"16px",color:"rgba(255, 255, 255, 0.6)","text-align":t?"right":"left",direction:de.detectTextDirection(e)},colspan:2},{}],getImageRow(e,t){const n=de.detectTextDirection(e.src),r=[],o={style:{display:"block","margin-left":"auto","margin-right":"auto",overflow:"hidden",width:e.width,height:e.height}};if("original"===e.size||e.imageError){r.push(t.h("span",{style:{display:"inline-block",height:"100%","vertical-align":"middle"}}));const n=e.imageError?`${e.src}?${Math.random()}`:e.src;r.push(t.h("img",{style:{"max-width":e.width,"max-height":e.height,"vertical-align":"middle"},src:n,referrerpolicy:"no-referrer"})),o.style["text-align"]="center",o.style["white-space"]="nowrap"}else o.style["background-size"]="contain",o.style["background-repeat"]="no-repeat",o.style["background-position"]="center",o.style["background-image"]=`url('${e.src}')`;return[{content:[t.h("div",o,r),""],style:{"text-align":t.rtl?"right":"left",direction:n,"max-width":e.width},colspan:2},{}]}};function By(e,t,n,r){var o,i,a;const s=(null===(o=t.qHyperCube)||void 0===o||null===(i=o[n])||void 0===i||null===(a=i[r])||void 0===a?void 0:a.qAttrExprInfo)||[],l=[],c=e.qSubNodes&&e.qSubNodes[r]?e.qSubNodes[r].qAttrExps:e.qAttrExps;return c?(s.forEach(((e,t)=>{const o=c.qValues&&c.qValues[t]?c.qValues[t]:void 0,i=void 0===o?"NaN":function(e,t){let n;switch(e.id){case Ny.CUSTOM.EXPRESSION:n="NaN"===t.qNum||e.isCustomFormatted?void 0===t.qText?"NaN":t.qText:t.qNum;break;case Ny.CUSTOM.TITLE:case Ny.CUSTOM.DESCRIPTION:case Ny.CUSTOM.IMAGES:n=void 0===t.qText?e.qFallbackTitle:t.qText;break;default:n="NaN"}return n}(e,o);l.push({source:{key:"qHyperCube",field:`${n}/${r}/qAttrExprInfo/${t}`},label:i,value:"value"})})),l):l}const jy={getNode(e,{dimensionCount:t}){if(!t||t<1)return;const n=t-1,r="qDimensionInfo";return{field:`${r}/${n}`,value:t=>By(t,e,r,n)}}};const $y={getCustomAttrExps(e,t,n){var r,o;const i={customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]},a=(null===(r=t.data)||void 0===r||null===(o=r.customTooltipAttrExps)||void 0===o?void 0:o.value)||[];if(Number.isNaN(a))return i;return function(e,t,n,r){const o={[Ny.CUSTOM.TITLE]:!0,[Ny.CUSTOM.DESCRIPTION]:!0},{attrExps:i,fieldPath:a}=Hy.getAttrExprData(e);return 0===t.length||0===i.length||""===a||i.forEach(((e,i)=>{const s=t[i];if(e.id===Ny.CUSTOM.EXPRESSION&&s){const t=e.qFallbackTitle,o="NaN"===s.value||e.isCustomFormatted?s.value:n("qHyperCube").field(`${a}/${i}`).formatter()(s.value);r.customTooltipAttrExpsArr.push({label:t,value:o})}else if(o[e.id]&&s){const t="-"!==s.value&&"NaN"!==s.value?s.value:s.label;t&&"undefined"!==t&&r.customTooltipInfoAttrExpsArr.push({...e.id===Ny.CUSTOM.TITLE&&{title:t},value:t,id:e.id})}})),r}(n,a.map((t=>pe.getMeasure(e,t))),e,i)}};function Vy({nodes:e,layout:t,dataset:n}){return function(e,t,n){const r=[];return e.forEach((e=>{r.push($y.getCustomAttrExps(n,e,t))})),r}(e,t,n).reduce(((e,t)=>({customTooltipAttrExpsArr:e.customTooltipAttrExpsArr.concat(t.customTooltipAttrExpsArr),customTooltipInfoAttrExpsArr:e.customTooltipInfoAttrExpsArr.concat(t.customTooltipInfoAttrExpsArr)})),{customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]})}function Uy(e){const t=Ny.CUSTOM.EXPRESSION,{qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}=e.qDef;return e.qLibraryId?{qLibraryId:e.qLibraryId,id:t,qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}:{qExpression:e.qDef.qDef,id:t,qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}}function _y(e){var t;const n=null===(t=e.qHyperCubeDef)||void 0===t?void 0:t.qDimensions;return n[n.length-1].qAttributeExpressions||[]}var Yy={attrExpr:{migrateProperties(e){var t,n,r,o;const i=J(!0,{},e),a=(null===(t=i.tooltip)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.qHyperCubeDef)||void 0===r?void 0:r.qMeasures)||[];let s=_y(i);return s=function(e,t){return t.concat(e.map((e=>Uy(e))))}(a,s),function(e,t){var n;const r=null===(n=t.qHyperCubeDef)||void 0===n?void 0:n.qDimensions;r[r.length-1].qAttributeExpressions=e}(s,i),null===(o=i.tooltip)||void 0===o||delete o.data,i},getPatches(e){var t,n,r,o;const i=(null===(t=e.tooltip)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.qHyperCubeDef)||void 0===r?void 0:r.qMeasures)||[],a=(null===(o=e.qHyperCubeDef)||void 0===o?void 0:o.qDimensions.length)-1;return function(e,t,n){let r=e.length;const o=[];return t.forEach((e=>{const t=Uy(e),i=JSON.stringify(t);o.push({qPath:`/qHyperCubeDef/qDimensions/${n}/qAttributeExpressions/${r}`,qOp:"add",qValue:i}),r++})),o.push({qPath:"/tooltip/data",qOp:"remove"}),o}(_y(e),i,a)},checkForBackwardCompatibility:(e,t)=>(e.qMeasureInfo||[]).length>0&&t.length>0,updateProperties(e,t){return new Promise((n=>{var r,o,i,a,s;const l=(null===(r=t.qHyperCube)||void 0===r?void 0:r.qDimensionInfo)||[],c=(null===(o=t.tooltip)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.qHyperCube)||{},u=null===(a=t.qMeta)||void 0===a||null===(s=a.privileges)||void 0===s?void 0:s.includes("update");e&&e.getEffectiveProperties&&this.checkForBackwardCompatibility(c,l)&&e.getEffectiveProperties().then((t=>{if(u){const r=this.migrateProperties(t);e.setProperties(r).then((()=>{e.app.clearUndoBuffer(),n(!0)}))}else{const r=this.getPatches(t);e.applyPatches(r,!0).then((()=>{e.app.clearUndoBuffer(),n(!0)}))}})),n(!1)}))}}};const{CUSTOM:Ky}=Ny;function Xy({flags:e,layout:t,app:n,model:r,picasso:o,chart:i,translator:a,localeInfo:s,embed:l,options:c}){var u,d,p;const f=function({layout:e,app:t,picasso:n,model:r,chart:o,translator:i,localeInfo:a,embed:s}){return{layout:e,app:t,picasso:n,model:r,chart:o,translator:i,localeInfo:a,useCustomTooltip:e.tooltip&&!e.tooltip.auto,utils:Hy,miniChartToken:{},embed:s}}({layout:t,app:n,model:r,picasso:o,chart:i,translator:a,localeInfo:s,embed:l}),h="rtl"===c.direction,m=!(!t.tooltip||t.tooltip.auto),g=m&&M(t,"tooltip.hideBasic",!1),v=!!(m&&null!==(u=t.tooltip)&&void 0!==u&&null!==(d=u.chart)&&void 0!==d&&null!==(p=d.object)&&void 0!==p&&p.refId&&l&&"function"==typeof(null==r?void 0:r.getEffectiveProperties));return{isEnabled:()=>m,hideBasic:()=>g,getAttributes:({dataset:e,nodes:n})=>{var r,o;const i=Vy({dataset:e,nodes:n,layout:t});return{title:null===(r=i.customTooltipInfoAttrExpsArr.find((e=>e.id===Ky.TITLE)))||void 0===r?void 0:r.title,description:null===(o=i.customTooltipInfoAttrExpsArr.find((e=>e.id===Ky.DESCRIPTION)))||void 0===o?void 0:o.value,measures:i.customTooltipAttrExpsArr}},hasImages:()=>Hy.checkIfPromisesExist({customTooltipModel:f}),createImageRow:({value:e,h:t})=>Hy.getImageRow(e,{h:t,rtl:h}),addImages:({nodes:r})=>{const o=Hy.getDataNodes(i,r),a=Hy.getAttrExprData(t);return Iy.handlePromises({customTooltipModel:f,nodes:o,attrExps:a,opts:{flags:e,app:n}})},chart:{isEnabled:()=>v,hasLimitation:()=>{var e;return!(null==n||null===(e=n.isInModalSelection)||void 0===e||!e.call(n))},createContainer:({h:e})=>qy.createContainer({layout:t,ctx:{h:e,rtl:h}}),createLimitationRow:()=>Hy.getFooterRow(a.get("properties.tooltip.notselectedmessage"),h),show:({nodes:e,properties:t})=>qy.show({app:n,properties:t,selectedNodes:e,customTooltipModel:f,rtl:h}),hasAlternateState:()=>{var e;return!(null===(e=f.miniChartToken)||void 0===e||!e.alternateState)},hide:()=>qy.hide({app:n,customTooltipModel:f}),destroy:()=>qy.destroyVisualization({customTooltipModel:f})}}}function Gy(e){return{layout:e,keys:{SCALE:{FILL:"fill"},COMPONENT:{DIMENSION_TITLE:"dimension-title",SLICES:"slices",PIE_LABELS:"pie-labels"}}}}function Zy({chart:e,translator:t,layout:n,constraints:r,options:o,themeService:i,colorService:a,custom:s}){const l=n.qHyperCube.qMeasureInfo.length>1,c="rtl"===o.direction,{fontFamily:u}=i.getStyles();return L({chart:e,translator:t,config:{rtl:c,enable:()=>!r.passive,getColorSettings:()=>a.getSettings(),style:{fontFamily:u},main:{key:"tooltip",getGroupByValue:({data:e})=>e.value,collectibles:[{key:"slices",type:"slice",major:({data:e})=>e.value}],triggers:[{keys:["slices"],collect:{from:"single"},placement:"collectible"},{keys:["pie-labels","negative-indicators"],collect:{from:"dimension",by:({data:e})=>e.value},placement:"trigger"}],placement:({meta:e})=>({type:"slices"===e.triggerer?"slice":"bounds"}),section:({h:e,nodes:n,dataset:r,formatter:o,create:i,util:a})=>{const[c]=n,{title:u,description:d,measures:p}=s.isEnabled()?s.getAttributes({dataset:r,nodes:n}):{},f=[];u&&f.push(i.text({value:u,style:{bold:!0}})),d&&f.push(i.text({value:d}));const h=s.hideBasic();if(h&&!p.length&&(u||d)||f.push(i.text({value:c.data.label,style:{bold:!0}})),!h){f.push(i.color({nodes:n,property:"fill"}));const{num:e}=c.data;if(f.push(i.measure({label:a.dataset.title(e.source.key,e.source.field),value:e.label})),l){const{radius:e}=c.data;f.push(i.measure({label:a.dataset.title(e.source.key,e.source.field),value:e.label}))}f.push(i.measure({label:t?t.get("properties.dataPoints.labelmode.share"):"Share",value:o("share")(c.desc.share)}))}p&&f.push(...p.map((e=>i.measure({label:e.label,value:e.value,survive:{color:!0,duplicate:!0}})))),s.chart.isEnabled()&&(s.chart.hasLimitation()?(s.chart.destroy(),f.push(i.raw({value:s.chart.createLimitationRow()}))):f.push(i.raw({value:s.chart.createContainer({h:e})})));const{customTooltipImages:m}=c.data;return s.isEnabled()&&m&&f.push(...m.map((t=>i.raw({value:s.createImageRow({value:t,h:e})})))),f},layout:{grouping:!0},events:{tooltip:{beforeShow:({collectNodes:e})=>s.isEnabled()&&s.hasImages()?s.addImages({nodes:e()}):Promise.resolve(),afterShow:({expando:e,nodes:t})=>{s.chart.isEnabled()&&!s.chart.hasLimitation()&&s.chart.show({nodes:t,properties:e.get("properties")})}},interaction:{mouseleave:()=>{s.chart.isEnabled()&&s.chart.hasAlternateState()&&s.chart.hide()}}}},legend:{keys:{tooltip:"legend-color-cat",component:"legend-cat"}}}})}function Jy({scaleKey:e,legend:t,onEdited:n}){const{layout:r}=t,{dock:o}=r||{};return{type:"brush-range",key:"legendRangeBrush",layout:{dock:"@legend-seq"},on:n?{bubbleEnd(){n()}}:{},settings:{brush:"selection",scale:e+"Range",direction:"left"===o||"right"===o?"vertical":"horizontal",bubbles:{align:"left"===o||"top"===o?"end":"start",placement:"outside"},target:{selector:'[id="legend-seq-target"]',fillSelector:'[id="legend-seq-ticks"]',fill:"rgba(82,204,82,0.2)"}}}}const Qy=.8,eb=.55,tb={CORNER_RADIUS:0,INNER_RADIUS:eb,STROKE:{COLOR:"#FFFFFF",WIDTH:{NONE:0,SMALL:2,MEDIUM:4,LARGE:6}}},nb=({layout:e},t,n)=>t.encodings.slice.outerRadius?{scale:"radius",fn:t=>{var r,o;let i=Qy,a=0;const s=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:eb;e.donut.showAsDonut&&(i=Qy-s,a=s);return t.scale(Math.max(0,t.datum.radius.value))*i+a}}:Qy,rb=({layout:e},t,n)=>{var r,o;if(!e.donut.showAsDonut)return 0;const i=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:eb;return t.encodings.slice.outerRadius?{scale:"radius",fn:e=>{const t=Qy-i,n=i;return e.scale(Math.min(0,e.datum.radius.value))*t+n}}:i},ob=({layout:e},t)=>{var n,r,o,i,a,s;const l=t.colorService.getDatumProps(),c=l[Object.keys(l)[0]],u=c&&c.field?c.field:void 0,d="qDimensionInfo/0"===u,p=u?t.ds.field(u).raw():null,f=p&&(p.label||p.title||p.qFallbackTitle)||"",h=t.encodings.slice.outerRadius,{formatter:m}=t.chart,g=ae(e,"qHyperCube.qDimensionInfo",[]).length;function v(e,n){const r=t.ds.field(e).raw();return{field:e,label:!r.isCustomFormatted&&(r.qIsAutoFormat||"U"===r.qNumFormat.qType)?e=>m(n)(e.qNum):e=>e.qText}}const y=(e.components||[]).filter((e=>"slices"===e.key))[0];return{type:"pie",key:"slices",data:{extract:{field:"qDimensionInfo/0",props:{...l,num:v(t.encodings.slice.arc,"arc"),fillTooltip:u?{field:u,label:f,value:e=>d?e.qText||"-":void 0!==e.qNum&&"NaN"!==e.qNum?e.qText?e.qText:e.qNum:e.qText||"-"}:void 0,customTooltipAttrExps:0!==g?jy.getNode(e,{dimensionCount:g}):void 0,radius:h?v(h,"outerRadius"):void 0}}},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3},active:{stroke:"rgba(52, 52, 52, 0.7)",strokeWidth:2}}},{context:"highlight",data:[""],style:{inactive:{fill:"#BFDAD9"},active:{fill:"#68B2AF"}}}]},settings:{startAngle:()=>t.viewState.get("rotation"),endAngle:()=>t.viewState.get("rotation")+2*Math.PI,slice:{arc:{ref:"num"},innerRadius:rb({layout:e},t,y),fill:t.colorService.getColor(),strokeWidth:null!=y&&null!==(n=y.style)&&void 0!==n&&n.strokeWidth?tb.STROKE.WIDTH[y.style.strokeWidth.toUpperCase()]:tb.STROKE.WIDTH.NONE,stroke:null!==(r=null==y||null===(o=y.style)||void 0===o||null===(i=o.strokeColor)||void 0===i?void 0:i.color)&&void 0!==r?r:tb.STROKE.COLOR,outerRadius:nb({layout:e},t,y),cornerRadius:null!==(a=null==y||null===(s=y.style)||void 0===s?void 0:s.cornerRadius)&&void 0!==a?a:0}},animations:{enabled:t.animations.enabled,transitionPhaseDisabled:t.animations.transitionPhaseDisabled,trackBy:e=>e.data.value}}};function ib({layout:e},t){var n,r;const o=(e.components||[]).filter((e=>"slices"===e.key))[0],i=null!==(n=null==o||null===(r=o.style)||void 0===r?void 0:r.innerRadius)&&void 0!==n?n:eb,a=t.encodings.slice.outerRadius,s=t.themeService.getStyles();return!(!e.donut.showAsDonut||!a)&&{type:"pie",key:"zeroLine",data:{items:[1]},settings:{slice:{arc:1,fill:"transparent",innerRadius:0,strokeWidth:1,stroke:s.label.name.color,outerRadius:{scale:"radius",fn:e=>{const t=Qy-i,n=i;return e.scale(0)*t+n}}}},animations:{enabled:t.animations.enabled,transitionPhaseDisabled:t.animations.transitionPhaseDisabled}}}function ab(e){return{type:"pie-dividers",key:"pie-dividers",layout:{displayOrder:2},settings:{component:"slices",selector:"path"},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:e.animations.enabled,transitionPhaseDisabled:e.animations.transitionPhaseDisabled,trackBy:()=>Math.random()}}}function sb({layout:e},t){if(e.donut.showAsDonut||!t.encodings.slice.outerRadius)return!1;return{type:"negative-indicators",key:"negative-indicators",layout:{displayOrder:2},settings:{component:"slices",selector:"path",offset:5,size:4,fill:t.themeService.getStyles().label.name.color},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:t.animations.enabled,transitionPhaseDisabled:t.animations.transitionPhaseDisabled,trackBy:e=>e.data.value}}}function lb(e){const t=e.node.desc&&e.node.desc.share;return t?e.formatter("share")(t):""}function cb(e){return e.node.data.num.label}function ub(e){return e.node.data.radius.label}function db(e,t,n){if(e.dataPoint.auto)return n?cb:lb;if("share"===e.dataPoint.labelMode)return lb;if("value"===e.dataPoint.labelMode){return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?ub:cb}return null}function pb({data:e}){return e?e.label:""}function fb(e){const t=parseInt(e,10);if(!isNaN(t))return t}function hb(e){const t=((e&&e.components?e.components:void 0)||[]).filter((e=>"slices"===e.key))[0];return!t||t.style.innerRadius>.3}function mb({node:e,data:t}){return J({_share:e.desc.share,_fillColor:e.attrs.fill},t)}function gb(e,t,n){const r=t.themeService.getStyles(),o=[{padding:10,direction:t.encodings.slice.outerRadius?"rotate":"horizontal",placements:[{position:"outside",fill:r.label.name.color,padding:t.encodings.slice.outerRadius?4:2}],fontSize:fb(r.label.name.fontSize),fontFamily:r.label.name.fontFamily,label:pb,linkData:({node:e,data:t})=>J({_share:e.desc.share,_fillColor:e.attrs.fill,_showTooltip:!0},t)}];if(db(e,t,!1)){const r=function(e,t,n){return{label:db(e,t,!1),simplifiedPlacements:[{position:e.donut.showAsDonut&&hb(e)?"inside":"into",onBackground:e.donut.showAsDonut&&hb(e),padding:4}],theme:n.theme,themeId:"object.pieChart"}}(e,t,n),i=me(J(t,r),n.theme);i.linkData=mb,o.push(i)}return{key:"pie-labels",type:"labels",layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"slice",settings:{labels:o}}}]},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3}}}]},animations:{enabled:t.animations.enabled,transitionPhaseDisabled:t.animations.transitionPhaseDisabled,trackBy:e=>"text"===e.type?`${e.text} ${e.data.value}`:Math.random()}}}function vb({layout:e,context:t},n){return!1!==e.dataPoint.show&&(1===n.dataRowCount?function(e,t,n){const r=db(e,t,!0),o=(e=>t=>e.getContrastingColorTo(t.node.attrs.fill))(n.theme),i=t.themeService.getStyles();return{key:"pie-labels",type:"labels",layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"rows",settings:{align:.5,justify:.5,padding:10,labels:[{fill:e.donut.showAsDonut?i.label.name.color:o,fontSize:fb(i.label.name.fontSize),fontFamily:i.label.name.fontFamily,label:pb,linkData:({data:e})=>e},{fill:e.donut.showAsDonut?i.label.value.color:o,fontSize:fb(i.label.value.fontSize),fontFamily:i.label.value.fontFamily,label:r,linkData:({data:e})=>e}]}}}]}}}(e,n,t):gb(e,n,t))}const yb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"legendRange",enable(t,n){if(this.started||!n)return!0;if(e.constraints.select||e.constraints.active)return!1;const r=(this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).some((e=>"legend-seq"===e.type))||function(e){const{target:t}=e.srcEvent;return!(!t||!(t.hasAttribute("data-other-value")&&t.hasAttribute("data-idx")||"INPUT"===t.nodeName))}(n))&&!e.isLocked([this.chart.component("slices")]);return r||this.chart.component("legendRangeBrush").emit("rangeClear"),r}},events:{legendRangestart(t){t.preventDefault(),e.interactions.emit("selections-start"),this.chart.component("legendRangeBrush").emit("rangeStart",t),this.started=!0},legendRangemove(e){e.preventDefault(),this.chart.component("legendRangeBrush").emit("rangeMove",e)},legendRangeend(t){t.preventDefault(),this.chart.component("legendRangeBrush").emit("rangeEnd",t),e.onSelect(),this.started=!1}}});function bb(e,t){const n=t.element.getBoundingClientRect();let r,o;return e.center?(({x:r}=e.center),({y:o}=e.center)):(r=e.clientX,o=e.clientY),{x:r-n.left,y:o-n.top}}function xb(e,t){const n=t.component("slices");if(!n)return!1;const{x:r,y:o}=bb(e,t),i=n.rect.x+n.rect.margin.left+n.rect.width/2,a=n.rect.y+n.rect.margin.top+n.rect.height/2,s=Math.min(n.rect.width,n.rect.height)/2*Qy;return(i-r)**2+(a-o)**2<=s**2}const wb=(e,t,{requireFailure:n,recognizeWith:r}={})=>({type:"Tap",requireFailure:n,recognizeWith:r,options:{event:"tap",interval:10,pointers:1,enable(t,n){return!n||!e.constraints.select&&!e.constraints.active&&(this.components=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).filter((e=>"slices"===e.key||"legend-cat"===e.key||"pie-labels"===e.key)),this.components.length)}},events:{tap(n){n.preventDefault();const{target:r}=n.srcEvent;if(r&&("INPUT"===r.nodeName||r.hasAttribute("data-other-value")))return void this.chart.component("legendRangeBrush").emit("bubbleStart",n);if(r&&r.hasAttribute("data-action")&&r.hasAttribute("data-component-key"))return void this.chart.component(r.getAttribute("data-component-key")).emit(r.getAttribute("data-action"));if(r&&r.children&&r.children[0]&&"legend-cat"===r.children[0].getAttribute("data-component-key"))return;if(e.isLocked(this.components))return;e.interactions.emit("selections-start");let o=bb(n,this.chart);this.components.some((e=>"legend-cat"===e.key))&&(o={cx:o.x,cy:o.y,r:5});const i=this.chart.shapesAt(o,{components:[{key:"slices",propagation:"stop"},{key:"legend-cat",propagation:"stop"},{key:"pie-labels",propagation:"stop"}],propagation:"stop"});i.length&&(this.chart.brushFromShapes(i,{components:[{key:i[0].key,action:n.srcEvent.ctrlKey||t?"set":"toggle",contexts:["selection"]}]}),e.onSelect())}}}),Eb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"lasso",enable(t,n){if(this.isStarted||!n)return!0;if(e.constraints.active||e.constraints.select||!e.interactions.lasso.active())return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y});return!e.isLocked(r)&&r.some((e=>"slices"===e.key))}},events:{lassostart(t){t.preventDefault(),e.constraints.select||e.constraints.active||this.isStarted||(e.interactions.emit("selections-start"),this.chart.component("lasso").emit("lassoStart",t),this.isStarted=!0)},lassomove(e){e.preventDefault(),this.chart.component("lasso").emit("lassoMove",e)},lassoend(t){t.preventDefault(),this.isStarted=!1,this.chart.component("lasso").emit("lassoEnd",t),e.onSelect()}}}),Cb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Tap",requireFailure:t,recognizeWith:n,options:{event:"areatap",pointers:2,enable(t,n){if(this.started||!n)return!0;if(e.constraints.active||e.constraints.select)return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y});return r.some((e=>"slices"===e.key))&&!e.isLocked(r)}},events:{areatap(t){const n=this.chart.component("area");n&&!this.started&&(e.interactions.emit("selections-start"),n.emit("areaStart",t.pointers[0]),n.emit("areaMove",t.pointers[1]),this.started=!0,setTimeout((()=>{n.emit("areaEnd"),e.onSelect(),this.started=!1}),100)),t.preventDefault()}}});function kb(e){return{type:"native",key:"theusual",events:{wheel(t){let n=!1;if(!e.constraints.active&&xb(t,this.chart)){const r=Math.sign(-t.deltaY);e.viewState.set("rotation",r*(Math.PI/12)),n=!0}else if(!e.constraints.select&&!e.constraints.active){const e=this.chart.componentsFromPoint(t).filter((e=>"legend-cat"===e.key))[0];e&&(n=!0,function(e,t){const n=(Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY)>=0?"next":"prev";t.emit(n)}(t,e))}n&&t.preventDefault()}}}}const Sb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"rotate",pointers:1,threshold:10,enable(t,n){return!(!this.started&&n)||!e.constraints.active&&!e.interactions.lasso.active()&&xb(n,this.chart)}},events:{rotatestart(e){e.preventDefault();const t=this.chart.component("slices").rect,n=this.chart.element.getBoundingClientRect();this.pieCenter={x:n.left+t.x+t.width/2,y:n.top+t.y+t.height/2},this.prevAngle=Math.atan2(e.center.y-this.pieCenter.y,e.center.x-this.pieCenter.x),this.started=!0},rotatemove(t){t.preventDefault();const n=Math.atan2(t.center.y-this.pieCenter.y,t.center.x-this.pieCenter.x);e.viewState.set("rotation",n-this.prevAngle),this.prevAngle=n},rotateend(e){e.preventDefault(),this.started=!1},rotatecancel(e){e.preventDefault(),this.started=!1}}}),Tb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"legendPan",pointers:1,threshold:10,enable(t,n){return!(!this.isStarted&&n)||!e.constraints.active&&this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).some((e=>"legend-cat"===e.type))}},events:{legendPanstart(e){if(e.preventDefault(),!this.isStarted){this.components=this.chart.componentsFromPoint({x:e.center.x,y:e.center.y}),this.components.forEach((t=>{t.emit("panstart",e)})),this.isStarted=!0;const t=this.chart.component("tooltip");t&&t.show&&t.emit("hide")}},legendPanmove(e){this.components.forEach((t=>{t.emit("panmove",e)})),e.preventDefault()},legendPanend(e){e.preventDefault(),this.components.forEach((t=>{t.emit("panend",e)})),this.isStarted=!1}}}),Rb=(e,t,n)=>({key:"hammered",type:"hammer",enable:!0,gestures:t?[Sb(e,{}),wb(e,t,{}),...n]:[yb(e,{}),Cb(e,{}),Sb(e,{}),Eb(e,{}),Tb(e,{}),wb(e,t,{}),...n]});function Nb(e,t,n){const r=e.getIsSingleSelect(0),{constraints:o}=n;if(o.active&&o.passive)return[];const i=t.tooltipService.getInteractions();return[Rb(t,r,i.gestures),kb(t),i.native]}function Pb({settings:e},t){const n={share:{type:"d3-number",format:".1%"},arc:{data:{field:t.encodings.slice.arc}},fill:e.scales.fill&&e.scales.fill.data&&e.scales.fill.data.field?{data:{field:e.scales.fill.data.field}}:{}};return t.encodings.slice.outerRadius&&(n.outerRadius={data:{field:t.encodings.slice.outerRadius}}),n}function Db({layout:e},t,n){if(!e.dimensionTitle)return!1;const r=t.properties,o=t.themeService.getStyles();return{key:"dimension-title",type:"data-title",layout:{minimumLayoutMode:"SMALL",dock:"top"},settings:{hyperCube:e.qHyperCube,hyperCubeDef:r&&r.qHyperCubeDef,isDimension:!0,disabled:()=>n.constraints.active||!n.model,model:t.model,app:t.app,translator:t.translator,rtl:n.rtl,selections:t.selections},style:{fontFamily:o.axis.title.fontFamily,fontSize:o.axis.title.fontSize,color:o.axis.title.color}}}function Mb({layout:e},t,n){const r=function(e,t){const n={field:"qDimensionInfo/0",props:{num:{field:t.encodings.slice.arc}}};t.encodings.slice.outerRadius&&(n.props.radius={field:t.encodings.slice.outerRadius});let r=t.ds.extract(n);if(0===r.length)return"NoDataExist";const o=ae(e,"qHyperCube.qSize.qcy");if(ae(e,"qHyperCube.qDataPages.0.qArea.qHeight")<o)return"LimitedData";if(r=t.encodings.slice.outerRadius?r.filter((e=>"NaN"!==e.num.value&&"NaN"!==e.radius.value)):r.filter((e=>"NaN"!==e.num.value)),0===r.length)return"OnlyNanData";const i=r;return r=t.encodings.slice.outerRadius&&!e.donut.showAsDonut?r.filter((e=>e.num.value>0&&e.radius.value>0)):r.filter((e=>e.num.value>0)),0===r.length?"OnlyNegativeOrZeroValues":i.length!==r.length&&"NegativeOrZeroValues"}(e,t),{fontFamily:o}=t.themeService.getStyles();return function(e,t,n,r={}){if(!e)return!1;const{translator:o}=t,{rtl:i}=n;return{key:"disclaimer",type:"disclaimer",layout:{dock:te[e].alignment},settings:{label:o.get("Object.Disclaimer."+e),rtl:i},style:r}}(r,t,n,{fontFamily:o})}function Lb({layout:e,context:t,selectionService:n},r={}){const o=function({layout:e}={},t={}){const n={};return J(n,t.colorService.getScales()),t.encodings.slice.outerRadius&&J(n,function({layout:e},t){const n={radius:{type:"linear",include:[0],data:{extract:{field:t.encodings.slice.outerRadius}}}};return e.donut.showAsDonut||(n.radius.min=0),n}({layout:e},t)),n}({layout:e},r),i={scales:o};let a=[];const s=Mb({layout:e},r,t);if(s&&"center"===s.layout.dock)return{components:[s]};const l=t.constraints.select||t.constraints.active,c=r.colorService.getLegend({eventName:"legend",key:"legend",viewState:r.viewState,chart:r.chart,styleReference:"object.pieChart",rtl:t.rtl},{navigationDisabled:l});return o.fillRange&&c.components[0]&&("right"===c.components[0].layout.dock||"left"===c.components[0].layout.dock||t.rtl)&&(o.fillRange.invert=!0),a=[ob({layout:e,settings:i},r),ib({layout:e},r),ab(r),sb({layout:e},r),Db({layout:e},r,t),...c.components,Jy({settings:i,scaleKey:"fill",legend:c.components[0]||{},onEdited:r.onSelect}),{key:"lasso",type:"brush-lasso",layout:{displayOrder:99},settings:{brush:{components:[{key:"slices",contexts:["selection"]}]},lasso:{fill:"rgba(0, 0, 0, 0)",stroke:"black",strokeWidth:2,opacity:.7,strokeDasharray:[]},snapIndicator:{threshold:75,strokeDasharray:"5, 5",stroke:"black",strokeWidth:2,opacity:.7},startPoint:{r:10,stroke:"rgba(77, 192, 78, 1)",strokeWidth:0,opacity:1}}},{key:"area",type:"brush-area",settings:{brush:{components:[{key:"slices",contexts:["selection"],action:"add"}]}},style:{area:{fill:"transparent",strokeWidth:2,stroke:"black",strokeDasharray:"5 5",opacity:.7}}},vb({layout:{components:e.components,dataPoint:J({},e.dataPoint,{show:!(e.effectPath&&e.snapshotData&&!1===e.dataPoint.show)}),donut:e.donut},context:t},r),...r.tooltipService.getComponents(),(!1!==e.showDisclaimer||!r.flags.isEnabled("SHOW_DISCLAIMER"))&&s],a=a.filter((e=>!1!==e)),{interactions:Nb(n,r,t),scales:o,components:r.pluginService.extendComponents(a),palettes:r.colorService.getPalettes(),formatters:Pb({settings:i},r),strategy:ie(0,r)}}let Ib,Ab=new Set;function Ob(e,t){for(const n of t)if(e.has(n))return!1;return!0}function qb({instance:e,services:t}){const n=u(),r=b();R((o=>{if(!(r.snapshotData&&r.snapshotData.content&&r.snapshotData.content.chartData)&&(function(e,t){const n=t.getBoundingClientRect();e.snapshotData=e.snapshotData||{},e.snapshotData.content=e.snapshotData.content||{},e.snapshotData.content.size=e.snapshotData.content.size||{w:n.width,h:n.height}}(o,n),e&&t))return function({layout:e,chart:t,viewState:n,colorService:r}){return e.snapshotData.content=e.snapshotData.content||{},e.snapshotData.content.chartData={legendScrollOffset:se(t,"legend-cat"),rotation:n.get("rotation")},r.getSnapshotData().then((t=>{e.snapshotData.content.chartData={...e.snapshotData.content.chartData,...t}})).catch((()=>{}))}({layout:o,chart:e.chart,colorService:t.colorService,viewState:e.viewState})})),N((()=>({getViewState:()=>({rotation:e.viewState.get("rotation"),legendScrollOffset:se(e.chart,"legend-cat")})})),[e])}const zb={setValue(e,t,n){if(!t)return;const r=t.split(".");let o=e;const i=r[r.length-1];let a;for(a=0;a<r.length-1;++a)null==o[r[a]]&&(o[r[a]]=Number.isNaN(+r[a+1])?{}:[]),o=o[r[a]];void 0!==n?o[i]=n:delete o[i]},getValue(e,t,n){const r=t.split(".");let o,i=e;if(void 0===i)return n;for(o=0;o<r.length;++o){if(null==i[r[o]])return n;i=i[r[o]]}return i}},Fb={getDimensions:e=>zb.getValue(e,"qHyperCubeDef.qDimensions",[]),getNumDimensions:e=>zb.getValue(e,"qHyperCubeDef.qDimensions.length",0),getMeasures:e=>zb.getValue(e,"qHyperCubeDef.qMeasures",[]),getNumMeasures:e=>zb.getValue(e,"qHyperCubeDef.qMeasures.length",0),getDimensionLayouts(e,t){const n=zb.getValue(e,t?t+".qHyperCube":"qHyperCube",null);return n?n.qDimensionInfo:[]},getDimensionLayout(e,t,n){return this.getDimensionLayouts(t,n).filter((t=>e===t.cId))[0]},getMeasureLayouts(e,t){const n=zb.getValue(e,t?t+".qHyperCube":"qHyperCube",null);return n?n.qMeasureInfo:[]},getMeasureLayout(e,t,n){return this.getMeasureLayouts(t,n).filter((t=>e===t.cId))[0]}};const Wb={colorModeOptions:{primary:()=>!0,dimension:()=>!0,multiColor:()=>!1,measure:()=>!0,expression:e=>Fb.getNumMeasures(e)>=1},showLegend:e=>{const t=zb.getValue(e,"color.auto"),n=zb.getValue(e,"color.expressionIsColor"),r=zb.getValue(e,"color.mode");return!(!t&&"primary"===r||!t&&"byExpression"===r&&(n||void 0===n))},persistentColorsShow:e=>!zb.getValue(e,"color.auto")&&"byDimension"===zb.getValue(e,"color.mode"),useDimValColShow:e=>(void 0===zb.getValue(e,"color.useDimColVal")&&zb.setValue(e,"color.useDimColVal",!1),!zb.getValue(e,"color.auto")&&"byDimension"===zb.getValue(e,"color.mode")&&"libraryItem"===zb.getValue(e,"color.byDimDef.type"))},Hb=function(e){const{colorModeOptions:t,persistentColorsShow:n,useDimValColShow:r,showLegend:o}=Wb;this.color={colorMode:{options(n){const r=[];return"explore"===e&&r.push({value:"auto",translation:"Common.Auto"}),t.primary(n)&&r.push({value:"primary",translation:"properties.colorMode.primary"}),t.multiColor(n)&&r.push({value:"byMultiple",translation:"properties.colorMode.multicolored"}),t.dimension(n)&&r.push({value:"byDimension",translation:"properties.colorMode.byDimension"}),t.measure(n)&&r.push({value:"byMeasure",translation:"properties.colorMode.byMeasure"}),t.expression(n)&&"explore"!==e&&r.push({value:"byExpression",translation:"properties.colorMode.byExpression"}),r}},persistentColors:{show:e=>r(e)?n(e)&&!zb.getValue(e,"color.useDimColVal"):n(e)},useDimColVal:{show:r}},this.legend={show:o,showTitle:{show(e){const t=zb.getValue(e,"color.auto");return zb.getValue(e,"legend.show")&&o(e)&&(t||!function(e){return"byExpression"===zb.getValue(e,"color.mode")&&!0===zb.getValue(e,"color.expressionIsColor")}(e))}},dock:{show:e=>zb.getValue(e,"legend.show")&&o(e)}}};function Bb(e){return new Hb(e)}const jb={classification:{section:"styling",tags:["simple"],exclusive:!0},component:"items",show:!0,chartType:"piechart",translation:"LayerStyleEditor.component.styling",chartTitle:"Object.PieChart",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,items:{strokeSection:{translation:"properties.Outline",component:"items",items:{strokeItem:{component:"items",ref:"components",key:"slices",items:{strokeWrapper:{component:"inline-wrapper",items:{strokeWidth:{translation:"LayerStyleEditor.style.strokeWidth",ref:"style.strokeWidth",width:9,show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"Common.None"},{value:"small",translation:"Common.Small"},{value:"medium",translation:"Common.Medium"},{value:"large",translation:"Common.Large"}],defaultValue:"none",schemaIgnore:!0},strokeColor:{ref:"style.strokeColor",defaultValue:{color:"#FFFFFF"},schemaIgnore:!0,width:3,component:"color-picker"}}}}}}},cornerRadius:{component:"items",translation:"LayerStyleEditor.style.cornerRadius",items:{cornerRadiusItem:{component:"items",ref:"components",key:"slices",items:{cornerRadiusSlider:{ref:"style.cornerRadius",translation:"LayerStyleEditor.style.cornerRadius",component:"slider",min:0,max:40,step:.05,width:12,defaultValue:0,schemaIgnore:!0}}}}},innerRadius:{translation:"LayerStyleEditor.style.innerRadius",component:"items",show:e=>e.donut.showAsDonut,items:{innerRadiusItem:{component:"items",ref:"components",key:"slices",items:{innerRadiusSlider:{ref:"style.innerRadius",translation:"LayerStyleEditor.style.innerRadius",component:"slider",min:.05,max:.75,step:.01,width:12,defaultValue:.55,schemaIgnore:!0}}}}}}},$b={component:"style-editor",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",resetBtnTranslation:"LayerStyleEditor.component.resetAll",key:"slices",ref:"components",defaultValues:{key:"slices",style:{strokeColor:{index:-1,color:"#FFFFFF"},strokeWidth:"none",cornerRadius:0,innerRadius:.55}},items:{slices:{components:"items",type:"items",uses:"styling.slice",items:{strokeWidth:{show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"LayerStyleEditor.style.strokeWidth.none"},{value:"small",translation:"LayerStyleEditor.style.strokeWidth.small"},{value:"medium",translation:"LayerStyleEditor.style.strokeWidth.medium"},{value:"large",translation:"LayerStyleEditor.style.strokeWidth.large"}],defaultValue:"none"},strokeColor:{show:e=>"none"!==e.style.strokeWidth},cornerRadius:{component:"slider",min:0,max:40,step:.05,defaultValue:0,show:!0},innerRadius:{component:"slider",min:.05,max:.75,step:.01,defaultValue:.55,show:(e,t,n)=>n.layout.donut.showAsDonut}}}}},Vb={component:"styling-panel",chartTitle:"Object.PieChart",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,items:{strokeSection:{translation:"properties.Outline",component:"panel-section",items:{strokeItem:{component:"items",ref:"components",key:"slices",items:{strokeWrapper:{component:"inline-wrapper",items:{strokeWidth:{ref:"style.strokeWidth",width:9,show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"Common.None"},{value:"small",translation:"Common.Small"},{value:"medium",translation:"Common.Medium"},{value:"large",translation:"Common.Large"}],defaultValue:"none",schemaIgnore:!0},strokeColor:{ref:"style.strokeColor",defaultValue:{color:"#FFFFFF"},schemaIgnore:!0,width:3,component:"color-picker"}}}}}}},cornerRadius:{translation:"LayerStyleEditor.style.cornerRadius",component:"panel-section",items:{cornerRadiusItem:{component:"items",ref:"components",key:"slices",items:{cornerRadiusSlider:{ref:"style.cornerRadius",component:"slider",min:0,max:40,step:.05,width:12,defaultValue:0,schemaIgnore:!0}}}}},innerRadius:{translation:"LayerStyleEditor.style.innerRadius",component:"panel-section",show:e=>e.donut.showAsDonut,items:{innerRadiusItem:{component:"items",ref:"components",key:"slices",items:{innerRadiusSlider:{ref:"style.innerRadius",component:"slider",min:.05,max:.75,step:.01,width:12,defaultValue:.55,schemaIgnore:!0}}}}}}},Ub=Bb("hard");const _b=e=>{var t;null!==(t=e.color)&&void 0!==t&&t.auto||(z(e,"color.mode","byDimension"),z(e,"color.byDimDef.activeDimensionIndex",0),z(e,"color.persistent",!1))},Yb=e=>{var t;const n=[{value:"primary",translation:"properties.colorMode.primary"},{value:"byDimension",translation:"properties.colorMode.byDimension"}];switch(null===(t=e.color)||void 0===t?void 0:t.mode){case"byMultiple":n.push({value:"byMultiple",translation:"properties.colorMode.multicolored"});break;case"byMeasure":n.push({value:"byMeasure",translation:"properties.colorMode.byMeasure"});break;case"byExpression":n.push({value:"byExpression",translation:"properties.colorMode.byExpression"})}return n},Kb=e=>{const{flags:t,translator:n}=e||{},r={items:{simpleItems:{items:{autoColor:{label:e=>{var t;return null!==(t=e.color)&&void 0!==t&&t.auto?n.get("Simple.Color.Auto",n.get("properties.colorMode.byDimension")):n.get("Common.Custom")},change:_b},colorMode:{options:Yb}}}}},o={items:{labels:{items:{header:{show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length},pointLabels:{component:"checkbox",ref:"dataPoint.auto",type:"boolean",defaultValue:!0,translation:"Simple.Label.Value",show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length,change(e){e.dataPoint.auto||z(e,"dataPoint.labelMode","none")}},dimensionTitle:{component:"checkbox",ref:"dimensionTitle",type:"string",translation:"Simple.Label.Dimension.Hide",defaultValue:"all",show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length,convertFunctions:{get:(e,t,n,r)=>!r.dimensionTitle,set(e,t,n,r,o){o.dimensionTitle=!e}}}}}}};return{uses:"settings",items:{simpleStyling:null!=t&&t.isEnabled("PIECHART_SIMPLE_STYLING")?jb:void 0,simpleLabels:o,general:{items:{showDisclaimer:null!=t&&t.isEnabled("SHOW_DISCLAIMER")?{translation:"properties.showDisclaimer",type:"boolean",ref:"showDisclaimer",component:"switch",defaultValue:!0,options:[{value:!0,translation:"Common.Show"},{value:!1,translation:"properties.hide"}]}:void 0}},presentation:{type:"items",translation:"properties.presentation",grouped:!0,items:{sliceStyling:null!=t&&t.isEnabled("SENSECLIENT_PS_17478_STYLINGPANEL_PIECHART")?Vb:$b,showAsDonut:{ref:"donut.showAsDonut",type:"boolean",component:"item-selection-list",defaultValue:!1,horizontal:!0,items:[{icon:"pie_chart_pie",component:"icon-item",labelPlacement:"bottom",translation:"properties.pie",value:!1},{icon:"pie_chart_donut",component:"icon-item",labelPlacement:"bottom",translation:"properties.donut",value:!0}]},labels:{type:"items",snapshot:{tid:"property-labels"},items:{dimensionTitle:{ref:"dimensionTitle",type:"boolean",component:"switch",translation:"properties.dataPoints.dimensionlabels",defaultValue:!0,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}]},valuesAuto:{ref:"dataPoint.auto",type:"boolean",translation:"properties.dataPoints.labelmode",component:"switch",defaultValue:!0,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}]},labelMode:{ref:"dataPoint.labelMode",type:"string",component:"dropdown",options:[{value:"none",translation:"Common.None"},{value:"share",translation:"properties.dataPoints.labelmode.share"},{value:"value",translation:"properties.dataPoints.labelmode.value"}],defaultValue:"share",show:e=>!e.dataPoint.auto},labelValueMode:{ref:"dataPoint.labelValueMode",type:"string",component:"dropdown",translation:"properties.dataPoints.labelvaluemode",options:[{value:"arc",translation:"Visualizations.Descriptions.Angle"},{value:"radius",translation:"Visualizations.Descriptions.Radius"}],defaultValue:"arc",show:e=>!e.dataPoint.auto&&function(e){return e.qHyperCubeDef&&e.qHyperCubeDef.qMeasures.length>1||e.qHyperCube&&e.qHyperCube.qMeasureInfo.length>1}(e)&&"value"===e.dataPoint.labelMode}}}}},colorsAndLegend:{uses:"colorsAndLegend",items:{colors:{items:{colorMode:{options:Ub.color.colorMode.options},persistentColors:{show:Ub.color.persistentColors.show}}},simpleColors:r,legend:{show:Ub.legend.show,items:{show:{defaultValue:!1,snapshot:{tid:"property-legend"}},showTitle:{show:Ub.legend.showTitle.show},dock:{show:Ub.legend.dock.show}}}}},tooltip:{uses:"tooltip"}}}},Xb={uses:"data",items:{dimensions:{uses:"dimensions"},measures:{uses:"measures",items:{numberFormatting:{items:{percentOfPieMessage:{component:"text",translation:"properties.numberFormatting.pieMessage",show:(e,t,{properties:n}={})=>n&&(n.dataPoint.auto||"share"!==n.dataPoint.labelMode)}}}}}}},Gb={uses:"sorting",items:{interColumnSorting:{reset:e=>{const{qDimensions:t,qMeasures:n,qInterColumnSortOrder:r}=e.qHyperCubeDef;if(1===t.length&&n.length>=1){const t=r.length,n=[...Array(t).keys()];[n[0],n[1]]=[n[1],n[0]],e.qHyperCubeDef.qInterColumnSortOrder=n}}}}},Zb={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{suppressZero:null,calcCond:{uses:"calcCond"}}}}};function Jb(e){return{type:"items",component:"accordion",items:{data:Xb,sorting:Gb,addons:Zb,settings:Kb(e)}}}const Qb=Bb("explore"),ex=Jb();var tx={type:"items",component:"accordion",items:{data:{uses:"data"},sort:{uses:"sort"},presentation:{uses:"presentation",items:{showAsDonut:ex.items.settings.items.presentation.items.showAsDonut,labelMode:{type:"items",items:{labelMode:{type:"string",component:"radio-list",translation:"properties.dataPoints.labelmode",diffs:["dataPoint.auto:false","dataPoint.labelMode"],options:ex.items.settings.items.presentation.items.labels.items.labelMode.options,setPropertyValue(e,t){e.dataPoint.auto=!1,e.dataPoint.labelMode=t},getValue:e=>e.dataPoint.auto?"":e.dataPoint.labelMode}}}}},color:{uses:"color",items:{mode:{options:Qb.color.colorMode.options},dimension:{items:{persistentColors:{show:e=>!(e.color&&"byDimension"===e.color.mode&&e.color.useDimColVal&&Qb.color.useDimColVal.show(e))}}}}}}};const nx="slices";function rx(e,t){const n=e&&e.desc&&void 0!==e.desc.share?e.desc.share:void 0;return t("share")(n)}function ox(e){return e.data.num.label}function ix(e){return e.data.radius.label}function ax(e,t,n,r){return function(e,t){if(e.dataPoint.auto)return 1===e.qHyperCube.qSize.qcy?ox:rx;if("share"===e.dataPoint.labelMode)return rx;if("value"===e.dataPoint.labelMode)return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?ix:ox;return ox}(n,r)(e,t)}function sx(e){let t;return t=e.data.label?function(e,t){let n=e;return n.length>t&&(n=n.substr(0,t-3)+"..."),n}(e.data.label,20):"",t}class lx{constructor({element:e,properties:t,effectHelper:n,Flag:r}){this.element=e,this.Flag=r,n.initFade(this.element);const o=e.find(".effectLayer");o.length>0&&o.remove(),e.append('<div class="effectLayer"></div>'),this.effectLayer=e.find(".effectLayer"),this._effectProperties=t,this.selectedIndex=t.selectedIndex,this.hasPropertiesPanel=!1,this.effectApplied=!0,n.fadeIn(this.element)}updateOrigSettings(e){return{dataPoint:e.dataPoint,legend:e.legend,dimensionTitle:e.dimensionTitle}}updateFlags(e,t){const n=this.chart.getAffectedShapes("highlight"),r=this.effectLayer[0].getBoundingClientRect(),o=n.map((n=>{const{start:o,end:i,outerRadius:a,offset:s}=n.desc.slice,{scaleRatio:l}=this.chart.component(n.key).rect,c=n.element.getBoundingClientRect(),u=(o+i)/2,d=c.left-r.left+l.x*(s.x+a*Math.sin(u)),p=c.top-r.top+l.y*(s.y-a*Math.cos(u)),f=Math.cos(u)>0?"top":"bottom",h=Math.sin(u)>0?"right":"left";return{title:sx(n),label:ax(n,this.chart.formatter,e,t),orientation:`${f}${h}`,position:{x:d,y:p}}}));this.Flag.show(this.effectLayer,o)}init(e,t,n,r){return t.getProperties().then((e=>{if(!e.originalModelSettings){const t=J(!0,{},e);e.originalModelSettings=this.updateOrigSettings(t)}e.effectProperties=r,e.effectPath=n,e.dataPoint.show=!1,e.legend.show=!1,e.dimensionTitle=!1,t.setProperties(e)}))}remove(e,t,n){return e.options=J(e.options,{effect:null}),n?t.getProperties().then((e=>J(e,{effectPath:null,effectProperties:null,dataPoint:J(!0,{},e.originalModelSettings.dataPoint),legend:J(!0,{},e.originalModelSettings.legend),dimensionTitle:e.originalModelSettings.dimensionTitle}))):Promise.resolve()}}class cx extends lx{init(e,t,n,r){return e.options=J(!0,e.options,{effect:this}),t.layout.effectProperties&&t.layout.effectPath===n&&t.layout.effectProperties.max===r.max?Promise.resolve():super.init(e,t,n,r)}update(e,t,n){this.chart=t,this.updateHighlight(e),this.updateFlags(e,n)}updateHighlight(e){const t=this.chart.component(nx).data.items,n=e.effectProperties.min,r=e.effectProperties.max,o=[];let i=[1/0,-1],a=[-1/0,-1];t.forEach(((e,t)=>{const o=e.num.value;n&&o<i[0]&&(i=[o,t]),r&&o>a[0]&&(a=[o,t])})),-1!==i[1]&&o.push(t[i[1]].value),-1!==a[1]&&o.push(t[a[1]].value),o.length&&this.chart.brush("highlight").setValues(o.map((e=>({key:"qHyperCube/qDimensionInfo/0",value:e}))))}}class ux extends lx{constructor(e){super(e),this.hasPropertiesPanel=!0,this.propsTemplate=e.highlightValuePropsTemplate,this.effectHelper=e.effectHelper}onClick(e){if(!this.chart)return;const t=this.chart.shapesAt(function(e,t){const n=t.element.getBoundingClientRect();return{x:e.clientX-n.left,y:e.clientY-n.top}}(e,this.chart),{propagation:"stop"});if(1!==t.length)return;const n=t[0],r=this.chart.component(nx).data.items.map((e=>e.value)).indexOf(n.data.value);-1!==r&&(this.selectedIndex=r,this.effectHelper.updateSelectedPointIndex(this))}update(e,t,n){this.chart=t,this.updateHighlight(e),this.updateDataPoints(e,n),this.updateFlags(e,n)}updateHighlight(e){const t=this.chart.component(nx).data.items[e.effectProperties.selectedIndex];this.chart.brush("highlight").setValues([{key:"qHyperCube/qDimensionInfo/0",value:t.value}])}updateDataPoints(e,t){this.dataPoints=this.chart.findShapes("path").filter((e=>e.key===nx)).map(((n,r)=>{const o=ax(n,this.chart.formatter,e,t);return{text:`${sx(n)} (${o})`,value:r}}))}init(e,t,n,r){return e.options=J(!0,e.options,{effect:this}),t.layout.effectProperties&&t.layout.effectPath===n&&t.layout.effectProperties.selectedIndex===r.selectedIndex?Promise.resolve():super.init(e,t,n,r)}}const dx="/effects/highlight-value",px="/effects/maxmin";var fx={isCompatible:({effectPath:e})=>e===px||e===dx,create:e=>e.effectPath===px?new cx(e):e.effectPath===dx?new ux(e):null};function hx(e){const t={},{components:n,tooltip:r}=e,o=n?n.filter((e=>"slices"===e.key))[0]:void 0;if(o&&o.style&&Object.keys(o.style).forEach((e=>{t["chart_style_"+e]=o.style[e]})),r){var i,a;t.chart_tooltip_custom=!r.auto;const e=null===(i=r.chart)||void 0===i||null===(a=i.object)||void 0===a?void 0:a.refId;!r.auto&&e&&(t.chart_tooltip_custom_mini_chart=e)}return t}function mx(e){if(!e.qHyperCubeDef)return;const t=e.qHyperCubeDef.qDimensions,n=e.qHyperCubeDef.qMeasures;1===t.length&&1===n.length&&(n[0].qSortBy.qSortByNumeric=-1,e.qHyperCubeDef.qInterColumnSortOrder.splice(0,e.qHyperCubeDef.qInterColumnSortOrder.length,1,0))}function gx(e){e.qOtherTotalSpec.qOtherMode="OTHER_COUNTED",e.qOtherTotalSpec.qOtherCounted={qv:"10"}}function vx({translator:e}){return{dimensions:{min:1,max:1,description:()=>e.get("Visualizations.Descriptions.Slice"),add(e,t){gx(e),mx(t),Hy.addCallbackCustomTooltip(t)},move(e,t){gx(e),mx(t),Hy.moveCallbackCustomTooltip(t,e)},remove(e,t){Hy.removeCallbackCustomTooltip(t,e)},replace(e,t,n,r){gx(e),mx(r),Hy.replaceCallbackCustomTooltip(r,t)}},measures:{min:1,max:2,description:(t,n)=>e.get(0===n?"Visualizations.Descriptions.Angle":"Visualizations.Descriptions.Radius"),add(e,t){mx(t)},remove(e,t){!function(e){if(!e.qHyperCubeDef)return;const t=e.qHyperCubeDef.qMeasures,{mode:n}=e.color;"byExpression"===n&&0===t.length&&(e.color.mode="primary")}(t)}}}}const yx=e=>e.qMax<=0,bx=e=>!(!(e&&e.qHyperCube.qSize.qcy>0)||e.qHyperCube.qMeasureInfo.every(yx));function xx(e){return{definition:Jb(e),softDefinition:tx,support:{snapshot:bx,export:bx,exportData:!0,sharing:bx,viewData:!0,effects:!0},effects:fx,extendMetrics:hx,importProperties:(t,n,r,o)=>{const i={layout:{templateId:n.templateId}};r.mapProperties(i);const a={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()},s=F.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:vx(e),defaultPropertyValues:a,hypercubePath:o});return s.qProperty.dataPoint&&!1===s.qProperty.dataPoint.show&&delete s.qProperty.dataPoint.show,s},exportProperties:(e,t,n)=>F.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}function wx(e){return{properties:{version:"1.20.7",color:{auto:!0,autoMinMax:!0,byDimDef:void 0,byMeasureDef:void 0,colorExpression:void 0,dimensionScheme:"12",expressionIsColor:!0,expressionLabel:"",formatting:{numFormatFromTemplate:!0,isCustomFormatted:void 0},measureMin:void 0,measureMax:void 0,measureScheme:"sg",mode:"primary",paletteColor:{index:6},persistent:!1,reverseScheme:!1,singleColor:void 0,useBaseColors:"off",useDimColVal:!0,useMeasureGradient:!0},components:[{key:"slices",style:{strokeWidth:"none",strokeColor:{index:-1,color:tb.STROKE.COLOR},cornerRadius:tb.CORNER_RADIUS,innerRadius:tb.INNER_RADIUS}}],dataPoint:{auto:!0,labelMode:"share",labelValueMode:"arc"},dimensionTitle:!0,donut:{showAsDonut:!1},footnote:"",legend:{dock:"auto",show:!0,showTitle:!0},qHyperCubeDef:{qDimensions:[],qMeasures:[],qInitialDataFetch:[{qWidth:10,qHeight:500}],qSuppressMissing:!0,qSuppressZero:!1,qMode:"S"},showDetails:!1,showDisclaimer:!0,showTitles:!0,subtitle:"",title:"",tooltip:{auto:!0,hideBasic:!1,data:{qHyperCubeDef:void 0},chart:void 0,imageComponents:void 0}},data:{targets:[vx(e)]},importProperties:({exportFormat:t,initialProperties:n,hypercubePath:r})=>{const o=F.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:vx(e),hypercubePath:r});return o.qProperty.dataPoint&&!1===o.qProperty.dataPoint.show&&delete o.qProperty.dataPoint.show,o},exportProperties:({propertyTree:e,hypercubePath:t,viewDataMode:n})=>F.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}e("default",(e=>{const{flags:t}=e;!function(e){if(e&&e.get&&e.add){const t="Object.Disclaimer.LimitedData";if(e.get(t)!==t)return;Object.keys(W).forEach((t=>{e.add(W[t])}))}}(e.translator);const n=Cy();return{qae:wx(e),ext:xx(e),component(){const e=function({picasso:e}){var t;const n=c(),r=u(),o=d(),[i,a]=p(),s=Ry(),l=f(),v=h(),y=!(null===(t=l.qSelectionInfo)||void 0===t||!t.qInSelections),[b,x]=p(!1);return s.lasso=function({layout:e,isInSelections:t,isLassoActionActive:n,setIsLassoActionActive:r,translator:o}){var i,a,s;return{active:n,label:o.get(n?"Tooltip.ToggleOffLassoSelection":"Tooltip.ToggleOnLassoSelection"),hidden:!t||!(null===(i=e.qHyperCube)||void 0===i||null===(a=i.qDimensionInfo)||void 0===a||null===(s=a[0])||void 0===s||!s.qIsOneAndOnlyOne),action(e){r("boolean"==typeof e?e:!n)},icon:{shapes:[{type:"path",attrs:{d:"M15.9488039,5.20769129 C16.0487326,6.70662306 15.3492311,8.30548361 14.050157,9.30477145 C12.651154,10.5039169 10.8524359,10.8037032 8.85386017,10.4039881 L7.3549284,10.0042729 L5.75606786,9.70448659 C5.75606786,9.90434416 5.65613907,10.0042729 5.4562815,10.2041305 C5.05656637,10.6038456 4.55692244,10.8037032 4.05727852,10.8037032 C3.75749217,10.8037032 3.45770582,10.7037744 3.15791946,10.6038456 C3.05799068,10.903632 3.15791946,11.2034184 3.45770582,11.7030623 C5.05656637,14.0014243 3.85742095,15.9000712 3.75749217,16 L2.2585604,15.3004985 C2.2585604,15.2005697 2.95806189,14.0014243 1.95877405,12.6024213 C1.6589877,12.0028486 1.15934378,11.0035608 1.55905891,10.0042729 C1.6589877,9.80441537 1.75891648,9.6045578 1.95877405,9.40470024 C1.6589877,8.90505631 1.55905891,8.30548361 1.85884527,7.7059109 C1.55905891,7.40612455 1.25927256,7.1063382 1.15934378,6.70662306 C0.859557424,5.90719279 0.959486209,4.5081898 1.6589877,3.30904439 C1.95877405,2.6095429 2.55834676,2.0099702 3.15791946,1.51032628 C3.95734974,0.91075357 4.95663758,0.610967217 6.15578299,0.311180864 C9.05371774,-0.388320626 11.9516525,0.111323295 13.9502282,1.61025506 C15.1493736,2.50961412 15.8488751,3.80868831 15.9488039,5.20769129 Z M13.0508691,8.10562604 C13.8502994,7.40612455 14.3499433,6.40683671 14.3499433,5.30762008 C14.2500145,4.20840345 13.550513,3.40897318 12.9509403,2.90932926 C12.1515101,2.40968533 11.252151,2.0099702 10.1529344,1.81011263 C8.95378895,1.61025506 7.75464354,1.71018384 6.45556935,1.91004141 C4.75678001,2.30975655 3.65756338,3.00925804 3.05799068,4.10847467 C2.55834676,5.00783373 2.65827554,5.90719279 2.75820433,6.20697914 C2.75820433,6.30690792 2.85813311,6.40683671 3.05799068,6.40683671 C3.15791946,6.40683671 3.25784825,6.40683671 3.35777703,6.40683671 C3.45770582,6.40683671 3.45770582,6.40683671 3.45770582,6.40683671 L3.5576346,6.40683671 L3.65756338,6.40683671 C4.65685123,6.40683671 5.4562815,6.90648063 5.85599664,7.80583969 L5.85599664,8.00569726 C6.35564056,8.10562604 7.05514205,8.30548361 7.75464354,8.50534118 L9.25357531,8.90505631 C10.0530056,9.0049851 10.7525071,9.0049851 11.4520086,8.80512753 C12.0515813,8.70519875 12.5512252,8.40541239 13.0508691,8.10562604 Z"}}]}}}({layout:l,isInSelections:y,isLassoActionActive:b,setIsLassoActionActive:x,translator:v}),m((()=>(i&&(i.interactions.lasso.active=()=>b),{...s.lasso})),[i,b,y,v.language()]),g((()=>{r.style.overflow="hidden";const t=e({renderer:{prio:[n.renderer||"canvas"]}}),i=t.chart({element:r,data:[],settings:{}}),c=P({chart:i,actions:s,selections:o,config:{selectionActions:!1}});c.setLayout(l),c.setBrushAliases({colorField:"qDimensionInfo/0/qAttrDimInfo/0"});const u=D({legendScrollOffset:0,rotation:0});return u.intercept("rotation",(e=>(u.get("rotation")+e)%(2*Math.PI))),u.onChanged("rotation",(()=>{i.update({partialData:!0})})),s.on("selections-start",(()=>{i.brush("selection").start()})),a({picasso:t,chart:i,selectionService:c,viewState:u,interactions:s}),()=>{c.destroy(),i.destroy(),s.removeAllListeners(),delete s.select,u.intercept("rotation",void 0),u.onChanged("rotation",void 0)}}),[]),i}({picasso:n}),o=function({flags:e,picasso:t,instance:n}){const r=v(),o=y(),i=h(),a=u(),[s,l]=p(),d=b(),f=x(),m=w(),S=c(),T=E(),{qLocaleInfo:R}=C(),N=k();return g((()=>{if(!n)return;a.style.overflow="hidden";const s=I({picasso:n.picasso,model:r,app:o,translator:i,config:{auto:!1,key:"fill"}}),c=A({picassoInstance:n.picasso,plugins:f,pluginArgs:Gy(d)}),u=Xy({flags:e,layout:d,app:o,model:r,picasso:t,chart:n.chart,translator:i,localeInfo:R,embed:N,options:S}),p=O({theme:T,config:{id:"pieChart",resolve:[["object","label.name","color","#595959"],["object","label.name","fontFamily"],["object","label.name","fontSize","12px"]]}}),h=Zy({app:o,chart:n.chart,translator:i,layout:d,constraints:m,options:S,themeService:p,colorService:s,custom:u});l({colorService:s,pluginService:c,themeService:p,tooltipService:h})}),[r,o,n,d,i.language(),m,S.direction,T.name()]),s}({flags:t,picasso:n,instance:e});!function({instance:e,services:t,picasso:n,flags:o}){const i=c(),a=v(),s=y(),l=h(),u=E(),p=b(),f=d(),m=w(),{qLocaleInfo:x}=C(),[k]=S((()=>t?(Yy.attrExpr.updateProperties(a,p),Promise.all([t.colorService.initialize({createConfig:({getUseBaseColors:e})=>({theme:u,legendProps:p.legend,layout:p,localeInfo:x,hc:p.qHyperCube,colorProps:{...p.color,useBaseColors:e(p)}})}),a&&!p.snapshotData?a.getEffectiveProperties():Promise.resolve({}),t.pluginService.initialize()])):Promise.resolve()),[t]);g((()=>{null!=e&&e.selectionService&&e.selectionService.setLayout(p)}),[p]),g((()=>{if(!e||!k)return;const{chart:c,viewState:d,interactions:h}=e,{colorService:g,pluginService:v,themeService:y,tooltipService:b}=t,w=i.viewState||{};p.snapshotData||(d.preventSet("legendScrollOffset",w.legendScrollOffset||0),d.preventSet("rotation",w.rotation||0)),function(e,t){e&&e.snapshotData&&e.snapshotData.content&&e.snapshotData.content.chartData&&(t.preventSet("legendScrollOffset",e.snapshotData.content.chartData.legendScrollOffset),t.preventSet("rotation",e.snapshotData.content.chartData.rotation))}(p,d),b.expando.set("properties",k[1]);const E=n.data("q")({key:"qHyperCube",data:p.qHyperCube,config:{localeInfo:x}}),C=[{type:"q",key:"qHyperCube",data:p.qHyperCube,config:{localeInfo:x}},...g.getData()],S={slice:{arc:"qMeasureInfo/0"}};p.qHyperCube.qMeasureInfo.length>1&&(S.slice.outerRadius="qMeasureInfo/1");const T=n.data("q")({data:p.qHyperCube,config:{localeInfo:x}}),R=Ib,N=function(e,t){return t.slice.outerRadius?e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc},radius:{field:t.slice.outerRadius}}}).filter((e=>e.num.value>0&&"NaN"!==e.radius.value)):e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc}}}).filter((e=>e.num.value>0))}(T,S);Ib=N.length;const P=new Set(Ab);Ab=new Set(N.map((e=>e.num.value)));const D=f?()=>{const e=c.brush("selection");r.selections(e,{},p).forEach((e=>{f.select(e)}))}:()=>{},M=p.snapshotData&&!i.freeResize?{width:(p.snapshotData.content.size||p.snapshotData.object.size).w,height:(p.snapshotData.content.size||p.snapshotData.object.size).h}:void 0,L=t=>e.selectionService.getIsSelectionLocked(t),I=()=>Lb({layout:p,context:{rtl:"rtl"===i.direction,theme:u,translator:l,constraints:m,model:a},selectionService:e.selectionService},{picasso:n,ds:E,model:a,app:s,chart:c,onSelect:D,isLocked:L,interactions:h,constraints:m,translator:l,viewState:d,dataRowCount:Ib,encodings:S,colorService:g,pluginService:v,themeService:y,tooltipService:b,debouncer:q,properties:k[1],logicalSize:M,flags:o,animations:{enabled:()=>function(e,t,n){return 0===n.get("rotation")&&!(e<=1||t<=1)}(R,Ib,d),transitionPhaseDisabled:Ob(P,Ab)}});e.generateSettings=I,c.update({data:C,settings:I()}),i.effect&&p.effectProperties?i.effect.update(p,c,{encodings:S}):p.effectPath||c.brush("highlight").end()}),[e,k,i.direction,i.effectProperties,m,u.name(),l.language()])}({instance:e,services:o,picasso:n,flags:t}),function({instance:e}){const t=b(),n=c(),r=T();g((()=>{e&&e.generateSettings&&(e.chart.update({settings:e.generateSettings()}),n.effect&&n.effect.update(t,e.chart))}),[r.width,r.height])}({instance:e}),qb({instance:e,services:o})}}}))}}}));
|
|
47
|
+
*/var Yh=Uh&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),_h))}};function Kh(e){return e&&"[object Function]"==={}.toString.call(e)}function Xh(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function Gh(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function Zh(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=Xh(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:Zh(Gh(e))}function Jh(e){return e&&e.referenceNode?e.referenceNode:e}var Qh=Uh&&!(!window.MSInputMethodContext||!document.documentMode),em=Uh&&/MSIE 10/.test(navigator.userAgent);function tm(e){return 11===e?Qh:10===e?em:Qh||em}function nm(e){if(!e)return document.documentElement;for(var t=tm(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===Xh(n,"position")?nm(n):n:e?e.ownerDocument.documentElement:document.documentElement}function rm(e){return null!==e.parentNode?rm(e.parentNode):e}function om(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&nm(a.firstElementChild)!==a?nm(l):l;var c=rm(e);return c.host?om(c.host,t):om(e,rm(t).host)}function im(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function am(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=im(t,"top"),o=im(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function sm(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+r+"Width"],10)}function lm(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],tm(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function cm(e){var t=e.body,n=e.documentElement,r=tm(10)&&getComputedStyle(n);return{height:lm("Height",t,n,r),width:lm("Width",t,n,r)}}var um=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},dm=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),pm=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},fm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function hm(e){return fm({},e,{right:e.left+e.width,bottom:e.top+e.height})}function mm(e){var t={};try{if(tm(10)){t=e.getBoundingClientRect();var n=im(e,"top"),r=im(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?cm(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,s=i.height||e.clientHeight||o.height,l=e.offsetWidth-a,c=e.offsetHeight-s;if(l||c){var u=Xh(e);l-=sm(u,"x"),c-=sm(u,"y"),o.width-=l,o.height-=c}return hm(o)}function gm(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=tm(10),o="HTML"===t.nodeName,i=mm(e),a=mm(t),s=Zh(e),l=Xh(t),c=parseFloat(l.borderTopWidth,10),u=parseFloat(l.borderLeftWidth,10);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=hm({top:i.top-a.top-c,left:i.left-a.left-u,width:i.width,height:i.height});if(d.marginTop=0,d.marginLeft=0,!r&&o){var p=parseFloat(l.marginTop,10),f=parseFloat(l.marginLeft,10);d.top-=c-p,d.bottom-=c-p,d.left-=u-f,d.right-=u-f,d.marginTop=p,d.marginLeft=f}return(r&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(d=am(d,t)),d}function vm(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=gm(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:im(n),s=t?0:im(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return hm(l)}function ym(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===Xh(e,"position"))return!0;var n=Gh(e);return!!n&&ym(n)}function bm(e){if(!e||!e.parentElement||tm())return document.documentElement;for(var t=e.parentElement;t&&"none"===Xh(t,"transform");)t=t.parentElement;return t||document.documentElement}function xm(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?bm(e):om(e,Jh(t));if("viewport"===r)i=vm(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=Zh(Gh(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var l=gm(s,a,o);if("HTML"!==s.nodeName||ym(a))i=l;else{var c=cm(e.ownerDocument),u=c.height,d=c.width;i.top+=l.top-l.marginTop,i.bottom=u+l.top,i.left+=l.left-l.marginLeft,i.right=d+l.left}}var p="number"==typeof(n=n||0);return i.left+=p?n:n.left||0,i.top+=p?n:n.top||0,i.right-=p?n:n.right||0,i.bottom-=p?n:n.bottom||0,i}function wm(e){return e.width*e.height}function Em(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=xm(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return fm({key:e},s[e],{area:wm(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function Cm(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?bm(t):om(t,Jh(n));return gm(n,o,r)}function km(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function Sm(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function Tm(e,t,n){n=n.split("-")[0];var r=km(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[Sm(s)],o}function Rm(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function Nm(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=Rm(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&Kh(n)&&(t.offsets.popper=hm(t.offsets.popper),t.offsets.reference=hm(t.offsets.reference),t=n(t,e))})),t}function Mm(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Cm(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=Em(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Tm(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=Nm(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Pm(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Dm(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function Lm(){return this.state.isDestroyed=!0,Pm(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Dm("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function Im(e){var t=e.ownerDocument;return t?t.defaultView:window}function Am(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||Am(Zh(i.parentNode),t,n,r),r.push(i)}function Om(e,t,n,r){n.updateBound=r,Im(e).addEventListener("resize",n.updateBound,{passive:!0});var o=Zh(e);return Am(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function qm(){this.state.eventsEnabled||(this.state=Om(this.reference,this.options,this.state,this.scheduleUpdate))}function zm(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,Im(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Fm(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Wm(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&Fm(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Hm=Uh&&/Firefox/i.test(navigator.userAgent);function Bm(e,t,n){var r=Rm(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var jm=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],$m=jm.slice(3);function Vm(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=$m.indexOf(e),r=$m.slice(n+1).concat($m.slice(0,n));return t?r.reverse():r}var Um="flip",_m="clockwise",Ym="counterclockwise";function Km(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(Rm(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return(c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return hm(s)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)}))}))).forEach((function(e,t){e.forEach((function(n,r){Fm(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var Xm={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:pm({},l,i[l]),end:pm({},l,i[l]+i[c]-a[c])};e.offsets.popper=fm({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=Fm(+n)?[+n,0]:Km(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||nm(e.instance.popper);e.instance.reference===n&&(n=nm(n));var r=Dm("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=xm(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),pm({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),pm({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=fm({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!Bm(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",u=l?"Top":"Left",d=u.toLowerCase(),p=l?"left":"top",f=l?"bottom":"right",h=km(r)[c];s[f]-h<a[d]&&(e.offsets.popper[d]-=a[d]-(s[f]-h)),s[d]+h>a[f]&&(e.offsets.popper[d]+=s[d]+h-a[f]),e.offsets.popper=hm(e.offsets.popper);var m=s[d]+s[c]/2-h/2,g=Xh(e.instance.popper),v=parseFloat(g["margin"+u],10),y=parseFloat(g["border"+u+"Width"],10),b=m-e.offsets.popper[d]-v-y;return b=Math.max(Math.min(a[c]-h,b),0),e.arrowElement=r,e.offsets.arrow=(pm(n={},d,Math.round(b)),pm(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Pm(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=xm(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=Sm(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Um:a=[r,o];break;case _m:a=Vm(r);break;case Ym:a=Vm(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=Sm(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,p="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),f=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===r&&f||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,y=-1!==["top","bottom"].indexOf(r),b=!!t.flipVariations&&(y&&"start"===i&&f||y&&"end"===i&&h||!y&&"start"===i&&m||!y&&"end"===i&&g),x=!!t.flipVariationsByContent&&(y&&"start"===i&&h||y&&"end"===i&&f||!y&&"start"===i&&g||!y&&"end"===i&&m),w=b||x;(p||v||w)&&(e.flipped=!0,(p||v)&&(r=a[l+1]),w&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=fm({},e.offsets.popper,Tm(e.instance.popper,e.offsets.reference,e.placement)),e=Nm(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=Sm(t),e.offsets.popper=hm(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!Bm(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=Rm(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=Rm(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=nm(e.instance.popper),l=mm(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),p=t?u||d||l%2==c%2?i:a:s,f=t?i:s;return{left:p(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:f(r.top),bottom:f(r.bottom),right:p(r.right)}}(e,window.devicePixelRatio<2||!Hm),d="bottom"===n?"top":"bottom",p="right"===r?"left":"right",f=Dm("transform"),h=void 0,m=void 0;if(m="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,h="right"===p?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&f)c[f]="translate3d("+h+"px, "+m+"px, 0)",c[d]=0,c[p]=0,c.willChange="transform";else{var g="bottom"===d?-1:1,v="right"===p?-1:1;c[d]=m*g,c[p]=h*v,c.willChange=d+", "+p}var y={"x-placement":e.placement};return e.attributes=fm({},y,e.attributes),e.styles=fm({},c,e.styles),e.arrowStyles=fm({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return Wm(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&Wm(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=Cm(o,t,e,n.positionFixed),a=Em(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Wm(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},Gm=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};um(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=Yh(this.update.bind(this)),this.options=fm({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(fm({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=fm({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return fm({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&Kh(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return dm(e,[{key:"update",value:function(){return Mm.call(this)}},{key:"destroy",value:function(){return Lm.call(this)}},{key:"enableEventListeners",value:function(){return qm.call(this)}},{key:"disableEventListeners",value:function(){return zm.call(this)}}]),e}();function Zm(e){return"function"==typeof e?e():e}Gm.Utils=("undefined"!=typeof window?window:global).PopperUtils,Gm.placements=jm,Gm.Defaults=Xm;var Jm="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,Qm={},eg=o.forwardRef((function(e,t){var n=e.anchorEl,r=e.children,i=e.container,a=e.disablePortal,s=void 0!==a&&a,l=e.keepMounted,c=void 0!==l&&l,u=e.modifiers,d=e.open,p=e.placement,f=void 0===p?"bottom":p,h=e.popperOptions,m=void 0===h?Qm:h,g=e.popperRef,v=e.transition,y=void 0!==v&&v,b=bi(e,["anchorEl","children","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition"]),x=o.useRef(null),w=Cu(x,t),E=o.useRef(null),C=Cu(E,g),k=o.useRef(C);Jm((function(){k.current=C}),[C]),o.useImperativeHandle(g,(function(){return E.current}),[]);var S=o.useState(!0),T=S[0],R=S[1],N=function(e){if("rtl"!==("undefined"!=typeof window&&document.body.getAttribute("dir")||"ltr"))return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f),M=o.useState(N),P=M[0],D=M[1],L=o.useCallback((function(){if(x.current&&n&&d){E.current&&(E.current.destroy(),k.current(null));var e=function(e){D(e.placement)};Zm(n);var t=new Gm(Zm(n),x.current,vi({placement:N},m,{modifiers:vi({},s?{}:{preventOverflow:{boundariesElement:"window"}},{},u,{},m.modifiers),onCreate:Tp(e,m.onCreate),onUpdate:Tp(e,m.onUpdate)}));k.current(t)}}),[n,s,u,d,N,m]),I=o.useCallback((function(e){Eu(w,e),L()}),[w,L]),A=function(){E.current&&(E.current.destroy(),k.current(null))};if(o.useEffect((function(){L()}),[L]),o.useEffect((function(){return function(){A()}}),[]),o.useEffect((function(){d||y||A()}),[d,y]),!c&&!d&&(!y||T))return null;var O={placement:P};return y&&(O.TransitionProps={in:d,onEnter:function(){R(!1)},onExited:function(){R(!0),A()}}),o.createElement(Sp,{disablePortal:s,container:i},o.createElement("div",vi({ref:I,role:"tooltip"},b,{style:vi({position:"fixed",top:0,left:0},b.style)}),"function"==typeof r?r(O):r))})),tg=Fd(o.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"})),ng=Fd(o.createElement("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"})),rg=o.createElement(tg,null);var og=jc((function(e){return{root:{position:"relative",display:"flex","&$checked $layer":{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})}},layer:{left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},checked:{}}}),{name:"PrivateRadioButtonIcon"})((function(e){var t=e.checked,n=e.classes;return o.createElement("div",{className:Cc(n.root,t&&n.checked)},rg,o.createElement(ng,{className:n.layer}))})),ig=o.createContext(),ag=o.createElement(og,{checked:!0}),sg=o.createElement(og,null),lg=o.forwardRef((function(e,t){var n=e.checked,r=e.classes,i=e.color,a=void 0===i?"secondary":i,s=e.name,l=e.onChange,c=bi(e,["checked","classes","color","name","onChange"]),u=o.useContext(ig),d=n,p=Tp(l,u&&u.onChange),f=s;return u&&(void 0===d&&(d=u.value===e.value),void 0===f&&(f=u.name)),o.createElement(ip,vi({color:a,type:"radio",icon:sg,checkedIcon:ag,classes:{root:Cc(r.root,r["color".concat($c(a))]),checked:r.checked,disabled:r.disabled},name:f,checked:d,onChange:p,ref:t},c))}));function cg(e,t){return"object"===wi(t)&&null!==t?e===t:String(e)===String(t)}jc((function(e){return{root:{color:e.palette.text.secondary},checked:{},disabled:{},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:e.palette.action.disabled}}}}),{name:"MuiRadio"})(lg),o.forwardRef((function(e,t){var n=e.actions,r=e.children,i=e.name,a=e.value,s=e.onChange,l=bi(e,["actions","children","name","value","onChange"]),c=o.useRef(null),u=o.useRef(null!=a).current,d=o.useState((function(){return u?null:e.defaultValue})),p=d[0],f=d[1];o.useImperativeHandle(n,(function(){return{focus:function(){var e=c.current.querySelector("input:not(:disabled):checked");e||(e=c.current.querySelector("input:not(:disabled)")),e&&e.focus()}}}),[]);var h={name:i,onChange:function(e){u||f(e.target.value),s&&s(e,e.target.value)},value:u?a:p},m=Cu(t,c);return o.createElement(Rf,vi({role:"radiogroup",ref:m},l),o.createElement(ig.Provider,{value:h},r))})),o.Component;var ug=o.forwardRef((function(e,t){var n=e.autoFocus,r=e.autoWidth,i=e.children,a=e.classes,s=e.className,l=e.defaultValue,c=e.disabled,u=e.displayEmpty,d=e.labelId,p=e.IconComponent,f=e.inputRef,h=e.MenuProps,m=void 0===h?{}:h,g=e.multiple,v=e.name,y=e.onBlur,b=e.onChange,x=e.onClose,w=e.onFocus,E=e.onOpen,C=e.open,k=e.readOnly,S=e.renderValue;e.required;var T=e.SelectDisplayProps,R=void 0===T?{}:T,N=e.tabIndex;e.type;var M=e.value,P=e.variant,D=void 0===P?"standard":P,L=bi(e,["autoFocus","autoWidth","children","classes","className","defaultValue","disabled","displayEmpty","labelId","IconComponent","inputRef","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","required","SelectDisplayProps","tabIndex","type","value","variant"]),I=o.useRef(null!=M).current,A=o.useState(l),O=A[0],q=A[1],z=I?M:O,F=o.useRef(null),W=o.useState(null),H=W[0],B=W[1],j=o.useRef(null!=C).current,$=o.useState(),V=$[0],U=$[1],_=o.useState(!1),Y=_[0],K=_[1],X=Cu(t,f);o.useImperativeHandle(X,(function(){return{focus:function(){H.focus()},node:F.current,value:z}}),[H,z]),o.useEffect((function(){n&&H&&H.focus()}),[n,H]);var G,Z,J=function(e,t){e?E&&E(t):(H.focus(),x&&x(t)),j||(U(r?null:H.clientWidth),K(e))},Q=function(e){return function(t){var n;if(g||J(!1,t),g){n=Array.isArray(z)?rl(z):[];var r=z.indexOf(e.props.value);-1===r?n.push(e.props.value):n.splice(r,1)}else n=e.props.value;I||q(n),b&&(t.persist(),Object.defineProperty(t,"target",{writable:!0,value:{value:n,name:v}}),b(t,e))}},ee=null!==H&&(j?C:Y);delete L["aria-invalid"];var te=[],ne=!1;(gf({value:z})||u)&&(S?G=S(z):ne=!0);var re=o.Children.map(i,(function(e){if(!o.isValidElement(e))return null;var t;if(g){if(!Array.isArray(z))throw new Error("Material-UI: the `value` prop must be an array when using the `Select` component with `multiple`.");(t=z.some((function(t){return cg(t,e.props.value)})))&&ne&&te.push(e.props.children)}else(t=cg(z,e.props.value))&&ne&&(Z=e.props.children);return o.cloneElement(e,{"aria-selected":t?"true":void 0,onClick:Q(e),role:"option",selected:t,value:void 0,"data-value":e.props.value})}));ne&&(G=g?te.join(", "):Z);var oe,ie=V;!r&&j&&H&&(ie=H.clientWidth),oe=void 0!==N?N:c?null:0;var ae=R.id||(v?"mui-component-select-".concat(v):void 0);return o.createElement(o.Fragment,null,o.createElement("div",vi({className:Cc(a.root,a.select,a.selectMenu,a[D],s,c&&a.disabled),ref:B,tabIndex:oe,role:"button","aria-expanded":ee?"true":void 0,"aria-labelledby":"".concat(d||""," ").concat(ae||""),"aria-haspopup":"listbox",onKeyDown:function(e){if(!k){-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),J(!0,e))}},onClick:c||k?null:function(e){J(!0,e)},onBlur:function(e){!ee&&y&&(e.persist(),Object.defineProperty(e,"target",{writable:!0,value:{value:z,name:v}}),y(e))},onFocus:w},R,{id:ae}),function(e){return null==e||"string"==typeof e&&!e.trim()}(G)?o.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}}):G),o.createElement("input",vi({value:Array.isArray(z)?z.join(","):z,name:v,ref:F,type:"hidden",autoFocus:n},L)),o.createElement(p,{className:Cc(a.icon,a["icon".concat($c(D))],ee&&a.iconOpen)}),o.createElement(Lh,vi({id:"menu-".concat(v||""),anchorEl:H,open:ee,onClose:function(e){J(!1,e)}},m,{MenuListProps:vi({"aria-labelledby":d,role:"listbox",disableListWrap:!0},m.MenuListProps),PaperProps:vi({},m.PaperProps,{style:vi({minWidth:ie},null!=m.PaperProps?m.PaperProps.style:null)})}),re))})),dg=Fh,pg=o.createElement(Zf,null),fg=o.createElement(wf,null),hg=o.forwardRef((function e(t,n){var r=t.autoWidth,i=void 0!==r&&r,a=t.children,s=t.classes,l=t.displayEmpty,c=void 0!==l&&l,u=t.IconComponent,d=void 0===u?zh:u,p=t.id,f=t.input,h=t.inputProps,m=t.labelId,g=t.MenuProps,v=t.multiple,y=void 0!==v&&v,b=t.native,x=void 0!==b&&b,w=t.onClose,E=t.onOpen,C=t.open,k=t.renderValue,S=t.SelectDisplayProps,T=t.variant,R=void 0===T?"standard":T,N=t.labelWidth,M=void 0===N?0:N,P=bi(t,["autoWidth","children","classes","displayEmpty","IconComponent","id","input","inputProps","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant","labelWidth"]),D=x?qh:ug,L=uf({props:t,muiFormControl:tp(),states:["variant"]}).variant||R,I=f||{standard:pg,outlined:o.createElement(Vh,{labelWidth:M}),filled:fg}[L];return o.cloneElement(I,vi({inputComponent:D,select:!0,inputProps:vi({children:a,IconComponent:d,variant:L,type:void 0,multiple:y},x?{}:{autoWidth:i,displayEmpty:c,labelId:m,MenuProps:g,onClose:w,onOpen:E,open:C,renderValue:k,SelectDisplayProps:vi({id:p},S)},{},h,{classes:h?ec({baseClasses:s,newClasses:h.classes,Component:e}):s},f?f.props.inputProps:{}),ref:n},P))}));hg.muiName="Select";var mg=jc(dg,{name:"MuiSelect"})(hg);var gg=jc((function(e){return{thumb:{"&$open":{"& $offset":{transform:"scale(1) translateY(-10px)"}}},open:{},offset:vi({zIndex:1},e.typography.body2,{fontSize:e.typography.pxToRem(12),lineHeight:1.2,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),top:-34,left:"calc(-50% + -4px)",transformOrigin:"bottom center",transform:"scale(0)",position:"absolute"}),circle:{display:"flex",alignItems:"center",justifyContent:"center",width:32,height:32,borderRadius:"50% 50% 50% 0",backgroundColor:"currentColor",transform:"rotate(-45deg)"},label:{color:e.palette.primary.contrastText,transform:"rotate(45deg)"}}}),{name:"PrivateValueLabel"})((function(e){var t=e.children,n=e.classes,r=e.className,i=e.open,a=e.value,s=e.valueLabelDisplay;return"off"===s?t:o.cloneElement(t,{className:Cc(t.props.className,(i||"on"===s)&&n.open,n.thumb)},o.createElement("span",{className:Cc(n.offset,r)},o.createElement("span",{className:n.circle},o.createElement("span",{className:n.label},a))))}));function vg(e,t){return e-t}function yg(e,t,n){return e<t?t:e>n?n:e}function bg(e,t){return e.reduce((function(e,n,r){var o=Math.abs(t-n);return null===e||o<e.distance||o===e.distance?{distance:o,index:r}:e}),null).index}function xg(e,t){if(void 0!==t.current&&e.changedTouches){for(var n=0;n<e.changedTouches.length;n+=1){var r=e.changedTouches[n];if(r.identifier===t.current)return{x:r.clientX,y:r.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function wg(e,t,n){return 100*(e-t)/(n-t)}function Eg(e,t){var n=Math.round(e/t)*t;return Number(n.toFixed(function(e){if(Math.abs(e)<1){var t=e.toExponential().split("e-"),n=t[0].split(".")[1];return(n?n.length:0)+parseInt(t[1],10)}var r=e.toString().split(".")[1];return r?r.length:0}(t)))}function Cg(e){var t=e.values,n=e.source,r=e.newValue,o=e.index;if(t[o]===r)return n;var i=rl(t);return i[o]=r,i}function kg(e){var t=e.sliderRef,n=e.activeIndex,r=e.setActive;t.current.contains(document.activeElement)&&Number(document.activeElement.getAttribute("data-index"))===n||t.current.querySelector('[data-index="'.concat(n,'"]')).focus(),r&&r(n)}var Sg={horizontal:{offset:function(e){return{left:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},"horizontal-reverse":{offset:function(e){return{right:"".concat(e,"%")}},leap:function(e){return{width:"".concat(e,"%")}}},vertical:{offset:function(e){return{bottom:"".concat(e,"%")}},leap:function(e){return{height:"".concat(e,"%")}}}},Tg=[],Rg=function(e){return e},Ng=o.forwardRef((function(e,t){var n=e["aria-label"],r=e["aria-labelledby"],i=e["aria-valuetext"],a=e.classes,s=e.className,l=e.color,c=void 0===l?"primary":l,u=e.component,d=void 0===u?"span":u,p=e.defaultValue,f=e.disabled,h=void 0!==f&&f,m=e.getAriaLabel,g=e.getAriaValueText,v=e.marks,y=void 0===v?Tg:v,b=e.max,x=void 0===b?100:b,w=e.min,E=void 0===w?0:w,C=e.name,k=e.onChange,S=e.onChangeCommitted,T=e.onMouseDown,R=e.orientation,N=void 0===R?"horizontal":R,M=e.step,P=void 0===M?1:M,D=e.ThumbComponent,L=void 0===D?"span":D,I=e.track,A=void 0===I?"normal":I,O=e.value,q=e.ValueLabelComponent,z=void 0===q?gg:q,F=e.valueLabelDisplay,W=void 0===F?"off":F,H=e.valueLabelFormat,B=void 0===H?Rg:H,j=bi(e,["aria-label","aria-labelledby","aria-valuetext","classes","className","color","component","defaultValue","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","onMouseDown","orientation","step","ThumbComponent","track","value","ValueLabelComponent","valueLabelDisplay","valueLabelFormat"]),$=Bc(),V=o.useRef(null!=O).current,U=o.useRef(),_=o.useState(-1),Y=_[0],K=_[1],X=o.useState(-1),G=X[0],Z=X[1],J=o.useState(p),Q=J[0],ee=J[1],te=V?O:Q,ne=Array.isArray(te),re=o.useRef(),oe=ne?rl(te).sort(vg):[te];oe=oe.map((function(e){return yg(e,E,x)}));var ie=!0===y&&null!==P?rl(Array(Math.floor((x-E)/P)+1)).map((function(e,t){return{value:E+P*t}})):y;re.current={source:te};var ae=Vu(),se=ae.isFocusVisible,le=ae.onBlurVisible,ce=ae.ref,ue=o.useState(-1),de=ue[0],pe=ue[1],fe=o.useRef(),he=Cu(ce,fe),me=Cu(t,he),ge=Lu((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));se(e)&&pe(t),Z(t)})),ve=Lu((function(){-1!==de&&(pe(-1),le()),Z(-1)})),ye=Lu((function(e){var t=Number(e.currentTarget.getAttribute("data-index"));Z(t)})),be=Lu((function(){Z(-1)})),xe=Lu((function(e){var t,n=Number(e.currentTarget.getAttribute("data-index")),r=oe[n],o=(x-E)/10,i=ie.map((function(e){return e.value})),a=i.indexOf(r);switch(e.key){case"Home":t=E;break;case"End":t=x;break;case"PageUp":P&&(t=r+o);break;case"PageDown":P&&(t=r-o);break;case"ArrowRight":case"ArrowUp":t=P?r+P:i[a+1]||i[i.length-1];break;case"ArrowLeft":case"ArrowDown":t=P?r-P:i[a-1]||i[0];break;default:return}if(e.preventDefault(),P&&(t=Eg(t,P)),t=yg(t,E,x),ne){var s=t;t=Cg({values:oe,source:te,newValue:t,index:n}).sort(vg),kg({sliderRef:fe,activeIndex:t.indexOf(s)})}V||ee(t),pe(n),k&&k(e,t),S&&S(e,t)})),we=o.useRef(),Ee=N;"rtl"===$.direction&&"vertical"!==N&&(Ee+="-reverse");var Ce=o.useCallback((function(e){var t,n,r=e.finger,o=e.move,i=void 0!==o&&o,a=e.values,s=e.source,l=fe.current.getBoundingClientRect(),c=l.width,u=l.height,d=l.bottom,p=l.left;if(t=0===Ee.indexOf("vertical")?(d-r.y)/u:(r.x-p)/c,-1!==Ee.indexOf("-reverse")&&(t=1-t),n=function(e,t,n){return(n-t)*e+t}(t,E,x),P)n=Eg(n,P);else{var f=ie.map((function(e){return e.value}));n=f[bg(f,n)]}n=yg(n,E,x);var h=0;if(ne){var m=n;h=(n=Cg({values:a,source:s,newValue:n,index:h=i?we.current:bg(a,n)}).sort(vg)).indexOf(m),we.current=h}return{newValue:n,activeIndex:h}}),[x,E,Ee,ne,P,ie]),ke=Lu((function(e){var t=xg(e,U);if(t){var n=Ce({finger:t,move:!0,values:oe,source:te}),r=n.newValue,o=n.activeIndex;kg({sliderRef:fe,activeIndex:o,setActive:K}),V||ee(r),k&&k(e,r)}})),Se=Lu((function(e){var t=xg(e,U);if(t){var n=Ce({finger:t,values:oe,source:te}).newValue;K(-1),"touchend"===e.type&&Z(-1),S&&S(e,n),U.current=void 0,document.body.removeEventListener("mousemove",ke),document.body.removeEventListener("mouseup",Se),document.body.removeEventListener("mouseenter",Te),document.body.removeEventListener("touchmove",ke),document.body.removeEventListener("touchend",Se)}})),Te=Lu((function(e){0===e.buttons&&Se(e)})),Re=Lu((function(e){e.preventDefault();var t=e.changedTouches[0];null!=t&&(U.current=t.identifier);var n=xg(e,U),r=Ce({finger:n,values:oe,source:te}),o=r.newValue,i=r.activeIndex;kg({sliderRef:fe,activeIndex:i,setActive:K}),V||ee(o),k&&k(e,o),document.body.addEventListener("touchmove",ke),document.body.addEventListener("touchend",Se)}));o.useEffect((function(){var e=fe.current;return e.addEventListener("touchstart",Re),function(){e.removeEventListener("touchstart",Re),document.body.removeEventListener("mousemove",ke),document.body.removeEventListener("mouseup",Se),document.body.removeEventListener("mouseenter",Te),document.body.removeEventListener("touchmove",ke),document.body.removeEventListener("touchend",Se)}}),[Te,Se,ke,Re]);var Ne=Lu((function(e){T&&T(e),e.preventDefault();var t=xg(e,U),n=Ce({finger:t,values:oe,source:te}),r=n.newValue,o=n.activeIndex;kg({sliderRef:fe,activeIndex:o,setActive:K}),V||ee(r),k&&k(e,r),document.body.addEventListener("mousemove",ke),document.body.addEventListener("mouseenter",Te),document.body.addEventListener("mouseup",Se)})),Me=wg(ne?oe[0]:E,E,x),Pe=wg(oe[oe.length-1],E,x)-Me,De=vi({},Sg[Ee].offset(Me),{},Sg[Ee].leap(Pe));return o.createElement(d,vi({ref:me,className:Cc(a.root,a["color".concat($c(c))],s,h&&a.disabled,ie.length>0&&ie.some((function(e){return e.label}))&&a.marked,!1===A&&a.trackFalse,{vertical:a.vertical}[N],{inverted:a.trackInverted}[A]),onMouseDown:Ne},j),o.createElement("span",{className:a.rail}),o.createElement("span",{className:a.track,style:De}),o.createElement("input",{value:oe.join(","),name:C,type:"hidden"}),ie.map((function(e){var t,n=wg(e.value,E,x),r=Sg[Ee].offset(n);if(!1===A)t=-1!==oe.indexOf(e.value);else{var i=ne?e.value>=oe[0]&&e.value<=oe[oe.length-1]:e.value<=oe[0];t=i&&"normal"===A||!i&&"inverted"===A}return o.createElement(o.Fragment,{key:e.value},o.createElement("span",{style:r,className:Cc(a.mark,t&&a.markActive)}),o.createElement("span",{"aria-hidden":!0,style:r,className:Cc(a.markLabel,t&&a.markLabelActive)},e.label))})),oe.map((function(e,t){var s=wg(e,E,x),l=Sg[Ee].offset(s);return o.createElement(z,{key:t,valueLabelFormat:B,valueLabelDisplay:W,className:a.valueLabel,value:"function"==typeof B?B(e,t):B,index:t,open:G===t||Y===t||"on"===W,disabled:h},o.createElement(L,{className:Cc(a.thumb,a["thumbColor".concat($c(c))],Y===t&&a.active,h&&a.disabled,de===t&&a.focusVisible),tabIndex:h?null:0,role:"slider",style:l,"data-index":t,"aria-label":m?m(t):n,"aria-labelledby":r,"aria-orientation":N,"aria-valuemax":x,"aria-valuemin":E,"aria-valuenow":e,"aria-valuetext":g?g(e,t):i,onKeyDown:xe,onFocus:ge,onBlur:ve,onMouseOver:ye,onMouseLeave:be}))})))}));jc((function(e){return{root:{height:2,width:"100%",boxSizing:"content-box",padding:"11px 0",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",color:e.palette.primary.main,WebkitTapHighlightColor:"transparent","&$disabled":{pointerEvents:"none",cursor:"default",color:e.palette.grey[400]},"&$vertical":{width:2,height:"100%",padding:"0 11px"},"@media (pointer: coarse)":{padding:"20px 0","&$vertical":{padding:"0 20px"}}},colorPrimary:{},colorSecondary:{color:e.palette.secondary.main},marked:{marginBottom:20,"&$vertical":{marginBottom:"auto",marginRight:20}},vertical:{},disabled:{},rail:{display:"block",position:"absolute",width:"100%",height:2,borderRadius:1,backgroundColor:"currentColor",opacity:.38,"$vertical &":{height:"100%",width:2}},track:{display:"block",position:"absolute",height:2,borderRadius:1,backgroundColor:"currentColor","$vertical &":{width:2}},trackFalse:{"& $track":{display:"none"}},trackInverted:{"& $track":{backgroundColor:"light"===e.palette.type?mi(e.palette.primary.main,.62):hi(e.palette.primary.main,.5)},"& $rail":{opacity:1}},thumb:{position:"absolute",width:12,height:12,marginLeft:-6,marginTop:-5,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow"],{duration:e.transitions.duration.shortest}),"&::after":{position:"absolute",content:'""',left:-18,top:-18,right:-18,bottom:-18},"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(fi(e.palette.primary.main,.16)),"@media (hover: none)":{boxShadow:"none"}},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(fi(e.palette.primary.main,.16))},"&$disabled":{width:8,height:8,marginLeft:-4,marginTop:-3,"&:hover":{boxShadow:"none"}},"$vertical &":{marginLeft:-5,marginBottom:-6},"$vertical &$disabled":{marginLeft:-3,marginBottom:-4}},thumbColorPrimary:{},thumbColorSecondary:{"&$focusVisible,&:hover":{boxShadow:"0px 0px 0px 8px ".concat(fi(e.palette.secondary.main,.16))},"&$active":{boxShadow:"0px 0px 0px 14px ".concat(fi(e.palette.secondary.main,.16))}},active:{},focusVisible:{},valueLabel:{},mark:{position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor"},markActive:{backgroundColor:e.palette.background.paper,opacity:.8},markLabel:vi({},e.typography.body2,{color:e.palette.text.secondary,position:"absolute",top:22,transform:"translateX(-50%)",whiteSpace:"nowrap","$vertical &":{top:"auto",left:22,transform:"translateY(50%)"}}),markLabelActive:{color:e.palette.text.primary}}}),{name:"MuiSlider"})(Ng);var Mg=o.forwardRef((function(e,t){var n=e.action,r=e.classes,i=e.className,a=e.message,s=e.role,l=void 0===s?"alert":s,c=bi(e,["action","classes","className","message","role"]);return o.createElement(Uc,vi({component:Od,variant:"body2",variantMapping:{body1:"div",body2:"div"},role:l,square:!0,elevation:6,className:Cc(r.root,i),ref:t},c),o.createElement("div",{className:r.message},a),n?o.createElement("div",{className:r.action},n):null)})),Pg=jc((function(e){var t="light"===e.palette.type?.8:.98,n=pi(e.palette.background.default,t);return{root:gi({color:e.palette.getContrastText(n),backgroundColor:n,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:e.shape.borderRadius,flexGrow:1},e.breakpoints.up("sm"),{flexGrow:"initial",minWidth:288}),message:{padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}}}),{name:"MuiSnackbarContent"})(Mg),Dg=o.forwardRef((function(e,t){var n=e.action,r=e.anchorOrigin,i=(r=void 0===r?{vertical:"bottom",horizontal:"center"}:r).vertical,a=r.horizontal,s=e.autoHideDuration,l=e.children,c=e.classes,u=e.className,d=e.ClickAwayListenerProps,p=e.ContentProps,f=e.disableWindowBlurListener,h=void 0!==f&&f,m=e.message,g=e.onClose,v=e.onEnter,y=e.onEntered,b=e.onEntering,x=e.onExit,w=e.onExited,E=e.onExiting,C=e.onMouseEnter,k=e.onMouseLeave,S=e.open,T=e.resumeHideDuration,R=e.TransitionComponent,N=void 0===R?jf:R,M=e.transitionDuration,P=void 0===M?{enter:la.enteringScreen,exit:la.leavingScreen}:M,D=e.TransitionProps,L=bi(e,["action","anchorOrigin","autoHideDuration","children","classes","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onClose","onEnter","onEntered","onEntering","onExit","onExited","onExiting","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"]),I=o.useRef(),A=o.useState(!0),O=A[0],q=A[1],z=o.useCallback((function(e){var t=null!=e?e:s;g&&null!=t&&(clearTimeout(I.current),I.current=setTimeout((function(){g&&null!=(null!=e?e:s)&&g(null,"timeout")}),t))}),[s,g]);o.useEffect((function(){return S&&z(),function(){clearTimeout(I.current)}}),[S,z]);var F=function(){clearTimeout(I.current)},W=o.useCallback((function(){if(null!=s){if(null!=T)return void z(T);z(.5*s)}}),[s,T,z]);return o.useEffect((function(){if(!h&&S)return window.addEventListener("focus",W),window.addEventListener("blur",F),function(){window.removeEventListener("focus",W),window.removeEventListener("blur",F)}}),[h,W,S]),!S&&O?null:o.createElement(xp,vi({onClickAway:function(e){g&&g(e,"clickaway")}},d),o.createElement("div",vi({className:Cc(c.root,c["anchorOrigin".concat($c(i)).concat($c(a))],u),onMouseEnter:function(e){C&&C(e),F()},onMouseLeave:function(e){k&&k(e),W()},ref:t},L),o.createElement(N,vi({appear:!0,in:S,onEnter:Tp((function(){q(!1)}),v),onEntered:y,onEntering:b,onExit:x,onExited:Tp((function(){q(!0)}),w),onExiting:E,timeout:P,direction:"top"===i?"down":"up"},D),l||o.createElement(Pg,vi({message:m,action:n},p)))))}));jc((function(e){var t={top:8},n={bottom:8},r={justifyContent:"flex-end"},o={justifyContent:"flex-start"},i={top:24},a={bottom:24},s={right:24},l={left:24},c={left:"50%",right:"auto",transform:"translateX(-50%)"};return{root:{zIndex:e.zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},anchorOriginTopCenter:vi({},t,gi({},e.breakpoints.up("sm"),vi({},i,{},c))),anchorOriginBottomCenter:vi({},n,gi({},e.breakpoints.up("sm"),vi({},a,{},c))),anchorOriginTopRight:vi({},t,{},r,gi({},e.breakpoints.up("sm"),vi({left:"auto"},i,{},s))),anchorOriginBottomRight:vi({},n,{},r,gi({},e.breakpoints.up("sm"),vi({left:"auto"},a,{},s))),anchorOriginTopLeft:vi({},t,{},o,gi({},e.breakpoints.up("sm"),vi({right:"auto"},i,{},l))),anchorOriginBottomLeft:vi({},n,{},o,gi({},e.breakpoints.up("sm"),vi({right:"auto"},a,{},l)))}}),{flip:!1,name:"MuiSnackbar"})(Dg);var Lg=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.alternativeLabel,a=e.children,s=e.classes,l=e.className,c=e.completed,u=void 0!==c&&c,d=e.connector,p=e.disabled,f=void 0!==p&&p,h=e.index,m=e.last,g=e.orientation,v=bi(e,["active","alternativeLabel","children","classes","className","completed","connector","disabled","index","last","orientation"]);return o.createElement("div",vi({className:Cc(s.root,s[g],l,i&&s.alternativeLabel,u&&s.completed),ref:t},v),d&&i&&0!==h&&o.cloneElement(d,{orientation:g,alternativeLabel:i,index:h,active:r,completed:u,disabled:f}),o.Children.map(a,(function(e){return o.isValidElement(e)?o.cloneElement(e,vi({active:r,alternativeLabel:i,completed:u,disabled:f,last:m,icon:h+1,orientation:g},e.props)):null})))}));jc({root:{},horizontal:{paddingLeft:8,paddingRight:8},vertical:{},alternativeLabel:{flex:1,position:"relative"},completed:{}},{name:"MuiStep"})(Lg);var Ig=Fd(o.createElement("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"})),Ag=Fd(o.createElement("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"})),Og=o.createElement("circle",{cx:"12",cy:"12",r:"12"}),qg=o.forwardRef((function(e,t){var n=e.completed,r=void 0!==n&&n,i=e.icon,a=e.active,s=void 0!==a&&a,l=e.error,c=void 0!==l&&l,u=e.classes;return"number"==typeof i||"string"==typeof i?c?o.createElement(Ag,{className:Cc(u.root,u.error),ref:t}):r?o.createElement(Ig,{className:Cc(u.root,u.completed),ref:t}):o.createElement(zd,{className:Cc(u.root,s&&u.active),ref:t},Og,o.createElement("text",{className:u.text,x:"12",y:"16",textAnchor:"middle"},i)):i})),zg=jc((function(e){return{root:{display:"block",color:e.palette.text.disabled,"&$active":{color:e.palette.primary.main},"&$completed":{color:e.palette.primary.main},"&$error":{color:e.palette.error.main}},text:{fill:e.palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily},active:{},completed:{},error:{}}}),{name:"MuiStepIcon"})(qg),Fg=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.alternativeLabel,a=void 0!==i&&i,s=e.children,l=e.classes,c=e.className,u=e.completed,d=void 0!==u&&u,p=e.disabled,f=void 0!==p&&p,h=e.error,m=void 0!==h&&h,g=e.icon;e.last;var v=e.optional,y=e.orientation,b=void 0===y?"horizontal":y,x=e.StepIconComponent,w=e.StepIconProps,E=bi(e,["active","alternativeLabel","children","classes","className","completed","disabled","error","icon","last","optional","orientation","StepIconComponent","StepIconProps"]),C=x;return g&&!C&&(C=zg),o.createElement("span",vi({className:Cc(l.root,l[b],c,f&&l.disabled,a&&l.alternativeLabel,m&&l.error),ref:t},E),g||C?o.createElement("span",{className:Cc(l.iconContainer,a&&l.alternativeLabel)},o.createElement(C,vi({completed:d,active:r,error:m,icon:g},w))):null,o.createElement("span",{className:l.labelContainer},o.createElement(Od,{variant:"body2",component:"span",className:Cc(l.label,a&&l.alternativeLabel,d&&l.completed,r&&l.active,m&&l.error),display:"block"},s),v))}));Fg.muiName="StepLabel";var Wg=jc((function(e){return{root:{display:"flex",alignItems:"center","&$alternativeLabel":{flexDirection:"column"},"&$disabled":{cursor:"default"}},horizontal:{},vertical:{},label:{color:e.palette.text.secondary,"&$active":{color:e.palette.text.primary,fontWeight:500},"&$completed":{color:e.palette.text.primary,fontWeight:500},"&$alternativeLabel":{textAlign:"center",marginTop:16},"&$error":{color:e.palette.error.main}},active:{},completed:{},error:{},disabled:{},iconContainer:{flexShrink:0,display:"flex",paddingRight:8,"&$alternativeLabel":{paddingRight:0}},alternativeLabel:{},labelContainer:{width:"100%"}}}),{name:"MuiStepLabel"})(Fg),Hg=o.forwardRef((function(e,t){var n=e.active,r=e.alternativeLabel,i=e.children,a=e.classes,s=e.className,l=e.completed,c=e.disabled,u=e.icon;e.last;var d=e.optional,p=e.orientation,f=bi(e,["active","alternativeLabel","children","classes","className","completed","disabled","icon","last","optional","orientation"]),h={active:n,alternativeLabel:r,completed:l,disabled:c,icon:u,optional:d,orientation:p},m=Ef(i,["StepLabel"])?o.cloneElement(i,h):o.createElement(Wg,h,i);return o.createElement(Zu,vi({disabled:c,TouchRippleProps:{className:a.touchRipple},className:Cc(a.root,a[p],s),ref:t},f),m)}));jc({root:{width:"100%",padding:"24px 16px",margin:"-24px -16px",boxSizing:"content-box"},horizontal:{},vertical:{justifyContent:"flex-start",padding:"8px",margin:"-8px"},touchRipple:{color:"rgba(0, 0, 0, 0.3)"}},{name:"MuiStepButton"})(Hg);var Bg=o.forwardRef((function(e,t){var n=e.active,r=e.alternativeLabel,i=void 0!==r&&r,a=e.classes,s=e.className,l=e.completed,c=e.disabled;e.index;var u=e.orientation,d=void 0===u?"horizontal":u,p=bi(e,["active","alternativeLabel","classes","className","completed","disabled","index","orientation"]);return o.createElement("div",vi({className:Cc(a.root,a[d],s,i&&a.alternativeLabel,n&&a.active,l&&a.completed,c&&a.disabled),ref:t},p),o.createElement("span",{className:Cc(a.line,"vertical"===d?a.lineVertical:a.lineHorizontal)}))})),jg=jc((function(e){return{root:{flex:"1 1 auto"},horizontal:{},vertical:{marginLeft:12,padding:"0 0 8px"},alternativeLabel:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"},active:{},completed:{},disabled:{},line:{display:"block",borderColor:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600]},lineHorizontal:{borderTopStyle:"solid",borderTopWidth:1},lineVertical:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}}),{name:"MuiStepConnector"})(Bg),$g=o.forwardRef((function(e,t){var n=e.active;e.alternativeLabel;var r=e.children,i=e.classes,a=e.className;e.completed;var s=e.last;e.optional,e.orientation;var l=e.TransitionComponent,c=void 0===l?Ep:l,u=e.transitionDuration,d=void 0===u?"auto":u,p=e.TransitionProps,f=bi(e,["active","alternativeLabel","children","classes","className","completed","last","optional","orientation","TransitionComponent","transitionDuration","TransitionProps"]),h=d;return"auto"!==d||c.muiSupportAuto||(h=void 0),o.createElement("div",vi({className:Cc(i.root,a,s&&i.last),ref:t},f),o.createElement(c,vi({in:n,className:i.transition,timeout:h,unmountOnExit:!0},p),r))}));jc((function(e){return{root:{marginTop:8,marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:"1px solid ".concat("light"===e.palette.type?e.palette.grey[400]:e.palette.grey[600])},last:{borderLeft:"none"},transition:{}}}),{name:"MuiStepContent"})($g);var Vg=o.createElement(jg,null),Ug=o.forwardRef((function(e,t){var n=e.activeStep,r=void 0===n?0:n,i=e.alternativeLabel,a=void 0!==i&&i,s=e.children,l=e.classes,c=e.className,u=e.connector,d=void 0===u?Vg:u,p=e.nonLinear,f=void 0!==p&&p,h=e.orientation,m=void 0===h?"horizontal":h,g=bi(e,["activeStep","alternativeLabel","children","classes","className","connector","nonLinear","orientation"]),v=o.isValidElement(d)?o.cloneElement(d,{orientation:m}):null,y=o.Children.toArray(s),b=y.map((function(e,t){var n={alternativeLabel:a,connector:d,last:t+1===y.length,orientation:m},i={index:t,active:!1,completed:!1,disabled:!1};return r===t?i.active=!0:!f&&r>t?i.completed=!0:!f&&r<t&&(i.disabled=!0),[!a&&v&&0!==t&&o.cloneElement(v,vi({key:t},i)),o.cloneElement(e,vi({},n,{},i,{},e.props))]}));return o.createElement(Uc,vi({square:!0,elevation:0,className:Cc(l.root,l[m],c,a&&l.alternativeLabel),ref:t},g),b)}));jc({root:{display:"flex",padding:24},horizontal:{flexDirection:"row",alignItems:"center"},vertical:{flexDirection:"column"},alternativeLabel:{alignItems:"flex-start"}},{name:"MuiStepper"})(Ug);var _g=o.forwardRef((function(e,t){var n=e.anchor,r=e.classes,i=e.className,a=e.width,s=bi(e,["anchor","classes","className","width"]);return o.createElement("div",vi({className:Cc(r.root,r["anchor".concat($c(n))],i),ref:t,style:gi({},Jp(n)?"width":"height",a)},s))})),Yg=jc((function(e){return{root:{position:"fixed",top:0,left:0,bottom:0,zIndex:e.zIndex.drawer-1},anchorLeft:{right:"auto"},anchorRight:{left:"auto",right:0},anchorTop:{bottom:"auto",right:0},anchorBottom:{top:"auto",bottom:0,right:0}}}),{name:"PrivateSwipeArea"})(_g),Kg=null;function Xg(e,t){return"right"===e?document.body.offsetWidth-t[0].pageX:t[0].pageX}function Gg(e,t){return"bottom"===e?window.innerHeight-t[0].clientY:t[0].clientY}function Zg(e,t){return e?t.clientWidth:t.clientHeight}function Jg(e,t,n,r){return Math.min(Math.max(n?t-e:r+t-e,0),r)}var Qg="undefined"!=typeof navigator&&/iPad|iPhone|iPod/.test(navigator.userAgent),ev={enter:la.enteringScreen,exit:la.leavingScreen},tv="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;o.forwardRef((function(e,t){var n=e.anchor,r=void 0===n?"left":n,i=e.disableBackdropTransition,a=void 0!==i&&i,s=e.disableDiscovery,c=void 0!==s&&s,u=e.disableSwipeToOpen,d=void 0===u?Qg:u,p=e.hideBackdrop,f=e.hysteresis,h=void 0===f?.52:f,m=e.minFlingVelocity,g=void 0===m?450:m,v=e.ModalProps,y=(v=void 0===v?{}:v).BackdropProps,b=bi(v,["BackdropProps"]),x=e.onClose,w=e.onOpen,E=e.open,C=e.PaperProps,k=void 0===C?{}:C,S=e.SwipeAreaProps,T=e.swipeAreaWidth,R=void 0===T?20:T,N=e.transitionDuration,M=void 0===N?ev:N,P=e.variant,D=void 0===P?"temporary":P,L=bi(e,["anchor","disableBackdropTransition","disableDiscovery","disableSwipeToOpen","hideBackdrop","hysteresis","minFlingVelocity","ModalProps","onClose","onOpen","open","PaperProps","SwipeAreaProps","swipeAreaWidth","transitionDuration","variant"]),I=Bc(),A=o.useState(!1),O=A[0],q=A[1],z=o.useRef({isSwiping:null}),F=o.useRef(),W=o.useRef(),H=o.useRef(),B=o.useRef(!1),j=o.useRef();tv((function(){j.current=null}),[E]);var $=o.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.mode,o=void 0===n?null:n,i=t.changeTransition,s=void 0===i||i,l=Qp(I,r),c=-1!==["right","bottom"].indexOf(l)?1:-1,u=Jp(r),d=u?"translate(".concat(c*e,"px, 0)"):"translate(0, ".concat(c*e,"px)"),f=H.current.style;f.webkitTransform=d,f.transform=d;var h="";if(o&&(h=I.transitions.create("all",wu({timeout:M},{mode:o}))),s&&(f.webkitTransition=h,f.transition=h),!a&&!p){var m=W.current.style;m.opacity=1-e/Zg(u,H.current),s&&(m.webkitTransition=h,m.transition=h)}}),[r,a,p,I,M]),V=Lu((function(e){if(B.current)if(Kg=null,B.current=!1,q(!1),z.current.isSwiping){z.current.isSwiping=null;var t,n=Qp(I,r),o=Jp(r);t=o?Xg(n,e.changedTouches):Gg(n,e.changedTouches);var i=o?z.current.startX:z.current.startY,a=Zg(o,H.current),s=Jg(t,i,E,a),l=s/a;Math.abs(z.current.velocity)>g&&(j.current=1e3*Math.abs((a-s)/z.current.velocity)),E?z.current.velocity>g||l>h?x():$(0,{mode:"exit"}):z.current.velocity<-g||1-l>h?w():$(Zg(o,H.current),{mode:"enter"})}else z.current.isSwiping=null})),U=Lu((function(e){if(H.current&&B.current&&(null==Kg||Kg===z.current)){var t=Qp(I,r),n=Jp(r),o=Xg(t,e.touches),i=Gg(t,e.touches);if(E&&H.current.contains(e.target)&&null==Kg){var a=function(e){var t=e.domTreeShapes,n=e.start,r=e.current,o=e.anchor,i={x:"scrollLeft",y:"scrollTop"},a={x:"scrollWidth",y:"scrollHeight"},s={x:"clientWidth",y:"clientHeight"};return t.some((function(e){var t=r>=n;"top"!==o&&"left"!==o||(t=!t);var l="left"===o||"right"===o?"x":"y",c=e[i[l]],u=c>0,d=c+e[s[l]]<e[a[l]];return t&&d||!t&&u?e:null}))}({domTreeShapes:function(e,t){for(var n=[];e&&e!==t;){var r=window.getComputedStyle(e);"absolute"===r.getPropertyValue("position")||"hidden"===r.getPropertyValue("overflow-x")?n=[]:(e.clientWidth>0&&e.scrollWidth>e.clientWidth||e.clientHeight>0&&e.scrollHeight>e.clientHeight)&&n.push(e),e=e.parentElement}return n}(e.target,H.current),start:n?z.current.startX:z.current.startY,current:n?o:i,anchor:r});if(a)return void(Kg=a);Kg=z.current}if(null==z.current.isSwiping){var s=Math.abs(o-z.current.startX),l=Math.abs(i-z.current.startY);s>l&&e.cancelable&&e.preventDefault();var u=n?s>l&&s>3:l>s&&l>3;if(!0===u||(n?l>3:s>3)){if(z.current.isSwiping=u,!u)return void V(e);z.current.startX=o,z.current.startY=i,c||E||(n?z.current.startX-=R:z.current.startY-=R)}}if(z.current.isSwiping){var d=Zg(n,H.current),p=n?z.current.startX:z.current.startY;E&&!z.current.paperHit&&(p=Math.min(p,d));var f=Jg(n?o:i,p,E,d);if(E)if(z.current.paperHit)0===f&&(z.current.startX=o,z.current.startY=i);else{if(!(n?o<d:i<d))return;z.current.paperHit=!0,z.current.startX=o,z.current.startY=i}null===z.current.lastTranslate&&(z.current.lastTranslate=f,z.current.lastTime=performance.now()+1);var h=(f-z.current.lastTranslate)/(performance.now()-z.current.lastTime)*1e3;z.current.velocity=.4*z.current.velocity+.6*h,z.current.lastTranslate=f,z.current.lastTime=performance.now(),e.cancelable&&e.preventDefault(),$(f)}}})),_=Lu((function(e){if(!e.defaultPrevented&&!e.muiHandled&&(!E||W.current.contains(e.target)||H.current.contains(e.target))){var t=Qp(I,r),n=Jp(r),o=Xg(t,e.touches),i=Gg(t,e.touches);if(!E){if(d||e.target!==F.current)return;if(n){if(o>R)return}else if(i>R)return}e.muiHandled=!0,Kg=null,z.current.startX=o,z.current.startY=i,q(!0),!E&&H.current&&$(Zg(n,H.current)+(c?20:-R),{changeTransition:!1}),z.current.velocity=0,z.current.lastTime=null,z.current.lastTranslate=null,z.current.paperHit=!1,B.current=!0}}));o.useEffect((function(){if("temporary"===D)return document.body.addEventListener("touchstart",_),document.body.addEventListener("touchmove",U,{passive:!1}),document.body.addEventListener("touchend",V),function(){document.body.removeEventListener("touchstart",_),document.body.removeEventListener("touchmove",U,{passive:!1}),document.body.removeEventListener("touchend",V)}}),[D,_,U,V]),o.useEffect((function(){return function(){Kg===z.current&&(Kg=null)}}),[]),o.useEffect((function(){E||q(!1)}),[E]);var Y=o.useCallback((function(e){W.current=l.findDOMNode(e)}),[]),K=o.useCallback((function(e){H.current=l.findDOMNode(e)}),[]);return o.createElement(o.Fragment,null,o.createElement(nf,vi({open:!("temporary"!==D||!O)||E,variant:D,ModalProps:vi({BackdropProps:vi({},y,{ref:Y})},b),PaperProps:vi({},k,{style:vi({pointerEvents:"temporary"!==D||E?"":"none"},k.style),ref:K}),anchor:r,transitionDuration:j.current||M,onClose:x,ref:t},L)),!d&&"temporary"===D&&o.createElement(Au,null,o.createElement(Yg,vi({anchor:r,ref:F,width:R},S))))}));var nv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=void 0===i?"secondary":i,s=e.edge,l=void 0!==s&&s,c=e.size,u=void 0===c?"medium":c,d=bi(e,["classes","className","color","edge","size"]),p=o.createElement("span",{className:n.thumb});return o.createElement("span",{className:Cc(n.root,r,{start:n.edgeStart,end:n.edgeEnd}[l],{small:n["size".concat($c(u))]}[u])},o.createElement(ip,vi({type:"checkbox",icon:p,checkedIcon:p,classes:{root:Cc(n.switchBase,n["color".concat($c(a))]),input:n.input,checked:n.checked,disabled:n.disabled},ref:t},d)),o.createElement("span",{className:n.track}))}));jc((function(e){return{root:{display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle"},edgeStart:{marginLeft:-8},edgeEnd:{marginRight:-8},switchBase:{position:"absolute",top:0,left:0,zIndex:1,color:"light"===e.palette.type?e.palette.grey[50]:e.palette.grey[400],transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),"&$checked":{transform:"translateX(50%)"},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{opacity:.5},"&$disabled + $track":{opacity:"light"===e.palette.type?.12:.1}},colorPrimary:{"&$checked":{color:e.palette.primary.main,"&:hover":{backgroundColor:fi(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.primary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},colorSecondary:{"&$checked":{color:e.palette.secondary.main,"&:hover":{backgroundColor:fi(e.palette.secondary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"&$disabled":{color:"light"===e.palette.type?e.palette.grey[400]:e.palette.grey[800]},"&$checked + $track":{backgroundColor:e.palette.secondary.main},"&$disabled + $track":{backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white}},sizeSmall:{width:40,height:24,padding:7,"& $thumb":{width:16,height:16},"& $switchBase":{padding:4}},checked:{},disabled:{},input:{left:"-100%",width:"300%"},thumb:{boxShadow:e.shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"},track:{height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:"light"===e.palette.type?e.palette.common.black:e.palette.common.white,opacity:"light"===e.palette.type?.38:.3}}}),{name:"MuiSwitch"})(nv);var rv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.disabled,a=void 0!==i&&i,s=e.disableFocusRipple,l=void 0!==s&&s,c=e.fullWidth,u=e.icon,d=e.indicator,p=e.label,f=e.onChange,h=e.onClick,m=e.selected,g=e.textColor,v=void 0===g?"inherit":g,y=e.value,b=e.wrapped,x=void 0!==b&&b,w=bi(e,["classes","className","disabled","disableFocusRipple","fullWidth","icon","indicator","label","onChange","onClick","selected","textColor","value","wrapped"]);return o.createElement(Zu,vi({focusRipple:!l,className:Cc(n.root,n["textColor".concat($c(v))],r,a&&n.disabled,m&&n.selected,p&&u&&n.labelIcon,c&&n.fullWidth,x&&n.wrapped),ref:t,role:"tab","aria-selected":m,disabled:a,onClick:function(e){f&&f(e,y),h&&h(e)}},w),o.createElement("span",{className:n.wrapper},u,p),d)}));jc((function(e){var t;return{root:vi({},e.typography.button,(t={maxWidth:264,minWidth:72,position:"relative",boxSizing:"border-box",minHeight:48,flexShrink:0,padding:"6px 12px"},gi(t,e.breakpoints.up("sm"),{padding:"6px 24px"}),gi(t,"overflow","hidden"),gi(t,"whiteSpace","normal"),gi(t,"textAlign","center"),gi(t,e.breakpoints.up("sm"),{fontSize:e.typography.pxToRem(13),minWidth:160}),t)),labelIcon:{minHeight:72,paddingTop:9,"& $wrapper > *:first-child":{marginBottom:6}},textColorInherit:{color:"inherit",opacity:.7,"&$selected":{opacity:1},"&$disabled":{opacity:.5}},textColorPrimary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.primary.main},"&$disabled":{color:e.palette.text.disabled}},textColorSecondary:{color:e.palette.text.secondary,"&$selected":{color:e.palette.secondary.main},"&$disabled":{color:e.palette.text.disabled}},selected:{},disabled:{},fullWidth:{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},wrapped:{fontSize:e.typography.pxToRem(12),lineHeight:1.5},wrapper:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:"100%",flexDirection:"column"}}}),{name:"MuiTab"})(rv);var ov=o.createContext(),iv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"table":i,s=e.padding,l=void 0===s?"default":s,c=e.size,u=void 0===c?"medium":c,d=e.stickyHeader,p=void 0!==d&&d,f=bi(e,["classes","className","component","padding","size","stickyHeader"]),h=o.useMemo((function(){return{padding:l,size:u,stickyHeader:p}}),[l,u,p]);return o.createElement(ov.Provider,{value:h},o.createElement(a,vi({ref:t,className:Cc(n.root,r,p&&n.stickyHeader)},f)))}));jc((function(e){return{root:{display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,"& caption":vi({},e.typography.body2,{padding:e.spacing(2),color:e.palette.text.secondary,textAlign:"left",captionSide:"bottom"})},stickyHeader:{borderCollapse:"separate"}}}),{name:"MuiTable"})(iv);var av=o.createContext(),sv={variant:"body"},lv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tbody":i,s=bi(e,["classes","className","component"]);return o.createElement(av.Provider,{value:sv},o.createElement(a,vi({className:Cc(n.root,r),ref:t},s)))}));jc({root:{display:"table-row-group"}},{name:"MuiTableBody"})(lv);var cv=o.forwardRef((function(e,t){var n,r=e.align,i=void 0===r?"inherit":r,a=e.classes,s=e.className,l=e.component,c=e.padding,u=e.scope,d=e.size,p=e.sortDirection,f=e.variant,h=bi(e,["align","classes","className","component","padding","scope","size","sortDirection","variant"]),m=o.useContext(ov),g=o.useContext(av);n=l||(g&&"head"===g.variant?"th":"td");var v=u;!v&&g&&"head"===g.variant&&(v="col");var y=c||(m&&m.padding?m.padding:"default"),b=d||(m&&m.size?m.size:"medium"),x=f||g&&g.variant,w=null;return p&&(w="asc"===p?"ascending":"descending"),o.createElement(n,vi({ref:t,className:Cc(a.root,a[x],s,"inherit"!==i&&a["align".concat($c(i))],"default"!==y&&a["padding".concat($c(y))],"medium"!==b&&a["size".concat($c(b))],{head:m&&m.stickyHeader&&a.stickyHeader}[x]),"aria-sort":w,scope:v},h))})),uv=jc((function(e){return{root:vi({},e.typography.body2,{display:"table-cell",verticalAlign:"inherit",borderBottom:"1px solid\n ".concat("light"===e.palette.type?mi(fi(e.palette.divider,1),.88):hi(fi(e.palette.divider,1),.68)),textAlign:"left",padding:16}),head:{color:e.palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium},body:{color:e.palette.text.primary},footer:{color:e.palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)},sizeSmall:{padding:"6px 24px 6px 16px","&:last-child":{paddingRight:16},"&$paddingCheckbox":{width:24,padding:"0px 12px 0 16px","&:last-child":{paddingLeft:12,paddingRight:16},"& > *":{padding:0}}},paddingCheckbox:{width:48,padding:"0 0 0 4px","&:last-child":{paddingLeft:0,paddingRight:4}},paddingNone:{padding:0,"&:last-child":{padding:0}},alignLeft:{textAlign:"left"},alignCenter:{textAlign:"center"},alignRight:{textAlign:"right",flexDirection:"row-reverse"},alignJustify:{textAlign:"justify"},stickyHeader:{position:"sticky",top:0,left:0,zIndex:2,backgroundColor:e.palette.background.default}}}),{name:"MuiTableCell"})(cv),dv={variant:"footer"},pv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tfoot":i,s=bi(e,["classes","className","component"]);return o.createElement(av.Provider,{value:dv},o.createElement(a,vi({className:Cc(n.root,r),ref:t},s)))}));jc({root:{display:"table-footer-group"}},{name:"MuiTableFooter"})(pv);var fv={variant:"head"},hv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"thead":i,s=bi(e,["classes","className","component"]);return o.createElement(av.Provider,{value:fv},o.createElement(a,vi({className:Cc(n.root,r),ref:t},s)))}));jc({root:{display:"table-header-group"}},{name:"MuiTableHead"})(hv);var mv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"div":i,s=e.disableGutters,l=void 0!==s&&s,c=e.variant,u=void 0===c?"regular":c,d=bi(e,["classes","className","component","disableGutters","variant"]);return o.createElement(a,vi({className:Cc(n.root,n[u],r,!l&&n.gutters),ref:t},d))})),gv=jc((function(e){return{root:{position:"relative",display:"flex",alignItems:"center"},gutters:gi({paddingLeft:e.spacing(2),paddingRight:e.spacing(2)},e.breakpoints.up("sm"),{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}),regular:e.mixins.toolbar,dense:{minHeight:48}}}),{name:"MuiToolbar"})(mv),vv=Fd(o.createElement("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"})),yv=Fd(o.createElement("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"})),bv=o.createElement(yv,null),xv=o.createElement(vv,null),wv=o.createElement(vv,null),Ev=o.createElement(yv,null),Cv=o.forwardRef((function(e,t){var n=e.backIconButtonProps,r=e.count,i=e.nextIconButtonProps,a=e.onChangePage,s=e.page,l=e.rowsPerPage,c=bi(e,["backIconButtonProps","count","nextIconButtonProps","onChangePage","page","rowsPerPage"]),u=Bc();return o.createElement("div",vi({ref:t},c),o.createElement(rp,vi({onClick:function(e){a(e,s-1)},disabled:0===s,color:"inherit"},n),"rtl"===u.direction?bv:xv),o.createElement(rp,vi({onClick:function(e){a(e,s+1)},disabled:s>=Math.ceil(r/l)-1,color:"inherit"},i),"rtl"===u.direction?wv:Ev))})),kv=function(e){var t=e.from,n=e.to,r=e.count;return"".concat(t,"-").concat(-1===n?r:n," of ").concat(r)},Sv=[10,25,50,100],Tv=o.forwardRef((function(e,t){var n,r=e.ActionsComponent,i=void 0===r?Cv:r,a=e.backIconButtonProps,s=e.classes,l=e.className,c=e.colSpan,u=e.component,d=void 0===u?uv:u,p=e.count,f=e.labelDisplayedRows,h=void 0===f?kv:f,m=e.labelRowsPerPage,g=void 0===m?"Rows per page:":m,v=e.nextIconButtonProps,y=e.onChangePage,b=e.onChangeRowsPerPage,x=e.page,w=e.rowsPerPage,E=e.rowsPerPageOptions,C=void 0===E?Sv:E,k=e.SelectProps,S=void 0===k?{}:k,T=bi(e,["ActionsComponent","backIconButtonProps","classes","className","colSpan","component","count","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onChangePage","onChangeRowsPerPage","page","rowsPerPage","rowsPerPageOptions","SelectProps"]);d!==uv&&"td"!==d||(n=c||1e3);var R=S.native?"option":Ah;return o.createElement(d,vi({className:Cc(s.root,l),colSpan:n,ref:t},T),o.createElement(gv,{className:s.toolbar},o.createElement("div",{className:s.spacer}),C.length>1&&o.createElement(Od,{color:"inherit",variant:"body2",className:s.caption},g),C.length>1&&o.createElement(mg,vi({classes:{select:s.select,icon:s.selectIcon},input:o.createElement(bf,{className:Cc(s.input,s.selectRoot)}),value:w,onChange:b},S),C.map((function(e){return o.createElement(R,{className:s.menuItem,key:e,value:e.value?e.value:e},e.label?e.label:e)}))),o.createElement(Od,{color:"inherit",variant:"body2",className:s.caption},h({from:0===p?0:x*w+1,to:Math.min(p,(x+1)*w),count:p,page:x})),o.createElement(i,{className:s.actions,backIconButtonProps:a,count:p,nextIconButtonProps:v,onChangePage:y,page:x,rowsPerPage:w})))}));jc((function(e){return{root:{color:e.palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}},toolbar:{minHeight:52,paddingRight:2},spacer:{flex:"1 1 100%"},caption:{flexShrink:0},selectRoot:{marginRight:32,marginLeft:8},select:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"},selectIcon:{top:1},input:{color:"inherit",fontSize:"inherit",flexShrink:0},menuItem:{},actions:{flexShrink:0,marginLeft:20}}}),{name:"MuiTablePagination"})(Tv);var Rv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.component,a=void 0===i?"tr":i,s=e.hover,l=void 0!==s&&s,c=e.selected,u=void 0!==c&&c,d=bi(e,["classes","className","component","hover","selected"]),p=o.useContext(av);return o.createElement(a,vi({ref:t,className:Cc(n.root,r,p&&{head:n.head,footer:n.footer}[p.variant],l&&n.hover,u&&n.selected)},d))}));jc((function(e){return{root:{color:"inherit",display:"table-row",verticalAlign:"middle",outline:0,"&$selected":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.04)":"rgba(255, 255, 255, 0.08)"},"&$hover:hover":{backgroundColor:"light"===e.palette.type?"rgba(0, 0, 0, 0.07)":"rgba(255, 255, 255, 0.14)"}},selected:{},hover:{},head:{},footer:{}}}),{name:"MuiTableRow"})(Rv);var Nv=Fd(o.createElement("path",{d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z"})),Mv=o.forwardRef((function(e,t){var n=e.active,r=void 0!==n&&n,i=e.children,a=e.classes,s=e.className,l=e.direction,c=void 0===l?"desc":l,u=e.hideSortIcon,d=void 0!==u&&u,p=e.IconComponent,f=void 0===p?Nv:p,h=bi(e,["active","children","classes","className","direction","hideSortIcon","IconComponent"]);return o.createElement(Zu,vi({className:Cc(a.root,s,r&&a.active),component:"span",disableRipple:!0,ref:t},h),i,d&&!r?null:o.createElement(f,{className:Cc(a.icon,a["iconDirection".concat($c(c))])}))}));jc((function(e){return{root:{cursor:"pointer",display:"inline-flex",justifyContent:"flex-start",flexDirection:"inherit",alignItems:"center","&:focus":{color:e.palette.text.secondary},"&:hover":{color:e.palette.text.secondary,"& $icon":{opacity:1}},"&$active":{color:e.palette.text.primary,"&& $icon":{opacity:1,color:e.palette.text.secondary}}},active:{},icon:{marginRight:4,marginLeft:4,opacity:0,transition:e.transitions.create(["opacity","transform"],{duration:e.transitions.duration.shorter}),userSelect:"none"},iconDirectionDesc:{transform:"rotate(0deg)"},iconDirectionAsc:{transform:"rotate(180deg)"}}}),{name:"MuiTableSortLabel"})(Mv);var Pv,Dv=!("undefined"==typeof window||!window.document||!window.document.createElement);function Lv(){if(Pv)return Pv;if(!Dv||!window.document.body)return"indeterminate";var e=window.document.createElement("div");return e.appendChild(document.createTextNode("ABCD")),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),Pv="reverse",e.scrollLeft>0?Pv="default":(e.scrollLeft=1,0===e.scrollLeft&&(Pv="negative")),document.body.removeChild(e),Pv}function Iv(e,t){var n=e.scrollLeft;if("rtl"!==t)return n;var r=Lv();if("indeterminate"===r)return Number.NaN;switch(r){case"negative":return e.scrollWidth-e.clientWidth+n;case"reverse":return e.scrollWidth-e.clientWidth-n}return n}function Av(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}var Ov={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"};function qv(e){var t=e.onChange,n=bi(e,["onChange"]),r=o.useRef(),i=o.useRef(null),a=function(){r.current=i.current.offsetHeight-i.current.clientHeight};return o.useEffect((function(){var e=Yp((function(){var e=r.current;a(),e!==r.current&&t(r.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[t]),o.useEffect((function(){a(),t(r.current)}),[t]),o.createElement("div",vi({style:Ov,ref:i},n))}var zv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.color,a=e.orientation,s=bi(e,["classes","className","color","orientation"]);return o.createElement("span",vi({className:Cc(n.root,n["color".concat($c(i))],r,{vertical:n.vertical}[a]),ref:t},s))})),Fv=jc((function(e){return{root:{position:"absolute",height:2,bottom:0,width:"100%",transition:e.transitions.create()},colorPrimary:{backgroundColor:e.palette.primary.main},colorSecondary:{backgroundColor:e.palette.secondary.main},vertical:{height:"100%",width:2,right:0}}}),{name:"PrivateTabIndicator"})(zv),Wv=o.createElement(vv,{fontSize:"small"}),Hv=o.createElement(yv,{fontSize:"small"}),Bv=o.forwardRef((function(e,t){var n=e.classes,r=e.className,i=e.direction,a=e.orientation,s=e.visible,l=bi(e,["classes","className","direction","orientation","visible"]),c=Cc(n.root,r,{vertical:n.vertical}[a]);return s?o.createElement(Zu,vi({component:"div",className:c,ref:t,role:null,tabIndex:null},l),"left"===i?Wv:Hv):o.createElement("div",{className:c})})),jv=jc({root:{width:40,flexShrink:0},vertical:{width:"100%",height:40,"& svg":{transform:"rotate(90deg)"}}},{name:"PrivateTabScrollButton"})(Bv),$v=o.forwardRef((function(e,t){var n=e.action,r=e.centered,i=void 0!==r&&r,a=e.children,s=e.classes,l=e.className,c=e.component,u=void 0===c?"div":c,d=e.indicatorColor,p=void 0===d?"secondary":d,f=e.onChange,h=e.orientation,m=void 0===h?"horizontal":h,g=e.ScrollButtonComponent,v=void 0===g?jv:g,y=e.scrollButtons,b=void 0===y?"auto":y,x=e.TabIndicatorProps,w=void 0===x?{}:x,E=e.textColor,C=void 0===E?"inherit":E,k=e.value,S=e.variant,T=void 0===S?"standard":S,R=bi(e,["action","centered","children","classes","className","component","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","TabIndicatorProps","textColor","value","variant"]),N=Bc(),M="scrollable"===T,P="rtl"===N.direction,D="vertical"===m,L=D?"scrollTop":"scrollLeft",I=D?"top":"left",A=D?"bottom":"right",O=D?"clientHeight":"clientWidth",q=D?"height":"width",z=o.useState(!1),F=z[0],W=z[1],H=o.useState({}),B=H[0],j=H[1],$=o.useState({start:!1,end:!1}),V=$[0],U=$[1],_=o.useState({overflow:"hidden",marginBottom:null}),Y=_[0],K=_[1],X=new Map,G=o.useRef(null),Z=o.useRef(null),J=function(){var e,t,n=G.current;if(n){var r=n.getBoundingClientRect();e={clientWidth:n.clientWidth,scrollLeft:n.scrollLeft,scrollTop:n.scrollTop,scrollLeftNormalized:Iv(n,N.direction),scrollWidth:n.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(n&&!1!==k){var o=Z.current.children;if(o.length>0){var i=o[X.get(k)];t=i?i.getBoundingClientRect():null}}return{tabsMeta:e,tabMeta:t}},Q=Lu((function(){var e,t=J(),n=t.tabsMeta,r=t.tabMeta,o=0;if(r&&n)if(D)o=r.top-n.top+n.scrollTop;else{var i=P?n.scrollLeftNormalized+n.clientWidth-n.scrollWidth:n.scrollLeft;o=r.left-n.left+i}var a=(gi(e={},I,o),gi(e,q,r?r[q]:0),e);if(isNaN(B[I])||isNaN(B[q]))j(a);else{var s=Math.abs(B[I]-a[I]),l=Math.abs(B[q]-a[q]);(s>=1||l>=1)&&j(a)}})),ee=function(e){!function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){},i=r.ease,a=void 0===i?Av:i,s=r.duration,l=void 0===s?300:s,c=null,u=t[e],d=!1,p=function(){d=!0},f=function r(i){if(d)o(new Error("Animation cancelled"));else{null===c&&(c=i);var s=Math.min(1,(i-c)/l);t[e]=a(s)*(n-u)+u,s>=1?requestAnimationFrame((function(){o(null)})):requestAnimationFrame(r)}};u===n?o(new Error("Element already at target position")):requestAnimationFrame(f)}(L,G.current,e)},te=function(e){var t=G.current[L];D?t+=e:(t+=e*(P?-1:1),t*=P&&"reverse"===Lv()?-1:1),ee(t)},ne=function(){te(-G.current[O])},re=function(){te(G.current[O])},oe=o.useCallback((function(e){K({overflow:null,marginBottom:-e})}),[]),ie=Lu((function(){var e=J(),t=e.tabsMeta,n=e.tabMeta;if(n&&t)if(n[I]<t[I]){var r=t[L]+(n[I]-t[I]);ee(r)}else if(n[A]>t[A]){var o=t[L]+(n[A]-t[A]);ee(o)}})),ae=Lu((function(){if(M&&"off"!==b){var e,t,n=G.current,r=n.scrollTop,o=n.scrollHeight,i=n.clientHeight,a=n.scrollWidth,s=n.clientWidth;if(D)e=r>1,t=r<o-i-1;else{var l=Iv(G.current,N.direction);e=P?l<a-s-1:l>1,t=P?l>1:l<a-s-1}e===V.start&&t===V.end||U({start:e,end:t})}}));o.useEffect((function(){var e=Yp((function(){Q(),ae()})),t=Np(G.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}),[Q,ae]);var se=o.useCallback(Yp((function(){ae()})));o.useEffect((function(){return function(){se.clear()}}),[se]),o.useEffect((function(){W(!0)}),[]),o.useEffect((function(){Q(),ae()})),o.useEffect((function(){ie()}),[ie,B]),o.useImperativeHandle(n,(function(){return{updateIndicator:Q,updateScrollButtons:ae}}),[Q,ae]);var le=o.createElement(Fv,vi({className:s.indicator,orientation:m,color:p},w,{style:vi({},B,{},w.style)})),ce=0,ue=o.Children.map(a,(function(e){if(!o.isValidElement(e))return null;var t=void 0===e.props.value?ce:e.props.value;X.set(t,ce);var n=t===k;return ce+=1,o.cloneElement(e,{fullWidth:"fullWidth"===T,indicator:n&&!F&&le,selected:n,onChange:f,textColor:C,value:t})})),de=function(){var e={};e.scrollbarSizeListener=M?o.createElement(qv,{className:s.scrollable,onChange:oe}):null;var t=V.start||V.end,n=M&&("auto"===b&&t||"desktop"===b||"on"===b);return e.scrollButtonStart=n?o.createElement(v,{orientation:m,direction:P?"right":"left",onClick:ne,visible:V.start,className:Cc(s.scrollButtons,"on"!==b&&s.scrollButtonsDesktop)}):null,e.scrollButtonEnd=n?o.createElement(v,{orientation:m,direction:P?"left":"right",onClick:re,visible:V.end,className:Cc(s.scrollButtons,"on"!==b&&s.scrollButtonsDesktop)}):null,e}();return o.createElement(u,vi({className:Cc(s.root,l,D&&s.vertical),ref:t},R),de.scrollButtonStart,de.scrollbarSizeListener,o.createElement("div",{className:Cc(s.scroller,M?s.scrollable:s.fixed),style:Y,ref:G,onScroll:se},o.createElement("div",{className:Cc(s.flexContainer,D&&s.flexContainerVertical,i&&!M&&s.centered),ref:Z,role:"tablist"},ue),F&&le),de.scrollButtonEnd)}));jc((function(e){return{root:{overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},vertical:{flexDirection:"column"},flexContainer:{display:"flex"},flexContainerVertical:{flexDirection:"column"},centered:{justifyContent:"center"},scroller:{position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},fixed:{overflowX:"hidden",width:"100%"},scrollable:{overflowX:"scroll",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},scrollButtons:{},scrollButtonsDesktop:gi({},e.breakpoints.down("xs"),{display:"none"}),indicator:{}}}),{name:"MuiTabs"})($v);var Vv={standard:Zf,filled:wf,outlined:Vh},Uv=o.forwardRef((function(e,t){var n=e.autoComplete,r=e.autoFocus,i=e.children,a=e.classes,s=e.className,c=e.color,u=void 0===c?"primary":c,d=e.defaultValue,p=e.error,f=e.FormHelperTextProps,h=e.fullWidth,m=e.helperText,g=e.hiddenLabel,v=e.id,y=e.InputLabelProps,b=e.inputProps,x=e.InputProps,w=e.inputRef,E=e.label,C=e.multiline,k=e.name,S=e.onBlur,T=e.onChange,R=e.onFocus,N=e.placeholder,M=e.required,P=void 0!==M&&M,D=e.rows,L=e.rowsMax,I=e.select,A=void 0!==I&&I,O=e.SelectProps,q=e.type,z=e.value,F=e.variant,W=void 0===F?"standard":F,H=bi(e,["autoComplete","autoFocus","children","classes","className","color","defaultValue","error","FormHelperTextProps","fullWidth","helperText","hiddenLabel","id","InputLabelProps","inputProps","InputProps","inputRef","label","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","rowsMax","select","SelectProps","type","value","variant"]),B=o.useState(0),j=B[0],$=B[1],V=o.useRef(null);o.useEffect((function(){if("outlined"===W){var e=l.findDOMNode(V.current);$(null!=e?e.offsetWidth:0)}}),[W,P,E]);var U={};"outlined"===W&&(y&&void 0!==y.shrink&&(U.notched=y.shrink),U.labelWidth=j),A&&(O&&O.native||(U.id=void 0),U["aria-describedby"]=void 0);var _=m&&v?"".concat(v,"-helper-text"):void 0,Y=E&&v?"".concat(v,"-label"):void 0,K=Vv[W],X=o.createElement(K,vi({"aria-describedby":_,autoComplete:n,autoFocus:r,defaultValue:d,fullWidth:h,multiline:C,name:k,rows:D,rowsMax:L,type:q,value:z,id:v,inputRef:w,onBlur:S,onChange:T,onFocus:R,placeholder:N,inputProps:b},U,x));return o.createElement(kf,vi({className:Cc(a.root,s),error:p,fullWidth:h,hiddenLabel:g,ref:t,required:P,color:u,variant:W},H),E&&o.createElement(eh,vi({htmlFor:v,ref:V,id:Y},y),E),A?o.createElement(mg,vi({"aria-describedby":_,id:v,labelId:Y,value:z,input:X},O),i):X,m&&o.createElement(Mf,vi({id:_},f),m))}));function _v(e){return Math.round(1e5*e)/1e5}jc({root:{}},{name:"MuiTextField"})(Uv);var Yv=o.forwardRef((function(e,t){var n=e.children,r=e.classes,i=e.disableFocusListener,a=void 0!==i&&i,s=e.disableHoverListener,c=void 0!==s&&s,u=e.disableTouchListener,d=void 0!==u&&u,p=e.enterDelay,f=void 0===p?0:p,h=e.enterTouchDelay,m=void 0===h?700:h,g=e.id,v=e.interactive,y=void 0!==v&&v,b=e.leaveDelay,x=void 0===b?0:b,w=e.leaveTouchDelay,E=void 0===w?1500:w,C=e.onClose,k=e.onOpen,S=e.open,T=e.placement,R=void 0===T?"bottom":T,N=e.PopperProps,M=e.title,P=e.TransitionComponent,D=void 0===P?jf:P,L=e.TransitionProps,I=bi(e,["children","classes","disableFocusListener","disableHoverListener","disableTouchListener","enterDelay","enterTouchDelay","id","interactive","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperProps","title","TransitionComponent","TransitionProps"]),A=Bc(),O=o.useState(!1),q=O[0],z=O[1],F=o.useState(0)[1],W=o.useState(),H=W[0],B=W[1],j=o.useRef(!1),$=o.useRef(null!=S).current,V=o.useRef(),U=o.useRef(),_=o.useRef(),Y=o.useRef(),K=o.useRef();o.useEffect((function(){V.current||(V.current="mui-tooltip-".concat(Math.round(1e5*Math.random()))),S&&F((function(e){return!e}))}),[S]),o.useEffect((function(){return function(){clearTimeout(U.current),clearTimeout(_.current),clearTimeout(Y.current),clearTimeout(K.current)}}),[]);var X=function(e){$||q||z(!0),k&&k(e)},G=function(e){var t=n.props;"mouseover"===e.type&&t.onMouseOver&&t.onMouseOver(e),j.current&&"touchstart"!==e.type||(H&&H.removeAttribute("title"),clearTimeout(_.current),clearTimeout(Y.current),f?(e.persist(),_.current=setTimeout((function(){X(e)}),f)):X(e))},Z=Vu(),J=Z.isFocusVisible,Q=Z.onBlurVisible,ee=Z.ref,te=o.useState(!1),ne=te[0],re=te[1],oe=function(e){$||z(!1),C&&C(e),clearTimeout(U.current),U.current=setTimeout((function(){j.current=!1}),A.transitions.duration.shortest)},ie=function(e){var t=n.props;"blur"===e.type&&(t.onBlur&&t.onBlur(e),ne&&(re(!1),Q())),"mouseleave"===e.type&&t.onMouseLeave&&t.onMouseLeave(e),clearTimeout(_.current),clearTimeout(Y.current),e.persist(),Y.current=setTimeout((function(){oe(e)}),x)},ae=Cu(B,t),se=Cu(ee,ae),le=o.useCallback((function(e){Eu(se,l.findDOMNode(e))}),[se]),ce=Cu(n.ref,le),ue=$?S:q;""===M&&(ue=!1);var de=!ue&&!c,pe=vi({"aria-describedby":ue?g||V.current:null,title:de&&"string"==typeof M?M:null},I,{},n.props,{className:Cc(I.className,n.props.className)});d||(pe.onTouchStart=function(e){j.current=!0;var t=n.props;t.onTouchStart&&t.onTouchStart(e),clearTimeout(Y.current),clearTimeout(U.current),clearTimeout(K.current),e.persist(),K.current=setTimeout((function(){G(e)}),m)},pe.onTouchEnd=function(e){n.props.onTouchEnd&&n.props.onTouchEnd(e),clearTimeout(K.current),clearTimeout(Y.current),e.persist(),Y.current=setTimeout((function(){oe(e)}),E)}),c||(pe.onMouseOver=G,pe.onMouseLeave=ie),a||(pe.onFocus=function(e){H||B(e.currentTarget),J(e)&&(re(!0),G(e));var t=n.props;t.onFocus&&t.onFocus(e)},pe.onBlur=ie);var fe=y?{onMouseOver:pe.onMouseOver,onMouseLeave:pe.onMouseLeave,onFocus:pe.onFocus,onBlur:pe.onBlur}:{};return o.createElement(o.Fragment,null,o.cloneElement(n,vi({ref:ce},pe)),o.createElement(eg,vi({className:Cc(r.popper,y&&r.popperInteractive),placement:R,anchorEl:H,open:!!H&&ue,id:pe["aria-describedby"],transition:!0},fe,N),(function(e){var t=e.placement,n=e.TransitionProps;return o.createElement(D,vi({timeout:A.transitions.duration.shorter},n,L),o.createElement("div",{className:Cc(r.tooltip,r["tooltipPlacement".concat($c(t.split("-")[0]))],j.current&&r.touch)},M))})))}));jc((function(e){return{popper:{zIndex:e.zIndex.tooltip,pointerEvents:"none",flip:!1},popperInteractive:{pointerEvents:"auto"},tooltip:{backgroundColor:fi(e.palette.grey[700],.9),borderRadius:e.shape.borderRadius,color:e.palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(10),lineHeight:"".concat(_v(1.4),"em"),maxWidth:300,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},touch:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:"".concat(_v(16/14),"em"),fontWeight:e.typography.fontWeightRegular},tooltipPlacementLeft:gi({transformOrigin:"right center",margin:"0 24px "},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementRight:gi({transformOrigin:"left center",margin:"0 24px"},e.breakpoints.up("sm"),{margin:"0 14px"}),tooltipPlacementTop:gi({transformOrigin:"center bottom",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"}),tooltipPlacementBottom:gi({transformOrigin:"center top",margin:"24px 0"},e.breakpoints.up("sm"),{margin:"14px 0"})}}),{name:"MuiTooltip"})(Yv);var Kv={entering:{transform:"none"},entered:{transform:"none"}},Xv={enter:la.enteringScreen,exit:la.leavingScreen};function Gv(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Zv({d:e,size:t,style:n={},viewBox:r="0 0 16 16"}){const i={fontSize:Gv(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",...n};return o.createElement("i",{style:i},o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:r,fill:"currentColor"},o.createElement("path",{d:e})))}o.forwardRef((function(e,t){var n=e.children,r=e.in,i=e.onEnter,a=e.onExit,s=e.style,l=e.timeout,c=void 0===l?Xv:l,u=bi(e,["children","in","onEnter","onExit","style","timeout"]),d=Bc(),p=Cu(n.ref,t);return o.createElement(nu,vi({appear:!0,in:r,onEnter:function(e,t){xu(e);var n=wu({style:s,timeout:c},{mode:"enter"});e.style.webkitTransition=d.transitions.create("transform",n),e.style.transition=d.transitions.create("transform",n),i&&i(e,t)},onExit:function(e){var t=wu({style:s,timeout:c},{mode:"exit"});e.style.webkitTransition=d.transitions.create("transform",t),e.style.transition=d.transitions.create("transform",t),a&&a(e)},timeout:c},u),(function(e,t){return o.cloneElement(n,vi({style:vi({transform:"scale(0)",visibility:"exited"!==e||r?void 0:"hidden"},Kv[e],{},s,{},n.props.style),ref:p},t))}))}));const Jv={d:"M15.9993744,3 L15.9993744,5 L4.99937445,5 L4.99937445,3 L15.9993744,3 Z M8.99937445,7 L15.9993744,7 L15.9993744,9 L8.99937445,9 L8.99937445,7 Z M11.9993744,11 L15.9993744,11 L15.9993744,13 L11.9993744,13 L11.9993744,11 Z M2.2,11 L7,11 L7,9.00369263 C7,8.89323568 7.08954305,8.80369263 7.2,8.80369263 C7.2549016,8.80369263 7.30738916,8.82626165 7.34515712,8.86610844 L10.1852182,11.8624926 C10.2583124,11.93961 10.258346,12.0604218 10.1852948,12.13758 L7.34523376,15.1373102 C7.2692928,15.2175206 7.14270711,15.2209817 7.06249671,15.1450407 C7.02260076,15.1072683 7,15.0547472 7,14.9998069 L7,12.9043747 C4.79351111,12.9043747 2.8018683,12.9266213 1.02507156,12.9711145 L1.02507252,12.9711526 C0.472939773,12.9849787 0.014139487,12.5485949 0.000313396522,11.9964622 C0.000104473692,11.988119 -1.32268838e-12,11.9797736 -1.3231638e-12,11.9714278 L-1.83320026e-12,3 L2,3 L2,10.8 C2,10.9104569 2.08954305,11 2.2,11 Z"},Qv={d:"M13,7 L8,7 L13,7 L13,4.98151367 C13,2.23029964 10.7614237,0 8,0 C5.23857625,0 3,2.23029964 3,4.98151367 L3,7 L3.75,7 L3,7 L4.5,7 L4.5,5.33193359 C4.5,3.21561511 5.54860291,1.5 8,1.5 C10.4513971,1.5 11.5,3.21561511 11.5,5.33193359 L11.5,7 L12.25,7 L3,7 C2.44771525,7 2,7.44771525 2,8 L2,15 C2,15.5522847 2.44771525,16 3,16 L13,16 C13.5522847,16 14,15.5522847 14,15 L14,8 C14,7.44771525 13.5522847,7 13,7 L3,7 L13,7 Z"},ey="M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z",ty={d:"M2.4,4 L13.6,4 C13.7104569,4 13.8,4.08954305 13.8,4.2 C13.8,4.24327404 13.7859644,4.28538077 13.76,4.32 L8.16,11.7866667 C8.09372583,11.8750322 7.96836556,11.8929408 7.88,11.8266667 C7.86483887,11.8152958 7.85137085,11.8018278 7.84,11.7866667 L2.24,4.32 C2.17372583,4.23163444 2.19163444,4.10627417 2.28,4.04 C2.31461923,4.01403557 2.35672596,4 2.4,4 Z"},ny={d:"M4,13.6 L4,2.4 C4,2.28954305 4.08954305,2.2 4.2,2.2 C4.24327404,2.2 4.28538077,2.21403557 4.32,2.24 L11.7866667,7.84 C11.8750322,7.90627417 11.8929408,8.03163444 11.8266667,8.12 C11.8152958,8.13516113 11.8018278,8.14862915 11.7866667,8.16 L4.32,13.76 C4.23163444,13.8262742 4.10627417,13.8083656 4.04,13.72 C4.01403557,13.6853808 4,13.643274 4,13.6 Z"};function ry(e,t,n){(function({model:e,properties:t}){return e.modifiers?e.modifiers.apply({model:e,properties:t}):Promise.resolve()})({model:e,properties:n}).then((()=>{e.colorSupport&&e.colorSupport.colorByUpdater(n,"qHyperCubeDef.",e.layout);let r=zo.generate(t,n);r&&r.length&&(r=r.map((e=>({qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}))),e.applyPatches(r,!0))}))}function oy(e,t,n,r,o,i){e.getEffectiveProperties().then((a=>{const s=a.qHyperCubeDef[r].findIndex((e=>e.qDef.cId===t)),l=a.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r].findIndex((e=>e.qDef.cId===n)),c=Q(!0,{},a),u=c.qHyperCubeDef[r][s],d=c.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][l];d.qAttributeDimensions=u.qAttributeDimensions,u.qAttributeDimensions=[],i||(d.qAttributeExpressions=u.qAttributeExpressions,u.qAttributeExpressions=[]),c.qHyperCubeDef[r][s]=d,c.qHyperCubeDef.qLayoutExclude.qHyperCubeDef[r][l]=u,o&&o({oldItem:u,newItem:d,oldProperties:a,newProperties:c,model:e}),ry(e,a,c)}))}const iy=(e,t)=>{const n=[],r=[];return t.forEach((t=>{t.qCalcCondition.qCond.qv&&r.push(e.evaluate(t.qCalcCondition.qCond.qv).then((e=>{"0"===e&&n.push(t.qDef.cId)})))})),Promise.all(r).then((()=>n))};function ay({dir:e,dock:t,altList:n,model:r,translator:o,app:i,onChange:a}){return 0===n.length?null:{dir:e,dock:t,getAlternatives:()=>iy(i,n).then((e=>Promise.all(n.filter((t=>!e.includes(t.qDef.cId))).map((e=>function(e,t,n){if(e.qLibraryId)return t.getDimension(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null)).then((e=>e?"H"!==e.qDim.qGrouping&&e.qDim.qLabelExpression?e.qDim.qLabelExpression:e.qDim.title:n.get("Object.ErrorMessage.MissingDimension")));const r=e.qDef.qLabelExpression;if(r)return t.evaluate(r);const o=e.qDef.qFieldLabels[0]||e.qDef.qFieldDefs[0];return Promise.resolve(o)}(e,i,o).then((t=>({id:e.qDef.cId,selected:!1,title:t})))))))),changeTo(e,t){oy(r,e,t,"qDimensions",a)}}}function sy(e,t,n,r="/qHyperCubeDef"){return{breadcrumbs:e.qGroupFallbackTitles.slice(0,e.qGroupPos),drilldown:"H"===e.qGrouping,index:t,locked:!!e.qLocked,text:"H"===e.qGrouping?e.qGroupFallbackTitles[e.qGroupPos]:e.qFallbackTitle,popoverText:(o=e,"H"===o.qGrouping?o.title||"":o.qFallbackTitle||""),drillUp(e){n.drillUp(r,t,e)},id:e.cId};var o}function ly({altList:e,app:t,dir:n,dock:r,model:o,onChange:i,skipAttributeExpressions:a,translator:s}){return 0===e.length?null:{dir:n,dock:r,getAlternatives:()=>iy(t,e).then((n=>Promise.all(e.filter((e=>!n.includes(e.qDef.cId))).map((e=>function(e,t,n){if(e.qLibraryId)return t.getMeasure(e.qLibraryId).then((e=>e.getLayout())).catch((()=>null)).then((e=>e?e.qMeasure.qLabelExpression?e.qMeasure.qLabelExpression:e.qMeasure.qLabel||e.qMeasure.qDef:n.get("Object.ErrorMessage.MissingMeasure")));const r=e.qDef.qLabelExpression;if(r)return t.evaluate(r);const o=e.qDef.qLabel||e.qDef.qDef;return Promise.resolve(o)}(e,t,s).then((t=>({id:e.qDef.cId,selected:!1,title:t})))))))),changeTo(e,t){oy(o,e,t,"qMeasures",i,a)}}}function cy(e,t){return{breadcrumbs:[],drilldown:!1,index:t,locked:!1,text:e.qFallbackTitle,popoverText:e.qFallbackTitle,id:e.cId}}const uy={bottom:{anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},top:{anchorOrigin:{vertical:"top",horizontal:"center"},transformOrigin:{vertical:"bottom",horizontal:"center"}},left:{anchorOrigin:{vertical:"center",horizontal:"left"},transformOrigin:{vertical:"center",horizontal:"right"}},right:{anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"}}},dy=({children:e,...t})=>o.createElement(Vd,V({size:"small",disableRipple:!0,disableTouchRipple:!0},t),e);function py(){function e({title:e,selected:t,onClick:n}){const r=pe.detectTextDirection(e);return o.createElement(ch,{role:"menuitem",button:!0,onClick:n,style:{textAlign:"start"}},o.createElement(ph,{style:{minWidth:32}},o.createElement(Zv,{d:t?ey:""})),o.createElement(mh,{primaryTypographyProps:{dir:r}},e))}function t({alignTo:t,changeTo:n,current:r,dir:i,dock:a,list:s,onClose:l,show:c,instruction:u}){const d=s.map((t=>o.createElement(e,{key:t.id,title:t.title,onClick:()=>n(t.id)})));return o.createElement(Eh,V({anchorEl:t,open:c,onClose:l},uy[a],{PaperProps:{style:{minWidth:"250px",maxHeight:"300px"}}}),o.createElement(ah,{dense:!0,dir:i,"aria-label":u,component:"nav"},o.createElement(e,{title:r,selected:!0,onClick:l}),d))}e.propTypes={title:Ko.exports.string.isRequired,selected:Ko.exports.bool,onClick:Ko.exports.func.isRequired},e.defaultProps={selected:!1},t.propTypes={alignTo:Ko.exports.any,changeTo:Ko.exports.func.isRequired,current:Ko.exports.string.isRequired,dir:Ko.exports.string.isRequired,dock:Ko.exports.string.isRequired,list:Ko.exports.array,onClose:Ko.exports.func.isRequired,show:Ko.exports.bool.isRequired,instruction:Ko.exports.string.isRequired},t.defaultProps={list:[],alignTo:null};class n extends o.Component{constructor(e){super(e),this.state={open:!1,inSelection:e.selections&&e.selections.isActive(),hasValidAlternatives:!1},this.openPopover=this.openPopover.bind(this),this.closePopover=this.closePopover.bind(this),this.changeTo=this.changeTo.bind(this),this.alignToRef=o.createRef()}componentDidMount(){const{selections:e}=this.props;e&&(this.onSelectionsActivated=()=>this.setState({inSelection:!0}),this.onSelectionsDeactivated=()=>this.setState({inSelection:!1}),e.addListener("activated",this.onSelectionsActivated),e.addListener("deactivated",this.onSelectionsDeactivated),e.addListener("canceled",this.onSelectionsDeactivated))}componentDidUpdate(e,t){const{popover:n,supportConditional:r}=this.props;n&&r&&n.getAlternatives().then((e=>{t.hasValidAlternatives!==(0!==e.length)&&this.setState({hasValidAlternatives:0!==e.length})}))}componentWillUnmount(){const{selections:e}=this.props;e&&(e.removeListener("activated",this.onSelectionsActivated),e.removeListener("deactivated",this.onSelectionsDeactivated),e.removeListener("canceled",this.onSelectionsDeactivated))}changeTo(e){this.props.popover.changeTo(this.props.titleData.id,e),this.closePopover()}openPopover(){this.state.closeTime&&Date.now()-this.state.closeTime<20||this.props.popover.getAlternatives().then((e=>{this.setState({open:!0,alternatives:e})}))}closePopover(){this.setState({open:!1,closeTime:Date.now()})}render(){const{titleData:e,popover:n,translator:r,disabled:i,isDimension:a,padding:s,minWidth:l,hasAlternative:c,supportConditional:u}=this.props,d={flex:"1 1 auto",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",fontWeight:"normal",lineHeight:"normal",...this.props.style},p=e.breadcrumbs.length,f=i||this.state.inSelection,h=e.breadcrumbs.map(((t,n)=>o.createElement(dy,{style:{display:"flex",alignItems:"center",color:f&&"rgba(89, 89, 89, 0.8)",pointerEvents:f?"none":"auto",paddingTop:0,paddingBottom:0,height:"100%"},key:n,onClick:()=>f?void 0:e.drillUp(p-n),title:t},o.createElement("span",{style:d},t),o.createElement(Zv,V({},ny,{size:"small",style:{margin:"0 8px"}}))))),m=u?this.state.hasValidAlternatives:c,g=n&&!this.state.open?this.openPopover:this.closePopover,v=!n||i||this.state.inSelection,y={display:"flex",alignItems:"center",width:"100%",color:v&&"rgba(89, 89, 89, 0.8)",height:"100%",border:!a&&v&&"none",paddingTop:0,paddingBottom:0};this.state.open&&(y.background="rgba(0,0,0,0.08)");s&&(y.padding=s),l&&(y.minWidth=l);const b=pe.detectTextDirection(e.text),x=o.createElement(dy,{"aria-label":r.get("Accessibility.Alternative.Instructions",[e.text]),style:y,onClick:v?void 0:g,title:e.text,tabIndex:v?-1:0,onFocus:v?void 0:e=>{e.currentTarget.style.boxShadow="0px 0px 0px 2px #177FE6 inset",e.currentTarget.style.borderRadius="2px"},onBlur:v?void 0:e=>{e.currentTarget.style.boxShadow="none",e.currentTarget.style.borderRadius="0px"},onMouseDown:e=>{e.preventDefault()}},e.locked&&o.createElement(Zv,V({},Qv,{size:"small",title:r.get("Tooltip.selections.locked")})),o.createElement("span",{style:d,dir:b},e.text),n&&m&&o.createElement(Zv,V({},ty,{size:"small",style:{margin:"0 8px"}})));return o.createElement(o.Fragment,null,e.drilldown&&o.createElement(Zv,V({},Jv,{size:"small",title:r.get("Tooltip.dimensions.drilldown"),style:{margin:"0 4px 0 0"}})),h,o.createElement("div",{ref:this.alignToRef,style:{overflow:"hidden",pointerEvents:m?"auto":"none",height:"100%"}},x),n&&m&&o.createElement(t,{dock:n.dock,dir:n.dir,current:e.popoverText,alignTo:this.alignToRef.current,show:this.state.open,list:this.state.alternatives,onClose:this.closePopover,changeTo:this.changeTo,instruction:r.get("Accessibility.Popover.Instructions")}))}}function r(e){return{top:"bottom",bottom:"top",left:"right",right:"left"}[e]}function i(e){return!e.isDimension&&se(e,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qMeasures.length")>0}return n.propTypes={disabled:Ko.exports.bool.isRequired,padding:Ko.exports.string,minWidth:Ko.exports.string,titleData:Ko.exports.shape({breadcrumbs:Ko.exports.arrayOf(Ko.exports.string).isRequired,drilldown:Ko.exports.bool.isRequired,index:Ko.exports.number.isRequired,locked:Ko.exports.bool.isRequired,text:Ko.exports.string.isRequired,popoverText:Ko.exports.string.isRequired,drillUp:Ko.exports.func,id:Ko.exports.string.isRequired}).isRequired,popover:Ko.exports.shape({dir:Ko.exports.string.isRequired,dock:Ko.exports.string.isRequired,changeTo:Ko.exports.func.isRequired,getAlternatives:Ko.exports.func.isRequired}),translator:Ko.exports.shape({get:Ko.exports.func.isRequired}).isRequired,selections:Ko.exports.shape({isActive:Ko.exports.func,addListener:Ko.exports.func,removeListener:Ko.exports.func}),style:Ko.exports.shape({fontSize:Ko.exports.string,color:Ko.exports.string,fontFamily:Ko.exports.string}).isRequired,isDimension:Ko.exports.bool.isRequired,hasAlternative:Ko.exports.bool.isRequired,supportConditional:Ko.exports.bool.isRequired},n.defaultProps={popover:null,selections:null,padding:"",minWidth:""},{renderer:"react",disableTriggers:!0,preferredSize:function(){return this.settings.settings.isDimension||i(this.settings.settings)?28:20},render(){const{settings:{app:e,disabled:t,explicitItemInfos:a,hyperCube:s,hyperCubeDef:l,isDimension:c,minWidth:u,model:d,onChangeToAlternative:p,padding:f,rtl:h,selections:m,skipAttributeExpressions:g,translator:v,supportConditional:y=!1},layout:{dock:b}}=this.settings,x="top"!==b&&"bottom"!==b||!h?"ltr":"rtl",w=function(e,t){const n={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",height:"100%"};return"left"===e?(n.width=t.height+"px",n.height=t.width+"px",n.transform=`rotate(-90deg) translate(-${t.height}px, 0)`,n.transformOrigin="top left"):"right"===e&&(n.width=t.height+"px",n.height=t.width+"px",n.transform=`rotate(90deg) translate(0, -${t.width}px)`,n.transformOrigin="top left"),n}(b,this.rect),E=l&&l.qLayoutExclude&&l.qLayoutExclude.qHyperCubeDef,C=E&&E[c?"qDimensions":"qMeasures"]||[],k=a||s[c?"qDimensionInfo":"qMeasureInfo"],S=c?ay:ly,T=c?sy:cy,R=d&&d.colorSupport&&d.modifiers&&S({altList:C,app:e,dir:h?"rtl":"ltr",dock:r(b),model:d,onChange:p,skipAttributeExpressions:g,translator:v}),N=(M=this.settings.settings).isDimension&&se(M,"hyperCubeDef.qLayoutExclude.qHyperCubeDef.qDimensions.length")>0||i(this.settings.settings);var M;const P=k.map(((e,r)=>{const i="number"==typeof e.explicitColumn?e.explicitColumn:r,a=T(e,i,d),s=r===k.length-1;return o.createElement(o.Fragment,{key:e.cId},o.createElement(n,{popover:R,titleData:a,model:d,translator:v,selections:m,disabled:t(),style:this.style,isDimension:c,padding:f,minWidth:u,hasAlternative:N,supportConditional:y}),!s&&o.createElement("span",{style:{lineHeight:"normal",...this.style}},", "))}));return o.createElement("div",{style:w,dir:x},P)}}}const fy=pa({palette:{text:{primary:"rgba(89, 89, 89, 0.8)",secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{disabled:"rgba(0, 0, 0, 0.3)"}},typography:{fontFamily:'"Source Sans Pro", "Arial", "sans-serif"',button:{textTransform:"initial",fontWeight:400}},shape:{borderRadius:2},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)"],props:{MuiButtonBase:{disableRipple:!0}}});const hy=ma({productionPrefix:"q1ec1",disableGlobal:!0,seed:""});function my(){function e({x:e,y:t,width:n,height:r,scaleRatio:o,margin:i}={}){const a={x:0,y:0,width:0,height:0,scaleRatio:{x:1,y:1},margin:{left:0,top:0}};return a.x=Number.isNaN(e)?a.x:e,a.y=Number.isNaN(t)?a.y:t,a.width=Number.isNaN(n)?a.width:n,a.height=Number.isNaN(r)?a.height:r,void 0!==o&&(a.scaleRatio.x=Number.isNaN(o.x)?a.scaleRatio.x:o.x,a.scaleRatio.y=Number.isNaN(o.y)?a.scaleRatio.y:o.y),void 0!==i&&(a.margin.left=Number.isNaN(i.left)?0:i.left,a.margin.top=Number.isNaN(i.top)?0:i.top),a}return function(t={}){const{createElement:n=document.createElement.bind(document)}=t;let r,i=e();const a={element:()=>r,root:()=>r,appendTo:e=>(r||(r=n("div"),r.style.position="absolute",r.style["-webkit-font-smoothing"]="antialiased",r.style["-moz-osx-font-smoothing"]="antialiased",r.style.pointerEvents="none"),e.appendChild(r),r),render(e){if(!r)return!1;const t=i.scaleRatio.x,n=i.scaleRatio.y;return r.style.left=Math.round(i.margin.left+i.x*t)+"px",r.style.top=Math.round(i.margin.top+i.y*n)+"px",r.style.width=Math.round(i.width)+"px",r.style.height=Math.round(i.height)+"px",r.style.transform=`scale(${t}, ${n})`,r.style.transformOrigin="top left",l.render(function(e,t){return o.createElement(uc,{generateClassName:t},o.createElement(Fc,{theme:fy},e))}(e,hy),r),!0},itemsAt:()=>[],findShapes:()=>[],clear:()=>(r&&l.unmountComponentAtNode(r),a),destroy(){r&&r.parentElement&&(l.unmountComponentAtNode(r),r.parentElement.removeChild(r)),r=null},size:t=>(t&&(i=e(t)),i)};return a}}function gy(){return function(e){e.renderer("react",my()),e.component("data-title",py()),e.component("disclaimer",function(){class e extends o.Component{render(){const{label:e,spanStyle:t}=this.props;return o.createElement(o.Fragment,null,o.createElement("span",{ref:this.alignToRef,style:t,title:e},e))}}return e.propTypes={label:Ko.exports.string.isRequired,spanStyle:Ko.exports.shape().isRequired},{renderer:"react",disableTriggers:!0,preferredSize:function(){return 22},render(){const{settings:{label:t,rtl:n},layout:{dock:r},style:i={}}=this.settings,a="top"!==r&&"bottom"!==r||!n?"ltr":"rtl",s=function(e,t,n){const r={pointerEvents:"auto",display:"flex",justifyContent:"center",alignItems:"center",color:"#7b7a78",fontStyle:"italic",fontSize:"13px",fontFamily:e.fontFamily||'"Source Sans Pro", "Arial", "sans-serif"'};switch(t){case"left":r.width=n.height+"px",r.transform=`rotate(-90deg) translate(-${n.height}px, 0)`,r.transformOrigin="top left";break;case"right":r.width=n.height+"px",r.transform=`rotate(90deg) translate(0, -${n.width}px)`,r.transformOrigin="top left";break;case"center":r.width=n.width+"px",r.height=n.height+"px",r.color="#595959",r.fontStyle="normal",r.fontSize="1.2em",r.textAlign="center";break;default:case"top":case"bottom":r.justifyContent="flex-start",r.alignItems="flex-start"}return r}(i,r,this.rect),l="center"===r?t:"* "+t,c="center"!==r?{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}:{};return o.createElement("div",{style:s,dir:a},o.createElement(o.Fragment,null,o.createElement(e,{label:l,spanStyle:c})))}}}())}}function vy(e){return st(e).l<70}function yy(e,t){const n=st(e).l/100,r=st(t).l/100;return n>r?(n+.05)/(r+.05):(r+.05)/(n+.05)}function by(e,t){return{x:t.x+e.r*Math.sin(e.a),y:t.y-e.r*Math.cos(e.a)}}var xy={require:["chart","settings"],defaultSettings:{settings:{},style:{}},render(){return function({chart:e,settings:t}){const n=e.component(t.component);if(!n)return[];const r=e.findShapes(t.selector).filter((e=>e.key===t.component));if(r.length<2)return[];if(n.settings.settings.slice.cornerRadius>0||n.settings.settings.slice.strokeWidth>0)return[];const o=[];let i=r[r.length-1];for(let e=0;e<r.length;e+=1){const t=r[e],n=i.attrs.fill,a=t.attrs.fill;if(yy(a,n)<=1.2){const{start:e,offset:n}=t.desc.slice;let{innerRadius:r,outerRadius:s}=t.desc.slice;if(r=Math.max(r,i.desc.slice.innerRadius),s=Math.min(s,i.desc.slice.outerRadius),s>r){const t=by({r:s,a:e},n),i=by({r:r,a:e},n);o.push({type:"line",x1:t.x,y1:t.y,x2:i.x,y2:i.y,strokeWidth:1,opacity:.4,stroke:vy(a)?"#ccc":"#333"})}}i=t}return o}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function wy(e,t=!0){let n="";for(let t=0;t<e.length;t++){const r=e[t];n+=0===t?`M${r.x} ${r.y}`:`L${r.x} ${r.y}`,n+=" "}return t&&(n+="Z"),n}function Ey(e){const{size:t,angle:n}=e,r={x:e.x,y:e.y},o=t/2,i=e.x-o,a=e.y-o;let s=[{x:i,y:a+t},{x:i+o,y:a},{x:i+t,y:a+t},{x:i,y:a+t}];return s=s.map((e=>function(e,t,n={x:0,y:0}){const r=Math.cos(t),o=Math.sin(t),i=(s=n,{x:(a=e).x-s.x,y:a.y-s.y});var a,s;return function(e,t){return{x:e.x+t.x,y:e.y+t.y}}({x:r*i.x-o*i.y,y:o*i.x+r*i.y},n)}(e,n,r))),{type:"path",fill:e.fill,d:wy(s)}}var Cy={require:["chart"],defaultSettings:{settings:{},style:{}},render(){return function({chart:e,settings:t}){if(!e.component(t.component))return[];const n=e.findShapes(t.selector).filter((e=>e.key===t.component));if(n.length<2)return[];const r=[];for(let e=0;e<n.length;e+=1){const a=n[e];if(a.data.radius.value<0){const{start:e,end:n,offset:s}=a.desc.slice,l=(e+n)/2,c=(o={r:t.offset,a:l},{x:(i=s).x+o.r*Math.sin(o.a),y:i.y-o.r*Math.cos(o.a)}),u=Ey({size:t.size,fill:t.fill,angle:l+Math.PI,...c});u.data={...a.data,_share:a.desc.share,_fillColor:a.attrs.fill},r.push(u)}}var o,i;return r}({chart:this.chart,rect:this.rect,style:this.style,settings:this.settings.settings})}};function ky(){const e=n();return e.use(r),e.use(function(e){if("function"!=typeof e.interaction)return function(t){t.interaction("hammer",$(e))};e.interaction("hammer",$(Hammer))}(t)),e.use(gy()),e.component("pie-dividers",xy),e.component("negative-indicators",Cy),e}var Sy={};function Ty(){Ty.init.call(this)}Sy.isObject=function(e){return"object"==typeof e&&null!==e},Sy.isNumber=function(e){return"number"==typeof e},Sy.isUndefined=function(e){return void 0===e},Sy.isFunction=function(e){return"function"==typeof e};var Ry=Ty;Ty.EventEmitter=Ty,Ty.prototype._events=void 0,Ty.prototype._maxListeners=void 0,Ty.defaultMaxListeners=10,Ty.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},Ty.prototype.setMaxListeners=function(e){if(!Sy.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},Ty.prototype.emit=function(e){var t,n,r,o,i,a;if(this._events||(this._events={}),"error"===e&&!this._events.error)throw(t=arguments[1])instanceof Error?t:Error('Uncaught, unspecified "error" event.');if(n=this._events[e],Sy.isUndefined(n))return!1;if(Sy.isFunction(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];n.apply(this,o)}else if(Sy.isObject(n)){for(r=arguments.length,o=new Array(r-1),i=1;i<r;i++)o[i-1]=arguments[i];for(r=(a=n.slice()).length,i=0;i<r;i++)a[i].apply(this,o)}return!0},Ty.prototype.addListener=function(e,t){var n;if(!Sy.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,Sy.isFunction(t.listener)?t.listener:t),this._events[e]?Sy.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,Sy.isObject(this._events[e])&&!this._events[e].warned)&&((n=Sy.isUndefined(this._maxListeners)?Ty.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,Sy.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),Sy.isFunction(console.trace)&&console.trace()));return this},Ty.prototype.on=Ty.prototype.addListener,Ty.prototype.once=function(e,t){if(!Sy.isFunction(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},Ty.prototype.removeListener=function(e,t){var n,r,o,i;if(!Sy.isFunction(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(o=(n=this._events[e]).length,r=-1,n===t||Sy.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(Sy.isObject(n)){for(i=o;i-- >0;)if(n[i]===t||n[i].listener&&n[i].listener===t){r=i;break}if(r<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(r,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},Ty.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(n=this._events[e],Sy.isFunction(n))this.removeListener(e,n);else if(Array.isArray(n))for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},Ty.prototype.listeners=function(e){return this._events&&this._events[e]?Sy.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},Ty.listenerCount=function(e,t){return e._events&&e._events[t]?Sy.isFunction(e._events[t])?1:e._events[t].length:0};function Ny(){const e={};var t;return t=e,Object.keys(Ry.prototype).forEach((e=>{t[e]=Ry.prototype[e]})),Ry.init(t),e.lasso={active:()=>!1},e.select={on:e.on,removeListener:e.removeListener},e}const My={CUSTOM:{EXPRESSION:"customTooltipExpression",TITLE:"customTooltipTitle",DESCRIPTION:"customTooltipDescription",QUARANTINE:"customTooltip",IMAGES:"customTooltipImages"},CHART:{CONTAINER_ID:"tooltipContainerId",STATE:"customTooltipSessionState",CHART_OBJECT_ID:"customTooltipSessionObjectId",CHART_PARENT_TYPE:"TooltipChartParent",CHART_CHILD_TYPE:"TooltipChart",STYLE:{small:"140px",medium:"200px",large:"340px"}}};function Py(e){const t=e.split("/");return"qmem:"===t[0]&&""===t[1]}const Dy={getImageSize(e,t){let n;function r(){n&&(clearTimeout(n),n=null)}function o(e){const t=e;t.onload=null,t.onerror=null,r()}const i={small:50,medium:200,large:340,original:340};return new Promise((a=>{const s=new Image;s.referrerPolicy="no-referrer",s.onload=()=>{let e;const{height:n,width:l}=s,c=i[t]*(n>l?1:n/l),u=i[t]*(l>n?1:l/n);!n||!l||0===n&&0===l?(e={height:20,width:20,imageError:!0},o(s)):"original"===t?(e={height:Math.min(c,n),width:Math.min(u,l)},r()):(e={height:c,width:u},r()),a(e)},s.onerror=()=>{o(s),a({height:20,width:20,imageError:!0})},s.src=e,n=setTimeout((()=>{o(s),a({height:20,width:20,imageError:!0})}),3e3)}))}};async function Ly(e,t,n){let r=e.ref.qStaticContentUrl.qUrl;const o=function(e){var t,n,r,o,i;let a,s,l,c,u,d;if(e&&(null!==(t=e.session)&&void 0!==t&&t.options||null!==(n=e.enigmaModel)&&void 0!==n&&null!==(r=n.session)&&void 0!==r&&r.sessionConfig||null!==(o=e.session)&&void 0!==o&&null!==(i=o.config)&&void 0!==i&&i.url)){var p;if(a=e.session.options||(null===(p=e.enigmaModel)||void 0===p?void 0:p.session.sessionConfig),!a){var f;a=null===(f=e.session)||void 0===f?void 0:f.config;const t=new URL(a.url);a.host=t.hostname,a.port=t.port,a.isSecure="wss:"===t.protocol}return d=void 0!==a.secure?a.secure:a.isSecure,s=d?"https://":"http://",l=a.host||"localhost",c=a.port?":"+a.port:"",u=a.prefix?a.prefix:"/","/"!==u[u.length-1]&&(u+="/"),s+l+c+u}return""}(n);o&&(!function(e,t){const n=e.replace(t,"").replace(/^\.\.\//i,"/");n[0]}(r,o),r=r.replace(/"/g,'\\"'),r=r.replace(/'/g,"\\'"),r=function(e,t){return t+("/"===e[0]?e.substr(1):e)}(r,o));const{height:i,width:a,imageError:s}=await Dy.getImageSize(r,t);return{src:r,size:t,height:i,width:a,imageError:s}}async function Iy(e,t,n,r){var o,i,a,s,l,c;const{app:u,flags:d}=t,p=null===(o=e.layout)||void 0===o||null===(i=o.tooltip)||void 0===i?void 0:i.imageComponents;if(!p)return[];const[f]=p,h=f.size||"small",m=f.type||"media";let g=-1;for(let e=0;e<n.length;e++)if(n[e].cId===f.cId){g=e;break}const v=(null===(a=r.data)||void 0===a||null===(s=a.customTooltipAttrExps)||void 0===s?void 0:s.value)||[];let y;if(-1!==g&&v[g]&&(y=v[g]),"media"===m&&null!==(l=f.ref)&&void 0!==l&&null!==(c=l.qStaticContentUrl)&&void 0!==c&&c.qUrl)return Ly(f,h,u);if("url"===m)return async function(e,t,n,r,o){let i,a=n.ref;if(o&&o.label&&(a=o.label),t.isEnabled("IMAGE_BUNDLE_LOAD")&&null!=e&&e.getImage&&Py(a))try{const t="data:image/png;base64, "+await e.getImage(a),{height:n,width:o,imageError:s}=await Dy.getImageSize(t,r);i={src:t,size:r,height:n,width:o,imageError:s}}catch(e){}else{const{height:e,width:t,imageError:n}=await Dy.getImageSize(a,r);i={src:a,size:r,height:e,width:t,imageError:n}}return i}(u,d,f,h,y);if(d.isEnabled("IMAGE_BUNDLE_LOAD")&&"field"===m&&y&&y.label){return async function(e,t,n,r){let o;const i=r.label,a=`qmem://${t.qFallbackTitle}/${i}`;if(Py(a))try{const t=await e.getImage(a);if(t){const e="data:image/png;base64, "+t,{height:r,width:i,imageError:a}=await Dy.getImageSize(e,n);o={src:e,size:n,height:r,width:i,imageError:a}}}catch(e){}return o}(u,n[g],h,y)}return[]}const Ay={async addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){const o=t,i=[];for(let t=0;t<o.length;t++)i.push(Iy(e,r,n,o[t]));const a=await Promise.all(i);for(let e=0;e<o.length;e++)o[e].data.customTooltipImages=[a[e]];return o},checkIfPromisesExist({customTooltipModel:e}){var t,n;const r=null===(t=e.layout)||void 0===t||null===(n=t.tooltip)||void 0===n?void 0:n.imageComponents;return!!r&&r.length>0}},Oy={async handlePromises({customTooltipModel:e,nodes:t,attrExps:n,opts:r}){let o=t;return o=await Ay.addImagesToTheNodes({customTooltipModel:e,nodes:t,attrExps:n,opts:r}),o},checkIfPromisesExist:({customTooltipModel:e})=>Ay.checkIfPromisesExist({customTooltipModel:e})};const qy=(e,t)=>{var n,r,o;const i=null==e||null===(n=e.qHyperCubeDef)||void 0===n?void 0:n.qDimensions,a=null==e||null===(r=e.qHyperCubeDef)||void 0===r?void 0:r.qMeasures,s=null==e||null===(o=e.qHyperCubeDef)||void 0===o?void 0:o.qInterColumnSortOrder,l=t;return{qInfo:{qType:My.CHART.CHART_PARENT_TYPE,qId:My.CHART.CHART_OBJECT_ID},qHyperCubeDef:{qDimensions:i,qMeasures:a,qInterColumnSortOrder:s,qInitialDataFetch:[{qWidth:0,qHeight:0}]},qStateName:l}},zy=e=>{var t,n,r;const o=null===(t=e.tooltip)||void 0===t||null===(n=t.chart)||void 0===n||null===(r=n.object)||void 0===r?void 0:r.refId;return{qInfo:{qType:My.CHART.CHART_CHILD_TYPE},qExtendsId:o}};const Fy={createContainer:({ctx:e,layout:t})=>{var n,r;if(!((null===(n=t.qHyperCube)||void 0===n||null===(r=n.qDimensionInfo)||void 0===r?void 0:r.length)<=0))return function(e,t){var n,r,o,i;const a=null!==(n=null===(r=t.tooltip)||void 0===r||null===(o=r.chart)||void 0===o||null===(i=o.style)||void 0===i?void 0:i.size)&&void 0!==n?n:"medium",s=My.CHART.STYLE[a];return[{content:[e.h("div",{style:{display:"flex",width:s,height:s,backgroundColor:"#FFFFFF",borderRadius:"5px",padding:"2px",color:"#595959"},colspan:2,id:My.CHART.CONTAINER_ID})],colspan:2,style:{"text-align":e.rtl?"right":"left","max-width":s,width:"100%"}},{}]}(e,t)},show:async({app:e,properties:t,selectedNodes:n,dimIndex:r,customTooltipModel:o,rtl:i})=>{var a,s,l;const c=o,u=null==t||null===(a=t.tooltip)||void 0===a||null===(s=a.chart)||void 0===s||null===(l=s.object)||void 0===l?void 0:l.refId;if(null!=c&&c.embed&&e.removeSessionAlternateState&&e.addSessionAlternateState&&u&&!(t.qHyperCubeDef.qDimensions.length<=0)){await Fy.hide({app:e,customTooltipModel:o});try{await async function({app:e,properties:t,customTooltipModel:n}){const r=n,o=My.CHART.STATE,i=t.qStateName;r.miniChartToken.alternateState||(r.miniChartToken.alternateState=o,await e.addSessionAlternateState(o,i),r.miniChartToken.alternateState=o)}({app:e,properties:t,customTooltipModel:o});const a=await async function({app:e,properties:t,customTooltipModel:n}){var r;const o=n;null!==(r=o.miniChartToken.sessionObj)&&void 0!==r&&r.id&&await e.destroySessionObject(o.miniChartToken.sessionObj.id);const i=My.CHART.STATE,a=qy(t,i),s=await e.createSessionObject(a),l=zy(t);if(s.id!==My.CHART.CHART_OBJECT_ID)return void e.destroySessionObject(s.id);o.miniChartToken.sessionObj=s;const c=await s.createChild(l);if(o.miniChartToken.sessionObj&&o.miniChartToken.sessionObj.id===s.id)return o.miniChartToken.model=c,c;e.destroySessionObject(s.id)}({app:e,properties:t,customTooltipModel:o});if(c.miniChartToken.alternateState&&c.miniChartToken.sessionObj&&a){var d,p,f,h;const e=n.length>0&&void 0!==(null===(d=n[0].data)||void 0===d?void 0:d.value)?[null===(p=n[0].data)||void 0===p?void 0:p.value]:[],a=void 0!==r?r:t.qHyperCubeDef.qDimensions.length-1;if(2===t.qHyperCubeDef.qDimensions.length&&void 0===r&&n.length>0){var m,g;const e=null!==(m=n[0].data.selectionOuterDimension)&&void 0!==m?m:n[0].data.selectionDimension;if(null!=e&&null!==(g=e.source)&&void 0!==g&&g.field){var v;const t=null==e||null===(v=e.source)||void 0===v?void 0:v.field.split("/"),n=t[t.length-1],r=void 0!==e.value?[e.value]:[];r.length>0&&void 0!==n&&c.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",Number(n),r,!1)}}e.length>0&&c.miniChartToken.sessionObj.selectHyperCubeValues("/qHyperCubeDef",a,e,!1);const s=document.getElementById(My.CHART.CONTAINER_ID),l={direction:i?"rtl":"ltr",isReadonly:!0,isPopover:!0,navigation:!1,selections:!1};c.miniChartToken.vis=await o.embed.render({element:s,model:c.miniChartToken.model,options:l,id:null===(f=c.miniChartToken.model)||void 0===f?void 0:f.id,type:null===(h=c.miniChartToken.model)||void 0===h?void 0:h.genericType})}}catch(t){await Fy.hide({app:e,customTooltipModel:o})}}},hide:async({app:e,customTooltipModel:t})=>{const n=t;null!=n&&n.embed&&(Fy.destroyVisualization({customTooltipModel:t}),await e.destroySessionObject(My.CHART.CHART_OBJECT_ID),n.miniChartToken.sessionObj=void 0,await async function({app:e,customTooltipModel:t}){const n=t,r=My.CHART.STATE;await e.removeSessionAlternateState(r),n.miniChartToken.alternateState=void 0}({app:e,customTooltipModel:t}))},destroyVisualization:({customTooltipModel:e})=>{var t,n;const r=e;"function"==typeof(null===(t=r.miniChartToken)||void 0===t||null===(n=t.vis)||void 0===n?void 0:n.destroy)&&(r.miniChartToken.vis.destroy(),r.miniChartToken.vis=void 0)}};function Wy(e){const t=e.qHyperCubeDef?e.qHyperCubeDef.qDimensions:e.qHyperCube.qDimensionInfo;if(t&&t.length>0)return t}function Hy(){const{EXPRESSION:e,TITLE:t,DESCRIPTION:n,IMAGES:r}=My.CUSTOM,o={};return o[e]=!0,o[t]=!0,o[n]=!0,o[r]=!0,o}function By(e){const t=Hy();return e.filter((e=>t[e.id]))}const jy={getNodes(e,t){const n=function(e,t){let n=0,r=0;e.center?(n+=e.center.x,r+=e.center.y):(n+=e.clientX,r+=e.clientY);const o=t.element.getBoundingClientRect();return{cx:n-o.left,cy:r-o.top}}(e,t);return t.shapesAt({x:n.cx,y:n.cy})},getDataNodes(e,t){let n,r=[];const o={container:{bar:!0,"bullet-axis":!0},circle:{"point-component":!0}};return t.forEach((t=>{var i,a,s,l;const c=null!==(i=null===(a=t.data)||void 0===a?void 0:a.selectionDimension)&&void 0!==i?i:t.data;if(!c||null!==(s=t.data)&&void 0!==s&&s.customTooltipAttrExps||o[t.type]){if(null!==(l=t.data)&&void 0!==l&&l.customTooltipAttrExps&&!t.data.customTooltipImages){const e=t;e.data.customTooltipImages=[],r.push(e)}}else{n||(n=[],Object.keys(o).forEach((t=>{n=n.concat(e.findShapes(t).filter((e=>e.data&&e.data.customTooltipAttrExps&&!e.data.customTooltipImages&&o[t][e.key])))})));const t=n.filter((e=>{var t,n;const r=null!==(t=null!==(n=e.data.stack)&&void 0!==n?n:e.data.selectionOuterDimension)&&void 0!==t?t:e.data.selectionDimension;return r&&r.value===c.value&&r.label===c.label}));t.length>0&&(r=r.concat(t[0]))}})),r},displayTooltip(e,t,{nodes:n,opts:r={},customTooltipModel:o,extractedNodes:i=[],hide:a}){if(o&&!a){const{layout:a,chart:s}=o,{attrExps:l}=jy.getAttrExprData(a);i.length||n.length?Oy.handlePromises({customTooltipModel:o,nodes:jy.getDataNodes(s,i.length>0?i:n),attrExps:l,opts:r}).then((()=>{t.emit("show",e,n.length?{nodes:n}:void 0)})):t.emit("show",e,n.length?{nodes:n}:void 0)}else{var s;null!=o&&null!==(s=o.miniChartToken)&&void 0!==s&&s.alternateState&&Fy.hide({app:r.app,customTooltipModel:o}),t.emit("hide")}},checkIfPromisesExist:({customTooltipModel:e})=>Oy.checkIfPromisesExist({customTooltipModel:e}),getAttrExps(e,t){var n;const r=t,o=null!==(n=e.qHyperCubeDef)&&void 0!==n&&n.qDimensions?"qAttributeExpressions":"qAttrExprInfo";return r[o]||(r[o]=[]),r[o]},getAttrExprData(e){var t;let n=[],r="";const o=(null===(t=e.qHyperCube)||void 0===t?void 0:t.qDimensionInfo)||[];if(o.length>0){var i,a,s;const t=o.length-1;n=(null===(i=e.qHyperCube)||void 0===i||null===(a=i.qDimensionInfo)||void 0===a||null===(s=a[t])||void 0===s?void 0:s.qAttrExprInfo)||[],r=`qDimensionInfo/${t}/qAttrExprInfo`}return{attrExps:n,fieldPath:r}},quarantineCustomTooltipAttrs(e,t={}){var n,r;if(!(null===(n=e.qLayoutExclude)||void 0===n||null===(r=n.quarantine)||void 0===r?void 0:r[My.CUSTOM.QUARANTINE])){!function(e,t){const n=t;let r=n.qLayoutExclude;r||(n.qLayoutExclude={quarantine:{}},r=n.qLayoutExclude),r.quarantine||(r.quarantine={}),r.quarantine[My.CUSTOM.QUARANTINE]=[],e.forEach((e=>{r.quarantine[My.CUSTOM.QUARANTINE].push(e)})),n.qLayoutExclude=r}(By(t.qAttributeExpressions||[]),e)}},unquarantineCustomTooltipAttrs(e){var t,n;const r=e;(null===(t=e.qLayoutExclude)||void 0===t||null===(n=t.quarantine)||void 0===n?void 0:n[My.CUSTOM.QUARANTINE])&&delete r.qLayoutExclude.quarantine[My.CUSTOM.QUARANTINE]},setAttrsFromQuarantine(e,t){const n=Wy(e);if(!n)return;const r=void 0!==t?t:n.length-1;if(!n[r])return;const o=this.getAttrExps(e,n[r]);if(0===By(o).length){var i,a;const t=(null===(i=e.qLayoutExclude)||void 0===i||null===(a=i.quarantine)||void 0===a?void 0:a.customTooltip)||[],n=[...o,...t],s=e;s.qHyperCubeDef?s.qHyperCubeDef.qDimensions[r].qAttributeExpressions=n:s.qHyperCube.qDimensionInfo[r].qAttrExprInfo=n}},moveCustomTooltipAttrs(e,t={},n){let r=[];const o=Wy(e)||[];[...o,t].forEach((e=>{const t=By(e.qAttributeExpressions||[]);t.length>0&&(r=t)}));const i=Hy(),a=o.map((e=>{const t=e,n=e.qAttributeExpressions||[];return t.qAttributeExpressions=n.filter((e=>!i[e.id])),t})),s=void 0!==n?n:a.length-1;a.length>0&&(a[s].qAttributeExpressions=a[s].qAttributeExpressions.concat(r));const l=e;e.qHyperCubeDef?l.qHyperCubeDef.qDimensions=a:l.qHyperCube.qDimensionInfo=a},addCallbackCustomTooltip(e){e.qHyperCubeDef.qDimensions.length>1?this.moveCustomTooltipAttrs(e):(this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e))},moveCallbackCustomTooltip(e,t){1===e.qHyperCubeDef.qDimensions.length&&(this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e)),e.qHyperCubeDef.qDimensions.length>1&&this.moveCustomTooltipAttrs(e,t)},removeCallbackCustomTooltip(e,t){e.qHyperCubeDef.qDimensions.length>0?this.moveCustomTooltipAttrs(e,t):this.quarantineCustomTooltipAttrs(e,t)},replaceCallbackCustomTooltip(e,t){e.qHyperCubeDef.qDimensions.length>1?this.moveCustomTooltipAttrs(e,t):(this.quarantineCustomTooltipAttrs(e,t),this.setAttrsFromQuarantine(e),this.unquarantineCustomTooltipAttrs(e))},shouldIgnoreDefaultRows(e){var t;return(null===(t=e.tooltip)||void 0===t?void 0:t.hideBasic)||0},DEBOUNCE_THRESHOLD:50,getFooterRow:(e,t)=>[{content:e,style:{"font-style":"italic","font-size":"12px","line-height":"16px",color:"rgba(255, 255, 255, 0.6)","text-align":t?"right":"left",direction:pe.detectTextDirection(e)},colspan:2},{}],getImageRow(e,t){const n=pe.detectTextDirection(e.src),r=[],o={style:{display:"block","margin-left":"auto","margin-right":"auto",overflow:"hidden",width:e.width,height:e.height}};if("original"===e.size||e.imageError){r.push(t.h("span",{style:{display:"inline-block",height:"100%","vertical-align":"middle"}}));const n=e.imageError?`${e.src}?${Math.random()}`:e.src;r.push(t.h("img",{style:{"max-width":e.width,"max-height":e.height,"vertical-align":"middle"},src:n,referrerpolicy:"no-referrer"})),o.style["text-align"]="center",o.style["white-space"]="nowrap"}else o.style["background-size"]="contain",o.style["background-repeat"]="no-repeat",o.style["background-position"]="center",o.style["background-image"]=`url('${e.src}')`;return[{content:[t.h("div",o,r),""],style:{"text-align":t.rtl?"right":"left",direction:n,"max-width":e.width},colspan:2},{}]}};function $y(e,t,n,r){var o,i,a;const s=(null===(o=t.qHyperCube)||void 0===o||null===(i=o[n])||void 0===i||null===(a=i[r])||void 0===a?void 0:a.qAttrExprInfo)||[],l=[],c=e.qSubNodes&&e.qSubNodes[r]?e.qSubNodes[r].qAttrExps:e.qAttrExps;return c?(s.forEach(((e,t)=>{const o=c.qValues&&c.qValues[t]?c.qValues[t]:void 0,i=void 0===o?"NaN":function(e,t){let n;switch(e.id){case My.CUSTOM.EXPRESSION:n="NaN"===t.qNum||e.isCustomFormatted?void 0===t.qText?"NaN":t.qText:t.qNum;break;case My.CUSTOM.TITLE:case My.CUSTOM.DESCRIPTION:case My.CUSTOM.IMAGES:n=void 0===t.qText?e.qFallbackTitle:t.qText;break;default:n="NaN"}return n}(e,o);l.push({source:{key:"qHyperCube",field:`${n}/${r}/qAttrExprInfo/${t}`},label:i,value:"value"})})),l):l}const Vy={getNode(e,{dimensionCount:t}){if(!t||t<1)return;const n=t-1,r="qDimensionInfo";return{field:`${r}/${n}`,value:t=>$y(t,e,r,n)}}};const Uy={getCustomAttrExps(e,t,n){var r,o;const i={customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]},a=(null===(r=t.data)||void 0===r||null===(o=r.customTooltipAttrExps)||void 0===o?void 0:o.value)||[];if(Number.isNaN(a))return i;return function(e,t,n,r){const o={[My.CUSTOM.TITLE]:!0,[My.CUSTOM.DESCRIPTION]:!0},{attrExps:i,fieldPath:a}=jy.getAttrExprData(e);return 0===t.length||0===i.length||""===a||i.forEach(((e,i)=>{const s=t[i];if(e.id===My.CUSTOM.EXPRESSION&&s){const t=e.qFallbackTitle,o="NaN"===s.value||e.isCustomFormatted?s.value:n("qHyperCube").field(`${a}/${i}`).formatter()(s.value);r.customTooltipAttrExpsArr.push({label:t,value:o})}else if(o[e.id]&&s){const t="-"!==s.value&&"NaN"!==s.value?s.value:s.label;t&&"undefined"!==t&&r.customTooltipInfoAttrExpsArr.push({...e.id===My.CUSTOM.TITLE&&{title:t},value:t,id:e.id})}})),r}(n,a.map((t=>fe.getMeasure(e,t))),e,i)}};function _y({nodes:e,layout:t,dataset:n}){return function(e,t,n){const r=[];return e.forEach((e=>{r.push(Uy.getCustomAttrExps(n,e,t))})),r}(e,t,n).reduce(((e,t)=>({customTooltipAttrExpsArr:e.customTooltipAttrExpsArr.concat(t.customTooltipAttrExpsArr),customTooltipInfoAttrExpsArr:e.customTooltipInfoAttrExpsArr.concat(t.customTooltipInfoAttrExpsArr)})),{customTooltipAttrExpsArr:[],customTooltipInfoAttrExpsArr:[]})}function Yy(e){const t=My.CUSTOM.EXPRESSION,{qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}=e.qDef;return e.qLibraryId?{qLibraryId:e.qLibraryId,id:t,qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}:{qExpression:e.qDef.qDef,id:t,qNumFormat:n,qLabel:r,qLabelExpression:o,cId:i}}function Ky(e){var t;const n=null===(t=e.qHyperCubeDef)||void 0===t?void 0:t.qDimensions;return n[n.length-1].qAttributeExpressions||[]}var Xy={attrExpr:{migrateProperties(e){var t,n,r,o;const i=Q(!0,{},e),a=(null===(t=i.tooltip)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.qHyperCubeDef)||void 0===r?void 0:r.qMeasures)||[];let s=Ky(i);return s=function(e,t){return t.concat(e.map((e=>Yy(e))))}(a,s),function(e,t){var n;const r=null===(n=t.qHyperCubeDef)||void 0===n?void 0:n.qDimensions;r[r.length-1].qAttributeExpressions=e}(s,i),null===(o=i.tooltip)||void 0===o||delete o.data,i},getPatches(e){var t,n,r,o;const i=(null===(t=e.tooltip)||void 0===t||null===(n=t.data)||void 0===n||null===(r=n.qHyperCubeDef)||void 0===r?void 0:r.qMeasures)||[],a=(null===(o=e.qHyperCubeDef)||void 0===o?void 0:o.qDimensions.length)-1;return function(e,t,n){let r=e.length;const o=[];return t.forEach((e=>{const t=Yy(e),i=JSON.stringify(t);o.push({qPath:`/qHyperCubeDef/qDimensions/${n}/qAttributeExpressions/${r}`,qOp:"add",qValue:i}),r++})),o.push({qPath:"/tooltip/data",qOp:"remove"}),o}(Ky(e),i,a)},checkForBackwardCompatibility:(e,t)=>(e.qMeasureInfo||[]).length>0&&t.length>0,updateProperties(e,t){return new Promise((n=>{var r,o,i,a,s;const l=(null===(r=t.qHyperCube)||void 0===r?void 0:r.qDimensionInfo)||[],c=(null===(o=t.tooltip)||void 0===o||null===(i=o.data)||void 0===i?void 0:i.qHyperCube)||{},u=null===(a=t.qMeta)||void 0===a||null===(s=a.privileges)||void 0===s?void 0:s.includes("update");e&&e.getEffectiveProperties&&this.checkForBackwardCompatibility(c,l)&&e.getEffectiveProperties().then((t=>{if(u){const r=this.migrateProperties(t);e.setProperties(r).then((()=>{e.app.clearUndoBuffer(),n(!0)}))}else{const r=this.getPatches(t);e.applyPatches(r,!0).then((()=>{e.app.clearUndoBuffer(),n(!0)}))}})),n(!1)}))}}};const{CUSTOM:Gy}=My;function Zy({flags:e,layout:t,app:n,model:r,picasso:o,chart:i,translator:a,localeInfo:s,embed:l,options:c}){var u,d,p;const f=function({layout:e,app:t,picasso:n,model:r,chart:o,translator:i,localeInfo:a,embed:s}){return{layout:e,app:t,picasso:n,model:r,chart:o,translator:i,localeInfo:a,useCustomTooltip:e.tooltip&&!e.tooltip.auto,utils:jy,miniChartToken:{},embed:s}}({layout:t,app:n,model:r,picasso:o,chart:i,translator:a,localeInfo:s,embed:l}),h="rtl"===c.direction,m=!(!t.tooltip||t.tooltip.auto),g=m&&L(t,"tooltip.hideBasic",!1),v=!!(m&&null!==(u=t.tooltip)&&void 0!==u&&null!==(d=u.chart)&&void 0!==d&&null!==(p=d.object)&&void 0!==p&&p.refId&&l&&"function"==typeof(null==r?void 0:r.getEffectiveProperties));return{isEnabled:()=>m,hideBasic:()=>g,getAttributes:({dataset:e,nodes:n})=>{var r,o;const i=_y({dataset:e,nodes:n,layout:t});return{title:null===(r=i.customTooltipInfoAttrExpsArr.find((e=>e.id===Gy.TITLE)))||void 0===r?void 0:r.title,description:null===(o=i.customTooltipInfoAttrExpsArr.find((e=>e.id===Gy.DESCRIPTION)))||void 0===o?void 0:o.value,measures:i.customTooltipAttrExpsArr}},hasImages:()=>jy.checkIfPromisesExist({customTooltipModel:f}),createImageRow:({value:e,h:t})=>jy.getImageRow(e,{h:t,rtl:h}),addImages:({nodes:r})=>{const o=jy.getDataNodes(i,r),a=jy.getAttrExprData(t);return Oy.handlePromises({customTooltipModel:f,nodes:o,attrExps:a,opts:{flags:e,app:n}})},chart:{isEnabled:()=>v,hasLimitation:()=>{var e;return!(null==n||null===(e=n.isInModalSelection)||void 0===e||!e.call(n))},createContainer:({h:e})=>Fy.createContainer({layout:t,ctx:{h:e,rtl:h}}),createLimitationRow:()=>jy.getFooterRow(a.get("properties.tooltip.notselectedmessage"),h),show:({nodes:e,properties:t})=>Fy.show({app:n,properties:t,selectedNodes:e,customTooltipModel:f,rtl:h}),hasAlternateState:()=>{var e;return!(null===(e=f.miniChartToken)||void 0===e||!e.alternateState)},hide:()=>Fy.hide({app:n,customTooltipModel:f}),destroy:()=>Fy.destroyVisualization({customTooltipModel:f})}}}function Jy(e){return{layout:e,keys:{SCALE:{FILL:"fill"},COMPONENT:{DIMENSION_TITLE:"dimension-title",SLICES:"slices",PIE_LABELS:"pie-labels"}}}}function Qy({chart:e,translator:t,layout:n,constraints:r,options:o,themeService:i,colorService:a,custom:s}){const l=n.qHyperCube.qMeasureInfo.length>1,c="rtl"===o.direction,{fontFamily:u}=i.getStyles();return I({chart:e,translator:t,config:{rtl:c,enable:()=>!r.passive,getColorSettings:()=>a.getSettings(),style:{fontFamily:u},main:{key:"tooltip",getGroupByValue:({data:e})=>e.value,collectibles:[{key:"slices",type:"slice",major:({data:e})=>e.value}],triggers:[{keys:["slices"],collect:{from:"single"},placement:"collectible"},{keys:["pie-labels","negative-indicators"],collect:{from:"dimension",by:({data:e})=>e.value},placement:"trigger"}],placement:({meta:e})=>({type:"slices"===e.triggerer?"slice":"bounds"}),section:({h:e,nodes:n,dataset:r,formatter:o,create:i,util:a})=>{const[c]=n,{title:u,description:d,measures:p}=s.isEnabled()?s.getAttributes({dataset:r,nodes:n}):{},f=[];u&&f.push(i.text({value:u,style:{bold:!0}})),d&&f.push(i.text({value:d}));const h=s.hideBasic();if(h&&!p.length&&(u||d)||f.push(i.text({value:c.data.label,style:{bold:!0}})),!h){f.push(i.color({nodes:n,property:"fill"}));const{num:e}=c.data;if(f.push(i.measure({label:a.dataset.title(e.source.key,e.source.field),value:e.label})),l){const{radius:e}=c.data;f.push(i.measure({label:a.dataset.title(e.source.key,e.source.field),value:e.label}))}f.push(i.measure({label:t?t.get("properties.dataPoints.labelmode.share"):"Share",value:o("share")(c.desc.share)}))}p&&f.push(...p.map((e=>i.measure({label:e.label,value:e.value,survive:{color:!0,duplicate:!0}})))),s.chart.isEnabled()&&(s.chart.hasLimitation()?(s.chart.destroy(),f.push(i.raw({value:s.chart.createLimitationRow()}))):f.push(i.raw({value:s.chart.createContainer({h:e})})));const{customTooltipImages:m}=c.data;return s.isEnabled()&&m&&f.push(...m.map((t=>i.raw({value:s.createImageRow({value:t,h:e})})))),f},layout:{grouping:!0},events:{tooltip:{beforeShow:({collectNodes:e})=>s.isEnabled()&&s.hasImages()?s.addImages({nodes:e()}):Promise.resolve(),afterShow:({expando:e,nodes:t})=>{s.chart.isEnabled()&&!s.chart.hasLimitation()&&s.chart.show({nodes:t,properties:e.get("properties")})}},interaction:{mouseleave:()=>{s.chart.isEnabled()&&s.chart.hasAlternateState()&&s.chart.hide()}}}},legend:{keys:{tooltip:"legend-color-cat",component:"legend-cat"}}}})}function eb({scaleKey:e,legend:t,onEdited:n}){const{layout:r}=t,{dock:o}=r||{};return{type:"brush-range",key:"legendRangeBrush",layout:{dock:"@legend-seq"},on:n?{bubbleEnd(){n()}}:{},settings:{brush:"selection",scale:e+"Range",direction:"left"===o||"right"===o?"vertical":"horizontal",bubbles:{align:"left"===o||"top"===o?"end":"start",placement:"outside"},target:{selector:'[id="legend-seq-target"]',fillSelector:'[id="legend-seq-ticks"]',fill:"rgba(82,204,82,0.2)"}}}}const tb=.8,nb=.55,rb={CORNER_RADIUS:0,INNER_RADIUS:nb,STROKE:{COLOR:"#FFFFFF",WIDTH:{NONE:0,SMALL:2,MEDIUM:4,LARGE:6}}},ob=({layout:e},t,n)=>t.encodings.slice.outerRadius?{scale:"radius",fn:t=>{var r,o;let i=tb,a=0;const s=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:nb;e.donut.showAsDonut&&(i=tb-s,a=s);return t.scale(Math.max(0,t.datum.radius.value))*i+a}}:tb,ib=({layout:e},t,n)=>{var r,o;if(!e.donut.showAsDonut)return 0;const i=null!==(r=null==n||null===(o=n.style)||void 0===o?void 0:o.innerRadius)&&void 0!==r?r:nb;return t.encodings.slice.outerRadius?{scale:"radius",fn:e=>{const t=tb-i,n=i;return e.scale(Math.min(0,e.datum.radius.value))*t+n}}:i},ab=({layout:e},t)=>{var n,r,o,i,a,s;const l=t.colorService.getDatumProps(),c=l[Object.keys(l)[0]],u=c&&c.field?c.field:void 0,d="qDimensionInfo/0"===u,p=u?t.ds.field(u).raw():null,f=p&&(p.label||p.title||p.qFallbackTitle)||"",h=t.encodings.slice.outerRadius,{formatter:m}=t.chart,g=se(e,"qHyperCube.qDimensionInfo",[]).length;function v(e,n){const r=t.ds.field(e).raw();return{field:e,label:!r.isCustomFormatted&&(r.qIsAutoFormat||"U"===r.qNumFormat.qType)?e=>m(n)(e.qNum):e=>e.qText}}const y=(e.components||[]).filter((e=>"slices"===e.key))[0];return{type:"pie",key:"slices",data:{extract:{field:"qDimensionInfo/0",props:{...l,num:v(t.encodings.slice.arc,"arc"),fillTooltip:u?{field:u,label:f,value:e=>d?e.qText||"-":void 0!==e.qNum&&"NaN"!==e.qNum?e.qText?e.qText:e.qNum:e.qText||"-"}:void 0,customTooltipAttrExps:0!==g?Vy.getNode(e,{dimensionCount:g}):void 0,radius:h?v(h,"outerRadius"):void 0}}},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3},active:{stroke:"rgba(52, 52, 52, 0.7)",strokeWidth:2}}},{context:"highlight",data:[""],style:{inactive:{fill:"#BFDAD9"},active:{fill:"#68B2AF"}}}]},settings:{startAngle:()=>t.viewState.get("rotation"),endAngle:()=>t.viewState.get("rotation")+2*Math.PI,slice:{arc:{ref:"num"},innerRadius:ib({layout:e},t,y),fill:t.colorService.getColor(),strokeWidth:null!=y&&null!==(n=y.style)&&void 0!==n&&n.strokeWidth?rb.STROKE.WIDTH[y.style.strokeWidth.toUpperCase()]:rb.STROKE.WIDTH.NONE,stroke:null!==(r=null==y||null===(o=y.style)||void 0===o||null===(i=o.strokeColor)||void 0===i?void 0:i.color)&&void 0!==r?r:rb.STROKE.COLOR,outerRadius:ob({layout:e},t,y),cornerRadius:null!==(a=null==y||null===(s=y.style)||void 0===s?void 0:s.cornerRadius)&&void 0!==a?a:0}},animations:{enabled:t.animations.enabled,isMainComponent:!0}}};function sb({layout:e},t){var n,r;const o=(e.components||[]).filter((e=>"slices"===e.key))[0],i=null!==(n=null==o||null===(r=o.style)||void 0===r?void 0:r.innerRadius)&&void 0!==n?n:nb,a=t.encodings.slice.outerRadius,s=t.themeService.getStyles();return!(!e.donut.showAsDonut||!a)&&{type:"pie",key:"zeroLine",data:{items:[1]},settings:{slice:{arc:1,fill:"transparent",innerRadius:0,strokeWidth:1,stroke:s.label.name.color,outerRadius:{scale:"radius",fn:e=>{const t=tb-i,n=i;return e.scale(0)*t+n}}}},animations:{enabled:t.animations.enabled}}}function lb(e){return{type:"pie-dividers",key:"pie-dividers",layout:{displayOrder:2},settings:{component:"slices",selector:"path"},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:e.animations.enabled,trackBy:()=>Math.random()}}}function cb({layout:e},t){if(e.donut.showAsDonut||!t.encodings.slice.outerRadius)return!1;return{type:"negative-indicators",key:"negative-indicators",layout:{displayOrder:2},settings:{component:"slices",selector:"path",offset:5,size:4,fill:t.themeService.getStyles().label.name.color},brush:{consume:[{context:"selection",style:{inactive:{opacity:.2}}}]},animations:{enabled:t.animations.enabled}}}function ub(e){const t=e.node.desc&&e.node.desc.share;return t?e.formatter("share")(t):""}function db(e){return e.node.data.num.label}function pb(e){return e.node.data.radius.label}function fb(e,t,n){if(e.dataPoint.auto)return n?db:ub;if("share"===e.dataPoint.labelMode)return ub;if("value"===e.dataPoint.labelMode){return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?pb:db}return null}function hb({data:e}){return e?e.label:""}function mb(e){const t=parseInt(e,10);if(!isNaN(t))return t}function gb(e){const t=((e&&e.components?e.components:void 0)||[]).filter((e=>"slices"===e.key))[0];return!t||t.style.innerRadius>.3}function vb({node:e,data:t}){return Q({_share:e.desc.share,_fillColor:e.attrs.fill},t)}function yb(e,t,n){const r=t.themeService.getStyles(),o=[{padding:10,direction:t.encodings.slice.outerRadius?"rotate":"horizontal",placements:[{position:"outside",fill:r.label.name.color,padding:t.encodings.slice.outerRadius?4:2}],fontSize:mb(r.label.name.fontSize),fontFamily:r.label.name.fontFamily,label:hb,linkData:({node:e,data:t})=>Q({_share:e.desc.share,_fillColor:e.attrs.fill,_showTooltip:!0},t)}];if(fb(e,t,!1)){const r=function(e,t,n){return{label:fb(e,t,!1),simplifiedPlacements:[{position:e.donut.showAsDonut&&gb(e)?"inside":"into",onBackground:e.donut.showAsDonut&&gb(e),padding:4}],theme:n.theme,themeId:"object.pieChart"}}(e,t,n),i=ge(Q(t,r),n.theme);i.linkData=vb,o.push(i)}return{key:"pie-labels",type:"labels",layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"slice",settings:{labels:o}}}]},brush:{consume:[{context:"selection",data:["","fill"],style:{inactive:{opacity:.3}}}]},animations:{enabled:t.animations.enabled,trackBy:()=>Math.random()}}}function bb({layout:e,context:t},n){return!1!==e.dataPoint.show&&(1===n.dataRowCount?function(e,t,n){const r=fb(e,t,!0),o=(e=>t=>e.getContrastingColorTo(t.node.attrs.fill))(n.theme),i=t.themeService.getStyles();return{key:"pie-labels",type:"labels",layout:{displayOrder:2,minimumLayoutMode:"XSMALL"},settings:{sources:[{component:"slices",selector:"path",strategy:{type:"rows",settings:{align:.5,justify:.5,padding:10,labels:[{fill:e.donut.showAsDonut?i.label.name.color:o,fontSize:mb(i.label.name.fontSize),fontFamily:i.label.name.fontFamily,label:hb,linkData:({data:e})=>e},{fill:e.donut.showAsDonut?i.label.value.color:o,fontSize:mb(i.label.value.fontSize),fontFamily:i.label.value.fontFamily,label:r,linkData:({data:e})=>e}]}}}]},animations:{enabled:t.animations.enabled,trackBy:()=>Math.random()}}}(e,n,t):yb(e,n,t))}const xb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"legendRange",enable(t,n){if(this.started||!n)return!0;if(e.constraints.select||e.constraints.active)return!1;const r=(this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).some((e=>"legend-seq"===e.type))||function(e){const{target:t}=e.srcEvent;return!(!t||!(t.hasAttribute("data-other-value")&&t.hasAttribute("data-idx")||"INPUT"===t.nodeName))}(n))&&!e.isLocked([this.chart.component("slices")]);return r||this.chart.component("legendRangeBrush").emit("rangeClear"),r}},events:{legendRangestart(t){t.preventDefault(),e.interactions.emit("selections-start"),this.chart.component("legendRangeBrush").emit("rangeStart",t),this.started=!0},legendRangemove(e){e.preventDefault(),this.chart.component("legendRangeBrush").emit("rangeMove",e)},legendRangeend(t){t.preventDefault(),this.chart.component("legendRangeBrush").emit("rangeEnd",t),e.onSelect(),this.started=!1}}});function wb(e,t){const n=t.element.getBoundingClientRect();let r,o;return e.center?(({x:r}=e.center),({y:o}=e.center)):(r=e.clientX,o=e.clientY),{x:r-n.left,y:o-n.top}}function Eb(e,t){const n=t.component("slices");if(!n)return!1;const{x:r,y:o}=wb(e,t),i=n.rect.x+n.rect.margin.left+n.rect.width/2,a=n.rect.y+n.rect.margin.top+n.rect.height/2,s=Math.min(n.rect.width,n.rect.height)/2*tb;return(i-r)**2+(a-o)**2<=s**2}const Cb=(e,t,{requireFailure:n,recognizeWith:r}={})=>({type:"Tap",requireFailure:n,recognizeWith:r,options:{event:"tap",interval:10,pointers:1,enable(t,n){return!n||!e.constraints.select&&!e.constraints.active&&(this.components=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).filter((e=>"slices"===e.key||"legend-cat"===e.key||"pie-labels"===e.key)),this.components.length)}},events:{tap(n){n.preventDefault();const{target:r}=n.srcEvent;if(r&&("INPUT"===r.nodeName||r.hasAttribute("data-other-value")))return void this.chart.component("legendRangeBrush").emit("bubbleStart",n);if(r&&r.hasAttribute("data-action")&&r.hasAttribute("data-component-key"))return void this.chart.component(r.getAttribute("data-component-key")).emit(r.getAttribute("data-action"));if(r&&r.children&&r.children[0]&&"legend-cat"===r.children[0].getAttribute("data-component-key"))return;if(e.isLocked(this.components))return;e.interactions.emit("selections-start");let o=wb(n,this.chart);this.components.some((e=>"legend-cat"===e.key))&&(o={cx:o.x,cy:o.y,r:5});const i=this.chart.shapesAt(o,{components:[{key:"slices",propagation:"stop"},{key:"legend-cat",propagation:"stop"},{key:"pie-labels",propagation:"stop"}],propagation:"stop"});i.length&&(this.chart.brushFromShapes(i,{components:[{key:i[0].key,action:n.srcEvent.ctrlKey||t?"set":"toggle",contexts:["selection"]}]}),e.onSelect())}}}),kb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"lasso",enable(t,n){if(this.isStarted||!n)return!0;if(e.constraints.active||e.constraints.select||!e.interactions.lasso.active())return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y});return!e.isLocked(r)&&r.some((e=>"slices"===e.key))}},events:{lassostart(t){t.preventDefault(),e.constraints.select||e.constraints.active||this.isStarted||(e.interactions.emit("selections-start"),this.chart.component("lasso").emit("lassoStart",t),this.isStarted=!0)},lassomove(e){e.preventDefault(),this.chart.component("lasso").emit("lassoMove",e)},lassoend(t){t.preventDefault(),this.isStarted=!1,this.chart.component("lasso").emit("lassoEnd",t),e.onSelect()}}}),Sb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Tap",requireFailure:t,recognizeWith:n,options:{event:"areatap",pointers:2,enable(t,n){if(this.started||!n)return!0;if(e.constraints.active||e.constraints.select)return!1;const r=this.chart.componentsFromPoint({x:n.center.x,y:n.center.y});return r.some((e=>"slices"===e.key))&&!e.isLocked(r)}},events:{areatap(t){const n=this.chart.component("area");n&&!this.started&&(e.interactions.emit("selections-start"),n.emit("areaStart",t.pointers[0]),n.emit("areaMove",t.pointers[1]),this.started=!0,setTimeout((()=>{n.emit("areaEnd"),e.onSelect(),this.started=!1}),100)),t.preventDefault()}}});function Tb(e){return{type:"native",key:"theusual",events:{wheel(t){let n=!1;if(!e.constraints.active&&Eb(t,this.chart)){const r=Math.sign(-t.deltaY);e.viewState.set("rotation",r*(Math.PI/12)),n=!0}else if(!e.constraints.select&&!e.constraints.active){const e=this.chart.componentsFromPoint(t).filter((e=>"legend-cat"===e.key))[0];e&&(n=!0,function(e,t){const n=(Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY)>=0?"next":"prev";t.emit(n)}(t,e))}n&&t.preventDefault()}}}}const Rb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"rotate",pointers:1,threshold:10,enable(t,n){return!(!this.started&&n)||!e.constraints.active&&!e.interactions.lasso.active()&&Eb(n,this.chart)}},events:{rotatestart(e){e.preventDefault();const t=this.chart.component("slices").rect,n=this.chart.element.getBoundingClientRect();this.pieCenter={x:n.left+t.x+t.width/2,y:n.top+t.y+t.height/2},this.prevAngle=Math.atan2(e.center.y-this.pieCenter.y,e.center.x-this.pieCenter.x),this.started=!0},rotatemove(t){t.preventDefault();const n=Math.atan2(t.center.y-this.pieCenter.y,t.center.x-this.pieCenter.x);e.viewState.set("rotation",n-this.prevAngle),this.prevAngle=n},rotateend(e){e.preventDefault(),this.started=!1},rotatecancel(e){e.preventDefault(),this.started=!1}}}),Nb=(e,{requireFailure:t,recognizeWith:n}={})=>({type:"Pan",requireFailure:t,recognizeWith:n,options:{event:"legendPan",pointers:1,threshold:10,enable(t,n){return!(!this.isStarted&&n)||!e.constraints.active&&this.chart.componentsFromPoint({x:n.center.x,y:n.center.y}).some((e=>"legend-cat"===e.type))}},events:{legendPanstart(e){if(e.preventDefault(),!this.isStarted){this.components=this.chart.componentsFromPoint({x:e.center.x,y:e.center.y}),this.components.forEach((t=>{t.emit("panstart",e)})),this.isStarted=!0;const t=this.chart.component("tooltip");t&&t.show&&t.emit("hide")}},legendPanmove(e){this.components.forEach((t=>{t.emit("panmove",e)})),e.preventDefault()},legendPanend(e){e.preventDefault(),this.components.forEach((t=>{t.emit("panend",e)})),this.isStarted=!1}}}),Mb=(e,t,n)=>({key:"hammered",type:"hammer",enable:!0,gestures:t?[Rb(e,{}),Cb(e,t,{}),...n]:[xb(e,{}),Sb(e,{}),Rb(e,{}),kb(e,{}),Nb(e,{}),Cb(e,t,{}),...n]});function Pb(e,t,n){const r=e.getIsSingleSelect(0),{constraints:o}=n;if(o.active&&o.passive)return[];const i=t.tooltipService.getInteractions();return[Mb(t,r,i.gestures),Tb(t),i.native]}function Db({settings:e},t){const n={share:{type:"d3-number",format:".1%"},arc:{data:{field:t.encodings.slice.arc}},fill:e.scales.fill&&e.scales.fill.data&&e.scales.fill.data.field?{data:{field:e.scales.fill.data.field}}:{}};return t.encodings.slice.outerRadius&&(n.outerRadius={data:{field:t.encodings.slice.outerRadius}}),n}function Lb({layout:e},t,n){if(!e.dimensionTitle)return!1;const r=t.properties,o=t.themeService.getStyles();return{key:"dimension-title",type:"data-title",layout:{minimumLayoutMode:"SMALL",dock:"top"},settings:{hyperCube:e.qHyperCube,hyperCubeDef:r&&r.qHyperCubeDef,isDimension:!0,disabled:()=>n.constraints.active||!n.model,model:t.model,app:t.app,translator:t.translator,rtl:n.rtl,selections:t.selections},style:{fontFamily:o.axis.title.fontFamily,fontSize:o.axis.title.fontSize,color:o.axis.title.color}}}function Ib({layout:e},t,n){const r=function(e,t){const n={field:"qDimensionInfo/0",props:{num:{field:t.encodings.slice.arc}}};t.encodings.slice.outerRadius&&(n.props.radius={field:t.encodings.slice.outerRadius});let r=t.ds.extract(n);if(0===r.length)return"NoDataExist";const o=se(e,"qHyperCube.qSize.qcy");if(se(e,"qHyperCube.qDataPages.0.qArea.qHeight")<o)return"LimitedData";if(r=t.encodings.slice.outerRadius?r.filter((e=>"NaN"!==e.num.value&&"NaN"!==e.radius.value)):r.filter((e=>"NaN"!==e.num.value)),0===r.length)return"OnlyNanData";const i=r;return r=t.encodings.slice.outerRadius&&!e.donut.showAsDonut?r.filter((e=>e.num.value>0&&e.radius.value>0)):r.filter((e=>e.num.value>0)),0===r.length?"OnlyNegativeOrZeroValues":i.length!==r.length&&"NegativeOrZeroValues"}(e,t),{fontFamily:o}=t.themeService.getStyles();return function(e,t,n,r={}){if(!e)return!1;const{translator:o}=t,{rtl:i}=n;return{key:"disclaimer",type:"disclaimer",layout:{dock:ne[e].alignment},settings:{label:o.get("Object.Disclaimer."+e),rtl:i},style:r}}(r,t,n,{fontFamily:o})}function Ab({layout:e,context:t,selectionService:n},r={}){const o=function({layout:e}={},t={}){const n={};return Q(n,t.colorService.getScales()),t.encodings.slice.outerRadius&&Q(n,function({layout:e},t){const n={radius:{type:"linear",include:[0],data:{extract:{field:t.encodings.slice.outerRadius}}}};return e.donut.showAsDonut||(n.radius.min=0),n}({layout:e},t)),n}({layout:e},r),i={scales:o};let a=[];const s=Ib({layout:e},r,t);if(s&&"center"===s.layout.dock)return{components:[s]};const l=t.constraints.select||t.constraints.active,c=r.colorService.getLegend({eventName:"legend",key:"legend",viewState:r.viewState,chart:r.chart,styleReference:"object.pieChart",rtl:t.rtl},{navigationDisabled:l});return o.fillRange&&c.components[0]&&("right"===c.components[0].layout.dock||"left"===c.components[0].layout.dock||t.rtl)&&(o.fillRange.invert=!0),a=[ab({layout:e,settings:i},r),sb({layout:e},r),lb(r),cb({layout:e},r),Lb({layout:e},r,t),...c.components,eb({settings:i,scaleKey:"fill",legend:c.components[0]||{},onEdited:r.onSelect}),{key:"lasso",type:"brush-lasso",layout:{displayOrder:99},settings:{brush:{components:[{key:"slices",contexts:["selection"]}]},lasso:{fill:"rgba(0, 0, 0, 0)",stroke:"black",strokeWidth:2,opacity:.7,strokeDasharray:[]},snapIndicator:{threshold:75,strokeDasharray:"5, 5",stroke:"black",strokeWidth:2,opacity:.7},startPoint:{r:10,stroke:"rgba(77, 192, 78, 1)",strokeWidth:0,opacity:1}}},{key:"area",type:"brush-area",settings:{brush:{components:[{key:"slices",contexts:["selection"],action:"add"}]}},style:{area:{fill:"transparent",strokeWidth:2,stroke:"black",strokeDasharray:"5 5",opacity:.7}}},bb({layout:{components:e.components,dataPoint:Q({},e.dataPoint,{show:!(e.effectPath&&e.snapshotData&&!1===e.dataPoint.show)}),donut:e.donut},context:t},r),...r.tooltipService.getComponents(),(!1!==e.showDisclaimer||!r.flags.isEnabled("SHOW_DISCLAIMER"))&&s],a=a.filter((e=>!1!==e)),{interactions:Pb(n,r,t),scales:o,components:r.pluginService.extendComponents(a),palettes:r.colorService.getPalettes(),formatters:Db({settings:i},r),strategy:ae(0,r)}}function Ob({instance:e,services:t}){const n=u(),r=b();R((o=>{if(!(r.snapshotData&&r.snapshotData.content&&r.snapshotData.content.chartData)&&(function(e,t){const n=t.getBoundingClientRect();e.snapshotData=e.snapshotData||{},e.snapshotData.content=e.snapshotData.content||{},e.snapshotData.content.size=e.snapshotData.content.size||{w:n.width,h:n.height}}(o,n),e&&t))return function({layout:e,chart:t,viewState:n,colorService:r}){return e.snapshotData.content=e.snapshotData.content||{},e.snapshotData.content.chartData={legendScrollOffset:le(t,"legend-cat"),rotation:n.get("rotation")},r.getSnapshotData().then((t=>{e.snapshotData.content.chartData={...e.snapshotData.content.chartData,...t}})).catch((()=>{}))}({layout:o,chart:e.chart,colorService:t.colorService,viewState:e.viewState})})),N((()=>({getViewState:()=>({rotation:e.viewState.get("rotation"),legendScrollOffset:le(e.chart,"legend-cat")})})),[e])}const qb={setValue(e,t,n){if(!t)return;const r=t.split(".");let o=e;const i=r[r.length-1];let a;for(a=0;a<r.length-1;++a)null==o[r[a]]&&(o[r[a]]=Number.isNaN(+r[a+1])?{}:[]),o=o[r[a]];void 0!==n?o[i]=n:delete o[i]},getValue(e,t,n){const r=t.split(".");let o,i=e;if(void 0===i)return n;for(o=0;o<r.length;++o){if(null==i[r[o]])return n;i=i[r[o]]}return i}},zb={getDimensions:e=>qb.getValue(e,"qHyperCubeDef.qDimensions",[]),getNumDimensions:e=>qb.getValue(e,"qHyperCubeDef.qDimensions.length",0),getMeasures:e=>qb.getValue(e,"qHyperCubeDef.qMeasures",[]),getNumMeasures:e=>qb.getValue(e,"qHyperCubeDef.qMeasures.length",0),getDimensionLayouts(e,t){const n=qb.getValue(e,t?t+".qHyperCube":"qHyperCube",null);return n?n.qDimensionInfo:[]},getDimensionLayout(e,t,n){return this.getDimensionLayouts(t,n).filter((t=>e===t.cId))[0]},getMeasureLayouts(e,t){const n=qb.getValue(e,t?t+".qHyperCube":"qHyperCube",null);return n?n.qMeasureInfo:[]},getMeasureLayout(e,t,n){return this.getMeasureLayouts(t,n).filter((t=>e===t.cId))[0]}};const Fb={colorModeOptions:{primary:()=>!0,dimension:()=>!0,multiColor:()=>!1,measure:()=>!0,expression:e=>zb.getNumMeasures(e)>=1},showLegend:e=>{const t=qb.getValue(e,"color.auto"),n=qb.getValue(e,"color.expressionIsColor"),r=qb.getValue(e,"color.mode");return!(!t&&"primary"===r||!t&&"byExpression"===r&&(n||void 0===n))},persistentColorsShow:e=>!qb.getValue(e,"color.auto")&&"byDimension"===qb.getValue(e,"color.mode"),useDimValColShow:e=>(void 0===qb.getValue(e,"color.useDimColVal")&&qb.setValue(e,"color.useDimColVal",!1),!qb.getValue(e,"color.auto")&&"byDimension"===qb.getValue(e,"color.mode")&&"libraryItem"===qb.getValue(e,"color.byDimDef.type"))},Wb=function(e){const{colorModeOptions:t,persistentColorsShow:n,useDimValColShow:r,showLegend:o}=Fb;this.color={colorMode:{options(n){const r=[];return"explore"===e&&r.push({value:"auto",translation:"Common.Auto"}),t.primary(n)&&r.push({value:"primary",translation:"properties.colorMode.primary"}),t.multiColor(n)&&r.push({value:"byMultiple",translation:"properties.colorMode.multicolored"}),t.dimension(n)&&r.push({value:"byDimension",translation:"properties.colorMode.byDimension"}),t.measure(n)&&r.push({value:"byMeasure",translation:"properties.colorMode.byMeasure"}),t.expression(n)&&"explore"!==e&&r.push({value:"byExpression",translation:"properties.colorMode.byExpression"}),r}},persistentColors:{show:e=>r(e)?n(e)&&!qb.getValue(e,"color.useDimColVal"):n(e)},useDimColVal:{show:r}},this.legend={show:o,showTitle:{show(e){const t=qb.getValue(e,"color.auto");return qb.getValue(e,"legend.show")&&o(e)&&(t||!function(e){return"byExpression"===qb.getValue(e,"color.mode")&&!0===qb.getValue(e,"color.expressionIsColor")}(e))}},dock:{show:e=>qb.getValue(e,"legend.show")&&o(e)}}};function Hb(e){return new Wb(e)}const Bb={classification:{section:"styling",tags:["simple"],exclusive:!0},component:"items",show:!0,chartType:"piechart",translation:"LayerStyleEditor.component.styling",chartTitle:"Object.PieChart",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,items:{strokeSection:{translation:"properties.Outline",component:"items",items:{strokeItem:{component:"items",ref:"components",key:"slices",items:{strokeWrapper:{component:"inline-wrapper",items:{strokeWidth:{translation:"LayerStyleEditor.style.strokeWidth",ref:"style.strokeWidth",width:9,show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"Common.None"},{value:"small",translation:"Common.Small"},{value:"medium",translation:"Common.Medium"},{value:"large",translation:"Common.Large"}],defaultValue:"none",schemaIgnore:!0},strokeColor:{ref:"style.strokeColor",defaultValue:{color:"#FFFFFF"},schemaIgnore:!0,width:3,component:"color-picker"}}}}}}},cornerRadius:{component:"items",translation:"LayerStyleEditor.style.cornerRadius",items:{cornerRadiusItem:{component:"items",ref:"components",key:"slices",items:{cornerRadiusSlider:{ref:"style.cornerRadius",translation:"LayerStyleEditor.style.cornerRadius",component:"slider",min:0,max:40,step:.05,width:12,defaultValue:0,schemaIgnore:!0}}}}},innerRadius:{translation:"LayerStyleEditor.style.innerRadius",component:"items",show:e=>e.donut.showAsDonut,items:{innerRadiusItem:{component:"items",ref:"components",key:"slices",items:{innerRadiusSlider:{ref:"style.innerRadius",translation:"LayerStyleEditor.style.innerRadius",component:"slider",min:.05,max:.75,step:.01,width:12,defaultValue:.55,schemaIgnore:!0}}}}}}},jb={component:"style-editor",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",resetBtnTranslation:"LayerStyleEditor.component.resetAll",key:"slices",ref:"components",defaultValues:{key:"slices",style:{strokeColor:{index:-1,color:"#FFFFFF"},strokeWidth:"none",cornerRadius:0,innerRadius:.55}},items:{slices:{components:"items",type:"items",uses:"styling.slice",items:{strokeWidth:{show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"LayerStyleEditor.style.strokeWidth.none"},{value:"small",translation:"LayerStyleEditor.style.strokeWidth.small"},{value:"medium",translation:"LayerStyleEditor.style.strokeWidth.medium"},{value:"large",translation:"LayerStyleEditor.style.strokeWidth.large"}],defaultValue:"none"},strokeColor:{show:e=>"none"!==e.style.strokeWidth},cornerRadius:{component:"slider",min:0,max:40,step:.05,defaultValue:0,show:!0},innerRadius:{component:"slider",min:.05,max:.75,step:.01,defaultValue:.55,show:(e,t,n)=>n.layout.donut.showAsDonut}}}}},$b={component:"styling-panel",chartTitle:"Object.PieChart",translation:"LayerStyleEditor.component.styling",subtitle:"LayerStyleEditor.component.styling",useGeneral:!0,items:{strokeSection:{translation:"properties.Outline",component:"panel-section",items:{strokeItem:{component:"items",ref:"components",key:"slices",items:{strokeWrapper:{component:"inline-wrapper",items:{strokeWidth:{ref:"style.strokeWidth",width:9,show:!0,component:"dropdown",type:"string",options:[{value:"none",translation:"Common.None"},{value:"small",translation:"Common.Small"},{value:"medium",translation:"Common.Medium"},{value:"large",translation:"Common.Large"}],defaultValue:"none",schemaIgnore:!0},strokeColor:{ref:"style.strokeColor",defaultValue:{color:"#FFFFFF"},schemaIgnore:!0,width:3,component:"color-picker"}}}}}}},cornerRadius:{translation:"LayerStyleEditor.style.cornerRadius",component:"panel-section",items:{cornerRadiusItem:{component:"items",ref:"components",key:"slices",items:{cornerRadiusSlider:{ref:"style.cornerRadius",component:"slider",min:0,max:40,step:.05,width:12,defaultValue:0,schemaIgnore:!0}}}}},innerRadius:{translation:"LayerStyleEditor.style.innerRadius",component:"panel-section",show:e=>e.donut.showAsDonut,items:{innerRadiusItem:{component:"items",ref:"components",key:"slices",items:{innerRadiusSlider:{ref:"style.innerRadius",component:"slider",min:.05,max:.75,step:.01,width:12,defaultValue:.55,schemaIgnore:!0}}}}}}},Vb=Hb("hard");const Ub=e=>{var t;null!==(t=e.color)&&void 0!==t&&t.auto||(F(e,"color.mode","byDimension"),F(e,"color.byDimDef.activeDimensionIndex",0),F(e,"color.persistent",!1))},_b=e=>{var t;const n=[{value:"primary",translation:"properties.colorMode.primary"},{value:"byDimension",translation:"properties.colorMode.byDimension"}];switch(null===(t=e.color)||void 0===t?void 0:t.mode){case"byMultiple":n.push({value:"byMultiple",translation:"properties.colorMode.multicolored"});break;case"byMeasure":n.push({value:"byMeasure",translation:"properties.colorMode.byMeasure"});break;case"byExpression":n.push({value:"byExpression",translation:"properties.colorMode.byExpression"})}return n},Yb=e=>{const{flags:t,translator:n}=e||{},r={items:{simpleItems:{items:{autoColor:{label:e=>{var t;return null!==(t=e.color)&&void 0!==t&&t.auto?n.get("Simple.Color.Auto",n.get("properties.colorMode.byDimension")):n.get("Common.Custom")},change:Ub},colorMode:{options:_b}}}}},o={items:{labels:{items:{header:{show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length},pointLabels:{component:"checkbox",ref:"dataPoint.auto",type:"boolean",defaultValue:!0,translation:"Simple.Label.Value",show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length,change(e){e.dataPoint.auto||F(e,"dataPoint.labelMode","none")}},dimensionTitle:{component:"checkbox",ref:"dimensionTitle",type:"string",translation:"Simple.Label.Dimension.Hide",defaultValue:"all",show:e=>e.qHyperCubeDef.qDimensions.length&&e.qHyperCubeDef.qMeasures.length,convertFunctions:{get:(e,t,n,r)=>!r.dimensionTitle,set(e,t,n,r,o){o.dimensionTitle=!e}}}}}}};return{uses:"settings",items:{simpleStyling:null!=t&&t.isEnabled("PIECHART_SIMPLE_STYLING")?Bb:void 0,simpleLabels:o,general:{items:{showDisclaimer:null!=t&&t.isEnabled("SHOW_DISCLAIMER")?{translation:"properties.showDisclaimer",type:"boolean",ref:"showDisclaimer",component:"switch",defaultValue:!0,options:[{value:!0,translation:"Common.Show"},{value:!1,translation:"properties.hide"}]}:void 0}},presentation:{type:"items",translation:"properties.presentation",grouped:!0,items:{sliceStyling:null!=t&&t.isEnabled("SENSECLIENT_PS_17478_STYLINGPANEL_PIECHART")?$b:jb,showAsDonut:{ref:"donut.showAsDonut",type:"boolean",component:"item-selection-list",defaultValue:!1,horizontal:!0,items:[{icon:"pie_chart_pie",component:"icon-item",labelPlacement:"bottom",translation:"properties.pie",value:!1},{icon:"pie_chart_donut",component:"icon-item",labelPlacement:"bottom",translation:"properties.donut",value:!0}]},labels:{type:"items",snapshot:{tid:"property-labels"},items:{dimensionTitle:{ref:"dimensionTitle",type:"boolean",component:"switch",translation:"properties.dataPoints.dimensionlabels",defaultValue:!0,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"properties.off"}]},valuesAuto:{ref:"dataPoint.auto",type:"boolean",translation:"properties.dataPoints.labelmode",component:"switch",defaultValue:!0,options:[{value:!0,translation:"Common.Auto"},{value:!1,translation:"Common.Custom"}]},labelMode:{ref:"dataPoint.labelMode",type:"string",component:"dropdown",options:[{value:"none",translation:"Common.None"},{value:"share",translation:"properties.dataPoints.labelmode.share"},{value:"value",translation:"properties.dataPoints.labelmode.value"}],defaultValue:"share",show:e=>!e.dataPoint.auto},labelValueMode:{ref:"dataPoint.labelValueMode",type:"string",component:"dropdown",translation:"properties.dataPoints.labelvaluemode",options:[{value:"arc",translation:"Visualizations.Descriptions.Angle"},{value:"radius",translation:"Visualizations.Descriptions.Radius"}],defaultValue:"arc",show:e=>!e.dataPoint.auto&&function(e){return e.qHyperCubeDef&&e.qHyperCubeDef.qMeasures.length>1||e.qHyperCube&&e.qHyperCube.qMeasureInfo.length>1}(e)&&"value"===e.dataPoint.labelMode}}}}},colorsAndLegend:{uses:"colorsAndLegend",items:{colors:{items:{colorMode:{options:Vb.color.colorMode.options},persistentColors:{show:Vb.color.persistentColors.show}}},simpleColors:r,legend:{show:Vb.legend.show,items:{show:{defaultValue:!1,snapshot:{tid:"property-legend"}},showTitle:{show:Vb.legend.showTitle.show},dock:{show:Vb.legend.dock.show}}}}},tooltip:{uses:"tooltip"}}}},Kb={uses:"data",items:{dimensions:{uses:"dimensions"},measures:{uses:"measures",items:{numberFormatting:{items:{percentOfPieMessage:{component:"text",translation:"properties.numberFormatting.pieMessage",show:(e,t,{properties:n}={})=>n&&(n.dataPoint.auto||"share"!==n.dataPoint.labelMode)}}}}}}},Xb={uses:"sorting",items:{interColumnSorting:{reset:e=>{const{qDimensions:t,qMeasures:n,qInterColumnSortOrder:r}=e.qHyperCubeDef;if(1===t.length&&n.length>=1){const t=r.length,n=[...Array(t).keys()];[n[0],n[1]]=[n[1],n[0]],e.qHyperCubeDef.qInterColumnSortOrder=n}}}}},Gb={type:"items",component:"expandable-items",translation:"properties.addons",items:{dataHandling:{uses:"dataHandling",items:{suppressZero:null,calcCond:{uses:"calcCond"}}}}};function Zb(e){return{type:"items",component:"accordion",items:{data:Kb,sorting:Xb,addons:Gb,settings:Yb(e)}}}const Jb=Hb("explore"),Qb=Zb();var ex={type:"items",component:"accordion",items:{data:{uses:"data"},sort:{uses:"sort"},presentation:{uses:"presentation",items:{showAsDonut:Qb.items.settings.items.presentation.items.showAsDonut,labelMode:{type:"items",items:{labelMode:{type:"string",component:"radio-list",translation:"properties.dataPoints.labelmode",diffs:["dataPoint.auto:false","dataPoint.labelMode"],options:Qb.items.settings.items.presentation.items.labels.items.labelMode.options,setPropertyValue(e,t){e.dataPoint.auto=!1,e.dataPoint.labelMode=t},getValue:e=>e.dataPoint.auto?"":e.dataPoint.labelMode}}}}},color:{uses:"color",items:{mode:{options:Jb.color.colorMode.options},dimension:{items:{persistentColors:{show:e=>!(e.color&&"byDimension"===e.color.mode&&e.color.useDimColVal&&Jb.color.useDimColVal.show(e))}}}}}}};const tx="slices";function nx(e,t){const n=e&&e.desc&&void 0!==e.desc.share?e.desc.share:void 0;return t("share")(n)}function rx(e){return e.data.num.label}function ox(e){return e.data.radius.label}function ix(e,t,n,r){return function(e,t){if(e.dataPoint.auto)return 1===e.qHyperCube.qSize.qcy?rx:nx;if("share"===e.dataPoint.labelMode)return nx;if("value"===e.dataPoint.labelMode)return t.encodings.slice.outerRadius&&"radius"===e.dataPoint.labelValueMode?ox:rx;return rx}(n,r)(e,t)}function ax(e){let t;return t=e.data.label?function(e,t){let n=e;return n.length>t&&(n=n.substr(0,t-3)+"..."),n}(e.data.label,20):"",t}class sx{constructor({element:e,properties:t,effectHelper:n,Flag:r}){this.element=e,this.Flag=r,n.initFade(this.element);const o=e.find(".effectLayer");o.length>0&&o.remove(),e.append('<div class="effectLayer"></div>'),this.effectLayer=e.find(".effectLayer"),this._effectProperties=t,this.selectedIndex=t.selectedIndex,this.hasPropertiesPanel=!1,this.effectApplied=!0,n.fadeIn(this.element)}updateOrigSettings(e){return{dataPoint:e.dataPoint,legend:e.legend,dimensionTitle:e.dimensionTitle}}updateFlags(e,t){const n=this.chart.getAffectedShapes("highlight"),r=this.effectLayer[0].getBoundingClientRect(),o=n.map((n=>{const{start:o,end:i,outerRadius:a,offset:s}=n.desc.slice,{scaleRatio:l}=this.chart.component(n.key).rect,c=n.element.getBoundingClientRect(),u=(o+i)/2,d=c.left-r.left+l.x*(s.x+a*Math.sin(u)),p=c.top-r.top+l.y*(s.y-a*Math.cos(u)),f=Math.cos(u)>0?"top":"bottom",h=Math.sin(u)>0?"right":"left";return{title:ax(n),label:ix(n,this.chart.formatter,e,t),orientation:`${f}${h}`,position:{x:d,y:p}}}));this.Flag.show(this.effectLayer,o)}init(e,t,n,r){return t.getProperties().then((e=>{if(!e.originalModelSettings){const t=Q(!0,{},e);e.originalModelSettings=this.updateOrigSettings(t)}e.effectProperties=r,e.effectPath=n,e.dataPoint.show=!1,e.legend.show=!1,e.dimensionTitle=!1,t.setProperties(e)}))}remove(e,t,n){return e.options=Q(e.options,{effect:null}),n?t.getProperties().then((e=>Q(e,{effectPath:null,effectProperties:null,dataPoint:Q(!0,{},e.originalModelSettings.dataPoint),legend:Q(!0,{},e.originalModelSettings.legend),dimensionTitle:e.originalModelSettings.dimensionTitle}))):Promise.resolve()}}class lx extends sx{init(e,t,n,r){return e.options=Q(!0,e.options,{effect:this}),t.layout.effectProperties&&t.layout.effectPath===n&&t.layout.effectProperties.max===r.max?Promise.resolve():super.init(e,t,n,r)}update(e,t,n){this.chart=t,this.updateHighlight(e),this.updateFlags(e,n)}updateHighlight(e){const t=this.chart.component(tx).data.items,n=e.effectProperties.min,r=e.effectProperties.max,o=[];let i=[1/0,-1],a=[-1/0,-1];t.forEach(((e,t)=>{const o=e.num.value;n&&o<i[0]&&(i=[o,t]),r&&o>a[0]&&(a=[o,t])})),-1!==i[1]&&o.push(t[i[1]].value),-1!==a[1]&&o.push(t[a[1]].value),o.length&&this.chart.brush("highlight").setValues(o.map((e=>({key:"qHyperCube/qDimensionInfo/0",value:e}))))}}class cx extends sx{constructor(e){super(e),this.hasPropertiesPanel=!0,this.propsTemplate=e.highlightValuePropsTemplate,this.effectHelper=e.effectHelper}onClick(e){if(!this.chart)return;const t=this.chart.shapesAt(function(e,t){const n=t.element.getBoundingClientRect();return{x:e.clientX-n.left,y:e.clientY-n.top}}(e,this.chart),{propagation:"stop"});if(1!==t.length)return;const n=t[0],r=this.chart.component(tx).data.items.map((e=>e.value)).indexOf(n.data.value);-1!==r&&(this.selectedIndex=r,this.effectHelper.updateSelectedPointIndex(this))}update(e,t,n){this.chart=t,this.updateHighlight(e),this.updateDataPoints(e,n),this.updateFlags(e,n)}updateHighlight(e){const t=this.chart.component(tx).data.items[e.effectProperties.selectedIndex];this.chart.brush("highlight").setValues([{key:"qHyperCube/qDimensionInfo/0",value:t.value}])}updateDataPoints(e,t){this.dataPoints=this.chart.findShapes("path").filter((e=>e.key===tx)).map(((n,r)=>{const o=ix(n,this.chart.formatter,e,t);return{text:`${ax(n)} (${o})`,value:r}}))}init(e,t,n,r){return e.options=Q(!0,e.options,{effect:this}),t.layout.effectProperties&&t.layout.effectPath===n&&t.layout.effectProperties.selectedIndex===r.selectedIndex?Promise.resolve():super.init(e,t,n,r)}}const ux="/effects/highlight-value",dx="/effects/maxmin";var px={isCompatible:({effectPath:e})=>e===dx||e===ux,create:e=>e.effectPath===dx?new lx(e):e.effectPath===ux?new cx(e):null};function fx(e){const t={},{components:n,tooltip:r}=e,o=n?n.filter((e=>"slices"===e.key))[0]:void 0;if(o&&o.style&&Object.keys(o.style).forEach((e=>{t["chart_style_"+e]=o.style[e]})),r){var i,a;t.chart_tooltip_custom=!r.auto;const e=null===(i=r.chart)||void 0===i||null===(a=i.object)||void 0===a?void 0:a.refId;!r.auto&&e&&(t.chart_tooltip_custom_mini_chart=e)}return t}function hx(e){if(!e.qHyperCubeDef)return;const t=e.qHyperCubeDef.qDimensions,n=e.qHyperCubeDef.qMeasures;1===t.length&&1===n.length&&(n[0].qSortBy.qSortByNumeric=-1,e.qHyperCubeDef.qInterColumnSortOrder.splice(0,e.qHyperCubeDef.qInterColumnSortOrder.length,1,0))}function mx(e){e.qOtherTotalSpec.qOtherMode="OTHER_COUNTED",e.qOtherTotalSpec.qOtherCounted={qv:"10"}}function gx({translator:e}){return{dimensions:{min:1,max:1,description:()=>e.get("Visualizations.Descriptions.Slice"),add(e,t){mx(e),hx(t),jy.addCallbackCustomTooltip(t)},move(e,t){mx(e),hx(t),jy.moveCallbackCustomTooltip(t,e)},remove(e,t){jy.removeCallbackCustomTooltip(t,e)},replace(e,t,n,r){mx(e),hx(r),jy.replaceCallbackCustomTooltip(r,t)}},measures:{min:1,max:2,description:(t,n)=>e.get(0===n?"Visualizations.Descriptions.Angle":"Visualizations.Descriptions.Radius"),add(e,t){hx(t)},remove(e,t){!function(e){if(!e.qHyperCubeDef)return;const t=e.qHyperCubeDef.qMeasures,{mode:n}=e.color;"byExpression"===n&&0===t.length&&(e.color.mode="primary")}(t)}}}}const vx=e=>e.qMax<=0,yx=e=>!(!(e&&e.qHyperCube.qSize.qcy>0)||e.qHyperCube.qMeasureInfo.every(vx));function bx(e){return{definition:Zb(e),softDefinition:ex,support:{snapshot:yx,export:yx,exportData:!0,sharing:yx,viewData:!0,effects:!0},effects:px,extendMetrics:fx,importProperties:(t,n,r,o)=>{const i={layout:{templateId:n.templateId}};r.mapProperties(i);const a={defaultDimension:r.getDefaultDimensionProperties(),defaultMeasure:r.getDefaultMeasureProperties()},s=W.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:gx(e),defaultPropertyValues:a,hypercubePath:o});return s.qProperty.dataPoint&&!1===s.qProperty.dataPoint.show&&delete s.qProperty.dataPoint.show,s},exportProperties:(e,t,n)=>W.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}function xx(e){return{properties:{version:"1.20.9",color:{auto:!0,autoMinMax:!0,byDimDef:void 0,byMeasureDef:void 0,colorExpression:void 0,dimensionScheme:"12",expressionIsColor:!0,expressionLabel:"",formatting:{numFormatFromTemplate:!0,isCustomFormatted:void 0},measureMin:void 0,measureMax:void 0,measureScheme:"sg",mode:"primary",paletteColor:{index:6},persistent:!1,reverseScheme:!1,singleColor:void 0,useBaseColors:"off",useDimColVal:!0,useMeasureGradient:!0},components:[{key:"slices",style:{strokeWidth:"none",strokeColor:{index:-1,color:rb.STROKE.COLOR},cornerRadius:rb.CORNER_RADIUS,innerRadius:rb.INNER_RADIUS}}],dataPoint:{auto:!0,labelMode:"share",labelValueMode:"arc"},dimensionTitle:!0,donut:{showAsDonut:!1},footnote:"",legend:{dock:"auto",show:!0,showTitle:!0},qHyperCubeDef:{qDimensions:[],qMeasures:[],qInitialDataFetch:[{qWidth:10,qHeight:500}],qSuppressMissing:!0,qSuppressZero:!1,qMode:"S"},showDetails:!1,showDisclaimer:!0,showTitles:!0,subtitle:"",title:"",tooltip:{auto:!0,hideBasic:!1,data:{qHyperCubeDef:void 0},chart:void 0,imageComponents:void 0}},data:{targets:[gx(e)]},importProperties:({exportFormat:t,initialProperties:n,hypercubePath:r})=>{const o=W.colorChart.importProperties({exportFormat:t,initialProperties:n,dataDefinition:gx(e),hypercubePath:r});return o.qProperty.dataPoint&&!1===o.qProperty.dataPoint.show&&delete o.qProperty.dataPoint.show,o},exportProperties:({propertyTree:e,hypercubePath:t,viewDataMode:n})=>W.colorChart.exportProperties({propertyTree:e,hypercubePath:t,viewDataMode:n})}}e("default",(e=>{const{flags:t}=e;!function(e){if(e&&e.get&&e.add){const t="Object.Disclaimer.LimitedData";if(e.get(t)!==t)return;Object.keys(H).forEach((t=>{e.add(H[t])}))}}(e.translator);const n=ky();return{qae:xx(e),ext:bx(e),component(){const e=function({picasso:e}){var t;const n=c(),r=u(),o=d(),[i,a]=p(),s=Ny(),l=f(),v=h(),y=!(null===(t=l.qSelectionInfo)||void 0===t||!t.qInSelections),[b,x]=p(!1);return s.lasso=function({layout:e,isInSelections:t,isLassoActionActive:n,setIsLassoActionActive:r,translator:o}){var i,a,s;return{active:n,label:o.get(n?"Tooltip.ToggleOffLassoSelection":"Tooltip.ToggleOnLassoSelection"),hidden:!t||!(null===(i=e.qHyperCube)||void 0===i||null===(a=i.qDimensionInfo)||void 0===a||null===(s=a[0])||void 0===s||!s.qIsOneAndOnlyOne),action(e){r("boolean"==typeof e?e:!n)},icon:{shapes:[{type:"path",attrs:{d:"M15.9488039,5.20769129 C16.0487326,6.70662306 15.3492311,8.30548361 14.050157,9.30477145 C12.651154,10.5039169 10.8524359,10.8037032 8.85386017,10.4039881 L7.3549284,10.0042729 L5.75606786,9.70448659 C5.75606786,9.90434416 5.65613907,10.0042729 5.4562815,10.2041305 C5.05656637,10.6038456 4.55692244,10.8037032 4.05727852,10.8037032 C3.75749217,10.8037032 3.45770582,10.7037744 3.15791946,10.6038456 C3.05799068,10.903632 3.15791946,11.2034184 3.45770582,11.7030623 C5.05656637,14.0014243 3.85742095,15.9000712 3.75749217,16 L2.2585604,15.3004985 C2.2585604,15.2005697 2.95806189,14.0014243 1.95877405,12.6024213 C1.6589877,12.0028486 1.15934378,11.0035608 1.55905891,10.0042729 C1.6589877,9.80441537 1.75891648,9.6045578 1.95877405,9.40470024 C1.6589877,8.90505631 1.55905891,8.30548361 1.85884527,7.7059109 C1.55905891,7.40612455 1.25927256,7.1063382 1.15934378,6.70662306 C0.859557424,5.90719279 0.959486209,4.5081898 1.6589877,3.30904439 C1.95877405,2.6095429 2.55834676,2.0099702 3.15791946,1.51032628 C3.95734974,0.91075357 4.95663758,0.610967217 6.15578299,0.311180864 C9.05371774,-0.388320626 11.9516525,0.111323295 13.9502282,1.61025506 C15.1493736,2.50961412 15.8488751,3.80868831 15.9488039,5.20769129 Z M13.0508691,8.10562604 C13.8502994,7.40612455 14.3499433,6.40683671 14.3499433,5.30762008 C14.2500145,4.20840345 13.550513,3.40897318 12.9509403,2.90932926 C12.1515101,2.40968533 11.252151,2.0099702 10.1529344,1.81011263 C8.95378895,1.61025506 7.75464354,1.71018384 6.45556935,1.91004141 C4.75678001,2.30975655 3.65756338,3.00925804 3.05799068,4.10847467 C2.55834676,5.00783373 2.65827554,5.90719279 2.75820433,6.20697914 C2.75820433,6.30690792 2.85813311,6.40683671 3.05799068,6.40683671 C3.15791946,6.40683671 3.25784825,6.40683671 3.35777703,6.40683671 C3.45770582,6.40683671 3.45770582,6.40683671 3.45770582,6.40683671 L3.5576346,6.40683671 L3.65756338,6.40683671 C4.65685123,6.40683671 5.4562815,6.90648063 5.85599664,7.80583969 L5.85599664,8.00569726 C6.35564056,8.10562604 7.05514205,8.30548361 7.75464354,8.50534118 L9.25357531,8.90505631 C10.0530056,9.0049851 10.7525071,9.0049851 11.4520086,8.80512753 C12.0515813,8.70519875 12.5512252,8.40541239 13.0508691,8.10562604 Z"}}]}}}({layout:l,isInSelections:y,isLassoActionActive:b,setIsLassoActionActive:x,translator:v}),m((()=>(i&&(i.interactions.lasso.active=()=>b),{...s.lasso})),[i,b,y,v.language()]),g((()=>{r.style.overflow="hidden";const t=e({renderer:{prio:[n.renderer||"canvas"]}}),i=t.chart({element:r,data:[],settings:{}}),c=M({chart:i,actions:s,selections:o,config:{selectionActions:!1}});c.setLayout(l),c.setBrushAliases({colorField:"qDimensionInfo/0/qAttrDimInfo/0"});const u=P({legendScrollOffset:0,rotation:0});u.intercept("rotation",(e=>(u.get("rotation")+e)%(2*Math.PI))),u.onChanged("rotation",(()=>{i.update({partialData:!0})}));const d=D();return s.on("selections-start",(()=>{i.brush("selection").start()})),a({picasso:t,chart:i,selectionService:c,viewState:u,viewCache:d,interactions:s}),()=>{c.destroy(),i.destroy(),s.removeAllListeners(),delete s.select,u.intercept("rotation",void 0),u.onChanged("rotation",void 0)}}),[]),i}({picasso:n}),o=function({flags:e,picasso:t,instance:n}){const r=v(),o=y(),i=h(),a=u(),[s,l]=p(),d=b(),f=x(),m=w(),S=c(),T=E(),{qLocaleInfo:R}=C(),N=k();return g((()=>{if(!n)return;a.style.overflow="hidden";const s=A({picasso:n.picasso,model:r,app:o,translator:i,config:{auto:!1,key:"fill"}}),c=O({picassoInstance:n.picasso,plugins:f,pluginArgs:Jy(d)}),u=Zy({flags:e,layout:d,app:o,model:r,picasso:t,chart:n.chart,translator:i,localeInfo:R,embed:N,options:S}),p=q({theme:T,config:{id:"pieChart",resolve:[["object","label.name","color","#595959"],["object","label.name","fontFamily"],["object","label.name","fontSize","12px"]]}}),h=Qy({app:o,chart:n.chart,translator:i,layout:d,constraints:m,options:S,themeService:p,colorService:s,custom:u});l({colorService:s,pluginService:c,themeService:p,tooltipService:h})}),[r,o,n,d,i.language(),m,S.direction,T.name()]),s}({flags:t,picasso:n,instance:e});!function({instance:e,services:t,picasso:n,flags:o}){const i=c(),a=v(),s=y(),l=h(),u=E(),p=b(),f=d(),m=w(),{qLocaleInfo:x}=C(),[k]=S((()=>t?(Xy.attrExpr.updateProperties(a,p),Promise.all([t.colorService.initialize({createConfig:({getUseBaseColors:e})=>({theme:u,legendProps:p.legend,layout:p,localeInfo:x,hc:p.qHyperCube,colorProps:{...p.color,useBaseColors:e(p)}})}),a&&!p.snapshotData?a.getEffectiveProperties():Promise.resolve({}),t.pluginService.initialize()])):Promise.resolve()),[t]);g((()=>{null!=e&&e.selectionService&&e.selectionService.setLayout(p)}),[p]),g((()=>{if(!e||!k)return;const{chart:c,viewState:d,interactions:h,viewCache:g}=e,{colorService:v,pluginService:y,themeService:b,tooltipService:w}=t,E=i.viewState||{};p.snapshotData||(d.preventSet("legendScrollOffset",E.legendScrollOffset||0),d.preventSet("rotation",E.rotation||0)),function(e,t){e&&e.snapshotData&&e.snapshotData.content&&e.snapshotData.content.chartData&&(t.preventSet("legendScrollOffset",e.snapshotData.content.chartData.legendScrollOffset),t.preventSet("rotation",e.snapshotData.content.chartData.rotation))}(p,d),w.expando.set("properties",k[1]);const C=n.data("q")({key:"qHyperCube",data:p.qHyperCube,config:{localeInfo:x}}),S=[{type:"q",key:"qHyperCube",data:p.qHyperCube,config:{localeInfo:x}},...v.getData()],T={slice:{arc:"qMeasureInfo/0"}};p.qHyperCube.qMeasureInfo.length>1&&(T.slice.outerRadius="qMeasureInfo/1");const R=function(e,t){return t.slice.outerRadius?e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc},radius:{field:t.slice.outerRadius}}}).filter((e=>e.num.value>0&&"NaN"!==e.radius.value)).length:e.extract({field:"qDimensionInfo/0",props:{num:{field:t.slice.arc}}}).filter((e=>e.num.value>0)).length}(n.data("q")({data:p.qHyperCube,config:{localeInfo:x}}),T),N=f?()=>{const e=c.brush("selection");r.selections(e,{},p).forEach((e=>{f.select(e)}))}:()=>{},M=p.snapshotData&&!i.freeResize?{width:(p.snapshotData.content.size||p.snapshotData.object.size).w,height:(p.snapshotData.content.size||p.snapshotData.object.size).h}:void 0,P=t=>e.selectionService.getIsSelectionLocked(t),D=()=>Ab({layout:p,context:{rtl:"rtl"===i.direction,theme:u,translator:l,constraints:m,model:a},selectionService:e.selectionService},{picasso:n,ds:C,model:a,app:s,chart:c,onSelect:N,isLocked:P,interactions:h,constraints:m,translator:l,viewState:d,dataRowCount:R,encodings:T,colorService:v,pluginService:y,themeService:b,tooltipService:w,debouncer:z,properties:k[1],logicalSize:M,flags:o,animations:{enabled:()=>function({viewState:e,options:t,constraints:n,viewCache:r,chart:o}){return!0===t.chartAnimations&&!n.active&&r.get("chartWidth")===o.element.clientWidth&&r.get("chartHeight")===o.element.clientHeight&&r.get("hasZeroLine")===!!o.component("zeroLine")&&0===e.get("rotation")}({viewState:d,options:i,constraints:m,viewCache:g,chart:c})}});e.generateSettings=D;const L=D();c.update({data:S,settings:L}),g.set("chartWidth",c.element.clientWidth),g.set("chartHeight",c.element.clientHeight),g.set("hasZeroLine",L.components.filter((e=>"zeroLine"===e.key)).length>0),i.effect&&p.effectProperties?i.effect.update(p,c,{encodings:T}):p.effectPath||c.brush("highlight").end()}),[e,k,i.direction,i.effectProperties,m,u.name(),l.language()])}({instance:e,services:o,picasso:n,flags:t}),function({instance:e}){const t=b(),n=c(),r=T();g((()=>{if(!e||!e.generateSettings)return;const{viewCache:r,chart:o,generateSettings:i}=e;o.update({settings:i()}),r.set("chartWidth",o.element.clientWidth),r.set("chartHeight",o.element.clientHeight),n.effect&&n.effect.update(t,o)}),[r.width,r.height])}({instance:e}),Ob({instance:e,services:o})}}}))}}}));
|