@nebula.js/stardust 1.7.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/core/esm/dev.js +734 -190
- package/core/esm/dev.js.map +1 -1
- package/core/esm/index.js +2 -2
- package/core/esm/index.js.map +1 -1
- package/dist/stardust.dev.js +737 -191
- package/dist/stardust.dev.js.map +1 -1
- package/dist/stardust.js +6 -6
- package/dist/stardust.js.map +1 -1
- package/package.json +9 -9
package/dist/stardust.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* @nebula.js/stardust
|
|
2
|
+
* @nebula.js/stardust v2.2.0
|
|
3
3
|
* Copyright (c) 2021 QlikTech International AB
|
|
4
4
|
* Released under the MIT license.
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).stardust={})}(this,(function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e){return(r="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 o(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function l(e){o(a,r,i,l,s,"next",e)}function s(e){o(a,r,i,l,s,"throw",e)}l(void 0)}))}}function a(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 l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return(s=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 u(e,t){if(null==e)return{};var n,r,o=function(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}(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 c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||d(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){var t=function(e){var t,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r=d;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=L(a,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var s=f(e,t,n);if("normal"===s.type){if(r=n.done?m:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=m,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var x={};u(x,a,(function(){return this}));var E=Object.getPrototypeOf,w=E&&E(E(I([])));w&&w!==n&&o.call(w,a)&&(x=w);var S=b.prototype=g.prototype=Object.create(x);function C(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var n;this._invoke=function(i,a){function l(){return new t((function(n,l){!function n(i,a,l,s){var u=f(e[i],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===r(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,l,s)}),(function(e){n("throw",e,l,s)})):t.resolve(d).then((function(e){c.value=e,l(c)}),(function(e){return n("throw",e,l,s)}))}s(u.arg)}(i,a,n,l)}))}return n=n?n.then(l,l):l()}}function L(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function I(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:P}}function P(){return{value:t,done:!0}}return y.prototype=b,u(S,"constructor",b),u(b,"constructor",y),y.displayName=u(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},C(k.prototype),u(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(S),u(S,s,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=I,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n="string"==typeof t||"number"==typeof t?[t]:t;return e.replace(/\{(\d+)\}/g,(function(e,t){return void 0!==n[t]?n[t]:e}))};function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.initial,n=void 0===t?"en-US":t,r=e.fallback,o=void 0===r?"en-US":r,i={},a=n,l={language:function(e){return e&&(a=e),a},add:function(e){var t=e.id,n=e.locale;Object.keys(n).forEach((function(e){i[e]||(i[e]={}),i[e][t]=n[e]}))},get:function(e,t){var n;return n=i[a]&&void 0!==i[a][e]?i[a][e]:i[o]&&void 0!==i[o][e]?i[o][e]:e,void 0!==t?h(n,t):n}};return l}var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.initial,n=void 0===t?"en-US":t,r=e.fallback,o=void 0===r?"en-US":r,i=m({initial:n,fallback:o});return{translator:i}},g={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"キャンセル","ko-KR":"취소","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"Отмена","sv-SE":"Avbryt","tr-TR":"İptal","zh-CN":"取消","zh-TW":"取消"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"すべて","ko-KR":"모두","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"ВСЕ","sv-SE":"ALLA","tr-TR":"TÜMÜ","zh-CN":"全部","zh-TW":"全部"}},CurrentSelections_Of:{id:"CurrentSelections.Of",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0}/ {1}","ko-KR":"{0} / {1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0}/ {1}","zh-TW":"{0}/ {1}"}},Listbox_Search:{id:"Listbox.Search",locale:{"de-DE":"In Listenfeld suchen","en-US":"Search in listbox","es-ES":"Buscar en cuadro de lista","fr-FR":"Rechercher dans la liste de sélection","it-IT":"Cerca nella casella di elenco","ja-JP":"リストボックス内を検索","ko-KR":"목록 상자에서 검색","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w liście wartości","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"Поиск в списке","sv-SE":"Sök i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"在列表框中搜索","zh-TW":"在清單方塊中搜尋"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"Más","fr-FR":"Plus","it-IT":"Altro","ja-JP":"詳細","ko-KR":"자세히","nl-NL":"Meer","pl-PL":"Więcej","pt-BR":"Mais","ru-RU":"Дополнительно","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"更多","zh-TW":"更多"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zurück","en-US":"Step back","es-ES":"Atrás","fr-FR":"Retour en arrière","it-IT":"Torna indietro","ja-JP":"1 段階戻る","ko-KR":"이전 단계","nl-NL":"Stap terug","pl-PL":"Krok do tyłu","pt-BR":"Voltar uma etapa","ru-RU":"Шаг назад","sv-SE":"Gå bakåt","tr-TR":"Bir adım geri","zh-CN":"后退","zh-TW":"倒退"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"Étape suivante","it-IT":"Vai avanti","ja-JP":"1段階進む","ko-KR":"다음 단계","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avançar uma etapa","ru-RU":"Шаг вперед","sv-SE":"Gå framåt","tr-TR":"Bir adım ileri","zh-CN":"前进","zh-TW":"前進"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"확인","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"ОК","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"确定","zh-TW":"確定"}},Object_Update_Active:{id:"Object.Update.Active",locale:{"de-DE":"Laden von Daten","en-US":"Updating data","es-ES":"Cargando datos","fr-FR":"Chargement de données en cours","it-IT":"Caricamento dati in corso","ja-JP":"データのロード中","ko-KR":"데이터 로드 중","nl-NL":"Gegevens worden geladen","pl-PL":"Ładowanie danych","pt-BR":"Carregando dados","ru-RU":"Загрузка данных","sv-SE":"Laddar data","tr-TR":"Veriler yükleniyor","zh-CN":"加载数据","zh-TW":"正在載入資料"}},Object_Update_Cancelled:{id:"Object.Update.Cancelled",locale:{"de-DE":"Datenaktualisierung wurde abgebrochen","en-US":"Data update was cancelled","es-ES":"Se ha cancelado la actualización de datos","fr-FR":"Mise à jour des données annulée","it-IT":"Aggiornamento dati annullato","ja-JP":"データの更新がキャンセルされました","ko-KR":"데이터 업데이트가 취소되었습니다.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych została anulowana","pt-BR":"A atualização de dados foi cancelada","ru-RU":"Обновление данных отменено","sv-SE":"Datauppdateringen avbröts.","tr-TR":"Veri güncelleştirme iptal edildi","zh-CN":"数据更新已取消","zh-TW":"資料更新已取消"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"Réessayer","it-IT":"Riprova","ja-JP":"再試行","ko-KR":"다시 시도","nl-NL":"Opnieuw","pl-PL":"Ponów próbę","pt-BR":"Tentar novamente","ru-RU":"Повторить попытку","sv-SE":"Försök igen","tr-TR":"Yeniden dene","zh-CN":"重试","zh-TW":"重試"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selección","fr-FR":"Annuler la sélection","it-IT":"Annulla selezione","ja-JP":"選択のキャンセル","ko-KR":"선택 취소","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcję","pt-BR":"Cancelar seleção","ru-RU":"Отменить выборку","sv-SE":"Avbryt urval","tr-TR":"Seçimi iptal et","zh-CN":"取消选择","zh-TW":"取消選取"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selection","es-ES":"Borrar selección","fr-FR":"Effacer la sélection","it-IT":"Cancella selezione","ja-JP":"選択をクリア","ko-KR":"선택 해제","nl-NL":"Selectie wissen","pl-PL":"Wyczyść selekcję","pt-BR":"Limpar seleção","ru-RU":"Очистить выбор","sv-SE":"Rensa urval","tr-TR":"Seçimi temizle","zh-CN":"清除选择","zh-TW":"清除選項"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen löschen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les sélections","it-IT":"Cancella tutte le selezioni","ja-JP":"選択をすべてクリアする","ko-KR":"모든 선택 해제","nl-NL":"Alle selecties wissen","pl-PL":"Wyczyść wszystkie selekcje","pt-BR":"Limpar todas as seleções","ru-RU":"Очистить от всех выборок","sv-SE":"Radera alla urval","tr-TR":"Tüm seçimleri temizle","zh-CN":"清除所有选择项","zh-TW":"清除所有選項"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status löschen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les états","it-IT":"Cancella tutti gli stati","ja-JP":"全ステートをクリア","ko-KR":"모든 상태 지우기","nl-NL":"Alle states wissen","pl-PL":"Wyczyść wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"Очистить все состояния","sv-SE":"Rensa alla tillstånd","tr-TR":"Tüm durumları temizle","zh-CN":"清除所有状态","zh-TW":"清除所有狀態"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl bestätigen","en-US":"Confirm selection","es-ES":"Confirmar selección","fr-FR":"Confirmer la sélection","it-IT":"Conferma selezione","ja-JP":"選択の確認","ko-KR":"선택 확인","nl-NL":"Selectie bevestigen","pl-PL":"Potwierdź selekcję","pt-BR":"Confirmar seleção","ru-RU":"Подтвердить выборку","sv-SE":"Bekräfta urval","tr-TR":"Seçimi onayla","zh-CN":"确认选择","zh-TW":"確認選取"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmenü","en-US":"Selection menu","es-ES":"Menú de selección","fr-FR":"Menu Sélection","it-IT":"Menu Selezione","ja-JP":"選択メニュー","ko-KR":"선택 메뉴","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de seleção","ru-RU":'Меню "Выборка"',"sv-SE":"Urvalsmeny","tr-TR":"Seçim menüsü","zh-CN":"选择菜单","zh-TW":"選項功能表"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutto","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替値を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外値を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluído","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込値を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possível","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olasıyı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollständige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualización incompleta","fr-FR":"Visualisation incomplète","it-IT":"Visualizzazione incompleta","ja-JP":"未完了のビジュアライゼーション","ko-KR":"완료되지 않은 시각화","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualização incompleta","ru-RU":"Незавершенная визуализация","sv-SE":"Ofullständig visualisering","tr-TR":"Tamamlanmamış görselleştirme","zh-CN":"不完整的可视化","zh-TW":"視覺化未完成"}},Visualization_Incomplete_Dimensions:{id:"Visualization.Incomplete.Dimensions",locale:{"de-DE":"{0} von {1} Dimensionen","en-US":"{0} of {1} dimensions","es-ES":"{0} de {1} dimensiones","fr-FR":"{0} dimensions sur {1}","it-IT":"{0} di {1} dimensioni","ja-JP":"{0} / {1} 軸","ko-KR":"{1} 차원의 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiarów","pt-BR":"{0} de {1} dimensões","ru-RU":"Измерения: {0} из {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} 个维度","zh-TW":"{1} 個維度中的 {0} 個"}},Visualization_Incomplete_Measures:{id:"Visualization.Incomplete.Measures",locale:{"de-DE":"{0} von {1} Kennzahlen","en-US":"{0} of {1} measures","es-ES":"{0} de {1} medidas","fr-FR":"{0} mesures sur {1}","it-IT":"{0} di {1} misure","ja-JP":"{0} / {1} メジャー","ko-KR":"{1} 측정값의 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"Меры: {0} из {1}","sv-SE":"{0} av {1} mått","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} 个度量","zh-TW":"{1} 個量值中的 {0} 個"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ungültige Dimension","en-US":"Invalid dimension","es-ES":"Dimensión no válida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"無効な軸です","ko-KR":"잘못된 차원","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawidłowy wymiar","pt-BR":"Dimensão inválida","ru-RU":"Недопустимое измерение","sv-SE":"Ogiltig dimension","tr-TR":"Geçersiz boyut","zh-CN":"无效维度","zh-TW":"維度無效"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ungültige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no válida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"無効なメジャーです","ko-KR":"잘못된 측정값","nl-NL":"Ongeldige meting","pl-PL":"Nieprawidłowa miara","pt-BR":"Medida inválida","ru-RU":"Недопустимая мера","sv-SE":"Ogiltigt mått","tr-TR":"Geçersiz hesaplama","zh-CN":"无效度量项","zh-TW":"量值無效"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"エラー","ko-KR":"오류","nl-NL":"Fout","pl-PL":"Błąd","pt-BR":"Erro","ru-RU":"Ошибка","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"错误","zh-TW":"錯誤"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erfüllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condición de cálculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non è soddisfatta","ja-JP":"演算実行条件が満たされていません","ko-KR":"계산 조건이 충족되지 않았습니다.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spełniony","pt-BR":"A condição de cálculo não foi atendida","ru-RU":"Условие вычисления не выполнено","sv-SE":"Beräkningsvillkoret uppfylls inte","tr-TR":"Hesaplama koşulu yerine getirilmedi","zh-CN":"不满足计算条件","zh-TW":"不符計算條件"}}};function y(e){var t=v({initial:e});return Object.keys(g).forEach((function(e){t.translator.add(g[e])})),{translator:t.translator}}var b={};function x(){x.init.call(this)}b.isObject=function(e){return"object"==typeof e&&null!==e},b.isNumber=function(e){return"number"==typeof e},b.isUndefined=function(e){return void 0===e},b.isFunction=function(e){return"function"==typeof e};var E=x;x.EventEmitter=x,x.prototype._events=void 0,x.prototype._maxListeners=void 0,x.defaultMaxListeners=10,x.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},x.prototype.setMaxListeners=function(e){if(!b.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},x.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],b.isUndefined(n))return!1;if(b.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(b.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},x.prototype.addListener=function(e,t){var n;if(!b.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,b.isFunction(t.listener)?t.listener:t),this._events[e]?b.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,b.isObject(this._events[e])&&!this._events[e].warned)&&((n=b.isUndefined(this._maxListeners)?x.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,b.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),b.isFunction(console.trace)&&console.trace()));return this},x.prototype.on=x.prototype.addListener,x.prototype.once=function(e,t){if(!b.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},x.prototype.removeListener=function(e,t){var n,r,o,i;if(!b.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||b.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(b.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},x.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],b.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},x.prototype.listeners=function(e){return this._events&&this._events[e]?b.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},x.listenerCount=function(e,t){return e._events&&e._events[t]?b.isFunction(e._events[t])?1:e._events[t].length:0};var w=Object.prototype.hasOwnProperty,S=Object.prototype.toString,C=Object.defineProperty,k=Object.getOwnPropertyDescriptor,L=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===S.call(e)},R=function(e){if(!e||"[object Object]"!==S.call(e))return!1;var t,n=w.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&w.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||w.call(e,t)},O=function(e,t){C&&"__proto__"===t.name?C(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},_=function(e,t){if("__proto__"===t){if(!w.call(e,t))return;if(k)return k(e,t).value}return e[t]},I=function e(){var t,n,r,o,i,a,l=arguments[0],s=1,u=arguments.length,c=!1;for("boolean"==typeof l&&(c=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<u;++s)if(null!=(t=arguments[s]))for(n in t)r=_(l,n),l!==(o=_(t,n))&&(c&&o&&(R(o)||(i=L(o)))?(i?(i=!1,a=r&&L(r)?r:[]):a=r&&R(r)?r:{},O(l,{name:n,newValue:e(c,a,o)})):void 0!==o&&O(l,{name:n,newValue:o}));return l},P={fontSize:"13px",fontFamily:"'Source Sans Pro', 'Arial', 'sans-serif'",backgroundColor:"transparent",dataColors:{primaryColor:"#26a0a7",othersColor:"#a5a5a5",errorColor:"#ff4444",nullColor:"#d2d2d2"},scales:[{name:"Sequential Gradient",translation:"properties.colorScheme.sequential",type:"gradient",propertyValue:"sg",scale:["#26a0a7","#c7ea8b"]},{name:"Sequential Classes",translation:"properties.colorScheme.sequentialC",propertyValue:"sc",type:"class",scale:["#26a0a7","#c7ea8b"]},{name:"Diverging gradient",translation:"properties.colorScheme.diverging",propertyValue:"dg",type:"gradient",scale:["#26a0a7","#c3ea8c","#ec983d"]},{name:"Diverging Classes",translation:"properties.colorScheme.divergingC",propertyValue:"dc",type:"class",scale:["#26a0a7","#c3ea8c","#ec983d"]}],palettes:{data:[{name:"12 Colors",translation:"properties.colorNumberOfColors.12",propertyValue:"12",type:"pyramid",scale:[["#26A0A7"],["#26A0A7","#EC983D"],["#26A0A7","#CBE989","#EC983D"],["#26A0A7","#79D69F","#F9EC86","#EC983D"],["#26A0A7","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D","#D76C6C"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"],["#138185","#26A0A7","#65D3DA","#79D69F","#70BA6E","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"]]}],ui:[{name:"Palette",colors:["#b0afae","#7b7a78","#a54343","#d76c6c","#ec983d","#ecc43d","#f9ec86","#cbe989","#70ba6e","#578b60","#79d69f","#26a0a7","#138185","#65d3da","#ffffff","#000000"]}]}},T={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"light",color:"@B35"},N={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"dark",color:"@B98"};function q(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function M(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function D(){}var A=.7,z=1/A,j="\\s*([+-]?\\d+)\\s*",F="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",B="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",U=/^#([0-9a-f]{3,8})$/,H=new RegExp("^rgb\\("+[j,j,j]+"\\)$"),W=new RegExp("^rgb\\("+[B,B,B]+"\\)$"),V=new RegExp("^rgba\\("+[j,j,j,F]+"\\)$"),$=new RegExp("^rgba\\("+[B,B,B,F]+"\\)$"),G=new RegExp("^hsl\\("+[F,B,B]+"\\)$"),K=new RegExp("^hsla\\("+[F,B,B,F]+"\\)$"),Z={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 X(){return this.rgb().formatHex()}function Q(){return this.rgb().formatRgb()}function J(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=U.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Y(t):3===n?new re(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?ee(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?ee(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=H.exec(e))?new re(t[1],t[2],t[3],1):(t=W.exec(e))?new re(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=V.exec(e))?ee(t[1],t[2],t[3],t[4]):(t=$.exec(e))?ee(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=G.exec(e))?le(t[1],t[2]/100,t[3]/100,1):(t=K.exec(e))?le(t[1],t[2]/100,t[3]/100,t[4]):Z.hasOwnProperty(e)?Y(Z[e]):"transparent"===e?new re(NaN,NaN,NaN,0):null}function Y(e){return new re(e>>16&255,e>>8&255,255&e,1)}function ee(e,t,n,r){return r<=0&&(e=t=n=NaN),new re(e,t,n,r)}function te(e){return e instanceof D||(e=J(e)),e?new re((e=e.rgb()).r,e.g,e.b,e.opacity):new re}function ne(e,t,n,r){return 1===arguments.length?te(e):new re(e,t,n,null==r?1:r)}function re(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function oe(){return"#"+ae(this.r)+ae(this.g)+ae(this.b)}function ie(){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 ae(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function le(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 se(e){if(e instanceof ue)return new ue(e.h,e.s,e.l,e.opacity);if(e instanceof D||(e=J(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,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new ue(a,l,s,e.opacity)}function ue(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ce(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}q(D,J,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:X,formatHex:X,formatHsl:function(){return se(this).formatHsl()},formatRgb:Q,toString:Q}),q(re,ne,M(D,{brighter:function(e){return e=null==e?z:Math.pow(z,e),new re(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?A:Math.pow(A,e),new re(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:oe,formatHex:oe,formatRgb:ie,toString:ie})),q(ue,(function(e,t,n,r){return 1===arguments.length?se(e):new ue(e,t,n,null==r?1:r)}),M(D,{brighter:function(e){return e=null==e?z:Math.pow(z,e),new ue(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?A:Math.pow(A,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 re(ce(e>=240?e-240:e+120,o,r),ce(e,o,r),ce(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 fe=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=J(t)}var t,n,r;return t=e,(n=[{key:"addColorPart",value:function(e,t,n){n=n||0,this.startLevel=Math.max(n,this.startLevel),this.colorParts[n]||(this.colorParts[n]=[]),this.colorParts[n].push([J(e),J(t)])}},{key:"getColor",value:function(e,t){var n=e-this.min;if(Number.isNaN(+e)||Number.isNaN(+n))return this.nanColor;t=function(e,t){return Math.min(t||e.startLevel,e.colorParts.length-1)}(this,t);var r=function(e,t){return t-(e=Math.min(Math.max(e,1e-12),.999999999999))*t}(n,this.colorParts[t].length),o=Math.floor(r);o=o===r?o-1:o;var i=this.colorParts[t][o],a=i[0],l=i[1];return e===this.min?l:e===this.max?a:function(e,t,n){return ne(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(a,l,r-o)}}])&&a(t.prototype,n),r&&a(t,r),e}();function de(e,t,n){var r=.25+(t+1)/n*.25,o=.5-r;return o+e/1*(.5+r-o)}function pe(e,t,n){var r=[],o=new fe(t);r.push(e[0]),n||r.push(e[0]);for(var i=1;i<e.length-1;i++)r.push(e[i]),r.push(e[i]);r.push(e[i]),n||r.push(e[i]);for(var a=0;a<r.length;a+=2)o.addColorPart(r[a],r[a+1]);return o}function he(e,t,n){for(var r=[],o=0;o<t+1;o++){var i=void 0;switch(t){case 0:i=e.getColor(.5);break;default:var a=de(1/t*o,t,n);i=e.getColor(a)}r.push(J(i).formatHex())}return r}function me(e,t,n){for(var r=pe(e,n,!0),o=pe(he(r,t-1,t),n,!1),i=[null],a=0;a<t;a++)i.push(he(o,a,t));return i}function ve(e,t){var n,r,o=[];if(e)for(var i=e.length;i>=0;){for(r=(n=t.slice()).length;r>=0;)o.push(n.concat(e)),n.pop(),r--;e.pop(),i--}else for(r=(n=t.slice()).length;r>=0;)o.push(n.concat()),n.pop(),r--;return o}function ge(e,t){for(var n=e,r=0;r<t.length;r++){if(!n[t[r]])return null;n=n[t[r]]}return n}function ye(e,t,n,r){var o;""===e?o=ve(null,n):o=ve(e.split("."),n);return function(e,t,n){for(var r=0;r<e.length;r++){var o=ge(n,e[r]);if(null!==o&&o[t])return o[t]}}(o,t,r)}function be(e,t){var n=e.split(".");return{getStyle:function(e,r){return ye(e,r,n.concat(),t)}}}function xe(e){var t=J(e).rgb(),n=c([t.r,t.g,t.b].map((function(e){return e/255})),3),r=c([n[0],n[1],n[2]].map((function(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),3);return+(.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(5)}function Ee(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}be.resolveRawTheme=function(e){var t=I(!0,{},e);return function e(t,n){Object.keys(t).forEach((function(o){"object"===r(t[o])&&null!==t[o]?e(t[o],n):"string"==typeof t[o]&&"@"===t[o].charAt(0)&&(t[o]=n[t[o]])}))}(t,t._variables),t.scales&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#d2d2d2";e.forEach((function(e){if("class"===e.type){var n=me(e.scale,Math.max(e.scale.length,7),t);e.scale=n,e.type="class-pyramid"}}))}(t.scales,t.dataColors&&t.dataColors.nullColor),t};function we(){var e,t,n,r={},o={getDataColorScales:function(){return t.dataScales()},getDataColorPalettes:function(){return t.dataPalettes()},getDataColorPickerPalettes:function(){return t.uiPalettes()},getDataColorSpecials:function(){return t.dataColors()},getColorPickerColor:function(){var e;return(e=t).uiColor.apply(e,arguments)},getContrastingColorTo:function(e){return n.getBestContrastColor(e)},getStyle:function(t,n,o){return r[t]||(r[t]=be(t,e)),r[t].getStyle(n,o,!1)}},i={setTheme:function(i,a){var l,s;e=function(e,t){var n="dark"===e.type?N:T,r=I(!0,{},P,n),o=I(!0,{},r,{scales:null,palettes:{data:null,ui:null}},e);return o.palettes.data&&o.palettes.data.length||(o.palettes.data=r.palettes.data),o.palettes.ui&&o.palettes.ui.length||(o.palettes.ui=r.palettes.ui),o.scales&&o.scales.length||(o.scales=r.scales),t(o)}(i,be.resolveRawTheme),r={},l=e,t={dataScales:function(){var e=[];return l.scales.forEach((function(t){e.push({key:t.propertyValue,name:t.name,translation:t.translation,scheme:!0,type:t.type,colors:t.scale})})),e},dataPalettes:function(){var e=[];return l.palettes.data.forEach((function(t){e.push({key:t.propertyValue,name:t.name,translation:t.translation,type:t.type,colors:t.scale})})),e},uiPalettes:function(){var e=[];return l.palettes.ui.forEach((function(t){e.push({key:"ui",name:t.name,translation:t.translation,type:"row",colors:t.colors})})),e},dataColors:function(){return{primary:l.dataColors.primaryColor,nil:l.dataColors.nullColor,others:l.dataColors.othersColor}},uiColor:function(e){return e.index<0||void 0===e.index?e.color:(void 0===s&&(s=this.uiPalettes()[0]||!1),s?void 0===s.colors[e.index]?e.color:s.colors[e.index]:e.color)}};var u=o.getStyle("","","color"),c=xe(u);n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0,r=e.map(xe);return{getBestContrastColor:function(o){if(!t[o]){n>1e3&&(t={},n=0);var i=xe(o),a=r.map((function(e){return Ee(i,e)})),l=e[a.indexOf(Math.max.apply(Math,f(a)))];t[o]=l,n++}return t[o]}}}([u,c<.2?"#ffffff":"#333333"]),o.emit("changed"),o.name=function(){return a}}};return Object.keys(E.prototype).forEach((function(e){o[e]=E.prototype[e]})),E.init(o),i.setTheme({},"light"),{externalAPI:o,internalAPI:i}}var Se=function(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))};function Ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themes,n=void 0===t?[]:t,r=e.root,o=we(),a=function(){var e=i(regeneratorRuntime.mark((function e(t){var i,a,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.filter((function(e){return e.id===t}))[0],a="dark"===t?"dark":"light",!i||!i.load){e.next=15;break}return e.prev=3,e.next=6,Promise.race([i.load(),Se(5e3,{__timedOut:!0})]);case 6:(l=e.sent).__timedOut||(a="dark"===l.type?"dark":"light",o.internalAPI.setTheme(l,t),r.setMuiThemeName(a)),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3);case 13:e.next=17;break;case 15:o.internalAPI.setTheme({type:a},t),r.setMuiThemeName(a);case 17:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();return{setTheme:a,externalAPI:o.externalAPI}}function ke(e){return"auto"!==e?e:(t=!1,window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(t=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(t=!0),t?"touch":"desktop");var t}var Le={exports:{}},Re={},Oe=Object.getOwnPropertySymbols,_e=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable;function Pe(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var Te=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=Pe(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))_e.call(n,a)&&(o[a]=n[a]);if(Oe){r=Oe(n);for(var l=0;l<r.length;l++)Ie.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},Ne=Te,qe=60103,Me=60106;
|
|
7
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).stardust={})}(this,(function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){u(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e){return(r="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 o(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var a=e.apply(t,n);function l(e){o(a,r,i,l,s,"next",e)}function s(e){o(a,r,i,l,s,"throw",e)}l(void 0)}))}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(){return(c=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 f(e,t){if(null==e)return{};var n,r,o=function(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}(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 d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||h(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){return function(e){if(Array.isArray(e))return m(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||h(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e,t){if(e){if("string"==typeof e)return m(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){var t=function(e){var t,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof g?t:g,i=Object.create(o.prototype),a=new _(r||[]);return i._invoke=function(e,t,n){var r=d;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var l=L(a,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===d)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var s=f(e,t,n);if("normal"===s.type){if(r=n.done?m:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r=m,n.method="throw",n.arg=s.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var d="suspendedStart",p="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var x={};u(x,a,(function(){return this}));var E=Object.getPrototypeOf,w=E&&E(E(I([])));w&&w!==n&&o.call(w,a)&&(x=w);var S=b.prototype=g.prototype=Object.create(x);function C(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){var n;this._invoke=function(i,a){function l(){return new t((function(n,l){!function n(i,a,l,s){var u=f(e[i],e,a);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"===r(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,l,s)}),(function(e){n("throw",e,l,s)})):t.resolve(d).then((function(e){c.value=e,l(c)}),(function(e){return n("throw",e,l,s)}))}s(u.arg)}(i,a,n,l)}))}return n=n?n.then(l,l):l()}}function L(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function R(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function O(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(R,this),this.reset(!0)}function I(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:P}}function P(){return{value:t,done:!0}}return y.prototype=b,u(S,"constructor",b),u(b,"constructor",y),y.displayName=u(b,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,s,"GeneratorFunction")),e.prototype=Object.create(S),e},e.awrap=function(e){return{__await:e}},C(k.prototype),u(k.prototype,l,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},C(S),u(S,s,"Generator"),u(S,a,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=I,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(O),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return l.type="throw",l.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],l=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var s=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),O(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;O(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n="string"==typeof t||"number"==typeof t?[t]:t;return e.replace(/\{(\d+)\}/g,(function(e,t){return void 0!==n[t]?n[t]:e}))};function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.initial,n=void 0===t?"en-US":t,r=e.fallback,o=void 0===r?"en-US":r,i={},a=n,l={language:function(e){return e&&(a=e),a},add:function(e){var t=e.id,n=e.locale;Object.keys(n).forEach((function(e){i[e]||(i[e]={}),i[e][t]=n[e]}))},get:function(e,t){var n;return n=i[a]&&void 0!==i[a][e]?i[a][e]:i[o]&&void 0!==i[o][e]?i[o][e]:e,void 0!==t?v(n,t):n}};return l}var y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.initial,n=void 0===t?"en-US":t,r=e.fallback,o=void 0===r?"en-US":r,i=g({initial:n,fallback:o});return{translator:i}},b={Cancel:{id:"Cancel",locale:{"de-DE":"Abbrechen","en-US":"Cancel","es-ES":"Cancelar","fr-FR":"Annuler","it-IT":"Annulla","ja-JP":"キャンセル","ko-KR":"취소","nl-NL":"Annuleren","pl-PL":"Anuluj","pt-BR":"Cancelar","ru-RU":"Отмена","sv-SE":"Avbryt","tr-TR":"İptal","zh-CN":"取消","zh-TW":"取消"}},CurrentSelections_All:{id:"CurrentSelections.All",locale:{"de-DE":"ALLES","en-US":"ALL","es-ES":"TODOS","fr-FR":"TOUS","it-IT":"TUTTI","ja-JP":"すべて","ko-KR":"모두","nl-NL":"ALLE","pl-PL":"WSZYSTKO","pt-BR":"TODOS","ru-RU":"ВСЕ","sv-SE":"ALLA","tr-TR":"TÜMÜ","zh-CN":"全部","zh-TW":"全部"}},CurrentSelections_Of:{id:"CurrentSelections.Of",locale:{"de-DE":"{0} von {1}","en-US":"{0} of {1}","es-ES":"{0} de {1}","fr-FR":"{0} sur {1}","it-IT":"{0} di {1}","ja-JP":"{0}/ {1}","ko-KR":"{0} / {1}","nl-NL":"{0} van {1}","pl-PL":"{0} z {1}","pt-BR":"{0} de {1}","ru-RU":"{0} из {1}","sv-SE":"{0} av {1}","tr-TR":"{0} / {1}","zh-CN":"{0}/ {1}","zh-TW":"{0}/ {1}"}},Listbox_Search:{id:"Listbox.Search",locale:{"de-DE":"In Listenfeld suchen","en-US":"Search in listbox","es-ES":"Buscar en cuadro de lista","fr-FR":"Rechercher dans la liste de sélection","it-IT":"Cerca nella casella di elenco","ja-JP":"リストボックス内を検索","ko-KR":"목록 상자에서 검색","nl-NL":"Zoeken in keuzelijst","pl-PL":"Wyszukaj w liście wartości","pt-BR":"Pesquisar na caixa de listagem","ru-RU":"Поиск в списке","sv-SE":"Sök i listruta","tr-TR":"Liste kutusunda ara","zh-CN":"在列表框中搜索","zh-TW":"在清單方塊中搜尋"}},Menu_More:{id:"Menu.More",locale:{"de-DE":"Mehr","en-US":"More","es-ES":"Más","fr-FR":"Plus","it-IT":"Altro","ja-JP":"詳細","ko-KR":"자세히","nl-NL":"Meer","pl-PL":"Więcej","pt-BR":"Mais","ru-RU":"Дополнительно","sv-SE":"Mer","tr-TR":"Daha fazla","zh-CN":"更多","zh-TW":"更多"}},Navigate_Back:{id:"Navigate.Back",locale:{"de-DE":"Schritt zurück","en-US":"Step back","es-ES":"Atrás","fr-FR":"Retour en arrière","it-IT":"Torna indietro","ja-JP":"1 段階戻る","ko-KR":"이전 단계","nl-NL":"Stap terug","pl-PL":"Krok do tyłu","pt-BR":"Voltar uma etapa","ru-RU":"Шаг назад","sv-SE":"Gå bakåt","tr-TR":"Bir adım geri","zh-CN":"后退","zh-TW":"倒退"}},Navigate_Forward:{id:"Navigate.Forward",locale:{"de-DE":"Schritt vor","en-US":"Step forward","es-ES":"Avanzar","fr-FR":"Étape suivante","it-IT":"Vai avanti","ja-JP":"1段階進む","ko-KR":"다음 단계","nl-NL":"Stap vooruit","pl-PL":"Krok do przodu","pt-BR":"Avançar uma etapa","ru-RU":"Шаг вперед","sv-SE":"Gå framåt","tr-TR":"Bir adım ileri","zh-CN":"前进","zh-TW":"前進"}},OK:{id:"OK",locale:{"de-DE":"OK","en-US":"OK","es-ES":"Aceptar","fr-FR":"OK","it-IT":"OK","ja-JP":"OK","ko-KR":"확인","nl-NL":"OK","pl-PL":"OK","pt-BR":"OK","ru-RU":"ОК","sv-SE":"OK","tr-TR":"Tamam","zh-CN":"确定","zh-TW":"確定"}},Object_Update_Active:{id:"Object.Update.Active",locale:{"de-DE":"Laden von Daten","en-US":"Updating data","es-ES":"Cargando datos","fr-FR":"Chargement de données en cours","it-IT":"Caricamento dati in corso","ja-JP":"データのロード中","ko-KR":"데이터 로드 중","nl-NL":"Gegevens worden geladen","pl-PL":"Ładowanie danych","pt-BR":"Carregando dados","ru-RU":"Загрузка данных","sv-SE":"Laddar data","tr-TR":"Veriler yükleniyor","zh-CN":"加载数据","zh-TW":"正在載入資料"}},Object_Update_Cancelled:{id:"Object.Update.Cancelled",locale:{"de-DE":"Datenaktualisierung wurde abgebrochen","en-US":"Data update was cancelled","es-ES":"Se ha cancelado la actualización de datos","fr-FR":"Mise à jour des données annulée","it-IT":"Aggiornamento dati annullato","ja-JP":"データの更新がキャンセルされました","ko-KR":"데이터 업데이트가 취소되었습니다.","nl-NL":"Gegevensupdate is geannuleerd","pl-PL":"Aktualizacja danych została anulowana","pt-BR":"A atualização de dados foi cancelada","ru-RU":"Обновление данных отменено","sv-SE":"Datauppdateringen avbröts.","tr-TR":"Veri güncelleştirme iptal edildi","zh-CN":"数据更新已取消","zh-TW":"資料更新已取消"}},Retry:{id:"Retry",locale:{"de-DE":"Wiederholen","en-US":"Retry","es-ES":"Intentar de nuevo","fr-FR":"Réessayer","it-IT":"Riprova","ja-JP":"再試行","ko-KR":"다시 시도","nl-NL":"Opnieuw","pl-PL":"Ponów próbę","pt-BR":"Tentar novamente","ru-RU":"Повторить попытку","sv-SE":"Försök igen","tr-TR":"Yeniden dene","zh-CN":"重试","zh-TW":"重試"}},Selection_Cancel:{id:"Selection.Cancel",locale:{"de-DE":"Auswahl abbrechen","en-US":"Cancel selection","es-ES":"Cancelar selección","fr-FR":"Annuler la sélection","it-IT":"Annulla selezione","ja-JP":"選択のキャンセル","ko-KR":"선택 취소","nl-NL":"Selectie annuleren","pl-PL":"Anuluj selekcję","pt-BR":"Cancelar seleção","ru-RU":"Отменить выборку","sv-SE":"Avbryt urval","tr-TR":"Seçimi iptal et","zh-CN":"取消选择","zh-TW":"取消選取"}},Selection_Clear:{id:"Selection.Clear",locale:{"de-DE":"Auswahl löschen","en-US":"Clear selection","es-ES":"Borrar selección","fr-FR":"Effacer la sélection","it-IT":"Cancella selezione","ja-JP":"選択をクリア","ko-KR":"선택 해제","nl-NL":"Selectie wissen","pl-PL":"Wyczyść selekcję","pt-BR":"Limpar seleção","ru-RU":"Очистить выбор","sv-SE":"Rensa urval","tr-TR":"Seçimi temizle","zh-CN":"清除选择","zh-TW":"清除選項"}},Selection_ClearAll:{id:"Selection.ClearAll",locale:{"de-DE":"Alle Auswahlen löschen","en-US":"Clear all selections","es-ES":"Borrar todas las selecciones","fr-FR":"Effacer toutes les sélections","it-IT":"Cancella tutte le selezioni","ja-JP":"選択をすべてクリアする","ko-KR":"모든 선택 해제","nl-NL":"Alle selecties wissen","pl-PL":"Wyczyść wszystkie selekcje","pt-BR":"Limpar todas as seleções","ru-RU":"Очистить от всех выборок","sv-SE":"Radera alla urval","tr-TR":"Tüm seçimleri temizle","zh-CN":"清除所有选择项","zh-TW":"清除所有選項"}},Selection_ClearAllStates:{id:"Selection.ClearAllStates",locale:{"de-DE":"Alle Status löschen","en-US":"Clear all states","es-ES":"Borrar todos los estados","fr-FR":"Effacer tous les états","it-IT":"Cancella tutti gli stati","ja-JP":"全ステートをクリア","ko-KR":"모든 상태 지우기","nl-NL":"Alle states wissen","pl-PL":"Wyczyść wszystkie stany","pt-BR":"Limpar todos os estados","ru-RU":"Очистить все состояния","sv-SE":"Rensa alla tillstånd","tr-TR":"Tüm durumları temizle","zh-CN":"清除所有状态","zh-TW":"清除所有狀態"}},Selection_Confirm:{id:"Selection.Confirm",locale:{"de-DE":"Auswahl bestätigen","en-US":"Confirm selection","es-ES":"Confirmar selección","fr-FR":"Confirmer la sélection","it-IT":"Conferma selezione","ja-JP":"選択の確認","ko-KR":"선택 확인","nl-NL":"Selectie bevestigen","pl-PL":"Potwierdź selekcję","pt-BR":"Confirmar seleção","ru-RU":"Подтвердить выборку","sv-SE":"Bekräfta urval","tr-TR":"Seçimi onayla","zh-CN":"确认选择","zh-TW":"確認選取"}},Selection_Menu:{id:"Selection.Menu",locale:{"de-DE":"Auswahlmenü","en-US":"Selection menu","es-ES":"Menú de selección","fr-FR":"Menu Sélection","it-IT":"Menu Selezione","ja-JP":"選択メニュー","ko-KR":"선택 메뉴","nl-NL":"Selectiemenu","pl-PL":"Menu selekcji","pt-BR":"Menu de seleção","ru-RU":'Меню "Выборка"',"sv-SE":"Urvalsmeny","tr-TR":"Seçim menüsü","zh-CN":"选择菜单","zh-TW":"選項功能表"}},Selection_SelectAll:{id:"Selection.SelectAll",locale:{"de-DE":"Alle auswählen","en-US":"Select all","es-ES":"Seleccionar todo","fr-FR":"Sélectionner tout","it-IT":"Seleziona tutto","ja-JP":"すべて選択","ko-KR":"모두 선택","nl-NL":"Alles selecteren","pl-PL":"Wybierz wszystko","pt-BR":"Selecionar todos","ru-RU":"Выбрать все","sv-SE":"Välj alla","tr-TR":"Tümünü seç","zh-CN":"全选","zh-TW":"全選"}},Selection_SelectAlternative:{id:"Selection.SelectAlternative",locale:{"de-DE":"Alternative Werte auswählen","en-US":"Select alternative","es-ES":"Seleccionar alternativos","fr-FR":"Sélectionner des valeurs alternatives","it-IT":"Seleziona alternativi","ja-JP":"代替値を選択","ko-KR":"대안 선택","nl-NL":"Alternatief selecteren","pl-PL":"Wybierz alternatywę","pt-BR":"Selecionar alternativa","ru-RU":"Выбрать альтернативные","sv-SE":"Välj alternativ","tr-TR":"Alternatifi seç","zh-CN":"选择替代项","zh-TW":"選取替代選項"}},Selection_SelectExcluded:{id:"Selection.SelectExcluded",locale:{"de-DE":"Ausgeschlossene Werte auswählen","en-US":"Select excluded","es-ES":"Seleccionar excluidos","fr-FR":"Sélectionner les valeurs exclues","it-IT":"Seleziona esclusi","ja-JP":"除外値を選択","ko-KR":"제외 항목 선택","nl-NL":"Uitgesloten waarden selecteren","pl-PL":"Wybierz wykluczone","pt-BR":"Selecionar excluído","ru-RU":"Выбрать исключенные","sv-SE":"Välj uteslutna","tr-TR":"Hariç tutulanı seç","zh-CN":"选择排除项","zh-TW":"選取排除值"}},Selection_SelectPossible:{id:"Selection.SelectPossible",locale:{"de-DE":"Wählbare Werte auswählen","en-US":"Select possible","es-ES":"Seleccionar posibles","fr-FR":"Sélectionner les valeurs possibles","it-IT":"Seleziona possibili","ja-JP":"絞込値を選択","ko-KR":"사용 가능 항목 선택","nl-NL":"Mogelijke waarden selecteren","pl-PL":"Wybierz możliwe","pt-BR":"Selecionar possível","ru-RU":"Выбрать возможные","sv-SE":"Välj möjliga","tr-TR":"Olasıyı seç","zh-CN":"选择可能值","zh-TW":"選取可能值"}},Visualization_Incomplete:{id:"Visualization.Incomplete",locale:{"de-DE":"Unvollständige Visualisierung","en-US":"Incomplete visualization","es-ES":"Visualización incompleta","fr-FR":"Visualisation incomplète","it-IT":"Visualizzazione incompleta","ja-JP":"未完了のビジュアライゼーション","ko-KR":"완료되지 않은 시각화","nl-NL":"Onvolledige visualisatie","pl-PL":"Niekompletna wizualizacja","pt-BR":"Visualização incompleta","ru-RU":"Незавершенная визуализация","sv-SE":"Ofullständig visualisering","tr-TR":"Tamamlanmamış görselleştirme","zh-CN":"不完整的可视化","zh-TW":"視覺化未完成"}},Visualization_Incomplete_Dimensions:{id:"Visualization.Incomplete.Dimensions",locale:{"de-DE":"{0} von {1} Dimensionen","en-US":"{0} of {1} dimensions","es-ES":"{0} de {1} dimensiones","fr-FR":"{0} dimensions sur {1}","it-IT":"{0} di {1} dimensioni","ja-JP":"{0} / {1} 軸","ko-KR":"{1} 차원의 {0}","nl-NL":"{0} van {1} dimensies","pl-PL":"{0} z {1} wymiarów","pt-BR":"{0} de {1} dimensões","ru-RU":"Измерения: {0} из {1}","sv-SE":"{0} av {1} dimensioner","tr-TR":"{0}/{1} boyut","zh-CN":"{0} / {1} 个维度","zh-TW":"{1} 個維度中的 {0} 個"}},Visualization_Incomplete_Measures:{id:"Visualization.Incomplete.Measures",locale:{"de-DE":"{0} von {1} Kennzahlen","en-US":"{0} of {1} measures","es-ES":"{0} de {1} medidas","fr-FR":"{0} mesures sur {1}","it-IT":"{0} di {1} misure","ja-JP":"{0} / {1} メジャー","ko-KR":"{1} 측정값의 {0}","nl-NL":"{0} van {1} metingen","pl-PL":"{0} z {1} miar","pt-BR":"{0} de {1} medidas","ru-RU":"Меры: {0} из {1}","sv-SE":"{0} av {1} mått","tr-TR":"{0}/{1} hesaplama","zh-CN":"{0} / {1} 个度量","zh-TW":"{1} 個量值中的 {0} 個"}},Visualization_Invalid_Dimension:{id:"Visualization.Invalid.Dimension",locale:{"de-DE":"Ungültige Dimension","en-US":"Invalid dimension","es-ES":"Dimensión no válida","fr-FR":"Dimension non valide","it-IT":"Dimensione non valida","ja-JP":"無効な軸です","ko-KR":"잘못된 차원","nl-NL":"Ongeldige dimensie","pl-PL":"Nieprawidłowy wymiar","pt-BR":"Dimensão inválida","ru-RU":"Недопустимое измерение","sv-SE":"Ogiltig dimension","tr-TR":"Geçersiz boyut","zh-CN":"无效维度","zh-TW":"維度無效"}},Visualization_Invalid_Measure:{id:"Visualization.Invalid.Measure",locale:{"de-DE":"Ungültige Kennzahl","en-US":"Invalid measure","es-ES":"Medida no válida","fr-FR":"Mesure non valide","it-IT":"Misura non valida","ja-JP":"無効なメジャーです","ko-KR":"잘못된 측정값","nl-NL":"Ongeldige meting","pl-PL":"Nieprawidłowa miara","pt-BR":"Medida inválida","ru-RU":"Недопустимая мера","sv-SE":"Ogiltigt mått","tr-TR":"Geçersiz hesaplama","zh-CN":"无效度量项","zh-TW":"量值無效"}},Visualization_LayoutError:{id:"Visualization.LayoutError",locale:{"de-DE":"Fehler","en-US":"Error","es-ES":"Error","fr-FR":"Erreur","it-IT":"Errore","ja-JP":"エラー","ko-KR":"오류","nl-NL":"Fout","pl-PL":"Błąd","pt-BR":"Erro","ru-RU":"Ошибка","sv-SE":"Fel","tr-TR":"Hata","zh-CN":"错误","zh-TW":"錯誤"}},Visualization_UnfulfilledCalculationCondition:{id:"Visualization.UnfulfilledCalculationCondition",locale:{"de-DE":"Die Berechnungsbedingung ist nicht erfüllt","en-US":"The calculation condition is not fulfilled","es-ES":"La condición de cálculo no se cumple","fr-FR":"Condition de calcul non remplie","it-IT":"La condizione di calcolo non è soddisfatta","ja-JP":"演算実行条件が満たされていません","ko-KR":"계산 조건이 충족되지 않았습니다.","nl-NL":"Er is niet aan de berekeningsvoorwaarde voldaan","pl-PL":"Warunek obliczenia nie jest spełniony","pt-BR":"A condição de cálculo não foi atendida","ru-RU":"Условие вычисления не выполнено","sv-SE":"Beräkningsvillkoret uppfylls inte","tr-TR":"Hesaplama koşulu yerine getirilmedi","zh-CN":"不满足计算条件","zh-TW":"不符計算條件"}}};function x(e){var t=y({initial:e});return Object.keys(b).forEach((function(e){t.translator.add(b[e])})),{translator:t.translator}}var E={};function w(){w.init.call(this)}E.isObject=function(e){return"object"==typeof e&&null!==e},E.isNumber=function(e){return"number"==typeof e},E.isUndefined=function(e){return void 0===e},E.isFunction=function(e){return"function"==typeof e};var S=w;w.EventEmitter=w,w.prototype._events=void 0,w.prototype._maxListeners=void 0,w.defaultMaxListeners=10,w.init=function(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0},w.prototype.setMaxListeners=function(e){if(!E.isNumber(e)||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},w.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],E.isUndefined(n))return!1;if(E.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(E.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},w.prototype.addListener=function(e,t){var n;if(!E.isFunction(t))throw TypeError("listener must be a function");(this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,E.isFunction(t.listener)?t.listener:t),this._events[e]?E.isObject(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,E.isObject(this._events[e])&&!this._events[e].warned)&&((n=E.isUndefined(this._maxListeners)?w.defaultMaxListeners:this._maxListeners)&&n>0&&this._events[e].length>n&&(this._events[e].warned=!0,E.isFunction(console.error)&&console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),E.isFunction(console.trace)&&console.trace()));return this},w.prototype.on=w.prototype.addListener,w.prototype.once=function(e,t){if(!E.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},w.prototype.removeListener=function(e,t){var n,r,o,i;if(!E.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||E.isFunction(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(E.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},w.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],E.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},w.prototype.listeners=function(e){return this._events&&this._events[e]?E.isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},w.listenerCount=function(e,t){return e._events&&e._events[t]?E.isFunction(e._events[t])?1:e._events[t].length:0};var C=Object.prototype.hasOwnProperty,k=Object.prototype.toString,L=Object.defineProperty,R=Object.getOwnPropertyDescriptor,O=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===k.call(e)},_=function(e){if(!e||"[object Object]"!==k.call(e))return!1;var t,n=C.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&C.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||C.call(e,t)},I=function(e,t){L&&"__proto__"===t.name?L(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},P=function(e,t){if("__proto__"===t){if(!C.call(e,t))return;if(R)return R(e,t).value}return e[t]},T=function e(){var t,n,r,o,i,a,l=arguments[0],s=1,u=arguments.length,c=!1;for("boolean"==typeof l&&(c=l,l=arguments[1]||{},s=2),(null==l||"object"!=typeof l&&"function"!=typeof l)&&(l={});s<u;++s)if(null!=(t=arguments[s]))for(n in t)r=P(l,n),l!==(o=P(t,n))&&(c&&o&&(_(o)||(i=O(o)))?(i?(i=!1,a=r&&O(r)?r:[]):a=r&&_(r)?r:{},I(l,{name:n,newValue:e(c,a,o)})):void 0!==o&&I(l,{name:n,newValue:o}));return l},N={fontSize:"13px",fontFamily:"'Source Sans Pro', 'Arial', 'sans-serif'",backgroundColor:"transparent",dataColors:{primaryColor:"#26a0a7",othersColor:"#a5a5a5",errorColor:"#ff4444",nullColor:"#d2d2d2"},scales:[{name:"Sequential Gradient",translation:"properties.colorScheme.sequential",type:"gradient",propertyValue:"sg",scale:["#26a0a7","#c7ea8b"]},{name:"Sequential Classes",translation:"properties.colorScheme.sequentialC",propertyValue:"sc",type:"class",scale:["#26a0a7","#c7ea8b"]},{name:"Diverging gradient",translation:"properties.colorScheme.diverging",propertyValue:"dg",type:"gradient",scale:["#26a0a7","#c3ea8c","#ec983d"]},{name:"Diverging Classes",translation:"properties.colorScheme.divergingC",propertyValue:"dc",type:"class",scale:["#26a0a7","#c3ea8c","#ec983d"]}],palettes:{data:[{name:"12 Colors",translation:"properties.colorNumberOfColors.12",propertyValue:"12",type:"pyramid",scale:[["#26A0A7"],["#26A0A7","#EC983D"],["#26A0A7","#CBE989","#EC983D"],["#26A0A7","#79D69F","#F9EC86","#EC983D"],["#26A0A7","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#EC983D","#D76C6C"],["#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C"],["#138185","#26A0A7","#65D3DA","#79D69F","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"],["#138185","#26A0A7","#65D3DA","#79D69F","#70BA6E","#CBE989","#EBF898","#F9EC86","#FAD144","#EC983D","#D76C6C","#A54343"]]}],ui:[{name:"Palette",colors:["#b0afae","#7b7a78","#a54343","#d76c6c","#ec983d","#ecc43d","#f9ec86","#cbe989","#70ba6e","#578b60","#79d69f","#26a0a7","#138185","#65d3da","#ffffff","#000000"]}]}},q={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"light",color:"@B35"},M={_variables:{"@B20":"#333333","@B35":"#595959","@B45":"#737373","@B50":"#808080","@B60":"#999999","@B80":"#cccccc","@B90":"#e6e6e6","@B98":"#fbfbfb","@B100":"#ffffff","@H1":"24px","@H2":"18px","@H3":"14px","@H4":"13px","@H5":"12px","@H6":"10px"},type:"dark",color:"@B98"};function D(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function A(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function z(){}var j=.7,F=1/j,B="\\s*([+-]?\\d+)\\s*",U="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",H="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",W=/^#([0-9a-f]{3,8})$/,V=new RegExp("^rgb\\("+[B,B,B]+"\\)$"),$=new RegExp("^rgb\\("+[H,H,H]+"\\)$"),K=new RegExp("^rgba\\("+[B,B,B,U]+"\\)$"),G=new RegExp("^rgba\\("+[H,H,H,U]+"\\)$"),Z=new RegExp("^hsl\\("+[U,H,H]+"\\)$"),X=new RegExp("^hsla\\("+[U,H,H,U]+"\\)$"),Q={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 J(){return this.rgb().formatHex()}function Y(){return this.rgb().formatRgb()}function ee(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=W.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?te(t):3===n?new ie(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?ne(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?ne(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=V.exec(e))?new ie(t[1],t[2],t[3],1):(t=$.exec(e))?new ie(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=K.exec(e))?ne(t[1],t[2],t[3],t[4]):(t=G.exec(e))?ne(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=Z.exec(e))?ue(t[1],t[2]/100,t[3]/100,1):(t=X.exec(e))?ue(t[1],t[2]/100,t[3]/100,t[4]):Q.hasOwnProperty(e)?te(Q[e]):"transparent"===e?new ie(NaN,NaN,NaN,0):null}function te(e){return new ie(e>>16&255,e>>8&255,255&e,1)}function ne(e,t,n,r){return r<=0&&(e=t=n=NaN),new ie(e,t,n,r)}function re(e){return e instanceof z||(e=ee(e)),e?new ie((e=e.rgb()).r,e.g,e.b,e.opacity):new ie}function oe(e,t,n,r){return 1===arguments.length?re(e):new ie(e,t,n,null==r?1:r)}function ie(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function ae(){return"#"+se(this.r)+se(this.g)+se(this.b)}function le(){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 se(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function ue(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new fe(e,t,n,r)}function ce(e){if(e instanceof fe)return new fe(e.h,e.s,e.l,e.opacity);if(e instanceof z||(e=ee(e)),!e)return new fe;if(e instanceof fe)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,l=i-o,s=(i+o)/2;return l?(a=t===i?(n-r)/l+6*(n<r):n===i?(r-t)/l+2:(t-n)/l+4,l/=s<.5?i+o:2-i-o,a*=60):l=s>0&&s<1?0:a,new fe(a,l,s,e.opacity)}function fe(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function de(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}D(z,ee,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:J,formatHex:J,formatHsl:function(){return ce(this).formatHsl()},formatRgb:Y,toString:Y}),D(ie,oe,A(z,{brighter:function(e){return e=null==e?F:Math.pow(F,e),new ie(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?j:Math.pow(j,e),new ie(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:ae,formatHex:ae,formatRgb:le,toString:le})),D(fe,(function(e,t,n,r){return 1===arguments.length?ce(e):new fe(e,t,n,null==r?1:r)}),A(z,{brighter:function(e){return e=null==e?F:Math.pow(F,e),new fe(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?j:Math.pow(j,e),new fe(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 ie(de(e>=240?e-240:e+120,o,r),de(e,o,r),de(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 pe=function(){function e(t){a(this,e),this.colorParts=[],this.startLevel=0,this.max=1,this.min=0,this.nanColor=ee(t)}return s(e,[{key:"addColorPart",value:function(e,t,n){n=n||0,this.startLevel=Math.max(n,this.startLevel),this.colorParts[n]||(this.colorParts[n]=[]),this.colorParts[n].push([ee(e),ee(t)])}},{key:"getColor",value:function(e,t){var n=e-this.min;if(Number.isNaN(+e)||Number.isNaN(+n))return this.nanColor;t=function(e,t){return Math.min(t||e.startLevel,e.colorParts.length-1)}(this,t);var r=function(e,t){return t-(e=Math.min(Math.max(e,1e-12),.999999999999))*t}(n,this.colorParts[t].length),o=Math.floor(r);o=o===r?o-1:o;var i=this.colorParts[t][o],a=i[0],l=i[1];return e===this.min?l:e===this.max?a:function(e,t,n){return oe(Math.floor(e.r+(t.r-e.r)*n),Math.floor(e.g+(t.g-e.g)*n),Math.floor(e.b+(t.b-e.b)*n),Math.floor(e.opacity+(t.opacity-e.opacity)*n))}(a,l,r-o)}}]),e}();function he(e,t,n){var r=.25+(t+1)/n*.25,o=.5-r;return o+e/1*(.5+r-o)}function me(e,t,n){var r=[],o=new pe(t);r.push(e[0]),n||r.push(e[0]);for(var i=1;i<e.length-1;i++)r.push(e[i]),r.push(e[i]);r.push(e[i]),n||r.push(e[i]);for(var a=0;a<r.length;a+=2)o.addColorPart(r[a],r[a+1]);return o}function ve(e,t,n){for(var r=[],o=0;o<t+1;o++){var i=void 0;switch(t){case 0:i=e.getColor(.5);break;default:var a=he(1/t*o,t,n);i=e.getColor(a)}r.push(ee(i).formatHex())}return r}function ge(e,t,n){for(var r=me(e,n,!0),o=me(ve(r,t-1,t),n,!1),i=[null],a=0;a<t;a++)i.push(ve(o,a,t));return i}function ye(e,t){var n,r,o=[];if(e)for(var i=e.length;i>=0;){for(r=(n=t.slice()).length;r>=0;)o.push(n.concat(e)),n.pop(),r--;e.pop(),i--}else for(r=(n=t.slice()).length;r>=0;)o.push(n.concat()),n.pop(),r--;return o}function be(e,t){for(var n=e,r=0;r<t.length;r++){if(!n[t[r]])return null;n=n[t[r]]}return n}function xe(e,t,n,r){var o;""===e?o=ye(null,n):o=ye(e.split("."),n);return function(e,t,n){for(var r=0;r<e.length;r++){var o=be(n,e[r]);if(null!==o&&o[t])return o[t]}}(o,t,r)}function Ee(e,t){var n=e.split(".");return{getStyle:function(e,r){return xe(e,r,n.concat(),t)}}}function we(e){var t=ee(e).rgb(),n=d([t.r,t.g,t.b].map((function(e){return e/255})),3),r=d([n[0],n[1],n[2]].map((function(e){return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),3);return+(.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(5)}function Se(e,t){return+((Math.max(e,t)+.05)/(Math.min(e,t)+.05)).toFixed(5)}Ee.resolveRawTheme=function(e){var t=T(!0,{},e);return function e(t,n){Object.keys(t).forEach((function(o){"object"===r(t[o])&&null!==t[o]?e(t[o],n):"string"==typeof t[o]&&"@"===t[o].charAt(0)&&(t[o]=n[t[o]])}))}(t,t._variables),t.scales&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#d2d2d2";e.forEach((function(e){if("class"===e.type){var n=ge(e.scale,Math.max(e.scale.length,7),t);e.scale=n,e.type="class-pyramid"}}))}(t.scales,t.dataColors&&t.dataColors.nullColor),t};function Ce(){var e,t,n,r={},o={getDataColorScales:function(){return t.dataScales()},getDataColorPalettes:function(){return t.dataPalettes()},getDataColorPickerPalettes:function(){return t.uiPalettes()},getDataColorSpecials:function(){return t.dataColors()},getColorPickerColor:function(){var e;return(e=t).uiColor.apply(e,arguments)},getContrastingColorTo:function(e){return n.getBestContrastColor(e)},getStyle:function(t,n,o){return r[t]||(r[t]=Ee(t,e)),r[t].getStyle(n,o,!1)}},i={setTheme:function(i,a){var l,s;e=function(e,t){var n="dark"===e.type?M:q,r=T(!0,{},N,n),o=T(!0,{},r,{scales:null,palettes:{data:null,ui:null}},e);return o.palettes.data&&o.palettes.data.length||(o.palettes.data=r.palettes.data),o.palettes.ui&&o.palettes.ui.length||(o.palettes.ui=r.palettes.ui),o.scales&&o.scales.length||(o.scales=r.scales),t(o)}(i,Ee.resolveRawTheme),r={},l=e,t={dataScales:function(){var e=[];return l.scales.forEach((function(t){e.push({key:t.propertyValue,name:t.name,translation:t.translation,scheme:!0,type:t.type,colors:t.scale})})),e},dataPalettes:function(){var e=[];return l.palettes.data.forEach((function(t){e.push({key:t.propertyValue,name:t.name,translation:t.translation,type:t.type,colors:t.scale})})),e},uiPalettes:function(){var e=[];return l.palettes.ui.forEach((function(t){e.push({key:"ui",name:t.name,translation:t.translation,type:"row",colors:t.colors})})),e},dataColors:function(){return{primary:l.dataColors.primaryColor,nil:l.dataColors.nullColor,others:l.dataColors.othersColor}},uiColor:function(e){return e.index<0||void 0===e.index?e.color:(void 0===s&&(s=this.uiPalettes()[0]||!1),s?void 0===s.colors[e.index]?e.color:s.colors[e.index]:e.color)}};var u=o.getStyle("","","color"),c=we(u);n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["#333333","#ffffff"],t={},n=0,r=e.map(we);return{getBestContrastColor:function(o){if(!t[o]){n>1e3&&(t={},n=0);var i=we(o),a=r.map((function(e){return Se(i,e)})),l=e[a.indexOf(Math.max.apply(Math,p(a)))];t[o]=l,n++}return t[o]}}}([u,c<.2?"#ffffff":"#333333"]),o.emit("changed"),o.name=function(){return a}}};return Object.keys(S.prototype).forEach((function(e){o[e]=S.prototype[e]})),S.init(o),i.setTheme({},"light"),{externalAPI:o,internalAPI:i}}var ke=function(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))};function Le(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.themes,n=void 0===t?[]:t,r=e.root,o=Ce(),a=function(){var e=i(regeneratorRuntime.mark((function e(t){var i,a,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=n.filter((function(e){return e.id===t}))[0],a="dark"===t?"dark":"light",!i||!i.load){e.next=15;break}return e.prev=3,e.next=6,Promise.race([i.load(),ke(5e3,{__timedOut:!0})]);case 6:(l=e.sent).__timedOut||(a="dark"===l.type?"dark":"light",o.internalAPI.setTheme(l,t),r.setMuiThemeName(a)),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(3);case 13:e.next=17;break;case 15:o.internalAPI.setTheme({type:a},t),r.setMuiThemeName(a);case 17:case"end":return e.stop()}}),e,null,[[3,10]])})));return function(t){return e.apply(this,arguments)}}();return{setTheme:a,externalAPI:o.externalAPI}}function Re(e){return"auto"!==e?e:(t=!1,window.PointerEvent&&"maxTouchPoints"in navigator?navigator.maxTouchPoints>0&&(t=!0):(window.matchMedia&&window.matchMedia("(any-pointer:coarse)").matches||window.TouchEvent||"ontouchstart"in window)&&(t=!0),t?"touch":"desktop");var t}var Oe={exports:{}},_e={},Ie=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable;function Ne(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}var qe=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,o=Ne(e),i=1;i<arguments.length;i++){for(var a in n=Object(arguments[i]))Pe.call(n,a)&&(o[a]=n[a]);if(Ie){r=Ie(n);for(var l=0;l<r.length;l++)Te.call(n,r[l])&&(o[r[l]]=n[r[l]])}}return o},Me=qe,De=60103,Ae=60106;
|
|
8
8
|
/** @license React v17.0.2
|
|
9
9
|
* react.production.min.js
|
|
10
10
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*
|
|
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
|
+
*/_e.Fragment=60107,_e.StrictMode=60108,_e.Profiler=60114;var ze=60109,je=60110,Fe=60112;_e.Suspense=60113;var Be=60115,Ue=60116;if("function"==typeof Symbol&&Symbol.for){var He=Symbol.for;De=He("react.element"),Ae=He("react.portal"),_e.Fragment=He("react.fragment"),_e.StrictMode=He("react.strict_mode"),_e.Profiler=He("react.profiler"),ze=He("react.provider"),je=He("react.context"),Fe=He("react.forward_ref"),_e.Suspense=He("react.suspense"),Be=He("react.memo"),Ue=He("react.lazy")}var We="function"==typeof Symbol&&Symbol.iterator;function Ve(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var $e={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ke={};function Ge(e,t,n){this.props=e,this.context=t,this.refs=Ke,this.updater=n||$e}function Ze(){}function Xe(e,t,n){this.props=e,this.context=t,this.refs=Ke,this.updater=n||$e}Ge.prototype.isReactComponent={},Ge.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(Ve(85));this.updater.enqueueSetState(this,e,t,"setState")},Ge.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},Ze.prototype=Ge.prototype;var Qe=Xe.prototype=new Ze;Qe.constructor=Xe,Me(Qe,Ge.prototype),Qe.isPureReactComponent=!0;var Je={current:null},Ye=Object.prototype.hasOwnProperty,et={key:!0,ref:!0,__self:!0,__source:!0};function tt(e,t,n){var r,o={},i=null,a=null;if(null!=t)for(r in void 0!==t.ref&&(a=t.ref),void 0!==t.key&&(i=""+t.key),t)Ye.call(t,r)&&!et.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(1===l)o.children=n;else if(1<l){for(var s=Array(l),u=0;u<l;u++)s[u]=arguments[u+2];o.children=s}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===o[r]&&(o[r]=l[r]);return{$$typeof:De,type:e,key:i,ref:a,props:o,_owner:Je.current}}function nt(e){return"object"==typeof e&&null!==e&&e.$$typeof===De}var rt=/\/+/g;function ot(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function it(e,t,n,r,o){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var a=!1;if(null===e)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case De:case Ae:a=!0}}if(a)return o=o(a=e),e=""===r?"."+ot(a,0):r,Array.isArray(o)?(n="",null!=e&&(n=e.replace(rt,"$&/")+"/"),it(o,t,n,"",(function(e){return e}))):null!=o&&(nt(o)&&(o=function(e,t){return{$$typeof:De,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(rt,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=""===r?".":r+":",Array.isArray(e))for(var l=0;l<e.length;l++){var s=r+ot(i=e[l],l);a+=it(i,t,n,s,o)}else if("function"==typeof(s=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=We&&e[We]||e["@@iterator"])?e:null}(e)))for(e=s.call(e),l=0;!(i=e.next()).done;)a+=it(i=i.value,t,n,s=r+ot(i,l++),o);else if("object"===i)throw t=""+e,Error(Ve(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function at(e,t,n){if(null==e)return e;var r=[],o=0;return it(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function lt(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var st={current:null};function ut(){var e=st.current;if(null===e)throw Error(Ve(321));return e}var ct={ReactCurrentDispatcher:st,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:Je,IsSomeRendererActing:{current:!1},assign:Me};_e.Children={map:at,forEach:function(e,t,n){at(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return at(e,(function(){t++})),t},toArray:function(e){return at(e,(function(e){return e}))||[]},only:function(e){if(!nt(e))throw Error(Ve(143));return e}},_e.Component=Ge,_e.PureComponent=Xe,_e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ct,_e.cloneElement=function(e,t,n){if(null==e)throw Error(Ve(267,e));var r=Me({},e.props),o=e.key,i=e.ref,a=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,a=Je.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(s in t)Ye.call(t,s)&&!et.hasOwnProperty(s)&&(r[s]=void 0===t[s]&&void 0!==l?l[s]:t[s])}var s=arguments.length-2;if(1===s)r.children=n;else if(1<s){l=Array(s);for(var u=0;u<s;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:De,type:e.type,key:o,ref:i,props:r,_owner:a}},_e.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:je,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:ze,_context:e},e.Consumer=e},_e.createElement=tt,_e.createFactory=function(e){var t=tt.bind(null,e);return t.type=e,t},_e.createRef=function(){return{current:null}},_e.forwardRef=function(e){return{$$typeof:Fe,render:e}},_e.isValidElement=nt,_e.lazy=function(e){return{$$typeof:Ue,_payload:{_status:-1,_result:e},_init:lt}},_e.memo=function(e,t){return{$$typeof:Be,type:e,compare:void 0===t?null:t}},_e.useCallback=function(e,t){return ut().useCallback(e,t)},_e.useContext=function(e,t){return ut().useContext(e,t)},_e.useDebugValue=function(){},_e.useEffect=function(e,t){return ut().useEffect(e,t)},_e.useImperativeHandle=function(e,t,n){return ut().useImperativeHandle(e,t,n)},_e.useLayoutEffect=function(e,t){return ut().useLayoutEffect(e,t)},_e.useMemo=function(e,t){return ut().useMemo(e,t)},_e.useReducer=function(e,t,n){return ut().useReducer(e,t,n)},_e.useRef=function(e){return ut().useRef(e)},_e.useState=function(e){return ut().useState(e)},_e.version="17.0.2",Oe.exports=_e;var ft=Oe.exports,dt={exports:{}},pt={},ht={exports:{}},mt={};
|
|
16
16
|
/** @license React v0.20.2
|
|
17
17
|
* scheduler.production.min.js
|
|
18
18
|
*
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
* This source code is licensed under the MIT license found in the
|
|
22
22
|
* LICENSE file in the root directory of this source tree.
|
|
23
23
|
*/
|
|
24
|
-
!function(e){var t,n,r,o;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,c=function(){if(null!==s)try{var t=e.unstable_now();s(!0,t),s=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==s?setTimeout(t,0,e):(s=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,d=window.clearTimeout;if("undefined"!=typeof console){var p=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,m=null,v=-1,g=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},o=function(){},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,x=b.port2;b.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();y=t+g;try{m(!0,t)?x.postMessage(null):(h=!1,m=null)}catch(e){throw x.postMessage(null),e}}else h=!1},t=function(e){m=e,h||(h=!0,x.postMessage(null))},n=function(t,n){v=f((function(){t(e.unstable_now())}),n)},r=function(){d(v),v=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<C(o,t)))break e;e[r]=t,e[n]=o,n=r}}function w(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,s=e[l];if(void 0!==a&&0>C(a,n))void 0!==s&&0>C(s,a)?(e[r]=s,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==s&&0>C(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],L=[],R=1,O=null,_=3,I=!1,P=!1,T=!1;function N(e){for(var t=w(L);null!==t;){if(null===t.callback)S(L);else{if(!(t.startTime<=e))break;S(L),t.sortIndex=t.expirationTime,E(k,t)}t=w(L)}}function q(e){if(T=!1,N(e),!P)if(null!==w(k))P=!0,t(M);else{var r=w(L);null!==r&&n(q,r.startTime-e)}}function M(t,o){P=!1,T&&(T=!1,r()),I=!0;var i=_;try{for(N(o),O=w(k);null!==O&&(!(O.expirationTime>o)||t&&!e.unstable_shouldYield());){var a=O.callback;if("function"==typeof a){O.callback=null,_=O.priorityLevel;var l=a(O.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?O.callback=l:O===w(k)&&S(k),N(o)}else S(k);O=w(k)}if(null!==O)var s=!0;else{var u=w(L);null!==u&&n(q,u.startTime-o),s=!1}return s}finally{O=null,_=i,I=!1}}var D=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){P||I||(P=!0,t(M))},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_getFirstCallbackNode=function(){return w(k)},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=D,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(o,i,a){var l=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?l+a:l:a=l,o){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return o={id:R++,callback:i,priorityLevel:o,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>l?(o.sortIndex=a,E(L,o),null===w(k)&&o===w(L)&&(T?r():T=!0,n(q,a-l))):(o.sortIndex=s,E(k,o),P||I||(P=!0,t(M))),o},e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}}}(
|
|
24
|
+
!function(e){var t,n,r,o;if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,l=a.now();e.unstable_now=function(){return a.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,u=null,c=function(){if(null!==s)try{var t=e.unstable_now();s(!0,t),s=null}catch(e){throw setTimeout(c,0),e}};t=function(e){null!==s?setTimeout(t,0,e):(s=e,setTimeout(c,0))},n=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},e.unstable_shouldYield=function(){return!1},o=e.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,d=window.clearTimeout;if("undefined"!=typeof console){var p=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof p&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var h=!1,m=null,v=-1,g=5,y=0;e.unstable_shouldYield=function(){return e.unstable_now()>=y},o=function(){},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):g=0<e?Math.floor(1e3/e):5};var b=new MessageChannel,x=b.port2;b.port1.onmessage=function(){if(null!==m){var t=e.unstable_now();y=t+g;try{m(!0,t)?x.postMessage(null):(h=!1,m=null)}catch(e){throw x.postMessage(null),e}}else h=!1},t=function(e){m=e,h||(h=!0,x.postMessage(null))},n=function(t,n){v=f((function(){t(e.unstable_now())}),n)},r=function(){d(v),v=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<C(o,t)))break e;e[r]=t,e[n]=o,n=r}}function w(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],l=i+1,s=e[l];if(void 0!==a&&0>C(a,n))void 0!==s&&0>C(s,a)?(e[r]=s,e[l]=n,r=l):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==s&&0>C(s,n)))break e;e[r]=s,e[l]=n,r=l}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var k=[],L=[],R=1,O=null,_=3,I=!1,P=!1,T=!1;function N(e){for(var t=w(L);null!==t;){if(null===t.callback)S(L);else{if(!(t.startTime<=e))break;S(L),t.sortIndex=t.expirationTime,E(k,t)}t=w(L)}}function q(e){if(T=!1,N(e),!P)if(null!==w(k))P=!0,t(M);else{var r=w(L);null!==r&&n(q,r.startTime-e)}}function M(t,o){P=!1,T&&(T=!1,r()),I=!0;var i=_;try{for(N(o),O=w(k);null!==O&&(!(O.expirationTime>o)||t&&!e.unstable_shouldYield());){var a=O.callback;if("function"==typeof a){O.callback=null,_=O.priorityLevel;var l=a(O.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?O.callback=l:O===w(k)&&S(k),N(o)}else S(k);O=w(k)}if(null!==O)var s=!0;else{var u=w(L);null!==u&&n(q,u.startTime-o),s=!1}return s}finally{O=null,_=i,I=!1}}var D=o;e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){P||I||(P=!0,t(M))},e.unstable_getCurrentPriorityLevel=function(){return _},e.unstable_getFirstCallbackNode=function(){return w(k)},e.unstable_next=function(e){switch(_){case 1:case 2:case 3:var t=3;break;default:t=_}var n=_;_=t;try{return e()}finally{_=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=D,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=_;_=e;try{return t()}finally{_=n}},e.unstable_scheduleCallback=function(o,i,a){var l=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?l+a:l:a=l,o){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return o={id:R++,callback:i,priorityLevel:o,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>l?(o.sortIndex=a,E(L,o),null===w(k)&&o===w(L)&&(T?r():T=!0,n(q,a-l))):(o.sortIndex=s,E(k,o),P||I||(P=!0,t(M))),o},e.unstable_wrapCallback=function(e){var t=_;return function(){var n=_;_=t;try{return e.apply(this,arguments)}finally{_=n}}}}(mt),ht.exports=mt;
|
|
25
25
|
/** @license React v17.0.2
|
|
26
26
|
* react-dom.production.min.js
|
|
27
27
|
*
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* This source code is licensed under the MIT license found in the
|
|
31
31
|
* LICENSE file in the root directory of this source tree.
|
|
32
32
|
*/
|
|
33
|
-
var ht=Le.exports,mt=Te,vt=dt.exports;function gt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!ht)throw Error(gt(227));var yt=new Set,bt={};function xt(e,t){Et(e,t),Et(e+"Capture",t)}function Et(e,t){for(bt[e]=t,e=0;e<t.length;e++)yt.add(t[e])}var wt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),St=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Ct=Object.prototype.hasOwnProperty,kt={},Lt={};function Rt(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Ot={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){Ot[e]=new Rt(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];Ot[t]=new Rt(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){Ot[e]=new Rt(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){Ot[e]=new Rt(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){Ot[e]=new Rt(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){Ot[e]=new Rt(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){Ot[e]=new Rt(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){Ot[e]=new Rt(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){Ot[e]=new Rt(e,5,!1,e.toLowerCase(),null,!1,!1)}));var _t=/[\-:]([a-z])/g;function It(e){return e[1].toUpperCase()}function Pt(e,t,n,r){var o=Ot.hasOwnProperty(t)?Ot[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Ct.call(Lt,e)||!Ct.call(kt,e)&&(St.test(e)?Lt[e]=!0:(kt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(_t,It);Ot[t]=new Rt(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(_t,It);Ot[t]=new Rt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(_t,It);Ot[t]=new Rt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){Ot[e]=new Rt(e,1,!1,e.toLowerCase(),null,!1,!1)})),Ot.xlinkHref=new Rt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){Ot[e]=new Rt(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Tt=ht.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Nt=60103,qt=60106,Mt=60107,Dt=60108,At=60114,zt=60109,jt=60110,Ft=60112,Bt=60113,Ut=60120,Ht=60115,Wt=60116,Vt=60121,$t=60128,Gt=60129,Kt=60130,Zt=60131;if("function"==typeof Symbol&&Symbol.for){var Xt=Symbol.for;Nt=Xt("react.element"),qt=Xt("react.portal"),Mt=Xt("react.fragment"),Dt=Xt("react.strict_mode"),At=Xt("react.profiler"),zt=Xt("react.provider"),jt=Xt("react.context"),Ft=Xt("react.forward_ref"),Bt=Xt("react.suspense"),Ut=Xt("react.suspense_list"),Ht=Xt("react.memo"),Wt=Xt("react.lazy"),Vt=Xt("react.block"),Xt("react.scope"),$t=Xt("react.opaque.id"),Gt=Xt("react.debug_trace_mode"),Kt=Xt("react.offscreen"),Zt=Xt("react.legacy_hidden")}var Qt,Jt="function"==typeof Symbol&&Symbol.iterator;function Yt(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=Jt&&e[Jt]||e["@@iterator"])?e:null}function en(e){if(void 0===Qt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Qt=t&&t[1]||""}return"\n"+Qt+e}var tn=!1;function nn(e,t){if(!e||tn)return"";tn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{tn=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?en(e):""}function rn(e){switch(e.tag){case 5:return en(e.type);case 16:return en("Lazy");case 13:return en("Suspense");case 19:return en("SuspenseList");case 0:case 2:case 15:return e=nn(e.type,!1);case 11:return e=nn(e.type.render,!1);case 22:return e=nn(e.type._render,!1);case 1:return e=nn(e.type,!0);default:return""}}function on(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case Mt:return"Fragment";case qt:return"Portal";case At:return"Profiler";case Dt:return"StrictMode";case Bt:return"Suspense";case Ut:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case jt:return(e.displayName||"Context")+".Consumer";case zt:return(e._context.displayName||"Context")+".Provider";case Ft:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Ht:return on(e.type);case Vt:return on(e._render);case Wt:t=e._payload,e=e._init;try{return on(e(t))}catch(e){}}return null}function an(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function ln(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function sn(e){e._valueTracker||(e._valueTracker=function(e){var t=ln(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function un(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ln(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function cn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function fn(e,t){var n=t.checked;return mt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function dn(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=an(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function pn(e,t){null!=(t=t.checked)&&Pt(e,"checked",t,!1)}function hn(e,t){pn(e,t);var n=an(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?vn(e,t.type,n):t.hasOwnProperty("defaultValue")&&vn(e,t.type,an(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function mn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function vn(e,t,n){"number"===t&&cn(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function gn(e,t){return e=mt({children:void 0},t),(t=function(e){var t="";return ht.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function yn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+an(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function bn(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(gt(91));return mt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xn(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(gt(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(gt(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:an(n)}}function En(e,t){var n=an(t.value),r=an(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function wn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var Sn="http://www.w3.org/1999/xhtml",Cn="http://www.w3.org/2000/svg";function kn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Ln(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?kn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Rn,On,_n=(On=function(e,t){if(e.namespaceURI!==Cn||"innerHTML"in e)e.innerHTML=t;else{for((Rn=Rn||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Rn.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return On(e,t)}))}:On);function In(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Pn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Tn=["Webkit","ms","Moz","O"];function Nn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Pn.hasOwnProperty(e)&&Pn[e]?(""+t).trim():t+"px"}function qn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Nn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Pn).forEach((function(e){Tn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pn[t]=Pn[e]}))}));var Mn=mt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Dn(e,t){if(t){if(Mn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(gt(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(gt(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(gt(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(gt(62))}}function An(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function zn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var jn=null,Fn=null,Bn=null;function Un(e){if(e=fa(e)){if("function"!=typeof jn)throw Error(gt(280));var t=e.stateNode;t&&(t=pa(t),jn(e.stateNode,e.type,t))}}function Hn(e){Fn?Bn?Bn.push(e):Bn=[e]:Fn=e}function Wn(){if(Fn){var e=Fn,t=Bn;if(Bn=Fn=null,Un(e),t)for(e=0;e<t.length;e++)Un(t[e])}}function Vn(e,t){return e(t)}function $n(e,t,n,r,o){return e(t,n,r,o)}function Gn(){}var Kn=Vn,Zn=!1,Xn=!1;function Qn(){null===Fn&&null===Bn||(Gn(),Wn())}function Jn(e,t){var n=e.stateNode;if(null===n)return null;var r=pa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(gt(231,t,typeof n));return n}var Yn=!1;if(wt)try{var er={};Object.defineProperty(er,"passive",{get:function(){Yn=!0}}),window.addEventListener("test",er,er),window.removeEventListener("test",er,er)}catch(On){Yn=!1}function tr(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var nr=!1,rr=null,or=!1,ir=null,ar={onError:function(e){nr=!0,rr=e}};function lr(e,t,n,r,o,i,a,l,s){nr=!1,rr=null,tr.apply(ar,arguments)}function sr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function ur(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function cr(e){if(sr(e)!==e)throw Error(gt(188))}function fr(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=sr(e)))throw Error(gt(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return cr(o),e;if(i===r)return cr(o),t;i=i.sibling}throw Error(gt(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(gt(189))}}if(n.alternate!==r)throw Error(gt(190))}if(3!==n.tag)throw Error(gt(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function dr(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var pr,hr,mr,vr,gr=!1,yr=[],br=null,xr=null,Er=null,wr=new Map,Sr=new Map,Cr=[],kr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lr(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function Rr(e,t){switch(e){case"focusin":case"focusout":br=null;break;case"dragenter":case"dragleave":xr=null;break;case"mouseover":case"mouseout":Er=null;break;case"pointerover":case"pointerout":wr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Sr.delete(t.pointerId)}}function Or(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Lr(t,n,r,o,i),null!==t&&(null!==(t=fa(t))&&hr(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function _r(e){var t=ca(e.target);if(null!==t){var n=sr(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=ur(n)))return e.blockedOn=t,void vr(e.lanePriority,(function(){vt.unstable_runWithPriority(e.priority,(function(){mr(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ir(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=fo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=fa(n))&&hr(t),e.blockedOn=n,!1;t.shift()}return!0}function Pr(e,t,n){Ir(e)&&n.delete(t)}function Tr(){for(gr=!1;0<yr.length;){var e=yr[0];if(null!==e.blockedOn){null!==(e=fa(e.blockedOn))&&pr(e);break}for(var t=e.targetContainers;0<t.length;){var n=fo(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&yr.shift()}null!==br&&Ir(br)&&(br=null),null!==xr&&Ir(xr)&&(xr=null),null!==Er&&Ir(Er)&&(Er=null),wr.forEach(Pr),Sr.forEach(Pr)}function Nr(e,t){e.blockedOn===t&&(e.blockedOn=null,gr||(gr=!0,vt.unstable_scheduleCallback(vt.unstable_NormalPriority,Tr)))}function qr(e){function t(t){return Nr(t,e)}if(0<yr.length){Nr(yr[0],e);for(var n=1;n<yr.length;n++){var r=yr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==br&&Nr(br,e),null!==xr&&Nr(xr,e),null!==Er&&Nr(Er,e),wr.forEach(t),Sr.forEach(t),n=0;n<Cr.length;n++)(r=Cr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Cr.length&&null===(n=Cr[0]).blockedOn;)_r(n),null===n.blockedOn&&Cr.shift()}function Mr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Dr={animationend:Mr("Animation","AnimationEnd"),animationiteration:Mr("Animation","AnimationIteration"),animationstart:Mr("Animation","AnimationStart"),transitionend:Mr("Transition","TransitionEnd")},Ar={},zr={};function jr(e){if(Ar[e])return Ar[e];if(!Dr[e])return e;var t,n=Dr[e];for(t in n)if(n.hasOwnProperty(t)&&t in zr)return Ar[e]=n[t];return e}wt&&(zr=document.createElement("div").style,"AnimationEvent"in window||(delete Dr.animationend.animation,delete Dr.animationiteration.animation,delete Dr.animationstart.animation),"TransitionEvent"in window||delete Dr.transitionend.transition);var Fr=jr("animationend"),Br=jr("animationiteration"),Ur=jr("animationstart"),Hr=jr("transitionend"),Wr=new Map,Vr=new Map,$r=["abort","abort",Fr,"animationEnd",Br,"animationIteration",Ur,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Hr,"transitionEnd","waiting","waiting"];function Gr(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Vr.set(r,t),Wr.set(r,o),xt(o,[r])}}(0,vt.unstable_now)();var Kr=8;function Zr(e){if(0!=(1&e))return Kr=15,1;if(0!=(2&e))return Kr=14,2;if(0!=(4&e))return Kr=13,4;var t=24&e;return 0!==t?(Kr=12,t):0!=(32&e)?(Kr=11,32):0!==(t=192&e)?(Kr=10,t):0!=(256&e)?(Kr=9,256):0!==(t=3584&e)?(Kr=8,t):0!=(4096&e)?(Kr=7,4096):0!==(t=4186112&e)?(Kr=6,t):0!==(t=62914560&e)?(Kr=5,t):67108864&e?(Kr=4,67108864):0!=(134217728&e)?(Kr=3,134217728):0!==(t=805306368&e)?(Kr=2,t):0!=(1073741824&e)?(Kr=1,1073741824):(Kr=8,e)}function Xr(e,t){var n=e.pendingLanes;if(0===n)return Kr=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,o=Kr=15;else if(0!==(i=134217727&n)){var s=i&~a;0!==s?(r=Zr(s),o=Kr):0!==(l&=i)&&(r=Zr(l),o=Kr)}else 0!==(i=n&~a)?(r=Zr(i),o=Kr):0!==l&&(r=Zr(l),o=Kr);if(0===r)return 0;if(r=n&((0>(r=31-no(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Zr(t),o<=Kr)return t;Kr=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-no(t)),r|=e[n],t&=~o;return r}function Qr(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Jr(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Yr(24&~t))?Jr(10,t):e;case 10:return 0===(e=Yr(192&~t))?Jr(8,t):e;case 8:return 0===(e=Yr(3584&~t))&&(0===(e=Yr(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Yr(805306368&~t))&&(t=268435456),t}throw Error(gt(358,e))}function Yr(e){return e&-e}function eo(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function to(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-no(t)]=n}var no=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(ro(e)/oo|0)|0},ro=Math.log,oo=Math.LN2;var io=vt.unstable_UserBlockingPriority,ao=vt.unstable_runWithPriority,lo=!0;function so(e,t,n,r){Zn||Gn();var o=co,i=Zn;Zn=!0;try{$n(o,e,t,n,r)}finally{(Zn=i)||Qn()}}function uo(e,t,n,r){ao(io,co.bind(null,e,t,n,r))}function co(e,t,n,r){var o;if(lo)if((o=0==(4&t))&&0<yr.length&&-1<kr.indexOf(e))e=Lr(null,e,t,n,r),yr.push(e);else{var i=fo(e,t,n,r);if(null===i)o&&Rr(e,r);else{if(o){if(-1<kr.indexOf(e))return e=Lr(i,e,t,n,r),void yr.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return br=Or(br,e,t,n,r,o),!0;case"dragenter":return xr=Or(xr,e,t,n,r,o),!0;case"mouseover":return Er=Or(Er,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return wr.set(i,Or(wr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Sr.set(i,Or(Sr.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;Rr(e,r)}Hi(e,t,r,null,n)}}}function fo(e,t,n,r){var o=zn(r);if(null!==(o=ca(o))){var i=sr(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=ur(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Hi(e,t,r,o,n),null}var po=null,ho=null,mo=null;function vo(){if(mo)return mo;var e,t,n=ho,r=n.length,o="value"in po?po.value:po.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return mo=o.slice(e,1<t?1-t:void 0)}function go(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function yo(){return!0}function bo(){return!1}function xo(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?yo:bo,this.isPropagationStopped=bo,this}return mt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=yo)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=yo)},persist:function(){},isPersistent:yo}),t}var Eo,wo,So,Co={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ko=xo(Co),Lo=mt({},Co,{view:0,detail:0}),Ro=xo(Lo),Oo=mt({},Lo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:jo,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==So&&(So&&"mousemove"===e.type?(Eo=e.screenX-So.screenX,wo=e.screenY-So.screenY):wo=Eo=0,So=e),Eo)},movementY:function(e){return"movementY"in e?e.movementY:wo}}),_o=xo(Oo),Io=xo(mt({},Oo,{dataTransfer:0})),Po=xo(mt({},Lo,{relatedTarget:0})),To=xo(mt({},Co,{animationName:0,elapsedTime:0,pseudoElement:0})),No=xo(mt({},Co,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),qo=xo(mt({},Co,{data:0})),Mo={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Do={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ao={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function zo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ao[e])&&!!t[e]}function jo(){return zo}var Fo=xo(mt({},Lo,{key:function(e){if(e.key){var t=Mo[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=go(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Do[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:jo,charCode:function(e){return"keypress"===e.type?go(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?go(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Bo=xo(mt({},Oo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Uo=xo(mt({},Lo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:jo})),Ho=xo(mt({},Co,{propertyName:0,elapsedTime:0,pseudoElement:0})),Wo=xo(mt({},Oo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Vo=[9,13,27,32],$o=wt&&"CompositionEvent"in window,Go=null;wt&&"documentMode"in document&&(Go=document.documentMode);var Ko=wt&&"TextEvent"in window&&!Go,Zo=wt&&(!$o||Go&&8<Go&&11>=Go),Xo=String.fromCharCode(32),Qo=!1;function Jo(e,t){switch(e){case"keyup":return-1!==Vo.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Yo(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ei=!1;var ti={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function ni(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ti[e.type]:"textarea"===t}function ri(e,t,n,r){Hn(r),0<(t=Vi(t,"onChange")).length&&(n=new ko("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var oi=null,ii=null;function ai(e){Ai(e,0)}function li(e){if(un(da(e)))return e}function si(e,t){if("change"===e)return t}var ui=!1;if(wt){var ci;if(wt){var fi="oninput"in document;if(!fi){var di=document.createElement("div");di.setAttribute("oninput","return;"),fi="function"==typeof di.oninput}ci=fi}else ci=!1;ui=ci&&(!document.documentMode||9<document.documentMode)}function pi(){oi&&(oi.detachEvent("onpropertychange",hi),ii=oi=null)}function hi(e){if("value"===e.propertyName&&li(ii)){var t=[];if(ri(t,ii,e,zn(e)),e=ai,Zn)e(t);else{Zn=!0;try{Vn(e,t)}finally{Zn=!1,Qn()}}}}function mi(e,t,n){"focusin"===e?(pi(),ii=n,(oi=t).attachEvent("onpropertychange",hi)):"focusout"===e&&pi()}function vi(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return li(ii)}function gi(e,t){if("click"===e)return li(t)}function yi(e,t){if("input"===e||"change"===e)return li(t)}var bi="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},xi=Object.prototype.hasOwnProperty;function Ei(e,t){if(bi(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!xi.call(t,n[r])||!bi(e[n[r]],t[n[r]]))return!1;return!0}function wi(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Si(e,t){var n,r=wi(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=wi(r)}}function Ci(){for(var e=window,t=cn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=cn((e=t.contentWindow).document)}return t}function ki(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Li=wt&&"documentMode"in document&&11>=document.documentMode,Ri=null,Oi=null,_i=null,Ii=!1;function Pi(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ii||null==Ri||Ri!==cn(r)||("selectionStart"in(r=Ri)&&ki(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},_i&&Ei(_i,r)||(_i=r,0<(r=Vi(Oi,"onSelect")).length&&(t=new ko("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Ri)))}Gr("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Gr("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Gr($r,2);for(var Ti="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ni=0;Ni<Ti.length;Ni++)Vr.set(Ti[Ni],0);Et("onMouseEnter",["mouseout","mouseover"]),Et("onMouseLeave",["mouseout","mouseover"]),Et("onPointerEnter",["pointerout","pointerover"]),Et("onPointerLeave",["pointerout","pointerover"]),xt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),xt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),xt("onBeforeInput",["compositionend","keypress","textInput","paste"]),xt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),xt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),xt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var qi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mi=new Set("cancel close invalid load scroll toggle".split(" ").concat(qi));function Di(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(lr.apply(this,arguments),nr){if(!nr)throw Error(gt(198));var u=rr;nr=!1,rr=null,or||(or=!0,ir=u)}}(r,t,void 0,e),e.currentTarget=null}function Ai(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;Di(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;Di(o,l,u),i=s}}}if(or)throw e=ir,or=!1,ir=null,e}function zi(e,t){var n=ha(t),r=e+"__bubble";n.has(r)||(Ui(t,e,2,!1),n.add(r))}var ji="_reactListening"+Math.random().toString(36).slice(2);function Fi(e){e[ji]||(e[ji]=!0,yt.forEach((function(t){Mi.has(t)||Bi(t,!1,e,null),Bi(t,!0,e,null)})))}function Bi(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Mi.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=ha(i),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(o|=4),Ui(i,e,o,t),a.add(l))}function Ui(e,t,n,r){var o=Vr.get(t);switch(void 0===o?2:o){case 0:o=so;break;case 1:o=uo;break;default:o=co}n=o.bind(null,t,n,e),o=void 0,!Yn||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Hi(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=ca(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Xn)return e(t,n);Xn=!0;try{Kn(e,t,n)}finally{Xn=!1,Qn()}}((function(){var r=i,o=zn(n),a=[];e:{var l=Wr.get(e);if(void 0!==l){var s=ko,u=e;switch(e){case"keypress":if(0===go(n))break e;case"keydown":case"keyup":s=Fo;break;case"focusin":u="focus",s=Po;break;case"focusout":u="blur",s=Po;break;case"beforeblur":case"afterblur":s=Po;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=_o;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=Io;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Uo;break;case Fr:case Br:case Ur:s=To;break;case Hr:s=Ho;break;case"scroll":s=Ro;break;case"wheel":s=Wo;break;case"copy":case"cut":case"paste":s=No;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Bo}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=Jn(h,d))&&c.push(Wi(h,m,p)))),f)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!ca(u)&&!u[sa])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ca(u):null)&&(u!==(f=sr(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=_o,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Bo,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==s?l:da(s),p=null==u?l:da(u),(l=new c(m,h+"leave",s,n,o)).target=f,l.relatedTarget=p,m=null,ca(o)===r&&((c=new c(d,h+"enter",u,n,o)).target=p,c.relatedTarget=f,m=c),f=m,s&&u)e:{for(d=u,h=0,p=c=s;p;p=$i(p))h++;for(p=0,m=d;m;m=$i(m))p++;for(;0<h-p;)c=$i(c),h--;for(;0<p-h;)d=$i(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=$i(c),d=$i(d)}c=null}else c=null;null!==s&&Gi(a,l,s,c,!1),null!==u&&null!==f&&Gi(a,f,u,c,!0)}if("select"===(s=(l=r?da(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=si;else if(ni(l))if(ui)v=yi;else{v=vi;var g=mi}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=gi);switch(v&&(v=v(e,r))?ri(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&vn(l,"number",l.value)),g=r?da(r):window,e){case"focusin":(ni(g)||"true"===g.contentEditable)&&(Ri=g,Oi=r,_i=null);break;case"focusout":_i=Oi=Ri=null;break;case"mousedown":Ii=!0;break;case"contextmenu":case"mouseup":case"dragend":Ii=!1,Pi(a,n,o);break;case"selectionchange":if(Li)break;case"keydown":case"keyup":Pi(a,n,o)}var y;if($o)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else ei?Jo(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Zo&&"ko"!==n.locale&&(ei||"onCompositionStart"!==b?"onCompositionEnd"===b&&ei&&(y=vo()):(ho="value"in(po=o)?po.value:po.textContent,ei=!0)),0<(g=Vi(r,b)).length&&(b=new qo(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=Yo(n))&&(b.data=y))),(y=Ko?function(e,t){switch(e){case"compositionend":return Yo(t);case"keypress":return 32!==t.which?null:(Qo=!0,Xo);case"textInput":return(e=t.data)===Xo&&Qo?null:e;default:return null}}(e,n):function(e,t){if(ei)return"compositionend"===e||!$o&&Jo(e,t)?(e=vo(),mo=ho=po=null,ei=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Zo&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&(0<(r=Vi(r,"onBeforeInput")).length&&(o=new qo("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}Ai(a,t)}))}function Wi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vi(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Jn(e,n))&&r.unshift(Wi(e,i,o)),null!=(i=Jn(e,t))&&r.push(Wi(e,i,o))),e=e.return}return r}function $i(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gi(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Jn(n,i))&&a.unshift(Wi(n,s,l)):o||null!=(s=Jn(n,i))&&a.push(Wi(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Ki(){}var Zi=null,Xi=null;function Qi(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ji(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Yi="function"==typeof setTimeout?setTimeout:void 0,ea="function"==typeof clearTimeout?clearTimeout:void 0;function ta(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function na(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function ra(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var oa=0;var ia=Math.random().toString(36).slice(2),aa="__reactFiber$"+ia,la="__reactProps$"+ia,sa="__reactContainer$"+ia,ua="__reactEvents$"+ia;function ca(e){var t=e[aa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[sa]||n[aa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ra(e);null!==e;){if(n=e[aa])return n;e=ra(e)}return t}n=(e=n).parentNode}return null}function fa(e){return!(e=e[aa]||e[sa])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function da(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(gt(33))}function pa(e){return e[la]||null}function ha(e){var t=e[ua];return void 0===t&&(t=e[ua]=new Set),t}var ma=[],va=-1;function ga(e){return{current:e}}function ya(e){0>va||(e.current=ma[va],ma[va]=null,va--)}function ba(e,t){va++,ma[va]=e.current,e.current=t}var xa={},Ea=ga(xa),wa=ga(!1),Sa=xa;function Ca(e,t){var n=e.type.contextTypes;if(!n)return xa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ka(e){return null!=(e=e.childContextTypes)}function La(){ya(wa),ya(Ea)}function Ra(e,t,n){if(Ea.current!==xa)throw Error(gt(168));ba(Ea,t),ba(wa,n)}function Oa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(gt(108,on(t)||"Unknown",o));return mt({},n,r)}function _a(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xa,Sa=Ea.current,ba(Ea,e),ba(wa,wa.current),!0}function Ia(e,t,n){var r=e.stateNode;if(!r)throw Error(gt(169));n?(e=Oa(e,t,Sa),r.__reactInternalMemoizedMergedChildContext=e,ya(wa),ya(Ea),ba(Ea,e)):ya(wa),ba(wa,n)}var Pa=null,Ta=null,Na=vt.unstable_runWithPriority,qa=vt.unstable_scheduleCallback,Ma=vt.unstable_cancelCallback,Da=vt.unstable_shouldYield,Aa=vt.unstable_requestPaint,za=vt.unstable_now,ja=vt.unstable_getCurrentPriorityLevel,Fa=vt.unstable_ImmediatePriority,Ba=vt.unstable_UserBlockingPriority,Ua=vt.unstable_NormalPriority,Ha=vt.unstable_LowPriority,Wa=vt.unstable_IdlePriority,Va={},$a=void 0!==Aa?Aa:function(){},Ga=null,Ka=null,Za=!1,Xa=za(),Qa=1e4>Xa?za:function(){return za()-Xa};function Ja(){switch(ja()){case Fa:return 99;case Ba:return 98;case Ua:return 97;case Ha:return 96;case Wa:return 95;default:throw Error(gt(332))}}function Ya(e){switch(e){case 99:return Fa;case 98:return Ba;case 97:return Ua;case 96:return Ha;case 95:return Wa;default:throw Error(gt(332))}}function el(e,t){return e=Ya(e),Na(e,t)}function tl(e,t,n){return e=Ya(e),qa(e,t,n)}function nl(){if(null!==Ka){var e=Ka;Ka=null,Ma(e)}rl()}function rl(){if(!Za&&null!==Ga){Za=!0;var e=0;try{var t=Ga;el(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ga=null}catch(t){throw null!==Ga&&(Ga=Ga.slice(e+1)),qa(Fa,nl),t}finally{Za=!1}}}var ol=Tt.ReactCurrentBatchConfig;function il(e,t){if(e&&e.defaultProps){for(var n in t=mt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var al=ga(null),ll=null,sl=null,ul=null;function cl(){ul=sl=ll=null}function fl(e){var t=al.current;ya(al),e.type._context._currentValue=t}function dl(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function pl(e,t){ll=e,ul=sl=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ws=!0),e.firstContext=null)}function hl(e,t){if(ul!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ul=e,t=1073741823),t={context:e,observedBits:t,next:null},null===sl){if(null===ll)throw Error(gt(308));sl=t,ll.dependencies={lanes:0,firstContext:t,responders:null}}else sl=sl.next=t;return e._currentValue}var ml=!1;function vl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function gl(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function yl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function bl(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function xl(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function El(e,t,n,r){var o=e.updateQueue;ml=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;if(null!==c){var f=(c=c.updateQueue).lastBaseUpdate;f!==a&&(null===f?c.firstBaseUpdate=u:f.next=u,c.lastBaseUpdate=s)}}if(null!==i){for(f=o.baseState,a=0,c=u=s=null;;){l=i.lane;var d=i.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:d,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var p=e,h=i;switch(l=t,d=n,h.tag){case 1:if("function"==typeof(p=h.payload)){f=p.call(d,f,l);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(l="function"==typeof(p=h.payload)?p.call(d,f,l):p))break e;f=mt({},f,l);break e;case 2:ml=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else d={eventTime:d,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(u=c=d,s=f):c=c.next=d,a|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(s=f),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,$u|=a,e.lanes=a,e.memoizedState=f}}function wl(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(gt(191,o));o.call(r)}}}var Sl=(new ht.Component).refs;function Cl(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:mt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var kl={isMounted:function(e){return!!(e=e._reactInternals)&&sr(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gc(),o=yc(e),i=yl(r,o);i.payload=t,null!=n&&(i.callback=n),bl(e,i),bc(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gc(),o=yc(e),i=yl(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),bl(e,i),bc(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gc(),r=yc(e),o=yl(n,r);o.tag=2,null!=t&&(o.callback=t),bl(e,o),bc(e,r,n)}};function Ll(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Ei(n,r)||!Ei(o,i))}function Rl(e,t,n){var r=!1,o=xa,i=t.contextType;return"object"==typeof i&&null!==i?i=hl(i):(o=ka(t)?Sa:Ea.current,i=(r=null!=(r=t.contextTypes))?Ca(e,o):xa),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=kl,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Ol(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&kl.enqueueReplaceState(t,t.state,null)}function _l(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Sl,vl(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=hl(i):(i=ka(t)?Sa:Ea.current,o.context=Ca(e,i)),El(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Cl(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&kl.enqueueReplaceState(o,o.state,null),El(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Il=Array.isArray;function Pl(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(gt(309));var r=n.stateNode}if(!r)throw Error(gt(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===Sl&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(gt(284));if(!n._owner)throw Error(gt(290,e))}return e}function Tl(e,t){if("textarea"!==e.type)throw Error(gt(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Nl(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Qc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=tf(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Pl(e,t,n),r.return=e,r):((r=Jc(n.type,n.key,n.props,null,e.mode,r)).ref=Pl(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=nf(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=Yc(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=tf(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Nt:return(n=Jc(t.type,t.key,t.props,null,e.mode,n)).ref=Pl(e,null,t),n.return=e,n;case qt:return(t=nf(t,e.mode,n)).return=e,t}if(Il(t)||Yt(t))return(t=Yc(t,e.mode,n,null)).return=e,t;Tl(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Nt:return n.key===o?n.type===Mt?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case qt:return n.key===o?u(e,t,n,r):null}if(Il(n)||Yt(n))return null!==o?null:c(e,t,n,r,null);Tl(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Nt:return e=e.get(null===r.key?n:r.key)||null,r.type===Mt?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case qt:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Il(r)||Yt(r))return c(t,e=e.get(n)||null,r,o,null);Tl(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,v=null;null!==h&&m<l.length;m++){h.index>m?(v=h,h=null):v=h.sibling;var g=d(o,h,l[m],s);if(null===g){null===h&&(h=v);break}e&&h&&null===g.alternate&&t(o,h),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,h=v}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=f(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(v=p(h,o,m,l[m],s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,a,l,s){var u=Yt(l);if("function"!=typeof u)throw Error(gt(150));if(null==(l=u.call(l)))throw Error(gt(151));for(var c=u=null,h=a,m=a=0,v=null,g=l.next();null!==h&&!g.done;m++,g=l.next()){h.index>m?(v=h,h=null):v=h.sibling;var y=d(o,h,g.value,s);if(null===y){null===h&&(h=v);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,h=v}if(g.done)return n(o,h),u;if(null===h){for(;!g.done;m++,g=l.next())null!==(g=f(o,g.value,s))&&(a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return u}for(h=r(o,h);!g.done;m++,g=l.next())null!==(g=p(h,o,m,g.value,s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var s="object"==typeof i&&null!==i&&i.type===Mt&&null===i.key;s&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case Nt:e:{for(u=i.key,s=r;null!==s;){if(s.key===u){switch(s.tag){case 7:if(i.type===Mt){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}break;default:if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Pl(e,s,i),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}i.type===Mt?((r=Yc(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Jc(i.type,i.key,i.props,null,e.mode,l)).ref=Pl(e,r,i),l.return=e,e=l)}return a(e);case qt:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=nf(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=tf(i,e.mode,l)).return=e,e=r),a(e);if(Il(i))return h(e,r,i,l);if(Yt(i))return m(e,r,i,l);if(u&&Tl(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(gt(152,on(e.type)||"Component"))}return n(e,r)}}var ql=Nl(!0),Ml=Nl(!1),Dl={},Al=ga(Dl),zl=ga(Dl),jl=ga(Dl);function Fl(e){if(e===Dl)throw Error(gt(174));return e}function Bl(e,t){switch(ba(jl,t),ba(zl,e),ba(Al,Dl),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Ln(null,"");break;default:t=Ln(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ya(Al),ba(Al,t)}function Ul(){ya(Al),ya(zl),ya(jl)}function Hl(e){Fl(jl.current);var t=Fl(Al.current),n=Ln(t,e.type);t!==n&&(ba(zl,e),ba(Al,n))}function Wl(e){zl.current===e&&(ya(Al),ya(zl))}var Vl=ga(0);function $l(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Gl=null,Kl=null,Zl=!1;function Xl(e,t){var n=Zc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ql(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function Jl(e){if(Zl){var t=Kl;if(t){var n=t;if(!Ql(e,t)){if(!(t=na(n.nextSibling))||!Ql(e,t))return e.flags=-1025&e.flags|2,Zl=!1,void(Gl=e);Xl(Gl,n)}Gl=e,Kl=na(t.firstChild)}else e.flags=-1025&e.flags|2,Zl=!1,Gl=e}}function Yl(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Gl=e}function es(e){if(e!==Gl)return!1;if(!Zl)return Yl(e),Zl=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ji(t,e.memoizedProps))for(t=Kl;t;)Xl(e,t),t=na(t.nextSibling);if(Yl(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(gt(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Kl=na(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Kl=null}}else Kl=Gl?na(e.stateNode.nextSibling):null;return!0}function ts(){Kl=Gl=null,Zl=!1}var ns=[];function rs(){for(var e=0;e<ns.length;e++)ns[e]._workInProgressVersionPrimary=null;ns.length=0}var os=Tt.ReactCurrentDispatcher,is=Tt.ReactCurrentBatchConfig,as=0,ls=null,ss=null,us=null,cs=!1,fs=!1;function ds(){throw Error(gt(321))}function ps(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!bi(e[n],t[n]))return!1;return!0}function hs(e,t,n,r,o,i){if(as=i,ls=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,os.current=null===e||null===e.memoizedState?Fs:Bs,e=n(r,o),fs){i=0;do{if(fs=!1,!(25>i))throw Error(gt(301));i+=1,us=ss=null,t.updateQueue=null,os.current=Us,e=n(r,o)}while(fs)}if(os.current=js,t=null!==ss&&null!==ss.next,as=0,us=ss=ls=null,cs=!1,t)throw Error(gt(300));return e}function ms(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===us?ls.memoizedState=us=e:us=us.next=e,us}function vs(){if(null===ss){var e=ls.alternate;e=null!==e?e.memoizedState:null}else e=ss.next;var t=null===us?ls.memoizedState:us.next;if(null!==t)us=t,ss=e;else{if(null===e)throw Error(gt(310));e={memoizedState:(ss=e).memoizedState,baseState:ss.baseState,baseQueue:ss.baseQueue,queue:ss.queue,next:null},null===us?ls.memoizedState=us=e:us=us.next=e}return us}function gs(e,t){return"function"==typeof t?t(e):t}function ys(e){var t=vs(),n=t.queue;if(null===n)throw Error(gt(311));n.lastRenderedReducer=e;var r=ss,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=a=i=null,s=o;do{var u=s.lane;if((as&u)===u)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(a=l=c,i=r):l=l.next=c,ls.lanes|=u,$u|=u}s=s.next}while(null!==s&&s!==o);null===l?i=r:l.next=a,bi(r,t.memoizedState)||(Ws=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function bs(e){var t=vs(),n=t.queue;if(null===n)throw Error(gt(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);bi(i,t.memoizedState)||(Ws=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function xs(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(as&e)===e)&&(t._workInProgressVersionPrimary=r,ns.push(t))),e)return n(t._source);throw ns.push(t),Error(gt(350))}function Es(e,t,n,r){var o=zu;if(null===o)throw Error(gt(349));var i=t._getVersion,a=i(t._source),l=os.current,s=l.useState((function(){return xs(o,t,n)})),u=s[1],c=s[0];s=us;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,h=f.source;f=f.subscribe;var m=ls;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect((function(){d.getSnapshot=n,d.setSnapshot=u;var e=i(t._source);if(!bi(a,e)){e=n(t._source),bi(c,e)||(u(e),e=yc(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-no(l),f=1<<s;r[s]|=e,l&=~f}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=d.getSnapshot,n=d.setSnapshot;try{n(e(t._source));var r=yc(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),bi(p,n)&&bi(h,t)&&bi(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:gs,lastRenderedState:c}).dispatch=u=zs.bind(null,ls,e),s.queue=e,s.baseQueue=null,c=xs(o,t,n),s.memoizedState=s.baseState=c),c}function ws(e,t,n){return Es(vs(),e,t,n)}function Ss(e){var t=ms();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:gs,lastRenderedState:e}).dispatch=zs.bind(null,ls,e),[t.memoizedState,e]}function Cs(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ls.updateQueue)?(t={lastEffect:null},ls.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ks(e){return e={current:e},ms().memoizedState=e}function Ls(){return vs().memoizedState}function Rs(e,t,n,r){var o=ms();ls.flags|=e,o.memoizedState=Cs(1|t,n,void 0,void 0===r?null:r)}function Os(e,t,n,r){var o=vs();r=void 0===r?null:r;var i=void 0;if(null!==ss){var a=ss.memoizedState;if(i=a.destroy,null!==r&&ps(r,a.deps))return void Cs(t,n,i,r)}ls.flags|=e,o.memoizedState=Cs(1|t,n,i,r)}function _s(e,t){return Rs(516,4,e,t)}function Is(e,t){return Os(516,4,e,t)}function Ps(e,t){return Os(4,2,e,t)}function Ts(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ns(e,t,n){return n=null!=n?n.concat([e]):null,Os(4,2,Ts.bind(null,t,e),n)}function qs(){}function Ms(e,t){var n=vs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ps(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Ds(e,t){var n=vs();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ps(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function As(e,t){var n=Ja();el(98>n?98:n,(function(){e(!0)})),el(97<n?97:n,(function(){var n=is.transition;is.transition=1;try{e(!1),t()}finally{is.transition=n}}))}function zs(e,t,n){var r=gc(),o=yc(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===ls||null!==a&&a===ls)fs=cs=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=a(l,n);if(i.eagerReducer=a,i.eagerState=s,bi(s,l))return}catch(e){}bc(e,o,r)}}var js={readContext:hl,useCallback:ds,useContext:ds,useEffect:ds,useImperativeHandle:ds,useLayoutEffect:ds,useMemo:ds,useReducer:ds,useRef:ds,useState:ds,useDebugValue:ds,useDeferredValue:ds,useTransition:ds,useMutableSource:ds,useOpaqueIdentifier:ds,unstable_isNewReconciler:!1},Fs={readContext:hl,useCallback:function(e,t){return ms().memoizedState=[e,void 0===t?null:t],e},useContext:hl,useEffect:_s,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Rs(4,2,Ts.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Rs(4,2,e,t)},useMemo:function(e,t){var n=ms();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ms();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=zs.bind(null,ls,e),[r.memoizedState,e]},useRef:ks,useState:Ss,useDebugValue:qs,useDeferredValue:function(e){var t=Ss(e),n=t[0],r=t[1];return _s((function(){var t=is.transition;is.transition=1;try{r(e)}finally{is.transition=t}}),[e]),n},useTransition:function(){var e=Ss(!1),t=e[0];return ks(e=As.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ms();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Es(r,e,t,n)},useOpaqueIdentifier:function(){if(Zl){var e=!1,t=function(e){return{$$typeof:$t,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(oa++).toString(36))),Error(gt(355))})),n=Ss(t)[1];return 0==(2&ls.mode)&&(ls.flags|=516,Cs(5,(function(){n("r:"+(oa++).toString(36))}),void 0,null)),t}return Ss(t="r:"+(oa++).toString(36)),t},unstable_isNewReconciler:!1},Bs={readContext:hl,useCallback:Ms,useContext:hl,useEffect:Is,useImperativeHandle:Ns,useLayoutEffect:Ps,useMemo:Ds,useReducer:ys,useRef:Ls,useState:function(){return ys(gs)},useDebugValue:qs,useDeferredValue:function(e){var t=ys(gs),n=t[0],r=t[1];return Is((function(){var t=is.transition;is.transition=1;try{r(e)}finally{is.transition=t}}),[e]),n},useTransition:function(){var e=ys(gs)[0];return[Ls().current,e]},useMutableSource:ws,useOpaqueIdentifier:function(){return ys(gs)[0]},unstable_isNewReconciler:!1},Us={readContext:hl,useCallback:Ms,useContext:hl,useEffect:Is,useImperativeHandle:Ns,useLayoutEffect:Ps,useMemo:Ds,useReducer:bs,useRef:Ls,useState:function(){return bs(gs)},useDebugValue:qs,useDeferredValue:function(e){var t=bs(gs),n=t[0],r=t[1];return Is((function(){var t=is.transition;is.transition=1;try{r(e)}finally{is.transition=t}}),[e]),n},useTransition:function(){var e=bs(gs)[0];return[Ls().current,e]},useMutableSource:ws,useOpaqueIdentifier:function(){return bs(gs)[0]},unstable_isNewReconciler:!1},Hs=Tt.ReactCurrentOwner,Ws=!1;function Vs(e,t,n,r){t.child=null===e?Ml(t,null,n,r):ql(t,e.child,n,r)}function $s(e,t,n,r,o){n=n.render;var i=t.ref;return pl(t,o),r=hs(e,t,n,r,i,o),null===e||Ws?(t.flags|=1,Vs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,du(e,t,o))}function Gs(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Xc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Jc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ks(e,t,a,r,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Ei)(o,r)&&e.ref===t.ref)?du(e,t,i):(t.flags|=1,(e=Qc(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ks(e,t,n,r,o,i){if(null!==e&&Ei(e.memoizedProps,r)&&e.ref===t.ref){if(Ws=!1,0==(i&o))return t.lanes=e.lanes,du(e,t,i);0!=(16384&e.flags)&&(Ws=!0)}return Qs(e,t,n,r,i)}function Zs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},Rc(t,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Rc(t,e),null;t.memoizedState={baseLanes:0},Rc(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Rc(t,r);return Vs(e,t,o,n),t.child}function Xs(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Qs(e,t,n,r,o){var i=ka(n)?Sa:Ea.current;return i=Ca(t,i),pl(t,o),n=hs(e,t,n,r,i,o),null===e||Ws?(t.flags|=1,Vs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,du(e,t,o))}function Js(e,t,n,r,o){if(ka(n)){var i=!0;_a(t)}else i=!1;if(pl(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),Rl(t,n,r),_l(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=hl(u):u=Ca(t,u=ka(n)?Sa:Ea.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Ol(t,a,r,u),ml=!1;var d=t.memoizedState;a.state=d,El(t,r,a,o),s=t.memoizedState,l!==r||d!==s||wa.current||ml?("function"==typeof c&&(Cl(t,n,c,r),s=t.memoizedState),(l=ml||Ll(t,n,l,r,d,s,u))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,gl(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:il(t.type,l),a.props=u,f=t.pendingProps,d=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=hl(s):s=Ca(t,s=ka(n)?Sa:Ea.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==f||d!==s)&&Ol(t,a,r,s),ml=!1,d=t.memoizedState,a.state=d,El(t,r,a,o);var h=t.memoizedState;l!==f||d!==h||wa.current||ml?("function"==typeof p&&(Cl(t,n,p,r),h=t.memoizedState),(u=ml||Ll(t,n,u,r,d,h,s))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return Ys(e,t,n,r,i,o)}function Ys(e,t,n,r,o,i){Xs(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&Ia(t,n,!1),du(e,t,i);r=t.stateNode,Hs.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=ql(t,e.child,null,i),t.child=ql(t,null,l,i)):Vs(e,t,l,i),t.memoizedState=r.state,o&&Ia(t,n,!0),t.child}function eu(e){var t=e.stateNode;t.pendingContext?Ra(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ra(0,t.context,!1),Bl(e,t.containerInfo)}var tu,nu,ru,ou={dehydrated:null,retryLane:0};function iu(e,t,n){var r,o=t.pendingProps,i=Vl.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),ba(Vl,1&i),null===e?(void 0!==o.fallback&&Jl(t),e=o.children,i=o.fallback,a?(e=au(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ou,e):"number"==typeof o.unstable_expectedLoadTime?(e=au(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=ou,t.lanes=33554432,e):((n=ef({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=su(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=ou,o):(n=lu(e,t,o.children,n),t.memoizedState=null,n))}function au(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=ef(t,o,0,null),n=Yc(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function lu(e,t,n,r){var o=e.child;return e=o.sibling,n=Qc(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function su(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Qc(a,l),null!==e?r=Qc(e,r):(r=Yc(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function uu(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),dl(e.return,t)}function cu(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function fu(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Vs(e,t,r.children,n),0!=(2&(r=Vl.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&uu(e,n);else if(19===e.tag)uu(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ba(Vl,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===$l(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),cu(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===$l(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}cu(t,!0,n,null,i,t.lastEffect);break;case"together":cu(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function du(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),$u|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(gt(153));if(null!==t.child){for(n=Qc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Qc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function pu(e,t){if(!Zl)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function hu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return ka(t.type)&&La(),null;case 3:return Ul(),ya(wa),ya(Ea),rs(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(es(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Wl(t);var o=Fl(jl.current);if(n=t.type,null!==e&&null!=t.stateNode)nu(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(gt(166));return null}if(e=Fl(Al.current),es(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[aa]=t,r[la]=i,n){case"dialog":zi("cancel",r),zi("close",r);break;case"iframe":case"object":case"embed":zi("load",r);break;case"video":case"audio":for(e=0;e<qi.length;e++)zi(qi[e],r);break;case"source":zi("error",r);break;case"img":case"image":case"link":zi("error",r),zi("load",r);break;case"details":zi("toggle",r);break;case"input":dn(r,i),zi("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},zi("invalid",r);break;case"textarea":xn(r,i),zi("invalid",r)}for(var a in Dn(n,i),e=null,i)i.hasOwnProperty(a)&&(o=i[a],"children"===a?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):bt.hasOwnProperty(a)&&null!=o&&"onScroll"===a&&zi("scroll",r));switch(n){case"input":sn(r),mn(r,i,!0);break;case"textarea":sn(r),wn(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Ki)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(a=9===o.nodeType?o:o.ownerDocument,e===Sn&&(e=kn(n)),e===Sn?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[aa]=t,e[la]=r,tu(e,t),t.stateNode=e,a=An(n,r),n){case"dialog":zi("cancel",e),zi("close",e),o=r;break;case"iframe":case"object":case"embed":zi("load",e),o=r;break;case"video":case"audio":for(o=0;o<qi.length;o++)zi(qi[o],e);o=r;break;case"source":zi("error",e),o=r;break;case"img":case"image":case"link":zi("error",e),zi("load",e),o=r;break;case"details":zi("toggle",e),o=r;break;case"input":dn(e,r),o=fn(e,r),zi("invalid",e);break;case"option":o=gn(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=mt({},r,{value:void 0}),zi("invalid",e);break;case"textarea":xn(e,r),o=bn(e,r),zi("invalid",e);break;default:o=r}Dn(n,o);var l=o;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?qn(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&_n(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&In(e,s):"number"==typeof s&&In(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(bt.hasOwnProperty(i)?null!=s&&"onScroll"===i&&zi("scroll",e):null!=s&&Pt(e,i,s,a))}switch(n){case"input":sn(e),mn(e,r,!1);break;case"textarea":sn(e),wn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+an(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?yn(e,!!r.multiple,i,!1):null!=r.defaultValue&&yn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Ki)}Qi(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)ru(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(gt(166));n=Fl(jl.current),Fl(Al.current),es(t)?(r=t.stateNode,n=t.memoizedProps,r[aa]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[aa]=t,t.stateNode=r)}return null;case 13:return ya(Vl),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&es(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Vl.current)?0===Hu&&(Hu=3):(0!==Hu&&3!==Hu||(Hu=4),null===zu||0==(134217727&$u)&&0==(134217727&Gu)||Sc(zu,Fu))),(r||n)&&(t.flags|=4),null);case 4:return Ul(),null===e&&Fi(t.stateNode.containerInfo),null;case 10:return fl(t),null;case 17:return ka(t.type)&&La(),null;case 19:if(ya(Vl),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(a=r.rendering))if(i)pu(r,!1);else{if(0!==Hu||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=$l(e))){for(t.flags|=64,pu(r,!1),null!==(i=a.updateQueue)&&(t.updateQueue=i,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ba(Vl,1&Vl.current|2),t.child}e=e.sibling}null!==r.tail&&Qa()>Qu&&(t.flags|=64,i=!0,pu(r,!1),t.lanes=33554432)}else{if(!i)if(null!==(e=$l(a))){if(t.flags|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),pu(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!Zl)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Qa()-r.renderingStartTime>Qu&&1073741824!==n&&(t.flags|=64,i=!0,pu(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Qa(),n.sibling=null,t=Vl.current,ba(Vl,i?1&t|2:1&t),n):null;case 23:case 24:return Oc(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(gt(156,t.tag))}function mu(e){switch(e.tag){case 1:ka(e.type)&&La();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ul(),ya(wa),ya(Ea),rs(),0!=(64&(t=e.flags)))throw Error(gt(285));return e.flags=-4097&t|64,e;case 5:return Wl(e),null;case 13:return ya(Vl),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ya(Vl),null;case 4:return Ul(),null;case 10:return fl(e),null;case 23:case 24:return Oc(),null;default:return null}}function vu(e,t){try{var n="",r=t;do{n+=rn(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function gu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}tu=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},nu=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Fl(Al.current);var i,a=null;switch(n){case"input":o=fn(e,o),r=fn(e,r),a=[];break;case"option":o=gn(e,o),r=gn(e,r),a=[];break;case"select":o=mt({},o,{value:void 0}),r=mt({},r,{value:void 0}),a=[];break;case"textarea":o=bn(e,o),r=bn(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Ki)}for(u in Dn(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(bt.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(bt.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&zi("scroll",e),a||l===s||(a=[])):"object"==typeof s&&null!==s&&s.$$typeof===$t?s.toString():(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},ru=function(e,t,n,r){n!==r&&(t.flags|=4)};var yu="function"==typeof WeakMap?WeakMap:Map;function bu(e,t,n){(n=yl(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){tc||(tc=!0,nc=r),gu(0,t)},n}function xu(e,t,n){(n=yl(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return gu(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===rc?rc=new Set([this]):rc.add(this),gu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var Eu="function"==typeof WeakSet?WeakSet:Set;function wu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Vc(e,t)}else t.current=null}function Su(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:il(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&ta(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(gt(163))}function Cu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Uc(n,e),Bc(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:il(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&wl(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}wl(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Qi(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&qr(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(gt(163))}function ku(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Nn("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Lu(e,t){if(Ta&&"function"==typeof Ta.onCommitFiberUnmount)try{Ta.onCommitFiberUnmount(Pa,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Uc(t,n);else{r=t;try{o()}catch(e){Vc(r,e)}}n=n.next}while(n!==e)}break;case 1:if(wu(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Vc(t,e)}break;case 5:wu(t);break;case 4:Iu(e,t)}}function Ru(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Ou(e){return 5===e.tag||3===e.tag||4===e.tag}function _u(e){e:{for(var t=e.return;null!==t;){if(Ou(t))break e;t=t.return}throw Error(gt(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(gt(161))}16&n.flags&&(In(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Ou(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=Ki));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function Iu(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(gt(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var a=e,l=o,s=l;;)if(Lu(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(a=n,l=o.stateNode,8===a.nodeType?a.parentNode.removeChild(l):a.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(Lu(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Pu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[la]=r,"input"===e&&"radio"===r.type&&null!=r.name&&pn(n,r),An(e,o),t=An(e,r),o=0;o<i.length;o+=2){var a=i[o],l=i[o+1];"style"===a?qn(n,l):"dangerouslySetInnerHTML"===a?_n(n,l):"children"===a?In(n,l):Pt(n,a,l,t)}switch(e){case"input":hn(n,r);break;case"textarea":En(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?yn(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?yn(n,!!r.multiple,r.defaultValue,!0):yn(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(gt(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,qr(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Xu=Qa(),ku(t.child,!0)),void Tu(t);case 19:return void Tu(t);case 17:return;case 23:case 24:return void ku(t,null!==t.memoizedState)}throw Error(gt(163))}function Tu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Eu),t.forEach((function(t){var r=Gc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Nu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var qu=Math.ceil,Mu=Tt.ReactCurrentDispatcher,Du=Tt.ReactCurrentOwner,Au=0,zu=null,ju=null,Fu=0,Bu=0,Uu=ga(0),Hu=0,Wu=null,Vu=0,$u=0,Gu=0,Ku=0,Zu=null,Xu=0,Qu=1/0;function Ju(){Qu=Qa()+500}var Yu,ec=null,tc=!1,nc=null,rc=null,oc=!1,ic=null,ac=90,lc=[],sc=[],uc=null,cc=0,fc=null,dc=-1,pc=0,hc=0,mc=null,vc=!1;function gc(){return 0!=(48&Au)?Qa():-1!==dc?dc:dc=Qa()}function yc(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Ja()?1:2;if(0===pc&&(pc=Vu),0!==ol.transition){0!==hc&&(hc=null!==Zu?Zu.pendingLanes:0),e=pc;var t=4186112&~hc;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Ja(),0!=(4&Au)&&98===e?e=Jr(12,pc):e=Jr(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),pc),e}function bc(e,t,n){if(50<cc)throw cc=0,fc=null,Error(gt(185));if(null===(e=xc(e,t)))return null;to(e,t,n),e===zu&&(Gu|=t,4===Hu&&Sc(e,Fu));var r=Ja();1===t?0!=(8&Au)&&0==(48&Au)?Cc(e):(Ec(e,n),0===Au&&(Ju(),nl())):(0==(4&Au)||98!==r&&99!==r||(null===uc?uc=new Set([e]):uc.add(e)),Ec(e,n)),Zu=e}function xc(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function Ec(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-no(a),s=1<<l,u=i[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,Zr(s);var c=Kr;i[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(r=Xr(e,e===zu?Fu:0),t=Kr,0===r)null!==n&&(n!==Va&&Ma(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Va&&Ma(n)}15===t?(n=Cc.bind(null,e),null===Ga?(Ga=[n],Ka=qa(Fa,rl)):Ga.push(n),n=Va):14===t?n=tl(99,Cc.bind(null,e)):n=tl(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(gt(358,e))}}(t),wc.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function wc(e){if(dc=-1,hc=pc=0,0!=(48&Au))throw Error(gt(327));var t=e.callbackNode;if(Fc()&&e.callbackNode!==t)return null;var n=Xr(e,e===zu?Fu:0);if(0===n)return null;var r=n,o=Au;Au|=16;var i=Pc();for(zu===e&&Fu===r||(Ju(),_c(e,r));;)try{qc();break}catch(t){Ic(e,t)}if(cl(),Mu.current=i,Au=o,null!==ju?r=0:(zu=null,Fu=0,r=Hu),0!=(Vu&Gu))_c(e,0);else if(0!==r){if(2===r&&(Au|=64,e.hydrate&&(e.hydrate=!1,ta(e.containerInfo)),0!==(n=Qr(e))&&(r=Tc(e,n))),1===r)throw t=Wu,_c(e,0),Sc(e,n),Ec(e,Qa()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(gt(345));case 2:Ac(e);break;case 3:if(Sc(e,n),(62914560&n)===n&&10<(r=Xu+500-Qa())){if(0!==Xr(e,0))break;if(((o=e.suspendedLanes)&n)!==n){gc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Yi(Ac.bind(null,e),r);break}Ac(e);break;case 4:if(Sc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var a=31-no(n);i=1<<a,(a=r[a])>o&&(o=a),n&=~i}if(n=o,10<(n=(120>(n=Qa()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*qu(n/1960))-n)){e.timeoutHandle=Yi(Ac.bind(null,e),n);break}Ac(e);break;case 5:Ac(e);break;default:throw Error(gt(329))}}return Ec(e,Qa()),e.callbackNode===t?wc.bind(null,e):null}function Sc(e,t){for(t&=~Ku,t&=~Gu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-no(t),r=1<<n;e[n]=-1,t&=~r}}function Cc(e){if(0!=(48&Au))throw Error(gt(327));if(Fc(),e===zu&&0!=(e.expiredLanes&Fu)){var t=Fu,n=Tc(e,t);0!=(Vu&Gu)&&(n=Tc(e,t=Xr(e,t)))}else n=Tc(e,t=Xr(e,0));if(0!==e.tag&&2===n&&(Au|=64,e.hydrate&&(e.hydrate=!1,ta(e.containerInfo)),0!==(t=Qr(e))&&(n=Tc(e,t))),1===n)throw n=Wu,_c(e,0),Sc(e,t),Ec(e,Qa()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ac(e),Ec(e,Qa()),null}function kc(e,t){var n=Au;Au|=1;try{return e(t)}finally{0===(Au=n)&&(Ju(),nl())}}function Lc(e,t){var n=Au;Au&=-2,Au|=8;try{return e(t)}finally{0===(Au=n)&&(Ju(),nl())}}function Rc(e,t){ba(Uu,Bu),Bu|=t,Vu|=t}function Oc(){Bu=Uu.current,ya(Uu)}function _c(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ea(n)),null!==ju)for(n=ju.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&La();break;case 3:Ul(),ya(wa),ya(Ea),rs();break;case 5:Wl(r);break;case 4:Ul();break;case 13:case 19:ya(Vl);break;case 10:fl(r);break;case 23:case 24:Oc()}n=n.return}zu=e,ju=Qc(e.current,null),Fu=Bu=Vu=t,Hu=0,Wu=null,Ku=Gu=$u=0}function Ic(e,t){for(;;){var n=ju;try{if(cl(),os.current=js,cs){for(var r=ls.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}cs=!1}if(as=0,us=ss=ls=null,fs=!1,Du.current=null,null===n||null===n.return){Hu=1,Wu=t,ju=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=Fu,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!=(1&Vl.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=d.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!f)}}if(p){var v=d.updateQueue;if(null===v){var g=new Set;g.add(u),d.updateQueue=g}else v.add(u);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=yl(-1,1);y.tag=2,bl(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new yu,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=$c.bind(null,i,u,l);u.then(x,x)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);s=Error((on(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Hu&&(Hu=2),s=vu(s,l),d=a;do{switch(d.tag){case 3:i=s,d.flags|=4096,t&=-t,d.lanes|=t,xl(d,bu(0,i,t));break e;case 1:i=s;var E=d.type,w=d.stateNode;if(0==(64&d.flags)&&("function"==typeof E.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===rc||!rc.has(w)))){d.flags|=4096,t&=-t,d.lanes|=t,xl(d,xu(d,i,t));break e}}d=d.return}while(null!==d)}Dc(n)}catch(e){t=e,ju===n&&null!==n&&(ju=n=n.return);continue}break}}function Pc(){var e=Mu.current;return Mu.current=js,null===e?js:e}function Tc(e,t){var n=Au;Au|=16;var r=Pc();for(zu===e&&Fu===t||_c(e,t);;)try{Nc();break}catch(t){Ic(e,t)}if(cl(),Au=n,Mu.current=r,null!==ju)throw Error(gt(261));return zu=null,Fu=0,Hu}function Nc(){for(;null!==ju;)Mc(ju)}function qc(){for(;null!==ju&&!Da();)Mc(ju)}function Mc(e){var t=Yu(e.alternate,e,Bu);e.memoizedProps=e.pendingProps,null===t?Dc(e):ju=t,Du.current=null}function Dc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=hu(n,t,Bu)))return void(ju=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Bu)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=mu(t)))return n.flags&=2047,void(ju=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(ju=t);ju=t=e}while(null!==t);0===Hu&&(Hu=5)}function Ac(e){var t=Ja();return el(99,zc.bind(null,e,t)),null}function zc(e,t){do{Fc()}while(null!==ic);if(0!=(48&Au))throw Error(gt(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(gt(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<i;){var s=31-no(i),u=1<<s;o[s]=0,a[s]=-1,l[s]=-1,i&=~u}if(null!==uc&&0==(24&r)&&uc.has(e)&&uc.delete(e),e===zu&&(ju=zu=null,Fu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Au,Au|=32,Du.current=null,Zi=lo,ki(a=Ci())){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch(e){l=null;break e}var c=0,f=-1,d=-1,p=0,h=0,m=a,v=null;t:for(;;){for(var g;m!==l||0!==i&&3!==m.nodeType||(f=c+i),m!==s||0!==u&&3!==m.nodeType||(d=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)v=m,m=g;for(;;){if(m===a)break t;if(v===l&&++p===i&&(f=c),v===s&&++h===u&&(d=c),null!==(g=m.nextSibling))break;v=(m=v).parentNode}m=g}l=-1===f||-1===d?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;Xi={focusedElem:a,selectionRange:l},lo=!1,mc=null,vc=!1,ec=r;do{try{jc()}catch(e){if(null===ec)throw Error(gt(330));Vc(ec,e),ec=ec.nextEffect}}while(null!==ec);mc=null,ec=r;do{try{for(a=e;null!==ec;){var y=ec.flags;if(16&y&&In(ec.stateNode,""),128&y){var b=ec.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:_u(ec),ec.flags&=-3;break;case 6:_u(ec),ec.flags&=-3,Pu(ec.alternate,ec);break;case 1024:ec.flags&=-1025;break;case 1028:ec.flags&=-1025,Pu(ec.alternate,ec);break;case 4:Pu(ec.alternate,ec);break;case 8:Iu(a,l=ec);var E=l.alternate;Ru(l),null!==E&&Ru(E)}ec=ec.nextEffect}}catch(e){if(null===ec)throw Error(gt(330));Vc(ec,e),ec=ec.nextEffect}}while(null!==ec);if(x=Xi,b=Ci(),y=x.focusedElem,a=x.selectionRange,b!==y&&y&&y.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(y.ownerDocument.documentElement,y)){null!==a&&ki(y)&&(b=a.start,void 0===(x=a.end)&&(x=b),"selectionStart"in y?(y.selectionStart=b,y.selectionEnd=Math.min(x,y.value.length)):(x=(b=y.ownerDocument||document)&&b.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,E=Math.min(a.start,l),a=void 0===a.end?E:Math.min(a.end,l),!x.extend&&E>a&&(l=a,a=E,E=l),l=Si(y,E),i=Si(y,a),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),E>a?(x.addRange(b),x.extend(i.node,i.offset)):(b.setEnd(i.node,i.offset),x.addRange(b))))),b=[];for(x=y;x=x.parentNode;)1===x.nodeType&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<b.length;y++)(x=b[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}lo=!!Zi,Xi=Zi=null,e.current=n,ec=r;do{try{for(y=e;null!==ec;){var w=ec.flags;if(36&w&&Cu(y,ec.alternate,ec),128&w){b=void 0;var S=ec.ref;if(null!==S){var C=ec.stateNode;switch(ec.tag){case 5:b=C;break;default:b=C}"function"==typeof S?S(b):S.current=b}}ec=ec.nextEffect}}catch(e){if(null===ec)throw Error(gt(330));Vc(ec,e),ec=ec.nextEffect}}while(null!==ec);ec=null,$a(),Au=o}else e.current=n;if(oc)oc=!1,ic=e,ac=t;else for(ec=r;null!==ec;)t=ec.nextEffect,ec.nextEffect=null,8&ec.flags&&((w=ec).sibling=null,w.stateNode=null),ec=t;if(0===(r=e.pendingLanes)&&(rc=null),1===r?e===fc?cc++:(cc=0,fc=e):cc=0,n=n.stateNode,Ta&&"function"==typeof Ta.onCommitFiberRoot)try{Ta.onCommitFiberRoot(Pa,n,void 0,64==(64&n.current.flags))}catch(e){}if(Ec(e,Qa()),tc)throw tc=!1,e=nc,nc=null,e;return 0!=(8&Au)||nl(),null}function jc(){for(;null!==ec;){var e=ec.alternate;vc||null===mc||(0!=(8&ec.flags)?dr(ec,mc)&&(vc=!0):13===ec.tag&&Nu(e,ec)&&dr(ec,mc)&&(vc=!0));var t=ec.flags;0!=(256&t)&&Su(e,ec),0==(512&t)||oc||(oc=!0,tl(97,(function(){return Fc(),null}))),ec=ec.nextEffect}}function Fc(){if(90!==ac){var e=97<ac?97:ac;return ac=90,el(e,Hc)}return!1}function Bc(e,t){lc.push(t,e),oc||(oc=!0,tl(97,(function(){return Fc(),null})))}function Uc(e,t){sc.push(t,e),oc||(oc=!0,tl(97,(function(){return Fc(),null})))}function Hc(){if(null===ic)return!1;var e=ic;if(ic=null,0!=(48&Au))throw Error(gt(331));var t=Au;Au|=32;var n=sc;sc=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],a=o.destroy;if(o.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===i)throw Error(gt(330));Vc(i,e)}}for(n=lc,lc=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(gt(330));Vc(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Au=t,nl(),!0}function Wc(e,t,n){bl(e,t=bu(0,t=vu(n,t),1)),t=gc(),null!==(e=xc(e,1))&&(to(e,1,t),Ec(e,t))}function Vc(e,t){if(3===e.tag)Wc(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Wc(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===rc||!rc.has(r))){var o=xu(n,e=vu(t,e),1);if(bl(n,o),o=gc(),null!==(n=xc(n,1)))to(n,1,o),Ec(n,o);else if("function"==typeof r.componentDidCatch&&(null===rc||!rc.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function $c(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=gc(),e.pingedLanes|=e.suspendedLanes&n,zu===e&&(Fu&n)===n&&(4===Hu||3===Hu&&(62914560&Fu)===Fu&&500>Qa()-Xu?_c(e,0):Ku|=n),Ec(e,t)}function Gc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Ja()?1:2:(0===pc&&(pc=Vu),0===(t=Yr(62914560&~pc))&&(t=4194304))),n=gc(),null!==(e=xc(e,t))&&(to(e,t,n),Ec(e,n))}function Kc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Zc(e,t,n,r){return new Kc(e,t,n,r)}function Xc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Qc(e,t){var n=e.alternate;return null===n?((n=Zc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Jc(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Xc(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case Mt:return Yc(n.children,o,i,t);case Gt:a=8,o|=16;break;case Dt:a=8,o|=1;break;case At:return(e=Zc(12,n,t,8|o)).elementType=At,e.type=At,e.lanes=i,e;case Bt:return(e=Zc(13,n,t,o)).type=Bt,e.elementType=Bt,e.lanes=i,e;case Ut:return(e=Zc(19,n,t,o)).elementType=Ut,e.lanes=i,e;case Kt:return ef(n,o,i,t);case Zt:return(e=Zc(24,n,t,o)).elementType=Zt,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case zt:a=10;break e;case jt:a=9;break e;case Ft:a=11;break e;case Ht:a=14;break e;case Wt:a=16,r=null;break e;case Vt:a=22;break e}throw Error(gt(130,null==e?e:typeof e,""))}return(t=Zc(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Yc(e,t,n,r){return(e=Zc(7,e,r,t)).lanes=n,e}function ef(e,t,n,r){return(e=Zc(23,e,r,t)).elementType=Kt,e.lanes=n,e}function tf(e,t,n){return(e=Zc(6,e,null,t)).lanes=n,e}function nf(e,t,n){return(t=Zc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function rf(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=eo(0),this.expirationTimes=eo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eo(0),this.mutableSourceEagerHydrationData=null}function of(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:qt,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function af(e,t,n,r){var o=t.current,i=gc(),a=yc(o);e:if(n){t:{if(sr(n=n._reactInternals)!==n||1!==n.tag)throw Error(gt(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ka(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(gt(171))}if(1===n.tag){var s=n.type;if(ka(s)){n=Oa(n,s,l);break e}}n=l}else n=xa;return null===t.context?t.context=n:t.pendingContext=n,(t=yl(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),bl(o,t),bc(o,a,i),a}function lf(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function sf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function uf(e,t){sf(e,t),(e=e.alternate)&&sf(e,t)}function cf(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new rf(e,t,null!=n&&!0===n.hydrate),t=Zc(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,vl(t),e[sa]=n.current,Fi(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function ff(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function df(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=lf(a);l.call(e)}}af(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new cf(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=lf(a);s.call(e)}}Lc((function(){af(t,a,e,o)}))}return lf(a)}function pf(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!ff(t))throw Error(gt(200));return of(e,t,null,n)}Yu=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||wa.current)Ws=!0;else{if(0==(n&r)){switch(Ws=!1,t.tag){case 3:eu(t),ts();break;case 5:Hl(t);break;case 1:ka(t.type)&&_a(t);break;case 4:Bl(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;ba(al,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?iu(e,t,n):(ba(Vl,1&Vl.current),null!==(t=du(e,t,n))?t.sibling:null);ba(Vl,1&Vl.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return fu(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),ba(Vl,Vl.current),r)break;return null;case 23:case 24:return t.lanes=0,Zs(e,t,n)}return du(e,t,n)}Ws=0!=(16384&e.flags)}else Ws=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=Ca(t,Ea.current),pl(t,n),o=hs(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ka(r)){var i=!0;_a(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,vl(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&Cl(t,r,a,e),o.updater=kl,t.stateNode=o,o._reactInternals=t,_l(t,r,e,n),t=Ys(null,t,r,!0,i,n)}else t.tag=0,Vs(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Xc(e)?1:0;if(null!=e){if((e=e.$$typeof)===Ft)return 11;if(e===Ht)return 14}return 2}(o),e=il(o,e),i){case 0:t=Qs(null,t,o,e,n);break e;case 1:t=Js(null,t,o,e,n);break e;case 11:t=$s(null,t,o,e,n);break e;case 14:t=Gs(null,t,o,il(o.type,e),r,n);break e}throw Error(gt(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Qs(e,t,r,o=t.elementType===r?o:il(r,o),n);case 1:return r=t.type,o=t.pendingProps,Js(e,t,r,o=t.elementType===r?o:il(r,o),n);case 3:if(eu(t),r=t.updateQueue,null===e||null===r)throw Error(gt(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,gl(e,t),El(t,r,null,n),(r=t.memoizedState.element)===o)ts(),t=du(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Kl=na(t.stateNode.containerInfo.firstChild),Gl=t,i=Zl=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],ns.push(i);for(n=Ml(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Vs(e,t,r,n),ts();t=t.child}return t;case 5:return Hl(t),null===e&&Jl(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,Ji(r,o)?a=null:null!==i&&Ji(r,i)&&(t.flags|=16),Xs(e,t),Vs(e,t,a,n),t.child;case 6:return null===e&&Jl(t),null;case 13:return iu(e,t,n);case 4:return Bl(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=ql(t,null,r,n):Vs(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,$s(e,t,r,o=t.elementType===r?o:il(r,o),n);case 7:return Vs(e,t,t.pendingProps,n),t.child;case 8:case 12:return Vs(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var l=t.type._context;if(ba(al,l._currentValue),l._currentValue=i,null!==a)if(l=a.value,0===(i=bi(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(a.children===o.children&&!wa.current){t=du(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){a=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===l.tag&&((u=yl(-1,n&-n)).tag=2,bl(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),dl(l.return,n),s.lanes|=n;break}u=u.next}}else a=10===l.tag&&l.type===t.type?null:l.child;if(null!==a)a.return=l;else for(a=l;null!==a;){if(a===t){a=null;break}if(null!==(l=a.sibling)){l.return=a.return,a=l;break}a=a.return}l=a}Vs(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,pl(t,n),r=r(o=hl(o,i.unstable_observedBits)),t.flags|=1,Vs(e,t,r,n),t.child;case 14:return i=il(o=t.type,t.pendingProps),Gs(e,t,o,i=il(o.type,i),r,n);case 15:return Ks(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:il(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ka(r)?(e=!0,_a(t)):e=!1,pl(t,n),Rl(t,r,o),_l(t,r,o,n),Ys(null,t,r,!0,e,n);case 19:return fu(e,t,n);case 23:case 24:return Zs(e,t,n)}throw Error(gt(156,t.tag))},cf.prototype.render=function(e){af(e,this._internalRoot,null,null)},cf.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;af(null,e,null,(function(){t[sa]=null}))},pr=function(e){13===e.tag&&(bc(e,4,gc()),uf(e,4))},hr=function(e){13===e.tag&&(bc(e,67108864,gc()),uf(e,67108864))},mr=function(e){if(13===e.tag){var t=gc(),n=yc(e);bc(e,n,t),uf(e,n)}},vr=function(e,t){return t()},jn=function(e,t,n){switch(t){case"input":if(hn(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=pa(r);if(!o)throw Error(gt(90));un(r),hn(r,o)}}}break;case"textarea":En(e,n);break;case"select":null!=(t=n.value)&&yn(e,!!n.multiple,t,!1)}},Vn=kc,$n=function(e,t,n,r,o){var i=Au;Au|=4;try{return el(98,e.bind(null,t,n,r,o))}finally{0===(Au=i)&&(Ju(),nl())}},Gn=function(){0==(49&Au)&&(function(){if(null!==uc){var e=uc;uc=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,Ec(e,Qa())}))}nl()}(),Fc())},Kn=function(e,t){var n=Au;Au|=2;try{return e(t)}finally{0===(Au=n)&&(Ju(),nl())}};var hf={Events:[fa,da,pa,Hn,Wn,Fc,{current:!1}]},mf={findFiberByHostInstance:ca,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},vf={bundleType:mf.bundleType,version:mf.version,rendererPackageName:mf.rendererPackageName,rendererConfig:mf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Tt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=fr(e))?null:e.stateNode},findFiberByHostInstance:mf.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var gf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!gf.isDisabled&&gf.supportsFiber)try{Pa=gf.inject(vf),Ta=gf}catch(On){}}ft.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hf,ft.createPortal=pf,ft.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(gt(188));throw Error(gt(268,Object.keys(e)))}return e=null===(e=fr(t))?null:e.stateNode},ft.flushSync=function(e,t){var n=Au;if(0!=(48&n))return e(t);Au|=1;try{if(e)return el(99,e.bind(null,t))}finally{Au=n,nl()}},ft.hydrate=function(e,t,n){if(!ff(t))throw Error(gt(200));return df(null,e,t,!0,n)},ft.render=function(e,t,n){if(!ff(t))throw Error(gt(200));return df(null,e,t,!1,n)},ft.unmountComponentAtNode=function(e){if(!ff(e))throw Error(gt(40));return!!e._reactRootContainer&&(Lc((function(){df(null,null,e,!1,(function(){e._reactRootContainer=null,e[sa]=null}))})),!0)},ft.unstable_batchedUpdates=kc,ft.unstable_createPortal=function(e,t){return pf(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},ft.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ff(n))throw Error(gt(200));if(null==e||void 0===e._reactInternals)throw Error(gt(38));return df(e,t,n,!1,r)},ft.version="17.0.2",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),ct.exports=ft;var yf=ct.exports;function bf(){return(bf=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 xf(e){return(xf="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 Ef(e){return(Ef="function"==typeof Symbol&&"symbol"===xf(Symbol.iterator)?function(e){return xf(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":xf(e)})(e)}function wf(e){return e&&"object"===Ef(e)&&e.constructor===Object}function Sf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?bf({},e):e;return wf(e)&&wf(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(wf(t[o])&&o in e?r[o]=Sf(e[o],t[o],n):r[o]=t[o])})),r}function Cf(){}function kf(){}kf.resetWarningCache=Cf;function Lf(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}!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:kf,resetWarningCache:Cf};n.PropTypes=n}();var Rf={exports:{}},Of={},_f=60103,If=60106,Pf=60107,Tf=60108,Nf=60114,qf=60109,Mf=60110,Df=60112,Af=60113,zf=60120,jf=60115,Ff=60116,Bf=60121,Uf=60122,Hf=60117,Wf=60129,Vf=60131;if("function"==typeof Symbol&&Symbol.for){var $f=Symbol.for;_f=$f("react.element"),If=$f("react.portal"),Pf=$f("react.fragment"),Tf=$f("react.strict_mode"),Nf=$f("react.profiler"),qf=$f("react.provider"),Mf=$f("react.context"),Df=$f("react.forward_ref"),Af=$f("react.suspense"),zf=$f("react.suspense_list"),jf=$f("react.memo"),Ff=$f("react.lazy"),Bf=$f("react.block"),Uf=$f("react.server.block"),Hf=$f("react.fundamental"),Wf=$f("react.debug_trace_mode"),Vf=$f("react.legacy_hidden")}function Gf(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case _f:switch(e=e.type){case Pf:case Nf:case Tf:case Af:case zf:return e;default:switch(e=e&&e.$$typeof){case Mf:case Df:case Ff:case jf:case qf:return e;default:return t}}case If:return t}}}var Kf=qf,Zf=_f,Xf=Df,Qf=Pf,Jf=Ff,Yf=jf,ed=If,td=Nf,nd=Tf,rd=Af;Of.ContextConsumer=Mf,Of.ContextProvider=Kf,Of.Element=Zf,Of.ForwardRef=Xf,Of.Fragment=Qf,Of.Lazy=Jf,Of.Memo=Yf,Of.Portal=ed,Of.Profiler=td,Of.StrictMode=nd,Of.Suspense=rd,Of.isAsyncMode=function(){return!1},Of.isConcurrentMode=function(){return!1},Of.isContextConsumer=function(e){return Gf(e)===Mf},Of.isContextProvider=function(e){return Gf(e)===qf},Of.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===_f},Of.isForwardRef=function(e){return Gf(e)===Df},Of.isFragment=function(e){return Gf(e)===Pf},Of.isLazy=function(e){return Gf(e)===Ff},Of.isMemo=function(e){return Gf(e)===jf},Of.isPortal=function(e){return Gf(e)===If},Of.isProfiler=function(e){return Gf(e)===Nf},Of.isStrictMode=function(e){return Gf(e)===Tf},Of.isSuspense=function(e){return Gf(e)===Af},Of.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Pf||e===Nf||e===Wf||e===Tf||e===Af||e===zf||e===Vf||"object"==typeof e&&null!==e&&(e.$$typeof===Ff||e.$$typeof===jf||e.$$typeof===qf||e.$$typeof===Mf||e.$$typeof===Df||e.$$typeof===Hf||e.$$typeof===Bf||e[0]===Uf)},Of.typeOf=Gf,Rf.exports=Of;var od="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",id=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function ad(){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,l=""===a?"":"".concat(a,"-"),s=0,u=function(){return s+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==id.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(l).concat(r,"-").concat(e.key);return t.options.theme[od]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(l).concat(o).concat(u())}}function ld(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}function sd(){return(sd=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)}var ud="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},cd="object"===("undefined"==typeof window?"undefined":ud(window))&&"object"===("undefined"==typeof document?"undefined":ud(document))&&9===document.nodeType;function fd(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 dd(e,t,n){return t&&fd(e.prototype,t),n&&fd(e,n),e}function pd(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function hd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var md={}.constructor;function vd(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(vd);if(e.constructor!==md)return e;var t={};for(var n in e)t[n]=vd(e[n]);return t}function gd(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=vd(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var yd=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},bd=function(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+=yd(e[r]," ");else n=yd(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function xd(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Ed(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 l=0;l<a.length;l++){var s=a[l];for(var u in s){var c=s[u];null!=c&&(r&&(r+="\n"),r+=""+xd(u+": "+bd(c)+";",i))}}else for(var f in a){var d=a[f];null!=d&&(r&&(r+="\n"),r+=""+xd(f+": "+bd(d)+";",i))}for(var p in t){var h=t[p];null!=h&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+xd(p+": "+bd(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),xd(e+" {"+r,--i)+xd("}",i)):r}var wd=/([[\].#*$><+~=|^:(),"'`\s])/g,Sd="undefined"!=typeof CSS&&CSS.escape,Cd=function(e){return Sd?Sd(e):e.replace(wd,"\\$1")},kd=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 l=i&&a;if(l?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),Ld=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,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(hd(hd(o)),l),o.selectorText="."+Cd(o.id)),o}pd(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]=bd(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?sd({},e,{allowEmpty:!0}):e;return Ed(this.selectorText,this.style,n)},dd(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}(kd),Rd={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Ld(e,t,n)}},Od={indent:1,children:!0},_d=/@([\w-]+)/,Id=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(_d);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new Yd(sd({},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=Od),null==e.indent&&(e.indent=Od.indent),null==e.children&&(e.children=Od.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Pd=/@media|@supports\s+/,Td={onCreateRule:function(e,t,n){return Pd.test(e)?new Id(e,t,n):null}},Nd={indent:1,children:!0},qd=/@keyframes\s+([\w-]+)/,Md=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(qd);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 l in this.id=!1===o?this.name:Cd(a(this,i)),this.rules=new Yd(sd({},n,{parent:this})),t)this.rules.add(l,t[l],sd({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Nd),null==e.indent&&(e.indent=Nd.indent),null==e.children&&(e.children=Nd.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}(),Dd=/@keyframes\s+/,Ad=/\$([\w-]+)/g,zd=function(e,t){return"string"==typeof e?e.replace(Ad,(function(e,n){return n in t?t[n]:e})):e},jd=function(e,t,n){var r=e[t],o=zd(r,n);o!==r&&(e[t]=o)},Fd={onCreateRule:function(e,t,n){return"string"==typeof e&&Dd.test(e)?new Md(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&jd(e,"animation-name",n.keyframes),"animation"in e&&jd(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 zd(e,r.keyframes);default:return e}}},Bd=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 pd(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?sd({},e,{allowEmpty:!0}):e;return Ed(this.key,this.style,n)},t}(kd),Ud={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Bd(e,t,n):null}},Hd=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+=Ed(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return Ed(this.at,this.style,e)},e}(),Wd=/@font-face/,Vd={onCreateRule:function(e,t,n){return Wd.test(e)?new Hd(e,t,n):null}},$d=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 Ed(this.key,this.style,e)},e}(),Gd={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new $d(e,t,n):null}},Kd=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}(),Zd={"@charset":!0,"@import":!0,"@namespace":!0},Xd=[Rd,Td,Fd,Ud,Vd,Gd,{onCreateRule:function(e,t,n){return e in Zd?new Kd(e,t,n):null}}],Qd={process:!0},Jd={force:!0,process:!0},Yd=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,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,l=r.Renderer,s=r.generateId,u=r.scoped,c=sd({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:l,generateId:s,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},n),f=e;e in this.raw&&(f=e+"-d"+this.counter++),this.raw[f]=t,f in this.classes&&(c.selector="."+Cd(this.classes[f]));var d=gd(f,t,c);if(!d)return null;this.register(d);var p=void 0===c.index?this.index.length:c.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.index.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 Ld?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Md&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Ld?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Md&&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.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=Qd);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t,s=l.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==l.style){for(var u in i.onProcessStyle(l.style,l,a),l.style){var c=l.style[u];c!==s[u]&&l.prop(u,c,Jd)}for(var f in s){var d=l.style[f],p=s[f];null==d&&d!==p&&l.prop(f,null,Jd)}}}},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}(),ep=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=sd({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new Yd(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="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(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.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),tp=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}(),np=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=function(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}(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},dd(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),rp="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),op="2f1acc6c3a606b082e5eef5e54414ffb";null==rp[op]&&(rp[op]=0);var ip=rp[op]++,ap=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")+ip+o+t:i+n.key+"-"+ip+(o?"-"+o:"")+"-"+t}},lp=function(e){var t;return function(){return t||(t=e()),t}},sp=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},up=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=bd(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},cp=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},fp=function(e,t){return e.selectorText=t,e.selectorText===t},dp=lp((function(){return document.querySelector("head")}));function pp(e){var t=np.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=dp(),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 hp=lp((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),mp=function(e,t,n){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]},vp=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},gp=function(){function e(e){this.getPropertyValue=sp,this.setProperty=up,this.removeProperty=cp,this.setSelector=fp,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&np.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=hp();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=pp(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 dp().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(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},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;if("conditional"===e.type||"keyframes"===e.type){var i=vp(n,t);if(!1===(o=mp(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var l=vp(n,t),s=mp(n,a,l);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,l,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof ep&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),yp=0,bp=function(){function e(e){this.id=yp++,this.version="10.5.1",this.plugins=new tp,this.options={id:{minify:!1},createGenerateId:ap,Renderer:cd?gp:null,plugins:[]},this.generateId=ap({minify:!1});for(var t=0;t<Xd.length;t++)this.plugins.use(Xd[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=sd({},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===np.index?0:np.index+1);var r=new ep(e,sd({},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(),np.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=sd({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=gd(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}();
|
|
33
|
+
var vt=Oe.exports,gt=qe,yt=ht.exports;function bt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!vt)throw Error(bt(227));var xt=new Set,Et={};function wt(e,t){St(e,t),St(e+"Capture",t)}function St(e,t){for(Et[e]=t,e=0;e<t.length;e++)xt.add(t[e])}var Ct=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),kt=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Lt=Object.prototype.hasOwnProperty,Rt={},Ot={};function _t(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var It={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){It[e]=new _t(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];It[t]=new _t(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){It[e]=new _t(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){It[e]=new _t(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){It[e]=new _t(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){It[e]=new _t(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){It[e]=new _t(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){It[e]=new _t(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){It[e]=new _t(e,5,!1,e.toLowerCase(),null,!1,!1)}));var Pt=/[\-:]([a-z])/g;function Tt(e){return e[1].toUpperCase()}function Nt(e,t,n,r){var o=It.hasOwnProperty(t)?It[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!Lt.call(Ot,e)||!Lt.call(Rt,e)&&(kt.test(e)?Ot[e]=!0:(Rt[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Pt,Tt);It[t]=new _t(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Pt,Tt);It[t]=new _t(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Pt,Tt);It[t]=new _t(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){It[e]=new _t(e,1,!1,e.toLowerCase(),null,!1,!1)})),It.xlinkHref=new _t("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){It[e]=new _t(e,1,!1,e.toLowerCase(),null,!0,!0)}));var qt=vt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Mt=60103,Dt=60106,At=60107,zt=60108,jt=60114,Ft=60109,Bt=60110,Ut=60112,Ht=60113,Wt=60120,Vt=60115,$t=60116,Kt=60121,Gt=60128,Zt=60129,Xt=60130,Qt=60131;if("function"==typeof Symbol&&Symbol.for){var Jt=Symbol.for;Mt=Jt("react.element"),Dt=Jt("react.portal"),At=Jt("react.fragment"),zt=Jt("react.strict_mode"),jt=Jt("react.profiler"),Ft=Jt("react.provider"),Bt=Jt("react.context"),Ut=Jt("react.forward_ref"),Ht=Jt("react.suspense"),Wt=Jt("react.suspense_list"),Vt=Jt("react.memo"),$t=Jt("react.lazy"),Kt=Jt("react.block"),Jt("react.scope"),Gt=Jt("react.opaque.id"),Zt=Jt("react.debug_trace_mode"),Xt=Jt("react.offscreen"),Qt=Jt("react.legacy_hidden")}var Yt,en="function"==typeof Symbol&&Symbol.iterator;function tn(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=en&&e[en]||e["@@iterator"])?e:null}function nn(e){if(void 0===Yt)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);Yt=t&&t[1]||""}return"\n"+Yt+e}var rn=!1;function on(e,t){if(!e||rn)return"";rn=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,l=i.length-1;1<=a&&0<=l&&o[a]!==i[l];)l--;for(;1<=a&&0<=l;a--,l--)if(o[a]!==i[l]){if(1!==a||1!==l)do{if(a--,0>--l||o[a]!==i[l])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=l);break}}}finally{rn=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?nn(e):""}function an(e){switch(e.tag){case 5:return nn(e.type);case 16:return nn("Lazy");case 13:return nn("Suspense");case 19:return nn("SuspenseList");case 0:case 2:case 15:return e=on(e.type,!1);case 11:return e=on(e.type.render,!1);case 22:return e=on(e.type._render,!1);case 1:return e=on(e.type,!0);default:return""}}function ln(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case At:return"Fragment";case Dt:return"Portal";case jt:return"Profiler";case zt:return"StrictMode";case Ht:return"Suspense";case Wt:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case Bt:return(e.displayName||"Context")+".Consumer";case Ft:return(e._context.displayName||"Context")+".Provider";case Ut:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case Vt:return ln(e.type);case Kt:return ln(e._render);case $t:t=e._payload,e=e._init;try{return ln(e(t))}catch(e){}}return null}function sn(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function un(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function cn(e){e._valueTracker||(e._valueTracker=function(e){var t=un(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function fn(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=un(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function dn(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function pn(e,t){var n=t.checked;return gt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function hn(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=sn(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function mn(e,t){null!=(t=t.checked)&&Nt(e,"checked",t,!1)}function vn(e,t){mn(e,t);var n=sn(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?yn(e,t.type,n):t.hasOwnProperty("defaultValue")&&yn(e,t.type,sn(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function gn(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function yn(e,t,n){"number"===t&&dn(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function bn(e,t){return e=gt({children:void 0},t),(t=function(e){var t="";return vt.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function xn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+sn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function En(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(bt(91));return gt({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function wn(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(bt(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(bt(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:sn(n)}}function Sn(e,t){var n=sn(t.value),r=sn(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Cn(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var kn="http://www.w3.org/1999/xhtml",Ln="http://www.w3.org/2000/svg";function Rn(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function On(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?Rn(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var _n,In,Pn=(In=function(e,t){if(e.namespaceURI!==Ln||"innerHTML"in e)e.innerHTML=t;else{for((_n=_n||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_n.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return In(e,t)}))}:In);function Tn(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Nn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qn=["Webkit","ms","Moz","O"];function Mn(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Nn.hasOwnProperty(e)&&Nn[e]?(""+t).trim():t+"px"}function Dn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Mn(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(Nn).forEach((function(e){qn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Nn[t]=Nn[e]}))}));var An=gt({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function zn(e,t){if(t){if(An[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(bt(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(bt(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(bt(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(bt(62))}}function jn(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Fn(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Bn=null,Un=null,Hn=null;function Wn(e){if(e=pa(e)){if("function"!=typeof Bn)throw Error(bt(280));var t=e.stateNode;t&&(t=ma(t),Bn(e.stateNode,e.type,t))}}function Vn(e){Un?Hn?Hn.push(e):Hn=[e]:Un=e}function $n(){if(Un){var e=Un,t=Hn;if(Hn=Un=null,Wn(e),t)for(e=0;e<t.length;e++)Wn(t[e])}}function Kn(e,t){return e(t)}function Gn(e,t,n,r,o){return e(t,n,r,o)}function Zn(){}var Xn=Kn,Qn=!1,Jn=!1;function Yn(){null===Un&&null===Hn||(Zn(),$n())}function er(e,t){var n=e.stateNode;if(null===n)return null;var r=ma(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(bt(231,t,typeof n));return n}var tr=!1;if(Ct)try{var nr={};Object.defineProperty(nr,"passive",{get:function(){tr=!0}}),window.addEventListener("test",nr,nr),window.removeEventListener("test",nr,nr)}catch(In){tr=!1}function rr(e,t,n,r,o,i,a,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var or=!1,ir=null,ar=!1,lr=null,sr={onError:function(e){or=!0,ir=e}};function ur(e,t,n,r,o,i,a,l,s){or=!1,ir=null,rr.apply(sr,arguments)}function cr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function fr(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function dr(e){if(cr(e)!==e)throw Error(bt(188))}function pr(e){if(!(e=function(e){var t=e.alternate;if(!t){if(null===(t=cr(e)))throw Error(bt(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return dr(o),e;if(i===r)return dr(o),t;i=i.sibling}throw Error(bt(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,l=o.child;l;){if(l===n){a=!0,n=o,r=i;break}if(l===r){a=!0,r=o,n=i;break}l=l.sibling}if(!a){for(l=i.child;l;){if(l===n){a=!0,n=i,r=o;break}if(l===r){a=!0,r=i,n=o;break}l=l.sibling}if(!a)throw Error(bt(189))}}if(n.alternate!==r)throw Error(bt(190))}if(3!==n.tag)throw Error(bt(188));return n.stateNode.current===n?e:t}(e)))return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function hr(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var mr,vr,gr,yr,br=!1,xr=[],Er=null,wr=null,Sr=null,Cr=new Map,kr=new Map,Lr=[],Rr="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Or(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function _r(e,t){switch(e){case"focusin":case"focusout":Er=null;break;case"dragenter":case"dragleave":wr=null;break;case"mouseover":case"mouseout":Sr=null;break;case"pointerover":case"pointerout":Cr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":kr.delete(t.pointerId)}}function Ir(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=Or(t,n,r,o,i),null!==t&&(null!==(t=pa(t))&&vr(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Pr(e){var t=da(e.target);if(null!==t){var n=cr(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=fr(n)))return e.blockedOn=t,void yr(e.lanePriority,(function(){yt.unstable_runWithPriority(e.priority,(function(){gr(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Tr(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=ho(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=pa(n))&&vr(t),e.blockedOn=n,!1;t.shift()}return!0}function Nr(e,t,n){Tr(e)&&n.delete(t)}function qr(){for(br=!1;0<xr.length;){var e=xr[0];if(null!==e.blockedOn){null!==(e=pa(e.blockedOn))&&mr(e);break}for(var t=e.targetContainers;0<t.length;){var n=ho(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&xr.shift()}null!==Er&&Tr(Er)&&(Er=null),null!==wr&&Tr(wr)&&(wr=null),null!==Sr&&Tr(Sr)&&(Sr=null),Cr.forEach(Nr),kr.forEach(Nr)}function Mr(e,t){e.blockedOn===t&&(e.blockedOn=null,br||(br=!0,yt.unstable_scheduleCallback(yt.unstable_NormalPriority,qr)))}function Dr(e){function t(t){return Mr(t,e)}if(0<xr.length){Mr(xr[0],e);for(var n=1;n<xr.length;n++){var r=xr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Er&&Mr(Er,e),null!==wr&&Mr(wr,e),null!==Sr&&Mr(Sr,e),Cr.forEach(t),kr.forEach(t),n=0;n<Lr.length;n++)(r=Lr[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Lr.length&&null===(n=Lr[0]).blockedOn;)Pr(n),null===n.blockedOn&&Lr.shift()}function Ar(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var zr={animationend:Ar("Animation","AnimationEnd"),animationiteration:Ar("Animation","AnimationIteration"),animationstart:Ar("Animation","AnimationStart"),transitionend:Ar("Transition","TransitionEnd")},jr={},Fr={};function Br(e){if(jr[e])return jr[e];if(!zr[e])return e;var t,n=zr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Fr)return jr[e]=n[t];return e}Ct&&(Fr=document.createElement("div").style,"AnimationEvent"in window||(delete zr.animationend.animation,delete zr.animationiteration.animation,delete zr.animationstart.animation),"TransitionEvent"in window||delete zr.transitionend.transition);var Ur=Br("animationend"),Hr=Br("animationiteration"),Wr=Br("animationstart"),Vr=Br("transitionend"),$r=new Map,Kr=new Map,Gr=["abort","abort",Ur,"animationEnd",Hr,"animationIteration",Wr,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Vr,"transitionEnd","waiting","waiting"];function Zr(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Kr.set(r,t),$r.set(r,o),wt(o,[r])}}(0,yt.unstable_now)();var Xr=8;function Qr(e){if(0!=(1&e))return Xr=15,1;if(0!=(2&e))return Xr=14,2;if(0!=(4&e))return Xr=13,4;var t=24&e;return 0!==t?(Xr=12,t):0!=(32&e)?(Xr=11,32):0!==(t=192&e)?(Xr=10,t):0!=(256&e)?(Xr=9,256):0!==(t=3584&e)?(Xr=8,t):0!=(4096&e)?(Xr=7,4096):0!==(t=4186112&e)?(Xr=6,t):0!==(t=62914560&e)?(Xr=5,t):67108864&e?(Xr=4,67108864):0!=(134217728&e)?(Xr=3,134217728):0!==(t=805306368&e)?(Xr=2,t):0!=(1073741824&e)?(Xr=1,1073741824):(Xr=8,e)}function Jr(e,t){var n=e.pendingLanes;if(0===n)return Xr=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(0!==i)r=i,o=Xr=15;else if(0!==(i=134217727&n)){var s=i&~a;0!==s?(r=Qr(s),o=Xr):0!==(l&=i)&&(r=Qr(l),o=Xr)}else 0!==(i=n&~a)?(r=Qr(i),o=Xr):0!==l&&(r=Qr(l),o=Xr);if(0===r)return 0;if(r=n&((0>(r=31-oo(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Qr(t),o<=Xr)return t;Xr=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-oo(t)),r|=e[n],t&=~o;return r}function Yr(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function eo(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=to(24&~t))?eo(10,t):e;case 10:return 0===(e=to(192&~t))?eo(8,t):e;case 8:return 0===(e=to(3584&~t))&&(0===(e=to(4186112&~t))&&(e=512)),e;case 2:return 0===(t=to(805306368&~t))&&(t=268435456),t}throw Error(bt(358,e))}function to(e){return e&-e}function no(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ro(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-oo(t)]=n}var oo=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(io(e)/ao|0)|0},io=Math.log,ao=Math.LN2;var lo=yt.unstable_UserBlockingPriority,so=yt.unstable_runWithPriority,uo=!0;function co(e,t,n,r){Qn||Zn();var o=po,i=Qn;Qn=!0;try{Gn(o,e,t,n,r)}finally{(Qn=i)||Yn()}}function fo(e,t,n,r){so(lo,po.bind(null,e,t,n,r))}function po(e,t,n,r){var o;if(uo)if((o=0==(4&t))&&0<xr.length&&-1<Rr.indexOf(e))e=Or(null,e,t,n,r),xr.push(e);else{var i=ho(e,t,n,r);if(null===i)o&&_r(e,r);else{if(o){if(-1<Rr.indexOf(e))return e=Or(i,e,t,n,r),void xr.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return Er=Ir(Er,e,t,n,r,o),!0;case"dragenter":return wr=Ir(wr,e,t,n,r,o),!0;case"mouseover":return Sr=Ir(Sr,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Cr.set(i,Ir(Cr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,kr.set(i,Ir(kr.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;_r(e,r)}Vi(e,t,r,null,n)}}}function ho(e,t,n,r){var o=Fn(r);if(null!==(o=da(o))){var i=cr(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=fr(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Vi(e,t,r,o,n),null}var mo=null,vo=null,go=null;function yo(){if(go)return go;var e,t,n=vo,r=n.length,o="value"in mo?mo.value:mo.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return go=o.slice(e,1<t?1-t:void 0)}function bo(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function xo(){return!0}function Eo(){return!1}function wo(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?xo:Eo,this.isPropagationStopped=Eo,this}return gt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=xo)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=xo)},persist:function(){},isPersistent:xo}),t}var So,Co,ko,Lo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Ro=wo(Lo),Oo=gt({},Lo,{view:0,detail:0}),_o=wo(Oo),Io=gt({},Oo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Bo,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ko&&(ko&&"mousemove"===e.type?(So=e.screenX-ko.screenX,Co=e.screenY-ko.screenY):Co=So=0,ko=e),So)},movementY:function(e){return"movementY"in e?e.movementY:Co}}),Po=wo(Io),To=wo(gt({},Io,{dataTransfer:0})),No=wo(gt({},Oo,{relatedTarget:0})),qo=wo(gt({},Lo,{animationName:0,elapsedTime:0,pseudoElement:0})),Mo=wo(gt({},Lo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Do=wo(gt({},Lo,{data:0})),Ao={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zo={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},jo={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fo(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=jo[e])&&!!t[e]}function Bo(){return Fo}var Uo=wo(gt({},Oo,{key:function(e){if(e.key){var t=Ao[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=bo(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?zo[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Bo,charCode:function(e){return"keypress"===e.type?bo(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?bo(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ho=wo(gt({},Io,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Wo=wo(gt({},Oo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Bo})),Vo=wo(gt({},Lo,{propertyName:0,elapsedTime:0,pseudoElement:0})),$o=wo(gt({},Io,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Ko=[9,13,27,32],Go=Ct&&"CompositionEvent"in window,Zo=null;Ct&&"documentMode"in document&&(Zo=document.documentMode);var Xo=Ct&&"TextEvent"in window&&!Zo,Qo=Ct&&(!Go||Zo&&8<Zo&&11>=Zo),Jo=String.fromCharCode(32),Yo=!1;function ei(e,t){switch(e){case"keyup":return-1!==Ko.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ti(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var ni=!1;var ri={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function oi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!ri[e.type]:"textarea"===t}function ii(e,t,n,r){Vn(r),0<(t=Ki(t,"onChange")).length&&(n=new Ro("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var ai=null,li=null;function si(e){ji(e,0)}function ui(e){if(fn(ha(e)))return e}function ci(e,t){if("change"===e)return t}var fi=!1;if(Ct){var di;if(Ct){var pi="oninput"in document;if(!pi){var hi=document.createElement("div");hi.setAttribute("oninput","return;"),pi="function"==typeof hi.oninput}di=pi}else di=!1;fi=di&&(!document.documentMode||9<document.documentMode)}function mi(){ai&&(ai.detachEvent("onpropertychange",vi),li=ai=null)}function vi(e){if("value"===e.propertyName&&ui(li)){var t=[];if(ii(t,li,e,Fn(e)),e=si,Qn)e(t);else{Qn=!0;try{Kn(e,t)}finally{Qn=!1,Yn()}}}}function gi(e,t,n){"focusin"===e?(mi(),li=n,(ai=t).attachEvent("onpropertychange",vi)):"focusout"===e&&mi()}function yi(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return ui(li)}function bi(e,t){if("click"===e)return ui(t)}function xi(e,t){if("input"===e||"change"===e)return ui(t)}var Ei="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},wi=Object.prototype.hasOwnProperty;function Si(e,t){if(Ei(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!wi.call(t,n[r])||!Ei(e[n[r]],t[n[r]]))return!1;return!0}function Ci(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ki(e,t){var n,r=Ci(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Ci(r)}}function Li(){for(var e=window,t=dn();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=dn((e=t.contentWindow).document)}return t}function Ri(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var Oi=Ct&&"documentMode"in document&&11>=document.documentMode,_i=null,Ii=null,Pi=null,Ti=!1;function Ni(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Ti||null==_i||_i!==dn(r)||("selectionStart"in(r=_i)&&Ri(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},Pi&&Si(Pi,r)||(Pi=r,0<(r=Ki(Ii,"onSelect")).length&&(t=new Ro("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=_i)))}Zr("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Zr("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Zr(Gr,2);for(var qi="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Mi=0;Mi<qi.length;Mi++)Kr.set(qi[Mi],0);St("onMouseEnter",["mouseout","mouseover"]),St("onMouseLeave",["mouseout","mouseover"]),St("onPointerEnter",["pointerout","pointerover"]),St("onPointerLeave",["pointerout","pointerover"]),wt("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),wt("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),wt("onBeforeInput",["compositionend","keypress","textInput","paste"]),wt("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),wt("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),wt("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Di="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ai=new Set("cancel close invalid load scroll toggle".split(" ").concat(Di));function zi(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,a,l,s){if(ur.apply(this,arguments),or){if(!or)throw Error(bt(198));var u=ir;or=!1,ir=null,ar||(ar=!0,lr=u)}}(r,t,void 0,e),e.currentTarget=null}function ji(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var l=r[a],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==i&&o.isPropagationStopped())break e;zi(o,l,u),i=s}else for(a=0;a<r.length;a++){if(s=(l=r[a]).instance,u=l.currentTarget,l=l.listener,s!==i&&o.isPropagationStopped())break e;zi(o,l,u),i=s}}}if(ar)throw e=lr,ar=!1,lr=null,e}function Fi(e,t){var n=va(t),r=e+"__bubble";n.has(r)||(Wi(t,e,2,!1),n.add(r))}var Bi="_reactListening"+Math.random().toString(36).slice(2);function Ui(e){e[Bi]||(e[Bi]=!0,xt.forEach((function(t){Ai.has(t)||Hi(t,!1,e,null),Hi(t,!0,e,null)})))}function Hi(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&Ai.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=va(i),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(o|=4),Wi(i,e,o,t),a.add(l))}function Wi(e,t,n,r){var o=Kr.get(t);switch(void 0===o?2:o){case 0:o=co;break;case 1:o=fo;break;default:o=po}n=o.bind(null,t,n,e),o=void 0,!tr||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Vi(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var s=a.tag;if((3===s||4===s)&&((s=a.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;a=a.return}for(;null!==l;){if(null===(a=da(l)))return;if(5===(s=a.tag)||6===s){r=i=a;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(Jn)return e(t,n);Jn=!0;try{Xn(e,t,n)}finally{Jn=!1,Yn()}}((function(){var r=i,o=Fn(n),a=[];e:{var l=$r.get(e);if(void 0!==l){var s=Ro,u=e;switch(e){case"keypress":if(0===bo(n))break e;case"keydown":case"keyup":s=Uo;break;case"focusin":u="focus",s=No;break;case"focusout":u="blur",s=No;break;case"beforeblur":case"afterblur":s=No;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=Po;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=To;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Wo;break;case Ur:case Hr:case Wr:s=qo;break;case Vr:s=Vo;break;case"scroll":s=_o;break;case"wheel":s=$o;break;case"copy":case"cut":case"paste":s=Mo;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Ho}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==d&&(null!=(m=er(h,d))&&c.push($i(h,m,p)))),f)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),a.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(u=n.relatedTarget||n.fromElement)||!da(u)&&!u[ca])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?da(u):null)&&(u!==(f=cr(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=Po,m="onMouseLeave",d="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Ho,m="onPointerLeave",d="onPointerEnter",h="pointer"),f=null==s?l:ha(s),p=null==u?l:ha(u),(l=new c(m,h+"leave",s,n,o)).target=f,l.relatedTarget=p,m=null,da(o)===r&&((c=new c(d,h+"enter",u,n,o)).target=p,c.relatedTarget=f,m=c),f=m,s&&u)e:{for(d=u,h=0,p=c=s;p;p=Gi(p))h++;for(p=0,m=d;m;m=Gi(m))p++;for(;0<h-p;)c=Gi(c),h--;for(;0<p-h;)d=Gi(d),p--;for(;h--;){if(c===d||null!==d&&c===d.alternate)break e;c=Gi(c),d=Gi(d)}c=null}else c=null;null!==s&&Zi(a,l,s,c,!1),null!==u&&null!==f&&Zi(a,f,u,c,!0)}if("select"===(s=(l=r?ha(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=ci;else if(oi(l))if(fi)v=xi;else{v=yi;var g=gi}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=bi);switch(v&&(v=v(e,r))?ii(a,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&yn(l,"number",l.value)),g=r?ha(r):window,e){case"focusin":(oi(g)||"true"===g.contentEditable)&&(_i=g,Ii=r,Pi=null);break;case"focusout":Pi=Ii=_i=null;break;case"mousedown":Ti=!0;break;case"contextmenu":case"mouseup":case"dragend":Ti=!1,Ni(a,n,o);break;case"selectionchange":if(Oi)break;case"keydown":case"keyup":Ni(a,n,o)}var y;if(Go)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else ni?ei(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Qo&&"ko"!==n.locale&&(ni||"onCompositionStart"!==b?"onCompositionEnd"===b&&ni&&(y=yo()):(vo="value"in(mo=o)?mo.value:mo.textContent,ni=!0)),0<(g=Ki(r,b)).length&&(b=new Do(b,e,null,n,o),a.push({event:b,listeners:g}),y?b.data=y:null!==(y=ti(n))&&(b.data=y))),(y=Xo?function(e,t){switch(e){case"compositionend":return ti(t);case"keypress":return 32!==t.which?null:(Yo=!0,Jo);case"textInput":return(e=t.data)===Jo&&Yo?null:e;default:return null}}(e,n):function(e,t){if(ni)return"compositionend"===e||!Go&&ei(e,t)?(e=yo(),go=vo=mo=null,ni=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Qo&&"ko"!==t.locale?null:t.data;default:return null}}(e,n))&&(0<(r=Ki(r,"onBeforeInput")).length&&(o=new Do("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}ji(a,t)}))}function $i(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ki(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=er(e,n))&&r.unshift($i(e,i,o)),null!=(i=er(e,t))&&r.push($i(e,i,o))),e=e.return}return r}function Gi(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Zi(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=er(n,i))&&a.unshift($i(n,s,l)):o||null!=(s=er(n,i))&&a.push($i(n,s,l))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Xi(){}var Qi=null,Ji=null;function Yi(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function ea(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ta="function"==typeof setTimeout?setTimeout:void 0,na="function"==typeof clearTimeout?clearTimeout:void 0;function ra(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function oa(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function ia(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var aa=0;var la=Math.random().toString(36).slice(2),sa="__reactFiber$"+la,ua="__reactProps$"+la,ca="__reactContainer$"+la,fa="__reactEvents$"+la;function da(e){var t=e[sa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ca]||n[sa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ia(e);null!==e;){if(n=e[sa])return n;e=ia(e)}return t}n=(e=n).parentNode}return null}function pa(e){return!(e=e[sa]||e[ca])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ha(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(bt(33))}function ma(e){return e[ua]||null}function va(e){var t=e[fa];return void 0===t&&(t=e[fa]=new Set),t}var ga=[],ya=-1;function ba(e){return{current:e}}function xa(e){0>ya||(e.current=ga[ya],ga[ya]=null,ya--)}function Ea(e,t){ya++,ga[ya]=e.current,e.current=t}var wa={},Sa=ba(wa),Ca=ba(!1),ka=wa;function La(e,t){var n=e.type.contextTypes;if(!n)return wa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ra(e){return null!=(e=e.childContextTypes)}function Oa(){xa(Ca),xa(Sa)}function _a(e,t,n){if(Sa.current!==wa)throw Error(bt(168));Ea(Sa,t),Ea(Ca,n)}function Ia(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(bt(108,ln(t)||"Unknown",o));return gt({},n,r)}function Pa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||wa,ka=Sa.current,Ea(Sa,e),Ea(Ca,Ca.current),!0}function Ta(e,t,n){var r=e.stateNode;if(!r)throw Error(bt(169));n?(e=Ia(e,t,ka),r.__reactInternalMemoizedMergedChildContext=e,xa(Ca),xa(Sa),Ea(Sa,e)):xa(Ca),Ea(Ca,n)}var Na=null,qa=null,Ma=yt.unstable_runWithPriority,Da=yt.unstable_scheduleCallback,Aa=yt.unstable_cancelCallback,za=yt.unstable_shouldYield,ja=yt.unstable_requestPaint,Fa=yt.unstable_now,Ba=yt.unstable_getCurrentPriorityLevel,Ua=yt.unstable_ImmediatePriority,Ha=yt.unstable_UserBlockingPriority,Wa=yt.unstable_NormalPriority,Va=yt.unstable_LowPriority,$a=yt.unstable_IdlePriority,Ka={},Ga=void 0!==ja?ja:function(){},Za=null,Xa=null,Qa=!1,Ja=Fa(),Ya=1e4>Ja?Fa:function(){return Fa()-Ja};function el(){switch(Ba()){case Ua:return 99;case Ha:return 98;case Wa:return 97;case Va:return 96;case $a:return 95;default:throw Error(bt(332))}}function tl(e){switch(e){case 99:return Ua;case 98:return Ha;case 97:return Wa;case 96:return Va;case 95:return $a;default:throw Error(bt(332))}}function nl(e,t){return e=tl(e),Ma(e,t)}function rl(e,t,n){return e=tl(e),Da(e,t,n)}function ol(){if(null!==Xa){var e=Xa;Xa=null,Aa(e)}il()}function il(){if(!Qa&&null!==Za){Qa=!0;var e=0;try{var t=Za;nl(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Za=null}catch(t){throw null!==Za&&(Za=Za.slice(e+1)),Da(Ua,ol),t}finally{Qa=!1}}}var al=qt.ReactCurrentBatchConfig;function ll(e,t){if(e&&e.defaultProps){for(var n in t=gt({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var sl=ba(null),ul=null,cl=null,fl=null;function dl(){fl=cl=ul=null}function pl(e){var t=sl.current;xa(sl),e.type._context._currentValue=t}function hl(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ml(e,t){ul=e,fl=cl=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&($s=!0),e.firstContext=null)}function vl(e,t){if(fl!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(fl=e,t=1073741823),t={context:e,observedBits:t,next:null},null===cl){if(null===ul)throw Error(bt(308));cl=t,ul.dependencies={lanes:0,firstContext:t,responders:null}}else cl=cl.next=t;return e._currentValue}var gl=!1;function yl(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function bl(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function xl(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function El(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function wl(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Sl(e,t,n,r){var o=e.updateQueue;gl=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===a?i=u:a.next=u,a=s;var c=e.alternate;if(null!==c){var f=(c=c.updateQueue).lastBaseUpdate;f!==a&&(null===f?c.firstBaseUpdate=u:f.next=u,c.lastBaseUpdate=s)}}if(null!==i){for(f=o.baseState,a=0,c=u=s=null;;){l=i.lane;var d=i.eventTime;if((r&l)===l){null!==c&&(c=c.next={eventTime:d,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var p=e,h=i;switch(l=t,d=n,h.tag){case 1:if("function"==typeof(p=h.payload)){f=p.call(d,f,l);break e}f=p;break e;case 3:p.flags=-4097&p.flags|64;case 0:if(null==(l="function"==typeof(p=h.payload)?p.call(d,f,l):p))break e;f=gt({},f,l);break e;case 2:gl=!0}}null!==i.callback&&(e.flags|=32,null===(l=o.effects)?o.effects=[i]:l.push(i))}else d={eventTime:d,lane:l,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===c?(u=c=d,s=f):c=c.next=d,a|=l;if(null===(i=i.next)){if(null===(l=o.shared.pending))break;i=l.next,l.next=null,o.lastBaseUpdate=l,o.shared.pending=null}}null===c&&(s=f),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,Gu|=a,e.lanes=a,e.memoizedState=f}}function Cl(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(bt(191,o));o.call(r)}}}var kl=(new vt.Component).refs;function Ll(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:gt({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Rl={isMounted:function(e){return!!(e=e._reactInternals)&&cr(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=bc(),o=xc(e),i=xl(r,o);i.payload=t,null!=n&&(i.callback=n),El(e,i),Ec(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=bc(),o=xc(e),i=xl(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),El(e,i),Ec(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=bc(),r=xc(e),o=xl(n,r);o.tag=2,null!=t&&(o.callback=t),El(e,o),Ec(e,r,n)}};function Ol(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!Si(n,r)||!Si(o,i))}function _l(e,t,n){var r=!1,o=wa,i=t.contextType;return"object"==typeof i&&null!==i?i=vl(i):(o=Ra(t)?ka:Sa.current,i=(r=null!=(r=t.contextTypes))?La(e,o):wa),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Rl,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Il(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Rl.enqueueReplaceState(t,t.state,null)}function Pl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=kl,yl(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=vl(i):(i=Ra(t)?ka:Sa.current,o.context=La(e,i)),Sl(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Ll(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Rl.enqueueReplaceState(o,o.state,null),Sl(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var Tl=Array.isArray;function Nl(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(bt(309));var r=n.stateNode}if(!r)throw Error(bt(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:((t=function(e){var t=r.refs;t===kl&&(t=r.refs={}),null===e?delete t[o]:t[o]=e})._stringRef=o,t)}if("string"!=typeof e)throw Error(bt(284));if(!n._owner)throw Error(bt(290,e))}return e}function ql(e,t){if("textarea"!==e.type)throw Error(bt(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ml(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Yc(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function a(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=rf(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Nl(e,t,n),r.return=e,r):((r=ef(n.type,n.key,n.props,null,e.mode,r)).ref=Nl(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=of(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function c(e,t,n,r,i){return null===t||7!==t.tag?((t=tf(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=rf(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case Mt:return(n=ef(t.type,t.key,t.props,null,e.mode,n)).ref=Nl(e,null,t),n.return=e,n;case Dt:return(t=of(t,e.mode,n)).return=e,t}if(Tl(t)||tn(t))return(t=tf(t,e.mode,n,null)).return=e,t;ql(e,t)}return null}function d(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case Mt:return n.key===o?n.type===At?c(e,t,n.props.children,r,o):s(e,t,n,r):null;case Dt:return n.key===o?u(e,t,n,r):null}if(Tl(n)||tn(n))return null!==o?null:c(e,t,n,r,null);ql(e,n)}return null}function p(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case Mt:return e=e.get(null===r.key?n:r.key)||null,r.type===At?c(t,e,r.props.children,o,r.key):s(t,e,r,o);case Dt:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(Tl(r)||tn(r))return c(t,e=e.get(n)||null,r,o,null);ql(t,r)}return null}function h(o,a,l,s){for(var u=null,c=null,h=a,m=a=0,v=null;null!==h&&m<l.length;m++){h.index>m?(v=h,h=null):v=h.sibling;var g=d(o,h,l[m],s);if(null===g){null===h&&(h=v);break}e&&h&&null===g.alternate&&t(o,h),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g,h=v}if(m===l.length)return n(o,h),u;if(null===h){for(;m<l.length;m++)null!==(h=f(o,l[m],s))&&(a=i(h,a,m),null===c?u=h:c.sibling=h,c=h);return u}for(h=r(o,h);m<l.length;m++)null!==(v=p(h,o,m,l[m],s))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),a=i(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&h.forEach((function(e){return t(o,e)})),u}function m(o,a,l,s){var u=tn(l);if("function"!=typeof u)throw Error(bt(150));if(null==(l=u.call(l)))throw Error(bt(151));for(var c=u=null,h=a,m=a=0,v=null,g=l.next();null!==h&&!g.done;m++,g=l.next()){h.index>m?(v=h,h=null):v=h.sibling;var y=d(o,h,g.value,s);if(null===y){null===h&&(h=v);break}e&&h&&null===y.alternate&&t(o,h),a=i(y,a,m),null===c?u=y:c.sibling=y,c=y,h=v}if(g.done)return n(o,h),u;if(null===h){for(;!g.done;m++,g=l.next())null!==(g=f(o,g.value,s))&&(a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return u}for(h=r(o,h);!g.done;m++,g=l.next())null!==(g=p(h,o,m,g.value,s))&&(e&&null!==g.alternate&&h.delete(null===g.key?m:g.key),a=i(g,a,m),null===c?u=g:c.sibling=g,c=g);return e&&h.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var s="object"==typeof i&&null!==i&&i.type===At&&null===i.key;s&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case Mt:e:{for(u=i.key,s=r;null!==s;){if(s.key===u){switch(s.tag){case 7:if(i.type===At){n(e,s.sibling),(r=o(s,i.props.children)).return=e,e=r;break e}break;default:if(s.elementType===i.type){n(e,s.sibling),(r=o(s,i.props)).ref=Nl(e,s,i),r.return=e,e=r;break e}}n(e,s);break}t(e,s),s=s.sibling}i.type===At?((r=tf(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=ef(i.type,i.key,i.props,null,e.mode,l)).ref=Nl(e,r,i),l.return=e,e=l)}return a(e);case Dt:e:{for(s=i.key;null!==r;){if(r.key===s){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=of(i,e.mode,l)).return=e,e=r}return a(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=rf(i,e.mode,l)).return=e,e=r),a(e);if(Tl(i))return h(e,r,i,l);if(tn(i))return m(e,r,i,l);if(u&&ql(e,i),void 0===i&&!s)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(bt(152,ln(e.type)||"Component"))}return n(e,r)}}var Dl=Ml(!0),Al=Ml(!1),zl={},jl=ba(zl),Fl=ba(zl),Bl=ba(zl);function Ul(e){if(e===zl)throw Error(bt(174));return e}function Hl(e,t){switch(Ea(Bl,t),Ea(Fl,e),Ea(jl,zl),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:On(null,"");break;default:t=On(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}xa(jl),Ea(jl,t)}function Wl(){xa(jl),xa(Fl),xa(Bl)}function Vl(e){Ul(Bl.current);var t=Ul(jl.current),n=On(t,e.type);t!==n&&(Ea(Fl,e),Ea(jl,n))}function $l(e){Fl.current===e&&(xa(jl),xa(Fl))}var Kl=ba(0);function Gl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Zl=null,Xl=null,Ql=!1;function Jl(e,t){var n=Qc(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Yl(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);case 13:default:return!1}}function es(e){if(Ql){var t=Xl;if(t){var n=t;if(!Yl(e,t)){if(!(t=oa(n.nextSibling))||!Yl(e,t))return e.flags=-1025&e.flags|2,Ql=!1,void(Zl=e);Jl(Zl,n)}Zl=e,Xl=oa(t.firstChild)}else e.flags=-1025&e.flags|2,Ql=!1,Zl=e}}function ts(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Zl=e}function ns(e){if(e!==Zl)return!1;if(!Ql)return ts(e),Ql=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!ea(t,e.memoizedProps))for(t=Xl;t;)Jl(e,t),t=oa(t.nextSibling);if(ts(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(bt(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Xl=oa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Xl=null}}else Xl=Zl?oa(e.stateNode.nextSibling):null;return!0}function rs(){Xl=Zl=null,Ql=!1}var os=[];function is(){for(var e=0;e<os.length;e++)os[e]._workInProgressVersionPrimary=null;os.length=0}var as=qt.ReactCurrentDispatcher,ls=qt.ReactCurrentBatchConfig,ss=0,us=null,cs=null,fs=null,ds=!1,ps=!1;function hs(){throw Error(bt(321))}function ms(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ei(e[n],t[n]))return!1;return!0}function vs(e,t,n,r,o,i){if(ss=i,us=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,as.current=null===e||null===e.memoizedState?Us:Hs,e=n(r,o),ps){i=0;do{if(ps=!1,!(25>i))throw Error(bt(301));i+=1,fs=cs=null,t.updateQueue=null,as.current=Ws,e=n(r,o)}while(ps)}if(as.current=Bs,t=null!==cs&&null!==cs.next,ss=0,fs=cs=us=null,ds=!1,t)throw Error(bt(300));return e}function gs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===fs?us.memoizedState=fs=e:fs=fs.next=e,fs}function ys(){if(null===cs){var e=us.alternate;e=null!==e?e.memoizedState:null}else e=cs.next;var t=null===fs?us.memoizedState:fs.next;if(null!==t)fs=t,cs=e;else{if(null===e)throw Error(bt(310));e={memoizedState:(cs=e).memoizedState,baseState:cs.baseState,baseQueue:cs.baseQueue,queue:cs.queue,next:null},null===fs?us.memoizedState=fs=e:fs=fs.next=e}return fs}function bs(e,t){return"function"==typeof t?t(e):t}function xs(e){var t=ys(),n=t.queue;if(null===n)throw Error(bt(311));n.lastRenderedReducer=e;var r=cs,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=a=i=null,s=o;do{var u=s.lane;if((ss&u)===u)null!==l&&(l=l.next={lane:0,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null}),r=s.eagerReducer===e?s.eagerState:e(r,s.action);else{var c={lane:u,action:s.action,eagerReducer:s.eagerReducer,eagerState:s.eagerState,next:null};null===l?(a=l=c,i=r):l=l.next=c,us.lanes|=u,Gu|=u}s=s.next}while(null!==s&&s!==o);null===l?i=r:l.next=a,Ei(r,t.memoizedState)||($s=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function Es(e){var t=ys(),n=t.queue;if(null===n)throw Error(bt(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var a=o=o.next;do{i=e(i,a.action),a=a.next}while(a!==o);Ei(i,t.memoizedState)||($s=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ws(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(ss&e)===e)&&(t._workInProgressVersionPrimary=r,os.push(t))),e)return n(t._source);throw os.push(t),Error(bt(350))}function Ss(e,t,n,r){var o=Fu;if(null===o)throw Error(bt(349));var i=t._getVersion,a=i(t._source),l=as.current,s=l.useState((function(){return ws(o,t,n)})),u=s[1],c=s[0];s=fs;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,h=f.source;f=f.subscribe;var m=us;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect((function(){d.getSnapshot=n,d.setSnapshot=u;var e=i(t._source);if(!Ei(a,e)){e=n(t._source),Ei(c,e)||(u(e),e=xc(m),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,l=e;0<l;){var s=31-oo(l),f=1<<s;r[s]|=e,l&=~f}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=d.getSnapshot,n=d.setSnapshot;try{n(e(t._source));var r=xc(m);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),Ei(p,n)&&Ei(h,t)&&Ei(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:bs,lastRenderedState:c}).dispatch=u=Fs.bind(null,us,e),s.queue=e,s.baseQueue=null,c=ws(o,t,n),s.memoizedState=s.baseState=c),c}function Cs(e,t,n){return Ss(ys(),e,t,n)}function ks(e){var t=gs();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:bs,lastRenderedState:e}).dispatch=Fs.bind(null,us,e),[t.memoizedState,e]}function Ls(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=us.updateQueue)?(t={lastEffect:null},us.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Rs(e){return e={current:e},gs().memoizedState=e}function Os(){return ys().memoizedState}function _s(e,t,n,r){var o=gs();us.flags|=e,o.memoizedState=Ls(1|t,n,void 0,void 0===r?null:r)}function Is(e,t,n,r){var o=ys();r=void 0===r?null:r;var i=void 0;if(null!==cs){var a=cs.memoizedState;if(i=a.destroy,null!==r&&ms(r,a.deps))return void Ls(t,n,i,r)}us.flags|=e,o.memoizedState=Ls(1|t,n,i,r)}function Ps(e,t){return _s(516,4,e,t)}function Ts(e,t){return Is(516,4,e,t)}function Ns(e,t){return Is(4,2,e,t)}function qs(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ms(e,t,n){return n=null!=n?n.concat([e]):null,Is(4,2,qs.bind(null,t,e),n)}function Ds(){}function As(e,t){var n=ys();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ms(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function zs(e,t){var n=ys();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ms(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function js(e,t){var n=el();nl(98>n?98:n,(function(){e(!0)})),nl(97<n?97:n,(function(){var n=ls.transition;ls.transition=1;try{e(!1),t()}finally{ls.transition=n}}))}function Fs(e,t,n){var r=bc(),o=xc(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===us||null!==a&&a===us)ps=ds=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var l=t.lastRenderedState,s=a(l,n);if(i.eagerReducer=a,i.eagerState=s,Ei(s,l))return}catch(e){}Ec(e,o,r)}}var Bs={readContext:vl,useCallback:hs,useContext:hs,useEffect:hs,useImperativeHandle:hs,useLayoutEffect:hs,useMemo:hs,useReducer:hs,useRef:hs,useState:hs,useDebugValue:hs,useDeferredValue:hs,useTransition:hs,useMutableSource:hs,useOpaqueIdentifier:hs,unstable_isNewReconciler:!1},Us={readContext:vl,useCallback:function(e,t){return gs().memoizedState=[e,void 0===t?null:t],e},useContext:vl,useEffect:Ps,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,_s(4,2,qs.bind(null,t,e),n)},useLayoutEffect:function(e,t){return _s(4,2,e,t)},useMemo:function(e,t){var n=gs();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gs();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Fs.bind(null,us,e),[r.memoizedState,e]},useRef:Rs,useState:ks,useDebugValue:Ds,useDeferredValue:function(e){var t=ks(e),n=t[0],r=t[1];return Ps((function(){var t=ls.transition;ls.transition=1;try{r(e)}finally{ls.transition=t}}),[e]),n},useTransition:function(){var e=ks(!1),t=e[0];return Rs(e=js.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=gs();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},Ss(r,e,t,n)},useOpaqueIdentifier:function(){if(Ql){var e=!1,t=function(e){return{$$typeof:Gt,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(aa++).toString(36))),Error(bt(355))})),n=ks(t)[1];return 0==(2&us.mode)&&(us.flags|=516,Ls(5,(function(){n("r:"+(aa++).toString(36))}),void 0,null)),t}return ks(t="r:"+(aa++).toString(36)),t},unstable_isNewReconciler:!1},Hs={readContext:vl,useCallback:As,useContext:vl,useEffect:Ts,useImperativeHandle:Ms,useLayoutEffect:Ns,useMemo:zs,useReducer:xs,useRef:Os,useState:function(){return xs(bs)},useDebugValue:Ds,useDeferredValue:function(e){var t=xs(bs),n=t[0],r=t[1];return Ts((function(){var t=ls.transition;ls.transition=1;try{r(e)}finally{ls.transition=t}}),[e]),n},useTransition:function(){var e=xs(bs)[0];return[Os().current,e]},useMutableSource:Cs,useOpaqueIdentifier:function(){return xs(bs)[0]},unstable_isNewReconciler:!1},Ws={readContext:vl,useCallback:As,useContext:vl,useEffect:Ts,useImperativeHandle:Ms,useLayoutEffect:Ns,useMemo:zs,useReducer:Es,useRef:Os,useState:function(){return Es(bs)},useDebugValue:Ds,useDeferredValue:function(e){var t=Es(bs),n=t[0],r=t[1];return Ts((function(){var t=ls.transition;ls.transition=1;try{r(e)}finally{ls.transition=t}}),[e]),n},useTransition:function(){var e=Es(bs)[0];return[Os().current,e]},useMutableSource:Cs,useOpaqueIdentifier:function(){return Es(bs)[0]},unstable_isNewReconciler:!1},Vs=qt.ReactCurrentOwner,$s=!1;function Ks(e,t,n,r){t.child=null===e?Al(t,null,n,r):Dl(t,e.child,n,r)}function Gs(e,t,n,r,o){n=n.render;var i=t.ref;return ml(t,o),r=vs(e,t,n,r,i,o),null===e||$s?(t.flags|=1,Ks(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,hu(e,t,o))}function Zs(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||Jc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=ef(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Xs(e,t,a,r,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:Si)(o,r)&&e.ref===t.ref)?hu(e,t,i):(t.flags|=1,(e=Yc(a,r)).ref=t.ref,e.return=t,t.child=e)}function Xs(e,t,n,r,o,i){if(null!==e&&Si(e.memoizedProps,r)&&e.ref===t.ref){if($s=!1,0==(i&o))return t.lanes=e.lanes,hu(e,t,i);0!=(16384&e.flags)&&($s=!0)}return Ys(e,t,n,r,i)}function Qs(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},_c(t,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},_c(t,e),null;t.memoizedState={baseLanes:0},_c(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,_c(t,r);return Ks(e,t,o,n),t.child}function Js(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ys(e,t,n,r,o){var i=Ra(n)?ka:Sa.current;return i=La(t,i),ml(t,o),n=vs(e,t,n,r,i,o),null===e||$s?(t.flags|=1,Ks(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,hu(e,t,o))}function eu(e,t,n,r,o){if(Ra(n)){var i=!0;Pa(t)}else i=!1;if(ml(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),_l(t,n,r),Pl(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,l=t.memoizedProps;a.props=l;var s=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=vl(u):u=La(t,u=Ra(n)?ka:Sa.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;f||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==r||s!==u)&&Il(t,a,r,u),gl=!1;var d=t.memoizedState;a.state=d,Sl(t,r,a,o),s=t.memoizedState,l!==r||d!==s||Ca.current||gl?("function"==typeof c&&(Ll(t,n,c,r),s=t.memoizedState),(l=gl||Ol(t,n,l,r,d,s,u))?(f||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=s),a.props=r,a.state=s,a.context=u,r=l):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,bl(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ll(t.type,l),a.props=u,f=t.pendingProps,d=a.context,"object"==typeof(s=n.contextType)&&null!==s?s=vl(s):s=La(t,s=Ra(n)?ka:Sa.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(l!==f||d!==s)&&Il(t,a,r,s),gl=!1,d=t.memoizedState,a.state=d,Sl(t,r,a,o);var h=t.memoizedState;l!==f||d!==h||Ca.current||gl?("function"==typeof p&&(Ll(t,n,p,r),h=t.memoizedState),(u=gl||Ol(t,n,u,r,d,h,s))?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,s),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,s)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=s,r=u):("function"!=typeof a.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=256),r=!1)}return tu(e,t,n,r,i,o)}function tu(e,t,n,r,o,i){Js(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&Ta(t,n,!1),hu(e,t,i);r=t.stateNode,Vs.current=t;var l=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Dl(t,e.child,null,i),t.child=Dl(t,null,l,i)):Ks(e,t,l,i),t.memoizedState=r.state,o&&Ta(t,n,!0),t.child}function nu(e){var t=e.stateNode;t.pendingContext?_a(0,t.pendingContext,t.pendingContext!==t.context):t.context&&_a(0,t.context,!1),Hl(e,t.containerInfo)}var ru,ou,iu,au={dehydrated:null,retryLane:0};function lu(e,t,n){var r,o=t.pendingProps,i=Kl.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),Ea(Kl,1&i),null===e?(void 0!==o.fallback&&es(t),e=o.children,i=o.fallback,a?(e=su(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=au,e):"number"==typeof o.unstable_expectedLoadTime?(e=su(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=au,t.lanes=33554432,e):((n=nf({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=cu(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=au,o):(n=uu(e,t,o.children,n),t.memoizedState=null,n))}function su(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=nf(t,o,0,null),n=tf(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function uu(e,t,n,r){var o=e.child;return e=o.sibling,n=Yc(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function cu(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=l,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Yc(a,l),null!==e?r=Yc(e,r):(r=tf(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function fu(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),hl(e.return,t)}function du(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function pu(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ks(e,t,r.children,n),0!=(2&(r=Kl.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&fu(e,n);else if(19===e.tag)fu(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ea(Kl,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Gl(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),du(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Gl(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}du(t,!0,n,null,i,t.lastEffect);break;case"together":du(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function hu(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Gu|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(bt(153));if(null!==t.child){for(n=Yc(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Yc(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function mu(e,t){if(!Ql)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function vu(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ra(t.type)&&Oa(),null;case 3:return Wl(),xa(Ca),xa(Sa),is(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(ns(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:$l(t);var o=Ul(Bl.current);if(n=t.type,null!==e&&null!=t.stateNode)ou(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(bt(166));return null}if(e=Ul(jl.current),ns(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[sa]=t,r[ua]=i,n){case"dialog":Fi("cancel",r),Fi("close",r);break;case"iframe":case"object":case"embed":Fi("load",r);break;case"video":case"audio":for(e=0;e<Di.length;e++)Fi(Di[e],r);break;case"source":Fi("error",r);break;case"img":case"image":case"link":Fi("error",r),Fi("load",r);break;case"details":Fi("toggle",r);break;case"input":hn(r,i),Fi("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Fi("invalid",r);break;case"textarea":wn(r,i),Fi("invalid",r)}for(var a in zn(n,i),e=null,i)i.hasOwnProperty(a)&&(o=i[a],"children"===a?"string"==typeof o?r.textContent!==o&&(e=["children",o]):"number"==typeof o&&r.textContent!==""+o&&(e=["children",""+o]):Et.hasOwnProperty(a)&&null!=o&&"onScroll"===a&&Fi("scroll",r));switch(n){case"input":cn(r),gn(r,i,!0);break;case"textarea":cn(r),Cn(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Xi)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(a=9===o.nodeType?o:o.ownerDocument,e===kn&&(e=Rn(n)),e===kn?"script"===n?((e=a.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),"select"===n&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[sa]=t,e[ua]=r,ru(e,t),t.stateNode=e,a=jn(n,r),n){case"dialog":Fi("cancel",e),Fi("close",e),o=r;break;case"iframe":case"object":case"embed":Fi("load",e),o=r;break;case"video":case"audio":for(o=0;o<Di.length;o++)Fi(Di[o],e);o=r;break;case"source":Fi("error",e),o=r;break;case"img":case"image":case"link":Fi("error",e),Fi("load",e),o=r;break;case"details":Fi("toggle",e),o=r;break;case"input":hn(e,r),o=pn(e,r),Fi("invalid",e);break;case"option":o=bn(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=gt({},r,{value:void 0}),Fi("invalid",e);break;case"textarea":wn(e,r),o=En(e,r),Fi("invalid",e);break;default:o=r}zn(n,o);var l=o;for(i in l)if(l.hasOwnProperty(i)){var s=l[i];"style"===i?Dn(e,s):"dangerouslySetInnerHTML"===i?null!=(s=s?s.__html:void 0)&&Pn(e,s):"children"===i?"string"==typeof s?("textarea"!==n||""!==s)&&Tn(e,s):"number"==typeof s&&Tn(e,""+s):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(Et.hasOwnProperty(i)?null!=s&&"onScroll"===i&&Fi("scroll",e):null!=s&&Nt(e,i,s,a))}switch(n){case"input":cn(e),gn(e,r,!1);break;case"textarea":cn(e),Cn(e);break;case"option":null!=r.value&&e.setAttribute("value",""+sn(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?xn(e,!!r.multiple,i,!1):null!=r.defaultValue&&xn(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Xi)}Yi(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)iu(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(bt(166));n=Ul(Bl.current),Ul(jl.current),ns(t)?(r=t.stateNode,n=t.memoizedProps,r[sa]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[sa]=t,t.stateNode=r)}return null;case 13:return xa(Kl),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&ns(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Kl.current)?0===Vu&&(Vu=3):(0!==Vu&&3!==Vu||(Vu=4),null===Fu||0==(134217727&Gu)&&0==(134217727&Zu)||kc(Fu,Uu))),(r||n)&&(t.flags|=4),null);case 4:return Wl(),null===e&&Ui(t.stateNode.containerInfo),null;case 10:return pl(t),null;case 17:return Ra(t.type)&&Oa(),null;case 19:if(xa(Kl),null===(r=t.memoizedState))return null;if(i=0!=(64&t.flags),null===(a=r.rendering))if(i)mu(r,!1);else{if(0!==Vu||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(a=Gl(e))){for(t.flags|=64,mu(r,!1),null!==(i=a.updateQueue)&&(t.updateQueue=i,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=2,i.nextEffect=null,i.firstEffect=null,i.lastEffect=null,null===(a=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ea(Kl,1&Kl.current|2),t.child}e=e.sibling}null!==r.tail&&Ya()>Yu&&(t.flags|=64,i=!0,mu(r,!1),t.lanes=33554432)}else{if(!i)if(null!==(e=Gl(a))){if(t.flags|=64,i=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),mu(r,!0),null===r.tail&&"hidden"===r.tailMode&&!a.alternate&&!Ql)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ya()-r.renderingStartTime>Yu&&1073741824!==n&&(t.flags|=64,i=!0,mu(r,!1),t.lanes=33554432);r.isBackwards?(a.sibling=t.child,t.child=a):(null!==(n=r.last)?n.sibling=a:t.child=a,r.last=a)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ya(),n.sibling=null,t=Kl.current,Ea(Kl,i?1&t|2:1&t),n):null;case 23:case 24:return Ic(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(bt(156,t.tag))}function gu(e){switch(e.tag){case 1:Ra(e.type)&&Oa();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Wl(),xa(Ca),xa(Sa),is(),0!=(64&(t=e.flags)))throw Error(bt(285));return e.flags=-4097&t|64,e;case 5:return $l(e),null;case 13:return xa(Kl),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return xa(Kl),null;case 4:return Wl(),null;case 10:return pl(e),null;case 23:case 24:return Ic(),null;default:return null}}function yu(e,t){try{var n="",r=t;do{n+=an(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function bu(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}ru=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ou=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ul(jl.current);var i,a=null;switch(n){case"input":o=pn(e,o),r=pn(e,r),a=[];break;case"option":o=bn(e,o),r=bn(e,r),a=[];break;case"select":o=gt({},o,{value:void 0}),r=gt({},r,{value:void 0}),a=[];break;case"textarea":o=En(e,o),r=En(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Xi)}for(u in zn(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(Et.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var s=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&s!==l&&(null!=s||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&l[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(a||(a=[]),a.push(u,n)),n=s;else"dangerouslySetInnerHTML"===u?(s=s?s.__html:void 0,l=l?l.__html:void 0,null!=s&&l!==s&&(a=a||[]).push(u,s)):"children"===u?"string"!=typeof s&&"number"!=typeof s||(a=a||[]).push(u,""+s):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(Et.hasOwnProperty(u)?(null!=s&&"onScroll"===u&&Fi("scroll",e),a||l===s||(a=[])):"object"==typeof s&&null!==s&&s.$$typeof===Gt?s.toString():(a=a||[]).push(u,s))}n&&(a=a||[]).push("style",n);var u=a;(t.updateQueue=u)&&(t.flags|=4)}},iu=function(e,t,n,r){n!==r&&(t.flags|=4)};var xu="function"==typeof WeakMap?WeakMap:Map;function Eu(e,t,n){(n=xl(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){rc||(rc=!0,oc=r),bu(0,t)},n}function wu(e,t,n){(n=xl(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return bu(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===ic?ic=new Set([this]):ic.add(this),bu(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var Su="function"==typeof WeakSet?WeakSet:Set;function Cu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Kc(e,t)}else t.current=null}function ku(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:ll(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&ra(t.stateNode.containerInfo));case 5:case 6:case 4:case 17:return}throw Error(bt(163))}function Lu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Wc(n,e),Hc(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:ll(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&Cl(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}Cl(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Yi(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Dr(n)))));case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(bt(163))}function Ru(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Mn("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function Ou(e,t){if(qa&&"function"==typeof qa.onCommitFiberUnmount)try{qa.onCommitFiberUnmount(Na,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Wc(t,n);else{r=t;try{o()}catch(e){Kc(r,e)}}n=n.next}while(n!==e)}break;case 1:if(Cu(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Kc(t,e)}break;case 5:Cu(t);break;case 4:Tu(e,t)}}function _u(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Iu(e){return 5===e.tag||3===e.tag||4===e.tag}function Pu(e){e:{for(var t=e.return;null!==t;){if(Iu(t))break e;t=t.return}throw Error(bt(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(bt(161))}16&n.flags&&(Tn(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||Iu(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?8===r.nodeType?r.parentNode.insertBefore(t,n):r.insertBefore(t,n):(8===r.nodeType?(n=r.parentNode).insertBefore(t,r):(n=r).appendChild(t),null!==(r=r._reactRootContainer)&&void 0!==r||null!==n.onclick||(n.onclick=Xi));else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t):function e(t,n,r){var o=t.tag,i=5===o||6===o;if(i)t=i?t.stateNode:t.stateNode.instance,n?r.insertBefore(t,n):r.appendChild(t);else if(4!==o&&null!==(t=t.child))for(e(t,n,r),t=t.sibling;null!==t;)e(t,n,r),t=t.sibling}(e,n,t)}function Tu(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(bt(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var a=e,l=o,s=l;;)if(Ou(a,s),null!==s.child&&4!==s.tag)s.child.return=s,s=s.child;else{if(s===l)break e;for(;null===s.sibling;){if(null===s.return||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}r?(a=n,l=o.stateNode,8===a.nodeType?a.parentNode.removeChild(l):a.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(Ou(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Nu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[ua]=r,"input"===e&&"radio"===r.type&&null!=r.name&&mn(n,r),jn(e,o),t=jn(e,r),o=0;o<i.length;o+=2){var a=i[o],l=i[o+1];"style"===a?Dn(n,l):"dangerouslySetInnerHTML"===a?Pn(n,l):"children"===a?Tn(n,l):Nt(n,a,l,t)}switch(e){case"input":vn(n,r);break;case"textarea":Sn(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?xn(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?xn(n,!!r.multiple,r.defaultValue,!0):xn(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(bt(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Dr(n.containerInfo)));case 12:return;case 13:return null!==t.memoizedState&&(Ju=Ya(),Ru(t.child,!0)),void qu(t);case 19:return void qu(t);case 17:return;case 23:case 24:return void Ru(t,null!==t.memoizedState)}throw Error(bt(163))}function qu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Su),t.forEach((function(t){var r=Zc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Mu(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Du=Math.ceil,Au=qt.ReactCurrentDispatcher,zu=qt.ReactCurrentOwner,ju=0,Fu=null,Bu=null,Uu=0,Hu=0,Wu=ba(0),Vu=0,$u=null,Ku=0,Gu=0,Zu=0,Xu=0,Qu=null,Ju=0,Yu=1/0;function ec(){Yu=Ya()+500}var tc,nc=null,rc=!1,oc=null,ic=null,ac=!1,lc=null,sc=90,uc=[],cc=[],fc=null,dc=0,pc=null,hc=-1,mc=0,vc=0,gc=null,yc=!1;function bc(){return 0!=(48&ju)?Ya():-1!==hc?hc:hc=Ya()}function xc(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===el()?1:2;if(0===mc&&(mc=Ku),0!==al.transition){0!==vc&&(vc=null!==Qu?Qu.pendingLanes:0),e=mc;var t=4186112&~vc;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=el(),0!=(4&ju)&&98===e?e=eo(12,mc):e=eo(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),mc),e}function Ec(e,t,n){if(50<dc)throw dc=0,pc=null,Error(bt(185));if(null===(e=wc(e,t)))return null;ro(e,t,n),e===Fu&&(Zu|=t,4===Vu&&kc(e,Uu));var r=el();1===t?0!=(8&ju)&&0==(48&ju)?Lc(e):(Sc(e,n),0===ju&&(ec(),ol())):(0==(4&ju)||98!==r&&99!==r||(null===fc?fc=new Set([e]):fc.add(e)),Sc(e,n)),Qu=e}function wc(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function Sc(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-oo(a),s=1<<l,u=i[l];if(-1===u){if(0==(s&r)||0!=(s&o)){u=t,Qr(s);var c=Xr;i[l]=10<=c?u+250:6<=c?u+5e3:-1}}else u<=t&&(e.expiredLanes|=s);a&=~s}if(r=Jr(e,e===Fu?Uu:0),t=Xr,0===r)null!==n&&(n!==Ka&&Aa(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Ka&&Aa(n)}15===t?(n=Lc.bind(null,e),null===Za?(Za=[n],Xa=Da(Ua,il)):Za.push(n),n=Ka):14===t?n=rl(99,Lc.bind(null,e)):n=rl(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(bt(358,e))}}(t),Cc.bind(null,e)),e.callbackPriority=t,e.callbackNode=n}}function Cc(e){if(hc=-1,vc=mc=0,0!=(48&ju))throw Error(bt(327));var t=e.callbackNode;if(Uc()&&e.callbackNode!==t)return null;var n=Jr(e,e===Fu?Uu:0);if(0===n)return null;var r=n,o=ju;ju|=16;var i=Nc();for(Fu===e&&Uu===r||(ec(),Pc(e,r));;)try{Dc();break}catch(t){Tc(e,t)}if(dl(),Au.current=i,ju=o,null!==Bu?r=0:(Fu=null,Uu=0,r=Vu),0!=(Ku&Zu))Pc(e,0);else if(0!==r){if(2===r&&(ju|=64,e.hydrate&&(e.hydrate=!1,ra(e.containerInfo)),0!==(n=Yr(e))&&(r=qc(e,n))),1===r)throw t=$u,Pc(e,0),kc(e,n),Sc(e,Ya()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(bt(345));case 2:jc(e);break;case 3:if(kc(e,n),(62914560&n)===n&&10<(r=Ju+500-Ya())){if(0!==Jr(e,0))break;if(((o=e.suspendedLanes)&n)!==n){bc(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ta(jc.bind(null,e),r);break}jc(e);break;case 4:if(kc(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var a=31-oo(n);i=1<<a,(a=r[a])>o&&(o=a),n&=~i}if(n=o,10<(n=(120>(n=Ya()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Du(n/1960))-n)){e.timeoutHandle=ta(jc.bind(null,e),n);break}jc(e);break;case 5:jc(e);break;default:throw Error(bt(329))}}return Sc(e,Ya()),e.callbackNode===t?Cc.bind(null,e):null}function kc(e,t){for(t&=~Xu,t&=~Zu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-oo(t),r=1<<n;e[n]=-1,t&=~r}}function Lc(e){if(0!=(48&ju))throw Error(bt(327));if(Uc(),e===Fu&&0!=(e.expiredLanes&Uu)){var t=Uu,n=qc(e,t);0!=(Ku&Zu)&&(n=qc(e,t=Jr(e,t)))}else n=qc(e,t=Jr(e,0));if(0!==e.tag&&2===n&&(ju|=64,e.hydrate&&(e.hydrate=!1,ra(e.containerInfo)),0!==(t=Yr(e))&&(n=qc(e,t))),1===n)throw n=$u,Pc(e,0),kc(e,t),Sc(e,Ya()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,jc(e),Sc(e,Ya()),null}function Rc(e,t){var n=ju;ju|=1;try{return e(t)}finally{0===(ju=n)&&(ec(),ol())}}function Oc(e,t){var n=ju;ju&=-2,ju|=8;try{return e(t)}finally{0===(ju=n)&&(ec(),ol())}}function _c(e,t){Ea(Wu,Hu),Hu|=t,Ku|=t}function Ic(){Hu=Wu.current,xa(Wu)}function Pc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,na(n)),null!==Bu)for(n=Bu.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oa();break;case 3:Wl(),xa(Ca),xa(Sa),is();break;case 5:$l(r);break;case 4:Wl();break;case 13:case 19:xa(Kl);break;case 10:pl(r);break;case 23:case 24:Ic()}n=n.return}Fu=e,Bu=Yc(e.current,null),Uu=Hu=Ku=t,Vu=0,$u=null,Xu=Zu=Gu=0}function Tc(e,t){for(;;){var n=Bu;try{if(dl(),as.current=Bs,ds){for(var r=us.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ds=!1}if(ss=0,fs=cs=us=null,ps=!1,zu.current=null,null===n||null===n.return){Vu=1,$u=t,Bu=null;break}e:{var i=e,a=n.return,l=n,s=t;if(t=Uu,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var u=s;if(0==(2&l.mode)){var c=l.alternate;c?(l.updateQueue=c.updateQueue,l.memoizedState=c.memoizedState,l.lanes=c.lanes):(l.updateQueue=null,l.memoizedState=null)}var f=0!=(1&Kl.current),d=a;do{var p;if(p=13===d.tag){var h=d.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=d.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!f)}}if(p){var v=d.updateQueue;if(null===v){var g=new Set;g.add(u),d.updateQueue=g}else v.add(u);if(0==(2&d.mode)){if(d.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=xl(-1,1);y.tag=2,El(l,y)}l.lanes|=1;break e}s=void 0,l=t;var b=i.pingCache;if(null===b?(b=i.pingCache=new xu,s=new Set,b.set(u,s)):void 0===(s=b.get(u))&&(s=new Set,b.set(u,s)),!s.has(l)){s.add(l);var x=Gc.bind(null,i,u,l);u.then(x,x)}d.flags|=4096,d.lanes=t;break e}d=d.return}while(null!==d);s=Error((ln(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Vu&&(Vu=2),s=yu(s,l),d=a;do{switch(d.tag){case 3:i=s,d.flags|=4096,t&=-t,d.lanes|=t,wl(d,Eu(0,i,t));break e;case 1:i=s;var E=d.type,w=d.stateNode;if(0==(64&d.flags)&&("function"==typeof E.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===ic||!ic.has(w)))){d.flags|=4096,t&=-t,d.lanes|=t,wl(d,wu(d,i,t));break e}}d=d.return}while(null!==d)}zc(n)}catch(e){t=e,Bu===n&&null!==n&&(Bu=n=n.return);continue}break}}function Nc(){var e=Au.current;return Au.current=Bs,null===e?Bs:e}function qc(e,t){var n=ju;ju|=16;var r=Nc();for(Fu===e&&Uu===t||Pc(e,t);;)try{Mc();break}catch(t){Tc(e,t)}if(dl(),ju=n,Au.current=r,null!==Bu)throw Error(bt(261));return Fu=null,Uu=0,Vu}function Mc(){for(;null!==Bu;)Ac(Bu)}function Dc(){for(;null!==Bu&&!za();)Ac(Bu)}function Ac(e){var t=tc(e.alternate,e,Hu);e.memoizedProps=e.pendingProps,null===t?zc(e):Bu=t,zu.current=null}function zc(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=vu(n,t,Hu)))return void(Bu=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Hu)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=gu(t)))return n.flags&=2047,void(Bu=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Bu=t);Bu=t=e}while(null!==t);0===Vu&&(Vu=5)}function jc(e){var t=el();return nl(99,Fc.bind(null,e,t)),null}function Fc(e,t){do{Uc()}while(null!==lc);if(0!=(48&ju))throw Error(bt(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(bt(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<i;){var s=31-oo(i),u=1<<s;o[s]=0,a[s]=-1,l[s]=-1,i&=~u}if(null!==fc&&0==(24&r)&&fc.has(e)&&fc.delete(e),e===Fu&&(Bu=Fu=null,Uu=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=ju,ju|=32,zu.current=null,Qi=uo,Ri(a=Li())){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,s=u.focusNode,u=u.focusOffset;try{l.nodeType,s.nodeType}catch(e){l=null;break e}var c=0,f=-1,d=-1,p=0,h=0,m=a,v=null;t:for(;;){for(var g;m!==l||0!==i&&3!==m.nodeType||(f=c+i),m!==s||0!==u&&3!==m.nodeType||(d=c+u),3===m.nodeType&&(c+=m.nodeValue.length),null!==(g=m.firstChild);)v=m,m=g;for(;;){if(m===a)break t;if(v===l&&++p===i&&(f=c),v===s&&++h===u&&(d=c),null!==(g=m.nextSibling))break;v=(m=v).parentNode}m=g}l=-1===f||-1===d?null:{start:f,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;Ji={focusedElem:a,selectionRange:l},uo=!1,gc=null,yc=!1,nc=r;do{try{Bc()}catch(e){if(null===nc)throw Error(bt(330));Kc(nc,e),nc=nc.nextEffect}}while(null!==nc);gc=null,nc=r;do{try{for(a=e;null!==nc;){var y=nc.flags;if(16&y&&Tn(nc.stateNode,""),128&y){var b=nc.alternate;if(null!==b){var x=b.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:Pu(nc),nc.flags&=-3;break;case 6:Pu(nc),nc.flags&=-3,Nu(nc.alternate,nc);break;case 1024:nc.flags&=-1025;break;case 1028:nc.flags&=-1025,Nu(nc.alternate,nc);break;case 4:Nu(nc.alternate,nc);break;case 8:Tu(a,l=nc);var E=l.alternate;_u(l),null!==E&&_u(E)}nc=nc.nextEffect}}catch(e){if(null===nc)throw Error(bt(330));Kc(nc,e),nc=nc.nextEffect}}while(null!==nc);if(x=Ji,b=Li(),y=x.focusedElem,a=x.selectionRange,b!==y&&y&&y.ownerDocument&&function e(t,n){return!(!t||!n)&&(t===n||(!t||3!==t.nodeType)&&(n&&3===n.nodeType?e(t,n.parentNode):"contains"in t?t.contains(n):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(n))))}(y.ownerDocument.documentElement,y)){null!==a&&Ri(y)&&(b=a.start,void 0===(x=a.end)&&(x=b),"selectionStart"in y?(y.selectionStart=b,y.selectionEnd=Math.min(x,y.value.length)):(x=(b=y.ownerDocument||document)&&b.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,E=Math.min(a.start,l),a=void 0===a.end?E:Math.min(a.end,l),!x.extend&&E>a&&(l=a,a=E,E=l),l=ki(y,E),i=ki(y,a),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((b=b.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),E>a?(x.addRange(b),x.extend(i.node,i.offset)):(b.setEnd(i.node,i.offset),x.addRange(b))))),b=[];for(x=y;x=x.parentNode;)1===x.nodeType&&b.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<b.length;y++)(x=b[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}uo=!!Qi,Ji=Qi=null,e.current=n,nc=r;do{try{for(y=e;null!==nc;){var w=nc.flags;if(36&w&&Lu(y,nc.alternate,nc),128&w){b=void 0;var S=nc.ref;if(null!==S){var C=nc.stateNode;switch(nc.tag){case 5:b=C;break;default:b=C}"function"==typeof S?S(b):S.current=b}}nc=nc.nextEffect}}catch(e){if(null===nc)throw Error(bt(330));Kc(nc,e),nc=nc.nextEffect}}while(null!==nc);nc=null,Ga(),ju=o}else e.current=n;if(ac)ac=!1,lc=e,sc=t;else for(nc=r;null!==nc;)t=nc.nextEffect,nc.nextEffect=null,8&nc.flags&&((w=nc).sibling=null,w.stateNode=null),nc=t;if(0===(r=e.pendingLanes)&&(ic=null),1===r?e===pc?dc++:(dc=0,pc=e):dc=0,n=n.stateNode,qa&&"function"==typeof qa.onCommitFiberRoot)try{qa.onCommitFiberRoot(Na,n,void 0,64==(64&n.current.flags))}catch(e){}if(Sc(e,Ya()),rc)throw rc=!1,e=oc,oc=null,e;return 0!=(8&ju)||ol(),null}function Bc(){for(;null!==nc;){var e=nc.alternate;yc||null===gc||(0!=(8&nc.flags)?hr(nc,gc)&&(yc=!0):13===nc.tag&&Mu(e,nc)&&hr(nc,gc)&&(yc=!0));var t=nc.flags;0!=(256&t)&&ku(e,nc),0==(512&t)||ac||(ac=!0,rl(97,(function(){return Uc(),null}))),nc=nc.nextEffect}}function Uc(){if(90!==sc){var e=97<sc?97:sc;return sc=90,nl(e,Vc)}return!1}function Hc(e,t){uc.push(t,e),ac||(ac=!0,rl(97,(function(){return Uc(),null})))}function Wc(e,t){cc.push(t,e),ac||(ac=!0,rl(97,(function(){return Uc(),null})))}function Vc(){if(null===lc)return!1;var e=lc;if(lc=null,0!=(48&ju))throw Error(bt(331));var t=ju;ju|=32;var n=cc;cc=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],a=o.destroy;if(o.destroy=void 0,"function"==typeof a)try{a()}catch(e){if(null===i)throw Error(bt(330));Kc(i,e)}}for(n=uc,uc=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(bt(330));Kc(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return ju=t,ol(),!0}function $c(e,t,n){El(e,t=Eu(0,t=yu(n,t),1)),t=bc(),null!==(e=wc(e,1))&&(ro(e,1,t),Sc(e,t))}function Kc(e,t){if(3===e.tag)$c(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){$c(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===ic||!ic.has(r))){var o=wu(n,e=yu(t,e),1);if(El(n,o),o=bc(),null!==(n=wc(n,1)))ro(n,1,o),Sc(n,o);else if("function"==typeof r.componentDidCatch&&(null===ic||!ic.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Gc(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=bc(),e.pingedLanes|=e.suspendedLanes&n,Fu===e&&(Uu&n)===n&&(4===Vu||3===Vu&&(62914560&Uu)===Uu&&500>Ya()-Ju?Pc(e,0):Xu|=n),Sc(e,t)}function Zc(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===el()?1:2:(0===mc&&(mc=Ku),0===(t=to(62914560&~mc))&&(t=4194304))),n=bc(),null!==(e=wc(e,t))&&(ro(e,t,n),Sc(e,n))}function Xc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Qc(e,t,n,r){return new Xc(e,t,n,r)}function Jc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Yc(e,t){var n=e.alternate;return null===n?((n=Qc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ef(e,t,n,r,o,i){var a=2;if(r=e,"function"==typeof e)Jc(e)&&(a=1);else if("string"==typeof e)a=5;else e:switch(e){case At:return tf(n.children,o,i,t);case Zt:a=8,o|=16;break;case zt:a=8,o|=1;break;case jt:return(e=Qc(12,n,t,8|o)).elementType=jt,e.type=jt,e.lanes=i,e;case Ht:return(e=Qc(13,n,t,o)).type=Ht,e.elementType=Ht,e.lanes=i,e;case Wt:return(e=Qc(19,n,t,o)).elementType=Wt,e.lanes=i,e;case Xt:return nf(n,o,i,t);case Qt:return(e=Qc(24,n,t,o)).elementType=Qt,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case Ft:a=10;break e;case Bt:a=9;break e;case Ut:a=11;break e;case Vt:a=14;break e;case $t:a=16,r=null;break e;case Kt:a=22;break e}throw Error(bt(130,null==e?e:typeof e,""))}return(t=Qc(a,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function tf(e,t,n,r){return(e=Qc(7,e,r,t)).lanes=n,e}function nf(e,t,n,r){return(e=Qc(23,e,r,t)).elementType=Xt,e.lanes=n,e}function rf(e,t,n){return(e=Qc(6,e,null,t)).lanes=n,e}function of(e,t,n){return(t=Qc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function af(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=no(0),this.expirationTimes=no(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=no(0),this.mutableSourceEagerHydrationData=null}function lf(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:Dt,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function sf(e,t,n,r){var o=t.current,i=bc(),a=xc(o);e:if(n){t:{if(cr(n=n._reactInternals)!==n||1!==n.tag)throw Error(bt(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Ra(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(bt(171))}if(1===n.tag){var s=n.type;if(Ra(s)){n=Ia(n,s,l);break e}}n=l}else n=wa;return null===t.context?t.context=n:t.pendingContext=n,(t=xl(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),El(o,t),Ec(o,a,i),a}function uf(e){if(!(e=e.current).child)return null;switch(e.child.tag){case 5:default:return e.child.stateNode}}function cf(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ff(e,t){cf(e,t),(e=e.alternate)&&cf(e,t)}function df(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new af(e,t,null!=n&&!0===n.hydrate),t=Qc(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,yl(t),e[ca]=n.current,Ui(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function pf(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function hf(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var l=o;o=function(){var e=uf(a);l.call(e)}}sf(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new df(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var s=o;o=function(){var e=uf(a);s.call(e)}}Oc((function(){sf(t,a,e,o)}))}return uf(a)}function mf(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!pf(t))throw Error(bt(200));return lf(e,t,null,n)}tc=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||Ca.current)$s=!0;else{if(0==(n&r)){switch($s=!1,t.tag){case 3:nu(t),rs();break;case 5:Vl(t);break;case 1:Ra(t.type)&&Pa(t);break;case 4:Hl(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;Ea(sl,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?lu(e,t,n):(Ea(Kl,1&Kl.current),null!==(t=hu(e,t,n))?t.sibling:null);Ea(Kl,1&Kl.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return pu(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ea(Kl,Kl.current),r)break;return null;case 23:case 24:return t.lanes=0,Qs(e,t,n)}return hu(e,t,n)}$s=0!=(16384&e.flags)}else $s=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=La(t,Sa.current),ml(t,n),o=vs(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ra(r)){var i=!0;Pa(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,yl(t);var a=r.getDerivedStateFromProps;"function"==typeof a&&Ll(t,r,a,e),o.updater=Rl,t.stateNode=o,o._reactInternals=t,Pl(t,r,e,n),t=tu(null,t,r,!0,i,n)}else t.tag=0,Ks(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return Jc(e)?1:0;if(null!=e){if((e=e.$$typeof)===Ut)return 11;if(e===Vt)return 14}return 2}(o),e=ll(o,e),i){case 0:t=Ys(null,t,o,e,n);break e;case 1:t=eu(null,t,o,e,n);break e;case 11:t=Gs(null,t,o,e,n);break e;case 14:t=Zs(null,t,o,ll(o.type,e),r,n);break e}throw Error(bt(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ys(e,t,r,o=t.elementType===r?o:ll(r,o),n);case 1:return r=t.type,o=t.pendingProps,eu(e,t,r,o=t.elementType===r?o:ll(r,o),n);case 3:if(nu(t),r=t.updateQueue,null===e||null===r)throw Error(bt(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,bl(e,t),Sl(t,r,null,n),(r=t.memoizedState.element)===o)rs(),t=hu(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Xl=oa(t.stateNode.containerInfo.firstChild),Zl=t,i=Ql=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],os.push(i);for(n=Al(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Ks(e,t,r,n),rs();t=t.child}return t;case 5:return Vl(t),null===e&&es(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,a=o.children,ea(r,o)?a=null:null!==i&&ea(r,i)&&(t.flags|=16),Js(e,t),Ks(e,t,a,n),t.child;case 6:return null===e&&es(t),null;case 13:return lu(e,t,n);case 4:return Hl(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Dl(t,null,r,n):Ks(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Gs(e,t,r,o=t.elementType===r?o:ll(r,o),n);case 7:return Ks(e,t,t.pendingProps,n),t.child;case 8:case 12:return Ks(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,a=t.memoizedProps,i=o.value;var l=t.type._context;if(Ea(sl,l._currentValue),l._currentValue=i,null!==a)if(l=a.value,0===(i=Ei(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(a.children===o.children&&!Ca.current){t=hu(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var s=l.dependencies;if(null!==s){a=l.child;for(var u=s.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===l.tag&&((u=xl(-1,n&-n)).tag=2,El(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),hl(l.return,n),s.lanes|=n;break}u=u.next}}else a=10===l.tag&&l.type===t.type?null:l.child;if(null!==a)a.return=l;else for(a=l;null!==a;){if(a===t){a=null;break}if(null!==(l=a.sibling)){l.return=a.return,a=l;break}a=a.return}l=a}Ks(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ml(t,n),r=r(o=vl(o,i.unstable_observedBits)),t.flags|=1,Ks(e,t,r,n),t.child;case 14:return i=ll(o=t.type,t.pendingProps),Zs(e,t,o,i=ll(o.type,i),r,n);case 15:return Xs(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ll(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Ra(r)?(e=!0,Pa(t)):e=!1,ml(t,n),_l(t,r,o),Pl(t,r,o,n),tu(null,t,r,!0,e,n);case 19:return pu(e,t,n);case 23:case 24:return Qs(e,t,n)}throw Error(bt(156,t.tag))},df.prototype.render=function(e){sf(e,this._internalRoot,null,null)},df.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;sf(null,e,null,(function(){t[ca]=null}))},mr=function(e){13===e.tag&&(Ec(e,4,bc()),ff(e,4))},vr=function(e){13===e.tag&&(Ec(e,67108864,bc()),ff(e,67108864))},gr=function(e){if(13===e.tag){var t=bc(),n=xc(e);Ec(e,n,t),ff(e,n)}},yr=function(e,t){return t()},Bn=function(e,t,n){switch(t){case"input":if(vn(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ma(r);if(!o)throw Error(bt(90));fn(r),vn(r,o)}}}break;case"textarea":Sn(e,n);break;case"select":null!=(t=n.value)&&xn(e,!!n.multiple,t,!1)}},Kn=Rc,Gn=function(e,t,n,r,o){var i=ju;ju|=4;try{return nl(98,e.bind(null,t,n,r,o))}finally{0===(ju=i)&&(ec(),ol())}},Zn=function(){0==(49&ju)&&(function(){if(null!==fc){var e=fc;fc=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,Sc(e,Ya())}))}ol()}(),Uc())},Xn=function(e,t){var n=ju;ju|=2;try{return e(t)}finally{0===(ju=n)&&(ec(),ol())}};var vf={Events:[pa,ha,ma,Vn,$n,Uc,{current:!1}]},gf={findFiberByHostInstance:da,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},yf={bundleType:gf.bundleType,version:gf.version,rendererPackageName:gf.rendererPackageName,rendererConfig:gf.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:qt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=pr(e))?null:e.stateNode},findFiberByHostInstance:gf.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var bf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!bf.isDisabled&&bf.supportsFiber)try{Na=bf.inject(yf),qa=bf}catch(In){}}pt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vf,pt.createPortal=mf,pt.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(bt(188));throw Error(bt(268,Object.keys(e)))}return e=null===(e=pr(t))?null:e.stateNode},pt.flushSync=function(e,t){var n=ju;if(0!=(48&n))return e(t);ju|=1;try{if(e)return nl(99,e.bind(null,t))}finally{ju=n,ol()}},pt.hydrate=function(e,t,n){if(!pf(t))throw Error(bt(200));return hf(null,e,t,!0,n)},pt.render=function(e,t,n){if(!pf(t))throw Error(bt(200));return hf(null,e,t,!1,n)},pt.unmountComponentAtNode=function(e){if(!pf(e))throw Error(bt(40));return!!e._reactRootContainer&&(Oc((function(){hf(null,null,e,!1,(function(){e._reactRootContainer=null,e[ca]=null}))})),!0)},pt.unstable_batchedUpdates=Rc,pt.unstable_createPortal=function(e,t){return mf(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},pt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!pf(n))throw Error(bt(200));if(null==e||void 0===e._reactInternals)throw Error(bt(38));return hf(e,t,n,!1,r)},pt.version="17.0.2",function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),dt.exports=pt;var xf=dt.exports;function Ef(){return(Ef=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 wf(e){return(wf="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 Sf(e){return(Sf="function"==typeof Symbol&&"symbol"===wf(Symbol.iterator)?function(e){return wf(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":wf(e)})(e)}function Cf(e){return e&&"object"===Sf(e)&&e.constructor===Object}function kf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},r=n.clone?Ef({},e):e;return Cf(e)&&Cf(t)&&Object.keys(t).forEach((function(o){"__proto__"!==o&&(Cf(t[o])&&o in e?r[o]=kf(e[o],t[o],n):r[o]=t[o])})),r}function Lf(){}function Rf(){}Rf.resetWarningCache=Lf;function Of(e){for(var t="https://material-ui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}!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:Rf,resetWarningCache:Lf};n.PropTypes=n}();var _f={exports:{}},If={},Pf=60103,Tf=60106,Nf=60107,qf=60108,Mf=60114,Df=60109,Af=60110,zf=60112,jf=60113,Ff=60120,Bf=60115,Uf=60116,Hf=60121,Wf=60122,Vf=60117,$f=60129,Kf=60131;if("function"==typeof Symbol&&Symbol.for){var Gf=Symbol.for;Pf=Gf("react.element"),Tf=Gf("react.portal"),Nf=Gf("react.fragment"),qf=Gf("react.strict_mode"),Mf=Gf("react.profiler"),Df=Gf("react.provider"),Af=Gf("react.context"),zf=Gf("react.forward_ref"),jf=Gf("react.suspense"),Ff=Gf("react.suspense_list"),Bf=Gf("react.memo"),Uf=Gf("react.lazy"),Hf=Gf("react.block"),Wf=Gf("react.server.block"),Vf=Gf("react.fundamental"),$f=Gf("react.debug_trace_mode"),Kf=Gf("react.legacy_hidden")}function Zf(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case Pf:switch(e=e.type){case Nf:case Mf:case qf:case jf:case Ff:return e;default:switch(e=e&&e.$$typeof){case Af:case zf:case Uf:case Bf:case Df:return e;default:return t}}case Tf:return t}}}var Xf=Df,Qf=Pf,Jf=zf,Yf=Nf,ed=Uf,td=Bf,nd=Tf,rd=Mf,od=qf,id=jf;If.ContextConsumer=Af,If.ContextProvider=Xf,If.Element=Qf,If.ForwardRef=Jf,If.Fragment=Yf,If.Lazy=ed,If.Memo=td,If.Portal=nd,If.Profiler=rd,If.StrictMode=od,If.Suspense=id,If.isAsyncMode=function(){return!1},If.isConcurrentMode=function(){return!1},If.isContextConsumer=function(e){return Zf(e)===Af},If.isContextProvider=function(e){return Zf(e)===Df},If.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===Pf},If.isForwardRef=function(e){return Zf(e)===zf},If.isFragment=function(e){return Zf(e)===Nf},If.isLazy=function(e){return Zf(e)===Uf},If.isMemo=function(e){return Zf(e)===Bf},If.isPortal=function(e){return Zf(e)===Tf},If.isProfiler=function(e){return Zf(e)===Mf},If.isStrictMode=function(e){return Zf(e)===qf},If.isSuspense=function(e){return Zf(e)===jf},If.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===Nf||e===Mf||e===$f||e===qf||e===jf||e===Ff||e===Kf||"object"==typeof e&&null!==e&&(e.$$typeof===Uf||e.$$typeof===Bf||e.$$typeof===Df||e.$$typeof===Af||e.$$typeof===zf||e.$$typeof===Vf||e.$$typeof===Hf||e[0]===Wf)},If.typeOf=Zf,_f.exports=If;var ad="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__",ld=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function sd(){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,l=""===a?"":"".concat(a,"-"),s=0,u=function(){return s+=1};return function(e,t){var r=t.options.name;if(r&&0===r.indexOf("Mui")&&!t.options.link&&!n){if(-1!==ld.indexOf(e.key))return"Mui-".concat(e.key);var i="".concat(l).concat(r,"-").concat(e.key);return t.options.theme[ad]&&""===a?"".concat(i,"-").concat(u()):i}return"".concat(l).concat(o).concat(u())}}function ud(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}function cd(){return(cd=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)}var fd="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},dd="object"===("undefined"==typeof window?"undefined":fd(window))&&"object"===("undefined"==typeof document?"undefined":fd(document))&&9===document.nodeType;function pd(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 hd(e,t,n){return t&&pd(e.prototype,t),n&&pd(e,n),e}function md(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function vd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var gd={}.constructor;function yd(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(yd);if(e.constructor!==gd)return e;var t={};for(var n in e)t[n]=yd(e[n]);return t}function bd(e,t,n){void 0===e&&(e="unnamed");var r=n.jss,o=yd(t),i=r.plugins.onCreateRule(e,o,n);return i||(e[0],null)}var xd=function(e,t){for(var n="",r=0;r<e.length&&"!important"!==e[r];r++)n&&(n+=t),n+=e[r];return n},Ed=function(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+=xd(e[r]," ");else n=xd(e,", ");return t||"!important"!==e[e.length-1]||(n+=" !important"),n};function wd(e,t){for(var n="",r=0;r<t;r++)n+=" ";return n+e}function Sd(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 l=0;l<a.length;l++){var s=a[l];for(var u in s){var c=s[u];null!=c&&(r&&(r+="\n"),r+=""+wd(u+": "+Ed(c)+";",i))}}else for(var f in a){var d=a[f];null!=d&&(r&&(r+="\n"),r+=""+wd(f+": "+Ed(d)+";",i))}for(var p in t){var h=t[p];null!=h&&"fallbacks"!==p&&(r&&(r+="\n"),r+=""+wd(p+": "+Ed(h)+";",i))}return(r||n.allowEmpty)&&e?(r&&(r="\n"+r+"\n"),wd(e+" {"+r,--i)+wd("}",i)):r}var Cd=/([[\].#*$><+~=|^:(),"'`\s])/g,kd="undefined"!=typeof CSS&&CSS.escape,Ld=function(e){return kd?kd(e):e.replace(Cd,"\\$1")},Rd=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 l=i&&a;if(l?delete this.style[e]:this.style[e]=o,this.renderable&&this.renderer)return l?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,o),this;var s=this.options.sheet;return s&&s.attached,this},e}(),Od=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,l=r.sheet,s=r.generateId;return i?o.selectorText=i:!1!==a&&(o.id=s(vd(vd(o)),l),o.selectorText="."+Ld(o.id)),o}md(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]=Ed(n))}return e},n.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?cd({},e,{allowEmpty:!0}):e;return Sd(this.selectorText,this.style,n)},hd(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}(Rd),_d={onCreateRule:function(e,t,n){return"@"===e[0]||n.parent&&"keyframes"===n.parent.type?null:new Od(e,t,n)}},Id={indent:1,children:!0},Pd=/@([\w-]+)/,Td=function(){function e(e,t,n){this.type="conditional",this.at=void 0,this.key=void 0,this.query=void 0,this.rules=void 0,this.options=void 0,this.isProcessed=!1,this.renderable=void 0,this.key=e;var r=e.match(Pd);for(var o in this.at=r?r[1]:"unknown",this.query=n.name||"@"+this.at,this.options=n,this.rules=new tp(cd({},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=Id),null==e.indent&&(e.indent=Id.indent),null==e.children&&(e.children=Id.children),!1===e.children)return this.query+" {}";var t=this.rules.toString(e);return t?this.query+" {\n"+t+"\n}":""},e}(),Nd=/@media|@supports\s+/,qd={onCreateRule:function(e,t,n){return Nd.test(e)?new Td(e,t,n):null}},Md={indent:1,children:!0},Dd=/@keyframes\s+([\w-]+)/,Ad=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(Dd);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 l in this.id=!1===o?this.name:Ld(a(this,i)),this.rules=new tp(cd({},n,{parent:this})),t)this.rules.add(l,t[l],cd({},n,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){if(void 0===e&&(e=Md),null==e.indent&&(e.indent=Md.indent),null==e.children&&(e.children=Md.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}(),zd=/@keyframes\s+/,jd=/\$([\w-]+)/g,Fd=function(e,t){return"string"==typeof e?e.replace(jd,(function(e,n){return n in t?t[n]:e})):e},Bd=function(e,t,n){var r=e[t],o=Fd(r,n);o!==r&&(e[t]=o)},Ud={onCreateRule:function(e,t,n){return"string"==typeof e&&zd.test(e)?new Ad(e,t,n):null},onProcessStyle:function(e,t,n){return"style"===t.type&&n?("animation-name"in e&&Bd(e,"animation-name",n.keyframes),"animation"in e&&Bd(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 Fd(e,r.keyframes);default:return e}}},Hd=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 md(t,e),t.prototype.toString=function(e){var t=this.options.sheet,n=!!t&&t.options.link?cd({},e,{allowEmpty:!0}):e;return Sd(this.key,this.style,n)},t}(Rd),Wd={onCreateRule:function(e,t,n){return n.parent&&"keyframes"===n.parent.type?new Hd(e,t,n):null}},Vd=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+=Sd(this.at,this.style[n]),this.style[n+1]&&(t+="\n");return t}return Sd(this.at,this.style,e)},e}(),$d=/@font-face/,Kd={onCreateRule:function(e,t,n){return $d.test(e)?new Vd(e,t,n):null}},Gd=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 Sd(this.key,this.style,e)},e}(),Zd={onCreateRule:function(e,t,n){return"@viewport"===e||"@-ms-viewport"===e?new Gd(e,t,n):null}},Xd=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}(),Qd={"@charset":!0,"@import":!0,"@namespace":!0},Jd=[_d,qd,Ud,Wd,Kd,Zd,{onCreateRule:function(e,t,n){return e in Qd?new Xd(e,t,n):null}}],Yd={process:!0},ep={force:!0,process:!0},tp=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,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,l=r.Renderer,s=r.generateId,u=r.scoped,c=cd({classes:this.classes,parent:o,sheet:i,jss:a,Renderer:l,generateId:s,scoped:u,name:e,keyframes:this.keyframes,selector:void 0},n),f=e;e in this.raw&&(f=e+"-d"+this.counter++),this.raw[f]=t,f in this.classes&&(c.selector="."+Ld(this.classes[f]));var d=bd(f,t,c);if(!d)return null;this.register(d);var p=void 0===c.index?this.index.length:c.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.index.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 Od?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof Ad&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof Od?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof Ad&&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.updateOne(this.map[e],t,n);else for(var r=0;r<this.index.length;r++)this.updateOne(this.index[r],t,n)},t.updateOne=function(t,n,r){void 0===r&&(r=Yd);var o=this.options,i=o.jss.plugins,a=o.sheet;if(t.rules instanceof e)t.rules.update(n,r);else{var l=t,s=l.style;if(i.onUpdate(n,t,a,r),r.process&&s&&s!==l.style){for(var u in i.onProcessStyle(l.style,l,a),l.style){var c=l.style[u];c!==s[u]&&l.prop(u,c,ep)}for(var f in s){var d=l.style[f],p=s[f];null==d&&d!==p&&l.prop(f,null,ep)}}}},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}(),np=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=cd({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new tp(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="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(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.updateOne=function(e,t,n){return this.rules.updateOne(e,t,n),this},t.toString=function(e){return this.rules.toString(e)},e}(),rp=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}(),op=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=function(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}(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},hd(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}()),ip="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")(),ap="2f1acc6c3a606b082e5eef5e54414ffb";null==ip[ap]&&(ip[ap]=0);var lp=ip[ap]++,sp=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")+lp+o+t:i+n.key+"-"+lp+(o?"-"+o:"")+"-"+t}},up=function(e){var t;return function(){return t||(t=e()),t}},cp=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},fp=function(e,t,n){try{var r=n;if(Array.isArray(n)&&(r=Ed(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},dp=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},pp=function(e,t){return e.selectorText=t,e.selectorText===t},hp=up((function(){return document.querySelector("head")}));function mp(e){var t=op.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=hp(),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 vp=up((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),gp=function(e,t,n){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]},yp=function(e,t){var n=e.cssRules.length;return void 0===t||t>n?n:t},bp=function(){function e(e){this.getPropertyValue=cp,this.setProperty=fp,this.removeProperty=dp,this.setSelector=pp,this.element=void 0,this.sheet=void 0,this.hasInsertedRules=!1,this.cssRules=[],e&&op.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=vp();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=mp(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 hp().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(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},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;if("conditional"===e.type||"keyframes"===e.type){var i=yp(n,t);if(!1===(o=gp(n,r.toString({children:!1}),i)))return!1;this.refCssRule(e,i,o)}return this.insertRules(r.rules,o),o}var a=e.toString();if(!a)return!1;var l=yp(n,t),s=gp(n,a,l);return!1!==s&&(this.hasInsertedRules=!0,this.refCssRule(e,l,s),s)},t.refCssRule=function(e,t,n){e.renderable=n,e.options.parent instanceof np&&(this.cssRules[t]=n)},t.deleteRule=function(e){var t=this.element.sheet,n=this.indexOf(e);return-1!==n&&(t.deleteRule(n),this.cssRules.splice(n,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var n=this.indexOf(e);return-1!==n&&(this.element.sheet.deleteRule(n),this.cssRules.splice(n,1),this.insertRule(t,n))},t.getRules=function(){return this.element.sheet.cssRules},e}(),xp=0,Ep=function(){function e(e){this.id=xp++,this.version="10.5.1",this.plugins=new rp,this.options={id:{minify:!1},createGenerateId:sp,Renderer:dd?bp:null,plugins:[]},this.generateId=sp({minify:!1});for(var t=0;t<Jd.length;t++)this.plugins.use(Jd[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=cd({},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===op.index?0:op.index+1);var r=new np(e,cd({},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(),op.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=cd({},n,{name:e,jss:this,Renderer:this.options.Renderer});r.generateId||(r.generateId=this.generateId),r.classes||(r.classes={}),r.keyframes||(r.keyframes={});var o=bd(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}();
|
|
34
34
|
/**
|
|
35
35
|
* A better abstraction over CSS.
|
|
36
36
|
*
|
|
@@ -38,5 +38,5 @@ var ht=Le.exports,mt=Te,vt=dt.exports;function gt(e){for(var t="https://reactjs.
|
|
|
38
38
|
* @website https://github.com/cssinjs/jss
|
|
39
39
|
* @license MIT
|
|
40
40
|
*/
|
|
41
|
-
var xp="object"==typeof CSS&&null!=CSS&&"number"in CSS,Ep=function(e){return new bp(e)};Ep();var wp=Date.now(),Sp="fnValues"+wp,Cp="fnStyle"+ ++wp,kp=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=gd(e,{},n);return r[Cp]=t,r},onProcessStyle:function(e,t){if(Sp in t||Cp 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[Sp]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Cp];i&&(o.style=i(e)||{});var a=o[Sp];if(a)for(var l in a)o.prop(l,a[l](e),r)}}};function Lp(){return(Lp=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)}var Rp="@global",Op="@global ",_p=function(){function e(e,t,n){for(var r in this.type="global",this.at=Rp,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new Yd(Lp({},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 r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Ip=function(){function e(e,t,n){this.type="global",this.at=Rp,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(Op.length);this.rule=n.jss.createRule(r,t,Lp({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Pp=/\s*,\s*/g;function Tp(e,t){for(var n=e.split(Pp),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function Np(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===Rp)return new _p(e,t,n);if("@"===e[0]&&e.substr(0,Op.length)===Op)return new Ip(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,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[Rp]:null;if(o){for(var i in o)t.addRule(i,o[i],Lp({},n,{selector:Tp(i,e.selector)}));delete r[Rp]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,Rp.length)===Rp){var i=Tp(o.substr(Rp.length),e.selector);t.addRule(i,r[o],Lp({},n,{selector:i})),delete r[o]}}(e,t))}}}function qp(){return(qp=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)}var Mp=/\s*,\s*/g,Dp=/&/g,Ap=/\$([\w-]+)/g;function zp(){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(Mp),r=e.split(Mp),o="",i=0;i<n.length;i++)for(var a=n[i],l=0;l<r.length;l++){var s=r[l];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace(Dp,a):a+" "+s}return o}function n(e,t,n){if(n)return qp({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=qp({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,l,s=o,u=s.options.parent;for(var c in r){var f=-1!==c.indexOf("&"),d="@"===c[0];if(f||d){if(a=n(s,u,a),f){var p=t(c,s.selector);l||(l=e(u,i)),p=p.replace(Ap,l),u.addRule(p,r[c],qp({},a,{selector:p}))}else d&&u.addRule(c,{},a).addRule(s.key,r[c],{selector:s.selector});delete r[c]}}return r}}}var jp=/[A-Z]/g,Fp=/^ms-/,Bp={};function Up(e){return"-"+e.toLowerCase()}function Hp(e){if(Bp.hasOwnProperty(e))return Bp[e];var t=e.replace(jp,Up);return Bp[e]=Fp.test(t)?"-"+t:t}function Wp(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Hp(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Wp):t.fallbacks=Wp(e.fallbacks)),t}var Vp=xp&&CSS?CSS.px:"px",$p=xp&&CSS?CSS.ms:"ms",Gp=xp&&CSS?CSS.percent:"%";function Kp(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 Zp=Kp({"animation-delay":$p,"animation-duration":$p,"background-position":Vp,"background-position-x":Vp,"background-position-y":Vp,"background-size":Vp,border:Vp,"border-bottom":Vp,"border-bottom-left-radius":Vp,"border-bottom-right-radius":Vp,"border-bottom-width":Vp,"border-left":Vp,"border-left-width":Vp,"border-radius":Vp,"border-right":Vp,"border-right-width":Vp,"border-top":Vp,"border-top-left-radius":Vp,"border-top-right-radius":Vp,"border-top-width":Vp,"border-width":Vp,"border-block":Vp,"border-block-end":Vp,"border-block-end-width":Vp,"border-block-start":Vp,"border-block-start-width":Vp,"border-block-width":Vp,"border-inline":Vp,"border-inline-end":Vp,"border-inline-end-width":Vp,"border-inline-start":Vp,"border-inline-start-width":Vp,"border-inline-width":Vp,"border-start-start-radius":Vp,"border-start-end-radius":Vp,"border-end-start-radius":Vp,"border-end-end-radius":Vp,margin:Vp,"margin-bottom":Vp,"margin-left":Vp,"margin-right":Vp,"margin-top":Vp,"margin-block":Vp,"margin-block-end":Vp,"margin-block-start":Vp,"margin-inline":Vp,"margin-inline-end":Vp,"margin-inline-start":Vp,padding:Vp,"padding-bottom":Vp,"padding-left":Vp,"padding-right":Vp,"padding-top":Vp,"padding-block":Vp,"padding-block-end":Vp,"padding-block-start":Vp,"padding-inline":Vp,"padding-inline-end":Vp,"padding-inline-start":Vp,"mask-position-x":Vp,"mask-position-y":Vp,"mask-size":Vp,height:Vp,width:Vp,"min-height":Vp,"max-height":Vp,"min-width":Vp,"max-width":Vp,bottom:Vp,left:Vp,top:Vp,right:Vp,inset:Vp,"inset-block":Vp,"inset-block-end":Vp,"inset-block-start":Vp,"inset-inline":Vp,"inset-inline-end":Vp,"inset-inline-start":Vp,"box-shadow":Vp,"text-shadow":Vp,"column-gap":Vp,"column-rule":Vp,"column-rule-width":Vp,"column-width":Vp,"font-size":Vp,"font-size-delta":Vp,"letter-spacing":Vp,"text-decoration-thickness":Vp,"text-indent":Vp,"text-stroke":Vp,"text-stroke-width":Vp,"word-spacing":Vp,motion:Vp,"motion-offset":Vp,outline:Vp,"outline-offset":Vp,"outline-width":Vp,perspective:Vp,"perspective-origin-x":Gp,"perspective-origin-y":Gp,"transform-origin":Gp,"transform-origin-x":Gp,"transform-origin-y":Gp,"transform-origin-z":Gp,"transition-delay":$p,"transition-duration":$p,"vertical-align":Vp,"flex-basis":Vp,"shape-margin":Vp,size:Vp,gap:Vp,grid:Vp,"grid-gap":Vp,"row-gap":Vp,"grid-row-gap":Vp,"grid-column-gap":Vp,"grid-template-rows":Vp,"grid-template-columns":Vp,"grid-auto-rows":Vp,"grid-auto-columns":Vp,"box-shadow-x":Vp,"box-shadow-y":Vp,"box-shadow-blur":Vp,"box-shadow-spread":Vp,"font-line-height":Vp,"text-shadow-x":Vp,"text-shadow-y":Vp,"text-shadow-blur":Vp});function Xp(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Xp(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=Xp(o,t[o],n);else for(var i in t)t[i]=Xp(e+"-"+i,t[i],n);else if("number"==typeof t&&!Number.isNaN(t)){var a=n[e]||Zp[e];return!a||0===t&&a===Vp?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function Qp(e){void 0===e&&(e={});var t=Kp(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=Xp(r,e[r],t);return e},onChangeValue:function(e,n){return Xp(n,e,t)}}}function Jp(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Yp(e){return function(e){if(Array.isArray(e))return Jp(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Jp(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jp(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var eh="",th="",nh="",rh="",oh=cd&&"ontouchstart"in document.documentElement;if(cd){var ih={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},ah=document.createElement("p").style;for(var lh in ih)if(lh+"Transform"in ah){eh=lh,th=ih[lh];break}"Webkit"===eh&&"msHyphens"in ah&&(eh="ms",th=ih.ms,rh="edge"),"Webkit"===eh&&"-apple-trailing-word"in ah&&(nh="apple")}var sh=eh,uh=th,ch=nh,fh=rh,dh=oh;var ph={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===sh?"-webkit-"+e:uh+e)}},hh={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===sh?uh+"print-"+e:e)}},mh=/[-\s]+(.)?/g;function vh(e,t){return t?t.toUpperCase():""}function gh(e){return e.replace(mh,vh)}function yh(e){return gh("-"+e)}var bh,xh={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===sh){var n="mask-image";if(gh(n)in t)return e;if(sh+yh(n)in t)return uh+e}return e}},Eh={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==ch||dh?e:uh+e)}},wh={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:uh+e)}},Sh={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:uh+e)}},Ch={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===sh||"ms"===sh&&"edge"!==fh?uh+e:e)}},kh={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===sh||"ms"===sh||"apple"===ch?uh+e:e)}},Lh={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===sh?"WebkitColumn"+yh(e)in t&&uh+"column-"+e:"Moz"===sh&&("page"+yh(e)in t&&"page-"+e))}},Rh={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===sh)return e;var n=e.replace("-inline","");return sh+yh(n)in t&&uh+n}},Oh={supportedProperty:function(e,t){return gh(e)in t&&e}},_h={supportedProperty:function(e,t){var n=yh(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:sh+n in t?uh+e:"Webkit"!==sh&&"Webkit"+n in t&&"-webkit-"+e}},Ih={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===sh?""+uh+e:e)}},Ph={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===sh?uh+"scroll-chaining":e)}},Th={"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"},Nh={supportedProperty:function(e,t){var n=Th[e];return!!n&&(sh+yh(n)in t&&uh+n)}},qh={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"},Mh=Object.keys(qh),Dh=function(e){return uh+e},Ah=[ph,hh,xh,Eh,wh,Sh,Ch,kh,Lh,Rh,Oh,_h,Ih,Ph,Nh,{supportedProperty:function(e,t,n){var r=n.multiple;if(Mh.indexOf(e)>-1){var o=qh[e];if(!Array.isArray(o))return sh+yh(o)in t&&uh+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(sh+yh(o[0])in t))return!1;return o.map(Dh)}return!1}}],zh=Ah.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),jh=Ah.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,Yp(t.noPrefill)),e}),[]),Fh={};if(cd){bh=document.createElement("p");var Bh=window.getComputedStyle(document.documentElement,"");for(var Uh in Bh)isNaN(Uh)||(Fh[Bh[Uh]]=Bh[Uh]);jh.forEach((function(e){return delete Fh[e]}))}function Hh(e,t){if(void 0===t&&(t={}),!bh)return e;if(null!=Fh[e])return Fh[e];"transition"!==e&&"transform"!==e||(t[e]=e in bh.style);for(var n=0;n<zh.length&&(Fh[e]=zh[n](e,bh.style,t),!Fh[e]);n++);try{bh.style[e]=""}catch(e){return!1}return Fh[e]}var Wh,Vh={},$h={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Gh=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Kh(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Hh(t):", "+Hh(n);return r||(t||n)}function Zh(e,t){var n=t;if(!Wh||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Vh[r])return Vh[r];try{Wh.style[e]=n}catch(e){return Vh[r]=!1,!1}if($h[e])n=n.replace(Gh,Kh);else if(""===Wh.style[e]&&("-ms-flex"===(n=uh+n)&&(Wh.style[e]="-ms-flexbox"),Wh.style[e]=n,""===Wh.style[e]))return Vh[r]=!1,!1;return Wh.style[e]="",Vh[r]=n,Vh[r]}function Xh(){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=Hh(n);i&&i!==n&&(o=!0);var a=!1,l=Zh(i,bd(r));l&&l!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=l||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===sh?e:"@"+uh+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Zh(t,bd(e))||e}}}function Qh(){return{plugins:[kp(),Np(),zp(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=Wp(e[t]);return e}return Wp(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Hp(t);return t===r?e:(n.prop(r,e),null)}},Qp(),"undefined"==typeof window?null:Xh(),(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 Jh(e,t){if(null==e)return{};var n,r,o=function(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}(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 Yh(){return(Yh=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 em(){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=Yh({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}cd&&(Wh=document.createElement("p"));var tm={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},nm=ut.createContext(null);function rm(){return ut.useContext(nm)}var om,im=Ep(Qh()),am={disableGeneration:!1,generateClassName:ad(),jss:im,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},lm=ut.createContext(am);function sm(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,o=e.disableGeneration,i=void 0!==o&&o,a=Jh(e,["children","injectFirst","disableGeneration"]),l=Yh({},ut.useContext(lm),{disableGeneration:i},a);if(!l.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!om){var s=document.head;om=document.createComment("mui-inject-first"),s.insertBefore(om,s.firstChild)}l.jss=Ep({plugins:Qh().plugins,insertionPoint:om})}return ut.createElement(lm.Provider,{value:l},t)}var um=-1e9;function cm(){return um+=1}var fm={};function dm(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=Yh({},o);return Object.keys(i).forEach((function(e){a[e]=Sf(a[e],i[e])})),a},options:{}}}function pm(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=em({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function hm(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var l=tm.get(o.sheetsManager,i,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},tm.set(o.sheetsManager,i,r,l));var s=Yh({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var u=o.sheetsRegistry;if(0===l.refs){var c;o.sheetsCache&&(c=tm.get(o.sheetsCache,i,r));var f=i.create(r,a);c||((c=o.jss.createStyleSheet(f,Yh({link:!1},s))).attach(),o.sheetsCache&&tm.set(o.sheetsCache,i,r,c)),u&&u.add(c),l.staticSheet=c,l.dynamicStyles=function e(t){var n=null;for(var r in t){var o=t[r],i=typeof o;if("function"===i)n||(n={}),n[r]=o;else if("object"===i&&null!==o&&!Array.isArray(o)){var a=e(o);a&&(n||(n={}),n[r]=a)}}return n}(f)}if(l.dynamicStyles){var d=o.jss.createStyleSheet(l.dynamicStyles,Yh({link:!0},s));d.update(t),d.attach(),n.dynamicSheet=d,n.classes=em({baseClasses:l.staticSheet.classes,newClasses:d.classes}),u&&u.add(d)}else n.classes=l.staticSheet.classes;l.refs+=1}}function mm(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function vm(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=tm.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(tm.delete(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 gm(e,t){var n,r=ut.useRef([]),o=ut.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),ut.useEffect((function(){return function(){n&&n()}}),[o])}function ym(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?fm:i,l=Jh(t,["name","classNamePrefix","Component","defaultTheme"]),s=dm(e),u=n||r||"makeStyles";s.options={index:cm(),name:n,meta:u,classNamePrefix:u};var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=rm()||a,r=Yh({},ut.useContext(lm),l),i=ut.useRef(),u=ut.useRef();gm((function(){var o={name:n,state:{},stylesCreator:s,stylesOptions:r,theme:t};return hm(o,e),u.current=!1,i.current=o,function(){vm(o)}}),[t,s]),ut.useEffect((function(){u.current&&mm(i.current,e),u.current=!0}));var c=pm(i.current,e.classes,o);return c};return c}function bm(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=bm(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function xm(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=bm(e))&&(r&&(r+=" "),r+=t);return r}var Em=Rf.exports,wm={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Sm={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Cm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},km={};function Lm(e){return Em.isMemo(e)?Cm:km[e.$$typeof]||wm}km[Em.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},km[Em.Memo]=Cm;var Rm=Object.defineProperty,Om=Object.getOwnPropertyNames,_m=Object.getOwnPropertySymbols,Im=Object.getOwnPropertyDescriptor,Pm=Object.getPrototypeOf,Tm=Object.prototype;var Nm=function e(t,n,r){if("string"!=typeof n){if(Tm){var o=Pm(n);o&&o!==Tm&&e(t,o,r)}var i=Om(n);_m&&(i=i.concat(_m(n)));for(var a=Lm(t),l=Lm(n),s=0;s<i.length;++s){var u=i[s];if(!(Sm[u]||r&&r[u]||l&&l[u]||a&&a[u])){var c=Im(n,u);try{Rm(t,u,c)}catch(e){}}}}return t};function qm(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function Mm(e){var t=e.children,n=e.theme,r=rm(),o=ut.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):Yh({},e,t)}(r,n);return null!=e&&(e[od]=null!==r),e}),[n,r]);return ut.createElement(nm.Provider,{value:o},t)}var Dm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,l=Jh(t,["defaultTheme","withTheme","name"]),s=a,u=ym(e,Yh({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:s},l)),c=ut.forwardRef((function(e,t){e.classes;var o,l=e.innerRef,s=Jh(e,["classes","innerRef"]),c=u(Yh({},n.defaultProps,e)),f=s;return("string"==typeof a||i)&&(o=rm()||r,a&&(f=ld({theme:o,name:a,props:s})),i&&!f.theme&&(f.theme=o)),ut.createElement(n,Yh({ref:l||t,classes:c},f))}));return Nm(c,n),c}};function Am(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 Math.min(Math.max(t,e),n)}function zm(e){if(e.type)return e;if("#"===e.charAt(0))return zm(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Lf(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function jm(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 Fm(e){var t="hsl"===(e=zm(e)).type?zm(function(e){var t=(e=zm(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)},l="rgb",s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),jm({type:l,values:s})}(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 Bm(e,t){return e=zm(e),t=Am(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,jm(e)}function Um(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hm(e,t){if(null==e)return{};var n,r,o=function(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}(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 Wm(){return(Wm=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)}var Vm=["xs","sm","md","lg","xl"];function $m(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,l=Hm(e,["values","unit","step"]);function s(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function u(e,t){var r=Vm.indexOf(t);return r===Vm.length-1?s(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[Vm[r+1]]?n[Vm[r+1]]:t)-a/100).concat(o,")")}return Wm({keys:Vm,values:n,up:s,down:function(e){var t=Vm.indexOf(e)+1,r=n[Vm[t]];return t===Vm.length?s("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:u,only:function(e){return u(e,e)},width:function(e){return n[e]}},l)}function Gm(e,t,n){var r;return Wm({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),Wm({paddingLeft:t(2),paddingRight:t(2)},n,Um({},e.up("sm"),Wm({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},Um(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Um(r,e.up("sm"),{minHeight:64}),r)},n)}var Km={black:"#000",white:"#fff"},Zm={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"},Xm={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},Qm={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},Jm={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},Ym={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},ev={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},tv={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},nv={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:Km.white,default:Zm[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},rv={text:{primary:Km.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:Zm[800],default:"#303030"},action:{active:Km.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function ov(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=zm(e),t=Am(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 jm(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=zm(e),t=Am(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 jm(e)}(e.main,i)))}function iv(e){var t=e.primary,n=void 0===t?{light:Xm[300],main:Xm[500],dark:Xm[700]}:t,r=e.secondary,o=void 0===r?{light:Qm.A200,main:Qm.A400,dark:Qm.A700}:r,i=e.error,a=void 0===i?{light:Jm[300],main:Jm[500],dark:Jm[700]}:i,l=e.warning,s=void 0===l?{light:Ym[300],main:Ym[500],dark:Ym[700]}:l,u=e.info,c=void 0===u?{light:ev[300],main:ev[500],dark:ev[700]}:u,f=e.success,d=void 0===f?{light:tv[300],main:tv[500],dark:tv[700]}:f,p=e.type,h=void 0===p?"light":p,m=e.contrastThreshold,v=void 0===m?3:m,g=e.tonalOffset,y=void 0===g?.2:g,b=Hm(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){return function(e,t){var n=Fm(e),r=Fm(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,rv.text.primary)>=v?rv.text.primary:nv.text.primary}var E=function(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;if(!(e=Wm({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Lf(4,t));if("string"!=typeof e.main)throw new Error(Lf(5,JSON.stringify(e.main)));return ov(e,"light",n,y),ov(e,"dark",r,y),e.contrastText||(e.contrastText=x(e.main)),e},w={dark:rv,light:nv};return Sf(Wm({common:Km,type:h,primary:E(n),secondary:E(o,"A400","A200","A700"),error:E(a),warning:E(s),info:E(c),success:E(d),grey:Zm,contrastThreshold:v,getContrastText:x,augmentColor:E,tonalOffset:y},w[h]),b)}function av(e){return Math.round(1e5*e)/1e5}function lv(e){return av(e)}var sv={textTransform:"uppercase"},uv='"Roboto", "Helvetica", "Arial", sans-serif';function cv(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?uv:r,i=n.fontSize,a=void 0===i?14:i,l=n.fontWeightLight,s=void 0===l?300:l,u=n.fontWeightRegular,c=void 0===u?400:u,f=n.fontWeightMedium,d=void 0===f?500:f,p=n.fontWeightBold,h=void 0===p?700:p,m=n.htmlFontSize,v=void 0===m?16:m,g=n.allVariants,y=n.pxToRem,b=Hm(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,E=y||function(e){return"".concat(e/v*x,"rem")},w=function(e,t,n,r,i){return Wm({fontFamily:o,fontWeight:e,fontSize:E(t),lineHeight:n},o===uv?{letterSpacing:"".concat(av(r/t),"em")}:{},i,g)},S={h1:w(s,96,1.167,-1.5),h2:w(s,60,1.2,-.5),h3:w(c,48,1.167,0),h4:w(c,34,1.235,.25),h5:w(c,24,1.334,0),h6:w(d,20,1.6,.15),subtitle1:w(c,16,1.75,.15),subtitle2:w(d,14,1.57,.1),body1:w(c,16,1.5,.15),body2:w(c,14,1.43,.15),button:w(d,14,1.75,.4,sv),caption:w(c,12,1.66,.4),overline:w(c,12,2.66,1,sv)};return Sf(Wm({htmlFontSize:v,pxToRem:E,round:lv,fontFamily:o,fontSize:a,fontWeightLight:s,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:h},S),b,{clone:!1})}function fv(){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 dv=["none",fv(0,2,1,-1,0,1,1,0,0,1,3,0),fv(0,3,1,-2,0,2,2,0,0,1,5,0),fv(0,3,3,-2,0,3,4,0,0,1,8,0),fv(0,2,4,-1,0,4,5,0,0,1,10,0),fv(0,3,5,-1,0,5,8,0,0,1,14,0),fv(0,3,5,-1,0,6,10,0,0,1,18,0),fv(0,4,5,-2,0,7,10,1,0,2,16,1),fv(0,5,5,-3,0,8,10,1,0,3,14,2),fv(0,5,6,-3,0,9,12,1,0,3,16,2),fv(0,6,6,-3,0,10,14,1,0,4,18,3),fv(0,6,7,-4,0,11,15,1,0,4,20,3),fv(0,7,8,-4,0,12,17,2,0,5,22,4),fv(0,7,8,-4,0,13,19,2,0,5,24,4),fv(0,7,9,-4,0,14,21,2,0,5,26,4),fv(0,8,9,-5,0,15,22,2,0,6,28,5),fv(0,8,10,-5,0,16,24,2,0,6,30,5),fv(0,8,11,-5,0,17,26,2,0,6,32,5),fv(0,9,11,-5,0,18,28,2,0,7,34,6),fv(0,9,12,-6,0,19,29,2,0,7,36,6),fv(0,10,13,-6,0,20,31,3,0,8,38,7),fv(0,10,13,-6,0,21,33,3,0,8,40,7),fv(0,10,14,-6,0,22,35,3,0,8,42,7),fv(0,11,14,-7,0,23,36,3,0,9,44,8),fv(0,11,15,-7,0,24,38,3,0,9,46,8)],pv={borderRadius:4};function hv(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)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function mv(){return(mv=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 vv(e){return(vv="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 gv(e){return(gv="function"==typeof Symbol&&"symbol"===vv(Symbol.iterator)?function(e){return vv(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":vv(e)})(e)}function yv(e,t){return t?Sf(e,t,{clone:!1}):e}var bv={xs:0,sm:600,md:960,lg:1280,xl:1920},xv={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(bv[e],"px)")}};function Ev(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||xv;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===gv(t)){var o=e.theme.breakpoints||xv;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function wv(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function Sv(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=wv(e.theme,o)||{};return Ev(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=wv(a,e)||e,i&&(t=i(t))),!1===r?t:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function Cv(){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?yv(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function kv(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var Lv=Cv(Sv({prop:"border",themeKey:"borders",transform:kv}),Sv({prop:"borderTop",themeKey:"borders",transform:kv}),Sv({prop:"borderRight",themeKey:"borders",transform:kv}),Sv({prop:"borderBottom",themeKey:"borders",transform:kv}),Sv({prop:"borderLeft",themeKey:"borders",transform:kv}),Sv({prop:"borderColor",themeKey:"palette"}),Sv({prop:"borderRadius",themeKey:"shape"}));function Rv(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var Ov=Cv(Sv({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),Sv({prop:"display"}),Sv({prop:"overflow"}),Sv({prop:"textOverflow"}),Sv({prop:"visibility"}),Sv({prop:"whiteSpace"})),_v=Cv(Sv({prop:"flexBasis"}),Sv({prop:"flexDirection"}),Sv({prop:"flexWrap"}),Sv({prop:"justifyContent"}),Sv({prop:"alignItems"}),Sv({prop:"alignContent"}),Sv({prop:"order"}),Sv({prop:"flex"}),Sv({prop:"flexGrow"}),Sv({prop:"flexShrink"}),Sv({prop:"alignSelf"}),Sv({prop:"justifyItems"}),Sv({prop:"justifySelf"})),Iv=Cv(Sv({prop:"gridGap"}),Sv({prop:"gridColumnGap"}),Sv({prop:"gridRowGap"}),Sv({prop:"gridColumn"}),Sv({prop:"gridRow"}),Sv({prop:"gridAutoFlow"}),Sv({prop:"gridAutoColumns"}),Sv({prop:"gridAutoRows"}),Sv({prop:"gridTemplateColumns"}),Sv({prop:"gridTemplateRows"}),Sv({prop:"gridTemplateAreas"}),Sv({prop:"gridArea"})),Pv=Cv(Sv({prop:"color",themeKey:"palette"}),Sv({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),Tv=Cv(Sv({prop:"position"}),Sv({prop:"zIndex",themeKey:"zIndex"}),Sv({prop:"top"}),Sv({prop:"right"}),Sv({prop:"bottom"}),Sv({prop:"left"})),Nv=Sv({prop:"boxShadow",themeKey:"shadows"});function qv(e){return e<=1?"".concat(100*e,"%"):e}var Mv=Sv({prop:"width",transform:qv}),Dv=Sv({prop:"maxWidth",transform:qv}),Av=Sv({prop:"minWidth",transform:qv}),zv=Sv({prop:"height",transform:qv}),jv=Sv({prop:"maxHeight",transform:qv}),Fv=Sv({prop:"minHeight",transform:qv});Sv({prop:"size",cssProperty:"width",transform:qv}),Sv({prop:"size",cssProperty:"height",transform:qv});var Bv=Cv(Mv,Dv,Av,zv,jv,Fv,Sv({prop:"boxSizing"}));function Uv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Hv={m:"margin",p:"padding"},Wv={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Vv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},$v=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(!Vv[e])return[e];e=Vv[e]}var t=Uv(e.split(""),2),n=t[0],r=t[1],o=Hv[n],i=Wv[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Gv=["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 Kv(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(){}}function Zv(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Xv(e){var t=Kv(e.theme);return Object.keys(e).map((function(n){if(-1===Gv.indexOf(n))return null;var r=Zv($v(n),t),o=e[n];return Ev(e,o,r)})).reduce(yv,{})}Xv.propTypes={},Xv.filterProps=Gv;var Qv=Cv(Sv({prop:"fontFamily",themeKey:"typography"}),Sv({prop:"fontSize",themeKey:"typography"}),Sv({prop:"fontStyle",themeKey:"typography"}),Sv({prop:"fontWeight",themeKey:"typography"}),Sv({prop:"letterSpacing"}),Sv({prop:"lineHeight"}),Sv({prop:"textAlign"}));function Jv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Kv({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var Yv={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)"},eg={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function tg(e){return"".concat(Math.round(e),"ms")}var ng={easing:Yv,duration:eg,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?eg.standard:n,o=t.easing,i=void 0===o?Yv.easeInOut:o,a=t.delay,l=void 0===a?0:a;return Hm(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:tg(r)," ").concat(i," ").concat("string"==typeof l?l:tg(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},rg={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function og(){for(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,l=e.spacing,s=e.typography,u=void 0===s?{}:s,c=Hm(e,["breakpoints","mixins","palette","spacing","typography"]),f=iv(a),d=$m(n),p=Jv(l),h=Sf({breakpoints:d,direction:"ltr",mixins:Gm(d,p,o),overrides:{},palette:f,props:{},shadows:dv,typography:cv(f,u),spacing:p,shape:pv,transitions:ng,zIndex:rg},c),m=arguments.length,v=new Array(m>1?m-1:0),g=1;g<m;g++)v[g-1]=arguments[g];return h=v.reduce((function(e,t){return Sf(e,t)}),h)}var ig=og();function ag(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return ym(e,Wm({defaultTheme:ig},t))}var lg=function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,i=Jh(r,["name"]),a=o,l=ym("function"==typeof t?function(e){return{root:function(n){return t(Yh({theme:e},n))}}}:{root:t},Yh({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&delete t.propTypes;var s=ut.forwardRef((function(t,r){var o=t.children,i=t.className,a=t.clone,s=t.component,u=Jh(t,["children","className","clone","component"]),c=xm(l(t).root,i),f=u;if(n&&(f=qm(f,n)),a)return ut.cloneElement(o,Yh({className:xm(o.props.className,c)},f));if("function"==typeof o)return o(Yh({className:c},f));var d=s||e;return ut.createElement(d,Yh({ref:r,className:c},f),o)}));return Nm(s,e),s}}(e);return function(e,n){return t(e,Wm({defaultTheme:ig},n))}};function sg(){return rm()||ig}function ug(e,t){return Dm(e,Wm({defaultTheme:ig},t))}var cg={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),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,disableTouchRipple:!0,focusRipple:!1}}},fg="#009845",dg="#3F8AB3",pg="#ffffff",hg="#404040",mg="#333333",vg="#1A1A1A",gg={type:"light",palette:{primary:{main:hg,contrastText:pg},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:hg,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:hg,hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.05)",disabled:"rgba(0, 0, 0, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},background:{paper:pg,default:pg,lightest:pg,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:dg,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:fg,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:pg,alternativeContrastText:hg,excludedContrastText:hg},btn:{normal:"rgba(255, 255, 255, 0.6)",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.1)",disabled:"rgba(255, 255, 255, 0.6)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.15)"}}},yg={type:"dark",palette:{primary:{main:mg,contrastText:pg},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:pg,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:pg,hover:"rgba(255, 255, 255, 0.05)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.03)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0,0,0,0.3)",background:{default:"#323232",paper:"#323232",lightest:hg,lighter:mg,darker:"#262626",darkest:vg},custom:{focusBorder:dg,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:fg,alternative:mg,excluded:vg,mainContrastText:pg,alternativeContrastText:pg,excludedContrastText:pg},btn:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.25)",active:"rgba(0, 0, 0, 0.6)",disabled:"rgba(255, 255, 255, 0.15)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.30)"}}},bg={},xg=function(e){return{MuiTypography:{root:{color:e.palette.text.primary}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover $notchedOutline":{borderColor:e.palette.btn.border},"&$focused $notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px","&$focusVisible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none","&$focusVisible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none","&$disabled":{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},"&$disabled":{backgroundColor:e.palette.btn.disabled}}},MuiExpansionPanelSummary:{content:{margin:"8px 0"}}}};function Eg(e){var t=gg,r="";"string"==typeof e&&(r=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=yg));var o=JSON.stringify(t);if(bg[o])return bg[o];var i={palette:n(n({type:t.type},cg.palette),t.palette),typography:n({},cg.typography),shadows:cg.shadows,props:n({},cg.props),shape:n({},cg.shape)};return bg[o]=og(n(n({},i),{},{overrides:xg(i)})),bg[o].name=r,bg[o]}var wg=ut.createContext({language:null,theme:null,translator:null,constraints:{}}),Sg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=e,o=[],i={get:function(e){return n[e]},set:function(e,o){if(void 0===e||"object"===r(e))throw new Error("Invalid key: ".concat(JSON.stringify(e)));return n[e]=o,t({type:"SET",value:o}),o},clear:function(e){if(void 0===e||"object"===r(e))throw new Error("Invalid key: ".concat(JSON.stringify(e)));n[e]=null},dispatch:function(e){o.forEach((function(t){return t(e?{}:n)}))}},a=function(){var e=c(Le.exports.useState(n),2)[1];return Le.exports.useEffect((function(){return o.push(e),function(){var t=o.indexOf(e);o.splice(t,1)}}),[e]),[i]};return[a,i]},Cg=c(Sg({}),2),kg=Cg[0],Lg=Cg[1],Rg=c(Sg({}),2),Og=Rg[0],_g=Rg[1],Ig=c(Sg({}),2),Pg=Ig[0],Tg=Ig[1],Ng=c(Sg({}),2);Ng[0];var qg=Ng[1],Mg=c(Sg({}),2),Dg=Mg[0],Ag=Mg[1],zg=c(Sg({}),2)[1],jg=function(e){var t=e.type,n=e.value,r=zg.get(n.id);zg.set(n.id,{});var o=function(){_g.clear(n.id),Ag.set(n.id,{}),Ag.dispatch(!0)},i=function(){n.removeListener("changed",o),Lg.clear(n.id),_g.clear(n.id),Tg.clear(n.id),qg.clear(n.id),Ag.clear(n.id),zg.clear(n.id)};switch(t){case"SET":r||(n.on("changed",o),n.once("closed",(function(){i()})))}return i},Fg=c(Sg({},jg),2),Bg=Fg[0],Ug=Fg[1],Hg=function(e){var t=jg({type:"SET",value:e});return function(){t(),Ug.clear(e.id)}},Wg=function(e,t){var r,o=t.rpcResultStore,i=t.key,a=t.method;switch(t.type){case"INVALID":r=n(n({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":r={result:n({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":r=n(n({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}var l=o.get(i);return l||(l={}),l[a]=r,o.set(i,l),r};function Vg(e,t){var n,r=e?"".concat(e.id):null,o=c(kg(),1)[0],a=c(Le.exports.useReducer(Wg,r?o.get(r):null),2),l=a[0],s=a[1],u=c(Dg(),1)[0],f=c(Og(),1)[0];r&&((n=f.get(r))||(n={},f.set(r,n)));var d,p=function(){var a=i(regeneratorRuntime.mark((function i(a){var l,u,c;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return(!(l=n[t])||l&&l.rpcRetry)&&(u=e[t](),l={rpc:u,rpcRetry:!1},n[t]=l,s({type:"INVALID",method:t,key:r,model:e,rpcResultStore:o,canCancel:!0})),i.prev=2,i.next=5,l.rpc;case 5:c=i.sent,s({type:"VALID",result:c,key:r,method:t,model:e,rpcResultStore:o}),i.next=12;break;case 9:i.prev=9,i.t0=i.catch(2),15!==i.t0.code||a||(l.rpcRetry||(l.rpcRetry=!0),p(!0));case 12:case"end":return i.stop()}}),i,null,[[2,9]])})));return function(e){return a.apply(this,arguments)}}(),h={cancel:(d=i(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=e.session.getObjectApi({handle:-1}),i.next=3,a.cancelRequest(n[t].rpc.requestId);case 3:s({type:"CANCELLED",key:r,method:t,model:e,rpcResultStore:o});case 4:case"end":return i.stop()}}),i)}))),function(){return d.apply(this,arguments)}),retry:function(){n[t].rpcRetry=!0,p()}};return Le.exports.useEffect((function(){e&&p()}),[e,u.get(e&&e.id),r,t]),[l&&l.result,{validating:l&&l.validating,canCancel:l&&l.canCancel,canRetry:l&&l.canRetry},h]}function $g(e){return Vg(e,"getLayout")}function Gg(e){return Vg(e,"getAppLayout")}function Kg(e,t){var n,r=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,o=Bg(),a=c(o,1),l=a[0],s=Pg(),u=c(s,1),f=u[0],d=Le.exports.useState(),p=c(d,2),h=p[0],m=p[1];r&&(n=f.get(r));for(var v=arguments.length,g=new Array(v>2?v-2:0),y=2;y<v;y++)g[y-2]=arguments[y];return Le.exports.useEffect((function(){t&&function(){var o=i(regeneratorRuntime.mark((function o(){var i,a;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n||(i=t.createSessionObject(e),n=i,f.set(r,n)),o.next=3,n;case 3:a=o.sent,l.set(r,a),m(a);case 6:case"end":return o.stop()}}),o)})));return function(){return o.apply(this,arguments)}}()()}),[t].concat(g)),[h]}var Zg={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function Xg(e){return Kg(Zg,e)}function Qg(e){var t=c(Xg(e),1)[0],n=c($g(t),1)[0],r=c(Gg(e),1)[0],o=c(Le.exports.useState(null),2),i=o[0],a=o[1];return Le.exports.useEffect((function(){r&&t&&n&&function(e,t,n){var r=f(n.qStateNames||[]).map((function(e){return{stateName:e,qSelectionObjectDef:{qStateName:e}}}));(t&&t.alternateStates?t.alternateStates.map((function(e){return e.stateName})):[]).join("::")!==(n.qStateNames||[]).map((function(e){return e})).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)}(t,n,r)}),[r,t,n]),Le.exports.useEffect((function(){if(n){var e=!1,t=!1,r=!1;[n].concat(f(n.alternateStates||[])).forEach((function(n){e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((function(e){return!0!==e.qLocked})).length>0})),a({canGoBack:e,canGoForward:t,canClear:r})}}),[n]),[i,t,n]}var Jg=c(Sg({}),2),Yg=Jg[0];Jg[1];var ey=c(Sg({}),2),ty=ey[0],ny=ey[1],ry=c(Sg({}),2),oy=ry[0],iy=ry[1],ay=c(Sg({}),2),ly=ay[0],sy=ay[1];function uy(e){if(!e.session)return[];var t=c(Qg(e),3),n=t[0],r=t[1],o=t[2],a=c(Yg(),1)[0],l=e?e.id:null,s=a.get(l);return Le.exports.useEffect((function(){e&&r&&o&&n&&!s&&(s=function(e){var t=e.app,n=e.currentSelectionsLayout,r=e.navState,o="".concat(t.id),a=function(){var e=i(regeneratorRuntime.mark((function e(){var t,n,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=!(r.length>0&&void 0!==r[0])||r[0],!(n=sy.get(o))){e.next=8;break}return e.next=5,n.endSelections(t);case 5:sy.clear(o),iy.get(n.id).emit("deactivated");case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l={begin:function(){var e=i(regeneratorRuntime.mark((function e(n,r){var l,s,u,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=!(c.length>2&&void 0!==c[2])||c[2],n!==sy.get(o)){e.next=3;break}return e.abrupt("return");case 3:return a(l),sy.set(o,n),s=Array.isArray(r)?r:[r],u=function(){var e=i(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.beginSelections(s);case 3:sy.set(o,n),e.next=15;break;case 6:if(e.prev=6,e.t0=e.catch(0),6003!==e.t0.code||r){e.next=14;break}return e.next=11,t.abortModal(l);case 11:u(!0),e.next=15;break;case 14:sy.clear(o);case 15:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),e.next=9,u();case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),end:a};return ny.set(o,l),{model:t,isInModal:function(){return!!sy.get(o)},isModal:function(e){return e?sy.get(o)===e:!!sy.get(o)},canGoForward:function(){return r.canGoForward},canGoBack:function(){return r.canGoBack},canClear:function(){return r.canClear},layout:function(){return n},forward:function(){return l.end().then((function(){return t.forward()}))},back:function(){return l.end().then((function(){return t.back()}))},clear:function(){return l.end().then((function(){return t.clearAll()}))},clearField:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return l.end().then((function(){return t.getField(e,n).then((function(e){return e.clear()}))}))}}}({app:e,currentSelectionsLayout:o,navState:n}),a.set(l,s),a.dispatch(!0))}),[e,r,o,n]),[s,n]}var cy=0,fy=Le.exports.forwardRef((function(e,t){var n=e.initialContext,r=c(uy(e.app),1)[0],o=c(Le.exports.useState(n),2),i=o[0],a=o[1],l=c(Le.exports.useState(),2),s=l[0],u=l[1],d=Le.exports.useMemo((function(){return{theme:Eg(s),generator:ad({productionPrefix:"".concat("6a15"),disableGlobal:!0,seed:"njs-".concat(cy++)})}}),[s]),p=d.theme,h=d.generator,m=c(Le.exports.useState([]),2),v=m[0],g=m[1];return Le.exports.useImperativeHandle(t,(function(){return{addComponent:function(e){g([].concat(f(v),[e]))},removeComponent:function(e){var t=v.indexOf(e);-1!==t&&(v.splice(t,1),g(f(v)))},setMuiThemeName:u,setContext:a,getAppSelections:function(){return r}}})),ut.createElement(sm,{generateClassName:h},ut.createElement(Mm,{theme:p},ut.createElement(wg.Provider,{value:i},ut.createElement(ut.Fragment,null,v))))}));function dy(e){var t,n,r=e.app,o=e.context,a=new Promise((function(e){t=e})),l=ut.createRef(),s=document.createElement("div");return s.style.display="none",s.setAttribute("data-nebulajs-version","1.7.0"),s.setAttribute("data-app-id",r.id),document.body.appendChild(s),yf.render(ut.createElement(fy,{ref:l,app:r,initialContext:o}),s,t),[{add:function(e){i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:l.current.addComponent(e);case 3:case"end":return t.stop()}}),t)})))()},remove:function(e){i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:l.current.removeComponent(e);case 3:case"end":return t.stop()}}),t)})))()},setMuiThemeName:function(e){i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:l.current.setMuiThemeName(e);case 3:case"end":return t.stop()}}),t)})))()},context:function(e){i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,a;case 2:l.current.setContext(e);case 3:case"end":return t.stop()}}),t)})))()},getAppSelections:(n=i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a;case 2:return e.abrupt("return",l.current.getAppSelections());case 3:case"end":return e.stop()}}),e)}))),function(){return n.apply(this,arguments)})},l,a]}function py(e){if("string"!=typeof e)throw new Error(Lf(7));return e.charAt(0).toUpperCase()+e.slice(1)}function hy(){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 my(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,l=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(l,n)}return r.clear=function(){clearTimeout(t)},r}function vy(e){return e&&e.ownerDocument||document}function gy(e){return vy(e).defaultView||window}function yy(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var by="undefined"!=typeof window?Le.exports.useLayoutEffect:Le.exports.useEffect;function xy(e){var t=Le.exports.useRef(e);return by((function(){t.current=e})),Le.exports.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function Ey(e,t){return Le.exports.useMemo((function(){return null==e&&null==t?null:function(n){yy(e,n),yy(t,n)}}),[e,t])}var wy=!0,Sy=!1,Cy=null,ky={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 Ly(e){e.metaKey||e.altKey||e.ctrlKey||(wy=!0)}function Ry(){wy=!1}function Oy(){"hidden"===this.visibilityState&&Sy&&(wy=!0)}function _y(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return wy||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!ky[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Iy(){Sy=!0,window.clearTimeout(Cy),Cy=window.setTimeout((function(){Sy=!1}),100)}function Py(){return{isFocusVisible:_y,onBlurVisible:Iy,ref:Le.exports.useCallback((function(e){var t,n=ct.exports.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Ly,!0),t.addEventListener("mousedown",Ry,!0),t.addEventListener("pointerdown",Ry,!0),t.addEventListener("touchstart",Ry,!0),t.addEventListener("visibilitychange",Oy,!0))}),[])}}function Ty(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function Ny(){return(Ny=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 qy(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 My(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Dy=!1,Ay=ut.createContext(null),zy="unmounted",jy="exited",Fy="entering",By="entered",Uy="exiting",Hy=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=jy,r.appearStatus=Fy):o=By:o=t.unmountOnExit||t.mountOnEnter?zy:jy,r.state={status:o},r.nextCallback=null,r}My(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===zy?{status:jy}: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!==Fy&&n!==By&&(t=Fy):n!==Fy&&n!==By||(t=Uy)}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){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Fy?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===jy&&this.setState({status:zy})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[yf.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||Dy?this.safeSetState({status:By},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Fy},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:By},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:yf.findDOMNode(this);t&&!Dy?(this.props.onExit(r),this.safeSetState({status:Uy},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:jy},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:jy},(function(){e.props.onExited(r)}))},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){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:yf.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===zy)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=qy(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ut.createElement(Ay.Provider,{value:null},"function"==typeof n?n(e,r):ut.cloneElement(ut.Children.only(n),r))},t}(ut.Component);function Wy(){}Hy.contextType=Ay,Hy.propTypes={},Hy.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Wy,onEntering:Wy,onEntered:Wy,onExit:Wy,onExiting:Wy,onExited:Wy},Hy.UNMOUNTED=zy,Hy.EXITED=jy,Hy.ENTERING=Fy,Hy.ENTERED=By,Hy.EXITING=Uy;var Vy=Hy;function $y(e,t){var n=Object.create(null);return e&&Le.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Le.exports.isValidElement(e)?t(e):e}(e)})),n}function Gy(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Ky(e,t,n){var r=$y(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 l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(Le.exports.isValidElement(a)){var l=i in t,s=i in r,u=t[i],c=Le.exports.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&Le.exports.isValidElement(u)&&(o[i]=Le.exports.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:Gy(a,"exit",e),enter:Gy(a,"enter",e)})):o[i]=Le.exports.cloneElement(a,{in:!1}):o[i]=Le.exports.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Gy(a,"exit",e),enter:Gy(a,"enter",e)})}})),o}var Zy=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Xy=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}My(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,$y(n.children,(function(e){return Le.exports.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Gy(e,"appear",n),enter:Gy(e,"enter",n),exit:Gy(e,"exit",n)})}))):Ky(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=$y(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=Ny({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=qy(e,["component","childFactory"]),o=this.state.contextValue,i=Zy(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?ut.createElement(Ay.Provider,{value:o},i):ut.createElement(Ay.Provider,{value:o},ut.createElement(t,r,i))},t}(ut.Component);Xy.propTypes={},Xy.defaultProps={component:"div",childFactory:function(e){return e}};var Qy=Xy;function Jy(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}}var Yy=Le.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.component,i=void 0===o?"div":o,a=e.square,l=void 0!==a&&a,s=e.elevation,u=void 0===s?1:s,c=e.variant,f=void 0===c?"elevation":c,d=Hm(e,["classes","className","component","square","elevation","variant"]);return Le.exports.createElement(i,Wm({className:xm(n.root,r,"outlined"===f?n.outlined:n["elevation".concat(u)],!l&&n.rounded),ref:t},d))})),eb=ug((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),Wm({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(Yy);function tb(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)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var nb="undefined"==typeof window?Le.exports.useEffect:Le.exports.useLayoutEffect;function rb(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,o=e.rippleX,i=e.rippleY,a=e.rippleSize,l=e.in,s=e.onExited,u=void 0===s?function(){}:s,c=e.timeout,f=Le.exports.useState(!1),d=f[0],p=f[1],h=xm(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},v=xm(t.child,d&&t.childLeaving,r&&t.childPulsate),g=xy(u);return nb((function(){if(!l){p(!0);var e=setTimeout(g,c);return function(){clearTimeout(e)}}}),[g,l,c]),Le.exports.createElement("span",{className:h,style:m},Le.exports.createElement("span",{className:v}))}var ob=Le.exports.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,o=e.classes,i=e.className,a=Hm(e,["center","classes","className"]),l=Le.exports.useState([]),s=l[0],u=l[1],c=Le.exports.useRef(0),f=Le.exports.useRef(null);Le.exports.useEffect((function(){f.current&&(f.current(),f.current=null)}),[s]);var d=Le.exports.useRef(!1),p=Le.exports.useRef(null),h=Le.exports.useRef(null),m=Le.exports.useRef(null);Le.exports.useEffect((function(){return function(){clearTimeout(p.current)}}),[]);var v=Le.exports.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;u((function(e){return[].concat(tb(e),[Le.exports.createElement(rb,{key:c.current,classes:o,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i})])})),c.current+=1,f.current=a}),[o]),g=Le.exports.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,l=void 0===a?r||t.pulsate:a,s=t.fakeElement,u=void 0!==s&&s;if("mousedown"===e.type&&d.current)d.current=!1;else{"touchstart"===e.type&&(d.current=!0);var c,f,g,y=u?null:m.current,b=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),f=Math.round(b.height/2);else{var x=e.touches?e.touches[0]:e,E=x.clientX,w=x.clientY;c=Math.round(E-b.left),f=Math.round(w-b.top)}if(l)(g=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(g+=1);else{var S=2*Math.max(Math.abs((y?y.clientWidth:0)-c),c)+2,C=2*Math.max(Math.abs((y?y.clientHeight:0)-f),f)+2;g=Math.sqrt(Math.pow(S,2)+Math.pow(C,2))}e.touches?null===h.current&&(h.current=function(){v({pulsate:i,rippleX:c,rippleY:f,rippleSize:g,cb:n})},p.current=setTimeout((function(){h.current&&(h.current(),h.current=null)}),80)):v({pulsate:i,rippleX:c,rippleY:f,rippleSize:g,cb:n})}}),[r,v]),y=Le.exports.useCallback((function(){g({},{pulsate:!0})}),[g]),b=Le.exports.useCallback((function(e,t){if(clearTimeout(p.current),"touchend"===e.type&&h.current)return e.persist(),h.current(),h.current=null,void(p.current=setTimeout((function(){b(e,t)})));h.current=null,u((function(e){return e.length>0?e.slice(1):e})),f.current=t}),[]);return Le.exports.useImperativeHandle(t,(function(){return{pulsate:y,start:g,stop:b}}),[y,g,b]),Le.exports.createElement("span",Wm({className:xm(o.root,i),ref:m},a),Le.exports.createElement(Qy,{component:null,exit:!0},s))})),ib=ug((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"})(Le.exports.memo(ob)),ab=Le.exports.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,o=e.centerRipple,i=void 0!==o&&o,a=e.children,l=e.classes,s=e.className,u=e.component,c=void 0===u?"button":u,f=e.disabled,d=void 0!==f&&f,p=e.disableRipple,h=void 0!==p&&p,m=e.disableTouchRipple,v=void 0!==m&&m,g=e.focusRipple,y=void 0!==g&&g,b=e.focusVisibleClassName,x=e.onBlur,E=e.onClick,w=e.onFocus,S=e.onFocusVisible,C=e.onKeyDown,k=e.onKeyUp,L=e.onMouseDown,R=e.onMouseLeave,O=e.onMouseUp,_=e.onTouchEnd,I=e.onTouchMove,P=e.onTouchStart,T=e.onDragLeave,N=e.tabIndex,q=void 0===N?0:N,M=e.TouchRippleProps,D=e.type,A=void 0===D?"button":D,z=Hm(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"]),j=Le.exports.useRef(null);var F=Le.exports.useRef(null),B=Le.exports.useState(!1),U=B[0],H=B[1];d&&U&&H(!1);var W=Py(),V=W.isFocusVisible,$=W.onBlurVisible,G=W.ref;function K(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;return xy((function(r){return t&&t(r),!n&&F.current&&F.current[e](r),!0}))}Le.exports.useImperativeHandle(n,(function(){return{focusVisible:function(){H(!0),j.current.focus()}}}),[]),Le.exports.useEffect((function(){U&&y&&!h&&F.current.pulsate()}),[h,y,U]);var Z=K("start",L),X=K("stop",T),Q=K("stop",O),J=K("stop",(function(e){U&&e.preventDefault(),R&&R(e)})),Y=K("start",P),ee=K("stop",_),te=K("stop",I),ne=K("stop",(function(e){U&&($(e),H(!1)),x&&x(e)}),!1),re=xy((function(e){j.current||(j.current=e.currentTarget),V(e)&&(H(!0),S&&S(e)),w&&w(e)})),oe=function(){var e=ct.exports.findDOMNode(j.current);return c&&"button"!==c&&!("A"===e.tagName&&e.href)},ie=Le.exports.useRef(!1),ae=xy((function(e){y&&!ie.current&&U&&F.current&&" "===e.key&&(ie.current=!0,e.persist(),F.current.stop(e,(function(){F.current.start(e)}))),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!d&&(e.preventDefault(),E&&E(e))})),le=xy((function(e){y&&" "===e.key&&F.current&&U&&!e.defaultPrevented&&(ie.current=!1,e.persist(),F.current.stop(e,(function(){F.current.pulsate(e)}))),k&&k(e),E&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&E(e)})),se=c;"button"===se&&z.href&&(se="a");var ue={};"button"===se?(ue.type=A,ue.disabled=d):("a"===se&&z.href||(ue.role="button"),ue["aria-disabled"]=d);var ce=Ey(r,t),fe=Ey(G,j),de=Ey(ce,fe),pe=Le.exports.useState(!1),he=pe[0],me=pe[1];Le.exports.useEffect((function(){me(!0)}),[]);var ve=he&&!h&&!d;return Le.exports.createElement(se,Wm({className:xm(l.root,s,U&&[l.focusVisible,b],d&&l.disabled),onBlur:ne,onClick:E,onFocus:re,onKeyDown:ae,onKeyUp:le,onMouseDown:Z,onMouseLeave:J,onMouseUp:Q,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:Y,ref:de,tabIndex:d?-1:q},ue,z),a,ve?Le.exports.createElement(ib,Wm({ref:F,center:i},M)):null)})),lb=ug({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"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(ab),sb=Le.exports.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,o=e.children,i=e.classes,a=e.className,l=e.color,s=void 0===l?"default":l,u=e.disabled,c=void 0!==u&&u,f=e.disableFocusRipple,d=void 0!==f&&f,p=e.size,h=void 0===p?"medium":p,m=Hm(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return Le.exports.createElement(lb,Wm({className:xm(i.root,a,"default"!==s&&i["color".concat(py(s))],c&&i.disabled,"small"===h&&i["size".concat(py(h))],{start:i.edgeStart,end:i.edgeEnd}[r]),centerRipple:!0,focusRipple:!d,disabled:c,ref:t},m),Le.exports.createElement("span",{className:i.label},o))})),ub=ug((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:Bm(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:Bm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Bm(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"})(sb),cb=Le.exports.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,o=e.badgeContent,i=e.children,a=e.classes,l=e.className,s=e.color,u=void 0===s?"default":s,c=e.component,f=void 0===c?"span":c,d=e.invisible,p=e.max,h=void 0===p?99:p,m=e.overlap,v=void 0===m?"rectangle":m,g=e.showZero,y=void 0!==g&&g,b=e.variant,x=void 0===b?"standard":b,E=Hm(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),w=d;null==d&&(0===o&&!y||null==o&&"dot"!==x)&&(w=!0);var S="";return"dot"!==x&&(S=o>h?"".concat(h,"+"):o),Le.exports.createElement(f,Wm({className:xm(a.root,l),ref:t},E),i,Le.exports.createElement("span",{className:xm(a.badge,a["".concat(r.horizontal).concat(py(r.vertical),"}")],a["anchorOrigin".concat(py(r.vertical)).concat(py(r.horizontal)).concat(py(v))],"default"!==u&&a["color".concat(py(u))],w&&a.invisible,"dot"===x&&a.dot)},S))})),fb=ug((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,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:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{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%)"}},anchorOriginBottomRightRectangular:{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%)"}},anchorOriginTopLeftRectangular:{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%)"}},anchorOriginBottomLeftRectangular:{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%)"}},anchorOriginTopRightCircular:{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%)"}},anchorOriginBottomRightCircular:{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%)"}},anchorOriginTopLeftCircular:{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%)"}},anchorOriginBottomLeftCircular:{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"})(cb),db=function(e){var t=function(t){var n=e(t);return t.css?mv({},yv(n,e(mv({theme:t.theme},t.css))),Rv(t.css,[e.filterProps])):t.sx?mv({},yv(n,e(mv({theme:t.theme},t.sx))),Rv(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(hv(e.filterProps)),t}(Cv(Lv,Ov,_v,Iv,Tv,Pv,Nv,Bv,Xv,Qv)),pb=lg("div")(db,{name:"MuiBox"}),hb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},mb=Le.exports.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,o=e.classes,i=e.className,a=e.color,l=void 0===a?"initial":a,s=e.component,u=e.display,c=void 0===u?"initial":u,f=e.gutterBottom,d=void 0!==f&&f,p=e.noWrap,h=void 0!==p&&p,m=e.paragraph,v=void 0!==m&&m,g=e.variant,y=void 0===g?"body1":g,b=e.variantMapping,x=void 0===b?hb:b,E=Hm(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),w=s||(v?"p":x[y]||hb[y])||"span";return Le.exports.createElement(w,Wm({className:xm(o.root,i,"inherit"!==y&&o[y],"initial"!==l&&o["color".concat(py(l))],h&&o.noWrap,d&&o.gutterBottom,v&&o.paragraph,"inherit"!==r&&o["align".concat(py(r))],"initial"!==c&&o["display".concat(py(c))]),ref:t},E))})),vb=ug((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"})(mb),gb=Le.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.color,a=void 0===i?"default":i,l=e.component,s=void 0===l?"button":l,u=e.disabled,c=void 0!==u&&u,f=e.disableElevation,d=void 0!==f&&f,p=e.disableFocusRipple,h=void 0!==p&&p,m=e.endIcon,v=e.focusVisibleClassName,g=e.fullWidth,y=void 0!==g&&g,b=e.size,x=void 0===b?"medium":b,E=e.startIcon,w=e.type,S=void 0===w?"button":w,C=e.variant,k=void 0===C?"text":C,L=Hm(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),R=E&&Le.exports.createElement("span",{className:xm(r.startIcon,r["iconSize".concat(py(x))])},E),O=m&&Le.exports.createElement("span",{className:xm(r.endIcon,r["iconSize".concat(py(x))])},m);return Le.exports.createElement(lb,Wm({className:xm(r.root,r[k],o,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(k).concat(py(a))],"medium"!==x&&[r["".concat(k,"Size").concat(py(x))],r["size".concat(py(x))]],d&&r.disableElevation,c&&r.disabled,y&&r.fullWidth),component:s,disabled:c,focusRipple:!h,focusVisibleClassName:xm(r.focusVisible,v),ref:t,type:S},L),Le.exports.createElement("span",{className:r.label},R,n,O))})),yb=ug((function(e){return{root:Wm({},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:Bm(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:Bm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Bm(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.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Bm(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Bm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Bm(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Bm(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}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},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"})(gb),bb=Le.exports.createContext();function xb(){return Le.exports.useContext(bb)}var Eb=bb,wb=44,Sb=Le.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.color,i=void 0===o?"primary":o,a=e.disableShrink,l=void 0!==a&&a,s=e.size,u=void 0===s?40:s,c=e.style,f=e.thickness,d=void 0===f?3.6:f,p=e.value,h=void 0===p?0:p,m=e.variant,v=void 0===m?"indeterminate":m,g=Hm(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),y={},b={},x={};if("determinate"===v||"static"===v){var E=2*Math.PI*((wb-d)/2);y.strokeDasharray=E.toFixed(3),x["aria-valuenow"]=Math.round(h),y.strokeDashoffset="".concat(((100-h)/100*E).toFixed(3),"px"),b.transform="rotate(-90deg)"}return Le.exports.createElement("div",Wm({className:xm(n.root,r,"inherit"!==i&&n["color".concat(py(i))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[v]),style:Wm({width:u,height:u},b,c),ref:t,role:"progressbar"},x,g),Le.exports.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(wb," ").concat(wb)},Le.exports.createElement("circle",{className:xm(n.circle,l&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[v]),style:y,cx:wb,cy:wb,r:(wb-d)/2,fill:"none",strokeWidth:d})))})),Cb=ug((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},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"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"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})(Sb);var kb="undefined"!=typeof window?Le.exports.useLayoutEffect:Le.exports.useEffect,Lb=Le.exports.forwardRef((function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=void 0!==o&&o,a=e.onRendered,l=Le.exports.useState(null),s=l[0],u=l[1],c=Ey(Le.exports.isValidElement(n)?n.ref:null,t);return kb((function(){i||u(function(e){return e="function"==typeof e?e():e,ct.exports.findDOMNode(e)}(r)||document.body)}),[r,i]),kb((function(){if(s&&!i)return yy(t,s),function(){yy(t,null)}}),[t,s,i]),kb((function(){a&&(s||i)&&a()}),[a,s,i]),i?Le.exports.isValidElement(n)?Le.exports.cloneElement(n,{ref:c}):n:s?ct.exports.createPortal(n,s):s}));function Rb(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 Ob(){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 _b(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Ib(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Pb(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(tb(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&_b(e,o)}))}function Tb(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function Nb(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=vy(e);return t.body===e?gy(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=Ob();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Ib(i)+a,"px"),n=vy(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Ib(e)+a,"px")}))}var l=i.parentElement,s="HTML"===l.nodeName&&"scroll"===window.getComputedStyle(l)["overflow-y"]?l:i;r.push({value:s.style.overflow,key:"overflow",el:s}),s.style.overflow="hidden"}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 qb=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}var t,n,r;return t=e,(n=[{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&&_b(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);Pb(t,e.mountNode,e.modalRef,r,!0);var o=Tb(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=Tb(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=Nb(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=Tb(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&&_b(e.modalRef,!0),Pb(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&&_b(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}])&&Rb(t.prototype,n),r&&Rb(t,r),e}();function Mb(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,i=void 0!==o&&o,a=e.disableRestoreFocus,l=void 0!==a&&a,s=e.getDoc,u=e.isEnabled,c=e.open,f=Le.exports.useRef(),d=Le.exports.useRef(null),p=Le.exports.useRef(null),h=Le.exports.useRef(),m=Le.exports.useRef(null),v=Le.exports.useCallback((function(e){m.current=ct.exports.findDOMNode(e)}),[]),g=Ey(t.ref,v),y=Le.exports.useRef();return Le.exports.useEffect((function(){y.current=c}),[c]),!y.current&&c&&"undefined"!=typeof window&&(h.current=s().activeElement),Le.exports.useEffect((function(){if(c){var e=vy(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){null!==m.current&&(e.hasFocus()&&!i&&u()&&!f.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():f.current=!1)},n=function(t){!i&&u()&&9===t.keyCode&&e.activeElement===m.current&&(f.current=!0,t.shiftKey?p.current.focus():d.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),l||(h.current&&h.current.focus&&h.current.focus(),h.current=null)}}}),[r,i,l,u,c]),Le.exports.createElement(Le.exports.Fragment,null,Le.exports.createElement("div",{tabIndex:0,ref:d,"data-test":"sentinelStart"}),Le.exports.cloneElement(t,{ref:g}),Le.exports.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelEnd"}))}var Db={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},Ab=Le.exports.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,o=e.open,i=Hm(e,["invisible","open"]);return o?Le.exports.createElement("div",Wm({"aria-hidden":!0,ref:t},i,{style:Wm({},Db.root,r?Db.invisible:{},i.style)})):null}));var zb=new qb,jb=Le.exports.forwardRef((function(e,t){var n=rm(),r=ld({name:"MuiModal",props:Wm({},e),theme:n}),o=r.BackdropComponent,i=void 0===o?Ab:o,a=r.BackdropProps,l=r.children,s=r.closeAfterTransition,u=void 0!==s&&s,c=r.container,f=r.disableAutoFocus,d=void 0!==f&&f,p=r.disableBackdropClick,h=void 0!==p&&p,m=r.disableEnforceFocus,v=void 0!==m&&m,g=r.disableEscapeKeyDown,y=void 0!==g&&g,b=r.disablePortal,x=void 0!==b&&b,E=r.disableRestoreFocus,w=void 0!==E&&E,S=r.disableScrollLock,C=void 0!==S&&S,k=r.hideBackdrop,L=void 0!==k&&k,R=r.keepMounted,O=void 0!==R&&R,_=r.manager,I=void 0===_?zb:_,P=r.onBackdropClick,T=r.onClose,N=r.onEscapeKeyDown,q=r.onRendered,M=r.open,D=Hm(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),A=Le.exports.useState(!0),z=A[0],j=A[1],F=Le.exports.useRef({}),B=Le.exports.useRef(null),U=Le.exports.useRef(null),H=Ey(U,t),W=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),V=function(){return vy(B.current)},$=function(){return F.current.modalRef=U.current,F.current.mountNode=B.current,F.current},G=function(){I.mount($(),{disableScrollLock:C}),U.current.scrollTop=0},K=xy((function(){var e=function(e){return e="function"==typeof e?e():e,ct.exports.findDOMNode(e)}(c)||V().body;I.add($(),e),U.current&&G()})),Z=Le.exports.useCallback((function(){return I.isTopModal($())}),[I]),X=xy((function(e){B.current=e,e&&(q&&q(),M&&Z()?G():_b(U.current,!0))})),Q=Le.exports.useCallback((function(){I.remove($())}),[I]);if(Le.exports.useEffect((function(){return function(){Q()}}),[Q]),Le.exports.useEffect((function(){M?K():W&&u||Q()}),[M,Q,W,u,K]),!O&&!M&&(!W||z))return null;var J=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:rg}),Y={};return void 0===l.props.tabIndex&&(Y.tabIndex=l.props.tabIndex||"-1"),W&&(Y.onEnter=hy((function(){j(!1)}),l.props.onEnter),Y.onExited=hy((function(){j(!0),u&&Q()}),l.props.onExited)),Le.exports.createElement(Lb,{ref:X,container:c,disablePortal:x},Le.exports.createElement("div",Wm({ref:H,onKeyDown:function(e){"Escape"===e.key&&Z()&&(N&&N(e),y||(e.stopPropagation(),T&&T(e,"escapeKeyDown")))},role:"presentation"},D,{style:Wm({},J.root,!M&&z?J.hidden:{},D.style)}),L?null:Le.exports.createElement(i,Wm({open:M,onClick:function(e){e.target===e.currentTarget&&(P&&P(e),!h&&T&&T(e,"backdropClick"))}},a)),Le.exports.createElement(Mb,{disableEnforceFocus:v,disableAutoFocus:d,disableRestoreFocus:w,getDoc:V,isEnabled:Z,open:M},Le.exports.cloneElement(l,Y))))})),Fb=Le.exports.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,o=e.classes,i=e.className,a=e.component,l=void 0===a?"hr":a,s=e.flexItem,u=void 0!==s&&s,c=e.light,f=void 0!==c&&c,d=e.orientation,p=void 0===d?"horizontal":d,h=e.role,m=void 0===h?"hr"!==l?"separator":void 0:h,v=e.variant,g=void 0===v?"fullWidth":v,y=Hm(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return Le.exports.createElement(l,Wm({className:xm(o.root,i,"fullWidth"!==g&&o[g],r&&o.absolute,u&&o.flexItem,f&&o.light,"vertical"===p&&o.vertical),role:m,ref:t},y))})),Bb=ug((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:Bm(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(Fb);function Ub(e,t){return parseInt(e[t],10)||0}var Hb="undefined"!=typeof window?Le.exports.useLayoutEffect:Le.exports.useEffect,Wb={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},Vb=Le.exports.forwardRef((function(e,t){var n=e.onChange,r=e.rows,o=e.rowsMax,i=e.rowsMin,a=e.maxRows,l=e.minRows,s=void 0===l?1:l,u=e.style,c=e.value,f=Hm(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),d=a||o,p=r||i||s,h=Le.exports.useRef(null!=c).current,m=Le.exports.useRef(null),v=Ey(t,m),g=Le.exports.useRef(null),y=Le.exports.useRef(0),b=Le.exports.useState({}),x=b[0],E=b[1],w=Le.exports.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=g.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],i=Ub(n,"padding-bottom")+Ub(n,"padding-top"),a=Ub(n,"border-bottom-width")+Ub(n,"border-top-width"),l=r.scrollHeight-i;r.value="x";var s=r.scrollHeight-i,u=l;p&&(u=Math.max(Number(p)*s,u)),d&&(u=Math.min(Number(d)*s,u));var c=(u=Math.max(u,s))+("border-box"===o?i+a:0),f=Math.abs(u-l)<=1;E((function(e){return y.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==f)?(y.current+=1,{overflow:f,outerHeightStyle:c}):e}))}),[d,p,e.placeholder]);Le.exports.useEffect((function(){var e=my((function(){y.current=0,w()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[w]),Hb((function(){w()})),Le.exports.useEffect((function(){y.current=0}),[c]);return Le.exports.createElement(Le.exports.Fragment,null,Le.exports.createElement("textarea",Wm({value:c,onChange:function(e){y.current=0,h||w(),n&&n(e)},ref:v,rows:p,style:Wm({height:x.outerHeightStyle,overflow:x.overflow?"hidden":null},u)},f)),Le.exports.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:g,tabIndex:-1,style:Wm({},Wb,u)}))}));function $b(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var Gb="undefined"==typeof window?Le.exports.useEffect:Le.exports.useLayoutEffect,Kb=Le.exports.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,o=e.autoFocus,i=e.classes,a=e.className;e.color;var l=e.defaultValue,s=e.disabled,u=e.endAdornment;e.error;var c=e.fullWidth,f=void 0!==c&&c,d=e.id,p=e.inputComponent,h=void 0===p?"input":p,m=e.inputProps,v=void 0===m?{}:m,g=e.inputRef;e.margin;var y=e.multiline,b=void 0!==y&&y,x=e.name,E=e.onBlur,w=e.onChange,S=e.onClick,C=e.onFocus,k=e.onKeyDown,L=e.onKeyUp,R=e.placeholder,O=e.readOnly,_=e.renderSuffix,I=e.rows,P=e.rowsMax,T=e.rowsMin,N=e.maxRows,q=e.minRows,M=e.startAdornment,D=e.type,A=void 0===D?"text":D,z=e.value,j=Hm(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","rowsMin","maxRows","minRows","startAdornment","type","value"]),F=null!=v.value?v.value:z,B=Le.exports.useRef(null!=F).current,U=Le.exports.useRef(),H=Le.exports.useCallback((function(e){}),[]),W=Ey(v.ref,H),V=Ey(g,W),$=Ey(U,V),G=Le.exports.useState(!1),K=G[0],Z=G[1],X=xb(),Q=function(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}),{})}({props:e,muiFormControl:X,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Q.focused=X?X.focused:K,Le.exports.useEffect((function(){!X&&s&&K&&(Z(!1),E&&E())}),[X,s,K,E]);var J=X&&X.onFilled,Y=X&&X.onEmpty,ee=Le.exports.useCallback((function(e){!function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&($b(e.value)&&""!==e.value||t&&$b(e.defaultValue)&&""!==e.defaultValue)}(e)?Y&&Y():J&&J()}),[J,Y]);Gb((function(){B&&ee({value:F})}),[F,ee,B]);Le.exports.useEffect((function(){ee(U.current)}),[]);var te=h,ne=Wm({},v,{ref:$});"string"!=typeof te?ne=Wm({inputRef:$,type:A},ne,{ref:null}):b?!I||N||q||P||T?(ne=Wm({minRows:I||q,rowsMax:P,maxRows:N},ne),te=Vb):te="textarea":ne=Wm({type:A},ne);return Le.exports.useEffect((function(){X&&X.setAdornedStart(Boolean(M))}),[X,M]),Le.exports.createElement("div",Wm({className:xm(i.root,i["color".concat(py(Q.color||"primary"))],a,Q.disabled&&i.disabled,Q.error&&i.error,f&&i.fullWidth,Q.focused&&i.focused,X&&i.formControl,b&&i.multiline,M&&i.adornedStart,u&&i.adornedEnd,"dense"===Q.margin&&i.marginDense),onClick:function(e){U.current&&e.currentTarget===e.target&&U.current.focus(),S&&S(e)},ref:t},j),M,Le.exports.createElement(Eb.Provider,{value:null},Le.exports.createElement(te,Wm({"aria-invalid":Q.error,"aria-describedby":n,autoComplete:r,autoFocus:o,defaultValue:l,disabled:Q.disabled,id:d,onAnimationStart:function(e){ee("mui-auto-fill-cancel"===e.animationName?U.current:{value:"x"})},name:x,placeholder:R,readOnly:O,required:Q.required,rows:I,value:F,onKeyDown:k,onKeyUp:L},ne,{className:xm(i.input,v.className,Q.disabled&&i.disabled,b&&i.inputMultiline,Q.hiddenLabel&&i.inputHiddenLabel,M&&i.inputAdornedStart,u&&i.inputAdornedEnd,"search"===A&&i.inputTypeSearch,"dense"===Q.margin&&i.inputMarginDense),onBlur:function(e){E&&E(e),v.onBlur&&v.onBlur(e),X&&X.onBlur?X.onBlur(e):Z(!1)},onChange:function(e){if(!B){var t=e.target||U.current;if(null==t)throw new Error(Lf(1));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)),w&&w.apply(void 0,[e].concat(r))},onFocus:function(e){Q.disabled?e.stopPropagation():(C&&C(e),v.onFocus&&v.onFocus(e),X&&X.onFocus?X.onFocus(e):Z(!0))}}))),u,_?_(Wm({},Q,{startAdornment:M})):null)})),Zb=ug((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{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:Wm({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",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",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-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:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(Kb),Xb=[0,1,2,3,4,5,6,7,8,9,10],Qb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function Jb(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 Yb=Le.exports.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,o=e.alignItems,i=void 0===o?"stretch":o,a=e.classes,l=e.className,s=e.component,u=void 0===s?"div":s,c=e.container,f=void 0!==c&&c,d=e.direction,p=void 0===d?"row":d,h=e.item,m=void 0!==h&&h,v=e.justify,g=e.justifyContent,y=void 0===g?"flex-start":g,b=e.lg,x=void 0!==b&&b,E=e.md,w=void 0!==E&&E,S=e.sm,C=void 0!==S&&S,k=e.spacing,L=void 0===k?0:k,R=e.wrap,O=void 0===R?"wrap":R,_=e.xl,I=void 0!==_&&_,P=e.xs,T=void 0!==P&&P,N=e.zeroMinWidth,q=void 0!==N&&N,M=Hm(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),D=xm(a.root,l,f&&[a.container,0!==L&&a["spacing-xs-".concat(String(L))]],m&&a.item,q&&a.zeroMinWidth,"row"!==p&&a["direction-xs-".concat(String(p))],"wrap"!==O&&a["wrap-xs-".concat(String(O))],"stretch"!==i&&a["align-items-xs-".concat(String(i))],"stretch"!==r&&a["align-content-xs-".concat(String(r))],"flex-start"!==(v||y)&&a["justify-content-xs-".concat(String(v||y))],!1!==T&&a["grid-xs-".concat(String(T))],!1!==C&&a["grid-sm-".concat(String(C))],!1!==w&&a["grid-md-".concat(String(w))],!1!==x&&a["grid-lg-".concat(String(x))],!1!==I&&a["grid-xl-".concat(String(I))]);return Le.exports.createElement(u,Wm({className:D,ref:t},M))})),ex=ug((function(e){return Wm({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-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return Xb.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(Jb(o,2)),width:"calc(100% + ".concat(Jb(o),")"),"& > $item":{padding:Jb(o,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};Qb.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?Wm(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(Yb);function tx(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var nx={entering:{opacity:1,transform:tx(1)},entered:{opacity:1,transform:"none"}},rx=Le.exports.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,o=void 0!==r&&r,i=e.in,a=e.onEnter,l=e.onEntered,s=e.onEntering,u=e.onExit,c=e.onExited,f=e.onExiting,d=e.style,p=e.timeout,h=void 0===p?"auto":p,m=e.TransitionComponent,v=void 0===m?Vy:m,g=Hm(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),y=Le.exports.useRef(),b=Le.exports.useRef(),x=sg(),E=x.unstable_strictMode&&!o,w=Le.exports.useRef(null),S=Ey(n.ref,t),C=Ey(E?w:void 0,S),k=function(e){return function(t,n){if(e){var r=Ty(E?[w.current,t]:[t,n],2),o=r[0],i=r[1];void 0===i?e(o):e(o,i)}}},L=k(s),R=k((function(e,t){!function(e){e.scrollTop}(e);var n,r=Jy({style:d,timeout:h},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===h?(n=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=o,e.style.transition=[x.transitions.create("opacity",{duration:n,delay:i}),x.transitions.create("transform",{duration:.666*n,delay:i})].join(","),a&&a(e,t)})),O=k(l),_=k(f),I=k((function(e){var t,n=Jy({style:d,timeout:h},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===h?(t=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[x.transitions.create("opacity",{duration:t,delay:o}),x.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=tx(.75),u&&u(e)})),P=k(c);return Le.exports.useEffect((function(){return function(){clearTimeout(y.current)}}),[]),Le.exports.createElement(v,Wm({appear:!0,in:i,nodeRef:E?w:void 0,onEnter:R,onEntered:O,onEntering:L,onExit:I,onExited:P,onExiting:_,addEndListener:function(e,t){var n=E?e:t;"auto"===h&&(y.current=setTimeout(n,b.current||0))},timeout:"auto"===h?null:h},g),(function(e,t){return Le.exports.cloneElement(n,Wm({style:Wm({opacity:0,transform:tx(.75),visibility:"exited"!==e||i?void 0:"hidden"},nx[e],d,n.props.style),ref:C},t))}))}));rx.muiSupportAuto=!0;var ox=rx,ix=Le.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.color,i=void 0===o?"inherit":o,a=e.component,l=void 0===a?"span":a,s=e.fontSize,u=void 0===s?"medium":s,c=Hm(e,["classes","className","color","component","fontSize"]);return Le.exports.createElement(l,Wm({className:xm("material-icons",n.root,r,"inherit"!==i&&n["color".concat(py(i))],"default"!==u&&"medium"!==u&&n["fontSize".concat(py(u))]),"aria-hidden":!0,ref:t},c))}));ix.muiName="Icon";var ax=ug((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"})(ix),lx=Le.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"div":i,l=e.disablePointerEvents,s=void 0!==l&&l,u=e.disableTypography,c=void 0!==u&&u,f=e.position,d=e.variant,p=Hm(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),h=xb()||{},m=d;return d&&h.variant,h&&!m&&(m=h.variant),Le.exports.createElement(Eb.Provider,{value:null},Le.exports.createElement(a,Wm({className:xm(r.root,o,"end"===f?r.positionEnd:r.positionStart,s&&r.disablePointerEvents,h.hiddenLabel&&r.hiddenLabel,"filled"===m&&r.filled,"dense"===h.margin&&r.marginDense),ref:t},p),"string"!=typeof n||c?n:Le.exports.createElement(vb,{color:"textSecondary"},n)))})),sx=ug({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(lx),ux=Le.exports.createContext({}),cx=Le.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"ul":i,l=e.dense,s=void 0!==l&&l,u=e.disablePadding,c=void 0!==u&&u,f=e.subheader,d=Hm(e,["children","classes","className","component","dense","disablePadding","subheader"]),p=Le.exports.useMemo((function(){return{dense:s}}),[s]);return Le.exports.createElement(ux.Provider,{value:p},Le.exports.createElement(a,Wm({className:xm(r.root,o,s&&r.dense,!c&&r.padding,f&&r.subheader),ref:t},d),f,n))})),fx=ug({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(cx),dx="undefined"==typeof window?Le.exports.useEffect:Le.exports.useLayoutEffect,px=Le.exports.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,o=e.autoFocus,i=void 0!==o&&o,a=e.button,l=void 0!==a&&a,s=e.children,u=e.classes,c=e.className,f=e.component,d=e.ContainerComponent,p=void 0===d?"li":d,h=e.ContainerProps,m=(h=void 0===h?{}:h).className,v=Hm(h,["className"]),g=e.dense,y=void 0!==g&&g,b=e.disabled,x=void 0!==b&&b,E=e.disableGutters,w=void 0!==E&&E,S=e.divider,C=void 0!==S&&S,k=e.focusVisibleClassName,L=e.selected,R=void 0!==L&&L,O=Hm(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),_=Le.exports.useContext(ux),I={dense:y||_.dense||!1,alignItems:r},P=Le.exports.useRef(null);dx((function(){i&&P.current&&P.current.focus()}),[i]);var T,N,q=Le.exports.Children.toArray(s),M=q.length&&(T=q[q.length-1],N=["ListItemSecondaryAction"],Le.exports.isValidElement(T)&&-1!==N.indexOf(T.type.muiName)),D=Ey(Le.exports.useCallback((function(e){P.current=ct.exports.findDOMNode(e)}),[]),t),A=Wm({className:xm(u.root,c,I.dense&&u.dense,!w&&u.gutters,C&&u.divider,x&&u.disabled,l&&u.button,"center"!==r&&u.alignItemsFlexStart,M&&u.secondaryAction,R&&u.selected),disabled:x},O),z=f||"li";return l&&(A.component=f||"div",A.focusVisibleClassName=xm(u.focusVisible,k),z=lb),M?(z=A.component||f?z:"div","li"===p&&("li"===z?z="div":"li"===A.component&&(A.component="div")),Le.exports.createElement(ux.Provider,{value:I},Le.exports.createElement(p,Wm({className:xm(u.container,m),ref:D},v),Le.exports.createElement(z,A,q),q.pop()))):Le.exports.createElement(ux.Provider,{value:I},Le.exports.createElement(z,Wm({ref:D},A),q))})),hx=ug((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"})(px),mx=Le.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=Hm(e,["classes","className"]),i=Le.exports.useContext(ux);return Le.exports.createElement("div",Wm({className:xm(n.root,r,"flex-start"===i.alignItems&&n.alignItemsFlexStart),ref:t},o))})),vx=ug((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(mx);function gx(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function yx(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function bx(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function xx(e){return"function"==typeof e?e():e}var Ex=Le.exports.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,o=e.anchorOrigin,i=void 0===o?{vertical:"top",horizontal:"left"}:o,a=e.anchorPosition,l=e.anchorReference,s=void 0===l?"anchorEl":l,u=e.children,c=e.classes,f=e.className,d=e.container,p=e.elevation,h=void 0===p?8:p,m=e.getContentAnchorEl,v=e.marginThreshold,g=void 0===v?16:v,y=e.onEnter,b=e.onEntered,x=e.onEntering,E=e.onExit,w=e.onExited,S=e.onExiting,C=e.open,k=e.PaperProps,L=void 0===k?{}:k,R=e.transformOrigin,O=void 0===R?{vertical:"top",horizontal:"left"}:R,_=e.TransitionComponent,I=void 0===_?ox:_,P=e.transitionDuration,T=void 0===P?"auto":P,N=e.TransitionProps,q=void 0===N?{}:N,M=Hm(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"]),D=Le.exports.useRef(),A=Le.exports.useCallback((function(e){if("anchorPosition"===s)return a;var t=xx(r),n=(t&&1===t.nodeType?t:vy(D.current).body).getBoundingClientRect(),o=0===e?i.vertical:"center";return{top:n.top+gx(n,o),left:n.left+yx(n,i.horizontal)}}),[r,i.horizontal,i.vertical,a,s]),z=Le.exports.useCallback((function(e){var t=0;if(m&&"anchorEl"===s){var n=m(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}),[i.vertical,s,m]),j=Le.exports.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:gx(e,O.vertical)+t,horizontal:yx(e,O.horizontal)}}),[O.horizontal,O.vertical]),F=Le.exports.useCallback((function(e){var t=z(e),n={width:e.offsetWidth,height:e.offsetHeight},o=j(n,t);if("none"===s)return{top:null,left:null,transformOrigin:bx(o)};var i=A(t),a=i.top-o.vertical,l=i.left-o.horizontal,u=a+n.height,c=l+n.width,f=gy(xx(r)),d=f.innerHeight-g,p=f.innerWidth-g;if(a<g){var h=a-g;a-=h,o.vertical+=h}else if(u>d){var m=u-d;a-=m,o.vertical+=m}if(l<g){var v=l-g;l-=v,o.horizontal+=v}else if(c>p){var y=c-p;l-=y,o.horizontal+=y}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(l),"px"),transformOrigin:bx(o)}}),[r,s,A,z,j,g]),B=Le.exports.useCallback((function(){var e=D.current;if(e){var t=F(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[F]),U=Le.exports.useCallback((function(e){D.current=ct.exports.findDOMNode(e)}),[]);Le.exports.useEffect((function(){C&&B()})),Le.exports.useImperativeHandle(n,(function(){return C?{updatePosition:function(){B()}}:null}),[C,B]),Le.exports.useEffect((function(){if(C){var e=my((function(){B()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[C,B]);var H=T;"auto"!==T||I.muiSupportAuto||(H=void 0);var W=d||(r?vy(xx(r)).body:void 0);return Le.exports.createElement(jb,Wm({container:W,open:C,ref:t,BackdropProps:{invisible:!0},className:xm(c.root,f)},M),Le.exports.createElement(I,Wm({appear:!0,in:C,onEnter:y,onEntered:b,onExit:E,onExited:w,onExiting:S,timeout:H},q,{onEntering:hy((function(e,t){x&&x(e,t),B()}),q.onEntering)}),Le.exports.createElement(eb,Wm({elevation:h,ref:U},L,{className:xm(c.paper,L.className)}),u)))})),wx=ug({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Ex);function Sx(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Cx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function kx(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Lx(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return;a=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&kx(l,i)&&!s)return void l.focus();l=o(e,l,n)}}var Rx="undefined"==typeof window?Le.exports.useEffect:Le.exports.useLayoutEffect,Ox=Le.exports.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,o=void 0!==r&&r,i=e.autoFocusItem,a=void 0!==i&&i,l=e.children,s=e.className,u=e.disabledItemsFocusable,c=void 0!==u&&u,f=e.disableListWrap,d=void 0!==f&&f,p=e.onKeyDown,h=e.variant,m=void 0===h?"selectedMenu":h,v=Hm(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),g=Le.exports.useRef(null),y=Le.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});Rx((function(){o&&g.current.focus()}),[o]),Le.exports.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!g.current.style.width;if(e.clientHeight<g.current.clientHeight&&n){var r="".concat(Ob(),"px");g.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,g.current.style.width="calc(100% + ".concat(r,")")}return g.current}}}),[]);var b=Ey(Le.exports.useCallback((function(e){g.current=ct.exports.findDOMNode(e)}),[]),t),x=-1;Le.exports.Children.forEach(l,(function(e,t){Le.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===x)&&(x=t))}));var E=Le.exports.Children.map(l,(function(e,t){if(t===x){var n={};return a&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),Le.exports.cloneElement(e,n)}return e}));return Le.exports.createElement(fx,Wm({role:"menu",ref:b,className:s,onKeyDown:function(e){var t=g.current,n=e.key,r=vy(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Lx(t,r,d,c,Sx);else if("ArrowUp"===n)e.preventDefault(),Lx(t,r,d,c,Cx);else if("Home"===n)e.preventDefault(),Lx(t,null,d,c,Sx);else if("End"===n)e.preventDefault(),Lx(t,null,d,c,Cx);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 l=r&&!o.repeating&&kx(r,o);o.previousKeyMatched&&(l||Lx(t,r,!1,c,Sx,o))?e.preventDefault():o.previousKeyMatched=!1}p&&p(e)},tabIndex:o?0:-1},v),E)})),_x=Le.exports.forwardRef((function(e,t){var n,r=e.classes,o=e.className,i=e.component,a=void 0===i?"li":i,l=e.disableGutters,s=void 0!==l&&l,u=e.ListItemClasses,c=e.role,f=void 0===c?"menuitem":c,d=e.selected,p=e.tabIndex,h=Hm(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==p?p:-1),Le.exports.createElement(hx,Wm({button:!0,role:f,tabIndex:n,component:a,selected:d,disableGutters:s,classes:Wm({dense:r.dense},u),className:xm(r.root,o,d&&r.selected,!s&&r.gutters),ref:t},h))})),Ix=ug((function(e){return{root:Wm({},e.typography.body1,Um({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:Wm({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(_x),Px=Le.exports.forwardRef((function(e,t){e.children;var n=e.classes,r=e.className,o=e.label,i=e.labelWidth,a=e.notched,l=e.style,s=Hm(e,["children","classes","className","label","labelWidth","notched","style"]),u="rtl"===sg().direction?"right":"left";if(void 0!==o)return Le.exports.createElement("fieldset",Wm({"aria-hidden":!0,className:xm(n.root,r),ref:t,style:l},s),Le.exports.createElement("legend",{className:xm(n.legendLabelled,a&&n.legendNotched)},o?Le.exports.createElement("span",null,o):Le.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var c=i>0?.75*i+8:.01;return Le.exports.createElement("fieldset",Wm({"aria-hidden":!0,style:Wm(Um({},"padding".concat(py(u)),8),l),className:xm(n.root,r),ref:t},s),Le.exports.createElement("legend",{className:n.legend,style:{width:a?c:.01}},Le.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),Tx=ug((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(Px),Nx=Le.exports.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,o=void 0!==r&&r,i=e.inputComponent,a=void 0===i?"input":i,l=e.label,s=e.labelWidth,u=void 0===s?0:s,c=e.multiline,f=void 0!==c&&c,d=e.notched,p=e.type,h=void 0===p?"text":p,m=Hm(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return Le.exports.createElement(Zb,Wm({renderSuffix:function(e){return Le.exports.createElement(Tx,{className:n.notchedOutline,label:l,labelWidth:u,notched:void 0!==d?d:Boolean(e.startAdornment||e.filled||e.focused)})},classes:Wm({},n,{root:xm(n.root,n.underline),notchedOutline:null}),fullWidth:o,inputComponent:a,multiline:f,ref:t,type:h},m))}));Nx.muiName="Input";var qx=ug((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:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(Nx);function Mx(){var e=c(Le.exports.useState(),2),t=e[0],n=e[1],r=c(Le.exports.useState(),2),o=r[0],i=r[1],a=Le.exports.useCallback((function(e){e&&n(e)}),[]),l=function(){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,a=e.height;i({left:n,top:r,width:o,height:a})};return Le.exports.useLayoutEffect((function(){if(t){if("function"==typeof ResizeObserver){var e=new ResizeObserver(l);return e.observe(t),function(){e.unobserve(t),e.disconnect(t),e=null}}return l(),window.addEventListener("resize",l),function(){window.removeEventListener("resize",l)}}}),[t]),[a,o,t]}function Dx(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function Ax(e){var t=e.size,r=e.style,o=void 0===r?{}:r,i=e.viewBox,a=void 0===i?"0 0 16 16":i,l=e.shapes,u=void 0===l?[]:l,c=n({fontSize:Dx(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},o);return ut.createElement("i",{style:c},ut.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:a,fill:"currentColor"},u.map((function(e,t){var n=e.type,r=e.attrs;return ut.createElement(n,s({key:t},r))}))))}var zx=function(e){return Ax(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]})}(e))},jx=function(e){return Ax(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{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"}}]})}(e))},Fx=function(e){return Ax(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]})}(e))};function Bx(){return(Bx=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 Ux(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hx(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function Wx(e,t){var n;void 0===t&&(t=Hx);var r,o=[],i=!1;return function(){for(var a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];return i&&n===this&&t(l,o)||(r=e.apply(this,l),i=!0,n=this,o=l),r}}var Vx="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function $x(e){cancelAnimationFrame(e.id)}var Gx=null;function Kx(e){if(void 0===e&&(e=!1),null===Gx||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Gx="positive-descending":(t.scrollLeft=1,Gx=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Gx}return Gx}var Zx=function(e,t){return e};function Xx(e){var t,n,r=e.getItemOffset,o=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return n=t=function(e){var t,n;function d(t){var n;return(n=e.call(this,t)||this)._instanceProps=u(n.props,Ux(Ux(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Ux(Ux(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=Wx((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=Wx((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,o=n.props,a=o.direction,l=o.itemSize,s=o.layout,u=n._getItemStyleCache(c&&l,c&&s,c&&a);if(u.hasOwnProperty(e))t=u[e];else{var f=r(n.props,e,n._instanceProps),d=i(n.props,e,n._instanceProps),p="horizontal"===a||"horizontal"===s,h="rtl"===a,m=p?f:0;u[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:p?0:f,height:p?"100%":d,width:p?d:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=Wx((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(Kx()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;n.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r,o;null!==n._resetIsScrollingTimeoutId&&$x(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=150,r=Vx(),o={id:requestAnimationFrame((function n(){Vx()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}n=e,(t=d).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,d.getDerivedStateFromProps=function(e,t){return Qx(e,t),f(e),null};var p=d.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props.itemCount,r=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1)),this.scrollTo(a(this.props,e,t,r,this._instanceProps))},p.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(Kx()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,l=i.scrollWidth;i.scrollLeft=l-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&$x(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,i=e.height,a=e.innerRef,l=e.innerElementType,s=e.innerTagName,u=e.itemCount,c=e.itemData,f=e.itemKey,d=void 0===f?Zx:f,p=e.layout,h=e.outerElementType,m=e.outerTagName,v=e.style,g=e.useIsScrolling,y=e.width,b=this.state.isScrolling,x="horizontal"===r||"horizontal"===p,E=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),S=w[0],C=w[1],k=[];if(u>0)for(var L=S;L<=C;L++)k.push(Le.exports.createElement(t,{data:c,key:d(L,c),index:L,isScrolling:g?b:void 0,style:this._getItemStyle(L)}));var R=o(this.props,this._instanceProps);return Le.exports.createElement(h||m||"div",{className:n,onScroll:E,ref:this._outerRefSetter,style:Bx({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},v)},Le.exports.createElement(l||s||"div",{children:k,ref:a,style:{height:x?"100%":R,pointerEvents:b?"none":void 0,width:x?R:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,l=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(a,l,s)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var u=l(this.props,a,this._instanceProps),c=s(this.props,u,a,this._instanceProps),f=o&&"backward"!==i?1:Math.max(1,n),d=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,u-f),Math.max(0,Math.min(t-1,c+d)),u,c]},d}(Le.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var Qx=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},Jx=Xx({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r){var o=e.direction,i=e.height,a=e.itemCount,l=e.itemSize,s=e.layout,u=e.width,c="horizontal"===o||"horizontal"===s?u:i,f=Math.max(0,a*l-c),d=Math.min(f,t*l),p=Math.max(0,t*l-c+l);switch("smart"===n&&(n=r>=p-c&&r<=d+c?"auto":"center"),n){case"start":return d;case"end":return p;case"center":var h=Math.round(p+(d-p)/2);return h<Math.ceil(c/2)?0:h>f+Math.floor(c/2)?f:h;case"auto":default:return r>=p&&r<=d?r:r<p?p:d}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,i=e.itemCount,a=e.itemSize,l=e.layout,s=e.width,u=t*a,c="horizontal"===r||"horizontal"===l?s:o,f=Math.ceil((c+n-u)/a);return Math.max(0,Math.min(i-1,t+f-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});var Yx=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},eE=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}}(),tE=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},nE=function(e){function t(){var e,n,r;Yx(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=tE(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},tE(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),eE(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,i=n.minimumBatchSize,a=void 0===i?10:i,l=n.threshold,s=void 0===l?15:l,u=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.startIndex,i=e.stopIndex,a=[],l=null,s=null,u=o;u<=i;u++)t(u)?null!==s&&(a.push(l,s),l=s=null):(s=u,null===l&&(l=u));if(null!==s){for(var c=Math.min(Math.max(s,l+r-1),n-1),f=s+1;f<=c&&!t(f);f++)s=f;a.push(l,s)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var d=a[0]-1;if(t(d))break;a[0]=d}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:a,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==u.length||this._memoizedUnloadedRanges.some((function(e,t){return u[t]!==e})))&&(this._memoizedUnloadedRanges=u,this._loadUnloadedRanges(u))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],i=e[r+1],a=n(o,i);null!=a&&a.then((function(){if(function(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:i})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},o=0;o<e.length;o+=2)r(o)}}]),t}(Le.exports.PureComponent),rE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]})},oE=function(e){return Ax(rE(e))},iE=ym((function(e){return{row:{flexWrap:"nowrap",borderBottom:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}}}));function aE(e){var t,n=e.index,r=e.style,o=e.data,i=iE(),a=[i.row],l="",s=o.onClick,u=o.pages;if(u){var f=u.filter((function(e){return e.qArea.qTop<=n&&n<e.qArea.qTop+e.qArea.qHeight}))[0];if(f){var d=f.qArea;if(n>=d.qTop&&n<d.qTop+d.qHeight)t=c(f.qMatrix[n-d.qTop],1)[0]}}var p=!1,h=!1;t&&(l=t.qText,p="L"===t.qState||"XL"===t.qState,h="S"===t.qState||"XS"===t.qState,"S"===t.qState||"L"===t.qState?a.push(i.S):"A"===t.qState?a.push(i.A):"X"!==t.qState&&"XS"!==t.qState&&"XL"!==t.qState||a.push(i.X));var m=t&&t.qHighlightRanges&&t.qHighlightRanges.qRanges.sort((function(e,t){return e.qCharPos-t.qCharPos}))||[],v=m.reduce((function(e,t,n){t.qCharPos>0&&0===n&&e.push([l.slice(0,t.qCharPos)]);var r=m[n-1];return r&&e.push([l.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([l.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===m.length-1&&t.qCharPos+t.qCharCount<l.length&&e.push([l.slice(t.qCharPos+t.qCharCount)]),e}),[]);return ut.createElement(ex,{container:!0,spacing:0,className:a.join(" ").trim(),style:r,onClick:s,role:"row",tabIndex:0,"data-n":t&&t.qElemNumber},ut.createElement(ex,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(l)},0===m.length?ut.createElement(vb,{component:"span",noWrap:!0,color:"inherit"},"".concat(l)):v.map((function(e,t){var n=c(e,2),r=n[0],o=n[1];return ut.createElement(vb,{component:"span",key:t,className:o,noWrap:!0},r)}))),ut.createElement(ex,{item:!0,className:i.icon},p&&ut.createElement(jx,{size:"small"}),h&&ut.createElement(oE,{size:"small"})))}var lE=ym((function(e){return{column:{flexWrap:"nowrap",borderRight:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}}}));function sE(e){var t,n=e.index,r=e.style,o=e.data,i=lE(),a=[i.column],l="",s=o.onClick,u=o.pages;if(u){var f=u.filter((function(e){return e.qArea.qTop<=n&&n<e.qArea.qTop+e.qArea.qHeight}))[0];if(f){var d=f.qArea;if(n>=d.qTop&&n<d.qTop+d.qHeight)t=c(f.qMatrix[n-d.qTop],1)[0]}}var p=!1,h=!1;t&&(l=t.qText,p="L"===t.qState||"XL"===t.qState,h="S"===t.qState||"XS"===t.qState,"S"===t.qState||"L"===t.qState?a.push(i.S):"A"===t.qState?a.push(i.A):"X"!==t.qState&&"XS"!==t.qState&&"XL"!==t.qState||a.push(i.X));var m=t&&t.qHighlightRanges&&t.qHighlightRanges.qRanges.sort((function(e,t){return e.qCharPos-t.qCharPos}))||[],v=m.reduce((function(e,t,n){t.qCharPos>0&&0===n&&e.push([l.slice(0,t.qCharPos)]);var r=m[n-1];return r&&e.push([l.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([l.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===m.length-1&&t.qCharPos+t.qCharCount<l.length&&e.push([l.slice(t.qCharPos+t.qCharCount)]),e}),[]);return ut.createElement(ex,{container:!0,spacing:0,className:a.join(" ").trim(),style:r,onClick:s,alignItems:"center",role:"row",tabIndex:0,"data-n":t&&t.qElemNumber},ut.createElement(ex,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(l)},0===m.length?ut.createElement(vb,{component:"span",noWrap:!0,color:"inherit"},"".concat(l)):v.map((function(e,t){var n=c(e,2),r=n[0],o=n[1];return ut.createElement(vb,{component:"span",key:t,className:o,noWrap:!0},r)}))),ut.createElement(ex,{item:!0,className:i.icon},p&&ut.createElement(jx,{size:"small"}),h&&ut.createElement(oE,{size:"small"})))}function uE(e){var t=e.model,n=e.selections,r=e.direction,o=e.height,i=e.width,a=e.listLayout,l=void 0===a?"vertical":a,s=c($g(t),1)[0],u=c(Le.exports.useState(null),2),f=u[0],d=u[1],p=Le.exports.useRef(null),h=Le.exports.useRef({queue:[],validPages:!1}),m=Le.exports.useRef({pages:[]}),v=Le.exports.useCallback((function(e){if(!s||!s.qListObject.qDimensionInfo.qLocked){var t=+e.currentTarget.getAttribute("data-n");Number.isNaN(t)||n.select({method:"selectListObjectValues",params:["/qListObjectDef",[t],!s.qListObject.qDimensionInfo.qIsOneAndOnlyOne]})}}),[t,s&&!!s.qListObject.qDimensionInfo.qLocked,s&&!!s.qListObject.qDimensionInfo.qIsOneAndOnlyOne]),g=Le.exports.useCallback((function(e){if(!f||!h.current.validPages)return!1;h.current.checkIdx=e;var t=f.filter((function(t){return t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight}))[0];return t&&t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight}),[s,f]),y=Le.exports.useCallback((function(e,n){h.current.queue.push({start:e,stop:n});var r=!!p.current&&p.current._listRef.state.isScrolling;return h.current.queue.length>10&&h.current.queue.shift(),clearTimeout(h.current.timeout),new Promise((function(e){h.current.timeout=setTimeout((function(){var n=h.current.queue.slice(-2).sort((function(e,t){return e.start-t.start}));t.getListObjectData("/qListObjectDef",n.map((function(e){return{qTop:e.start,qHeight:e.stop-e.start+1,qLeft:0,qWidth:1}}))).then((function(t){h.current.validPages=!0,m.current.pages=t,d(t),e()}))}),r?500:0)}))}),[s]);if(Le.exports.useEffect((function(){if(h.current.queue=[],h.current.validPages=!1,p.current){if(p.current.resetloadMoreItemsCache(!0),s&&s.qSelectionInfo.qInSelections)return;p.current._listRef.scrollToItem(0)}}),[s]),!s)return null;var b="horizontal"!==l,x=s.qListObject.qSize.qcy,E=b?33:200,w=o||8*E;return ut.createElement(nE,{isItemLoaded:g,itemCount:x,loadMoreItems:y,threshold:0,minimumBatchSize:100,ref:p},(function(e){var t=e.onItemsRendered,n=e.ref;return h.current.listRef=n,ut.createElement(Jx,{direction:r,useIsScrolling:!0,style:{},height:w,width:i,itemCount:x,layout:l,itemData:{onClick:v,pages:f},itemSize:E,onItemsRendered:t,ref:n},b?aE:sE)}))}var cE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]})},fE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},dE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},pE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},hE=function(e){var t=e.layout,n=e.model,r=e.translator;return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:cE,enabled:function(){return["qOption","qAlternative","qExcluded","qDeselected"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:dE,enabled:function(){return["qOption"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:fE,enabled:function(){return["qAlternative"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:pE,enabled:function(){return["qAlternative","qExcluded"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectExcluded("/qListObjectDef")}}]},mE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]})};function vE(e){var t=rm(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}var gE=ut.forwardRef((function(e,t){var n=e.item,r=e.addAnchor,o=void 0!==r&&r,i=rm(),a=vE(n),l=a.hidden,s=a.disabled,u=a.style,c=a.hasSvgIconShape;return l?null:ut.createElement(ub,{ref:o?null:t,title:n.label,onClick:n.action,disabled:s,style:u},c&&Ax(n.getSvgIconShape()),o&&ut.createElement("div",{ref:t,style:{bottom:-i.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))})),yE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]})},bE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]})},xE=function(e){return Ax(bE(e))};var EE=ag((function(e){return{icon:{color:e.palette.text.primary}}})),wE=function(e){var t=e.item,n=e.onActionClick,r=void 0===n?function(){}:n,o=vE(t),i=o.hidden,a=o.disabled,l=o.hasSvgIconShape,s=EE().icon;return i?null:ut.createElement(Ix,{title:t.label,onClick:function(){t.action(),r()},disabled:a},l&&ut.createElement(vx,{className:s},Ax(t.getSvgIconShape())),ut.createElement(vb,{noWrap:!0},t.label))},SE=ut.forwardRef((function(e,t){var r=e.actions,o=void 0===r?[]:r,i=e.show,a=void 0===i||i,l=e.alignTo,u=e.popoverProps,c=void 0===u?{}:u,f=e.popoverPaperStyle,d=void 0===f?{}:f,p=e.onCloseOrActionClick,h=void 0===p?function(){}:p;return o.length>0&&ut.createElement(wx,s({},c,{onClose:h,ref:t,open:a,anchorEl:l.current,getContentAnchorEl:null,container:l.current,disablePortal:!0,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:n({pointerEvents:"auto",maxWidth:"250px"},d)}}),ut.createElement(Ox,null,o.map((function(e,t){return ut.createElement(wE,{key:t,item:e,onActionClick:h})}))))})),CE=ag((function(e){return{itemSpacing:{padding:e.spacing(0,.5)},firstItemSpacing:{padding:e.spacing(0,.5,0,0)},lastItemSpacing:{padding:e.spacing(0,0,0,.5)}}})),kE=ut.forwardRef((function(e,t){var n=e.actions,r=void 0===n?[]:n,o=e.first,i=void 0!==o&&o,a=e.last,l=void 0!==a&&a,s=e.addAnchor,u=void 0!==s&&s,c=CE(),d=c.itemSpacing,p=c.firstItemSpacing,h=c.lastItemSpacing;return r.length>0?ut.createElement(ex,{item:!0,container:!0,spacing:0,wrap:"nowrap"},r.map((function(e,n){var o=[],a=i&&0===n,s=l&&r.length-1===n;return a&&!s&&(o=[p]),s&&!a&&(o=[].concat(f(o),[h])),a||s||0!==o.length||(o=[d]),ut.createElement(ex,{item:!0,key:e.key,className:o.join(" ").trim()},ut.createElement(gE,{key:e.key,item:e,ref:0===n?t:null,addAnchor:u}))}))):null})),LE={pointerEvents:"none"},RE={vertical:"top",horizontal:"right"},OE={vertical:"bottom",horizontal:"right"},_E=function(e){var t=e.show,n=void 0===t||t,r=e.actions,o=void 0===r?[]:r,i=e.maxItems,a=void 0===i?3:i,l=e.selections,s=void 0===l?{show:!1,api:null,onConfirm:function(){},onCancel:function(){}}:l,u=e.more,d=void 0===u?{enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}}:u,p=e.popover,h=void 0===p?{show:!1,anchorEl:null}:p,m=function(e){var t=e.api,n=e.onConfirm,r=void 0===n?function(){}:n,o=e.onCancel,i=void 0===o?function(){}:o,a=Le.exports.useContext(wg).translator;return[{key:"clear",type:"icon-button",label:a.get("Selection.Clear"),enabled:function(){return t.canClear()},action:function(){return t.clear()},getSvgIconShape:bE},{key:"cancel",type:"icon-button",label:a.get("Selection.Cancel"),enabled:function(){return t.canCancel()},action:function(){t.cancel(),i()},getSvgIconShape:yE},{key:"confirm",type:"icon-button",label:a.get("Selection.Confirm"),enabled:function(){return t.canConfirm()},action:function(){t.confirm(),r()},getSvgIconShape:rE}]}(s),v=CE().itemSpacing,g=Le.exports.useContext(wg).translator,y=c(Le.exports.useState(!1),2),b=y[0],x=y[1],E=c(Le.exports.useState(d.enabled),2),w=E[0],S=E[1],C=c(Le.exports.useState(d.actions),2),k=C[0],L=C[1],R=c(Le.exports.useState(d.alignTo),2),O=R[0],_=R[1],I=Le.exports.useRef(),P=rm(),T=Le.exports.useMemo((function(){return{margin:P.spacing(.5,0)}}));Le.exports.useEffect((function(){return function(){return x(!1)}}),[h.show]),Le.exports.useEffect((function(){S(d.enabled)}),[d.enabled]);var N=Le.exports.useMemo((function(){return o.filter((function(e){return!e.hidden}))}),[o]);if(!s.show&&0===N.length)return null;var q={key:"more",label:g.get("Menu.More"),getSvgIconShape:mE,hidden:!1,enabled:function(){return w},action:function(){return x(!b)}};if(N.length>a){var M=N.splice(-(N.length-a)-1);S(!0),L([].concat(f(M),f(d.actions))),_(I)}var D=N.length>0,A=k.length>0,z=D&&s.show||A&&s.show,j=ut.createElement(ex,{container:!0,spacing:0,wrap:"nowrap"},D&&ut.createElement(kE,{actions:N,first:!0,last:!A&&!s.show}),A&&ut.createElement(kE,{ref:I,actions:[q],first:!D,last:!s.show,addAnchor:!0}),z&&ut.createElement(ex,{item:!0,className:v,style:T},ut.createElement(Bb,{orientation:"vertical"})),s.show&&ut.createElement(kE,{actions:m,first:!D&&!A,last:!0}),b&&ut.createElement(SE,{show:b,actions:k,alignTo:O,popoverProps:d.popoverProps,popoverPaperStyle:d.popoverPaperStyle,onCloseOrActionClick:function(){x(!1)}}));return h.show?ut.createElement(wx,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:h.show,anchorEl:h.anchorEl,anchorOrigin:RE,transformOrigin:OE,hideBackdrop:!0,style:LE,PaperProps:{style:{pointerEvents:"auto",padding:P.spacing(1,1)}}},j):n&&j},IE=function(e){return Ax(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M15.7873809,13.80959 C16.1870614,14.209868 15.9872212,15.1104934 15.4876205,15.5107714 C15.08794,15.9110493 14.1886588,16.2112578 13.7889782,15.8109798 L11.0911347,13.1091035 L10.9912145,12.5086866 L10.2917736,11.8082001 C9.19265216,12.5086866 7.89369045,13.0090341 6.49480859,13.0090341 C2.89768383,13.0090341 0,10.1070188 0,6.50451703 C0,2.90201529 2.89768383,0 6.49480859,0 C10.0919334,0 12.9896172,2.90201529 12.9896172,6.50451703 C12.9896172,7.90548992 12.4900165,9.20639333 11.7905756,10.3071577 L12.4900165,11.0076442 L13.0895373,11.1077137 L15.7873809,13.80959 Z M11.2909749,6.50451703 C11.2909749,5.20361362 10.7913743,4.00277971 9.89209309,3.00208478 C8.9928119,2.10145935 7.79377031,1.60111188 6.49480859,1.60111188 C5.19584688,1.60111188 3.99680529,2.10145935 2.99760397,3.00208478 C2.09832278,4.00277971 1.59872212,5.20361362 1.59872212,6.50451703 C1.59872212,7.80542043 2.09832278,9.00625434 2.99760397,9.90687978 C3.89688516,10.8075052 5.09592674,11.3078527 6.49480859,11.3078527 C7.79377031,11.4079222 8.9928119,10.9075747 9.89209309,9.90687978 C10.7913743,9.00625434 11.2909749,7.80542043 11.2909749,6.50451703 Z"}}]})}(e))},PE=ym((function(e){return{root:{"& fieldset":{borderRadius:0,borderColor:"".concat(e.palette.divider," transparent")}}}})),TE="/qListObjectDef";function NE(e){var t=e.model,n=Le.exports.useContext(wg).translator,r=c(Le.exports.useState(""),2),o=r[0],i=r[1],a=PE();return ut.createElement(qx,{startAdornment:ut.createElement(sx,{position:"start"},ut.createElement(IE,null)),className:[a.root].join(" "),autoFocus:!0,margin:"dense",fullWidth:!0,placeholder:n.get("Listbox.Search"),value:o,onChange:function(e){i(e.target.value),t.searchListObjectFor(TE,e.target.value)},onKeyDown:function(e){switch(e.key){case"Enter":t.acceptListObjectSearch(TE,!0),i("");break;case"Escape":t.abortListObjectSearch(TE)}}})}function qE(e){var t,n,r=e.appSelections,o=e.appModal,a=e.model,l=!1,s=!1,u={id:a.id,setLayout:function(e){t=e},begin:function(e){var t,n=(t=!1,{isPrevented:function(){return t},preventDefault:function(){t=!0}});return this.emit("activate",n),n.isPrevented()?Promise.resolve():(l=!0,this.emit("activated"),o.begin(a,e,!0))},clear:function(){return s=!1,this.emit("cleared"),t.qListObject?a.clearSelections("/qListObjectDef"):a.resetMadeSelections()},confirm:function(){return s=!1,l=!1,this.emit("confirmed"),this.emit("deactivated"),o.end(!0)},cancel:function(){return s=!1,l=!1,this.emit("canceled"),this.emit("deactivated"),o.end(!1)},select:function(e){var t=this;return i(regeneratorRuntime.mark((function n(){var o,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=t.begin([e.params[0]]),r.isModal()){n.next=3;break}return n.abrupt("return",!1);case 3:return n.next=5,o;case 5:return n.next=7,a[e.method].apply(a,f(e.params));case 7:if(i=n.sent,s="resetMadeSelections"!==e.method,i){n.next=12;break}return a.resetMadeSelections(),n.abrupt("return",!1);case 12:return n.abrupt("return",!0);case 13:case"end":return n.stop()}}),n)})))()},canClear:function(){return t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:s},canConfirm:function(){return t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:s},canCancel:function(){return!(t&&t.qListObject&&t.qListObject.qDimensionInfo)||!t.qListObject.qDimensionInfo.qLocked},isActive:function(){return l},isModal:function(){return r.isModal(a)},goModal:function(e){return o.begin(a,e,!1)},noModal:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return o.end(e)}};return n=u,Object.keys(E.prototype).forEach((function(e){n[e]=E.prototype[e]})),E.init(n),u}function ME(e,t){var n=c(uy(e),1)[0],r=c($g(t),1)[0],o=t?t.id:null,i=c(ty(),1)[0],a=c(oy(),1)[0],l=i.get(e.id),s=a.get(o);return Le.exports.useEffect((function(){n&&t&&!s&&(s=qE({appSelections:n,appModal:l,model:t}),a.set(o,s),a.dispatch(!0))}),[n,t]),Le.exports.useEffect((function(){s&&s.setLayout(r)}),[s,r]),[s]}function DE(e){var t=e.alignTo,n=e.show,r=e.close,o=e.app,i=e.fieldName,a=e.stateName,l=void 0===a?"$":a,s=n&&Boolean(t.current),u=rm(),f=c(Kg({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:l,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[i]}}},o,i,l),1)[0],d=Le.exports.useCallback((function(){f.lock("/qListObjectDef")}),[f]),p=Le.exports.useCallback((function(){f.unlock("/qListObjectDef")}),[f]),h=Le.exports.useContext(wg).translator,m=Le.exports.useRef(),v=c(ME(o,f),1)[0],g=c($g(f),1)[0];if(Le.exports.useEffect((function(){v&&s&&(v.isModal(f)||v.goModal("/qListObjectDef"))}),[v,s]),!f||!g||!h)return null;var y=!0===g.qListObject.qDimensionInfo.qLocked,b=function(e,t){var n="escapeKeyDown"!==t;v.noModal(n),r()},x=hE({layout:g,model:f,translator:h}),E=g.qListObject.qDimensionInfo.qStateCounts,w=E.qSelected+E.qSelectedExcluded+E.qLocked+E.qLockedExcluded>0;return ut.createElement(wx,{open:s,onClose:b,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},ut.createElement(ex,{container:!0,direction:"column",spacing:0},ut.createElement(ex,{item:!0,container:!0,style:{padding:u.spacing(1)}},ut.createElement(ex,{item:!0},y?ut.createElement(ub,{onClick:p,disabled:!y},ut.createElement(jx,null)):ut.createElement(ub,{onClick:d,disabled:!w},ut.createElement(Fx,null))),ut.createElement(ex,{item:!0,xs:!0}),ut.createElement(ex,{item:!0},ut.createElement(_E,{more:{enabled:!y,actions:x,alignTo:m,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:v,onConfirm:b,onCancel:function(){return b(0,"escapeKeyDown")}}}))),ut.createElement(ex,{item:!0,xs:!0},ut.createElement("div",{ref:m}),ut.createElement(NE,{model:f}),ut.createElement(uE,{model:f,selections:v,direction:"ltr"}))))}var AE=ym((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover}}}}));function zE(e){var t=e.field,n=e.api,r=e.stateIx,o=void 0===r?0:r,i=e.skipHandleShowListBoxPopover,a=void 0!==i&&i,l=e.moreAlignTo,s=void 0===l?null:l,u=e.onClose,f=void 0===u?function(){}:u,d=Le.exports.useContext(wg).translator,p=s||Le.exports.useRef(),h=rm(),m=c(Le.exports.useState(!1),2),v=m[0],g=m[1],y=AE(),b=function(){g(!1),f()},x=t.selections[o];void 0===x.qTotal&&(x.qTotal=0);var E=x.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},w=(E.qSelected+E.qLocked)/x.qTotal,S=E.qAlternative/x.qTotal,C=(E.qExcluded+E.qLockedExcluded+E.qSelectedExcluded)/x.qTotal,k=E.qSelected+E.qSelectedExcluded+E.qLocked+E.qLockedExcluded,L=0===k&&0===x.qTotal,R="";x.qTotal===k&&x.qTotal>1?R=d.get("CurrentSelections.All"):k>1&&x.qTotal?R=d.get("CurrentSelections.Of",[k,x.qTotal]):x.qSelectedFieldSelectionInfo&&(R=x.qSelectedFieldSelectionInfo.map((function(e){return e.qName})).join(", ")),"$"!==t.states[o]&&(R="".concat(t.states[o],": ").concat(R));var O=[{color:h.palette.selected.main,ratio:w},{color:h.palette.selected.alternative,ratio:S},{color:h.palette.selected.excluded,ratio:C}];O.forEach((function(e,t){e.offset=t?O[t-1].offset+O[t-1].ratio:0}));var _=null,I=null,P=null,T=null;return s||(_=ut.createElement(ex,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:x.qLocked?"0.3":""}},ut.createElement(vb,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},x.qField),ut.createElement(vb,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},R)),I=x.qLocked?ut.createElement(ex,{item:!0},ut.createElement(ub,null,ut.createElement(jx,null))):ut.createElement(ex,{item:!0},ut.createElement(ub,{title:d.get("Selection.Clear"),onClick:function(e){e.stopPropagation(),n.clearField(x.qField,t.states[o])}},ut.createElement(zx,null))),P=ut.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===L&&O.map((function(e){return ut.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})}))),T=ut.createElement(ex,{container:!0,spacing:0,ref:p,className:y.item,onClick:!1===a&&function(e){e.currentTarget.contains(e.target)&&g(!v)}||null},_,I,P,v&&ut.createElement(DE,{alignTo:p,show:v,close:b,app:n.model,fieldName:x.qField,stateName:t.states[o]}))),s?ut.createElement(DE,{alignTo:p,show:!0,close:b,app:n.model,fieldName:x.qField,stateName:t.states[o]}):T}var jE=function(e){return Ax(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]})}(e))},FE=ym((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}}));function BE(e){var t=e.field,n=e.api,r=e.moreAlignTo,o=void 0===r?null:r,i=e.onClose,a=void 0===i?function(){}:i,l=FE(),s=c(Le.exports.useState(!!o),2),u=s[0],f=s[1],d=c(Le.exports.useState(-1),2),p=d[0],h=d[1],m=c(Le.exports.useState(o?o.current:null),2),v=m[0],g=m[1],y=o||Le.exports.useRef(),b=Le.exports.useContext(wg).translator.get("Selection.ClearAllStates"),x=function(){h(-1),a()},E=null;o||(E=ut.createElement(ut.Fragment,null,ut.createElement(ex,{item:!0,xs:!0,zeroMinWidth:!0},ut.createElement(fb,{className:l.badge,color:"secondary",badgeContent:t.states.length},ut.createElement(vb,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),ut.createElement(ex,{item:!0},ut.createElement("div",{style:{width:"12px"}})),ut.createElement(ex,{item:!0},ut.createElement(ub,null,ut.createElement(jE,null)))));var w=ut.createElement(fx,{dense:!0},ut.createElement(hx,{title:b,onClick:function(){t.states.forEach((function(e){return n.clearField(t.name,e)}))}},ut.createElement(yb,{variant:"contained",fullWidth:!0},b)),t.states.map((function(e,r){return ut.createElement(hx,{key:r,title:t.name,onClick:function(e){return function(e,t){e.stopPropagation(),f(!1),h(t)}(e,r)}},ut.createElement(pb,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},ut.createElement(zE,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))}))),S=ut.createElement(wx,{open:u,onClose:function(){f(!1),a()},anchorEl:v,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},w),C=o?S:ut.createElement(ex,{container:!0,spacing:0,className:l.item,onClick:function(e){e.currentTarget.contains(e.target)&&(g(e.currentTarget),y.current=e.currentTarget,f(!u))}},E,u&&S,p>-1&&ut.createElement(DE,{alignTo:y,show:p>-1,close:x,app:n.model,fieldName:t.selections[p].qField,stateName:t.states[p]}));return o&&p>-1?ut.createElement(DE,{alignTo:y,show:p>-1,close:x,app:n.model,fieldName:t.selections[p].qField,stateName:t.states[p]}):C}var UE=ym((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}}));function HE(e){var t=e.items,n=void 0===t?[]:t,r=e.api,o=UE(),i=rm(),a=c(Le.exports.useState(!1),2),l=a[0],s=a[1],u=c(Le.exports.useState(-1),2),f=u[0],d=u[1],p=c(Le.exports.useState(null),2),h=p[0],m=p[1],v=Le.exports.useRef(),g=function(){d(-1)},y=null;return f>-1&&(y=n[f].states.length>1?ut.createElement(BE,{field:n[f],api:r,moreAlignTo:v,onClose:g}):ut.createElement(zE,{field:n[f],api:r,skipHandleShowListBoxPopover:!0,moreAlignTo:v,onClose:g})),ut.createElement(ex,{container:!0,spacing:0,className:o.item,onClick:function(e){e.currentTarget.contains(e.target)&&(m(e.currentTarget),v.current=e.currentTarget,s(!l))}},ut.createElement(ex,{item:!0},ut.createElement(pb,{borderRadius:i.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:i.palette.selected.main,color:i.palette.selected.mainContrastText}},ut.createElement(vb,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",n.length))),ut.createElement(ex,{item:!0},ut.createElement(ub,null,ut.createElement(jE,null))),l&&ut.createElement(wx,{open:l,onClose:function(){s(!1)},anchorEl:h,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},ut.createElement(fx,{dense:!0},n.map((function(e,t){return ut.createElement(hx,{key:t,title:e.name,onClick:function(e){return function(e,t){e.stopPropagation(),s(!1),d(t)}(e,t)}},ut.createElement(pb,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},e.states.length>1?ut.createElement(BE,{field:e,api:r}):ut.createElement(zE,{field:e,api:r})))})))),y)}function WE(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((function(e){var r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function VE(e){var t=e.api,n=e.app,r=rm(),o=c(Xg(n),1)[0],i=c($g(o),1)[0],a=c(Le.exports.useState({items:[],more:[]}),2),l=a[0],s=a[1],u=c(ly(),1)[0],f=c(Mx(),2),d=f[0],p=f[1],h=c(Le.exports.useState(0),2),m=h[0],v=h[1];return Le.exports.useEffect((function(){if(p){var e=p.width,t=Math.floor(e)-72,n=Math.floor(t/120);v(n)}}),[p]),Le.exports.useEffect((function(){if(n&&o&&i&&m){var e=function(e){if(!e)return[];var t={};return e.qSelectionObject&&WE(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((function(e){return WE(e.qSelectionObject,t,e.stateName)})),Object.keys(t).map((function(e){return t[e]}))}(i);s((function(t){var r,o=e;if((r=u.get(n.id))&&"njsListbox"===r.genericType&&o.length+1===t.items.length){var i=t.items.filter((function(e){return!1===o.some((function(t){return e.name===t.name}))}))[0],a=i.selections[0].qField;i.selections=[{qField:a}];var l=t.items.indexOf(i);o.splice(l,0,i)}var s=[];return m<o.length&&(s=o.splice(m-o.length)),{items:o,more:s}}))}}),[n,o,i,t.isInModal(),m]),ut.createElement(ex,{ref:d,container:!0,spacing:0,wrap:"nowrap",style:{height:"100%"}},l.items.map((function(e){return ut.createElement(ex,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(120,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},e.states.length>1?ut.createElement(BE,{field:e,api:t}):ut.createElement(zE,{field:e,api:t}))})),l.more.length>0&&ut.createElement(ex,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},ut.createElement(HE,{items:l.more,api:t})))}var $E=function(e){return Ax(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]})}(e))},GE=function(e){return Ax(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]})}(e))};function KE(e){var t=e.api,n=e.app,r=Le.exports.useContext(wg).translator,o=c(Qg(n),1)[0];return ut.createElement(ex,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},ut.createElement(ex,{item:!0},ut.createElement(ub,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:function(){return t.back()}},ut.createElement($E,null))),ut.createElement(ex,{item:!0},ut.createElement(ub,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:function(){return t.forward()}},ut.createElement(GE,null))),ut.createElement(ex,{item:!0},ut.createElement(ub,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:function(){return t.clear()}},ut.createElement(xE,null))))}var ZE=function(e){var t=e.app,n=rm(),r=c(uy(t),1)[0];return r?ut.createElement(ex,{container:!0,spacing:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},ut.createElement(ex,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},ut.createElement(KE,{api:r,app:t})),ut.createElement(ex,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},ut.createElement(VE,{api:r,app:t}))):null};function XE(e){var t=e.element,n=e.app;return yf.createPortal(ut.createElement(ZE,{app:n}),t)}function QE(e){var t;t="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var n,r,o="undefined"!=typeof document&&document.attachEvent;if(!o){var i=(r=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||function(e){return t.setTimeout(e,20)},function(e){return r(e)}),a=(n=t.cancelAnimationFrame||t.mozCancelAnimationFrame||t.webkitCancelAnimationFrame||t.clearTimeout,function(e){return n(e)}),l=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},s=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;l(this),this.__resizeRAF__&&a(this.__resizeRAF__),this.__resizeRAF__=i((function(){(function(e){return e.offsetWidth!=e.__resizeLast__.width||e.offsetHeight!=e.__resizeLast__.height})(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}},u=!1,c="",f="animationstart",d="Webkit Moz O ms".split(" "),p="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),h=document.createElement("fakeelement");if(void 0!==h.style.animationName&&(u=!0),!1===u)for(var m=0;m<d.length;m++)if(void 0!==h.style[d[m]+"AnimationName"]){c="-"+d[m].toLowerCase()+"-",f=p[m],u=!0;break}var v="resizeanim",g="@"+c+"keyframes "+v+" { from { opacity: 0; } to { opacity: 0; } } ",y=c+"animation: 1ms "+v+"; "}return{addResizeListener:function(n,r){if(o)n.attachEvent("onresize",r);else{if(!n.__resizeTriggers__){var i=n.ownerDocument,a=t.getComputedStyle(n);a&&"static"==a.position&&(n.style.position="relative"),function(t){if(!t.getElementById("detectElementResize")){var n=(g||"")+".resize-triggers { "+(y||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',r=t.head||t.getElementsByTagName("head")[0],o=t.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=n:o.appendChild(t.createTextNode(n)),r.appendChild(o)}}(i),n.__resizeLast__={},n.__resizeListeners__=[],(n.__resizeTriggers__=i.createElement("div")).className="resize-triggers";var u=i.createElement("div");u.className="expand-trigger",u.appendChild(i.createElement("div"));var c=i.createElement("div");c.className="contract-trigger",n.__resizeTriggers__.appendChild(u),n.__resizeTriggers__.appendChild(c),n.appendChild(n.__resizeTriggers__),l(n),n.addEventListener("scroll",s,!0),f&&(n.__resizeTriggers__.__animationListener__=function(e){e.animationName==v&&l(n)},n.__resizeTriggers__.addEventListener(f,n.__resizeTriggers__.__animationListener__))}n.__resizeListeners__.push(r)}},removeResizeListener:function(e,t){if(o)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",s,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(f,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}var JE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},YE=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}}(),ew=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},tw=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},nw=function(e){function t(){var e,n,r;JE(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=tw(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var i=r._parentNode.offsetHeight||0,a=r._parentNode.offsetWidth||0,l=window.getComputedStyle(r._parentNode)||{},s=parseInt(l.paddingLeft,10)||0,u=parseInt(l.paddingRight,10)||0,c=parseInt(l.paddingTop,10)||0,f=parseInt(l.paddingBottom,10)||0,d=i-c-f,p=a-s-u;(!t&&r.state.height!==d||!n&&r.state.width!==p)&&(r.setState({height:i-c-f,width:a-s-u}),o({height:i,width:a}))}},r._setRef=function(e){r._autoSizer=e},tw(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),YE(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=QE(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableHeight,o=e.disableWidth,i=e.style,a=this.state,l=a.height,s=a.width,u={overflow:"visible"},c={},f=!1;return r||(0===l&&(f=!0),u.height=0,c.height=l),o||(0===s&&(f=!0),u.width=0,c.width=s),Le.exports.createElement("div",{className:n,ref:this._setRef,style:ew({},u,i)},!f&&t(c))}}]),t}(Le.exports.PureComponent);function rw(e){var t=e.app,n=e.fieldIdentifier,r=e.stateName,o=e.element,i=e.options;return yf.createPortal(ut.createElement(ow,{app:t,fieldIdentifier:n,stateName:r,options:i}),o)}function ow(e){var t,r=e.app,o=e.fieldIdentifier,i=e.stateName,a=void 0===i?"$":i,l=e.options,s=void 0===l?{}:l,u=s.title,f=s.direction,d=s.listLayout,p=s.search,h=void 0===p||p,m=s.properties,v=n({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:a,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:u},void 0===m?{}:m);o.qLibraryId?(v.qListObjectDef.qLibraryId=o.qLibraryId,t=o.qLibraryId):(v.qListObjectDef.qDef.qFieldDefs=[o],t=o);var g=rm(),y=c(Kg(v,r,t,a),1)[0],b=Le.exports.useCallback((function(){y.lock("/qListObjectDef")}),[y]),x=Le.exports.useCallback((function(){y.unlock("/qListObjectDef")}),[y]),E=Le.exports.useContext(wg).translator,w=Le.exports.useRef(),S=c(ME(r,y),1)[0],C=c($g(y),1)[0],k=c(Le.exports.useState(!1),2),L=k[0],R=k[1];if(Le.exports.useEffect((function(){S&&(S.isModal(y)||(S.on("deactivated",(function(){R(!1)})),S.on("activated",(function(){R(!0)}))))}),[S]),Le.exports.useEffect((function(){S&&R(S.isActive())}),[S]),!y||!C||!E)return null;var O=!0===C.qListObject.qDimensionInfo.qLocked,_=hE({layout:C,model:y,translator:E}),I=C.qListObject.qDimensionInfo.qStateCounts,P=I.qSelected+I.qSelectedExcluded+I.qLocked+I.qLockedExcluded>0,T=49+(h?40:0)+49;return ut.createElement(ex,{container:!0,direction:"column",spacing:0,style:{height:"100%",minHeight:"".concat(T,"px")}},ut.createElement(ex,{item:!0,container:!0,style:{padding:g.spacing(1),borderBottom:"1px solid ".concat(g.palette.divider)}},ut.createElement(ex,{item:!0},O?ut.createElement(ub,{onClick:x,disabled:!O},ut.createElement(jx,null)):ut.createElement(ub,{onClick:b,disabled:!P},ut.createElement(Fx,null))),ut.createElement(ex,{item:!0},ut.createElement(vb,{variant:"h6",noWrap:!0},C.title||C.qListObject.qDimensionInfo.qFallbackTitle)),ut.createElement(ex,{item:!0,xs:!0}),ut.createElement(ex,{item:!0},ut.createElement(_E,{more:{enabled:!O,actions:_,alignTo:w,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:L,api:S,onConfirm:function(){},onCancel:function(){}}}))),h?ut.createElement(ex,{item:!0},ut.createElement(NE,{model:y})):"",ut.createElement(ex,{item:!0,xs:!0},ut.createElement("div",{ref:w}),ut.createElement(nw,null,(function(e){var t=e.height,n=e.width;return ut.createElement(uE,{model:y,selections:S,direction:f,listLayout:d,height:t,width:n})}))))}nw.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var iw=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function aw(e){var t=c(e,2),n=t[0],r=t[1];return(n+(Math.random()*(r-n)|0)).toString(32)}function lw(){return iw.map(aw).join("")}function sw(e,t){for(var n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function uw(e,t){for(var n=0,r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function cw(e){var t=e.sn,o=e.properties,i=e.fields;if(i.length){var a=t.qae.data.targets[0];if(a){for(var l=a.propertyPath.split("/"),s=o,u=0;u<l.length;u++){var c=l[u];s=c?s[c]:s}var f=function(e){var t=e.dc,r=e.def,o=e.properties;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];var i=o,a={dimensions:function(){return t.qDimensions},measures:function(){return t.qMeasures},addDimension:function(e){var o="string"==typeof e?function(e){return{qDef:{qFieldDefs:[e]}}}(e):n(n({},e),{},{qDef:e.qDef||{}});o.qDef.cId=o.qDef.cId||lw(),o.qDef.qSortCriterias=o.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],o.qOtherTotalSpec=o.qOtherTotalSpec||{},o.qAttributeExpressions=o.qAttributeExpressions||[],o.qAttributeDimensions=o.qAttributeDimensions||[],t.qDimensions.length<a.maxDimensions()?(t.qDimensions.push(o),sw(t.qInterColumnSortOrder,t.qDimensions.length-1),r.dimensions.added(o,i)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(o))},removeDimension:function(e){var n=t.qDimensions.splice(e,1)[0];uw(t.qInterColumnSortOrder,e),r.dimensions.removed(n,i,e)},addMeasure:function(e){var o="string"==typeof e?function(e){return{qDef:{qDef:e}}}(e):n(n({},e),{},{qDef:e.qDef||{}});o.qDef.cId=o.qDef.cId||lw(),o.qSortBy=o.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},o.qAttributeDimensions=o.qAttributeDimensions||[],o.qAttributeExpressions=o.qAttributeExpressions||[],t.qMeasures.length<a.maxMeasures()?(t.qMeasures.push(o),sw(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),r.measures.added(o,i)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(o))},removeMeasure:function(e){var n=t.qMeasures.splice(e,1)[0];uw(t.qInterColumnSortOrder,t.qDimensions.length+e),r.measures.removed(n,i,e)},maxDimensions:function(){return r.dimensions.max(t.qMeasures.length)},maxMeasures:function(){return r.measures.max(t.qDimensions.length)},canAddDimension:function(){return t.qDimensions.length<a.maxDimensions()},canAddMeasure:function(){return t.qMeasures.length<a.maxMeasures()}};return a}({dc:s,def:a,properties:o});i.forEach((function(e){"measure"===function(e){return"string"==typeof e&&"="===e[0]||"object"===r(e)&&e.qDef&&e.qDef.qDef||"object"===r(e)&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}(e)?f.addMeasure(e):f.addDimension(e)}))}}}var fw=function(e,t,n){if(null==e||null==t)return n;for(var r=t.split("."),o=e,i=0;i<r.length;++i){var a=r[i];if(""!==a){if(void 0===o[a]||null===o[a])return n;o=o[a]}}return o},dw=function(e,t,n){if(null!=e&&null!=t){for(var r=t.split("."),o=r[r.length-1],i=e,a=0;a<r.length-1;++a){var l=r[a];void 0!==i[l]&&null!==i[l]||(i[l]=Number.isNaN(+r[a+1])?{}:[]),i=i[l]}void 0!==n?i[o]=n:delete i[o]}},pw=function(e){return 0===Object.keys(e).length&&e.constructor===Object};var hw={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;var n=e.indexOf(t[0]);if(-1!==n){for(var r=0;r<t.length;r++){var o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},indexAdded:function(e,t){var n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},indexRemoved:function(e,t){var n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}},mw=Math.pow(2,53)-1;function vw(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function gw(e,t){var n=I(!0,{},t,e);return fw(n,"qOtherTotalSpec.qOtherCounted")||dw(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),fw(n,"qOtherTotalSpec.qOtherLimit")||dw(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function yw(e,t){return I(!0,{},t,e)}function bw(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var xw={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((function(t){e.qLayoutExclude.changed[t].to===fw(e,t)&&dw(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:vw,importCommonProperties:function(e,t,n){var r="masterobject"===fw(t,"properties.qInfo.qType")?"masterobject":fw(n,"qInfo.qType");dw(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:gw,createDefaultMeasure:yw,resolveValue:bw,getHypercubePath:function(e){var t=fw(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){var t=e.exportFormat,n=e.newHyperCubeDef,r=t.data[0],o=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();var i=n.qInterColumnSortOrder.length;if(i!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());i!==o;)i<o?(hw.indexAdded(n.qInterColumnSortOrder,i),++i):(--i,hw.indexRemoved(n.qInterColumnSortOrder,i))},createNewProperties:function(e){var t=e.exportFormat,n=e.initialProperties,r=e.hypercubePath,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((function(e){"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=I(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?dw(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||vw(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),null===(o=I(!0,{},n,o)).components&&(o.components=[]),o},getMaxMinDimensionMeasure:function(e){var t=e.exportFormat,n=e.dataDefinition,r=void 0===n?{}:n,o=t.data[0],i=r.dimensions||{max:0},a=r.measures||{max:0},l=bw(a.max,o.dimensions.length,mw),s=bw(a.min,o.dimensions.length,0);return{maxDimensions:bw(i.max,l,mw),minDimensions:bw(i.min,s,0),maxMeasures:l,minMeasures:s}},shouldInitLayoutExclude:function(e){var t=e.exportFormat,n=e.maxDimensions,r=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=t.data[0];return a.dimensions.length>n&&n>0||a.measures.length>o&&o>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>r||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>i||!o&&a.measures.length>0||!n&&a.dimensions.length>0},initLayoutExclude:function(e){var t=e.exportFormat,n=e.maxDimensions,r=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=e.newHyperCubeDef,l=t.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>i)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){var t,n=e.exportFormat,r=e.maxDimensions,o=e.minDimensions,i=e.newHyperCubeDef,a=e.defaultDimension,l=n.data[0];if(r>0)for(t=0;t<l.dimensions.length;++t)i.qDimensions.length<r?i.qDimensions.push(gw(l.dimensions[t],a)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(gw(l.dimensions[t],a));else if(l.dimensions.length)for(t=0;t<l.dimensions.length;++t)i.qLayoutExclude.qHyperCubeDef.qDimensions.push(gw(l.dimensions[t],a));if(l.excludedDimensions.length)for(t=0;t<l.excludedDimensions.length;++t)i.qDimensions.length<o?i.qDimensions.push(gw(l.excludedDimensions[t],a)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(gw(l.excludedDimensions[t],a))},addDefaultMeasures:function(e){var t,n=e.exportFormat,r=e.maxMeasures,o=e.minMeasures,i=e.newHyperCubeDef,a=e.defaultMeasure,l=n.data[0];if(r>0)for(t=0;t<l.measures.length;++t)i.qMeasures.length<r?i.qMeasures.push(yw(l.measures[t],a)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(yw(l.measures[t],a));else if(l.measures.length)for(t=0;t<l.measures.length;++t)i.qLayoutExclude.qHyperCubeDef.qMeasures.push(yw(l.measures[t],a));if(l.excludedMeasures.length)for(t=0;t<l.excludedMeasures.length;++t)i.qMeasures.length<o?i.qMeasures.push(yw(l.excludedMeasures[t],a)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(yw(l.excludedMeasures[t],a))},updateDimensionsOnAdded:function(e){var t=e.newProperties,n=e.dataDefinition,r=e.hypercubePath;if(n.dimensions&&"function"==typeof n.dimensions.added){var o=fw(t,r||"").qHyperCubeDef,i=f(o.qDimensions);o.qDimensions=[],i.forEach((function(e){o.qDimensions.push(e),n.dimensions.added(e,t)}))}},updateMeasuresOnAdded:function(e){var t=e.newProperties,n=e.dataDefinition,r=e.hypercubePath;if(n.measures&&"function"==typeof n.measures.added){var o=fw(t,r||"").qHyperCubeDef,i=f(o.qMeasures);o.qMeasures=[],i.forEach((function(e){o.qMeasures.push(e),n.measures.added(e,t)}))}}};var Ew={exportProperties:function(e){return function(e){var t,n,r,o,i=e.propertyTree,a=e.hypercubePath,l=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={data:[],properties:{}},n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),s=i.qProperty,u=fw(s,a||""),c=u.qHyperCubeDef,d=l.data[0];if(c.qInterColumnSortOrder||(c.qInterColumnSortOrder=[]),(t=d.dimensions).push.apply(t,f(c.qDimensions)),c.qLayoutExclude&&c.qLayoutExclude.qHyperCubeDef&&c.qLayoutExclude.qHyperCubeDef.qDimensions&&(r=d.excludedDimensions).push.apply(r,f(c.qLayoutExclude.qHyperCubeDef.qDimensions)),(n=d.measures).push.apply(n,f(c.qMeasures)),c.qLayoutExclude&&c.qLayoutExclude.qHyperCubeDef&&c.qLayoutExclude.qHyperCubeDef.qMeasures&&(o=d.excludedMeasures).push.apply(o,f(c.qLayoutExclude.qHyperCubeDef.qMeasures)),d.interColumnSortOrder=c.qInterColumnSortOrder.concat(),c.qLayoutExclude&&c.qLayoutExclude.qHyperCubeDef&&c.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){var p=c.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();hw.isOrderedSubset(p,d.interColumnSortOrder)&&(d.interColumnSortOrder=p)}return delete c.qLayoutExclude,Object.keys(s).forEach((function(e){l.properties[e]=s[e]})),a&&(l.properties.qHyperCubeDef=u.qHyperCubeDef,delete u.qHyperCubeDef),s.qLayoutExclude||(s.qLayoutExclude={}),s.qLayoutExclude.disabled&&(Object.keys(s.qLayoutExclude.disabled).forEach((function(e){l.properties.hasOwnProperty(e)||(l.properties[e]=s.qLayoutExclude.disabled[e])})),delete s.qLayoutExclude.disabled),s.qLayoutExclude.changed&&(xw.restoreChangedProperties(s),delete s.qLayoutExclude.changed),s.qLayoutExclude.quarantine&&!pw(s.qLayoutExclude.quarantine)||delete s.qLayoutExclude,l}(e)},importProperties:function(e){return n=(t=e).exportFormat,r=t.initialProperties,o=void 0===r?{}:r,i=t.dataDefinition,a=void 0===i?{}:i,l=t.defaultPropertyValues,s=void 0===l?{}:l,u=t.hypercubePath,c={qChildren:[]},f=xw.createNewProperties({exportFormat:n,initialProperties:o,hypercubePath:u}),d=fw(o,u||"").qHyperCubeDef,p=fw(f,u||"").qHyperCubeDef,h=xw.getMaxMinDimensionMeasure({exportFormat:n,dataDefinition:a}),m=h.maxDimensions,v=h.minDimensions,g=h.maxMeasures,y=h.minMeasures,b=s.defaultDimension,x=void 0===b?xw.getDefaultDimension():b,E=s.defaultMeasure,w=void 0===E?xw.getDefaultMeasure():E,p.qDimensions.length=0,p.qMeasures.length=0,xw.shouldInitLayoutExclude({exportFormat:n,maxDimensions:m,minDimensions:v,maxMeasures:g,minMeasures:y})&&xw.initLayoutExclude({exportFormat:n,maxDimensions:m,minDimensions:v,maxMeasures:g,minMeasures:y,newHyperCubeDef:p}),xw.addDefaultDimensions({exportFormat:n,maxDimensions:m,minDimensions:v,newHyperCubeDef:p,defaultDimension:x}),xw.addDefaultMeasures({exportFormat:n,maxMeasures:g,minMeasures:y,newHyperCubeDef:p,defaultMeasure:w}),xw.setInterColumnSortOrder({exportFormat:n,newHyperCubeDef:p}),xw.copyPropertyIfExist("qMaxStackedCells",d,p),xw.copyPropertyIfExist("qNoOfLeftDims",d,p),xw.copyPropertyOrSetDefault("qInitialDataFetch",d,p,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),xw.copyPropertyOrSetDefault("qMode",d,p,"S"),xw.copyPropertyOrSetDefault("qReductionMode",d,p,"N"),xw.copyPropertyOrSetDefault("qSortbyYValue",d,p),xw.copyPropertyOrSetDefault("qIndentMode",d,p),xw.copyPropertyOrSetDefault("qShowTotalsAbove",d,p),xw.importCommonProperties(f,n,o),xw.updateDimensionsOnAdded({newProperties:f,dataDefinition:a,hypercubePath:u}),xw.updateMeasuresOnAdded({newProperties:f,dataDefinition:a,hypercubePath:u}),c.qProperty=f,c;var t,n,r,o,i,a,l,s,u,c,f,d,p,h,m,v,g,y,b,x,E,w}},ww=function(){var e=i(regeneratorRuntime.mark((function e(t){var n,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.halo,r=t.name,o=t.version,i=n.types,e.next=4,i.get({name:r,version:o}).supernova();case 4:return a=e.sent,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Sw=function(e){return fw(e,"data.targets.0.propertyPath")},Cw=function(e){return e.exportProperties?e.exportProperties:function(e){if(e.split("/").indexOf("qHyperCubeDef")>-1)return Ew.exportProperties}(Sw(e))},kw=function(e){return e.importProperties?e.importProperties:function(e){if(e.split("/").indexOf("qHyperCubeDef")>-1)return Ew.importProperties}(Sw(e))},Lw=function(){var e=i(regeneratorRuntime.mark((function e(t){var r,o,i,a,l,s,u,c,f,d,p,h,m,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.halo,o=t.model,i=t.cellRef,a=t.newType,e.next=3,o.getFullPropertyTree();case 3:return l=e.sent,s=i.current.getQae(),u=Cw(s),e.next=8,ww({halo:r,name:a});case 8:return c=e.sent,f=c.qae,d=kw(f),p=u({propertyTree:l,hypercubePath:xw.getHypercubePath(s)}),h=fw(f,"properties.initial",{}),m=n({qInfo:{qType:a},visualization:a},h),v=d({exportFormat:p,initialProperties:m,dataDefinition:fw(f,"data.targets.0.",{}),hypercubePath:xw.getHypercubePath(f)}),e.abrupt("return",v);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Rw={hypercube:Ew},Ow=function(e){return Ax(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]})}(e))},_w=function(e){var t=e.d,n=rm(),r="inherit",o=n.palette.success.main;t.missing?o=n.palette.warning.main:t.error&&(r="error",o=n.palette.error.main);var i={color:o},a=ut.createElement(vb,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},ut.createElement(ax,null,t.missing||t.error?ut.createElement(Ow,{style:i}):ut.createElement(oE,{style:i})));return ut.createElement(ex,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},ut.createElement(ex,{item:!0},a),ut.createElement(ex,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},ut.createElement(vb,{noWrap:!0,component:"p"},ut.createElement(vb,{component:"span",variant:"subtitle2",color:r},t.description),ut.createElement(vb,{component:"span"}," "),ut.createElement(vb,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))},Iw=function(e){var t=e.data,n=rm();return ut.createElement(ex,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map((function(e,t){var r=e.descriptions.map((function(e,t){return ut.createElement(_w,{d:e,key:t})}));return r.length>0&&ut.createElement(ex,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},ut.createElement(vb,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))};function Pw(e){var t=e.title,n=void 0===t?"Error":t,r=e.message,o=void 0===r?"":r,i=e.data,a=void 0===i?[]:i;return ut.createElement(ex,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},ut.createElement(ex,{item:!0},ut.createElement(Ow,{style:{fontSize:"38px"}})),ut.createElement(ex,{item:!0},ut.createElement(vb,{variant:"h6",align:"center","data-tid":"error-title"},n)),ut.createElement(ex,{item:!0},ut.createElement(vb,{variant:"subtitle1",align:"center","data-tid":"error-message"},o)),ut.createElement(Iw,{data:a}))}var Tw=["size"],Nw=ym((function(e){return{root:{position:"relative",display:"inline-block"},front:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},back:{color:e.palette.divider}}})),qw={small:16,medium:32,large:64,xlarge:128};function Mw(e){var t=e.size,n=void 0===t?"medium":t,r=u(e,Tw),o=Nw(),i=qw[n];return ut.createElement("div",{className:o.root},ut.createElement(Cb,s({variant:"determinate",value:100,className:o.back,size:i,thickness:3},r)),ut.createElement(Cb,s({variant:"indeterminate",disableShrink:!0,className:o.front,size:i,thickness:3},r)))}var Dw=["cancel","translator"],Aw=["retry","translator"],zw=ag((function(){return{stripes:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}}})),jw=function(e){var t=e.cancel,n=e.translator,r=u(e,Dw);return ut.createElement(ut.Fragment,null,ut.createElement(ex,{container:!0,item:!0,direction:"column",alignItems:"center",spacing:2},ut.createElement(ex,{item:!0},ut.createElement(Mw,null)),ut.createElement(ex,{item:!0},ut.createElement(vb,{variant:"h6",align:"center"},n.get("Object.Update.Active")))),ut.createElement(ex,s({item:!0},r),ut.createElement(yb,{variant:"contained",onClick:t},n.get("Cancel"))))},Fw=function(e){var t=e.retry,n=e.translator,r=u(e,Aw);return ut.createElement(ut.Fragment,null,ut.createElement(ex,{item:!0},ut.createElement(Ow,{style:{fontSize:"38px"}})),ut.createElement(ex,{item:!0},ut.createElement(vb,{variant:"h6",align:"center"},n.get("Object.Update.Cancelled"))),ut.createElement(ex,{item:!0},ut.createElement(yb,s({variant:"contained",onClick:t},r),n.get("Retry"))))};function Bw(e){var t=e.canCancel,n=e.canRetry,r=e.api,o=zw(),i=o.stripes,a=o.cancel,l=o.retry,s=Le.exports.useContext(wg).translator;return ut.createElement(ex,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:i,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},t&&ut.createElement(jw,{cancel:r.cancel,translator:s,className:a}),n&&ut.createElement(Fw,{retry:r.retry,translator:s,className:l}))}function Uw(){return ut.createElement(ex,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},ut.createElement(Mw,{size:"large"}))}var Hw=ag((function(e){return{containerStyle:{flexGrow:0},containerTitleStyle:{paddingBottom:e.spacing(1)}}})),Ww=function(e){var t=e.layout,n=e.sn,r=e.anchorEl,o=e.hovering,i=t.showTitles&&!!t.title,a=t.showTitles&&!!t.subtitle,l=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,s=c(Le.exports.useState([]),2),u=s[0],d=s[1],p=Hw(),h=p.containerStyle,m=p.containerTitleStyle,v=c(Mx(),2),g=v[0],y=v[1],b=c(Le.exports.useState(!1),2),x=b[0],E=b[1];Le.exports.useEffect((function(){n&&n.component&&n.component.isHooked&&n.component.observeActions((function(e){d([].concat(f(e),f(n&&n.selectionToolbar&&n.selectionToolbar.items||[])))}))}),[n]),Le.exports.useEffect((function(){if(y){var e=y.width;E(e<221)}}),[y]);var w=i||a,S=[h].concat(f(w?[m]:[])),C=(o||l)&&(x||!w),k=w&&!C&&!x,L=ut.createElement(_E,{show:k,selections:{show:l,api:n.component.selections},actions:u,popover:{show:C,anchorEl:r}});return ut.createElement(ex,{ref:g,item:!0,container:!0,wrap:"nowrap",className:S.join(" ")},ut.createElement(ex,{item:!0,zeroMinWidth:!0,xs:!0},ut.createElement(ex,{container:!0,wrap:"nowrap",direction:"column"},i&&ut.createElement(vb,{variant:"h6",noWrap:!0},t.title),a&&ut.createElement(vb,{variant:"body2",noWrap:!0},t.subtitle))),ut.createElement(ex,{item:!0},L))},Vw=ag((function(e){return{itemStyle:{minWidth:0,paddingTop:e.spacing(1)}}})),$w=function(e){var t=e.layout,n=Vw().itemStyle;return t&&t.showTitles&&t.footnote?ut.createElement(ex,{container:!0},ut.createElement(ex,{item:!0,className:n},ut.createElement(vb,{noWrap:!0,variant:"body2"},t.footnote))):null},Gw="njs-viz",Kw=function(e){var t=e.sn,r=e.snOptions,o=e.snPlugins,i=e.layout,a=e.appLayout,l=e.halo,s=t.component,u=Le.exports.useContext(wg),f=u.theme,d=u.language,p=u.constraints,h=Le.exports.useRef(null),m=c(Le.exports.useState(!1),2),v=m[0],g=m[1],y=c(Le.exports.useState(0),2),b=y[0],x=y[1],E=c(Mx(),3),w=E[0],S=E[1],C=E[2],k=c(Le.exports.useState(null),2),L=k[0],R=k[1],O=Le.exports.useCallback((function(e){e&&R(e)}),[]);return Le.exports.useEffect((function(){if(L)return s.created({options:r}),s.mounted(L),g(!0),function(){clearTimeout(h.current),h.current=null,s.willUnmount()}}),[L,s]),Le.exports.useEffect((function(){v&&L&&S&&(!s.isHooked&&i&&i.qSelectionInfo&&i.qSelectionInfo.qInSelections||h.current||(h.current=setTimeout((function(){var e=[];p.passive||e.push("passive"),p.active||e.push("interact"),p.select||e.push("select"),l.app&&l.app.session&&e.push("fetch"),Promise.resolve(s.render({layout:i,options:r,plugins:o,embed:l.public.nebbie,context:n({constraints:p,theme:l.public.theme,appLayout:a},s.isHooked?{}:{logicalSize:t.logicalSize({layout:i}),localeInfo:(a||{}).qLocaleInfo,permissions:e})})).then((function(){h.current=null,0===b&&"function"==typeof r.onInitialRender&&r.onInitialRender.call(null),x(b+1)}))}),10)))}),[S,r,o,L,C,i,a,f,d,p,v]),ut.createElement("div",{ref:w,"data-render-count":b,style:{position:"relative",height:"100%"},className:Gw},ut.createElement("div",{ref:O,style:{position:"absolute",width:"100%",height:"100%"}}))},Zw="njs-cell",Xw=function(e,t){switch(t.type){case"LOADING":return n(n({},e),{},{loading:!0});case"LOADED":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return n(n({},e),{},{longRunningQuery:!0});case"ERROR":return n(n({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}},Qw=function(e){var t=e.delay,n=void 0===t?750:t,r=c(Le.exports.useState(!1),2),o=r[0],i=r[1];return Le.exports.useEffect((function(){var e=setTimeout((function(){return i(!0)}),n);return function(){return clearTimeout(e)}}),[]),o&&ut.createElement(Uw,null)},Jw=function(e){var t=e.sn,n=e.layout,r=e.model,o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){var i=t.generator.qae.data.targets[0].propertyPath;o.goModal(i)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}},Yw=function(e){return!e.qError||7005===e.qError.qErrorCode},eS=function(e,t,n,r,o){return f(Array(e).keys()).map((function(e){var i=!(!t||!t[e]),a=i&&t[e].qError&&7005===t[e].qError.qErrorCode,l=i&&!a&&t[e].qError,s=a&&t[e].qCalcCondMsg,u="".concat(l?r:a?s||o:i&&t[e].qFallbackTitle||""),c=n(e);return{description:c?"".concat(c).concat(u.length?":":""):null,label:u,missing:t&&!i&&!l&&e>=t.length||a,error:l}}))},tS=function(e){return e&&(Array.isArray(e)?e:[e])||[]},nS=function(e,t,n,r){var o=r.dimensions.min(),i=r.measures.min(),a=r.resolveLayout(t);return{reqDimErrors:eS(o,tS(a.qDimensionInfo),(function(e){return r.dimensions.description(n,e)}),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:eS(i,tS(a.qMeasureInfo),(function(e){return r.measures.description(n,e)}),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},rS=function(e,t,n){for(var r=!1,o=0,i=0,a=!1,l=!1,s=[],u=0;u<t.length;++u){var c=t[u],f=c.dimensions.min(),d=c.measures.min(),p=c.resolveLayout(n),h=tS(p.qDimensionInfo).filter(Yw),m=tS(p.qMeasureInfo).filter(Yw);if(o+=f,i+=d,(h.length<f||m.length<d)&&(r=!0),p.qError){a=!0;var v=(l=7005===p.qError.qErrorCode)&&p.qCalcCondMsg?p.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:v,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:i,hasLayoutErrors:a,layoutErrors:s}},oS=function(){var e=i(regeneratorRuntime.mark((function e(t,n,r,o){var i,a,l,s,u,c,d,p,h,m,v,g,y,b,x,E,w,S,C,k,L,R;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r.targets,a=rS(t,i,n),l=a.hasUnfulfilledErrors,s=a.aggMinD,u=a.aggMinM,c=a.hasLayoutErrors,d=a.layoutErrors,p=[],h=[],m=null,v=0;case 6:if(!(v<i.length)){e.next=22;break}if(g=i[v],c||!l){e.next=19;break}if(e.t0=m,e.t0){e.next=14;break}return e.next=13,o.getProperties();case 13:e.t0=e.sent;case 14:y=e.t0,m=y,b=nS(t,n,y,g),p.push.apply(p,f(b.reqDimErrors)),h.push.apply(h,f(b.reqMeasErrors));case 19:++v,e.next=6;break;case 22:return x=p.filter((function(e){return!(e.missing||e.error)})).length,E=t.get("Visualization.Incomplete.Dimensions",[x,s]),w=h.filter((function(e){return!(e.missing||e.error)})).length,S=t.get("Visualization.Incomplete.Measures",[w,u]),C=[{title:E,descriptions:[].concat(p)},{title:S,descriptions:[].concat(h)}],k=c||l,L=c?d:C,R=c?d[0].title:t.get("Visualization.Incomplete"),e.abrupt("return",[k,{title:R,data:L}]);case 31:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}(),iS=function(){var e=i(regeneratorRuntime.mark((function e(t){var n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.types,r=t.name,o=t.version,e.next=3,n.get({name:r,version:o}).supernova();case 3:return i=e.sent,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),aS=function(){var e=i(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,l,s,u,c,f;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.dispatch,r=t.types,o=t.visualization,i=t.version,a=t.model,l=t.app,s=t.selections,u=t.nebbie,e.prev=1,e.next=4,iS({types:r,name:o,version:i});case 4:return c=e.sent,f=c.create({model:a,app:l,selections:s,nebbie:u}),e.abrupt("return",f);case 9:e.prev=9,e.t0=e.catch(1),n({type:"ERROR",error:{title:e.t0.message}});case 12:return e.abrupt("return",void 0);case 13:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}(),lS=Le.exports.forwardRef((function(e,t){var r,o=e.halo,a=e.model,l=e.initialSnOptions,s=e.initialSnPlugins,u=e.initialError,f=e.onMount,d=o.app,p=o.types,h=o.public.nebbie,m=Le.exports.useContext(wg),v=m.translator,g=m.language,y=rm(),b=c(Mx(),3),x=b[0],E=b[1],w=b[2],S=c(Le.exports.useReducer(Xw,{loading:!1,loaded:!1,longRunningQuery:!1,error:(r=u)?{title:r.message}:null,sn:null,visualization:null}),2),C=S[0],k=S[1],L=c($g(a),3),R=L[0],O=L[1],_=O.validating,I=O.canCancel,P=O.canRetry,T=L[2],N=c(Gg(d),1)[0],q=c(Mx(),2),M=q[0],D=q[1],A=c(Le.exports.useState(l),2),z=A[0],j=A[1],F=c(Le.exports.useState(s),2),B=F[0],U=F[1],H=c(ME(d,a),1)[0],W=c(Le.exports.useState(!1),2),V=W[0],$=W[1],G=Le.exports.useRef({enter:null,leave:null});Le.exports.useEffect((function(){if(!u&&N&&R){var e=function(){var e=i(regeneratorRuntime.mark((function e(t){var n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,oS(v,R,t.generator.qae.data,a);case 2:n=e.sent,r=c(n,2),o=r[0],i=r[1],k(o?{type:"ERROR",error:i}:{type:"RENDER"}),Jw({sn:C.sn,layout:R,model:a});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t=function(){var e=i(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k({type:"LOADING"}),e.next=3,aS({dispatch:k,types:p,visualization:t,version:n,model:a,app:d,selections:H,nebbie:h});case 3:return(r=e.sent)&&(k({type:"LOADED",sn:r,visualization:t}),f()),e.abrupt("return",void 0);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();if(C.visualization===R.visualization&&C.sn)e(C.sn);else{var n=p.getSupportedVersion(R.visualization,R.version);if(n)return t(R.visualization,n),function(){};k({type:"ERROR",error:{title:"Could not find a version of '".concat(R.visualization,"' that supports current object version. Did you forget to register ").concat(R.visualization,"?")}})}}}),[p,C.sn,a,R,N,g]),Le.exports.useEffect((function(){if(_){var e=setTimeout((function(){return k({type:"LONG_RUNNING_QUERY"})}),2e3);return function(){return clearTimeout(e)}}}),[_]),Le.exports.useImperativeHandle(t,(function(){return{getQae:function(){return C.sn.generator.qae},setSnOptions:j,setSnPlugins:U,takeSnapshot:function(){return i(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=E.width,n=E.height,r=JSON.parse(JSON.stringify(R)),"function"!=typeof C.sn.component.setSnapshotData){e.next=9;break}return e.next=5,C.sn.component.setSnapshotData(r);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0=r;case 8:r=e.t0;case 9:return e.abrupt("return",{key:String(+Date.now()),meta:{language:v.language(),theme:y.name,appLayout:N,size:{width:Math.round(t),height:Math.round(n)}},layout:r});case 10:case"end":return e.stop()}}),e)})))()},exportImage:function(){var e=this;return i(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"==typeof o.config.snapshot.capture){t.next=2;break}throw new Error("Stardust embed has not been configured with snapshot.capture callback");case 2:return t.next=4,e.takeSnapshot();case 4:return n=t.sent,t.abrupt("return",o.config.snapshot.capture(n));case 6:case"end":return t.stop()}}),t)})))()}}}),[C.sn,D,E,R,y.name,N]);var K=null;return C.loading&&!C.longRunningQuery?K=ut.createElement(Qw,null):C.error?K=ut.createElement(Pw,C.error):C.loaded&&(K=ut.createElement(Kw,{key:R.visualization,sn:C.sn,halo:o,snOptions:z,snPlugins:B,layout:R,appLayout:N})),ut.createElement(eb,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:Zw,ref:x,onMouseEnter:function(){G.current.leave&&clearTimeout(G.current.leave),G.enter||(G.current.enter=setTimeout((function(){$(!0),G.current.enter=null}),250))},onMouseLeave:function(){G.current.enter&&clearTimeout(G.current.enter),G.current.leave||(G.current.leave=setTimeout((function(){$(!1),G.current.leave=null}),750))}},ut.createElement(ex,{container:!0,direction:"column",spacing:0,style:n({position:"relative",width:"100%",height:"100%",padding:y.spacing(1)},C.longRunningQuery?{opacity:"0.3"}:{})},w&&R&&C.sn&&ut.createElement(Ww,{layout:R,sn:C.sn,anchorEl:w,hovering:V}," "),ut.createElement(ex,{item:!0,xs:!0,style:{height:"100%"},ref:M},K),ut.createElement($w,{layout:R})),C.longRunningQuery&&ut.createElement(Bw,{canCancel:I,canRetry:P,api:T}))}));function sS(e){var t=e.halo,n=e.element,r=e.model,o=e.initialSnOptions,i=e.initialSnPlugins,a=e.onMount,l=e.initialError,s=t.root,u=ut.createRef(),c=yf.createPortal(ut.createElement(lS,{ref:u,halo:t,model:r,initialSnOptions:o,initialSnPlugins:i,initialError:l,onMount:a}),n,r.id),f=function e(){s.remove(c),r.removeListener("closed",e)};return r.on("closed",f),s.add(c),[f,u]}function uS(e){return null!=e&&!Array.isArray(e)&&"object"===r(e)}function cS(e,t){return uS(e)&&uS(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function fS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=[];return Object.keys(t).forEach((function(i){var a=t[i];"object"!==r(n[i])||"object"!==r(a)||Array.isArray(a)?cS(a,n[i])||o.push({qPath:e+i,qOp:"add",qValue:JSON.stringify(t[i])}):o.push.apply(o,f(fS("".concat(e).concat(i,"/"),t[i],n[i])))})),o}function dS(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((function(e){if("object"!==r(e))throw new Error("Invalid plugin format: a plugin should be an object");if("object"!==r(e.info)||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error('Invalid plugin format: The plugin "'.concat(e.info.name,'" has no "fn" function'))}))}var pS=function(){};function hS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.model,r=e.halo,o=e.initialError,a=e.onDestroy,l=void 0===a?i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))):a,s=pS,u=null,f=null,d=null,p=new Promise((function(e){d=e})),h={},m=[],v=function(){var e=i(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:f?i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p;case 2:u.current.setSnOptions(n(n({},h),t));case 3:case"end":return e.stop()}}),e)})))():h=n(n({},h),t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=i(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:dS(t),f?i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p;case 2:u.current.setSnPlugins(t);case 3:case"end":return e.stop()}}),e)})))():m=t;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y={id:t.id,destroy:function(){return i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:s(),s=pS;case 4:case"end":return e.stop()}}),e)})))()},convertTo:function(e){var n=arguments;return i(regeneratorRuntime.mark((function o(){var i,a;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=!(n.length>1&&void 0!==n[1])||n[1],o.next=3,Lw({halo:r,model:t,cellRef:u,newType:e});case 3:if(a=o.sent,!i){o.next=12;break}if(!t.__snInterceptor){o.next=10;break}return o.next=8,t.__snInterceptor.setProperties.call(t,a.qProperty);case 8:o.next=12;break;case 10:return o.next=12,t.setProperties(a.qProperty);case 12:return o.abrupt("return",a);case 13:case"end":return o.stop()}}),o)})))()},__DO_NOT_USE__:{mount:function(e){if(f)throw new Error("Already mounted");f=e;var n=c(sS({halo:r,element:e,model:t,initialSnOptions:h,initialSnPlugins:m,initialError:o,onMount:d}),2);return s=n[0],u=n[1],p},applyProperties:function(e){return i(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.getEffectiveProperties();case 2:if(r=n.sent,!(o=fS("/",e,r)).length){n.next=6;break}return n.abrupt("return",t.applyPatches(o,!0));case 6:return n.abrupt("return",void 0);case 7:case"end":return n.stop()}}),n)})))()},options:function(e){v(e)},plugins:function(e){g(e)},exportImage:function(){return u.current.exportImage()},takeSnapshot:function(){return u.current.takeSnapshot()}}};return y}function mS(e,t,n,r){return vS.apply(this,arguments)}function vS(){return(vS=i(regeneratorRuntime.mark((function e(t,n,r,o){var a,l,s=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=s.length>4&&void 0!==s[4]?s[4]:i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),l=hS({model:t,halo:r,initialError:o,onDestroy:a}),n.options&&l.__DO_NOT_USE__.options(n.options),n.plugins&&l.__DO_NOT_USE__.plugins(n.plugins),!n.element){e.next=7;break}return e.next=7,l.__DO_NOT_USE__.mount(n.element);case 7:return e.abrupt("return",l);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function gS(e,t){return yS.apply(this,arguments)}function yS(){return(yS=i(regeneratorRuntime.mark((function e(t,n){var r,o,a,l,s,u,c,f,d,p,h,m,v,g;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.type,o=t.version,a=t.fields,l=t.properties,s=t.options,u=t.plugins,c=t.element,f={},e.prev=2,p=n.types.get({name:r,version:o}),e.next=6,p.initialProperties(l);case 6:return f=e.sent,e.next=9,p.supernova();case 9:h=e.sent,a&&cw({sn:h,properties:f,fields:a}),l&&h&&h.qae.properties.onChange&&h.qae.properties.onChange.call({},f),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(2),d=e.t0,f={qInfo:{qType:r},visualization:r};case 18:return e.next=20,n.app.createSessionObject(f);case 20:return m=e.sent,Ug.set(m.id,m),v=Hg(m),g=function(){var e=i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.app.destroySessionObject(m.id);case 2:v();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.abrupt("return",mS(m,{options:s,plugins:u,element:c},n,d,g));case 25:case"end":return e.stop()}}),e,null,[[2,14]])})))).apply(this,arguments)}function bS(e,t){return xS.apply(this,arguments)}function xS(){return(xS=i(regeneratorRuntime.mark((function e(t,n){var r,o,i,a,l,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,o=t.options,i=t.plugins,a=t.element,l="".concat(r),(s=qg.get(l))||(s=n.app.getObject(r),qg.set(l,s)),e.next=6,s;case 6:return u=e.sent,Ug.set(l,u),e.abrupt("return",mS(u,{options:o,plugins:i,element:a},n));case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ES(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:function(t){return!0===e[t]}}}var wS=I.bind(null,!0),SS={},CS=Array.isArray;function kS(e){return null!=e&&!Array.isArray(e)&&"object"===r(e)}function LS(e){return void 0===e}function RS(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function OS(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,o){if(o!==r.length){n=+t;var i=isNaN(n)?{}:[];e[n||t]=LS(e[n||t])?i:e[t],e=e[n||t]}})),e}function _S(e,t){var n=!0;if(kS(e)&&kS(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){_S(e[r],t[r])||(n=!1)})),n);if(CS(e)&&CS(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!_S(e[r],t[r]))return!1;return!0}return e===t}SS.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?wS({},{val:e}).val:e}(t[o]),a=e[o],l="".concat(n,"/").concat(o);_S(i,a)||RS(t,o)||(LS(a)?r.push({op:"add",path:l,value:i}):kS(i)&&kS(a)?r=r.concat(SS.generate(a,i,l)):CS(i)&&CS(a)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),i=-1;function a(e,t,n){if(e[n]&&LS(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,o=e.length;r<o;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(_S(t,o))return r;if(!LS(t[0])&&LS(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var l=o.length-1;l>=0;l-=1)-1===(i=a(t,o[l].qInfo&&o[l].qInfo.qId,l))?(r.push({op:"remove",path:"".concat(n,"/").concat(l)}),o.splice(l,1)):r=r.concat(SS.generate(o[l],t[i],"".concat(n,"/").concat(l)));for(var s=0,u=t.length;s<u;s+=1)-1===(i=a(o,t[s].qInfo&&t[s].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(s),value:t[s]}),o.splice(s,0,t[s])):i!==s&&(r.push({op:"move",path:"".concat(n,"/").concat(s),from:"".concat(n,"/").concat(i)}),o.splice(s,0,o.splice(i,1)[0]));return r}(a,i,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){LS(t[o])&&!RS(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},SS.apply=function(e,t){t.forEach((function(t){var n,r=OS(e,t.path),o=t.path.split("/").splice(-1)[0],i=o&&isNaN(+o)?r[o]:r[+o]||r,a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(r=null,i=e),"add"===t.op||"replace"===t.op)if(CS(r))"-"===o&&(o=r.length),r.splice(+o,"add"===t.op?0:1,t.value);else if(CS(i)&&CS(t.value)){var l,s=t.value.slice();i.length=0,(l=i).push.apply(l,f(s))}else if(kS(i)&&kS(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!RS(n,e)&&delete n[e]})),wS(i,t.value);else{if(!r)throw new Error("Patchee is not an object we can patch");r[o]=t.value}else if("move"===t.op){var u=OS(e,t.from);CS(r)?r.splice(+o,0,u.splice(+a,1)[0]):(r[o]=u[a],delete u[a])}else"remove"===t.op&&(CS(r)?r.splice(+o,1):delete r[o])}))},SS.clone=function(e){return wS({},e)},SS.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},SS.updateObject=function(e,t){Object.keys(e).length?SS.apply(e,SS.generate(e,t)):wS(e,t)};var IS,PS,TS=function(e){return function(t){var r,o=(r=n(n({},t),{},{action:function(){"function"==typeof t.action&&t.action.call(o,e),o.emit("changed")},enabled:function(){return"function"!=typeof t.enabled||t.enabled.call(o,e)},active:"function"==typeof t.active?function(){return t.active.call(o,e)}:void 0}),Object.keys(E.prototype).forEach((function(e){r[e]=E.prototype[e]})),E.init(r),r);return o}};function NS(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function qS(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.explicitResize,r=void 0!==n&&n;e.__hooks={obsolete:!1,error:!1,chain:{promise:null,resolve:function(){}},list:[],snaps:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:r}}}function MS(e){zS(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}function DS(e){return AS.apply(this,arguments)}function AS(){return(AS=i(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.__hooks.obsolete){e.next=2;break}return e.abrupt("return",Promise.resolve());case 2:PS=-1,(IS=t).__hooks.initiated&&IS.__hooks.list.length;try{IS.fn.call(null)}catch(e){console.error(e)}return IS.__hooks.initiated=!0,n=IS.__hooks,US(IS),PS=void 0,IS=void 0,n.chain.promise||(n.chain.promise=new Promise((function(e){n.chain.resolve=e}))),jS(n),VS(n),e.abrupt("return",n.chain.promise);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function zS(e,t){try{e.forEach((function(e){"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function jS(e){zS(e.pendingLayoutEffects)}function FS(e,t){try{return Promise.all(e.__hooks.snaps.map((function(e){return Promise.resolve(e.fn(t))}))).then((function(e){return e[e.length-1]}))}catch(e){console.error(e)}return Promise.resolve()}function BS(e){return e.__hooks.imperativeHandle}function US(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function HS(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,US(e))}function WS(e){if(void 0===IS)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");var t=IS.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function VS(e){e.macro||(e.macro=requestAnimationFrame((function(){!function(e){zS(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve())}(e)}(e)})))}function $S(e){return WS(++PS),IS.context[e]}function GS(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function KS(e){return{__hooked:!0,fn:e,initiate:qS,run:DS,teardown:MS,runSnaps:FS,observeActions:HS,getImperativeHandle:BS,updateRectOnNextRun:GS}}function ZS(e){var t=WS(++PS);if(!t.value){t.component=IS;t.value=["function"==typeof e?e():e,function(e){if(!t.component.__hooks.obsolete){var n,r="function"==typeof e?e(t.value[0]):e;r!==t.value[0]&&(t.value[0]=r,(n=t.component).__hooks.micro||(n.__hooks.micro=setTimeout((function(){n.__hooks.micro=null,DS(n)}),0)))}}]}return t.value}function XS(e,t){var n=WS(++PS);NS(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],IS.__hooks.pendingLayoutEffects.push(n))}function QS(e,t){var n=WS(++PS);return NS(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function JS(){return $S("element")}var YS={app:null,model:null,actions:null,selections:null,created:function(){},mounted:function(){},render:function(){},resize:function(){},willUnmount:function(){},destroy:function(){},emit:function(){},getViewState:function(){},observeActions:function(){},setSnapshotData:function(e){return Promise.resolve(e)}},eC=Object.keys(YS);function tC(e,t){var r,o=n({},YS);r=o,Object.keys(E.prototype).forEach((function(e){r[e]=E.prototype[e]})),E.init(r);var i={emit:function(){o.emit.apply(o,arguments)}};Object.keys(e.component||{}).forEach((function(t){-1!==eC.indexOf(t)?o[t]=e.component[t].bind(i):i[t]=e.component[t]}));var a=function(e){var t=e.sn,n=e.component,r={},o=[],i=TS(n);return((t.definition.selectionToolbar||{}).items||[]).forEach((function(e){var t=i(e);r[e.key]=t,o.push(t)})),(t.definition.actions||[]).forEach((function(e){var t=i(e);r[e.key]=t})),{actions:r,selectionToolbarItems:o,destroy:function(){o.length=0}}}({sn:e,component:i}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(i,{model:t.model,app:t.app,global:l,selections:t.selections,actions:a.actions}),Object.assign(o,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[o,a]}function nC(e,t,r){"function"==typeof e.component&&(e.component=KS(e.component));var o=c(e.component&&e.component.__hooked?function(e,t,r){var o=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0,i=!1,a={},l=["appLayout","constraints"],s={};t.model&&t.model.session||(s.select=!0);var u={context:{model:t.model,app:t.app,global:o,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:r.deviceType,theme:void 0,translator:r.translator,layout:{},appLayout:{},constraints:s,options:{},plugins:[]},fn:e.component.fn,created:function(){},mounted:function(n){this.context.element=n,e.component.initiate(u,{explicitResize:!!t.explicitResize})},render:function(t){var r=this,o=!i||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(o=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.options){var c={},d=!1;Object.keys(t.options).forEach((function(e){c[e]=t.options[e],r.context.options[e]!==t.options[e]&&(d=!0)})),d&&(this.context.options=c,o=!0)}if(t.plugins){var p=this.context.plugins.length!==t.plugins.length;t.plugins.forEach((function(e,t){r.context.plugins[t]!==e&&(p=!0)})),p&&(this.context.plugins=f(t.plugins),o=!0)}l.forEach((function(e){var i=t.context;if(i&&Object.prototype.hasOwnProperty.call(i,e)){var l=JSON.stringify(i[e]);"constraints"===e&&(l=JSON.stringify(n(n({},i[e]),s))),l!==a[e]&&(o=!0,a[e]=l,r.context[e]=JSON.parse(l))}}))}else o=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(o=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(o=!0,a.language=u.context.translator.language()),o?(i=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize:function(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount:function(){e.component.teardown(this)},setSnapshotData:function(t){return e.component.runSnaps(this,t)},getImperativeHandle:function(){return e.component.getImperativeHandle(this)},destroy:function(){},observeActions:function(t){e.component.observeActions(this,t)},isHooked:!0};return l.forEach((function(e){a[e]=JSON.stringify(u.context[e])})),a.themeName=u.context.theme?u.context.theme.name():void 0,a.language=u.context.translator?u.context.translator.language():void 0,Object.assign(u,{selections:t.selections}),[u,null]}(e,t,r):tC(e,t),2),i=o[0],a=o[1],l=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n,r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=e.qae.properties.onChange).call.apply(n,[{model:t.model}].concat(i)),(r=t.model.__snInterceptor.setProperties).call.apply(r,[this].concat(i))},t.model.applyPatches=function(n,r){var o=this,i=r?"getEffectiveProperties":"getProperties";return t.model[i]().then((function(i){var a=SS.clone(i),l=n.map((function(e){return{op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath}}));SS.apply(i,l),e.qae.properties.onChange.call({model:t.model},i);var s=SS.generate(a,i).map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}}));return t.model.__snInterceptor.applyPatches.call(o,s,r)}))},t.model.__snInterceptor.teardown=function(){t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},l.push(t.model.__snInterceptor.teardown)),{generator:e,component:i,selectionToolbar:{items:a?a.selectionToolbarItems:[]},destroy:function(){l.forEach((function(e){return e()}))},logicalSize:e.definition.logicalSize||function(){return!1}}}var rC=function(){};function oC(e,t){return void 0===e?function(){return t}:function(){return e}}function iC(e){var t=e||{};return{min:"function"==typeof t.min?t.min:oC(t.min,0),max:"function"==typeof t.max?t.max:oC(t.max,1e3),added:t.added||t.add||rC,description:t.description||rC,moved:t.moved||t.move||rC,removed:t.removed||t.remove||rC,replaced:t.replaced||t.replace||rC,isDefined:function(){return!!e}}}function aC(e){var t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject)$/.test(n)){var r=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(r," at ").concat(t,". Valid paths include /qHyperCubeDef or /qListObjectDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:function(e){return function(e,t,n){var r=t.split("/"),o=e;if(void 0===o)return n;for(var i=0;i<r.length;++i)if(""!==r[i]){if(void 0===o[r[i]])return n;o=o[r[i]]}return o}(e,n,{})},dimensions:iC(e.dimensions),measures:iC(e.measures)}}function lC(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange);var r={properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(aC)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function sC(e,t){var n,r={qae:lC((n="function"==typeof e?e(t):e).qae),component:n.component||{},create:function(e){return nC(r,e,t)},definition:{}};return Object.keys(n).forEach((function(e){r[e]||(r.definition[e]=n[e])})),r}var uC={exports:{}};!function(e,t){var n;t=e.exports=d,n="object"===("undefined"==typeof process?"undefined":r(process))&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var o=Number.MAX_SAFE_INTEGER||9007199254740991,i=t.re=[],a=t.src=[],l=t.tokens={},s=0;function u(e){l[e]=s++}u("NUMERICIDENTIFIER"),a[l.NUMERICIDENTIFIER]="0|[1-9]\\d*",u("NUMERICIDENTIFIERLOOSE"),a[l.NUMERICIDENTIFIERLOOSE]="[0-9]+",u("NONNUMERICIDENTIFIER"),a[l.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",u("MAINVERSION"),a[l.MAINVERSION]="("+a[l.NUMERICIDENTIFIER]+")\\.("+a[l.NUMERICIDENTIFIER]+")\\.("+a[l.NUMERICIDENTIFIER]+")",u("MAINVERSIONLOOSE"),a[l.MAINVERSIONLOOSE]="("+a[l.NUMERICIDENTIFIERLOOSE]+")\\.("+a[l.NUMERICIDENTIFIERLOOSE]+")\\.("+a[l.NUMERICIDENTIFIERLOOSE]+")",u("PRERELEASEIDENTIFIER"),a[l.PRERELEASEIDENTIFIER]="(?:"+a[l.NUMERICIDENTIFIER]+"|"+a[l.NONNUMERICIDENTIFIER]+")",u("PRERELEASEIDENTIFIERLOOSE"),a[l.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[l.NUMERICIDENTIFIERLOOSE]+"|"+a[l.NONNUMERICIDENTIFIER]+")",u("PRERELEASE"),a[l.PRERELEASE]="(?:-("+a[l.PRERELEASEIDENTIFIER]+"(?:\\."+a[l.PRERELEASEIDENTIFIER]+")*))",u("PRERELEASELOOSE"),a[l.PRERELEASELOOSE]="(?:-?("+a[l.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[l.PRERELEASEIDENTIFIERLOOSE]+")*))",u("BUILDIDENTIFIER"),a[l.BUILDIDENTIFIER]="[0-9A-Za-z-]+",u("BUILD"),a[l.BUILD]="(?:\\+("+a[l.BUILDIDENTIFIER]+"(?:\\."+a[l.BUILDIDENTIFIER]+")*))",u("FULL"),u("FULLPLAIN"),a[l.FULLPLAIN]="v?"+a[l.MAINVERSION]+a[l.PRERELEASE]+"?"+a[l.BUILD]+"?",a[l.FULL]="^"+a[l.FULLPLAIN]+"$",u("LOOSEPLAIN"),a[l.LOOSEPLAIN]="[v=\\s]*"+a[l.MAINVERSIONLOOSE]+a[l.PRERELEASELOOSE]+"?"+a[l.BUILD]+"?",u("LOOSE"),a[l.LOOSE]="^"+a[l.LOOSEPLAIN]+"$",u("GTLT"),a[l.GTLT]="((?:<|>)?=?)",u("XRANGEIDENTIFIERLOOSE"),a[l.XRANGEIDENTIFIERLOOSE]=a[l.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",u("XRANGEIDENTIFIER"),a[l.XRANGEIDENTIFIER]=a[l.NUMERICIDENTIFIER]+"|x|X|\\*",u("XRANGEPLAIN"),a[l.XRANGEPLAIN]="[v=\\s]*("+a[l.XRANGEIDENTIFIER]+")(?:\\.("+a[l.XRANGEIDENTIFIER]+")(?:\\.("+a[l.XRANGEIDENTIFIER]+")(?:"+a[l.PRERELEASE]+")?"+a[l.BUILD]+"?)?)?",u("XRANGEPLAINLOOSE"),a[l.XRANGEPLAINLOOSE]="[v=\\s]*("+a[l.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[l.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[l.XRANGEIDENTIFIERLOOSE]+")(?:"+a[l.PRERELEASELOOSE]+")?"+a[l.BUILD]+"?)?)?",u("XRANGE"),a[l.XRANGE]="^"+a[l.GTLT]+"\\s*"+a[l.XRANGEPLAIN]+"$",u("XRANGELOOSE"),a[l.XRANGELOOSE]="^"+a[l.GTLT]+"\\s*"+a[l.XRANGEPLAINLOOSE]+"$",u("COERCE"),a[l.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",u("COERCERTL"),i[l.COERCERTL]=new RegExp(a[l.COERCE],"g"),u("LONETILDE"),a[l.LONETILDE]="(?:~>?)",u("TILDETRIM"),a[l.TILDETRIM]="(\\s*)"+a[l.LONETILDE]+"\\s+",i[l.TILDETRIM]=new RegExp(a[l.TILDETRIM],"g");u("TILDE"),a[l.TILDE]="^"+a[l.LONETILDE]+a[l.XRANGEPLAIN]+"$",u("TILDELOOSE"),a[l.TILDELOOSE]="^"+a[l.LONETILDE]+a[l.XRANGEPLAINLOOSE]+"$",u("LONECARET"),a[l.LONECARET]="(?:\\^)",u("CARETTRIM"),a[l.CARETTRIM]="(\\s*)"+a[l.LONECARET]+"\\s+",i[l.CARETTRIM]=new RegExp(a[l.CARETTRIM],"g");u("CARET"),a[l.CARET]="^"+a[l.LONECARET]+a[l.XRANGEPLAIN]+"$",u("CARETLOOSE"),a[l.CARETLOOSE]="^"+a[l.LONECARET]+a[l.XRANGEPLAINLOOSE]+"$",u("COMPARATORLOOSE"),a[l.COMPARATORLOOSE]="^"+a[l.GTLT]+"\\s*("+a[l.LOOSEPLAIN]+")$|^$",u("COMPARATOR"),a[l.COMPARATOR]="^"+a[l.GTLT]+"\\s*("+a[l.FULLPLAIN]+")$|^$",u("COMPARATORTRIM"),a[l.COMPARATORTRIM]="(\\s*)"+a[l.GTLT]+"\\s*("+a[l.LOOSEPLAIN]+"|"+a[l.XRANGEPLAIN]+")",i[l.COMPARATORTRIM]=new RegExp(a[l.COMPARATORTRIM],"g");u("HYPHENRANGE"),a[l.HYPHENRANGE]="^\\s*("+a[l.XRANGEPLAIN]+")\\s+-\\s+("+a[l.XRANGEPLAIN]+")\\s*$",u("HYPHENRANGELOOSE"),a[l.HYPHENRANGELOOSE]="^\\s*("+a[l.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[l.XRANGEPLAINLOOSE]+")\\s*$",u("STAR"),a[l.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<s;c++)n(c,a[c]),i[c]||(i[c]=new RegExp(a[c]));function f(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof d)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?i[l.LOOSE]:i[l.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?i[l.LOOSE]:i[l.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}t.parse=f,t.valid=function(e,t){var n=f(e,t);return n?n.version:null},t.clean=function(e,t){var n=f(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=d,d.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},d.prototype.toString=function(){return this.version},d.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof d||(e=new d(e,this.options)),this.compareMain(e)||this.comparePre(e)},d.prototype.compareMain=function(e){return e instanceof d||(e=new d(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return h(r,o)}while(++t)},d.prototype.compareBuild=function(e){e instanceof d||(e=new d(e,this.options));var t=0;do{var r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return h(r,o)}while(++t)},d.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new d(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(y(e,t))return null;var n=f(e),r=f(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var i="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return o+a;return i},t.compareIdentifiers=h;var p=/^[0-9]+$/;function h(e,t){var n=p.test(e),r=p.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function m(e,t,n){return new d(e,n).compare(new d(t,n))}function v(e,t,n){return m(e,t,n)>0}function g(e,t,n){return m(e,t,n)<0}function y(e,t,n){return 0===m(e,t,n)}function b(e,t,n){return 0!==m(e,t,n)}function x(e,t,n){return m(e,t,n)>=0}function E(e,t,n){return m(e,t,n)<=0}function w(e,t,n,o){switch(t){case"===":return"object"===r(e)&&(e=e.version),"object"===r(n)&&(n=n.version),e===n;case"!==":return"object"===r(e)&&(e=e.version),"object"===r(n)&&(n=n.version),e!==n;case"":case"=":case"==":return y(e,n,o);case"!=":return b(e,n,o);case">":return v(e,n,o);case">=":return x(e,n,o);case"<":return g(e,n,o);case"<=":return E(e,n,o);default:throw new TypeError("Invalid operator: "+t)}}function S(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof S){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof S))return new S(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===C?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return h(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=m,t.compareLoose=function(e,t){return m(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),o=new d(t,n);return r.compare(o)||r.compareBuild(o)},t.rcompare=function(e,t,n){return m(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=v,t.lt=g,t.eq=y,t.neq=b,t.gte=x,t.lte=E,t.cmp=w,t.Comparator=S;var C={};function k(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof k)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new k(e.raw,t);if(e instanceof S)return new k(e.value,t);if(!(this instanceof k))return new k(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function L(e,t){for(var n=!0,r=e.slice(),o=r.pop();n&&r.length;)n=r.every((function(e){return o.intersects(e,t)})),o=r.pop();return n}function R(e){return!e||"x"===e.toLowerCase()||"*"===e}function O(e,t,n,r,o,i,a,l,s,u,c,f,d){return((t=R(n)?"":R(r)?">="+n+".0.0":R(o)?">="+n+"."+r+".0":">="+t)+" "+(l=R(s)?"":R(u)?"<"+(+s+1)+".0.0":R(c)?"<"+s+"."+(+u+1)+".0":f?"<="+s+"."+u+"."+c+"-"+f:"<="+l)).trim()}function _(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==C&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function I(e,t,n){try{t=new k(t,n)}catch(e){return!1}return t.test(e)}function P(e,t,n,r){var o,i,a,l,s;switch(e=new d(e,r),t=new k(t,r),n){case">":o=v,i=E,a=g,l=">",s=">=";break;case"<":o=g,i=x,a=v,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(I(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var c=t.set[u],f=null,p=null;if(c.forEach((function(e){e.semver===C&&(e=new S(">=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:a(e.semver,p.semver,r)&&(p=e)})),f.operator===l||f.operator===s)return!1;if((!p.operator||p.operator===l)&&i(e,p.semver))return!1;if(p.operator===s&&a(e,p.semver))return!1}return!0}S.prototype.parse=function(e){var t=this.options.loose?i[l.COMPARATORLOOSE]:i[l.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new d(n[2],this.options.loose):this.semver=C},S.prototype.toString=function(){return this.value},S.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===C||e===C)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return w(e,this.operator,this.semver,this.options)},S.prototype.intersects=function(e,t){if(!(e instanceof S))throw new TypeError("a Comparator is required");var n;if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new k(e.value,t),I(this.value,n,t));if(""===e.operator)return""===e.value||(n=new k(this.value,t),I(e.semver,n,t));var o=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,l=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=w(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=w(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return o||i||a&&l||s||u},t.Range=k,k.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},k.prototype.toString=function(){return this.range},k.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?i[l.HYPHENRANGELOOSE]:i[l.HYPHENRANGE];e=e.replace(r,O),n("hyphen replace",e),e=e.replace(i[l.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,i[l.COMPARATORTRIM]),e=(e=(e=e.replace(i[l.TILDETRIM],"$1~")).replace(i[l.CARETTRIM],"$1^")).split(/\s+/).join(" ");var o=t?i[l.COMPARATORLOOSE]:i[l.COMPARATOR],a=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?i[l.CARETLOOSE]:i[l.CARET];return e.replace(r,(function(t,r,o,i,a){var l;return n("caret",e,t,r,o,i,a),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(i)?l="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),l="0"===r?"0"===o?">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),l="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+r+1)+".0.0"),n("caret return",l),l}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?i[l.TILDELOOSE]:i[l.TILDE];return e.replace(r,(function(t,r,o,i,a){var l;return n("tilde",e,t,r,o,i,a),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(i)?l=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":a?(n("replaceTilde pr",a),l=">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0"):l=">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0",n("tilde return",l),l}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?i[l.XRANGELOOSE]:i[l.XRANGE];return e.replace(r,(function(r,o,i,a,l,s){n("xRange",e,r,o,i,a,l,s);var u=R(i),c=u||R(a),f=c||R(l),d=f;return"="===o&&d&&(o=""),s=t.includePrerelease?"-0":"",u?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&d?(c&&(a=0),l=0,">"===o?(o=">=",c?(i=+i+1,a=0,l=0):(a=+a+1,l=0)):"<="===o&&(o="<",c?i=+i+1:a=+a+1),r=o+i+"."+a+"."+l+s):c?r=">="+i+".0.0"+s+" <"+(+i+1)+".0.0"+s:f&&(r=">="+i+"."+a+".0"+s+" <"+i+"."+(+a+1)+".0"+s),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[l.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(o)}))),a=a.map((function(e){return new S(e,this.options)}),this)},k.prototype.intersects=function(e,t){if(!(e instanceof k))throw new TypeError("a Range is required");return this.set.some((function(n){return L(n,t)&&e.set.some((function(e){return L(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new k(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},k.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(_(this.set[t],e,this.options))return!0;return!1},t.satisfies=I,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new k(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&-1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var i=new k(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minVersion=function(e,t){e=new k(e,t);var n=new d("0.0.0");if(e.test(n))return n;if(n=new d("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r){e.set[r].forEach((function(e){var t=new d(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!v(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new k(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return P(e,t,"<",n)},t.gtr=function(e,t,n){return P(e,t,">",n)},t.outside=P,t.prerelease=function(e,t){var n=f(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new k(e,n),t=new k(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=i[l.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i[l.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;i[l.COERCERTL].lastIndex=-1}else n=e.match(i[l.COERCE]);if(null===n)return null;return f(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(uC,uC.exports);var cC={};function fC(e,t,n,r){return dC.apply(this,arguments)}function dC(){return(dC=i(regeneratorRuntime.mark((function e(t,n,r,o){var i,a,l,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.config,a="".concat(t,"__").concat(n),cC[a]){e.next=9;break}if(l="".concat(t).concat(n&&" v".concat(n)||""),!o||"function"==typeof o){e.next=6;break}throw new Error("load of visualization '".concat(l,"' is not a fuction, wrap load promise in function"));case 6:s=(o||i.load)({name:t,version:n}),u=Promise.resolve(s),cC[a]=u.then((function(e){if(!e)throw new Error("load() of visualization '".concat(l,"' resolved to an invalid object"));return e})).catch((function(e){throw new Error("Failed to load visualization: '".concat(l,"'"))}));case 9:return e.abrupt("return",cC[a]);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function pC(e,t){var r={},o=null;return{get:function(e){return r[e]},register:function(i,a){if(r[i])throw new Error("Supernova '".concat(e,"@").concat(i,"' already registered."));r[i]=function(e,t){var r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=i.meta,l={name:e.name,version:e.version,supportsPropertiesVersion:function(e){return!(e&&a&&a.deps&&a.deps.properties)||uC.exports.satisfies(e,a.deps.properties)},supernova:function(){return fC(l.name,l.version,t,i.load).then((function(e){return r=r||sC(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r}))},initialProperties:function(e){return this.supernova().then((function(){return n(n({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(o)),e)}))}};return l}({name:e,version:i},t,a),o=null},getMatchingVersionFromProperties:function(e){var t,n;o||(t=Object.keys(r),n=t.filter((function(e){return"undefined"===e})),o=[].concat(f(n),f(t.filter((function(e){return"undefined"!==e})).map((function(e){return e.split(".").map((function(e){return parseInt(e,10)}))})).sort((function(e,t){return e[0]-t[0]||e[1]-t[1]||e[2]-t[2]})).map((function(e){return e.join(".")})))));for(var i=o.length-1;i>=0;i--){if(r[o[i]].supportsPropertiesVersion(e))return o[i]}return null},versions:r}}function hC(e){var t=e.halo,n=e.parent,r={},o=n||{get:function(){}};return{register:function(e,n){r[e.name]||(r[e.name]=pC(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:function(e,t){return r[e]?r[e].getMatchingVersionFromProperties(t):null},get:function(e){var t=e.name,n=e.version;if(r[t]){if(!r[t].versions[n]){n=Object.keys(r[t].versions)[0]}}else this.register({name:t,version:n});return r[t].get(n)||o.get(e)},getList:function(){return Object.keys(r).map((function(e){return{name:e,versions:Object.keys(r[e].versions).map((function(e){return"undefined"===e?void 0:e}))}}))},clearFromCache:function(e){r[e]&&(r[e]=void 0),function(e){Object.keys(cC).forEach((function(t){t.split("__")[0]===e&&(cC[t]=void 0)}))}(e)}}}var mC,vC={get:(mC=i(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/njs/snapshot/".concat(t));case 2:if((n=e.sent).ok){e.next=5;break}throw new Error(n.statusText);case 5:return e.abrupt("return",n.json());case 6:case"end":return e.stop()}}),e)}))),function(e){return mC.apply(this,arguments)}),capture:function(e){return fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(e){return e.json()}))}},gC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(n({},e),t)},yC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[].concat(f(e),f(t)).filter((function(e,t,n){return n.indexOf(e)===t}))},bC=function(e,t){return{context:gC(e.context,t.context),load:t.load||e.load,snapshot:n({},t.snapshot||e.snapshot),types:yC(e.types,t.types),themes:yC(e.themes,t.themes),flags:gC(e.flags,t.flags),anything:gC(e.anything,t.anything)}};var xC=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=y(t.context.language);function o(e,a){if(a)return o.createConfiguration(a)(e);var l=n(n({},t.context),{},{translator:r.translator}),s=c(dy({app:e,context:l}),1)[0],u=Ce({themes:t.themes,root:s}),f={galaxy:{translator:r.translator,flags:ES(t.flags),deviceType:ke(t.context.deviceType),anything:t.anything},theme:u.externalAPI,translator:r.translator,nebbie:null},d={app:e,root:s,config:t,public:f,context:l,types:null},p=hC({halo:d});t.types.forEach((function(e){return p.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})}));var h,m,v,g,y=u.setTheme(t.context.theme),b=null,x=null,E={render:(g=i(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y;case 2:if(!t.id){e.next=4;break}return e.abrupt("return",bS(t,d));case 4:return e.abrupt("return",gS(t,d));case 5:case"end":return e.stop()}}),e)}))),function(e){return g.apply(this,arguments)}),context:(v=i(regeneratorRuntime.mark((function e(t){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(["theme","language","constraints"].forEach((function(e){t[e]&&t[e]!==l[e]&&(o||(o={}),o[e]=t[e])})),o){e.next=3;break}return e.abrupt("return");case 3:if(l=n(n(n({},l),o),{},{translator:r.translator}),d.context=l,!o.theme){e.next=9;break}return y=u.setTheme(o.theme),e.next=9,y;case 9:o.language&&d.public.translator.language(o.language),s.context(l);case 11:case"end":return e.stop()}}),e)}))),function(e){return v.apply(this,arguments)}),selections:(m=i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return b||(b={mount:function(t){x||(x=XE({element:t,app:e}),s.add(x))},unmount:function(){x&&(s.remove(x),x=null)}}),t.abrupt("return",b);case 2:case"end":return t.stop()}}),t)}))),function(){return m.apply(this,arguments)}),field:(h=i(regeneratorRuntime.mark((function t(n){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="string"==typeof n?n:n.qLibraryId){t.next=3;break}throw new Error("Field identifier must be provided");case 3:return o={fieldName:r,mount:function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)throw new Error("Element for ".concat(r," not provided"));if(this._instance)throw new Error("Field ".concat(r," already mounted"));this._instance=rw({element:t,app:e,fieldIdentifier:n,options:o,stateName:o.stateName||"$"}),s.add(this._instance)},unmount:function(){this._instance&&(s.remove(this._instance),this._instance=null)}},t.abrupt("return",o);case 5:case"end":return t.stop()}}),t)}))),function(e){return h.apply(this,arguments)}),getRegisteredTypes:p.getList,__DO_NOT_USE__:{types:p}};return d.public.nebbie=E,d.types=p,E}return o.createConfiguration=function(n){return e(bC(t,n))},o.config=t,o}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{}},load:function(){},types:[],themes:[],anything:{},snapshot:vC}),EC={generator:sC,hook:KS,theme:we,locale:v};e.__DO_NOT_USE__=EC,e.conversion=Rw,e.embed=xC,e.onTakeSnapshot=function(e){var t=WS(++PS);t.value||(t.value=1,IS.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){var n=c(ZS({action:function(){n._config.action.call(null)}}),1)[0];return n.component||(n.component=IS,IS.__hooks.actions.list.push(n)),QS((function(){var t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?function(){return t.icon}:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action},e.useApp=function(){var e=$S("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return $S("appLayout")},e.useConstraints=function(){return $S("constraints")},e.useDeviceType=function(){return $S("deviceType")},e.useEffect=function(e,t){var n=WS(++PS);NS(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===IS.__hooks.pendingEffects.indexOf(n)&&IS.__hooks.pendingEffects.push(n))},e.useElement=JS,e.useEmbed=function(){return $S("nebbie")},e.useGlobal=function(){var e=$S("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){var n=WS(++PS);if(n.imperative||(n.imperative=!0),NS(n.value?n.value[0]:void 0,t)){var r=e();n.value=[t,r],IS.__hooks.imperativeHandle=r}},e.useLayout=function(){return $S("layout")},e.useMemo=QS,e.useModel=function(){var e=$S("model");return e&&e.session?e:void 0},e.useOptions=function(){return $S("options")},e.usePlugins=function(){return $S("plugins")},e.usePromise=function(e,t){var n=c(ZS((function(){return{resolved:void 0,rejected:void 0,state:"pending"}})),2),r=n[0],o=n[1],i=WS(++PS);return i.component||(i.component=IS),XS((function(){var t=!1;return i.teardown=function(){t=!0,i.teardown=null;var e=i.component.__hooks.pendingPromises.indexOf(i);e>-1&&i.component.__hooks.pendingPromises.splice(e,1)},e().then((function(e){t||(i.teardown&&i.teardown(),o({resolved:e,rejected:void 0,state:"resolved"}))})).catch((function(e){t||(i.teardown&&i.teardown(),o({resolved:void 0,rejected:e,state:"resolved"}))})),i.component.__hooks.pendingPromises.push(i),function(){i.teardown&&i.teardown()}}),t),[r.resolved,r.rejected]},e.useRect=function(){var e=JS(),t=IS.__hooks.resizer,n=c(ZS((function(){var t=e.getBoundingClientRect();return{left:t.left,top:t.top,width:t.width,height:t.height}})),2),r=n[0],o=n[1];return t.current=r,-1===t.setters.indexOf(o)&&t.setters.push(o),t.update&&t.resize&&(t.update=!1,t.resize()),XS((function(){if(!t.initiated){t.initiated=!0;var n=function(){var n=e.getBoundingClientRect(),r=n.left,o=n.top,i=n.width,a=n.height,l=t.current;l.width===i&&l.height===a&&l.left===r&&l.top===o||t.setters.forEach((function(e){return e({left:r,top:o,width:i,height:a})}))};if(t.resize=function(){n()},t.explicitResize)return function(){t.resize=void 0};if("function"==typeof ResizeObserver){var r=new ResizeObserver(n);return r.observe(e),function(){r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}}),[e]),r},e.useSelections=function(){return $S("selections")},e.useStaleLayout=function(){var e=$S("layout"),t=c(ZS({current:e}),1)[0];return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=ZS,e.useTheme=function(){return $S("theme")},e.useTranslator=function(){return $S("translator")},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
41
|
+
var wp="object"==typeof CSS&&null!=CSS&&"number"in CSS,Sp=function(e){return new Ep(e)};Sp();var Cp=Date.now(),kp="fnValues"+Cp,Lp="fnStyle"+ ++Cp,Rp=function(){return{onCreateRule:function(e,t,n){if("function"!=typeof t)return null;var r=bd(e,{},n);return r[Lp]=t,r},onProcessStyle:function(e,t){if(kp in t||Lp 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[kp]=n,e},onUpdate:function(e,t,n,r){var o=t,i=o[Lp];i&&(o.style=i(e)||{});var a=o[kp];if(a)for(var l in a)o.prop(l,a[l](e),r)}}};function Op(){return(Op=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)}var _p="@global",Ip="@global ",Pp=function(){function e(e,t,n){for(var r in this.type="global",this.at=_p,this.rules=void 0,this.options=void 0,this.key=void 0,this.isProcessed=!1,this.key=e,this.options=n,this.rules=new tp(Op({},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 r&&this.options.jss.plugins.onProcessRule(r),r},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(){return this.rules.toString()},e}(),Tp=function(){function e(e,t,n){this.type="global",this.at=_p,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(Ip.length);this.rule=n.jss.createRule(r,t,Op({},n,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),Np=/\s*,\s*/g;function qp(e,t){for(var n=e.split(Np),r="",o=0;o<n.length;o++)r+=t+" "+n[o].trim(),n[o+1]&&(r+=", ");return r}function Mp(){return{onCreateRule:function(e,t,n){if(!e)return null;if(e===_p)return new Pp(e,t,n);if("@"===e[0]&&e.substr(0,Ip.length)===Ip)return new Tp(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,t){"style"===e.type&&t&&(function(e,t){var n=e.options,r=e.style,o=r?r[_p]:null;if(o){for(var i in o)t.addRule(i,o[i],Op({},n,{selector:qp(i,e.selector)}));delete r[_p]}}(e,t),function(e,t){var n=e.options,r=e.style;for(var o in r)if("@"===o[0]&&o.substr(0,_p.length)===_p){var i=qp(o.substr(_p.length),e.selector);t.addRule(i,r[o],Op({},n,{selector:i})),delete r[o]}}(e,t))}}}function Dp(){return(Dp=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)}var Ap=/\s*,\s*/g,zp=/&/g,jp=/\$([\w-]+)/g;function Fp(){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(Ap),r=e.split(Ap),o="",i=0;i<n.length;i++)for(var a=n[i],l=0;l<r.length;l++){var s=r[l];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace(zp,a):a+" "+s}return o}function n(e,t,n){if(n)return Dp({},n,{index:n.index+1});var r=e.options.nestingLevel;r=void 0===r?1:r+1;var o=Dp({},e.options,{nestingLevel:r,index:t.indexOf(e)+1});return delete o.name,o}return{onProcessStyle:function(r,o,i){if("style"!==o.type)return r;var a,l,s=o,u=s.options.parent;for(var c in r){var f=-1!==c.indexOf("&"),d="@"===c[0];if(f||d){if(a=n(s,u,a),f){var p=t(c,s.selector);l||(l=e(u,i)),p=p.replace(jp,l),u.addRule(p,r[c],Dp({},a,{selector:p}))}else d&&u.addRule(c,{},a).addRule(s.key,r[c],{selector:s.selector});delete r[c]}}return r}}}var Bp=/[A-Z]/g,Up=/^ms-/,Hp={};function Wp(e){return"-"+e.toLowerCase()}function Vp(e){if(Hp.hasOwnProperty(e))return Hp[e];var t=e.replace(Bp,Wp);return Hp[e]=Up.test(t)?"-"+t:t}function $p(e){var t={};for(var n in e){t[0===n.indexOf("--")?n:Vp(n)]=e[n]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map($p):t.fallbacks=$p(e.fallbacks)),t}var Kp=wp&&CSS?CSS.px:"px",Gp=wp&&CSS?CSS.ms:"ms",Zp=wp&&CSS?CSS.percent:"%";function Xp(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 Qp=Xp({"animation-delay":Gp,"animation-duration":Gp,"background-position":Kp,"background-position-x":Kp,"background-position-y":Kp,"background-size":Kp,border:Kp,"border-bottom":Kp,"border-bottom-left-radius":Kp,"border-bottom-right-radius":Kp,"border-bottom-width":Kp,"border-left":Kp,"border-left-width":Kp,"border-radius":Kp,"border-right":Kp,"border-right-width":Kp,"border-top":Kp,"border-top-left-radius":Kp,"border-top-right-radius":Kp,"border-top-width":Kp,"border-width":Kp,"border-block":Kp,"border-block-end":Kp,"border-block-end-width":Kp,"border-block-start":Kp,"border-block-start-width":Kp,"border-block-width":Kp,"border-inline":Kp,"border-inline-end":Kp,"border-inline-end-width":Kp,"border-inline-start":Kp,"border-inline-start-width":Kp,"border-inline-width":Kp,"border-start-start-radius":Kp,"border-start-end-radius":Kp,"border-end-start-radius":Kp,"border-end-end-radius":Kp,margin:Kp,"margin-bottom":Kp,"margin-left":Kp,"margin-right":Kp,"margin-top":Kp,"margin-block":Kp,"margin-block-end":Kp,"margin-block-start":Kp,"margin-inline":Kp,"margin-inline-end":Kp,"margin-inline-start":Kp,padding:Kp,"padding-bottom":Kp,"padding-left":Kp,"padding-right":Kp,"padding-top":Kp,"padding-block":Kp,"padding-block-end":Kp,"padding-block-start":Kp,"padding-inline":Kp,"padding-inline-end":Kp,"padding-inline-start":Kp,"mask-position-x":Kp,"mask-position-y":Kp,"mask-size":Kp,height:Kp,width:Kp,"min-height":Kp,"max-height":Kp,"min-width":Kp,"max-width":Kp,bottom:Kp,left:Kp,top:Kp,right:Kp,inset:Kp,"inset-block":Kp,"inset-block-end":Kp,"inset-block-start":Kp,"inset-inline":Kp,"inset-inline-end":Kp,"inset-inline-start":Kp,"box-shadow":Kp,"text-shadow":Kp,"column-gap":Kp,"column-rule":Kp,"column-rule-width":Kp,"column-width":Kp,"font-size":Kp,"font-size-delta":Kp,"letter-spacing":Kp,"text-decoration-thickness":Kp,"text-indent":Kp,"text-stroke":Kp,"text-stroke-width":Kp,"word-spacing":Kp,motion:Kp,"motion-offset":Kp,outline:Kp,"outline-offset":Kp,"outline-width":Kp,perspective:Kp,"perspective-origin-x":Zp,"perspective-origin-y":Zp,"transform-origin":Zp,"transform-origin-x":Zp,"transform-origin-y":Zp,"transform-origin-z":Zp,"transition-delay":Gp,"transition-duration":Gp,"vertical-align":Kp,"flex-basis":Kp,"shape-margin":Kp,size:Kp,gap:Kp,grid:Kp,"grid-gap":Kp,"row-gap":Kp,"grid-row-gap":Kp,"grid-column-gap":Kp,"grid-template-rows":Kp,"grid-template-columns":Kp,"grid-auto-rows":Kp,"grid-auto-columns":Kp,"box-shadow-x":Kp,"box-shadow-y":Kp,"box-shadow-blur":Kp,"box-shadow-spread":Kp,"font-line-height":Kp,"text-shadow-x":Kp,"text-shadow-y":Kp,"text-shadow-blur":Kp});function Jp(e,t,n){if(null==t)return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=Jp(e,t[r],n);else if("object"==typeof t)if("fallbacks"===e)for(var o in t)t[o]=Jp(o,t[o],n);else for(var i in t)t[i]=Jp(e+"-"+i,t[i],n);else if("number"==typeof t&&!Number.isNaN(t)){var a=n[e]||Qp[e];return!a||0===t&&a===Kp?t.toString():"function"==typeof a?a(t).toString():""+t+a}return t}function Yp(e){void 0===e&&(e={});var t=Xp(e);return{onProcessStyle:function(e,n){if("style"!==n.type)return e;for(var r in e)e[r]=Jp(r,e[r],t);return e},onChangeValue:function(e,n){return Jp(n,e,t)}}}function eh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function th(e){return function(e){if(Array.isArray(e))return eh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return eh(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eh(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var nh="",rh="",oh="",ih="",ah=dd&&"ontouchstart"in document.documentElement;if(dd){var lh={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},sh=document.createElement("p").style;for(var uh in lh)if(uh+"Transform"in sh){nh=uh,rh=lh[uh];break}"Webkit"===nh&&"msHyphens"in sh&&(nh="ms",rh=lh.ms,ih="edge"),"Webkit"===nh&&"-apple-trailing-word"in sh&&(oh="apple")}var ch=nh,fh=rh,dh=oh,ph=ih,hh=ah;var mh={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===ch?"-webkit-"+e:fh+e)}},vh={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===ch?fh+"print-"+e:e)}},gh=/[-\s]+(.)?/g;function yh(e,t){return t?t.toUpperCase():""}function bh(e){return e.replace(gh,yh)}function xh(e){return bh("-"+e)}var Eh,wh={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===ch){var n="mask-image";if(bh(n)in t)return e;if(ch+xh(n)in t)return fh+e}return e}},Sh={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==dh||hh?e:fh+e)}},Ch={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:fh+e)}},kh={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:fh+e)}},Lh={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===ch||"ms"===ch&&"edge"!==ph?fh+e:e)}},Rh={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===ch||"ms"===ch||"apple"===dh?fh+e:e)}},Oh={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===ch?"WebkitColumn"+xh(e)in t&&fh+"column-"+e:"Moz"===ch&&("page"+xh(e)in t&&"page-"+e))}},_h={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===ch)return e;var n=e.replace("-inline","");return ch+xh(n)in t&&fh+n}},Ih={supportedProperty:function(e,t){return bh(e)in t&&e}},Ph={supportedProperty:function(e,t){var n=xh(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:ch+n in t?fh+e:"Webkit"!==ch&&"Webkit"+n in t&&"-webkit-"+e}},Th={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===ch?""+fh+e:e)}},Nh={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===ch?fh+"scroll-chaining":e)}},qh={"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"},Mh={supportedProperty:function(e,t){var n=qh[e];return!!n&&(ch+xh(n)in t&&fh+n)}},Dh={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"},Ah=Object.keys(Dh),zh=function(e){return fh+e},jh=[mh,vh,wh,Sh,Ch,kh,Lh,Rh,Oh,_h,Ih,Ph,Th,Nh,Mh,{supportedProperty:function(e,t,n){var r=n.multiple;if(Ah.indexOf(e)>-1){var o=Dh[e];if(!Array.isArray(o))return ch+xh(o)in t&&fh+o;if(!r)return!1;for(var i=0;i<o.length;i++)if(!(ch+xh(o[0])in t))return!1;return o.map(zh)}return!1}}],Fh=jh.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),Bh=jh.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,th(t.noPrefill)),e}),[]),Uh={};if(dd){Eh=document.createElement("p");var Hh=window.getComputedStyle(document.documentElement,"");for(var Wh in Hh)isNaN(Wh)||(Uh[Hh[Wh]]=Hh[Wh]);Bh.forEach((function(e){return delete Uh[e]}))}function Vh(e,t){if(void 0===t&&(t={}),!Eh)return e;if(null!=Uh[e])return Uh[e];"transition"!==e&&"transform"!==e||(t[e]=e in Eh.style);for(var n=0;n<Fh.length&&(Uh[e]=Fh[n](e,Eh.style,t),!Uh[e]);n++);try{Eh.style[e]=""}catch(e){return!1}return Uh[e]}var $h,Kh={},Gh={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Zh=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function Xh(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?Vh(t):", "+Vh(n);return r||(t||n)}function Qh(e,t){var n=t;if(!$h||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Kh[r])return Kh[r];try{$h.style[e]=n}catch(e){return Kh[r]=!1,!1}if(Gh[e])n=n.replace(Zh,Xh);else if(""===$h.style[e]&&("-ms-flex"===(n=fh+n)&&($h.style[e]="-ms-flexbox"),$h.style[e]=n,""===$h.style[e]))return Kh[r]=!1,!1;return $h.style[e]="",Kh[r]=n,Kh[r]}function Jh(){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=Vh(n);i&&i!==n&&(o=!0);var a=!1,l=Qh(i,Ed(r));l&&l!==r&&(a=!0),(o||a)&&(o&&delete t[n],t[i||n]=l||r)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===ch?e:"@"+fh+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,n){return"style"!==n.type?t:e(t)},onChangeValue:function(e,t){return Qh(t,Ed(e))||e}}}function Yh(){return{plugins:[Rp(),Mp(),Fp(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=$p(e[t]);return e}return $p(e)},onChangeValue:function(e,t,n){if(0===t.indexOf("--"))return e;var r=Vp(t);return t===r?e:(n.prop(r,e),null)}},Yp(),"undefined"==typeof window?null:Jh(),(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 em(e,t){if(null==e)return{};var n,r,o=function(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}(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 tm(){return(tm=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 nm(){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=tm({},t);return Object.keys(n).forEach((function(e){n[e]&&(r[e]="".concat(t[e]," ").concat(n[e]))})),r}dd&&($h=document.createElement("p"));var rm={set:function(e,t,n,r){var o=e.get(t);o||(o=new Map,e.set(t,o)),o.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}},om=ft.createContext(null);function im(){return ft.useContext(om)}var am,lm=Sp(Yh()),sm={disableGeneration:!1,generateClassName:sd(),jss:lm,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},um=ft.createContext(sm);function cm(e){var t=e.children,n=e.injectFirst,r=void 0!==n&&n,o=e.disableGeneration,i=void 0!==o&&o,a=em(e,["children","injectFirst","disableGeneration"]),l=tm({},ft.useContext(um),{disableGeneration:i},a);if(!l.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!am){var s=document.head;am=document.createComment("mui-inject-first"),s.insertBefore(am,s.firstChild)}l.jss=Sp({plugins:Yh().plugins,insertionPoint:am})}return ft.createElement(um.Provider,{value:l},t)}var fm=-1e9;function dm(){return fm+=1}var pm={};function hm(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=tm({},o);return Object.keys(i).forEach((function(e){a[e]=kf(a[e],i[e])})),a},options:{}}}function mm(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=nm({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function vm(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,i=e.stylesCreator,a=e.name;if(!o.disableGeneration){var l=rm.get(o.sheetsManager,i,r);l||(l={refs:0,staticSheet:null,dynamicStyles:null},rm.set(o.sheetsManager,i,r,l));var s=tm({},i.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});s.generateId=s.serverGenerateClassName||s.generateClassName;var u=o.sheetsRegistry;if(0===l.refs){var c;o.sheetsCache&&(c=rm.get(o.sheetsCache,i,r));var f=i.create(r,a);c||((c=o.jss.createStyleSheet(f,tm({link:!1},s))).attach(),o.sheetsCache&&rm.set(o.sheetsCache,i,r,c)),u&&u.add(c),l.staticSheet=c,l.dynamicStyles=function e(t){var n=null;for(var r in t){var o=t[r],i=typeof o;if("function"===i)n||(n={}),n[r]=o;else if("object"===i&&null!==o&&!Array.isArray(o)){var a=e(o);a&&(n||(n={}),n[r]=a)}}return n}(f)}if(l.dynamicStyles){var d=o.jss.createStyleSheet(l.dynamicStyles,tm({link:!0},s));d.update(t),d.attach(),n.dynamicSheet=d,n.classes=nm({baseClasses:l.staticSheet.classes,newClasses:d.classes}),u&&u.add(d)}else n.classes=l.staticSheet.classes;l.refs+=1}}function gm(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function ym(e){var t=e.state,n=e.theme,r=e.stylesOptions,o=e.stylesCreator;if(!r.disableGeneration){var i=rm.get(r.sheetsManager,o,n);i.refs-=1;var a=r.sheetsRegistry;0===i.refs&&(rm.delete(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 bm(e,t){var n,r=ft.useRef([]),o=ft.useMemo((function(){return{}}),t);r.current!==o&&(r.current=o,n=e()),ft.useEffect((function(){return function(){n&&n()}}),[o])}function xm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,r=t.classNamePrefix,o=t.Component,i=t.defaultTheme,a=void 0===i?pm:i,l=em(t,["name","classNamePrefix","Component","defaultTheme"]),s=hm(e),u=n||r||"makeStyles";s.options={index:dm(),name:n,meta:u,classNamePrefix:u};var c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=im()||a,r=tm({},ft.useContext(um),l),i=ft.useRef(),u=ft.useRef();bm((function(){var o={name:n,state:{},stylesCreator:s,stylesOptions:r,theme:t};return vm(o,e),u.current=!1,i.current=o,function(){ym(o)}}),[t,s]),ft.useEffect((function(){u.current&&gm(i.current,e),u.current=!0}));var c=mm(i.current,e.classes,o);return c};return c}function Em(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Em(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function wm(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Em(e))&&(r&&(r+=" "),r+=t);return r}var Sm=_f.exports,Cm={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},km={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Lm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Rm={};function Om(e){return Sm.isMemo(e)?Lm:Rm[e.$$typeof]||Cm}Rm[Sm.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Rm[Sm.Memo]=Lm;var _m=Object.defineProperty,Im=Object.getOwnPropertyNames,Pm=Object.getOwnPropertySymbols,Tm=Object.getOwnPropertyDescriptor,Nm=Object.getPrototypeOf,qm=Object.prototype;var Mm=function e(t,n,r){if("string"!=typeof n){if(qm){var o=Nm(n);o&&o!==qm&&e(t,o,r)}var i=Im(n);Pm&&(i=i.concat(Pm(n)));for(var a=Om(t),l=Om(n),s=0;s<i.length;++s){var u=i[s];if(!(km[u]||r&&r[u]||l&&l[u]||a&&a[u])){var c=Tm(n,u);try{_m(t,u,c)}catch(e){}}}}return t};function Dm(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function Am(e){var t=e.children,n=e.theme,r=im(),o=ft.useMemo((function(){var e=null===r?n:function(e,t){return"function"==typeof t?t(e):tm({},e,t)}(r,n);return null!=e&&(e[ad]=null!==r),e}),[n,r]);return ft.createElement(om.Provider,{value:o},t)}var zm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var r=t.defaultTheme,o=t.withTheme,i=void 0!==o&&o,a=t.name,l=em(t,["defaultTheme","withTheme","name"]),s=a,u=xm(e,tm({defaultTheme:r,Component:n,name:a||n.displayName,classNamePrefix:s},l)),c=ft.forwardRef((function(e,t){e.classes;var o,l=e.innerRef,s=em(e,["classes","innerRef"]),c=u(tm({},n.defaultProps,e)),f=s;return("string"==typeof a||i)&&(o=im()||r,a&&(f=ud({theme:o,name:a,props:s})),i&&!f.theme&&(f.theme=o)),ft.createElement(n,tm({ref:l||t,classes:c},f))}));return Mm(c,n),c}};function jm(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 Math.min(Math.max(t,e),n)}function Fm(e){if(e.type)return e;if("#"===e.charAt(0))return Fm(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error(Of(3,e));var r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function Bm(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 Um(e){var t="hsl"===(e=Fm(e)).type?Fm(function(e){var t=(e=Fm(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)},l="rgb",s=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",s.push(t[3])),Bm({type:l,values:s})}(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 Hm(e,t){return e=Fm(e),t=jm(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),e.values[3]=t,Bm(e)}function Wm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vm(e,t){if(null==e)return{};var n,r,o=function(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}(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 $m(){return($m=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)}var Km=["xs","sm","md","lg","xl"];function Gm(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,l=Vm(e,["values","unit","step"]);function s(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(o,")")}function u(e,t){var r=Km.indexOf(t);return r===Km.length-1?s(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(o,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[Km[r+1]]?n[Km[r+1]]:t)-a/100).concat(o,")")}return $m({keys:Km,values:n,up:s,down:function(e){var t=Km.indexOf(e)+1,r=n[Km[t]];return t===Km.length?s("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-a/100).concat(o,")")},between:u,only:function(e){return u(e,e)},width:function(e){return n[e]}},l)}function Zm(e,t,n){var r;return $m({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return console.warn(["Material-UI: theme.mixins.gutters() is deprecated.","You can use the source of the mixin directly:","\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join("\n")),$m({paddingLeft:t(2),paddingRight:t(2)},n,Wm({},e.up("sm"),$m({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(r={minHeight:56},Wm(r,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),Wm(r,e.up("sm"),{minHeight:64}),r)},n)}var Xm={black:"#000",white:"#fff"},Qm={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"},Jm={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"},Ym={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"},ev={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},tv={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},nv={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},rv={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},ov={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:Xm.white,default:Qm[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},iv={text:{primary:Xm.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:Qm[800],default:"#303030"},action:{active:Xm.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function av(e,t,n,r){var o=r.light||r,i=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=function(e,t){if(e=Fm(e),t=jm(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 Bm(e)}(e.main,o):"dark"===t&&(e.dark=function(e,t){if(e=Fm(e),t=jm(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 Bm(e)}(e.main,i)))}function lv(e){var t=e.primary,n=void 0===t?{light:Jm[300],main:Jm[500],dark:Jm[700]}:t,r=e.secondary,o=void 0===r?{light:Ym.A200,main:Ym.A400,dark:Ym.A700}:r,i=e.error,a=void 0===i?{light:ev[300],main:ev[500],dark:ev[700]}:i,l=e.warning,s=void 0===l?{light:tv[300],main:tv[500],dark:tv[700]}:l,u=e.info,c=void 0===u?{light:nv[300],main:nv[500],dark:nv[700]}:u,f=e.success,d=void 0===f?{light:rv[300],main:rv[500],dark:rv[700]}:f,p=e.type,h=void 0===p?"light":p,m=e.contrastThreshold,v=void 0===m?3:m,g=e.tonalOffset,y=void 0===g?.2:g,b=Vm(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function x(e){return function(e,t){var n=Um(e),r=Um(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}(e,iv.text.primary)>=v?iv.text.primary:ov.text.primary}var E=function(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;if(!(e=$m({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error(Of(4,t));if("string"!=typeof e.main)throw new Error(Of(5,JSON.stringify(e.main)));return av(e,"light",n,y),av(e,"dark",r,y),e.contrastText||(e.contrastText=x(e.main)),e},w={dark:iv,light:ov};return kf($m({common:Xm,type:h,primary:E(n),secondary:E(o,"A400","A200","A700"),error:E(a),warning:E(s),info:E(c),success:E(d),grey:Qm,contrastThreshold:v,getContrastText:x,augmentColor:E,tonalOffset:y},w[h]),b)}function sv(e){return Math.round(1e5*e)/1e5}function uv(e){return sv(e)}var cv={textTransform:"uppercase"},fv='"Roboto", "Helvetica", "Arial", sans-serif';function dv(e,t){var n="function"==typeof t?t(e):t,r=n.fontFamily,o=void 0===r?fv:r,i=n.fontSize,a=void 0===i?14:i,l=n.fontWeightLight,s=void 0===l?300:l,u=n.fontWeightRegular,c=void 0===u?400:u,f=n.fontWeightMedium,d=void 0===f?500:f,p=n.fontWeightBold,h=void 0===p?700:p,m=n.htmlFontSize,v=void 0===m?16:m,g=n.allVariants,y=n.pxToRem,b=Vm(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]),x=a/14,E=y||function(e){return"".concat(e/v*x,"rem")},w=function(e,t,n,r,i){return $m({fontFamily:o,fontWeight:e,fontSize:E(t),lineHeight:n},o===fv?{letterSpacing:"".concat(sv(r/t),"em")}:{},i,g)},S={h1:w(s,96,1.167,-1.5),h2:w(s,60,1.2,-.5),h3:w(c,48,1.167,0),h4:w(c,34,1.235,.25),h5:w(c,24,1.334,0),h6:w(d,20,1.6,.15),subtitle1:w(c,16,1.75,.15),subtitle2:w(d,14,1.57,.1),body1:w(c,16,1.5,.15),body2:w(c,14,1.43,.15),button:w(d,14,1.75,.4,cv),caption:w(c,12,1.66,.4),overline:w(c,12,2.66,1,cv)};return kf($m({htmlFontSize:v,pxToRem:E,round:uv,fontFamily:o,fontSize:a,fontWeightLight:s,fontWeightRegular:c,fontWeightMedium:d,fontWeightBold:h},S),b,{clone:!1})}function pv(){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 hv=["none",pv(0,2,1,-1,0,1,1,0,0,1,3,0),pv(0,3,1,-2,0,2,2,0,0,1,5,0),pv(0,3,3,-2,0,3,4,0,0,1,8,0),pv(0,2,4,-1,0,4,5,0,0,1,10,0),pv(0,3,5,-1,0,5,8,0,0,1,14,0),pv(0,3,5,-1,0,6,10,0,0,1,18,0),pv(0,4,5,-2,0,7,10,1,0,2,16,1),pv(0,5,5,-3,0,8,10,1,0,3,14,2),pv(0,5,6,-3,0,9,12,1,0,3,16,2),pv(0,6,6,-3,0,10,14,1,0,4,18,3),pv(0,6,7,-4,0,11,15,1,0,4,20,3),pv(0,7,8,-4,0,12,17,2,0,5,22,4),pv(0,7,8,-4,0,13,19,2,0,5,24,4),pv(0,7,9,-4,0,14,21,2,0,5,26,4),pv(0,8,9,-5,0,15,22,2,0,6,28,5),pv(0,8,10,-5,0,16,24,2,0,6,30,5),pv(0,8,11,-5,0,17,26,2,0,6,32,5),pv(0,9,11,-5,0,18,28,2,0,7,34,6),pv(0,9,12,-6,0,19,29,2,0,7,36,6),pv(0,10,13,-6,0,20,31,3,0,8,38,7),pv(0,10,13,-6,0,21,33,3,0,8,40,7),pv(0,10,14,-6,0,22,35,3,0,8,42,7),pv(0,11,14,-7,0,23,36,3,0,9,44,8),pv(0,11,15,-7,0,24,38,3,0,9,46,8)],mv={borderRadius:4};function vv(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)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function gv(){return(gv=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 yv(e){return(yv="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 bv(e){return(bv="function"==typeof Symbol&&"symbol"===yv(Symbol.iterator)?function(e){return yv(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":yv(e)})(e)}function xv(e,t){return t?kf(e,t,{clone:!1}):e}var Ev={xs:0,sm:600,md:960,lg:1280,xl:1920},wv={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(Ev[e],"px)")}};function Sv(e,t,n){if(Array.isArray(t)){var r=e.theme.breakpoints||wv;return t.reduce((function(e,o,i){return e[r.up(r.keys[i])]=n(t[i]),e}),{})}if("object"===bv(t)){var o=e.theme.breakpoints||wv;return Object.keys(t).reduce((function(e,r){return e[o.up(r)]=n(t[r]),e}),{})}return n(t)}function Cv(e,t){return t&&"string"==typeof t?t.split(".").reduce((function(e,t){return e&&e[t]?e[t]:null}),e):null}function kv(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=Cv(e.theme,o)||{};return Sv(e,n,(function(e){var t;return"function"==typeof a?t=a(e):Array.isArray(a)?t=a[e]||e:(t=Cv(a,e)||e,i&&(t=i(t))),!1===r?t:function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},r,t)}))};return a.propTypes={},a.filterProps=[t],a}function Lv(){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?xv(t,r):t}),{})};return r.propTypes={},r.filterProps=t.reduce((function(e,t){return e.concat(t.filterProps)}),[]),r}function Rv(e){return"number"!=typeof e?e:"".concat(e,"px solid")}var Ov=Lv(kv({prop:"border",themeKey:"borders",transform:Rv}),kv({prop:"borderTop",themeKey:"borders",transform:Rv}),kv({prop:"borderRight",themeKey:"borders",transform:Rv}),kv({prop:"borderBottom",themeKey:"borders",transform:Rv}),kv({prop:"borderLeft",themeKey:"borders",transform:Rv}),kv({prop:"borderColor",themeKey:"palette"}),kv({prop:"borderRadius",themeKey:"shape"}));function _v(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}var Iv=Lv(kv({prop:"displayPrint",cssProperty:!1,transform:function(e){return{"@media print":{display:e}}}}),kv({prop:"display"}),kv({prop:"overflow"}),kv({prop:"textOverflow"}),kv({prop:"visibility"}),kv({prop:"whiteSpace"})),Pv=Lv(kv({prop:"flexBasis"}),kv({prop:"flexDirection"}),kv({prop:"flexWrap"}),kv({prop:"justifyContent"}),kv({prop:"alignItems"}),kv({prop:"alignContent"}),kv({prop:"order"}),kv({prop:"flex"}),kv({prop:"flexGrow"}),kv({prop:"flexShrink"}),kv({prop:"alignSelf"}),kv({prop:"justifyItems"}),kv({prop:"justifySelf"})),Tv=Lv(kv({prop:"gridGap"}),kv({prop:"gridColumnGap"}),kv({prop:"gridRowGap"}),kv({prop:"gridColumn"}),kv({prop:"gridRow"}),kv({prop:"gridAutoFlow"}),kv({prop:"gridAutoColumns"}),kv({prop:"gridAutoRows"}),kv({prop:"gridTemplateColumns"}),kv({prop:"gridTemplateRows"}),kv({prop:"gridTemplateAreas"}),kv({prop:"gridArea"})),Nv=Lv(kv({prop:"color",themeKey:"palette"}),kv({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette"})),qv=Lv(kv({prop:"position"}),kv({prop:"zIndex",themeKey:"zIndex"}),kv({prop:"top"}),kv({prop:"right"}),kv({prop:"bottom"}),kv({prop:"left"})),Mv=kv({prop:"boxShadow",themeKey:"shadows"});function Dv(e){return e<=1?"".concat(100*e,"%"):e}var Av=kv({prop:"width",transform:Dv}),zv=kv({prop:"maxWidth",transform:Dv}),jv=kv({prop:"minWidth",transform:Dv}),Fv=kv({prop:"height",transform:Dv}),Bv=kv({prop:"maxHeight",transform:Dv}),Uv=kv({prop:"minHeight",transform:Dv});kv({prop:"size",cssProperty:"width",transform:Dv}),kv({prop:"size",cssProperty:"height",transform:Dv});var Hv=Lv(Av,zv,jv,Fv,Bv,Uv,kv({prop:"boxSizing"}));function Wv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}var Vv={m:"margin",p:"padding"},$v={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Kv={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Gv=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(!Kv[e])return[e];e=Kv[e]}var t=Wv(e.split(""),2),n=t[0],r=t[1],o=Vv[n],i=$v[r]||"";return Array.isArray(i)?i.map((function(e){return o+e})):[o+i]})),Zv=["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 Xv(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(){}}function Qv(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function Jv(e){var t=Xv(e.theme);return Object.keys(e).map((function(n){if(-1===Zv.indexOf(n))return null;var r=Qv(Gv(n),t),o=e[n];return Sv(e,o,r)})).reduce(xv,{})}Jv.propTypes={},Jv.filterProps=Zv;var Yv=Lv(kv({prop:"fontFamily",themeKey:"typography"}),kv({prop:"fontSize",themeKey:"typography"}),kv({prop:"fontStyle",themeKey:"typography"}),kv({prop:"fontWeight",themeKey:"typography"}),kv({prop:"letterSpacing"}),kv({prop:"lineHeight"}),kv({prop:"textAlign"}));function eg(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=Xv({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}var tg={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)"},ng={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function rg(e){return"".concat(Math.round(e),"ms")}var og={easing:tg,duration:ng,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?ng.standard:n,o=t.easing,i=void 0===o?tg.easeInOut:o,a=t.delay,l=void 0===a?0:a;return Vm(t,["duration","easing","delay"]),(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof r?r:rg(r)," ").concat(i," ").concat("string"==typeof l?l:rg(l))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}},ig={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function ag(){for(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,l=e.spacing,s=e.typography,u=void 0===s?{}:s,c=Vm(e,["breakpoints","mixins","palette","spacing","typography"]),f=lv(a),d=Gm(n),p=eg(l),h=kf({breakpoints:d,direction:"ltr",mixins:Zm(d,p,o),overrides:{},palette:f,props:{},shadows:hv,typography:dv(f,u),spacing:p,shape:mv,transitions:og,zIndex:ig},c),m=arguments.length,v=new Array(m>1?m-1:0),g=1;g<m;g++)v[g-1]=arguments[g];return h=v.reduce((function(e,t){return kf(e,t)}),h)}var lg=ag();function sg(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return xm(e,$m({defaultTheme:lg},t))}var ug=function(e){var t=function(e){return function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.name,i=em(r,["name"]),a=o,l=xm("function"==typeof t?function(e){return{root:function(n){return t(tm({theme:e},n))}}}:{root:t},tm({Component:e,name:o||e.displayName,classNamePrefix:a},i));t.filterProps&&(n=t.filterProps,delete t.filterProps),t.propTypes&&delete t.propTypes;var s=ft.forwardRef((function(t,r){var o=t.children,i=t.className,a=t.clone,s=t.component,u=em(t,["children","className","clone","component"]),c=wm(l(t).root,i),f=u;if(n&&(f=Dm(f,n)),a)return ft.cloneElement(o,tm({className:wm(o.props.className,c)},f));if("function"==typeof o)return o(tm({className:c},f));var d=s||e;return ft.createElement(d,tm({ref:r,className:c},f),o)}));return Mm(s,e),s}}(e);return function(e,n){return t(e,$m({defaultTheme:lg},n))}};function cg(){return im()||lg}function fg(e,t){return zm(e,$m({defaultTheme:lg},t))}var dg={typography:{fontSize:14,htmlFontSize:16,fontWeightLight:300,fontWeightRegular:400,fontWeightMedium:600,fontFamily:['"Source Sans Pro"','"Segoe UI"','"Helvetica Neue"',"-apple-system","Arial","sans-serif"].join(","),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,disableTouchRipple:!0,focusRipple:!1}}},pg="#009845",hg="#3F8AB3",mg="#ffffff",vg="#404040",gg="#333333",yg="#1A1A1A",bg={type:"light",palette:{primary:{main:vg,contrastText:mg},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:vg,secondary:"rgba(0, 0, 0, 0.55)",disabled:"rgba(0, 0, 0, 0.3)"},action:{active:vg,hover:"rgba(0, 0, 0, 0.03)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.05)",disabled:"rgba(0, 0, 0, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},background:{paper:mg,default:mg,lightest:mg,lighter:"#FBFBFB",darker:"#F2F2F2",darkest:"#E6E6E6"},custom:{focusBorder:hg,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(255, 255, 255, 1)"},selected:{main:pg,alternative:"#E4E4E4",excluded:"#BEBEBE",mainContrastText:mg,alternativeContrastText:vg,excludedContrastText:vg},btn:{normal:"rgba(255, 255, 255, 0.6)",hover:"rgba(0, 0, 0, 0.03)",active:"rgba(0, 0, 0, 0.1)",disabled:"rgba(255, 255, 255, 0.6)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.15)"}}},xg={type:"dark",palette:{primary:{main:gg,contrastText:mg},secondary:{light:"#0AAF54",main:"#009845",dark:"#006937"},text:{primary:mg,secondary:"rgba(255, 255, 255, 0.6)",disabled:"rgba(255, 255, 255, 0.3)"},action:{active:mg,hover:"rgba(255, 255, 255, 0.05)",hoverOpacity:.08,selected:"rgba(0, 0, 0, 0.03)",disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(0, 0, 0, 0.12)"},divider:"rgba(0,0,0,0.3)",background:{default:"#323232",paper:"#323232",lightest:vg,lighter:gg,darker:"#262626",darkest:yg},custom:{focusBorder:hg,focusOutline:"rgba(70, 157, 205, 0.3)",inputBackground:"rgba(0, 0, 0, 0.2)"},selected:{main:pg,alternative:gg,excluded:yg,mainContrastText:mg,alternativeContrastText:mg,excludedContrastText:mg},btn:{normal:"rgba(255, 255, 255, 0.15)",hover:"rgba(255, 255, 255, 0.25)",active:"rgba(0, 0, 0, 0.6)",disabled:"rgba(255, 255, 255, 0.15)",border:"rgba(0, 0, 0, 0.15)",borderHover:"rgba(0, 0, 0, 0.30)"}}},Eg={},wg=function(e){return{MuiTypography:{root:{color:e.palette.text.primary}},MuiIconButton:{root:{padding:7,borderRadius:2,border:"1px solid transparent","&:focus":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}}},MuiOutlinedInput:{root:{backgroundColor:e.palette.custom.inputBackground,"&:hover $notchedOutline":{borderColor:e.palette.btn.border},"&$focused $notchedOutline":{borderColor:e.palette.custom.focusBorder,borderWidth:2}}},MuiButton:{outlined:{padding:"3px 11px","&$focusVisible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)}},contained:{color:e.palette.text.primary,padding:"3px 11px",border:"1px solid ".concat(e.palette.btn.border),backgroundColor:e.palette.btn.normal,boxShadow:"none","&$focusVisible":{borderColor:e.palette.custom.focusBorder,boxShadow:"0 0 0 2px ".concat(e.palette.custom.focusOutline)},"&:hover":{backgroundColor:e.palette.btn.hover,borderColor:e.palette.btn.borderHover,boxShadow:"none","&$disabled":{backgroundColor:e.palette.btn.disabled}},"&:active":{boxShadow:"none",backgroundColor:e.palette.btn.active},"&$disabled":{backgroundColor:e.palette.btn.disabled}}},MuiExpansionPanelSummary:{content:{margin:"8px 0"}}}};function Sg(e){var t=bg,r="";"string"==typeof e&&(r=e,"light"!==e&&"dark"!==e?console.warn("Invalid theme: '".concat(e,"'")):"dark"===e&&(t=xg));var o=JSON.stringify(t);if(Eg[o])return Eg[o];var i={palette:n(n({type:t.type},dg.palette),t.palette),typography:n({},dg.typography),shadows:dg.shadows,props:n({},dg.props),shape:n({},dg.shape)};return Eg[o]=ag(n(n({},i),{},{overrides:wg(i)})),Eg[o].name=r,Eg[o]}var Cg=ft.createContext({language:null,theme:null,translator:null,constraints:{}}),kg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},n=e,o=[],i={get:function(e){return n[e]},set:function(e,o){if(void 0===e||"object"===r(e))throw new Error("Invalid key: ".concat(JSON.stringify(e)));return n[e]=o,t({type:"SET",value:o}),o},clear:function(e){if(void 0===e||"object"===r(e))throw new Error("Invalid key: ".concat(JSON.stringify(e)));n[e]=null},dispatch:function(e){o.forEach((function(t){return t(e?{}:n)}))}},a=function(){var e=d(Oe.exports.useState(n),2)[1];return Oe.exports.useEffect((function(){return o.push(e),function(){var t=o.indexOf(e);o.splice(t,1)}}),[e]),[i]};return[a,i]},Lg=d(kg({}),2),Rg=Lg[0],Og=Lg[1],_g=d(kg({}),2),Ig=_g[0],Pg=_g[1],Tg=d(kg({}),2),Ng=Tg[0],qg=Tg[1],Mg=d(kg({}),2);Mg[0];var Dg=Mg[1],Ag=d(kg({}),2),zg=Ag[0],jg=Ag[1],Fg=d(kg({}),2)[1],Bg=function(e){var t=e.type,n=e.value,r=Fg.get(n.id);Fg.set(n.id,{});var o=function(){Pg.clear(n.id),jg.set(n.id,{}),jg.dispatch(!0)},i=function(){n.removeListener("changed",o),Og.clear(n.id),Pg.clear(n.id),qg.clear(n.id),Dg.clear(n.id),jg.clear(n.id),Fg.clear(n.id)};switch(t){case"SET":r||(n.on("changed",o),n.once("closed",(function(){i()})))}return i},Ug=d(kg({},Bg),2),Hg=Ug[0],Wg=Ug[1],Vg=function(e){var t=Bg({type:"SET",value:e});return function(){t(),Wg.clear(e.id)}},$g=function(e,t){var r,o=t.rpcResultStore,i=t.key,a=t.method;switch(t.type){case"INVALID":r=n(n({},e),{},{valid:!1,invalid:!0,validating:!0,canCancel:!0,canRetry:!1,rpcRetry:!1});break;case"VALID":r={result:n({},t.result),invalid:!1,valid:!0,validating:!1,canCancel:!1,canRetry:!1,rpcRetry:!1};break;case"CANCELLED":r=n(n({},e),{},{invalid:!0,valid:!1,validating:!1,canCancel:!1,canRetry:!0,rpcRetry:!1});break;default:throw new Error("Undefined action")}var l=o.get(i);return l||(l={}),l[a]=r,o.set(i,l),r};function Kg(e,t){var n,r=e?"".concat(e.id):null,o=d(Rg(),1)[0],a=d(Oe.exports.useReducer($g,r?o.get(r):null),2),l=a[0],s=a[1],u=d(zg(),1)[0],c=d(Ig(),1)[0];r&&((n=c.get(r))||(n={},c.set(r,n)));var f,p=function(){var a=i(regeneratorRuntime.mark((function i(a){var l,u,c;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return(!(l=n[t])||l&&l.rpcRetry)&&(u=e[t](),l={rpc:u,rpcRetry:!1},n[t]=l,s({type:"INVALID",method:t,key:r,model:e,rpcResultStore:o,canCancel:!0})),i.prev=2,i.next=5,l.rpc;case 5:c=i.sent,s({type:"VALID",result:c,key:r,method:t,model:e,rpcResultStore:o}),i.next=12;break;case 9:i.prev=9,i.t0=i.catch(2),15!==i.t0.code||a||(l.rpcRetry||(l.rpcRetry=!0),p(!0));case 12:case"end":return i.stop()}}),i,null,[[2,9]])})));return function(e){return a.apply(this,arguments)}}(),h={cancel:(f=i(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return a=e.session.getObjectApi({handle:-1}),i.next=3,a.cancelRequest(n[t].rpc.requestId);case 3:s({type:"CANCELLED",key:r,method:t,model:e,rpcResultStore:o});case 4:case"end":return i.stop()}}),i)}))),function(){return f.apply(this,arguments)}),retry:function(){n[t].rpcRetry=!0,p()}};return Oe.exports.useEffect((function(){e&&p()}),[e,u.get(e&&e.id),r,t]),[l&&l.result,{validating:l&&l.validating,canCancel:l&&l.canCancel,canRetry:l&&l.canRetry},h]}function Gg(e){return Kg(e,"getLayout")}function Zg(e){return Kg(e,"getAppLayout")}function Xg(e,t){var n,r=t?"".concat(t.id,"/").concat(JSON.stringify(e)):null,o=Hg(),a=d(o,1),l=a[0],s=Ng(),u=d(s,1),c=u[0],f=Oe.exports.useState(),p=d(f,2),h=p[0],m=p[1];r&&(n=c.get(r));for(var v=arguments.length,g=new Array(v>2?v-2:0),y=2;y<v;y++)g[y-2]=arguments[y];return Oe.exports.useEffect((function(){t&&function(){var o=i(regeneratorRuntime.mark((function o(){var i,a;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return n||(i=t.createSessionObject(e),n=i,c.set(r,n)),o.next=3,n;case 3:a=o.sent,l.set(r,a),m(a);case 6:case"end":return o.stop()}}),o)})));return function(){return o.apply(this,arguments)}}()()}),[t].concat(g)),[h]}var Qg={qInfo:{qType:"current-selections"},qSelectionObjectDef:{qStateName:"$"},alternateStates:[]};function Jg(e){return Xg(Qg,e)}function Yg(e){var t=d(Jg(e),1)[0],n=d(Gg(t),1)[0],r=d(Zg(e),1)[0],o=d(Oe.exports.useState(null),2),i=o[0],a=o[1];return Oe.exports.useEffect((function(){r&&t&&n&&function(e,t,n){var r=p(n.qStateNames||[]).map((function(e){return{stateName:e,qSelectionObjectDef:{qStateName:e}}}));(t&&t.alternateStates?t.alternateStates.map((function(e){return e.stateName})):[]).join("::")!==(n.qStateNames||[]).map((function(e){return e})).join("::")&&e.applyPatches([{qOp:"replace",qPath:"/alternateStates",qValue:JSON.stringify(r)}],!0)}(t,n,r)}),[r,t,n]),Oe.exports.useEffect((function(){if(n){var e=!1,t=!1,r=!1;[n].concat(p(n.alternateStates||[])).forEach((function(n){e=e||n.qSelectionObject&&n.qSelectionObject.qBackCount>0,t=t||n.qSelectionObject&&n.qSelectionObject.qForwardCount>0,r=r||(n.qSelectionObject&&n.qSelectionObject.qSelections||[]).filter((function(e){return!0!==e.qLocked})).length>0})),a({canGoBack:e,canGoForward:t,canClear:r})}}),[n]),[i,t,n]}var ey=d(kg({}),2),ty=ey[0];ey[1];var ny=d(kg({}),2),ry=ny[0],oy=ny[1],iy=d(kg({}),2),ay=iy[0],ly=iy[1],sy=d(kg({}),2),uy=sy[0],cy=sy[1];function fy(e){if(!e.session)return[];var t=d(Yg(e),3),n=t[0],r=t[1],o=t[2],a=d(ty(),1)[0],l=e?e.id:null,s=a.get(l);return Oe.exports.useEffect((function(){e&&r&&o&&n&&!s&&(s=function(e){var t=e.app,n=e.currentSelectionsLayout,r=e.navState,o="".concat(t.id),a=function(){var e=i(regeneratorRuntime.mark((function e(){var t,n,r=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=!(r.length>0&&void 0!==r[0])||r[0],!(n=cy.get(o))){e.next=8;break}return e.next=5,n.endSelections(t);case 5:cy.clear(o),ly.get(n.id).emit("deactivated");case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),l={begin:function(){var e=i(regeneratorRuntime.mark((function e(n,r){var l,s,u,c=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l=!(c.length>2&&void 0!==c[2])||c[2],n!==cy.get(o)){e.next=3;break}return e.abrupt("return");case 3:return a(l),cy.set(o,n),s=Array.isArray(r)?r:[r],u=function(){var e=i(regeneratorRuntime.mark((function e(r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,n.beginSelections(s);case 3:cy.set(o,n),e.next=15;break;case 6:if(e.prev=6,e.t0=e.catch(0),6003!==e.t0.code||r){e.next=14;break}return e.next=11,t.abortModal(l);case 11:u(!0),e.next=15;break;case 14:cy.clear(o);case 15:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),e.next=9,u();case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),end:a};return oy.set(o,l),{model:t,isInModal:function(){return!!cy.get(o)},isModal:function(e){return e?cy.get(o)===e:!!cy.get(o)},canGoForward:function(){return r.canGoForward},canGoBack:function(){return r.canGoBack},canClear:function(){return r.canClear},layout:function(){return n},forward:function(){return l.end().then((function(){return t.forward()}))},back:function(){return l.end().then((function(){return t.back()}))},clear:function(){return l.end().then((function(){return t.clearAll()}))},clearField:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"$";return l.end().then((function(){return t.getField(e,n).then((function(e){return e.clear()}))}))}}}({app:e,currentSelectionsLayout:o,navState:n}),a.set(l,s),a.dispatch(!0))}),[e,r,o,n]),[s,n]}var dy=0,py=Oe.exports.forwardRef((function(e,t){var n=e.initialContext,r=d(fy(e.app),1)[0],o=d(Oe.exports.useState(n),2),i=o[0],a=o[1],l=d(Oe.exports.useState(),2),s=l[0],u=l[1],c=Oe.exports.useMemo((function(){return{theme:Sg(s),generator:sd({productionPrefix:"".concat("34e9"),disableGlobal:!0,seed:"njs-".concat(dy++)})}}),[s]),f=c.theme,h=c.generator,m=d(Oe.exports.useState([]),2),v=m[0],g=m[1];return Oe.exports.useImperativeHandle(t,(function(){return{addComponent:function(e){g([].concat(p(v),[e]))},removeComponent:function(e){var t=v.indexOf(e);-1!==t&&(v.splice(t,1),g(p(v)))},setMuiThemeName:u,setContext:a,getAppSelections:function(){return r}}})),ft.createElement(cm,{generateClassName:h},ft.createElement(Am,{theme:f},ft.createElement(Cg.Provider,{value:i},ft.createElement(ft.Fragment,null,v))))}));function hy(e){var t,n=e.app,r=e.context,o=new Promise((function(e){t=e})),a=ft.createRef(),l=document.createElement("div");l.style.display="none",l.setAttribute("data-nebulajs-version","2.2.0"),l.setAttribute("data-app-id",n.id),document.body.appendChild(l),xf.render(ft.createElement(py,{ref:a,app:n,initialContext:r}),l,t);var s,u={};return[{toggleFocusOfCells:function(e){Object.keys(u).forEach((function(t){u[t].current.toggleFocus(t===e)}))},cells:u,addCell:function(e,t){u[e]=t},add:function(e){i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o;case 2:a.current.addComponent(e);case 3:case"end":return t.stop()}}),t)})))()},remove:function(e){i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o;case 2:a.current.removeComponent(e);case 3:case"end":return t.stop()}}),t)})))()},setMuiThemeName:function(e){i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o;case 2:a.current.setMuiThemeName(e);case 3:case"end":return t.stop()}}),t)})))()},context:function(e){i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o;case 2:a.current.setContext(e);case 3:case"end":return t.stop()}}),t)})))()},getAppSelections:(s=i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o;case 2:return e.abrupt("return",a.current.getAppSelections());case 3:case"end":return e.stop()}}),e)}))),function(){return s.apply(this,arguments)})},a,o]}function my(e){if("string"!=typeof e)throw new Error(Of(7));return e.charAt(0).toUpperCase()+e.slice(1)}function vy(){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 gy(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,l=function(){e.apply(a,o)};clearTimeout(t),t=setTimeout(l,n)}return r.clear=function(){clearTimeout(t)},r}function yy(e){return e&&e.ownerDocument||document}function by(e){return yy(e).defaultView||window}function xy(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Ey="undefined"!=typeof window?Oe.exports.useLayoutEffect:Oe.exports.useEffect;function wy(e){var t=Oe.exports.useRef(e);return Ey((function(){t.current=e})),Oe.exports.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}function Sy(e,t){return Oe.exports.useMemo((function(){return null==e&&null==t?null:function(n){xy(e,n),xy(t,n)}}),[e,t])}var Cy=!0,ky=!1,Ly=null,Ry={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 Oy(e){e.metaKey||e.altKey||e.ctrlKey||(Cy=!0)}function _y(){Cy=!1}function Iy(){"hidden"===this.visibilityState&&ky&&(Cy=!0)}function Py(e){var t=e.target;try{return t.matches(":focus-visible")}catch(e){}return Cy||function(e){var t=e.type,n=e.tagName;return!("INPUT"!==n||!Ry[t]||e.readOnly)||"TEXTAREA"===n&&!e.readOnly||!!e.isContentEditable}(t)}function Ty(){ky=!0,window.clearTimeout(Ly),Ly=window.setTimeout((function(){ky=!1}),100)}function Ny(){return{isFocusVisible:Py,onBlurVisible:Ty,ref:Oe.exports.useCallback((function(e){var t,n=dt.exports.findDOMNode(e);null!=n&&((t=n.ownerDocument).addEventListener("keydown",Oy,!0),t.addEventListener("mousedown",_y,!0),t.addEventListener("pointerdown",_y,!0),t.addEventListener("touchstart",_y,!0),t.addEventListener("visibilitychange",Iy,!0))}),[])}}function qy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}()}function My(){return(My=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 Dy(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 Ay(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var zy=!1,jy=ft.createContext(null),Fy="unmounted",By="exited",Uy="entering",Hy="entered",Wy="exiting",Vy=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=By,r.appearStatus=Uy):o=Hy:o=t.unmountOnExit||t.mountOnEnter?Fy:By,r.state={status:o},r.nextCallback=null,r}Ay(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===Fy?{status:By}: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!==Uy&&n!==Hy&&(t=Uy):n!==Uy&&n!==Hy||(t=Wy)}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){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===Uy?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===By&&this.setState({status:Fy})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[xf.findDOMNode(this),r],i=o[0],a=o[1],l=this.getTimeouts(),s=r?l.appear:l.enter;!e&&!n||zy?this.safeSetState({status:Hy},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:Uy},(function(){t.props.onEntering(i,a),t.onTransitionEnd(s,(function(){t.safeSetState({status:Hy},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:xf.findDOMNode(this);t&&!zy?(this.props.onExit(r),this.safeSetState({status:Wy},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:By},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:By},(function(){e.props.onExited(r)}))},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){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:xf.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===Fy)return null;var t=this.props,n=t.children;t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef;var r=Dy(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return ft.createElement(jy.Provider,{value:null},"function"==typeof n?n(e,r):ft.cloneElement(ft.Children.only(n),r))},t}(ft.Component);function $y(){}Vy.contextType=jy,Vy.propTypes={},Vy.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:$y,onEntering:$y,onEntered:$y,onExit:$y,onExiting:$y,onExited:$y},Vy.UNMOUNTED=Fy,Vy.EXITED=By,Vy.ENTERING=Uy,Vy.ENTERED=Hy,Vy.EXITING=Wy;var Ky=Vy;function Gy(e,t){var n=Object.create(null);return e&&Oe.exports.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Oe.exports.isValidElement(e)?t(e):e}(e)})),n}function Zy(e,t,n){return null!=n[t]?n[t]:e.props[t]}function Xy(e,t,n){var r=Gy(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 l={};for(var s in t){if(o[s])for(r=0;r<o[s].length;r++){var u=o[s][r];l[o[s][r]]=n(u)}l[s]=n(s)}for(r=0;r<i.length;r++)l[i[r]]=n(i[r]);return l}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if(Oe.exports.isValidElement(a)){var l=i in t,s=i in r,u=t[i],c=Oe.exports.isValidElement(u)&&!u.props.in;!s||l&&!c?s||!l||c?s&&l&&Oe.exports.isValidElement(u)&&(o[i]=Oe.exports.cloneElement(a,{onExited:n.bind(null,a),in:u.props.in,exit:Zy(a,"exit",e),enter:Zy(a,"enter",e)})):o[i]=Oe.exports.cloneElement(a,{in:!1}):o[i]=Oe.exports.cloneElement(a,{onExited:n.bind(null,a),in:!0,exit:Zy(a,"exit",e),enter:Zy(a,"enter",e)})}})),o}var Qy=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},Jy=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}Ay(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,Gy(n.children,(function(e){return Oe.exports.cloneElement(e,{onExited:r.bind(null,e),in:!0,appear:Zy(e,"appear",n),enter:Zy(e,"enter",n),exit:Zy(e,"exit",n)})}))):Xy(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=Gy(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=My({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=Dy(e,["component","childFactory"]),o=this.state.contextValue,i=Qy(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?ft.createElement(jy.Provider,{value:o},i):ft.createElement(jy.Provider,{value:o},ft.createElement(t,r,i))},t}(ft.Component);Jy.propTypes={},Jy.defaultProps={component:"div",childFactory:function(e){return e}};var Yy=Jy;function eb(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}}var tb=Oe.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.component,i=void 0===o?"div":o,a=e.square,l=void 0!==a&&a,s=e.elevation,u=void 0===s?1:s,c=e.variant,f=void 0===c?"elevation":c,d=Vm(e,["classes","className","component","square","elevation","variant"]);return Oe.exports.createElement(i,$m({className:wm(n.root,r,"outlined"===f?n.outlined:n["elevation".concat(u)],!l&&n.rounded),ref:t},d))})),nb=fg((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),$m({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(tb);function rb(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)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}var ob="undefined"==typeof window?Oe.exports.useEffect:Oe.exports.useLayoutEffect;function ib(e){var t=e.classes,n=e.pulsate,r=void 0!==n&&n,o=e.rippleX,i=e.rippleY,a=e.rippleSize,l=e.in,s=e.onExited,u=void 0===s?function(){}:s,c=e.timeout,f=Oe.exports.useState(!1),d=f[0],p=f[1],h=wm(t.ripple,t.rippleVisible,r&&t.ripplePulsate),m={width:a,height:a,top:-a/2+i,left:-a/2+o},v=wm(t.child,d&&t.childLeaving,r&&t.childPulsate),g=wy(u);return ob((function(){if(!l){p(!0);var e=setTimeout(g,c);return function(){clearTimeout(e)}}}),[g,l,c]),Oe.exports.createElement("span",{className:h,style:m},Oe.exports.createElement("span",{className:v}))}var ab=Oe.exports.forwardRef((function(e,t){var n=e.center,r=void 0!==n&&n,o=e.classes,i=e.className,a=Vm(e,["center","classes","className"]),l=Oe.exports.useState([]),s=l[0],u=l[1],c=Oe.exports.useRef(0),f=Oe.exports.useRef(null);Oe.exports.useEffect((function(){f.current&&(f.current(),f.current=null)}),[s]);var d=Oe.exports.useRef(!1),p=Oe.exports.useRef(null),h=Oe.exports.useRef(null),m=Oe.exports.useRef(null);Oe.exports.useEffect((function(){return function(){clearTimeout(p.current)}}),[]);var v=Oe.exports.useCallback((function(e){var t=e.pulsate,n=e.rippleX,r=e.rippleY,i=e.rippleSize,a=e.cb;u((function(e){return[].concat(rb(e),[Oe.exports.createElement(ib,{key:c.current,classes:o,timeout:550,pulsate:t,rippleX:n,rippleY:r,rippleSize:i})])})),c.current+=1,f.current=a}),[o]),g=Oe.exports.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,l=void 0===a?r||t.pulsate:a,s=t.fakeElement,u=void 0!==s&&s;if("mousedown"===e.type&&d.current)d.current=!1;else{"touchstart"===e.type&&(d.current=!0);var c,f,g,y=u?null:m.current,b=y?y.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(l||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(b.width/2),f=Math.round(b.height/2);else{var x=e.touches?e.touches[0]:e,E=x.clientX,w=x.clientY;c=Math.round(E-b.left),f=Math.round(w-b.top)}if(l)(g=Math.sqrt((2*Math.pow(b.width,2)+Math.pow(b.height,2))/3))%2==0&&(g+=1);else{var S=2*Math.max(Math.abs((y?y.clientWidth:0)-c),c)+2,C=2*Math.max(Math.abs((y?y.clientHeight:0)-f),f)+2;g=Math.sqrt(Math.pow(S,2)+Math.pow(C,2))}e.touches?null===h.current&&(h.current=function(){v({pulsate:i,rippleX:c,rippleY:f,rippleSize:g,cb:n})},p.current=setTimeout((function(){h.current&&(h.current(),h.current=null)}),80)):v({pulsate:i,rippleX:c,rippleY:f,rippleSize:g,cb:n})}}),[r,v]),y=Oe.exports.useCallback((function(){g({},{pulsate:!0})}),[g]),b=Oe.exports.useCallback((function(e,t){if(clearTimeout(p.current),"touchend"===e.type&&h.current)return e.persist(),h.current(),h.current=null,void(p.current=setTimeout((function(){b(e,t)})));h.current=null,u((function(e){return e.length>0?e.slice(1):e})),f.current=t}),[]);return Oe.exports.useImperativeHandle(t,(function(){return{pulsate:y,start:g,stop:b}}),[y,g,b]),Oe.exports.createElement("span",$m({className:wm(o.root,i),ref:m},a),Oe.exports.createElement(Yy,{component:null,exit:!0},s))})),lb=fg((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"})(Oe.exports.memo(ab)),sb=Oe.exports.forwardRef((function(e,t){var n=e.action,r=e.buttonRef,o=e.centerRipple,i=void 0!==o&&o,a=e.children,l=e.classes,s=e.className,u=e.component,c=void 0===u?"button":u,f=e.disabled,d=void 0!==f&&f,p=e.disableRipple,h=void 0!==p&&p,m=e.disableTouchRipple,v=void 0!==m&&m,g=e.focusRipple,y=void 0!==g&&g,b=e.focusVisibleClassName,x=e.onBlur,E=e.onClick,w=e.onFocus,S=e.onFocusVisible,C=e.onKeyDown,k=e.onKeyUp,L=e.onMouseDown,R=e.onMouseLeave,O=e.onMouseUp,_=e.onTouchEnd,I=e.onTouchMove,P=e.onTouchStart,T=e.onDragLeave,N=e.tabIndex,q=void 0===N?0:N,M=e.TouchRippleProps,D=e.type,A=void 0===D?"button":D,z=Vm(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"]),j=Oe.exports.useRef(null);var F=Oe.exports.useRef(null),B=Oe.exports.useState(!1),U=B[0],H=B[1];d&&U&&H(!1);var W=Ny(),V=W.isFocusVisible,$=W.onBlurVisible,K=W.ref;function G(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v;return wy((function(r){return t&&t(r),!n&&F.current&&F.current[e](r),!0}))}Oe.exports.useImperativeHandle(n,(function(){return{focusVisible:function(){H(!0),j.current.focus()}}}),[]),Oe.exports.useEffect((function(){U&&y&&!h&&F.current.pulsate()}),[h,y,U]);var Z=G("start",L),X=G("stop",T),Q=G("stop",O),J=G("stop",(function(e){U&&e.preventDefault(),R&&R(e)})),Y=G("start",P),ee=G("stop",_),te=G("stop",I),ne=G("stop",(function(e){U&&($(e),H(!1)),x&&x(e)}),!1),re=wy((function(e){j.current||(j.current=e.currentTarget),V(e)&&(H(!0),S&&S(e)),w&&w(e)})),oe=function(){var e=dt.exports.findDOMNode(j.current);return c&&"button"!==c&&!("A"===e.tagName&&e.href)},ie=Oe.exports.useRef(!1),ae=wy((function(e){y&&!ie.current&&U&&F.current&&" "===e.key&&(ie.current=!0,e.persist(),F.current.stop(e,(function(){F.current.start(e)}))),e.target===e.currentTarget&&oe()&&" "===e.key&&e.preventDefault(),C&&C(e),e.target===e.currentTarget&&oe()&&"Enter"===e.key&&!d&&(e.preventDefault(),E&&E(e))})),le=wy((function(e){y&&" "===e.key&&F.current&&U&&!e.defaultPrevented&&(ie.current=!1,e.persist(),F.current.stop(e,(function(){F.current.pulsate(e)}))),k&&k(e),E&&e.target===e.currentTarget&&oe()&&" "===e.key&&!e.defaultPrevented&&E(e)})),se=c;"button"===se&&z.href&&(se="a");var ue={};"button"===se?(ue.type=A,ue.disabled=d):("a"===se&&z.href||(ue.role="button"),ue["aria-disabled"]=d);var ce=Sy(r,t),fe=Sy(K,j),de=Sy(ce,fe),pe=Oe.exports.useState(!1),he=pe[0],me=pe[1];Oe.exports.useEffect((function(){me(!0)}),[]);var ve=he&&!h&&!d;return Oe.exports.createElement(se,$m({className:wm(l.root,s,U&&[l.focusVisible,b],d&&l.disabled),onBlur:ne,onClick:E,onFocus:re,onKeyDown:ae,onKeyUp:le,onMouseDown:Z,onMouseLeave:J,onMouseUp:Q,onDragLeave:X,onTouchEnd:ee,onTouchMove:te,onTouchStart:Y,ref:de,tabIndex:d?-1:q},ue,z),a,ve?Oe.exports.createElement(lb,$m({ref:F,center:i},M)):null)})),ub=fg({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"},"@media print":{colorAdjust:"exact"}},disabled:{},focusVisible:{}},{name:"MuiButtonBase"})(sb),cb=Oe.exports.forwardRef((function(e,t){var n=e.edge,r=void 0!==n&&n,o=e.children,i=e.classes,a=e.className,l=e.color,s=void 0===l?"default":l,u=e.disabled,c=void 0!==u&&u,f=e.disableFocusRipple,d=void 0!==f&&f,p=e.size,h=void 0===p?"medium":p,m=Vm(e,["edge","children","classes","className","color","disabled","disableFocusRipple","size"]);return Oe.exports.createElement(ub,$m({className:wm(i.root,a,"default"!==s&&i["color".concat(my(s))],c&&i.disabled,"small"===h&&i["size".concat(my(h))],{start:i.edgeStart,end:i.edgeEnd}[r]),centerRipple:!0,focusRipple:!d,disabled:c,ref:t},m),Oe.exports.createElement("span",{className:i.label},o))})),fb=fg((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:Hm(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:Hm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},colorSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Hm(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"})(cb),db=Oe.exports.forwardRef((function(e,t){var n=e.anchorOrigin,r=void 0===n?{vertical:"top",horizontal:"right"}:n,o=e.badgeContent,i=e.children,a=e.classes,l=e.className,s=e.color,u=void 0===s?"default":s,c=e.component,f=void 0===c?"span":c,d=e.invisible,p=e.max,h=void 0===p?99:p,m=e.overlap,v=void 0===m?"rectangle":m,g=e.showZero,y=void 0!==g&&g,b=e.variant,x=void 0===b?"standard":b,E=Vm(e,["anchorOrigin","badgeContent","children","classes","className","color","component","invisible","max","overlap","showZero","variant"]),w=d;null==d&&(0===o&&!y||null==o&&"dot"!==x)&&(w=!0);var S="";return"dot"!==x&&(S=o>h?"".concat(h,"+"):o),Oe.exports.createElement(f,$m({className:wm(a.root,l),ref:t},E),i,Oe.exports.createElement("span",{className:wm(a.badge,a["".concat(r.horizontal).concat(my(r.vertical),"}")],a["anchorOrigin".concat(my(r.vertical)).concat(my(r.horizontal)).concat(my(v))],"default"!==u&&a["color".concat(my(u))],w&&a.invisible,"dot"===x&&a.dot)},S))})),pb=fg((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,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:{borderRadius:4,height:8,minWidth:8,padding:0},anchorOriginTopRightRectangle:{top:0,right:0,transform:"scale(1) translate(50%, -50%)",transformOrigin:"100% 0%","&$invisible":{transform:"scale(0) translate(50%, -50%)"}},anchorOriginTopRightRectangular:{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%)"}},anchorOriginBottomRightRectangular:{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%)"}},anchorOriginTopLeftRectangular:{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%)"}},anchorOriginBottomLeftRectangular:{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%)"}},anchorOriginTopRightCircular:{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%)"}},anchorOriginBottomRightCircular:{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%)"}},anchorOriginTopLeftCircular:{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%)"}},anchorOriginBottomLeftCircular:{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"})(db),hb=function(e){var t=function(t){var n=e(t);return t.css?gv({},xv(n,e(gv({theme:t.theme},t.css))),_v(t.css,[e.filterProps])):t.sx?gv({},xv(n,e(gv({theme:t.theme},t.sx))),_v(t.sx,[e.filterProps])):n};return t.propTypes={},t.filterProps=["css","sx"].concat(vv(e.filterProps)),t}(Lv(Ov,Iv,Pv,Tv,qv,Nv,Mv,Hv,Jv,Yv)),mb=ug("div")(hb,{name:"MuiBox"}),vb={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p"},gb=Oe.exports.forwardRef((function(e,t){var n=e.align,r=void 0===n?"inherit":n,o=e.classes,i=e.className,a=e.color,l=void 0===a?"initial":a,s=e.component,u=e.display,c=void 0===u?"initial":u,f=e.gutterBottom,d=void 0!==f&&f,p=e.noWrap,h=void 0!==p&&p,m=e.paragraph,v=void 0!==m&&m,g=e.variant,y=void 0===g?"body1":g,b=e.variantMapping,x=void 0===b?vb:b,E=Vm(e,["align","classes","className","color","component","display","gutterBottom","noWrap","paragraph","variant","variantMapping"]),w=s||(v?"p":x[y]||vb[y])||"span";return Oe.exports.createElement(w,$m({className:wm(o.root,i,"inherit"!==y&&o[y],"initial"!==l&&o["color".concat(my(l))],h&&o.noWrap,d&&o.gutterBottom,v&&o.paragraph,"inherit"!==r&&o["align".concat(my(r))],"initial"!==c&&o["display".concat(my(c))]),ref:t},E))})),yb=fg((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"})(gb),bb=Oe.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.color,a=void 0===i?"default":i,l=e.component,s=void 0===l?"button":l,u=e.disabled,c=void 0!==u&&u,f=e.disableElevation,d=void 0!==f&&f,p=e.disableFocusRipple,h=void 0!==p&&p,m=e.endIcon,v=e.focusVisibleClassName,g=e.fullWidth,y=void 0!==g&&g,b=e.size,x=void 0===b?"medium":b,E=e.startIcon,w=e.type,S=void 0===w?"button":w,C=e.variant,k=void 0===C?"text":C,L=Vm(e,["children","classes","className","color","component","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"]),R=E&&Oe.exports.createElement("span",{className:wm(r.startIcon,r["iconSize".concat(my(x))])},E),O=m&&Oe.exports.createElement("span",{className:wm(r.endIcon,r["iconSize".concat(my(x))])},m);return Oe.exports.createElement(ub,$m({className:wm(r.root,r[k],o,"inherit"===a?r.colorInherit:"default"!==a&&r["".concat(k).concat(my(a))],"medium"!==x&&[r["".concat(k,"Size").concat(my(x))],r["size".concat(my(x))]],d&&r.disableElevation,c&&r.disabled,y&&r.fullWidth),component:s,disabled:c,focusRipple:!h,focusVisibleClassName:wm(r.focusVisible,v),ref:t,type:S},L),Oe.exports.createElement("span",{className:r.label},R,n,O))})),xb=fg((function(e){return{root:$m({},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:Hm(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:Hm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},textSecondary:{color:e.palette.secondary.main,"&:hover":{backgroundColor:Hm(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.disabledBackground)}},outlinedPrimary:{color:e.palette.primary.main,border:"1px solid ".concat(Hm(e.palette.primary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.primary.main),backgroundColor:Hm(e.palette.primary.main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},outlinedSecondary:{color:e.palette.secondary.main,border:"1px solid ".concat(Hm(e.palette.secondary.main,.5)),"&:hover":{border:"1px solid ".concat(e.palette.secondary.main),backgroundColor:Hm(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}}},disableElevation:{boxShadow:"none","&:hover":{boxShadow:"none"},"&$focusVisible":{boxShadow:"none"},"&:active":{boxShadow:"none"},"&$disabled":{boxShadow:"none"}},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"})(bb),Eb=Oe.exports.createContext();function wb(){return Oe.exports.useContext(Eb)}var Sb=Eb,Cb=44,kb=Oe.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.color,i=void 0===o?"primary":o,a=e.disableShrink,l=void 0!==a&&a,s=e.size,u=void 0===s?40:s,c=e.style,f=e.thickness,d=void 0===f?3.6:f,p=e.value,h=void 0===p?0:p,m=e.variant,v=void 0===m?"indeterminate":m,g=Vm(e,["classes","className","color","disableShrink","size","style","thickness","value","variant"]),y={},b={},x={};if("determinate"===v||"static"===v){var E=2*Math.PI*((Cb-d)/2);y.strokeDasharray=E.toFixed(3),x["aria-valuenow"]=Math.round(h),y.strokeDashoffset="".concat(((100-h)/100*E).toFixed(3),"px"),b.transform="rotate(-90deg)"}return Oe.exports.createElement("div",$m({className:wm(n.root,r,"inherit"!==i&&n["color".concat(my(i))],{determinate:n.determinate,indeterminate:n.indeterminate,static:n.static}[v]),style:$m({width:u,height:u},b,c),ref:t,role:"progressbar"},x,g),Oe.exports.createElement("svg",{className:n.svg,viewBox:"".concat(22," ").concat(22," ").concat(Cb," ").concat(Cb)},Oe.exports.createElement("circle",{className:wm(n.circle,l&&n.circleDisableShrink,{determinate:n.circleDeterminate,indeterminate:n.circleIndeterminate,static:n.circleStatic}[v]),style:y,cx:Cb,cy:Cb,r:(Cb-d)/2,fill:"none",strokeWidth:d})))})),Lb=fg((function(e){return{root:{display:"inline-block"},static:{transition:e.transitions.create("transform")},indeterminate:{animation:"$circular-rotate 1.4s linear infinite"},determinate:{transition:e.transitions.create("transform")},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"},circleDeterminate:{transition:e.transitions.create("stroke-dashoffset")},"@keyframes circular-rotate":{"0%":{transformOrigin:"50% 50%"},"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})(kb);var Rb="undefined"!=typeof window?Oe.exports.useLayoutEffect:Oe.exports.useEffect,Ob=Oe.exports.forwardRef((function(e,t){var n=e.children,r=e.container,o=e.disablePortal,i=void 0!==o&&o,a=e.onRendered,l=Oe.exports.useState(null),s=l[0],u=l[1],c=Sy(Oe.exports.isValidElement(n)?n.ref:null,t);return Rb((function(){i||u(function(e){return e="function"==typeof e?e():e,dt.exports.findDOMNode(e)}(r)||document.body)}),[r,i]),Rb((function(){if(s&&!i)return xy(t,s),function(){xy(t,null)}}),[t,s,i]),Rb((function(){a&&(s||i)&&a()}),[a,s,i]),i?Oe.exports.isValidElement(n)?Oe.exports.cloneElement(n,{ref:c}):n:s?dt.exports.createPortal(n,s):s}));function _b(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 Ib(){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 Pb(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function Tb(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function Nb(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(rb(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===i.indexOf(e)&&-1===a.indexOf(e.tagName)&&Pb(e,o)}))}function qb(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function Mb(e,t){var n,r=[],o=[],i=e.container;if(!t.disableScrollLock){if(function(e){var t=yy(e);return t.body===e?by(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){var a=Ib();r.push({value:i.style.paddingRight,key:"padding-right",el:i}),i.style["padding-right"]="".concat(Tb(i)+a,"px"),n=yy(i).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){o.push(e.style.paddingRight),e.style.paddingRight="".concat(Tb(e)+a,"px")}))}var l=i.parentElement,s="HTML"===l.nodeName&&"scroll"===window.getComputedStyle(l)["overflow-y"]?l:i;r.push({value:s.style.overflow,key:"overflow",el:s}),s.style.overflow="hidden"}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 Db=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.modals=[],this.containers=[]}var t,n,r;return t=e,(n=[{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&&Pb(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);Nb(t,e.mountNode,e.modalRef,r,!0);var o=qb(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=qb(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=Mb(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=qb(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&&Pb(e.modalRef,!0),Nb(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&&Pb(o.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}])&&_b(t.prototype,n),r&&_b(t,r),e}();function Ab(e){var t=e.children,n=e.disableAutoFocus,r=void 0!==n&&n,o=e.disableEnforceFocus,i=void 0!==o&&o,a=e.disableRestoreFocus,l=void 0!==a&&a,s=e.getDoc,u=e.isEnabled,c=e.open,f=Oe.exports.useRef(),d=Oe.exports.useRef(null),p=Oe.exports.useRef(null),h=Oe.exports.useRef(),m=Oe.exports.useRef(null),v=Oe.exports.useCallback((function(e){m.current=dt.exports.findDOMNode(e)}),[]),g=Sy(t.ref,v),y=Oe.exports.useRef();return Oe.exports.useEffect((function(){y.current=c}),[c]),!y.current&&c&&"undefined"!=typeof window&&(h.current=s().activeElement),Oe.exports.useEffect((function(){if(c){var e=yy(m.current);r||!m.current||m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex",-1),m.current.focus());var t=function(){null!==m.current&&(e.hasFocus()&&!i&&u()&&!f.current?m.current&&!m.current.contains(e.activeElement)&&m.current.focus():f.current=!1)},n=function(t){!i&&u()&&9===t.keyCode&&e.activeElement===m.current&&(f.current=!0,t.shiftKey?p.current.focus():d.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),l||(h.current&&h.current.focus&&h.current.focus(),h.current=null)}}}),[r,i,l,u,c]),Oe.exports.createElement(Oe.exports.Fragment,null,Oe.exports.createElement("div",{tabIndex:0,ref:d,"data-test":"sentinelStart"}),Oe.exports.cloneElement(t,{ref:g}),Oe.exports.createElement("div",{tabIndex:0,ref:p,"data-test":"sentinelEnd"}))}var zb={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},jb=Oe.exports.forwardRef((function(e,t){var n=e.invisible,r=void 0!==n&&n,o=e.open,i=Vm(e,["invisible","open"]);return o?Oe.exports.createElement("div",$m({"aria-hidden":!0,ref:t},i,{style:$m({},zb.root,r?zb.invisible:{},i.style)})):null}));var Fb=new Db,Bb=Oe.exports.forwardRef((function(e,t){var n=im(),r=ud({name:"MuiModal",props:$m({},e),theme:n}),o=r.BackdropComponent,i=void 0===o?jb:o,a=r.BackdropProps,l=r.children,s=r.closeAfterTransition,u=void 0!==s&&s,c=r.container,f=r.disableAutoFocus,d=void 0!==f&&f,p=r.disableBackdropClick,h=void 0!==p&&p,m=r.disableEnforceFocus,v=void 0!==m&&m,g=r.disableEscapeKeyDown,y=void 0!==g&&g,b=r.disablePortal,x=void 0!==b&&b,E=r.disableRestoreFocus,w=void 0!==E&&E,S=r.disableScrollLock,C=void 0!==S&&S,k=r.hideBackdrop,L=void 0!==k&&k,R=r.keepMounted,O=void 0!==R&&R,_=r.manager,I=void 0===_?Fb:_,P=r.onBackdropClick,T=r.onClose,N=r.onEscapeKeyDown,q=r.onRendered,M=r.open,D=Vm(r,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),A=Oe.exports.useState(!0),z=A[0],j=A[1],F=Oe.exports.useRef({}),B=Oe.exports.useRef(null),U=Oe.exports.useRef(null),H=Sy(U,t),W=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(r),V=function(){return yy(B.current)},$=function(){return F.current.modalRef=U.current,F.current.mountNode=B.current,F.current},K=function(){I.mount($(),{disableScrollLock:C}),U.current.scrollTop=0},G=wy((function(){var e=function(e){return e="function"==typeof e?e():e,dt.exports.findDOMNode(e)}(c)||V().body;I.add($(),e),U.current&&K()})),Z=Oe.exports.useCallback((function(){return I.isTopModal($())}),[I]),X=wy((function(e){B.current=e,e&&(q&&q(),M&&Z()?K():Pb(U.current,!0))})),Q=Oe.exports.useCallback((function(){I.remove($())}),[I]);if(Oe.exports.useEffect((function(){return function(){Q()}}),[Q]),Oe.exports.useEffect((function(){M?G():W&&u||Q()}),[M,Q,W,u,G]),!O&&!M&&(!W||z))return null;var J=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:ig}),Y={};return void 0===l.props.tabIndex&&(Y.tabIndex=l.props.tabIndex||"-1"),W&&(Y.onEnter=vy((function(){j(!1)}),l.props.onEnter),Y.onExited=vy((function(){j(!0),u&&Q()}),l.props.onExited)),Oe.exports.createElement(Ob,{ref:X,container:c,disablePortal:x},Oe.exports.createElement("div",$m({ref:H,onKeyDown:function(e){"Escape"===e.key&&Z()&&(N&&N(e),y||(e.stopPropagation(),T&&T(e,"escapeKeyDown")))},role:"presentation"},D,{style:$m({},J.root,!M&&z?J.hidden:{},D.style)}),L?null:Oe.exports.createElement(i,$m({open:M,onClick:function(e){e.target===e.currentTarget&&(P&&P(e),!h&&T&&T(e,"backdropClick"))}},a)),Oe.exports.createElement(Ab,{disableEnforceFocus:v,disableAutoFocus:d,disableRestoreFocus:w,getDoc:V,isEnabled:Z,open:M},Oe.exports.cloneElement(l,Y))))})),Ub=Oe.exports.forwardRef((function(e,t){var n=e.absolute,r=void 0!==n&&n,o=e.classes,i=e.className,a=e.component,l=void 0===a?"hr":a,s=e.flexItem,u=void 0!==s&&s,c=e.light,f=void 0!==c&&c,d=e.orientation,p=void 0===d?"horizontal":d,h=e.role,m=void 0===h?"hr"!==l?"separator":void 0:h,v=e.variant,g=void 0===v?"fullWidth":v,y=Vm(e,["absolute","classes","className","component","flexItem","light","orientation","role","variant"]);return Oe.exports.createElement(l,$m({className:wm(o.root,i,"fullWidth"!==g&&o[g],r&&o.absolute,u&&o.flexItem,f&&o.light,"vertical"===p&&o.vertical),role:m,ref:t},y))})),Hb=fg((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:Hm(e.palette.divider,.08)},middle:{marginLeft:e.spacing(2),marginRight:e.spacing(2)},vertical:{height:"100%",width:1},flexItem:{alignSelf:"stretch",height:"auto"}}}),{name:"MuiDivider"})(Ub);function Wb(e,t){return parseInt(e[t],10)||0}var Vb="undefined"!=typeof window?Oe.exports.useLayoutEffect:Oe.exports.useEffect,$b={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},Kb=Oe.exports.forwardRef((function(e,t){var n=e.onChange,r=e.rows,o=e.rowsMax,i=e.rowsMin,a=e.maxRows,l=e.minRows,s=void 0===l?1:l,u=e.style,c=e.value,f=Vm(e,["onChange","rows","rowsMax","rowsMin","maxRows","minRows","style","value"]),d=a||o,p=r||i||s,h=Oe.exports.useRef(null!=c).current,m=Oe.exports.useRef(null),v=Sy(t,m),g=Oe.exports.useRef(null),y=Oe.exports.useRef(0),b=Oe.exports.useState({}),x=b[0],E=b[1],w=Oe.exports.useCallback((function(){var t=m.current,n=window.getComputedStyle(t),r=g.current;r.style.width=n.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");var o=n["box-sizing"],i=Wb(n,"padding-bottom")+Wb(n,"padding-top"),a=Wb(n,"border-bottom-width")+Wb(n,"border-top-width"),l=r.scrollHeight-i;r.value="x";var s=r.scrollHeight-i,u=l;p&&(u=Math.max(Number(p)*s,u)),d&&(u=Math.min(Number(d)*s,u));var c=(u=Math.max(u,s))+("border-box"===o?i+a:0),f=Math.abs(u-l)<=1;E((function(e){return y.current<20&&(c>0&&Math.abs((e.outerHeightStyle||0)-c)>1||e.overflow!==f)?(y.current+=1,{overflow:f,outerHeightStyle:c}):e}))}),[d,p,e.placeholder]);Oe.exports.useEffect((function(){var e=gy((function(){y.current=0,w()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}),[w]),Vb((function(){w()})),Oe.exports.useEffect((function(){y.current=0}),[c]);return Oe.exports.createElement(Oe.exports.Fragment,null,Oe.exports.createElement("textarea",$m({value:c,onChange:function(e){y.current=0,h||w(),n&&n(e)},ref:v,rows:p,style:$m({height:x.outerHeightStyle,overflow:x.overflow?"hidden":null},u)},f)),Oe.exports.createElement("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:g,tabIndex:-1,style:$m({},$b,u)}))}));function Gb(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}var Zb="undefined"==typeof window?Oe.exports.useEffect:Oe.exports.useLayoutEffect,Xb=Oe.exports.forwardRef((function(e,t){var n=e["aria-describedby"],r=e.autoComplete,o=e.autoFocus,i=e.classes,a=e.className;e.color;var l=e.defaultValue,s=e.disabled,u=e.endAdornment;e.error;var c=e.fullWidth,f=void 0!==c&&c,d=e.id,p=e.inputComponent,h=void 0===p?"input":p,m=e.inputProps,v=void 0===m?{}:m,g=e.inputRef;e.margin;var y=e.multiline,b=void 0!==y&&y,x=e.name,E=e.onBlur,w=e.onChange,S=e.onClick,C=e.onFocus,k=e.onKeyDown,L=e.onKeyUp,R=e.placeholder,O=e.readOnly,_=e.renderSuffix,I=e.rows,P=e.rowsMax,T=e.rowsMin,N=e.maxRows,q=e.minRows,M=e.startAdornment,D=e.type,A=void 0===D?"text":D,z=e.value,j=Vm(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","rowsMin","maxRows","minRows","startAdornment","type","value"]),F=null!=v.value?v.value:z,B=Oe.exports.useRef(null!=F).current,U=Oe.exports.useRef(),H=Oe.exports.useCallback((function(e){}),[]),W=Sy(v.ref,H),V=Sy(g,W),$=Sy(U,V),K=Oe.exports.useState(!1),G=K[0],Z=K[1],X=wb(),Q=function(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}),{})}({props:e,muiFormControl:X,states:["color","disabled","error","hiddenLabel","margin","required","filled"]});Q.focused=X?X.focused:G,Oe.exports.useEffect((function(){!X&&s&&G&&(Z(!1),E&&E())}),[X,s,G,E]);var J=X&&X.onFilled,Y=X&&X.onEmpty,ee=Oe.exports.useCallback((function(e){!function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&(Gb(e.value)&&""!==e.value||t&&Gb(e.defaultValue)&&""!==e.defaultValue)}(e)?Y&&Y():J&&J()}),[J,Y]);Zb((function(){B&&ee({value:F})}),[F,ee,B]);Oe.exports.useEffect((function(){ee(U.current)}),[]);var te=h,ne=$m({},v,{ref:$});"string"!=typeof te?ne=$m({inputRef:$,type:A},ne,{ref:null}):b?!I||N||q||P||T?(ne=$m({minRows:I||q,rowsMax:P,maxRows:N},ne),te=Kb):te="textarea":ne=$m({type:A},ne);return Oe.exports.useEffect((function(){X&&X.setAdornedStart(Boolean(M))}),[X,M]),Oe.exports.createElement("div",$m({className:wm(i.root,i["color".concat(my(Q.color||"primary"))],a,Q.disabled&&i.disabled,Q.error&&i.error,f&&i.fullWidth,Q.focused&&i.focused,X&&i.formControl,b&&i.multiline,M&&i.adornedStart,u&&i.adornedEnd,"dense"===Q.margin&&i.marginDense),onClick:function(e){U.current&&e.currentTarget===e.target&&U.current.focus(),S&&S(e)},ref:t},j),M,Oe.exports.createElement(Sb.Provider,{value:null},Oe.exports.createElement(te,$m({"aria-invalid":Q.error,"aria-describedby":n,autoComplete:r,autoFocus:o,defaultValue:l,disabled:Q.disabled,id:d,onAnimationStart:function(e){ee("mui-auto-fill-cancel"===e.animationName?U.current:{value:"x"})},name:x,placeholder:R,readOnly:O,required:Q.required,rows:I,value:F,onKeyDown:k,onKeyUp:L},ne,{className:wm(i.input,v.className,Q.disabled&&i.disabled,b&&i.inputMultiline,Q.hiddenLabel&&i.inputHiddenLabel,M&&i.inputAdornedStart,u&&i.inputAdornedEnd,"search"===A&&i.inputTypeSearch,"dense"===Q.margin&&i.inputMarginDense),onBlur:function(e){E&&E(e),v.onBlur&&v.onBlur(e),X&&X.onBlur?X.onBlur(e):Z(!1)},onChange:function(e){if(!B){var t=e.target||U.current;if(null==t)throw new Error(Of(1));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)),w&&w.apply(void 0,[e].concat(r))},onFocus:function(e){Q.disabled?e.stopPropagation():(C&&C(e),v.onFocus&&v.onFocus(e),X&&X.onFocus?X.onFocus(e):Z(!0))}}))),u,_?_($m({},Q,{startAdornment:M})):null)})),Qb=fg((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{"@global":{"@keyframes mui-auto-fill":{},"@keyframes mui-auto-fill-cancel":{}},root:$m({},e.typography.body1,{color:e.palette.text.primary,lineHeight:"1.1876em",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",letterSpacing:"inherit",color:"currentColor",padding:"".concat(6,"px 0 ").concat(7,"px"),border:0,boxSizing:"content-box",background:"none",height:"1.1876em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{"-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:"mui-auto-fill"}},inputMarginDense:{paddingTop:3},inputMultiline:{height:"auto",resize:"none",padding:0},inputTypeSearch:{"-moz-appearance":"textfield","-webkit-appearance":"textfield"},inputAdornedStart:{},inputAdornedEnd:{},inputHiddenLabel:{}}}),{name:"MuiInputBase"})(Xb),Jb=[0,1,2,3,4,5,6,7,8,9,10],Yb=["auto",!0,1,2,3,4,5,6,7,8,9,10,11,12];function ex(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 tx=Oe.exports.forwardRef((function(e,t){var n=e.alignContent,r=void 0===n?"stretch":n,o=e.alignItems,i=void 0===o?"stretch":o,a=e.classes,l=e.className,s=e.component,u=void 0===s?"div":s,c=e.container,f=void 0!==c&&c,d=e.direction,p=void 0===d?"row":d,h=e.item,m=void 0!==h&&h,v=e.justify,g=e.justifyContent,y=void 0===g?"flex-start":g,b=e.lg,x=void 0!==b&&b,E=e.md,w=void 0!==E&&E,S=e.sm,C=void 0!==S&&S,k=e.spacing,L=void 0===k?0:k,R=e.wrap,O=void 0===R?"wrap":R,_=e.xl,I=void 0!==_&&_,P=e.xs,T=void 0!==P&&P,N=e.zeroMinWidth,q=void 0!==N&&N,M=Vm(e,["alignContent","alignItems","classes","className","component","container","direction","item","justify","justifyContent","lg","md","sm","spacing","wrap","xl","xs","zeroMinWidth"]),D=wm(a.root,l,f&&[a.container,0!==L&&a["spacing-xs-".concat(String(L))]],m&&a.item,q&&a.zeroMinWidth,"row"!==p&&a["direction-xs-".concat(String(p))],"wrap"!==O&&a["wrap-xs-".concat(String(O))],"stretch"!==i&&a["align-items-xs-".concat(String(i))],"stretch"!==r&&a["align-content-xs-".concat(String(r))],"flex-start"!==(v||y)&&a["justify-content-xs-".concat(String(v||y))],!1!==T&&a["grid-xs-".concat(String(T))],!1!==C&&a["grid-sm-".concat(String(C))],!1!==w&&a["grid-md-".concat(String(w))],!1!==x&&a["grid-lg-".concat(String(x))],!1!==I&&a["grid-xl-".concat(String(I))]);return Oe.exports.createElement(u,$m({className:D,ref:t},M))})),nx=fg((function(e){return $m({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-content-xs-center":{justifyContent:"center"},"justify-content-xs-flex-end":{justifyContent:"flex-end"},"justify-content-xs-space-between":{justifyContent:"space-between"},"justify-content-xs-space-around":{justifyContent:"space-around"},"justify-content-xs-space-evenly":{justifyContent:"space-evenly"}},function(e,t){var n={};return Jb.forEach((function(r){var o=e.spacing(r);0!==o&&(n["spacing-".concat(t,"-").concat(r)]={margin:"-".concat(ex(o,2)),width:"calc(100% + ".concat(ex(o),")"),"& > $item":{padding:ex(o,2)}})})),n}(e,"xs"),e.breakpoints.keys.reduce((function(t,n){return function(e,t,n){var r={};Yb.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?$m(e,r):e[t.breakpoints.up(n)]=r}(t,e,n),t}),{}))}),{name:"MuiGrid"})(tx);function rx(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var ox={entering:{opacity:1,transform:rx(1)},entered:{opacity:1,transform:"none"}},ix=Oe.exports.forwardRef((function(e,t){var n=e.children,r=e.disableStrictModeCompat,o=void 0!==r&&r,i=e.in,a=e.onEnter,l=e.onEntered,s=e.onEntering,u=e.onExit,c=e.onExited,f=e.onExiting,d=e.style,p=e.timeout,h=void 0===p?"auto":p,m=e.TransitionComponent,v=void 0===m?Ky:m,g=Vm(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),y=Oe.exports.useRef(),b=Oe.exports.useRef(),x=cg(),E=x.unstable_strictMode&&!o,w=Oe.exports.useRef(null),S=Sy(n.ref,t),C=Sy(E?w:void 0,S),k=function(e){return function(t,n){if(e){var r=qy(E?[w.current,t]:[t,n],2),o=r[0],i=r[1];void 0===i?e(o):e(o,i)}}},L=k(s),R=k((function(e,t){!function(e){e.scrollTop}(e);var n,r=eb({style:d,timeout:h},{mode:"enter"}),o=r.duration,i=r.delay;"auto"===h?(n=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=n):n=o,e.style.transition=[x.transitions.create("opacity",{duration:n,delay:i}),x.transitions.create("transform",{duration:.666*n,delay:i})].join(","),a&&a(e,t)})),O=k(l),_=k(f),I=k((function(e){var t,n=eb({style:d,timeout:h},{mode:"exit"}),r=n.duration,o=n.delay;"auto"===h?(t=x.transitions.getAutoHeightDuration(e.clientHeight),b.current=t):t=r,e.style.transition=[x.transitions.create("opacity",{duration:t,delay:o}),x.transitions.create("transform",{duration:.666*t,delay:o||.333*t})].join(","),e.style.opacity="0",e.style.transform=rx(.75),u&&u(e)})),P=k(c);return Oe.exports.useEffect((function(){return function(){clearTimeout(y.current)}}),[]),Oe.exports.createElement(v,$m({appear:!0,in:i,nodeRef:E?w:void 0,onEnter:R,onEntered:O,onEntering:L,onExit:I,onExited:P,onExiting:_,addEndListener:function(e,t){var n=E?e:t;"auto"===h&&(y.current=setTimeout(n,b.current||0))},timeout:"auto"===h?null:h},g),(function(e,t){return Oe.exports.cloneElement(n,$m({style:$m({opacity:0,transform:rx(.75),visibility:"exited"!==e||i?void 0:"hidden"},ox[e],d,n.props.style),ref:C},t))}))}));ix.muiSupportAuto=!0;var ax=ix,lx=Oe.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=e.color,i=void 0===o?"inherit":o,a=e.component,l=void 0===a?"span":a,s=e.fontSize,u=void 0===s?"medium":s,c=Vm(e,["classes","className","color","component","fontSize"]);return Oe.exports.createElement(l,$m({className:wm("material-icons",n.root,r,"inherit"!==i&&n["color".concat(my(i))],"default"!==u&&"medium"!==u&&n["fontSize".concat(my(u))]),"aria-hidden":!0,ref:t},c))}));lx.muiName="Icon";var sx=fg((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"})(lx),ux=Oe.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"div":i,l=e.disablePointerEvents,s=void 0!==l&&l,u=e.disableTypography,c=void 0!==u&&u,f=e.position,d=e.variant,p=Vm(e,["children","classes","className","component","disablePointerEvents","disableTypography","position","variant"]),h=wb()||{},m=d;return d&&h.variant,h&&!m&&(m=h.variant),Oe.exports.createElement(Sb.Provider,{value:null},Oe.exports.createElement(a,$m({className:wm(r.root,o,"end"===f?r.positionEnd:r.positionStart,s&&r.disablePointerEvents,h.hiddenLabel&&r.hiddenLabel,"filled"===m&&r.filled,"dense"===h.margin&&r.marginDense),ref:t},p),"string"!=typeof n||c?n:Oe.exports.createElement(yb,{color:"textSecondary"},n)))})),cx=fg({root:{display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap"},filled:{"&$positionStart:not($hiddenLabel)":{marginTop:16}},positionStart:{marginRight:8},positionEnd:{marginLeft:8},disablePointerEvents:{pointerEvents:"none"},hiddenLabel:{},marginDense:{}},{name:"MuiInputAdornment"})(ux),fx=Oe.exports.createContext({}),dx=Oe.exports.forwardRef((function(e,t){var n=e.children,r=e.classes,o=e.className,i=e.component,a=void 0===i?"ul":i,l=e.dense,s=void 0!==l&&l,u=e.disablePadding,c=void 0!==u&&u,f=e.subheader,d=Vm(e,["children","classes","className","component","dense","disablePadding","subheader"]),p=Oe.exports.useMemo((function(){return{dense:s}}),[s]);return Oe.exports.createElement(fx.Provider,{value:p},Oe.exports.createElement(a,$m({className:wm(r.root,o,s&&r.dense,!c&&r.padding,f&&r.subheader),ref:t},d),f,n))})),px=fg({root:{listStyle:"none",margin:0,padding:0,position:"relative"},padding:{paddingTop:8,paddingBottom:8},dense:{},subheader:{paddingTop:0}},{name:"MuiList"})(dx),hx="undefined"==typeof window?Oe.exports.useEffect:Oe.exports.useLayoutEffect,mx=Oe.exports.forwardRef((function(e,t){var n=e.alignItems,r=void 0===n?"center":n,o=e.autoFocus,i=void 0!==o&&o,a=e.button,l=void 0!==a&&a,s=e.children,u=e.classes,c=e.className,f=e.component,d=e.ContainerComponent,p=void 0===d?"li":d,h=e.ContainerProps,m=(h=void 0===h?{}:h).className,v=Vm(h,["className"]),g=e.dense,y=void 0!==g&&g,b=e.disabled,x=void 0!==b&&b,E=e.disableGutters,w=void 0!==E&&E,S=e.divider,C=void 0!==S&&S,k=e.focusVisibleClassName,L=e.selected,R=void 0!==L&&L,O=Vm(e,["alignItems","autoFocus","button","children","classes","className","component","ContainerComponent","ContainerProps","dense","disabled","disableGutters","divider","focusVisibleClassName","selected"]),_=Oe.exports.useContext(fx),I={dense:y||_.dense||!1,alignItems:r},P=Oe.exports.useRef(null);hx((function(){i&&P.current&&P.current.focus()}),[i]);var T,N,q=Oe.exports.Children.toArray(s),M=q.length&&(T=q[q.length-1],N=["ListItemSecondaryAction"],Oe.exports.isValidElement(T)&&-1!==N.indexOf(T.type.muiName)),D=Sy(Oe.exports.useCallback((function(e){P.current=dt.exports.findDOMNode(e)}),[]),t),A=$m({className:wm(u.root,c,I.dense&&u.dense,!w&&u.gutters,C&&u.divider,x&&u.disabled,l&&u.button,"center"!==r&&u.alignItemsFlexStart,M&&u.secondaryAction,R&&u.selected),disabled:x},O),z=f||"li";return l&&(A.component=f||"div",A.focusVisibleClassName=wm(u.focusVisible,k),z=ub),M?(z=A.component||f?z:"div","li"===p&&("li"===z?z="div":"li"===A.component&&(A.component="div")),Oe.exports.createElement(fx.Provider,{value:I},Oe.exports.createElement(p,$m({className:wm(u.container,m),ref:D},v),Oe.exports.createElement(z,A,q),q.pop()))):Oe.exports.createElement(fx.Provider,{value:I},Oe.exports.createElement(z,$m({ref:D},A),q))})),vx=fg((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"})(mx),gx=Oe.exports.forwardRef((function(e,t){var n=e.classes,r=e.className,o=Vm(e,["classes","className"]),i=Oe.exports.useContext(fx);return Oe.exports.createElement("div",$m({className:wm(n.root,r,"flex-start"===i.alignItems&&n.alignItemsFlexStart),ref:t},o))})),yx=fg((function(e){return{root:{minWidth:56,color:e.palette.action.active,flexShrink:0,display:"inline-flex"},alignItemsFlexStart:{marginTop:8}}}),{name:"MuiListItemIcon"})(gx);function bx(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function xx(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function Ex(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function wx(e){return"function"==typeof e?e():e}var Sx=Oe.exports.forwardRef((function(e,t){var n=e.action,r=e.anchorEl,o=e.anchorOrigin,i=void 0===o?{vertical:"top",horizontal:"left"}:o,a=e.anchorPosition,l=e.anchorReference,s=void 0===l?"anchorEl":l,u=e.children,c=e.classes,f=e.className,d=e.container,p=e.elevation,h=void 0===p?8:p,m=e.getContentAnchorEl,v=e.marginThreshold,g=void 0===v?16:v,y=e.onEnter,b=e.onEntered,x=e.onEntering,E=e.onExit,w=e.onExited,S=e.onExiting,C=e.open,k=e.PaperProps,L=void 0===k?{}:k,R=e.transformOrigin,O=void 0===R?{vertical:"top",horizontal:"left"}:R,_=e.TransitionComponent,I=void 0===_?ax:_,P=e.transitionDuration,T=void 0===P?"auto":P,N=e.TransitionProps,q=void 0===N?{}:N,M=Vm(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"]),D=Oe.exports.useRef(),A=Oe.exports.useCallback((function(e){if("anchorPosition"===s)return a;var t=wx(r),n=(t&&1===t.nodeType?t:yy(D.current).body).getBoundingClientRect(),o=0===e?i.vertical:"center";return{top:n.top+bx(n,o),left:n.left+xx(n,i.horizontal)}}),[r,i.horizontal,i.vertical,a,s]),z=Oe.exports.useCallback((function(e){var t=0;if(m&&"anchorEl"===s){var n=m(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}),[i.vertical,s,m]),j=Oe.exports.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:bx(e,O.vertical)+t,horizontal:xx(e,O.horizontal)}}),[O.horizontal,O.vertical]),F=Oe.exports.useCallback((function(e){var t=z(e),n={width:e.offsetWidth,height:e.offsetHeight},o=j(n,t);if("none"===s)return{top:null,left:null,transformOrigin:Ex(o)};var i=A(t),a=i.top-o.vertical,l=i.left-o.horizontal,u=a+n.height,c=l+n.width,f=by(wx(r)),d=f.innerHeight-g,p=f.innerWidth-g;if(a<g){var h=a-g;a-=h,o.vertical+=h}else if(u>d){var m=u-d;a-=m,o.vertical+=m}if(l<g){var v=l-g;l-=v,o.horizontal+=v}else if(c>p){var y=c-p;l-=y,o.horizontal+=y}return{top:"".concat(Math.round(a),"px"),left:"".concat(Math.round(l),"px"),transformOrigin:Ex(o)}}),[r,s,A,z,j,g]),B=Oe.exports.useCallback((function(){var e=D.current;if(e){var t=F(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[F]),U=Oe.exports.useCallback((function(e){D.current=dt.exports.findDOMNode(e)}),[]);Oe.exports.useEffect((function(){C&&B()})),Oe.exports.useImperativeHandle(n,(function(){return C?{updatePosition:function(){B()}}:null}),[C,B]),Oe.exports.useEffect((function(){if(C){var e=gy((function(){B()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[C,B]);var H=T;"auto"!==T||I.muiSupportAuto||(H=void 0);var W=d||(r?yy(wx(r)).body:void 0);return Oe.exports.createElement(Bb,$m({container:W,open:C,ref:t,BackdropProps:{invisible:!0},className:wm(c.root,f)},M),Oe.exports.createElement(I,$m({appear:!0,in:C,onEnter:y,onEntered:b,onExit:E,onExited:w,onExiting:S,timeout:H},q,{onEntering:vy((function(e,t){x&&x(e,t),B()}),q.onEntering)}),Oe.exports.createElement(nb,$m({elevation:h,ref:U},L,{className:wm(c.paper,L.className)}),u)))})),Cx=fg({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(Sx);function kx(e,t,n){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:n?null:e.firstChild}function Lx(e,t,n){return e===t?n?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:n?null:e.lastChild}function Rx(e,t){if(void 0===t)return!0;var n=e.innerText;return void 0===n&&(n=e.textContent),0!==(n=n.trim().toLowerCase()).length&&(t.repeating?n[0]===t.keys[0]:0===n.indexOf(t.keys.join("")))}function Ox(e,t,n,r,o,i){for(var a=!1,l=o(e,t,!!t&&n);l;){if(l===e.firstChild){if(a)return;a=!0}var s=!r&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&Rx(l,i)&&!s)return void l.focus();l=o(e,l,n)}}var _x="undefined"==typeof window?Oe.exports.useEffect:Oe.exports.useLayoutEffect,Ix=Oe.exports.forwardRef((function(e,t){var n=e.actions,r=e.autoFocus,o=void 0!==r&&r,i=e.autoFocusItem,a=void 0!==i&&i,l=e.children,s=e.className,u=e.disabledItemsFocusable,c=void 0!==u&&u,f=e.disableListWrap,d=void 0!==f&&f,p=e.onKeyDown,h=e.variant,m=void 0===h?"selectedMenu":h,v=Vm(e,["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"]),g=Oe.exports.useRef(null),y=Oe.exports.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});_x((function(){o&&g.current.focus()}),[o]),Oe.exports.useImperativeHandle(n,(function(){return{adjustStyleForScrollbar:function(e,t){var n=!g.current.style.width;if(e.clientHeight<g.current.clientHeight&&n){var r="".concat(Ib(),"px");g.current.style["rtl"===t.direction?"paddingLeft":"paddingRight"]=r,g.current.style.width="calc(100% + ".concat(r,")")}return g.current}}}),[]);var b=Sy(Oe.exports.useCallback((function(e){g.current=dt.exports.findDOMNode(e)}),[]),t),x=-1;Oe.exports.Children.forEach(l,(function(e,t){Oe.exports.isValidElement(e)&&(e.props.disabled||("selectedMenu"===m&&e.props.selected||-1===x)&&(x=t))}));var E=Oe.exports.Children.map(l,(function(e,t){if(t===x){var n={};return a&&(n.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===m&&(n.tabIndex=0),Oe.exports.cloneElement(e,n)}return e}));return Oe.exports.createElement(px,$m({role:"menu",ref:b,className:s,onKeyDown:function(e){var t=g.current,n=e.key,r=yy(t).activeElement;if("ArrowDown"===n)e.preventDefault(),Ox(t,r,d,c,kx);else if("ArrowUp"===n)e.preventDefault(),Ox(t,r,d,c,Lx);else if("Home"===n)e.preventDefault(),Ox(t,null,d,c,kx);else if("End"===n)e.preventDefault(),Ox(t,null,d,c,Lx);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 l=r&&!o.repeating&&Rx(r,o);o.previousKeyMatched&&(l||Ox(t,r,!1,c,kx,o))?e.preventDefault():o.previousKeyMatched=!1}p&&p(e)},tabIndex:o?0:-1},v),E)})),Px=Oe.exports.forwardRef((function(e,t){var n,r=e.classes,o=e.className,i=e.component,a=void 0===i?"li":i,l=e.disableGutters,s=void 0!==l&&l,u=e.ListItemClasses,c=e.role,f=void 0===c?"menuitem":c,d=e.selected,p=e.tabIndex,h=Vm(e,["classes","className","component","disableGutters","ListItemClasses","role","selected","tabIndex"]);return e.disabled||(n=void 0!==p?p:-1),Oe.exports.createElement(vx,$m({button:!0,role:f,tabIndex:n,component:a,selected:d,disableGutters:s,classes:$m({dense:r.dense},u),className:wm(r.root,o,d&&r.selected,!s&&r.gutters),ref:t},h))})),Tx=fg((function(e){return{root:$m({},e.typography.body1,Wm({minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",width:"auto",overflow:"hidden",whiteSpace:"nowrap"},e.breakpoints.up("sm"),{minHeight:"auto"})),gutters:{},selected:{},dense:$m({},e.typography.body2,{minHeight:"auto"})}}),{name:"MuiMenuItem"})(Px),Nx=Oe.exports.forwardRef((function(e,t){e.children;var n=e.classes,r=e.className,o=e.label,i=e.labelWidth,a=e.notched,l=e.style,s=Vm(e,["children","classes","className","label","labelWidth","notched","style"]),u="rtl"===cg().direction?"right":"left";if(void 0!==o)return Oe.exports.createElement("fieldset",$m({"aria-hidden":!0,className:wm(n.root,r),ref:t,style:l},s),Oe.exports.createElement("legend",{className:wm(n.legendLabelled,a&&n.legendNotched)},o?Oe.exports.createElement("span",null,o):Oe.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})));var c=i>0?.75*i+8:.01;return Oe.exports.createElement("fieldset",$m({"aria-hidden":!0,style:$m(Wm({},"padding".concat(my(u)),8),l),className:wm(n.root,r),ref:t},s),Oe.exports.createElement("legend",{className:n.legend,style:{width:a?c:.01}},Oe.exports.createElement("span",{dangerouslySetInnerHTML:{__html:"​"}})))})),qx=fg((function(e){return{root:{position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden"},legend:{textAlign:"left",padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})},legendLabelled:{display:"block",width:"auto",textAlign:"left",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),"& > span":{paddingLeft:5,paddingRight:5,display:"inline-block"}},legendNotched:{maxWidth:1e3,transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}}),{name:"PrivateNotchedOutline"})(Nx),Mx=Oe.exports.forwardRef((function(e,t){var n=e.classes,r=e.fullWidth,o=void 0!==r&&r,i=e.inputComponent,a=void 0===i?"input":i,l=e.label,s=e.labelWidth,u=void 0===s?0:s,c=e.multiline,f=void 0!==c&&c,d=e.notched,p=e.type,h=void 0===p?"text":p,m=Vm(e,["classes","fullWidth","inputComponent","label","labelWidth","multiline","notched","type"]);return Oe.exports.createElement(Qb,$m({renderSuffix:function(e){return Oe.exports.createElement(qx,{className:n.notchedOutline,label:l,labelWidth:u,notched:void 0!==d?d:Boolean(e.startAdornment||e.filled||e.focused)})},classes:$m({},n,{root:wm(n.root,n.underline),notchedOutline:null}),fullWidth:o,inputComponent:a,multiline:f,ref:t,type:h},m))}));Mx.muiName="Input";var Dx=fg((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:"light"===e.palette.type?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.type?null:"#fff",caretColor:"light"===e.palette.type?null:"#fff",borderRadius:"inherit"}},inputMarginDense:{paddingTop:10.5,paddingBottom:10.5},inputMultiline:{padding:0},inputAdornedStart:{paddingLeft:0},inputAdornedEnd:{paddingRight:0}}}),{name:"MuiOutlinedInput"})(Mx);function Ax(){var e=d(Oe.exports.useState(),2),t=e[0],n=e[1],r=d(Oe.exports.useState(),2),o=r[0],i=r[1],a=Oe.exports.useCallback((function(e){e&&n(e)}),[]),l=function(){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,a=e.height;i({left:n,top:r,width:o,height:a})};return Oe.exports.useLayoutEffect((function(){if(t){if("function"==typeof ResizeObserver){var e=new ResizeObserver(l);return e.observe(t),function(){e.unobserve(t),e.disconnect(t),e=null}}return l(),window.addEventListener("resize",l),function(){window.removeEventListener("resize",l)}}}),[t]),[a,o,t]}function zx(e){return"large"===e?"20px":"small"===e?"12px":"16px"}function jx(e){var t=e.size,r=e.style,o=void 0===r?{}:r,i=e.viewBox,a=void 0===i?"0 0 16 16":i,l=e.shapes,s=void 0===l?[]:l,u=n({fontSize:zx(t),display:"inline-block",fontStyle:"normal",lineHeight:"0",textAlign:"center",textTransform:"none",verticalAlign:"-.125em",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},o);return ft.createElement("i",{style:u},ft.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:a,fill:"currentColor"},s.map((function(e,t){var n=e.type,r=e.attrs;return ft.createElement(n,c({key:t},r))}))))}var Fx=function(e){return jx(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M9.41421356,8 L11.8890873,5.52512627 C12.065864,5.34834957 12.0305087,4.95944084 11.8183766,4.74730881 L11.2526912,4.18162338 C11.0405592,3.96949135 10.6516504,3.93413601 10.4748737,4.1109127 L8,6.58578644 L5.52512627,4.1109127 C5.34834957,3.93413601 4.95944084,3.96949135 4.74730881,4.18162338 L4.25233406,4.67659813 C3.96949135,4.95944084 3.93413601,5.34834957 4.1109127,5.52512627 L6.58578644,8 L4.1109127,10.4748737 C3.93413601,10.6516504 3.96949135,11.0405592 4.18162338,11.2526912 L4.67659813,11.7476659 C4.95944084,12.0305087 5.34834957,12.065864 5.52512627,11.8890873 L8,9.41421356 L10.4748737,11.8890873 C10.6516504,12.065864 11.0405592,12.0305087 11.2526912,11.8183766 L11.8183766,11.2526912 C12.0305087,11.0405592 12.065864,10.6516504 11.8890873,10.4748737 L9.41421356,8 Z M8,0 C12.4,0 16,3.6 16,8 C16,12.4 12.4,16 8,16 C3.6,16 0,12.4 0,8 C0,3.6 3.6,0 8,0 Z"}}]})}(e))},Bx=function(e){return jx(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{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"}}]})}(e))},Ux=function(e){return jx(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M2.5,7 L11,7 C11.5522847,7 12,7.44771525 12,8 L12,15 C12,15.5522847 11.5522847,16 11,16 L1,16 C0.44771525,16 0,15.5522847 0,15 L0,8 C0,7.44771525 0.44771525,7 1,7 L1,4.98151367 C1,2.23029964 3.23857625,0 6,0 C8.4241995,0 10.4454541,1.71883353 10.9029715,4 L9.34209114,4 C8.9671727,2.54028848 7.9088888,1.5 6,1.5 C3.54860291,1.5 2.5,3.21561511 2.5,5.33193359 L2.5,7 Z"}}]})}(e))};function Hx(){return(Hx=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 Wx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vx(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}function $x(e,t){var n;void 0===t&&(t=Vx);var r,o=[],i=!1;return function(){for(var a=arguments.length,l=new Array(a),s=0;s<a;s++)l[s]=arguments[s];return i&&n===this&&t(l,o)||(r=e.apply(this,l),i=!0,n=this,o=l),r}}var Kx="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Gx(e){cancelAnimationFrame(e.id)}var Zx=null;function Xx(e){if(void 0===e&&(e=!1),null===Zx||e){var t=document.createElement("div"),n=t.style;n.width="50px",n.height="50px",n.overflow="scroll",n.direction="rtl";var r=document.createElement("div"),o=r.style;return o.width="100px",o.height="100px",t.appendChild(r),document.body.appendChild(t),t.scrollLeft>0?Zx="positive-descending":(t.scrollLeft=1,Zx=0===t.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(t),Zx}return Zx}var Qx=function(e,t){return e};function Jx(e){var t,n,r=e.getItemOffset,o=e.getEstimatedTotalSize,i=e.getItemSize,a=e.getOffsetForIndexAndAlignment,l=e.getStartIndexForOffset,s=e.getStopIndexForStartIndex,u=e.initInstanceProps,c=e.shouldResetStyleCacheOnItemSizeChange,f=e.validateProps;return n=t=function(e){var t,n;function d(t){var n;return(n=e.call(this,t)||this)._instanceProps=u(n.props,Wx(Wx(n))),n._outerRef=void 0,n._resetIsScrollingTimeoutId=null,n.state={instance:Wx(Wx(n)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof n.props.initialScrollOffset?n.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},n._callOnItemsRendered=void 0,n._callOnItemsRendered=$x((function(e,t,r,o){return n.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:t,visibleStartIndex:r,visibleStopIndex:o})})),n._callOnScroll=void 0,n._callOnScroll=$x((function(e,t,r){return n.props.onScroll({scrollDirection:e,scrollOffset:t,scrollUpdateWasRequested:r})})),n._getItemStyle=void 0,n._getItemStyle=function(e){var t,o=n.props,a=o.direction,l=o.itemSize,s=o.layout,u=n._getItemStyleCache(c&&l,c&&s,c&&a);if(u.hasOwnProperty(e))t=u[e];else{var f=r(n.props,e,n._instanceProps),d=i(n.props,e,n._instanceProps),p="horizontal"===a||"horizontal"===s,h="rtl"===a,m=p?f:0;u[e]=t={position:"absolute",left:h?void 0:m,right:h?m:void 0,top:p?0:f,height:p?"100%":d,width:p?d:"100%"}}return t},n._getItemStyleCache=void 0,n._getItemStyleCache=$x((function(e,t,n){return{}})),n._onScrollHorizontal=function(e){var t=e.currentTarget,r=t.clientWidth,o=t.scrollLeft,i=t.scrollWidth;n.setState((function(e){if(e.scrollOffset===o)return null;var t=n.props.direction,a=o;if("rtl"===t)switch(Xx()){case"negative":a=-o;break;case"positive-descending":a=i-r-o}return a=Math.max(0,Math.min(a,i-r)),{isScrolling:!0,scrollDirection:e.scrollOffset<o?"forward":"backward",scrollOffset:a,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._onScrollVertical=function(e){var t=e.currentTarget,r=t.clientHeight,o=t.scrollHeight,i=t.scrollTop;n.setState((function(e){if(e.scrollOffset===i)return null;var t=Math.max(0,Math.min(i,o-r));return{isScrolling:!0,scrollDirection:e.scrollOffset<t?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),n._resetIsScrollingDebounced)},n._outerRefSetter=function(e){var t=n.props.outerRef;n._outerRef=e,"function"==typeof t?t(e):null!=t&&"object"==typeof t&&t.hasOwnProperty("current")&&(t.current=e)},n._resetIsScrollingDebounced=function(){var e,t,r,o;null!==n._resetIsScrollingTimeoutId&&Gx(n._resetIsScrollingTimeoutId),n._resetIsScrollingTimeoutId=(e=n._resetIsScrolling,t=150,r=Kx(),o={id:requestAnimationFrame((function n(){Kx()-r>=t?e.call(null):o.id=requestAnimationFrame(n)}))})},n._resetIsScrolling=function(){n._resetIsScrollingTimeoutId=null,n.setState({isScrolling:!1},(function(){n._getItemStyleCache(-1,null)}))},n}n=e,(t=d).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,d.getDerivedStateFromProps=function(e,t){return Yx(e,t),f(e),null};var p=d.prototype;return p.scrollTo=function(e){e=Math.max(0,e),this.setState((function(t){return t.scrollOffset===e?null:{scrollDirection:t.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},p.scrollToItem=function(e,t){void 0===t&&(t="auto");var n=this.props.itemCount,r=this.state.scrollOffset;e=Math.max(0,Math.min(e,n-1)),this.scrollTo(a(this.props,e,t,r,this._instanceProps))},p.componentDidMount=function(){var e=this.props,t=e.direction,n=e.initialScrollOffset,r=e.layout;if("number"==typeof n&&null!=this._outerRef){var o=this._outerRef;"horizontal"===t||"horizontal"===r?o.scrollLeft=n:o.scrollTop=n}this._callPropsCallbacks()},p.componentDidUpdate=function(){var e=this.props,t=e.direction,n=e.layout,r=this.state,o=r.scrollOffset;if(r.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===t||"horizontal"===n)if("rtl"===t)switch(Xx()){case"negative":i.scrollLeft=-o;break;case"positive-ascending":i.scrollLeft=o;break;default:var a=i.clientWidth,l=i.scrollWidth;i.scrollLeft=l-a-o}else i.scrollLeft=o;else i.scrollTop=o}this._callPropsCallbacks()},p.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Gx(this._resetIsScrollingTimeoutId)},p.render=function(){var e=this.props,t=e.children,n=e.className,r=e.direction,i=e.height,a=e.innerRef,l=e.innerElementType,s=e.innerTagName,u=e.itemCount,c=e.itemData,f=e.itemKey,d=void 0===f?Qx:f,p=e.layout,h=e.outerElementType,m=e.outerTagName,v=e.style,g=e.useIsScrolling,y=e.width,b=this.state.isScrolling,x="horizontal"===r||"horizontal"===p,E=x?this._onScrollHorizontal:this._onScrollVertical,w=this._getRangeToRender(),S=w[0],C=w[1],k=[];if(u>0)for(var L=S;L<=C;L++)k.push(Oe.exports.createElement(t,{data:c,key:d(L,c),index:L,isScrolling:g?b:void 0,style:this._getItemStyle(L)}));var R=o(this.props,this._instanceProps);return Oe.exports.createElement(h||m||"div",{className:n,onScroll:E,ref:this._outerRefSetter,style:Hx({position:"relative",height:i,width:y,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:r},v)},Oe.exports.createElement(l||s||"div",{children:k,ref:a,style:{height:x?"100%":R,pointerEvents:b?"none":void 0,width:x?R:"100%"}}))},p._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),t=e[0],n=e[1],r=e[2],o=e[3];this._callOnItemsRendered(t,n,r,o)}if("function"==typeof this.props.onScroll){var i=this.state,a=i.scrollDirection,l=i.scrollOffset,s=i.scrollUpdateWasRequested;this._callOnScroll(a,l,s)}},p._getRangeToRender=function(){var e=this.props,t=e.itemCount,n=e.overscanCount,r=this.state,o=r.isScrolling,i=r.scrollDirection,a=r.scrollOffset;if(0===t)return[0,0,0,0];var u=l(this.props,a,this._instanceProps),c=s(this.props,u,a,this._instanceProps),f=o&&"backward"!==i?1:Math.max(1,n),d=o&&"forward"!==i?1:Math.max(1,n);return[Math.max(0,u-f),Math.max(0,Math.min(t-1,c+d)),u,c]},d}(Oe.exports.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var Yx=function(e,t){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,t.instance},eE=Jx({getItemOffset:function(e,t){return t*e.itemSize},getItemSize:function(e,t){return e.itemSize},getEstimatedTotalSize:function(e){var t=e.itemCount;return e.itemSize*t},getOffsetForIndexAndAlignment:function(e,t,n,r){var o=e.direction,i=e.height,a=e.itemCount,l=e.itemSize,s=e.layout,u=e.width,c="horizontal"===o||"horizontal"===s?u:i,f=Math.max(0,a*l-c),d=Math.min(f,t*l),p=Math.max(0,t*l-c+l);switch("smart"===n&&(n=r>=p-c&&r<=d+c?"auto":"center"),n){case"start":return d;case"end":return p;case"center":var h=Math.round(p+(d-p)/2);return h<Math.ceil(c/2)?0:h>f+Math.floor(c/2)?f:h;case"auto":default:return r>=p&&r<=d?r:r<p?p:d}},getStartIndexForOffset:function(e,t){var n=e.itemCount,r=e.itemSize;return Math.max(0,Math.min(n-1,Math.floor(t/r)))},getStopIndexForStartIndex:function(e,t,n){var r=e.direction,o=e.height,i=e.itemCount,a=e.itemSize,l=e.layout,s=e.width,u=t*a,c="horizontal"===r||"horizontal"===l?s:o,f=Math.ceil((c+n-u)/a);return Math.max(0,Math.min(i-1,t+f-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});var tE=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},nE=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}}(),rE=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},oE=function(e){function t(){var e,n,r;tE(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=rE(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r._lastRenderedStartIndex=-1,r._lastRenderedStopIndex=-1,r._memoizedUnloadedRanges=[],r._onItemsRendered=function(e){var t=e.visibleStartIndex,n=e.visibleStopIndex;r._lastRenderedStartIndex=t,r._lastRenderedStopIndex=n,r._ensureRowsLoaded(t,n)},r._setRef=function(e){r._listRef=e},rE(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),nE(t,[{key:"resetloadMoreItemsCache",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this._memoizedUnloadedRanges=[],e&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){return(0,this.props.children)({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(e,t){var n=this.props,r=n.isItemLoaded,o=n.itemCount,i=n.minimumBatchSize,a=void 0===i?10:i,l=n.threshold,s=void 0===l?15:l,u=function(e){for(var t=e.isItemLoaded,n=e.itemCount,r=e.minimumBatchSize,o=e.startIndex,i=e.stopIndex,a=[],l=null,s=null,u=o;u<=i;u++)t(u)?null!==s&&(a.push(l,s),l=s=null):(s=u,null===l&&(l=u));if(null!==s){for(var c=Math.min(Math.max(s,l+r-1),n-1),f=s+1;f<=c&&!t(f);f++)s=f;a.push(l,s)}if(a.length)for(;a[1]-a[0]+1<r&&a[0]>0;){var d=a[0]-1;if(t(d))break;a[0]=d}return a}({isItemLoaded:r,itemCount:o,minimumBatchSize:a,startIndex:Math.max(0,e-s),stopIndex:Math.min(o-1,t+s)});(this._memoizedUnloadedRanges.length!==u.length||this._memoizedUnloadedRanges.some((function(e,t){return u[t]!==e})))&&(this._memoizedUnloadedRanges=u,this._loadUnloadedRanges(u))}},{key:"_loadUnloadedRanges",value:function(e){for(var t=this,n=this.props.loadMoreItems||this.props.loadMoreRows,r=function(r){var o=e[r],i=e[r+1],a=n(o,i);null!=a&&a.then((function(){if(function(e){var t=e.lastRenderedStartIndex,n=e.lastRenderedStopIndex,r=e.startIndex,o=e.stopIndex;return!(r>n||o<t)}({lastRenderedStartIndex:t._lastRenderedStartIndex,lastRenderedStopIndex:t._lastRenderedStopIndex,startIndex:o,stopIndex:i})){if(null==t._listRef)return;"function"==typeof t._listRef.resetAfterIndex?t._listRef.resetAfterIndex(o,!0):("function"==typeof t._listRef._getItemStyleCache&&t._listRef._getItemStyleCache(-1),t._listRef.forceUpdate())}}))},o=0;o<e.length;o+=2)r(o)}}]),t}(Oe.exports.PureComponent),iE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,10 L13,3 L15,5 L8,12 L6,14 L1,9 L3,7 L6,10 Z"}}]})},aE=function(e){return jx(iE(e))},lE=xm((function(e){return{row:{flexWrap:"nowrap",borderBottom:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}}}));function sE(e){var t,n=e.index,r=e.style,o=e.data,i=lE(),a=[i.row],l="",s=o.onClick,u=o.pages;if(u){var c=u.filter((function(e){return e.qArea.qTop<=n&&n<e.qArea.qTop+e.qArea.qHeight}))[0];if(c){var f=c.qArea;if(n>=f.qTop&&n<f.qTop+f.qHeight)t=d(c.qMatrix[n-f.qTop],1)[0]}}var p=!1,h=!1;t&&(l=t.qText,p="L"===t.qState||"XL"===t.qState,h="S"===t.qState||"XS"===t.qState,"S"===t.qState||"L"===t.qState?a.push(i.S):"A"===t.qState?a.push(i.A):"X"!==t.qState&&"XS"!==t.qState&&"XL"!==t.qState||a.push(i.X));var m=t&&t.qHighlightRanges&&t.qHighlightRanges.qRanges.sort((function(e,t){return e.qCharPos-t.qCharPos}))||[],v=m.reduce((function(e,t,n){t.qCharPos>0&&0===n&&e.push([l.slice(0,t.qCharPos)]);var r=m[n-1];return r&&e.push([l.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([l.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===m.length-1&&t.qCharPos+t.qCharCount<l.length&&e.push([l.slice(t.qCharPos+t.qCharCount)]),e}),[]);return ft.createElement(nx,{container:!0,spacing:0,className:a.join(" ").trim(),style:r,onClick:s,role:"row",tabIndex:0,"data-n":t&&t.qElemNumber},ft.createElement(nx,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(l)},0===m.length?ft.createElement(yb,{component:"span",noWrap:!0,color:"inherit"},"".concat(l)):v.map((function(e,t){var n=d(e,2),r=n[0],o=n[1];return ft.createElement(yb,{component:"span",key:t,className:o,noWrap:!0},r)}))),ft.createElement(nx,{item:!0,className:i.icon},p&&ft.createElement(Bx,{size:"small"}),h&&ft.createElement(aE,{size:"small"})))}var uE=xm((function(e){return{column:{flexWrap:"nowrap",borderRight:"1px solid ".concat(e.palette.divider),"&:focus":{boxShadow:"inset 0 0 0 2px ".concat(e.palette.custom.focusOutline),outline:"none"}},cell:{padding:"8px","& span":{whiteSpace:"nowrap",fontSize:"12px",lineHeight:"16px"},overflow:"hidden",textOverflow:"ellipsis"},icon:{padding:e.spacing(1)},S:{background:e.palette.selected.main,color:e.palette.selected.mainContrastText,"&:focus":{boxShadow:"inset 0 0 0 2px rgba(0, 0, 0, 0.3)",outline:"none"}},A:{background:e.palette.selected.alternative,color:e.palette.selected.alternativeContrastText},X:{background:e.palette.selected.excluded,color:e.palette.selected.excludedContrastText},highlighted:{backgroundColor:"#FFC72A"}}}));function cE(e){var t,n=e.index,r=e.style,o=e.data,i=uE(),a=[i.column],l="",s=o.onClick,u=o.pages;if(u){var c=u.filter((function(e){return e.qArea.qTop<=n&&n<e.qArea.qTop+e.qArea.qHeight}))[0];if(c){var f=c.qArea;if(n>=f.qTop&&n<f.qTop+f.qHeight)t=d(c.qMatrix[n-f.qTop],1)[0]}}var p=!1,h=!1;t&&(l=t.qText,p="L"===t.qState||"XL"===t.qState,h="S"===t.qState||"XS"===t.qState,"S"===t.qState||"L"===t.qState?a.push(i.S):"A"===t.qState?a.push(i.A):"X"!==t.qState&&"XS"!==t.qState&&"XL"!==t.qState||a.push(i.X));var m=t&&t.qHighlightRanges&&t.qHighlightRanges.qRanges.sort((function(e,t){return e.qCharPos-t.qCharPos}))||[],v=m.reduce((function(e,t,n){t.qCharPos>0&&0===n&&e.push([l.slice(0,t.qCharPos)]);var r=m[n-1];return r&&e.push([l.slice(r.qCharPos+r.qCharPos+1,t.qCharPos)]),e.push([l.slice(t.qCharPos,t.qCharPos+t.qCharCount),i.highlighted]),n===m.length-1&&t.qCharPos+t.qCharCount<l.length&&e.push([l.slice(t.qCharPos+t.qCharCount)]),e}),[]);return ft.createElement(nx,{container:!0,spacing:0,className:a.join(" ").trim(),style:r,onClick:s,alignItems:"center",role:"row",tabIndex:0,"data-n":t&&t.qElemNumber},ft.createElement(nx,{item:!0,style:{minWidth:0,flexGrow:1},className:i.cell,title:"".concat(l)},0===m.length?ft.createElement(yb,{component:"span",noWrap:!0,color:"inherit"},"".concat(l)):v.map((function(e,t){var n=d(e,2),r=n[0],o=n[1];return ft.createElement(yb,{component:"span",key:t,className:o,noWrap:!0},r)}))),ft.createElement(nx,{item:!0,className:i.icon},p&&ft.createElement(Bx,{size:"small"}),h&&ft.createElement(aE,{size:"small"})))}function fE(e){var t=e.model,n=e.selections,r=e.direction,o=e.height,i=e.width,a=e.listLayout,l=void 0===a?"vertical":a,s=d(Gg(t),1)[0],u=d(Oe.exports.useState(null),2),c=u[0],f=u[1],p=Oe.exports.useRef(null),h=Oe.exports.useRef({queue:[],validPages:!1}),m=Oe.exports.useRef({pages:[]}),v=Oe.exports.useCallback((function(e){if(!s||!s.qListObject.qDimensionInfo.qLocked){var t=+e.currentTarget.getAttribute("data-n");Number.isNaN(t)||n.select({method:"selectListObjectValues",params:["/qListObjectDef",[t],!s.qListObject.qDimensionInfo.qIsOneAndOnlyOne]})}}),[t,s&&!!s.qListObject.qDimensionInfo.qLocked,s&&!!s.qListObject.qDimensionInfo.qIsOneAndOnlyOne]),g=Oe.exports.useCallback((function(e){if(!c||!h.current.validPages)return!1;h.current.checkIdx=e;var t=c.filter((function(t){return t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight}))[0];return t&&t.qArea.qTop<=e&&e<t.qArea.qTop+t.qArea.qHeight}),[s,c]),y=Oe.exports.useCallback((function(e,n){h.current.queue.push({start:e,stop:n});var r=!!p.current&&p.current._listRef.state.isScrolling;return h.current.queue.length>10&&h.current.queue.shift(),clearTimeout(h.current.timeout),new Promise((function(e){h.current.timeout=setTimeout((function(){var n=h.current.queue.slice(-2).sort((function(e,t){return e.start-t.start}));t.getListObjectData("/qListObjectDef",n.map((function(e){return{qTop:e.start,qHeight:e.stop-e.start+1,qLeft:0,qWidth:1}}))).then((function(t){h.current.validPages=!0,m.current.pages=t,f(t),e()}))}),r?500:0)}))}),[s]);if(Oe.exports.useEffect((function(){if(h.current.queue=[],h.current.validPages=!1,p.current){if(p.current.resetloadMoreItemsCache(!0),s&&s.qSelectionInfo.qInSelections)return;p.current._listRef.scrollToItem(0)}}),[s]),!s)return null;var b="horizontal"!==l,x=s.qListObject.qSize.qcy,E=b?33:200,w=o||8*E;return ft.createElement(oE,{isItemLoaded:g,itemCount:x,loadMoreItems:y,threshold:0,minimumBatchSize:100,ref:p},(function(e){var t=e.onItemsRendered,n=e.ref;return h.current.listRef=n,ft.createElement(eE,{direction:r,useIsScrolling:!0,style:{},height:w,width:i,itemCount:x,layout:l,itemData:{onClick:v,pages:c},itemSize:E,onItemsRendered:t,ref:n},b?sE:cE)}))}var dE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M15.4,9 C15.8,9 16,9.3 16,9.6 L16,15.4 C16,15.7 15.8,16 15.4,16 L9.6,16 C9.3,16 9,15.8 9,15.4 L9,9.6 C9,9.3 9.3,9 9.6,9 L15.4,9 Z M15,10 L10,10 L10,15 L15,15 L15,10 Z M6.5,0 C6.8,0 7,0.3 7,0.6 L7,6.4 C7,6.8 6.8,7 6.5,7 L0.6,7 C0.3,7 0,6.8 0,6.5 L0,0.6 C0,0.3 0.3,0 0.6,0 L6.5,0 Z M6,2.8 C6.3,2.5 6.3,2.1 6.1,1.8 C5.9,1.5 5.4,1.6 5.1,1.9 L3.1,3.9 L2.4,3.2 C2.1,2.9 1.7,2.9 1.4,3.1 C1.2,3.3 1.2,3.8 1.5,4.1 L2.7,5.3 C3,5.6 3.4,5.6 3.7,5.3 L3.8,5.3 L6,2.8 Z M6.5,9 C6.8,9 7,9.3 7,9.6 L7,15.4 C7,15.8 6.8,16 6.5,16 L0.6,16 C0.3,16 0,15.8 0,15.4 L0,9.6 C0,9.3 0.3,9 0.6,9 L6.5,9 Z M6,11.8 C6.3,11.5 6.3,11.1 6.1,10.8 C5.9,10.6 5.4,10.6 5.1,10.8 L3.1,12.8 L2.3,12 C2,11.7 1.6,11.7 1.3,12 C1.1,12.3 1.1,12.7 1.4,13 L2.6,14.2 C2.9,14.5 3.3,14.5 3.6,14.3 L3.7,14.2 L6,11.8 Z M15.4,0 C15.8,0 16,0.3 16,0.6 L16,6.4 C16,6.8 15.8,7 15.4,7 L9.6,7 C9.3,7 9,6.8 9,6.5 L9,0.6 C9,0.3 9.3,0 9.6,0 L15.4,0 Z M15,2.8 C15.3,2.5 15.3,2.1 15.1,1.8 C14.9,1.5 14.4,1.6 14.1,1.9 L12.1,3.9 L11.3,3.1 C11,2.8 10.6,2.8 10.3,3 C10,3.2 10.1,3.7 10.3,4 L11.5,5.2 C11.8,5.5 12.2,5.5 12.5,5.2 L15,2.8 Z"}}]})},pE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},hE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,4 L4,12 L12,12 L12,4 L4,4 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},mE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M4,3 L12,3 C12.5522847,3 13,3.44771525 13,4 L13,12 C13,12.5522847 12.5522847,13 12,13 L4,13 C3.44771525,13 3,12.5522847 3,12 L3,4 C3,3.44771525 3.44771525,3 4,3 Z"}}]})},vE=function(e){var t=e.layout,n=e.model,r=e.translator;return[{key:"selectAll",type:"menu-icon-button",label:r.get("Selection.SelectAll"),getSvgIconShape:dE,enabled:function(){return["qOption","qAlternative","qExcluded","qDeselected"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectAll("/qListObjectDef")}},{key:"selectPossible",type:"menu-icon-button",label:r.get("Selection.SelectPossible"),getSvgIconShape:hE,enabled:function(){return["qOption"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectPossible("/qListObjectDef")}},{key:"selectAlternative",type:"menu-icon-button",label:r.get("Selection.SelectAlternative"),getSvgIconShape:pE,enabled:function(){return["qAlternative"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectAlternative("/qListObjectDef")}},{key:"selectExcluded",type:"menu-icon-button",label:r.get("Selection.SelectExcluded"),getSvgIconShape:mE,enabled:function(){return["qAlternative","qExcluded"].some((function(e){return t.qListObject.qDimensionInfo.qStateCounts[e]>0}))},action:function(){n.selectListObjectExcluded("/qListObjectDef")}}]},gE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M2,6.5 L3,6.5 C3.55228475,6.5 4,6.94771525 4,7.5 L4,8.5 C4,9.05228475 3.55228475,9.5 3,9.5 L2,9.5 C1.44771525,9.5 1,9.05228475 1,8.5 L1,7.5 C1,6.94771525 1.44771525,6.5 2,6.5 Z M7.5,6.5 L8.5,6.5 C9.05228475,6.5 9.5,6.94771525 9.5,7.5 L9.5,8.5 C9.5,9.05228475 9.05228475,9.5 8.5,9.5 L7.5,9.5 C6.94771525,9.5 6.5,9.05228475 6.5,8.5 L6.5,7.5 C6.5,6.94771525 6.94771525,6.5 7.5,6.5 Z M13,6.5 L14,6.5 C14.5522847,6.5 15,6.94771525 15,7.5 L15,8.5 C15,9.05228475 14.5522847,9.5 14,9.5 L13,9.5 C12.4477153,9.5 12,9.05228475 12,8.5 L12,7.5 C12,6.94771525 12.4477153,6.5 13,6.5 Z"}}]})};function yE(e){var t=im(),n="function"==typeof e.enabled?!e.enabled():!!e.disabled,r="function"==typeof e.getSvgIconShape;return{hidden:!0===e.hidden,disabled:n,style:{backgroundColor:e.active?t.palette.btn.active:void 0},hasSvgIconShape:r}}var bE="njs-cell-action",xE=ft.forwardRef((function(e,t){var n=e.item,r=e.addAnchor,o=void 0!==r&&r,i=im(),a=yE(n),l=a.hidden,s=a.disabled,u=a.style,c=a.hasSvgIconShape;return l?null:ft.createElement(fb,{ref:o?null:t,title:n.label,onClick:n.action,onKeyDown:function(e){return["Enter"," ","Spacebar"].includes(e.key)&&n.keyboardAction()},disabled:s,style:u,className:bE},c&&jx(n.getSvgIconShape()),o&&ft.createElement("div",{ref:t,style:{bottom:-i.spacing(.5),right:0,position:"absolute",width:"100%",height:0}}))})),EE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M9.34535242,8 L13.3273238,11.9819714 C13.6988326,12.3534802 13.6988326,12.955815 13.3273238,13.3273238 C12.955815,13.6988326 12.3534802,13.6988326 11.9819714,13.3273238 L8,9.34535242 L4.01802863,13.3273238 C3.64651982,13.6988326 3.04418502,13.6988326 2.67267621,13.3273238 C2.3011674,12.955815 2.3011674,12.3534802 2.67267621,11.9819714 L6.65464758,8 L2.67267621,4.01802863 C2.3011674,3.64651982 2.3011674,3.04418502 2.67267621,2.67267621 C3.04418502,2.3011674 3.64651982,2.3011674 4.01802863,2.67267621 L8,6.65464758 L11.9819714,2.67267621 C12.3534802,2.3011674 12.955815,2.3011674 13.3273238,2.67267621 C13.6988326,3.04418502 13.6988326,3.64651982 13.3273238,4.01802863 L9.34535242,8 Z"}}]})},wE=function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M9.1661442,6.1661442 C10.7210031,4.61128527 13.2789969,4.61128527 14.8338558,6.1661442 C16.3887147,7.72100313 16.3887147,10.2789969 14.8338558,11.8338558 C13.2789969,13.3887147 10.7210031,13.3887147 9.1661442,11.8338558 C7.61128527,10.2789969 7.61128527,7.77115987 9.1661442,6.1661442 Z M14.1316614,7.72100313 C14.3322884,7.52037618 14.3824451,7.169279 14.1316614,6.9184953 C13.8808777,6.6677116 13.5297806,6.71786834 13.3291536,6.9184953 L12.0250784,8.22257053 L10.7210031,6.9184953 C10.5203762,6.6677116 10.1191223,6.6677116 9.9184953,6.9184953 C9.6677116,7.11912226 9.6677116,7.52037618 9.9184953,7.72100313 L11.2225705,9.02507837 L9.9184953,10.3291536 C9.6677116,10.5297806 9.6677116,10.8808777 9.9184953,11.1316614 C10.169279,11.3824451 10.5203762,11.3824451 10.7210031,11.1316614 L12.0250784,9.82758621 L13.3291536,11.1316614 C13.5297806,11.3824451 13.8808777,11.3824451 14.1316614,11.1316614 C14.3322884,10.9310345 14.3824451,10.5297806 14.1316614,10.3291536 L12.8275862,9.02507837 L14.1316614,7.72100313 Z"}}]})},SE=function(e){return jx(wE(e))};var CE=sg((function(e){return{icon:{color:e.palette.text.primary}}})),kE=function(e){var t=e.item,n=e.onActionClick,r=void 0===n?function(){}:n,o=yE(t),i=o.hidden,a=o.disabled,l=o.hasSvgIconShape,s=CE().icon;return i?null:ft.createElement(Tx,{title:t.label,onClick:function(){t.action(),r()},disabled:a},l&&ft.createElement(yx,{className:s},jx(t.getSvgIconShape())),ft.createElement(yb,{noWrap:!0},t.label))},LE=ft.forwardRef((function(e,t){var r=e.actions,o=void 0===r?[]:r,i=e.show,a=void 0===i||i,l=e.alignTo,s=e.popoverProps,u=void 0===s?{}:s,f=e.popoverPaperStyle,d=void 0===f?{}:f,p=e.onCloseOrActionClick,h=void 0===p?function(){}:p;return o.length>0&&ft.createElement(Cx,c({},u,{onClose:h,ref:t,open:a,anchorEl:l.current,getContentAnchorEl:null,container:l.current,disablePortal:!0,hideBackdrop:!0,style:{pointerEvents:"none"},transitionDuration:0,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},PaperProps:{style:n({pointerEvents:"auto",maxWidth:"250px"},d)}}),ft.createElement(Ix,null,o.map((function(e,t){return ft.createElement(kE,{key:t,item:e,onActionClick:h})}))))})),RE="njs-action-toolbar-popover",OE=sg((function(e){return{itemSpacing:{padding:e.spacing(0,.5)},firstItemSpacing:{padding:e.spacing(0,.5,0,0)},lastItemSpacing:{padding:e.spacing(0,0,0,.5)}}})),_E=ft.forwardRef((function(e,t){var n=e.actions,r=void 0===n?[]:n,o=e.first,i=void 0!==o&&o,a=e.last,l=void 0!==a&&a,s=e.addAnchor,u=void 0!==s&&s,c=OE(),f=c.itemSpacing,d=c.firstItemSpacing,h=c.lastItemSpacing;return r.length>0?ft.createElement(nx,{item:!0,container:!0,spacing:0,wrap:"nowrap"},r.map((function(e,n){var o=[],a=i&&0===n,s=l&&r.length-1===n;return a&&!s&&(o=[d]),s&&!a&&(o=[].concat(p(o),[h])),a||s||0!==o.length||(o=[f]),ft.createElement(nx,{item:!0,key:e.key,className:o.join(" ").trim()},ft.createElement(xE,{key:e.key,item:e,ref:0===n?t:null,addAnchor:u}))}))):null})),IE={pointerEvents:"none"},PE={vertical:"top",horizontal:"right"},TE={vertical:"bottom",horizontal:"right"},NE=function(e){var t=e.show,n=void 0===t||t,r=e.actions,o=void 0===r?[]:r,i=e.maxItems,a=void 0===i?3:i,l=e.selections,s=void 0===l?{show:!1,api:null,onConfirm:function(){},onCancel:function(){}}:l,u=e.more,c=void 0===u?{enabled:!1,actions:[],alignTo:null,popoverProps:{},popoverPaperStyle:{}}:u,f=e.popover,h=void 0===f?{show:!1,anchorEl:null}:f,m=e.focusHandler,v=void 0===m?null:m,g=e.actionsRefMock,y=void 0===g?null:g,b=function(e){var t=e.api,n=e.onConfirm,r=void 0===n?function(){}:n,o=e.onCancel,i=void 0===o?function(){}:o,a=e.onKeyDeactivate,l=void 0===a?function(){}:a,s=Oe.exports.useContext(Cg).translator;return[{key:"clear",type:"icon-button",label:s.get("Selection.Clear"),enabled:function(){return t.canClear()},action:function(){return t.clear()},getSvgIconShape:wE},{key:"cancel",type:"icon-button",label:s.get("Selection.Cancel"),enabled:function(){return t.canCancel()},action:function(){i(),t.cancel()},keyboardAction:function(e){l(e),i(),t.cancel()},getSvgIconShape:EE},{key:"confirm",type:"icon-button",label:s.get("Selection.Confirm"),enabled:function(){return t.canConfirm()},action:function(){r(),t.confirm()},keyboardAction:function(e){l(e),r(),t.confirm()},getSvgIconShape:iE}]}(s),x=OE().itemSpacing,E=Oe.exports.useContext(Cg),w=E.translator,S=E.keyboardNavigation,C=d(Oe.exports.useState(!1),2),k=C[0],L=C[1],R=d(Oe.exports.useState(c.enabled),2),O=R[0],_=R[1],I=d(Oe.exports.useState(c.actions),2),P=I[0],T=I[1],N=d(Oe.exports.useState(c.alignTo),2),q=N[0],M=N[1],D=Oe.exports.useRef(),A=Oe.exports.useRef(),z=im(),j=Oe.exports.useMemo((function(){return{margin:z.spacing(.5,0)}})),F=function(e){var t=A.current||y;if(!t)return null;var n=t.querySelectorAll("button:not(.Mui-disabled)");return n[e?n.length-1:0]};Oe.exports.useEffect((function(){return function(){return L(!1)}}),[h.show]),Oe.exports.useEffect((function(){_(c.enabled)}),[c.enabled]),Oe.exports.useEffect((function(){if(v){v.on("focus_toolbar_first",(function(){var e=F(!1);e&&e.focus()})),v.on("focus_toolbar_last",(function(){var e=F(!0);e&&e.focus()}))}}),[]);var B=Oe.exports.useMemo((function(){return o.filter((function(e){return!e.hidden}))}),[o]);if(!s.show&&0===B.length)return null;var U={key:"more",label:w.get("Menu.More"),getSvgIconShape:gE,hidden:!1,enabled:function(){return O},action:function(){return L(!k)}};if(B.length>a){var H=B.splice(-(B.length-a)-1);_(!0),T([].concat(p(H),p(c.actions))),M(D)}var W=S&&v&&v.refocusContent?function(e){"Tab"===e.key&&((e.shiftKey&&F(!1)===e.target||!e.shiftKey&&F(!0)===e.target)&&(e.preventDefault(),e.stopPropagation(),v.refocusContent()))}:null,V=B.length>0,$=P.length>0,K=V&&s.show||$&&s.show,G=ft.createElement(nx,{ref:A,onKeyDown:W,container:!0,spacing:0,wrap:"nowrap"},V&&ft.createElement(_E,{actions:B,first:!0,last:!$&&!s.show}),$&&ft.createElement(_E,{ref:D,actions:[U],first:!V,last:!s.show,addAnchor:!0}),K&&ft.createElement(nx,{item:!0,className:x,style:j},ft.createElement(Hb,{orientation:"vertical"})),s.show&&ft.createElement(_E,{actions:b,first:!V&&!$,last:!0}),k&&ft.createElement(LE,{show:k,actions:P,alignTo:q,popoverProps:c.popoverProps,popoverPaperStyle:c.popoverPaperStyle,onCloseOrActionClick:function(){L(!1)}}));return h.show?ft.createElement(Cx,{disableEnforceFocus:!0,disableAutoFocus:!0,disableRestoreFocus:!0,open:h.show,anchorEl:h.anchorEl,anchorOrigin:PE,transformOrigin:TE,hideBackdrop:!0,style:IE,PaperProps:{className:RE,style:{pointerEvents:"auto",padding:z.spacing(1,1)}}},G):n&&G},qE=function(e){return jx(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M15.7873809,13.80959 C16.1870614,14.209868 15.9872212,15.1104934 15.4876205,15.5107714 C15.08794,15.9110493 14.1886588,16.2112578 13.7889782,15.8109798 L11.0911347,13.1091035 L10.9912145,12.5086866 L10.2917736,11.8082001 C9.19265216,12.5086866 7.89369045,13.0090341 6.49480859,13.0090341 C2.89768383,13.0090341 0,10.1070188 0,6.50451703 C0,2.90201529 2.89768383,0 6.49480859,0 C10.0919334,0 12.9896172,2.90201529 12.9896172,6.50451703 C12.9896172,7.90548992 12.4900165,9.20639333 11.7905756,10.3071577 L12.4900165,11.0076442 L13.0895373,11.1077137 L15.7873809,13.80959 Z M11.2909749,6.50451703 C11.2909749,5.20361362 10.7913743,4.00277971 9.89209309,3.00208478 C8.9928119,2.10145935 7.79377031,1.60111188 6.49480859,1.60111188 C5.19584688,1.60111188 3.99680529,2.10145935 2.99760397,3.00208478 C2.09832278,4.00277971 1.59872212,5.20361362 1.59872212,6.50451703 C1.59872212,7.80542043 2.09832278,9.00625434 2.99760397,9.90687978 C3.89688516,10.8075052 5.09592674,11.3078527 6.49480859,11.3078527 C7.79377031,11.4079222 8.9928119,10.9075747 9.89209309,9.90687978 C10.7913743,9.00625434 11.2909749,7.80542043 11.2909749,6.50451703 Z"}}]})}(e))},ME=xm((function(e){return{root:{"& fieldset":{borderRadius:0,borderColor:"".concat(e.palette.divider," transparent")}}}})),DE="/qListObjectDef";function AE(e){var t=e.model,n=e.autoFocus,r=void 0===n||n,o=Oe.exports.useContext(Cg).translator,i=d(Oe.exports.useState(""),2),a=i[0],l=i[1],s=ME();return ft.createElement(Dx,{startAdornment:ft.createElement(cx,{position:"start"},ft.createElement(qE,null)),className:[s.root].join(" "),autoFocus:r,margin:"dense",fullWidth:!0,placeholder:o.get("Listbox.Search"),value:a,onChange:function(e){l(e.target.value),t.searchListObjectFor(DE,e.target.value)},onKeyDown:function(e){switch(e.key){case"Enter":t.acceptListObjectSearch(DE,!0),l("");break;case"Escape":t.abortListObjectSearch(DE)}}})}function zE(e){return Object.keys(S.prototype).forEach((function(t){e[t]=S.prototype[t]})),S.init(e),e}function jE(e,t){var n=d(fy(e),1)[0],r=d(Gg(t),1)[0],o=t?t.id:null,a=d(ry(),1)[0],l=d(ay(),1)[0],s=a.get(e.id),u=l.get(o);return Oe.exports.useEffect((function(){n&&t&&!u&&(u=function(e){var t,n=e.appSelections,r=e.appModal,o=e.model,a=!1,l=!1,s={id:o.id,setLayout:function(e){t=e},begin:function(e){var t,n=(t=!1,{isPrevented:function(){return t},preventDefault:function(){t=!0}});return this.emit("activate",n),n.isPrevented()?Promise.resolve():(a=!0,this.emit("activated"),r.begin(o,e,!0))},clear:function(){return l=!1,this.emit("cleared"),t.qListObject?o.clearSelections("/qListObjectDef"):o.resetMadeSelections()},confirm:function(){return l=!1,a=!1,this.emit("confirmed"),this.emit("deactivated"),r.end(!0)},cancel:function(){return l=!1,a=!1,this.emit("canceled"),this.emit("deactivated"),r.end(!1)},select:function(e){var t=this;return i(regeneratorRuntime.mark((function r(){var i,a;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i=t.begin([e.params[0]]),n.isModal()){r.next=3;break}return r.abrupt("return",!1);case 3:return r.next=5,i;case 5:return r.next=7,o[e.method].apply(o,p(e.params));case 7:if(a=r.sent,l="resetMadeSelections"!==e.method,a){r.next=12;break}return o.resetMadeSelections(),r.abrupt("return",!1);case 12:return r.abrupt("return",!0);case 13:case"end":return r.stop()}}),r)})))()},canClear:function(){return t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:l},canConfirm:function(){return t&&t.qListObject&&t.qListObject.qDimensionInfo?!t.qListObject.qDimensionInfo.qLocked:l},canCancel:function(){return!(t&&t.qListObject&&t.qListObject.qDimensionInfo&&t.qListObject.qDimensionInfo.qLocked)},isActive:function(){return a},isModal:function(){return n.isModal(o)},goModal:function(e){return r.begin(o,e,!1)},noModal:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return r.end(e)}};return zE(s),s}({appSelections:n,appModal:s,model:t}),l.set(o,u),l.dispatch(!0))}),[n,t]),Oe.exports.useEffect((function(){u&&u.setLayout(r)}),[u,r]),[u]}function FE(e){var t=e.alignTo,n=e.show,r=e.close,o=e.app,i=e.fieldName,a=e.stateName,l=void 0===a?"$":a,s=n&&Boolean(t.current),u=im(),c=d(Xg({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:l,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}],qFieldDefs:[i]}}},o,i,l),1)[0],f=Oe.exports.useCallback((function(){c.lock("/qListObjectDef")}),[c]),p=Oe.exports.useCallback((function(){c.unlock("/qListObjectDef")}),[c]),h=Oe.exports.useContext(Cg).translator,m=Oe.exports.useRef(),v=d(jE(o,c),1)[0],g=d(Gg(c),1)[0];if(Oe.exports.useEffect((function(){v&&s&&(v.isModal(c)||v.goModal("/qListObjectDef"))}),[v,s]),!c||!g||!h)return null;var y=!0===g.qListObject.qDimensionInfo.qLocked,b=function(e,t){var n="escapeKeyDown"!==t;v.noModal(n),r()},x=vE({layout:g,model:c,translator:h}),E=g.qListObject.qDimensionInfo.qStateCounts,w=E.qSelected+E.qSelectedExcluded+E.qLocked+E.qLockedExcluded>0;return ft.createElement(Cx,{open:s,onClose:b,anchorEl:t.current,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"250px"}}},ft.createElement(nx,{container:!0,direction:"column",spacing:0},ft.createElement(nx,{item:!0,container:!0,style:{padding:u.spacing(1)}},ft.createElement(nx,{item:!0},y?ft.createElement(fb,{onClick:p,disabled:!y},ft.createElement(Bx,null)):ft.createElement(fb,{onClick:f,disabled:!w},ft.createElement(Ux,null))),ft.createElement(nx,{item:!0,xs:!0}),ft.createElement(nx,{item:!0},ft.createElement(NE,{more:{enabled:!y,actions:x,alignTo:m,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:!0,api:v,onConfirm:b,onCancel:function(){return b(0,"escapeKeyDown")}}}))),ft.createElement(nx,{item:!0,xs:!0},ft.createElement("div",{ref:m}),ft.createElement(AE,{model:c}),ft.createElement(fE,{model:c,selections:v,direction:"ltr"}))))}var BE=xm((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover}}}}));function UE(e){var t=e.field,n=e.api,r=e.stateIx,o=void 0===r?0:r,i=e.skipHandleShowListBoxPopover,a=void 0!==i&&i,l=e.moreAlignTo,s=void 0===l?null:l,u=e.onClose,c=void 0===u?function(){}:u,f=Oe.exports.useContext(Cg).translator,p=s||Oe.exports.useRef(),h=im(),m=d(Oe.exports.useState(!1),2),v=m[0],g=m[1],y=BE(),b=function(){g(!1),c()},x=t.selections[o];void 0===x.qTotal&&(x.qTotal=0);var E=x.qStateCounts||{qSelected:0,qLocked:0,qExcluded:0,qLockedExcluded:0,qSelectedExcluded:0,qAlternative:0},w=(E.qSelected+E.qLocked)/x.qTotal,S=E.qAlternative/x.qTotal,C=(E.qExcluded+E.qLockedExcluded+E.qSelectedExcluded)/x.qTotal,k=E.qSelected+E.qSelectedExcluded+E.qLocked+E.qLockedExcluded,L=0===k&&0===x.qTotal,R="";x.qTotal===k&&x.qTotal>1?R=f.get("CurrentSelections.All"):k>1&&x.qTotal?R=f.get("CurrentSelections.Of",[k,x.qTotal]):x.qSelectedFieldSelectionInfo&&(R=x.qSelectedFieldSelectionInfo.map((function(e){return e.qName})).join(", ")),"$"!==t.states[o]&&(R="".concat(t.states[o],": ").concat(R));var O=[{color:h.palette.selected.main,ratio:w},{color:h.palette.selected.alternative,ratio:S},{color:h.palette.selected.excluded,ratio:C}];O.forEach((function(e,t){e.offset=t?O[t-1].offset+O[t-1].ratio:0}));var _=null,I=null,P=null,T=null;return s||(_=ft.createElement(nx,{item:!0,xs:!0,style:{minWidth:0,flexGrow:1,opacity:x.qLocked?"0.3":""}},ft.createElement(yb,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},x.qField),ft.createElement(yb,{noWrap:!0,style:{fontSize:"12px",opacity:.55,lineHeight:"16px"}},R)),I=x.qLocked?ft.createElement(nx,{item:!0},ft.createElement(fb,null,ft.createElement(Bx,null))):ft.createElement(nx,{item:!0},ft.createElement(fb,{title:f.get("Selection.Clear"),onClick:function(e){e.stopPropagation(),n.clearField(x.qField,t.states[o])}},ft.createElement(Fx,null))),P=ft.createElement("div",{style:{height:"4px",position:"absolute",bottom:"0",left:"0",width:"100%"}},!1===L&&O.map((function(e){return ft.createElement("div",{key:e.color,style:{position:"absolute",background:e.color,height:"100%",top:0,width:"".concat(100*e.ratio,"%"),left:"".concat(100*e.offset,"%")}})}))),T=ft.createElement(nx,{container:!0,spacing:0,ref:p,className:y.item,onClick:!1===a&&function(e){e.currentTarget.contains(e.target)&&g(!v)}||null},_,I,P,v&&ft.createElement(FE,{alignTo:p,show:v,close:b,app:n.model,fieldName:x.qField,stateName:t.states[o]}))),s?ft.createElement(FE,{alignTo:p,show:!0,close:b,app:n.model,fieldName:x.qField,stateName:t.states[o]}):T}var HE=function(e){return jx(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M8,9 L12.5,4.5 L14,6 L9.5,10.5 L8,12 L2,6 L3.5,4.5 L8,9 Z"}}]})}(e))},WE=xm((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}}));function VE(e){var t=e.field,n=e.api,r=e.moreAlignTo,o=void 0===r?null:r,i=e.onClose,a=void 0===i?function(){}:i,l=WE(),s=d(Oe.exports.useState(!!o),2),u=s[0],c=s[1],f=d(Oe.exports.useState(-1),2),p=f[0],h=f[1],m=d(Oe.exports.useState(o?o.current:null),2),v=m[0],g=m[1],y=o||Oe.exports.useRef(),b=Oe.exports.useContext(Cg).translator.get("Selection.ClearAllStates"),x=function(){h(-1),a()},E=null;o||(E=ft.createElement(ft.Fragment,null,ft.createElement(nx,{item:!0,xs:!0,zeroMinWidth:!0},ft.createElement(pb,{className:l.badge,color:"secondary",badgeContent:t.states.length},ft.createElement(yb,{component:"span",noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600}},t.name))),ft.createElement(nx,{item:!0},ft.createElement("div",{style:{width:"12px"}})),ft.createElement(nx,{item:!0},ft.createElement(fb,null,ft.createElement(HE,null)))));var w=ft.createElement(px,{dense:!0},ft.createElement(vx,{title:b,onClick:function(){t.states.forEach((function(e){return n.clearField(t.name,e)}))}},ft.createElement(xb,{variant:"contained",fullWidth:!0},b)),t.states.map((function(e,r){return ft.createElement(vx,{key:r,title:t.name,onClick:function(e){return function(e,t){e.stopPropagation(),c(!1),h(t)}(e,r)}},ft.createElement(mb,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},ft.createElement(UE,{field:t,api:n,stateIx:r,skipHandleShowListBoxPopover:!0})))}))),S=ft.createElement(Cx,{open:u,onClose:function(){c(!1),a()},anchorEl:v,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},w),C=o?S:ft.createElement(nx,{container:!0,spacing:0,className:l.item,onClick:function(e){e.currentTarget.contains(e.target)&&(g(e.currentTarget),y.current=e.currentTarget,c(!u))}},E,u&&S,p>-1&&ft.createElement(FE,{alignTo:y,show:p>-1,close:x,app:n.model,fieldName:t.selections[p].qField,stateName:t.states[p]}));return o&&p>-1?ft.createElement(FE,{alignTo:y,show:p>-1,close:x,app:n.model,fieldName:t.selections[p].qField,stateName:t.states[p]}):C}var $E=xm((function(e){return{item:{backgroundColor:e.palette.background.paper,position:"relative",cursor:"pointer",padding:"4px","&:hover":{backgroundColor:e.palette.action.hover},height:"100%",alignItems:"center"},badge:{padding:e.spacing(0,1)}}}));function KE(e){var t=e.items,n=void 0===t?[]:t,r=e.api,o=$E(),i=im(),a=d(Oe.exports.useState(!1),2),l=a[0],s=a[1],u=d(Oe.exports.useState(-1),2),c=u[0],f=u[1],p=d(Oe.exports.useState(null),2),h=p[0],m=p[1],v=Oe.exports.useRef(),g=function(){f(-1)},y=null;return c>-1&&(y=n[c].states.length>1?ft.createElement(VE,{field:n[c],api:r,moreAlignTo:v,onClose:g}):ft.createElement(UE,{field:n[c],api:r,skipHandleShowListBoxPopover:!0,moreAlignTo:v,onClose:g})),ft.createElement(nx,{container:!0,spacing:0,className:o.item,onClick:function(e){e.currentTarget.contains(e.target)&&(m(e.currentTarget),v.current=e.currentTarget,s(!l))}},ft.createElement(nx,{item:!0},ft.createElement(mb,{borderRadius:i.shape.borderRadius,style:{padding:"4px 8px 4px 8px",backgroundColor:i.palette.selected.main,color:i.palette.selected.mainContrastText}},ft.createElement(yb,{noWrap:!0,style:{fontSize:"12px",lineHeight:"16px",fontWeight:600},color:"inherit"},"+",n.length))),ft.createElement(nx,{item:!0},ft.createElement(fb,null,ft.createElement(HE,null))),l&&ft.createElement(Cx,{open:l,onClose:function(){s(!1)},anchorEl:h,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},PaperProps:{style:{minWidth:"200px",width:"200px",pointerEvents:"auto"}}},ft.createElement(px,{dense:!0},n.map((function(e,t){return ft.createElement(vx,{key:t,title:e.name,onClick:function(e){return function(e,t){e.stopPropagation(),s(!1),f(t)}(e,t)}},ft.createElement(mb,{border:1,width:"100%",borderRadius:"borderRadius",borderColor:"divider"},e.states.length>1?ft.createElement(VE,{field:e,api:r}):ft.createElement(UE,{field:e,api:r})))})))),y)}function GE(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"$";e.qSelections.forEach((function(e){var r=e.qField,o=t[r]=t[r]||{name:r,states:[],selections:[]};-1===o.states.indexOf(n)&&(o.states.push(n),o.selections.push(e))}))}function ZE(e){var t=e.api,n=e.app,r=im(),o=d(Jg(n),1)[0],i=d(Gg(o),1)[0],a=d(Oe.exports.useState({items:[],more:[]}),2),l=a[0],s=a[1],u=d(uy(),1)[0],c=d(Ax(),2),f=c[0],p=c[1],h=d(Oe.exports.useState(0),2),m=h[0],v=h[1];return Oe.exports.useEffect((function(){if(p){var e=p.width,t=Math.floor(e)-72,n=Math.floor(t/120);v(n)}}),[p]),Oe.exports.useEffect((function(){if(n&&o&&i&&m){var e=function(e){if(!e)return[];var t={};return e.qSelectionObject&&GE(e.qSelectionObject,t),e.alternateStates&&e.alternateStates.forEach((function(e){return GE(e.qSelectionObject,t,e.stateName)})),Object.keys(t).map((function(e){return t[e]}))}(i);s((function(t){var r,o=e;if((r=u.get(n.id))&&"njsListbox"===r.genericType&&o.length+1===t.items.length){var i=t.items.filter((function(e){return!1===o.some((function(t){return e.name===t.name}))}))[0],a=i.selections[0].qField;i.selections=[{qField:a}];var l=t.items.indexOf(i);o.splice(l,0,i)}var s=[];return m<o.length&&(s=o.splice(m-o.length)),{items:o,more:s}}))}}),[n,o,i,t.isInModal(),m]),ft.createElement(nx,{ref:f,container:!0,spacing:0,wrap:"nowrap",style:{height:"100%"}},l.items.map((function(e){return ft.createElement(nx,{item:!0,key:"".concat(e.states.join("::"),"::").concat(e.name),style:{position:"relative",maxWidth:"240px",minWidth:"".concat(120,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},e.states.length>1?ft.createElement(VE,{field:e,api:t}):ft.createElement(UE,{field:e,api:t}))})),l.more.length>0&&ft.createElement(nx,{item:!0,style:{position:"relative",maxWidth:"98px",minWidth:"".concat(72,"px"),background:r.palette.background.paper,borderRight:"1px solid ".concat(r.palette.divider)}},ft.createElement(KE,{items:l.more,api:t})))}var XE=function(e){return jx(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M15,6.5 C15,6.22385763 15.2238576,6 15.5,6 C15.7761424,6 16,6.22385763 16,6.5 L16,9.5 C16,9.77614237 15.7761424,10 15.5,10 C15.2238576,10 15,9.77614237 15,9.5 L15,6.5 Z M16,2.5 C16,2.77614237 15.7761424,3 15.5,3 C15.2238576,3 15,2.77614237 15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 C13,0.223857625 13.2238576,-5.07265313e-17 13.5,0 L15,0 C15.5522847,1.01453063e-16 16,0.44771525 16,1 L16,2.5 Z M10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 C6,0.223857625 6.22385763,-5.07265313e-17 6.5,0 L9.5,0 C9.77614237,5.07265313e-17 10,0.223857625 10,0.5 Z M1,2.5 C1,2.77614237 0.776142375,3 0.5,3 C0.223857625,3 5.18696197e-13,2.77614237 5.18696197e-13,2.5 L5.18696197e-13,1 C5.18696197e-13,0.44771525 0.44771525,-1.01453063e-16 1,0 L2.5,0 C2.77614237,5.07265313e-17 3,0.223857625 3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 5.18696197e-13,15.5522847 5.18696197e-13,15 L5.18696197e-13,13.5 C5.18696197e-13,13.2238576 0.223857625,13 0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M4,7 C7.49095643,7 10,10.1337595 10,12.1872632 C10,12.1872632 8.16051135,9.86624054 4,10 L4,12 C4,12 2.66666667,10.8333333 -1.0658141e-14,8.5 C-2.59348099e-13,8.5 1.33333333,7.33333333 4,5 C4,5 4,5.66666667 4,7 Z"}}]})}(e))},QE=function(e){return jx(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M6,15.5 L6,15.5 C6,15.2238576 6.22385763,15 6.5,15 L9.5,15 C9.77614237,15 10,15.2238576 10,15.5 L10,15.5 C10,15.7761424 9.77614237,16 9.5,16 L6.5,16 C6.22385763,16 6,15.7761424 6,15.5 Z M1,13.5 L1,14.5 C1,14.7761424 1.22385763,15 1.5,15 L2.5,15 C2.77614237,15 3,15.2238576 3,15.5 L3,15.5 C3,15.7761424 2.77614237,16 2.5,16 L1,16 C0.44771525,16 6.76353751e-17,15.5522847 0,15 L0,13.5 C-3.38176876e-17,13.2238576 0.223857625,13 0.5,13 L0.5,13 C0.776142375,13 1,13.2238576 1,13.5 Z M1,6.5 L1,9.5 C1,9.77614237 0.776142375,10 0.5,10 L0.5,10 C0.223857625,10 3.38176876e-17,9.77614237 0,9.5 L0,6.5 C-3.38176876e-17,6.22385763 0.223857625,6 0.5,6 L0.5,6 C0.776142375,6 1,6.22385763 1,6.5 Z M0,2.5 L0,1 C-6.76353751e-17,0.44771525 0.44771525,1.01453063e-16 1,0 L2.5,0 C2.77614237,-5.07265313e-17 3,0.223857625 3,0.5 L3,0.5 C3,0.776142375 2.77614237,1 2.5,1 L1.5,1 C1.22385763,1 1,1.22385763 1,1.5 L1,2.5 C1,2.77614237 0.776142375,3 0.5,3 L0.5,3 C0.223857625,3 3.38176876e-17,2.77614237 0,2.5 Z M6,0.5 L6,0.5 C6,0.223857625 6.22385763,5.07265313e-17 6.5,0 L9.5,0 C9.77614237,-5.07265313e-17 10,0.223857625 10,0.5 L10,0.5 C10,0.776142375 9.77614237,1 9.5,1 L6.5,1 C6.22385763,1 6,0.776142375 6,0.5 Z M15,2.5 L15,1.5 C15,1.22385763 14.7761424,1 14.5,1 L13.5,1 C13.2238576,1 13,0.776142375 13,0.5 L13,0.5 C13,0.223857625 13.2238576,5.07265313e-17 13.5,0 L15,0 C15.5522847,-1.01453063e-16 16,0.44771525 16,1 L16,2.5 C16,2.77614237 15.7761424,3 15.5,3 L15.5,3 C15.2238576,3 15,2.77614237 15,2.5 Z M15,13.5 C15,13.2238576 15.2238576,13 15.5,13 C15.7761424,13 16,13.2238576 16,13.5 L16,15 C16,15.5522847 15.5522847,16 15,16 L13.5,16 C13.2238576,16 13,15.7761424 13,15.5 C13,15.2238576 13.2238576,15 13.5,15 L14.5,15 C14.7761424,15 15,14.7761424 15,14.5 L15,13.5 Z M12,7 C12,5.66666667 12,5 12,5 C14.6666667,7.33333333 16,8.5 16,8.5 C13.3333333,10.8333333 12,12 12,12 L12,10 C7.83948865,9.86624054 6,12.1872632 6,12.1872632 C6,10.1337595 8.50904357,7 12,7 Z"}}]})}(e))};function JE(e){var t=e.api,n=e.app,r=Oe.exports.useContext(Cg).translator,o=d(Yg(n),1)[0];return ft.createElement(nx,{container:!0,wrap:"nowrap",style:{height:"100%",alignItems:"center",padding:"0 8px"}},ft.createElement(nx,{item:!0},ft.createElement(fb,{style:{marginRight:"8px"},disabled:!o||!o.canGoBack,title:r.get("Navigate.Back"),onClick:function(){return t.back()}},ft.createElement(XE,null))),ft.createElement(nx,{item:!0},ft.createElement(fb,{style:{marginRight:"8px"},disabled:!o||!o.canGoForward,title:r.get("Navigate.Forward"),onClick:function(){return t.forward()}},ft.createElement(QE,null))),ft.createElement(nx,{item:!0},ft.createElement(fb,{disabled:!o||!o.canClear,title:r.get("Selection.ClearAll"),onClick:function(){return t.clear()}},ft.createElement(SE,null))))}var YE=function(e){var t=e.app,n=im(),r=d(fy(t),1)[0];return r?ft.createElement(nx,{container:!0,spacing:0,wrap:"nowrap",style:{backgroundColor:n.palette.background.paper,minHeight:"40px"}},ft.createElement(nx,{item:!0,style:{borderRight:"1px solid ".concat(n.palette.divider)}},ft.createElement(JE,{api:r,app:t})),ft.createElement(nx,{item:!0,xs:!0,style:{backgroundColor:n.palette.background.darker,overflow:"hidden"}},ft.createElement(ZE,{api:r,app:t}))):null};function ew(e){var t=e.element,n=e.app;return xf.createPortal(ft.createElement(YE,{app:n}),t)}var tw=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},nw=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}}(),rw=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},ow=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t},iw=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},aw=void 0;aw="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var lw=null,sw=null,uw=aw.clearTimeout,cw=aw.setTimeout,fw=aw.cancelAnimationFrame||aw.mozCancelAnimationFrame||aw.webkitCancelAnimationFrame,dw=aw.requestAnimationFrame||aw.mozRequestAnimationFrame||aw.webkitRequestAnimationFrame;function pw(e){var t=void 0,n=void 0,r=void 0,o=void 0,i=void 0,a=void 0,l=void 0,s="undefined"!=typeof document&&document.attachEvent;if(!s){a=function(e){var t=e.__resizeTriggers__,n=t.firstElementChild,r=t.lastElementChild,o=n.firstElementChild;r.scrollLeft=r.scrollWidth,r.scrollTop=r.scrollHeight,o.style.width=n.offsetWidth+1+"px",o.style.height=n.offsetHeight+1+"px",n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight},i=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},l=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var t=this;a(this),this.__resizeRAF__&&lw(this.__resizeRAF__),this.__resizeRAF__=sw((function(){i(t)&&(t.__resizeLast__.width=t.offsetWidth,t.__resizeLast__.height=t.offsetHeight,t.__resizeListeners__.forEach((function(n){n.call(t,e)})))}))}};var u=!1,c="";r="animationstart";var f="Webkit Moz O ms".split(" "),d="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),p=document.createElement("fakeelement");if(void 0!==p.style.animationName&&(u=!0),!1===u)for(var h=0;h<f.length;h++)if(void 0!==p.style[f[h]+"AnimationName"]){c="-"+f[h].toLowerCase()+"-",r=d[h],u=!0;break}t="@"+c+"keyframes "+(n="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",o=c+"animation: 1ms "+n+"; "}return{addResizeListener:function(i,u){if(s)i.attachEvent("onresize",u);else{if(!i.__resizeTriggers__){var c=i.ownerDocument,f=aw.getComputedStyle(i);f&&"static"===f.position&&(i.style.position="relative"),function(n){if(!n.getElementById("detectElementResize")){var r=(t||"")+".resize-triggers { "+(o||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',i=n.head||n.getElementsByTagName("head")[0],a=n.createElement("style");a.id="detectElementResize",a.type="text/css",null!=e&&a.setAttribute("nonce",e),a.styleSheet?a.styleSheet.cssText=r:a.appendChild(n.createTextNode(r)),i.appendChild(a)}}(c),i.__resizeLast__={},i.__resizeListeners__=[],(i.__resizeTriggers__=c.createElement("div")).className="resize-triggers";var d=c.createElement("div");d.className="expand-trigger",d.appendChild(c.createElement("div"));var p=c.createElement("div");p.className="contract-trigger",i.__resizeTriggers__.appendChild(d),i.__resizeTriggers__.appendChild(p),i.appendChild(i.__resizeTriggers__),a(i),i.addEventListener("scroll",l,!0),r&&(i.__resizeTriggers__.__animationListener__=function(e){e.animationName===n&&a(i)},i.__resizeTriggers__.addEventListener(r,i.__resizeTriggers__.__animationListener__))}i.__resizeListeners__.push(u)}},removeResizeListener:function(e,t){if(s)e.detachEvent("onresize",t);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",l,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(r,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}null==fw||null==dw?(lw=uw,sw=function(e){return cw(e,20)}):(lw=function(e){var t=iw(e,2),n=t[0],r=t[1];fw(n),uw(r)},sw=function(e){var t=dw((function(){uw(n),e()})),n=cw((function(){fw(t),e()}),20);return[t,n]});var hw=function(e){function t(){var e,n,r;tw(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=ow(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),r.state={height:r.props.defaultHeight||0,width:r.props.defaultWidth||0},r._onResize=function(){var e=r.props,t=e.disableHeight,n=e.disableWidth,o=e.onResize;if(r._parentNode){var i=r._parentNode.offsetHeight||0,a=r._parentNode.offsetWidth||0,l=window.getComputedStyle(r._parentNode)||{},s=parseInt(l.paddingLeft,10)||0,u=parseInt(l.paddingRight,10)||0,c=parseInt(l.paddingTop,10)||0,f=parseInt(l.paddingBottom,10)||0,d=i-c-f,p=a-s-u;(!t&&r.state.height!==d||!n&&r.state.width!==p)&&(r.setState({height:i-c-f,width:a-s-u}),o({height:i,width:a}))}},r._setRef=function(e){r._autoSizer=e},ow(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),nw(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=pw(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.className,r=e.disableHeight,o=e.disableWidth,i=e.style,a=this.state,l=a.height,s=a.width,u={overflow:"visible"},c={},f=!1;return r||(0===l&&(f=!0),u.height=0,c.height=l),o||(0===s&&(f=!0),u.width=0,c.width=s),Oe.exports.createElement("div",{className:n,ref:this._setRef,style:rw({},u,i)},!f&&t(c))}}]),t}(Oe.exports.PureComponent);function mw(e){var t=e.app,n=e.fieldIdentifier,r=e.stateName,o=e.element,i=e.options;return xf.createPortal(ft.createElement(vw,{app:t,fieldIdentifier:n,stateName:r,options:i}),o)}function vw(e){var t,r=e.app,o=e.fieldIdentifier,i=e.stateName,a=void 0===i?"$":i,l=e.options,s=void 0===l?{}:l,u=s.title,c=s.direction,f=s.listLayout,p=s.search,h=void 0===p||p,m=s.properties,v=n({qInfo:{qType:"njsListbox"},qListObjectDef:{qStateName:a,qShowAlternatives:!0,qInitialDataFetch:[{qTop:0,qLeft:0,qWidth:0,qHeight:0}],qDef:{qSortCriterias:[{qSortByState:1,qSortByAscii:1,qSortByNumeric:1,qSortByLoadOrder:1}]}},title:u},void 0===m?{}:m);o.qLibraryId?(v.qListObjectDef.qLibraryId=o.qLibraryId,t=o.qLibraryId):(v.qListObjectDef.qDef.qFieldDefs=[o],t=o);var g=im(),y=d(Xg(v,r,t,a),1)[0],b=Oe.exports.useCallback((function(){y.lock("/qListObjectDef")}),[y]),x=Oe.exports.useCallback((function(){y.unlock("/qListObjectDef")}),[y]),E=Oe.exports.useContext(Cg).translator,w=Oe.exports.useRef(),S=d(jE(r,y),1)[0],C=d(Gg(y),1)[0],k=d(Oe.exports.useState(!1),2),L=k[0],R=k[1];if(Oe.exports.useEffect((function(){S&&(S.isModal(y)||(S.on("deactivated",(function(){R(!1)})),S.on("activated",(function(){R(!0)}))))}),[S]),Oe.exports.useEffect((function(){S&&R(S.isActive())}),[S]),!y||!C||!E)return null;var O=!0===C.qListObject.qDimensionInfo.qLocked,_=vE({layout:C,model:y,translator:E}),I=C.qListObject.qDimensionInfo.qStateCounts,P=I.qSelected+I.qSelectedExcluded+I.qLocked+I.qLockedExcluded>0,T=49+(h?40:0)+49;return ft.createElement(nx,{container:!0,direction:"column",spacing:0,style:{height:"100%",minHeight:"".concat(T,"px")}},ft.createElement(nx,{item:!0,container:!0,style:{padding:g.spacing(1),borderBottom:"1px solid ".concat(g.palette.divider)}},ft.createElement(nx,{item:!0},O?ft.createElement(fb,{onClick:x,disabled:!O},ft.createElement(Bx,null)):ft.createElement(fb,{onClick:b,disabled:!P},ft.createElement(Ux,null))),ft.createElement(nx,{item:!0},ft.createElement(yb,{variant:"h6",noWrap:!0},C.title||C.qListObject.qDimensionInfo.qFallbackTitle)),ft.createElement(nx,{item:!0,xs:!0}),ft.createElement(nx,{item:!0},ft.createElement(NE,{more:{enabled:!O,actions:_,alignTo:w,popoverProps:{elevation:0},popoverPaperStyle:{boxShadow:"0 12px 8px -8px rgba(0, 0, 0, 0.2)",minWidth:"250px"}},selections:{show:L,api:S,onConfirm:function(){},onCancel:function(){}}}))),h?ft.createElement(nx,{item:!0},ft.createElement(AE,{model:y,autoFocus:!1})):"",ft.createElement(nx,{item:!0,xs:!0},ft.createElement("div",{ref:w}),ft.createElement(hw,null,(function(e){var t=e.height,n=e.width;return ft.createElement(fE,{model:y,selections:S,direction:c,listLayout:f,height:t,width:n})}))))}hw.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};var gw=[[10,31],[0,31],[0,31],[0,31],[0,31],[0,31]];function yw(e){var t=d(e,2),n=t[0],r=t[1];return(n+(Math.random()*(r-n)|0)).toString(32)}function bw(){return gw.map(yw).join("")}function xw(e,t){for(var n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)}function Ew(e,t){for(var n=0,r=0;r<e.length;++r)e[r]>t?--e[r]:e[r]===t&&(n=r);return e.splice(n,1),n}function ww(e){var t=e.sn,o=e.properties,i=e.fields;if(i.length){var a=t.qae.data.targets[0];if(a){for(var l=a.propertyPath.split("/"),s=o,u=0;u<l.length;u++){var c=l[u];s=c?s[c]:s}var f=function(e){var t=e.dc,r=e.def,o=e.properties;t.qDimensions=t.qDimensions||[],t.qMeasures=t.qMeasures||[],t.qInterColumnSortOrder=t.qInterColumnSortOrder||[],t.qInitialDataFetch=t.qInitialDataFetch||[],t.qColumnOrder=t.qColumnOrder||[],t.qExpansionState=t.qExpansionState||[];var i=o,a={dimensions:function(){return t.qDimensions},measures:function(){return t.qMeasures},addDimension:function(e){var o="string"==typeof e?function(e){return{qDef:{qFieldDefs:[e]}}}(e):n(n({},e),{},{qDef:e.qDef||{}});o.qDef.cId=o.qDef.cId||bw(),o.qDef.qSortCriterias=o.qDef.qSortCriterias||[{qSortByLoadOrder:1,qSortByNumeric:1,qSortByAscii:1}],o.qOtherTotalSpec=o.qOtherTotalSpec||{},o.qAttributeExpressions=o.qAttributeExpressions||[],o.qAttributeDimensions=o.qAttributeDimensions||[],t.qDimensions.length<a.maxDimensions()?(t.qDimensions.push(o),xw(t.qInterColumnSortOrder,t.qDimensions.length-1),r.dimensions.added(o,i)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qDimensions.push(o))},removeDimension:function(e){var n=t.qDimensions.splice(e,1)[0];Ew(t.qInterColumnSortOrder,e),r.dimensions.removed(n,i,e)},addMeasure:function(e){var o="string"==typeof e?function(e){return{qDef:{qDef:e}}}(e):n(n({},e),{},{qDef:e.qDef||{}});o.qDef.cId=o.qDef.cId||bw(),o.qSortBy=o.qSortBy||{qSortByLoadOrder:1,qSortByNumeric:-1},o.qAttributeDimensions=o.qAttributeDimensions||[],o.qAttributeExpressions=o.qAttributeExpressions||[],t.qMeasures.length<a.maxMeasures()?(t.qMeasures.push(o),xw(t.qInterColumnSortOrder,t.qDimensions.length+t.qMeasures.length-1),r.measures.added(o,i)):(t.qLayoutExclude=t.qLayoutExclude||{},t.qLayoutExclude.qHyperCubeDef=t.qLayoutExclude.qHyperCubeDef||{},t.qLayoutExclude.qHyperCubeDef.qDimensions=t.qLayoutExclude.qHyperCubeDef.qDimensions||[],t.qLayoutExclude.qHyperCubeDef.qMeasures=t.qLayoutExclude.qHyperCubeDef.qMeasures||[],t.qLayoutExclude.qHyperCubeDef.qMeasures.push(o))},removeMeasure:function(e){var n=t.qMeasures.splice(e,1)[0];Ew(t.qInterColumnSortOrder,t.qDimensions.length+e),r.measures.removed(n,i,e)},maxDimensions:function(){return r.dimensions.max(t.qMeasures.length)},maxMeasures:function(){return r.measures.max(t.qDimensions.length)},canAddDimension:function(){return t.qDimensions.length<a.maxDimensions()},canAddMeasure:function(){return t.qMeasures.length<a.maxMeasures()}};return a}({dc:s,def:a,properties:o});i.forEach((function(e){"measure"===function(e){return"string"==typeof e&&"="===e[0]||"object"===r(e)&&e.qDef&&e.qDef.qDef||"object"===r(e)&&e.qLibraryId&&"measure"===e.type?"measure":"dimension"}(e)?f.addMeasure(e):f.addDimension(e)}))}}}var Sw=function(e,t,n){if(null==e||null==t)return n;for(var r=t.split("."),o=e,i=0;i<r.length;++i){var a=r[i];if(""!==a){if(void 0===o[a]||null===o[a])return n;o=o[a]}}return o},Cw=function(e,t,n){if(null!=e&&null!=t){for(var r=t.split("."),o=r[r.length-1],i=e,a=0;a<r.length-1;++a){var l=r[a];void 0!==i[l]&&null!==i[l]||(i[l]=Number.isNaN(+r[a+1])?{}:[]),i=i[l]}void 0!==n?i[o]=n:delete i[o]}},kw=function(e){return 0===Object.keys(e).length&&e.constructor===Object};var Lw={isOrderedSubset:function(e,t){if(!(e&&t&&e.length&&t.length))return!1;var n=e.indexOf(t[0]);if(-1!==n){for(var r=0;r<t.length;r++){var o=e.indexOf(t[r]);if(n>o)return!1;n=o}return!0}return!1},indexAdded:function(e,t){var n;for(n=0;n<e.length;++n)e[n]>=0&&e[n]>=t&&++e[n];e.push(t)},indexRemoved:function(e,t){var n,r=0;for(n=0;n<e.length;++n)e[n]>t?--e[n]:e[n]===t&&(r=n);return e.splice(r,1),r}},Rw=Math.pow(2,53)-1;function Ow(e){return-1!==["qMetaDef","descriptionExpression","labelExpression"].indexOf(e)}function _w(e,t){var n=T(!0,{},t,e);return Sw(n,"qOtherTotalSpec.qOtherCounted")||Cw(n,"qOtherTotalSpec.qOtherCounted",{qv:"10"}),Sw(n,"qOtherTotalSpec.qOtherLimit")||Cw(n,"qOtherTotalSpec.qOtherLimit",{qv:"0"}),n.hasOwnProperty("othersLabel")||(n.othersLabel="Others"),n}function Iw(e,t){return T(!0,{},t,e)}function Pw(e,t,n){return"function"==typeof e?e(t):Number.isNaN(+e)?n:e}var Tw={restoreChangedProperties:function(e){Object.keys(e.qLayoutExclude.changed).forEach((function(t){e.qLayoutExclude.changed[t].to===Sw(e,t)&&Cw(e,t,e.qLayoutExclude.changed[t].from)}))},isMasterItemProperty:Ow,importCommonProperties:function(e,t,n){var r="masterobject"===Sw(t,"properties.qInfo.qType")?"masterobject":Sw(n,"qInfo.qType");Cw(e,"qInfo.qType",r),e.visualization=n.visualization},copyPropertyIfExist:function(e,t,n){t.hasOwnProperty(e)&&(n[e]=t[e])},copyPropertyOrSetDefault:function(e,t,n,r){t.hasOwnProperty(e)?n[e]=t[e]:n[e]=r},createDefaultDimension:_w,createDefaultMeasure:Iw,resolveValue:Pw,getHypercubePath:function(e){var t=Sw(e,"data.targets.0.propertyPath","").split("/");return t.length&&"qHyperCubeDef"===t[t.length-1]&&(t.length-=1),t.join(".")},getDefaultDimension:function(){return{qDef:{autoSort:!0,cId:"",othersLabel:"Others"},qLibraryId:"",qNullSuppression:!1,qOtherLabel:"Others",qOtherTotalSpec:{qOtherLimitMode:"OTHER_GE_LIMIT",qOtherMode:"OTHER_OFF",qOtherSortMode:"OTHER_SORT_DESCENDING",qSuppressOther:!1}}},getDefaultMeasure:function(){return{qDef:{autoSort:!0,cId:"",numFormatFromTemplate:!0},qLibraryId:"",qTrendLines:[]}},setInterColumnSortOrder:function(e){var t=e.exportFormat,n=e.newHyperCubeDef,r=t.data[0],o=n.qDimensions.length+n.qMeasures.length;n.qInterColumnSortOrder=r.interColumnSortOrder.concat();var i=n.qInterColumnSortOrder.length;if(i!==o)for(n.qLayoutExclude&&(n.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder=r.interColumnSortOrder.concat());i!==o;)i<o?(Lw.indexAdded(n.qInterColumnSortOrder,i),++i):(--i,Lw.indexRemoved(n.qInterColumnSortOrder,i))},createNewProperties:function(e){var t=e.exportFormat,n=e.initialProperties,r=e.hypercubePath,o={qLayoutExclude:{disabled:{},quarantine:{}}};return Object.keys(t.properties).forEach((function(e){"qLayoutExclude"===e?t.properties[e].quarantine&&(o.qLayoutExclude.quarantine=T(!0,{},t.properties[e].quarantine)):"qHyperCubeDef"===e&&r?Cw(o,"".concat(r,".qHyperCubeDef"),t.properties.qHyperCubeDef):n.hasOwnProperty(e)||Ow(e)?o[e]=t.properties[e]:o.qLayoutExclude.disabled[e]=t.properties[e]})),null===(o=T(!0,{},n,o)).components&&(o.components=[]),o},getMaxMinDimensionMeasure:function(e){var t=e.exportFormat,n=e.dataDefinition,r=void 0===n?{}:n,o=t.data[0],i=r.dimensions||{max:0},a=r.measures||{max:0},l=Pw(a.max,o.dimensions.length,Rw),s=Pw(a.min,o.dimensions.length,0);return{maxDimensions:Pw(i.max,l,Rw),minDimensions:Pw(i.min,s,0),maxMeasures:l,minMeasures:s}},shouldInitLayoutExclude:function(e){var t=e.exportFormat,n=e.maxDimensions,r=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=t.data[0];return a.dimensions.length>n&&n>0||a.measures.length>o&&o>0||a.excludedDimensions.length>0&&a.dimensions.length+a.excludedDimensions.length>r||a.excludedMeasures.length>0&&a.measures.length+a.excludedMeasures.length>i||!o&&a.measures.length>0||!n&&a.dimensions.length>0},initLayoutExclude:function(e){var t=e.exportFormat,n=e.maxDimensions,r=e.minDimensions,o=e.maxMeasures,i=e.minMeasures,a=e.newHyperCubeDef,l=t.data[0];a.qLayoutExclude||(a.qLayoutExclude={}),a.qLayoutExclude.qHyperCubeDef||(a.qLayoutExclude.qHyperCubeDef={}),(l.dimensions.length>n&&n>0||l.excludedDimensions&&l.excludedDimensions.length&&l.dimensions.length+l.excludedDimensions.length>r)&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[])),(l.measures.length>o&&o>0||l.excludedMeasures&&l.excludedMeasures.length&&l.measures.length+l.excludedMeasures.length>i)&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!o&&l.measures.length&&(a.qLayoutExclude.qHyperCubeDef.qMeasures||(a.qLayoutExclude.qHyperCubeDef.qMeasures=[])),!n&&l.dimensions.length&&(a.qLayoutExclude.qHyperCubeDef.qDimensions||(a.qLayoutExclude.qHyperCubeDef.qDimensions=[]))},addDefaultDimensions:function(e){var t,n=e.exportFormat,r=e.maxDimensions,o=e.minDimensions,i=e.newHyperCubeDef,a=e.defaultDimension,l=n.data[0];if(r>0)for(t=0;t<l.dimensions.length;++t)i.qDimensions.length<r?i.qDimensions.push(_w(l.dimensions[t],a)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(_w(l.dimensions[t],a));else if(l.dimensions.length)for(t=0;t<l.dimensions.length;++t)i.qLayoutExclude.qHyperCubeDef.qDimensions.push(_w(l.dimensions[t],a));if(l.excludedDimensions.length)for(t=0;t<l.excludedDimensions.length;++t)i.qDimensions.length<o?i.qDimensions.push(_w(l.excludedDimensions[t],a)):i.qLayoutExclude.qHyperCubeDef.qDimensions.push(_w(l.excludedDimensions[t],a))},addDefaultMeasures:function(e){var t,n=e.exportFormat,r=e.maxMeasures,o=e.minMeasures,i=e.newHyperCubeDef,a=e.defaultMeasure,l=n.data[0];if(r>0)for(t=0;t<l.measures.length;++t)i.qMeasures.length<r?i.qMeasures.push(Iw(l.measures[t],a)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(Iw(l.measures[t],a));else if(l.measures.length)for(t=0;t<l.measures.length;++t)i.qLayoutExclude.qHyperCubeDef.qMeasures.push(Iw(l.measures[t],a));if(l.excludedMeasures.length)for(t=0;t<l.excludedMeasures.length;++t)i.qMeasures.length<o?i.qMeasures.push(Iw(l.excludedMeasures[t],a)):i.qLayoutExclude.qHyperCubeDef.qMeasures.push(Iw(l.excludedMeasures[t],a))},updateDimensionsOnAdded:function(e){var t=e.newProperties,n=e.dataDefinition,r=e.hypercubePath;if(n.dimensions&&"function"==typeof n.dimensions.added){var o=Sw(t,r||"").qHyperCubeDef,i=p(o.qDimensions);o.qDimensions=[],i.forEach((function(e){o.qDimensions.push(e),n.dimensions.added(e,t)}))}},updateMeasuresOnAdded:function(e){var t=e.newProperties,n=e.dataDefinition,r=e.hypercubePath;if(n.measures&&"function"==typeof n.measures.added){var o=Sw(t,r||"").qHyperCubeDef,i=p(o.qMeasures);o.qMeasures=[],i.forEach((function(e){o.qMeasures.push(e),n.measures.added(e,t)}))}}};var Nw={exportProperties:function(e){return function(e){var t,n,r,o,i=e.propertyTree,a=e.hypercubePath,l=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t={data:[],properties:{}},n=0;n<e;++n)t.data.push({dimensions:[],measures:[],excludedDimensions:[],excludedMeasures:[],interColumnSortOrder:[]});return t}(),s=i.qProperty,u=Sw(s,a||""),c=u.qHyperCubeDef,f=l.data[0];if(c.qInterColumnSortOrder||(c.qInterColumnSortOrder=[]),(t=f.dimensions).push.apply(t,p(c.qDimensions)),c.qLayoutExclude&&c.qLayoutExclude.qHyperCubeDef&&c.qLayoutExclude.qHyperCubeDef.qDimensions&&(r=f.excludedDimensions).push.apply(r,p(c.qLayoutExclude.qHyperCubeDef.qDimensions)),(n=f.measures).push.apply(n,p(c.qMeasures)),c.qLayoutExclude&&c.qLayoutExclude.qHyperCubeDef&&c.qLayoutExclude.qHyperCubeDef.qMeasures&&(o=f.excludedMeasures).push.apply(o,p(c.qLayoutExclude.qHyperCubeDef.qMeasures)),f.interColumnSortOrder=c.qInterColumnSortOrder.concat(),c.qLayoutExclude&&c.qLayoutExclude.qHyperCubeDef&&c.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder){var d=c.qLayoutExclude.qHyperCubeDef.qInterColumnSortOrder.concat();Lw.isOrderedSubset(d,f.interColumnSortOrder)&&(f.interColumnSortOrder=d)}return delete c.qLayoutExclude,Object.keys(s).forEach((function(e){l.properties[e]=s[e]})),a&&(l.properties.qHyperCubeDef=u.qHyperCubeDef,delete u.qHyperCubeDef),s.qLayoutExclude||(s.qLayoutExclude={}),s.qLayoutExclude.disabled&&(Object.keys(s.qLayoutExclude.disabled).forEach((function(e){l.properties.hasOwnProperty(e)||(l.properties[e]=s.qLayoutExclude.disabled[e])})),delete s.qLayoutExclude.disabled),s.qLayoutExclude.changed&&(Tw.restoreChangedProperties(s),delete s.qLayoutExclude.changed),s.qLayoutExclude.quarantine&&!kw(s.qLayoutExclude.quarantine)||delete s.qLayoutExclude,l}(e)},importProperties:function(e){return n=(t=e).exportFormat,r=t.initialProperties,o=void 0===r?{}:r,i=t.dataDefinition,a=void 0===i?{}:i,l=t.defaultPropertyValues,s=void 0===l?{}:l,u=t.hypercubePath,c={qChildren:[]},f=Tw.createNewProperties({exportFormat:n,initialProperties:o,hypercubePath:u}),d=Sw(o,u||"").qHyperCubeDef,p=Sw(f,u||"").qHyperCubeDef,h=Tw.getMaxMinDimensionMeasure({exportFormat:n,dataDefinition:a}),m=h.maxDimensions,v=h.minDimensions,g=h.maxMeasures,y=h.minMeasures,b=s.defaultDimension,x=void 0===b?Tw.getDefaultDimension():b,E=s.defaultMeasure,w=void 0===E?Tw.getDefaultMeasure():E,p.qDimensions.length=0,p.qMeasures.length=0,Tw.shouldInitLayoutExclude({exportFormat:n,maxDimensions:m,minDimensions:v,maxMeasures:g,minMeasures:y})&&Tw.initLayoutExclude({exportFormat:n,maxDimensions:m,minDimensions:v,maxMeasures:g,minMeasures:y,newHyperCubeDef:p}),Tw.addDefaultDimensions({exportFormat:n,maxDimensions:m,minDimensions:v,newHyperCubeDef:p,defaultDimension:x}),Tw.addDefaultMeasures({exportFormat:n,maxMeasures:g,minMeasures:y,newHyperCubeDef:p,defaultMeasure:w}),Tw.setInterColumnSortOrder({exportFormat:n,newHyperCubeDef:p}),Tw.copyPropertyIfExist("qMaxStackedCells",d,p),Tw.copyPropertyIfExist("qNoOfLeftDims",d,p),Tw.copyPropertyOrSetDefault("qInitialDataFetch",d,p,[{qTop:0,qLeft:0,qWidth:0,qHeight:0}]),Tw.copyPropertyOrSetDefault("qMode",d,p,"S"),Tw.copyPropertyOrSetDefault("qReductionMode",d,p,"N"),Tw.copyPropertyOrSetDefault("qSortbyYValue",d,p),Tw.copyPropertyOrSetDefault("qIndentMode",d,p),Tw.copyPropertyOrSetDefault("qShowTotalsAbove",d,p),Tw.importCommonProperties(f,n,o),Tw.updateDimensionsOnAdded({newProperties:f,dataDefinition:a,hypercubePath:u}),Tw.updateMeasuresOnAdded({newProperties:f,dataDefinition:a,hypercubePath:u}),c.qProperty=f,c;var t,n,r,o,i,a,l,s,u,c,f,d,p,h,m,v,g,y,b,x,E,w}},qw=function(){var e=i(regeneratorRuntime.mark((function e(t){var n,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.halo,r=t.name,o=t.version,i=n.types,e.next=4,i.get({name:r,version:o}).supernova();case 4:return a=e.sent,e.abrupt("return",a);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Mw=function(e){return Sw(e,"data.targets.0.propertyPath")},Dw=function(e){return e.exportProperties?e.exportProperties:function(e){if(e.split("/").indexOf("qHyperCubeDef")>-1)return Nw.exportProperties}(Mw(e))},Aw=function(e){return e.importProperties?e.importProperties:function(e){if(e.split("/").indexOf("qHyperCubeDef")>-1)return Nw.importProperties}(Mw(e))},zw=function(){var e=i(regeneratorRuntime.mark((function e(t){var r,o,i,a,l,s,u,c,f,d,p,h,m,v;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.halo,o=t.model,i=t.cellRef,a=t.newType,e.next=3,o.getFullPropertyTree();case 3:return l=e.sent,s=i.current.getQae(),u=Dw(s),e.next=8,qw({halo:r,name:a});case 8:return c=e.sent,f=c.qae,d=Aw(f),p=u({propertyTree:l,hypercubePath:Tw.getHypercubePath(s)}),h=Sw(f,"properties.initial",{}),m=n({qInfo:{qType:a},visualization:a},h),v=d({exportFormat:p,initialProperties:m,dataDefinition:Sw(f,"data.targets.0.",{}),hypercubePath:Tw.getHypercubePath(f)}),e.abrupt("return",v);case 16:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),jw={hypercube:Nw},Fw=function(e){return jx(function(e){return n(n({},e),{},{shapes:[{type:"path",attrs:{d:"M8.86225926,1.6 L15.7815749,13.5 C16.2829746,14.3 15.8818548,15 14.9793354,15 L1.04042422,15 C0.0853772072,15 -0.232971797,14.3650794 0.172002787,13.6135407 L7.05722041,1.6 C7.55862009,0.8 8.36085958,0.8 8.86225926,1.6 Z M7.962,2.007 C7.95987183,2.02476599 7.95607967,2.03712023 7.94920396,2.05249845 L1.1033193,14 L14.915544,14 L7.99777452,2.10265906 L7.97779697,2.06138411 L7.96394459,2.01964415 L7.962,2.007 Z M7.5,11 L8.5,11 C8.76666667,11 8.95432099,11.1580247 8.99272977,11.4038409 L9,11.5 L9,12.5 C9,12.7666667 8.84197531,12.954321 8.59615912,12.9927298 L8.5,13 L7.5,13 C7.23333333,13 7.04567901,12.8419753 7.00727023,12.5961591 L7,12.5 L7,11.5 C7,11.2333333 7.15802469,11.045679 7.40384088,11.0072702 L7.5,11 L8.5,11 L7.5,11 Z M7.5,5 L8.5,5 C8.76666667,5 8.95432099,5.15802469 8.99272977,5.40384088 L9,5.5 L9,9.5 C9,9.76666667 8.84197531,9.95432099 8.59615912,9.99272977 L8.5,10 L7.5,10 C7.23333333,10 7.04567901,9.84197531 7.00727023,9.59615912 L7,9.5 L7,5.5 C7,5.23333333 7.15802469,5.04567901 7.40384088,5.00727023 L7.5,5 L8.5,5 L7.5,5 Z"}}]})}(e))},Bw=function(e){var t=e.d,n=im(),r="inherit",o=n.palette.success.main;t.missing?o=n.palette.warning.main:t.error&&(r="error",o=n.palette.error.main);var i={color:o},a=ft.createElement(yb,{style:{lineHeight:"30px",paddingRight:n.spacing(1)}},ft.createElement(sx,null,t.missing||t.error?ft.createElement(Fw,{style:i}):ft.createElement(aE,{style:i})));return ft.createElement(nx,{item:!0,container:!0,alignItems:"center",wrap:"nowrap"},ft.createElement(nx,{item:!0},a),ft.createElement(nx,{container:!0,item:!0,zeroMinWidth:!0,wrap:"nowrap"},ft.createElement(yb,{noWrap:!0,component:"p"},ft.createElement(yb,{component:"span",variant:"subtitle2",color:r},t.description),ft.createElement(yb,{component:"span"}," "),ft.createElement(yb,{component:"span",variant:"subtitle2",color:t.error?"error":"inherit",style:{fontWeight:400}},t.label))))},Uw=function(e){var t=e.data,n=im();return ft.createElement(nx,{container:!0,item:!0,style:{maxWidth:"300px",overflow:"hidden"}},t.map((function(e,t){var r=e.descriptions.map((function(e,t){return ft.createElement(Bw,{d:e,key:t})}));return r.length>0&&ft.createElement(nx,{container:!0,item:!0,key:t,direction:"column",style:{paddingBottom:n.spacing(2)}},ft.createElement(yb,{noWrap:!0,key:t,variant:"subtitle1",align:"left",color:"textSecondary"},e.title),r)})))};function Hw(e){var t=e.title,n=void 0===t?"Error":t,r=e.message,o=void 0===r?"":r,i=e.data,a=void 0===i?[]:i;return ft.createElement(nx,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"relative",height:"100%",width:"100%"}},ft.createElement(nx,{item:!0},ft.createElement(Fw,{style:{fontSize:"38px"}})),ft.createElement(nx,{item:!0},ft.createElement(yb,{variant:"h6",align:"center","data-tid":"error-title"},n)),ft.createElement(nx,{item:!0},ft.createElement(yb,{variant:"subtitle1",align:"center","data-tid":"error-message"},o)),ft.createElement(Uw,{data:a}))}var Ww=["size"],Vw=xm((function(e){return{root:{position:"relative",display:"inline-block"},front:{color:e.palette.secondary.main,animationDuration:"1500ms",position:"absolute",left:0},back:{color:e.palette.divider}}})),$w={small:16,medium:32,large:64,xlarge:128};function Kw(e){var t=e.size,n=void 0===t?"medium":t,r=f(e,Ww),o=Vw(),i=$w[n];return ft.createElement("div",{className:o.root},ft.createElement(Lb,c({variant:"determinate",value:100,className:o.back,size:i,thickness:3},r)),ft.createElement(Lb,c({variant:"indeterminate",disableShrink:!0,className:o.front,size:i,thickness:3},r)))}var Gw=["cancel","translator"],Zw=["retry","translator"],Xw=sg((function(){return{stripes:{"&::before":{position:"absolute",height:"100%",width:"100%",top:0,left:0,content:'""',backgroundSize:"14.14px 14.14px",backgroundImage:"linear-gradient(135deg, currentColor 10%, rgba(0,0,0,0) 10%, rgba(0,0,0,0) 50%, currentColor 50%, currentColor 59%, rgba(0,0,0,0) 60%, rgba(0,0,0,0) 103%)",opacity:.1}}}})),Qw=function(e){var t=e.cancel,n=e.translator,r=f(e,Gw);return ft.createElement(ft.Fragment,null,ft.createElement(nx,{container:!0,item:!0,direction:"column",alignItems:"center",spacing:2},ft.createElement(nx,{item:!0},ft.createElement(Kw,null)),ft.createElement(nx,{item:!0},ft.createElement(yb,{variant:"h6",align:"center"},n.get("Object.Update.Active")))),ft.createElement(nx,c({item:!0},r),ft.createElement(xb,{variant:"contained",onClick:t},n.get("Cancel"))))},Jw=function(e){var t=e.retry,n=e.translator,r=f(e,Zw);return ft.createElement(ft.Fragment,null,ft.createElement(nx,{item:!0},ft.createElement(Fw,{style:{fontSize:"38px"}})),ft.createElement(nx,{item:!0},ft.createElement(yb,{variant:"h6",align:"center"},n.get("Object.Update.Cancelled"))),ft.createElement(nx,{item:!0},ft.createElement(xb,c({variant:"contained",onClick:t},r),n.get("Retry"))))};function Yw(e){var t=e.canCancel,n=e.canRetry,r=e.api,o=Xw(),i=o.stripes,a=o.cancel,l=o.retry,s=Oe.exports.useContext(Cg).translator;return ft.createElement(nx,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",className:i,style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},t&&ft.createElement(Qw,{cancel:r.cancel,translator:s,className:a}),n&&ft.createElement(Jw,{retry:r.retry,translator:s,className:l}))}function eS(){return ft.createElement(nx,{container:!0,direction:"column",alignItems:"center",justifyContent:"center",style:{position:"absolute",width:"100%",height:"100%",left:0,top:0},spacing:2},ft.createElement(Kw,{size:"large"}))}var tS="njs-cell-title",nS="njs-cell-sub-title",rS=sg((function(e){return{containerStyle:{flexGrow:0},containerTitleStyle:{paddingBottom:e.spacing(1)}}})),oS=function(e){var t=e.layout,n=e.sn,r=e.anchorEl,o=e.hovering,i=e.focusHandler,a=t.showTitles&&!!t.title,l=t.showTitles&&!!t.subtitle,s=t.qSelectionInfo&&t.qSelectionInfo.qInSelections,u=d(Oe.exports.useState([]),2),c=u[0],f=u[1],h=rS(),m=h.containerStyle,v=h.containerTitleStyle,g=d(Ax(),2),y=g[0],b=g[1],x=d(Oe.exports.useState(!1),2),E=x[0],w=x[1];Oe.exports.useEffect((function(){n&&n.component&&n.component.isHooked&&n.component.observeActions((function(e){f([].concat(p(e),p(n&&n.selectionToolbar&&n.selectionToolbar.items||[])))}))}),[n]),Oe.exports.useEffect((function(){if(b){var e=b.width;w(e<221)}}),[b]);var S=a||l,C=[m].concat(p(S?[v]:[])),k=(o||s)&&(E||!S),L=S&&!k&&!E,R=ft.createElement(NE,{show:L,selections:{show:s,api:n.component.selections,onKeyDeactivate:i.refocusContent},actions:c,popover:{show:k,anchorEl:r},focusHandler:i});return ft.createElement(nx,{ref:y,item:!0,container:!0,wrap:"nowrap",className:C.join(" ")},ft.createElement(nx,{item:!0,zeroMinWidth:!0,xs:!0},ft.createElement(nx,{container:!0,wrap:"nowrap",direction:"column"},a&&ft.createElement(yb,{variant:"h6",noWrap:!0,className:tS},t.title),l&&ft.createElement(yb,{variant:"body2",noWrap:!0,className:nS},t.subtitle))),ft.createElement(nx,{item:!0},R))},iS="njs-cell-footer",aS=sg((function(e){return{itemStyle:{minWidth:0,paddingTop:e.spacing(1)}}})),lS=function(e){var t=e.layout,n=aS().itemStyle;return t&&t.showTitles&&t.footnote?ft.createElement(nx,{container:!0},ft.createElement(nx,{item:!0,className:n},ft.createElement(yb,{noWrap:!0,variant:"body2",className:iS},t.footnote))):null},sS=function(){function e(){a(this,e),this.timer=null,this.next=null,this.running=!1}var t;return s(e,[{key:"start",value:function(){this.running||(this.running=!0,this.scheduleNext())}},{key:"scheduleNext",value:function(){var e=this;this.timer=setTimeout((function(){e.doNext()}),10)}},{key:"doNext",value:(t=i(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.next,this.next=null,!t){e.next=8;break}return e.next=5,t();case 5:this.scheduleNext(),e.next=9;break;case 8:this.stop();case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"schedule",value:function(e){this.next=e,this.start()}},{key:"stop",value:function(){this.running&&(clearTimeout(this.timer),this.timer=null,this.running=!1)}}]),e}(),uS="njs-viz",cS=function(e){var t=e.sn,r=e.snOptions,o=e.snPlugins,i=e.layout,a=e.appLayout,l=e.halo,s=t.component,u=Oe.exports.useContext(Cg),c=u.theme,f=u.language,p=u.constraints,h=u.keyboardNavigation,m=d(Oe.exports.useState((function(){return new sS})),1)[0],v=d(Oe.exports.useState(!1),2),g=v[0],y=v[1],b=d(Oe.exports.useState(0),2),x=b[0],E=b[1],w=d(Ax(),3),S=w[0],C=w[1],k=w[2],L=d(Oe.exports.useState(null),2),R=L[0],O=L[1],_=Oe.exports.useCallback((function(e){e&&O(e)}),[]);return Oe.exports.useEffect((function(){if(R)return s.created({options:r}),s.mounted(R),y(!0),function(){m.stop(),s.willUnmount()}}),[R,s]),Oe.exports.useEffect((function(){g&&R&&C&&(!s.isHooked&&i&&i.qSelectionInfo&&i.qSelectionInfo.qInSelections||m.schedule((function(){var e=[];return p.passive||e.push("passive"),p.active||e.push("interact"),p.select||e.push("select"),l.app&&l.app.session&&e.push("fetch"),Promise.resolve(s.render({layout:i,options:r,plugins:o,embed:l.public.nebbie,context:n({constraints:p,theme:l.public.theme,appLayout:a,keyboardNavigation:h},s.isHooked?{}:{logicalSize:t.logicalSize({layout:i}),localeInfo:(a||{}).qLocaleInfo,permissions:e})})).then((function(e){!1!==e&&(0===x&&"function"==typeof r.onInitialRender&&r.onInitialRender.call(null),E(x+1))}))})))}),[C,r,o,R,k,i,a,c,f,p,g,h]),ft.createElement("div",{ref:S,"data-render-count":x,style:{position:"relative",height:"100%"},className:uS},ft.createElement("div",{ref:_,style:{position:"absolute",width:"100%",height:"100%"}}))},fS="njs-cell",dS=function(e,t){switch(t.type){case"LOADING":return n(n({},e),{},{loading:!0});case"LOADED":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null,sn:t.sn,visualization:t.visualization});case"RENDER":return n(n({},e),{},{loaded:!0,loading:!1,longRunningQuery:!1,error:null});case"LONG_RUNNING_QUERY":return n(n({},e),{},{longRunningQuery:!0});case"ERROR":return n(n({},e),{},{loading:!1,longRunningQuery:!1,error:t.error});default:throw new Error("Unhandled type: ".concat(t.type))}},pS=function(e){var t=e.delay,n=void 0===t?750:t,r=d(Oe.exports.useState(!1),2),o=r[0],i=r[1];return Oe.exports.useEffect((function(){var e=setTimeout((function(){return i(!0)}),n);return function(){return clearTimeout(e)}}),[]),o?ft.createElement(eS,null):null},hS=function(e){var t=e.sn,n=e.layout,r=e.model,o=t&&t.component&&t.component.selections;if(o&&o.id&&r.id&&o.id===r.id){if(n&&n.qSelectionInfo&&n.qSelectionInfo.qInSelections&&!o.isModal()){var i=t.generator.qae.data.targets[0].propertyPath;o.goModal(i)}n.qSelectionInfo&&n.qSelectionInfo.qInSelections||o.isModal()&&o.noModal()}},mS=function(e){return!e.qError||7005===e.qError.qErrorCode},vS=function(e,t,n,r,o){return p(Array(e).keys()).map((function(e){var i=!(!t||!t[e]),a=i&&t[e].qError&&7005===t[e].qError.qErrorCode,l=i&&!a&&t[e].qError,s=a&&t[e].qCalcCondMsg,u="".concat(l?r:a?s||o:i&&t[e].qFallbackTitle||""),c=n(e);return{description:c?"".concat(c).concat(u.length?":":""):null,label:u,missing:t&&!i&&!l&&e>=t.length||a,error:l}}))},gS=function(e){return e&&(Array.isArray(e)?e:[e])||[]},yS=function(e,t,n,r){var o=r.dimensions.min(),i=r.measures.min(),a=r.resolveLayout(t);return{reqDimErrors:vS(o,gS(a.qDimensionInfo),(function(e){return r.dimensions.description(n,e)}),e.get("Visualization.Invalid.Dimension"),e.get("Visualization.UnfulfilledCalculationCondition")),reqMeasErrors:vS(i,gS(a.qMeasureInfo),(function(e){return r.measures.description(n,e)}),e.get("Visualization.Invalid.Measure"),e.get("Visualization.UnfulfilledCalculationCondition"))}},bS=function(e,t,n){for(var r=!1,o=0,i=0,a=!1,l=!1,s=[],u=0;u<t.length;++u){var c=t[u],f=c.dimensions.min(),d=c.measures.min(),p=c.resolveLayout(n),h=gS(p.qDimensionInfo).filter(mS),m=gS(p.qMeasureInfo).filter(mS);if(o+=f,i+=d,(h.length<f||m.length<d)&&(r=!0),p.qError){a=!0;var v=(l=7005===p.qError.qErrorCode)&&p.qCalcCondMsg?p.qCalcCondMsg:l?e.get("Visualization.UnfulfilledCalculationCondition"):e.get("Visualization.LayoutError");s.push({title:v,descriptions:[]})}}return{hasUnfulfilledErrors:r,aggMinD:o,aggMinM:i,hasLayoutErrors:a,layoutErrors:s}},xS=function(){var e=i(regeneratorRuntime.mark((function e(t,n,r,o){var i,a,l,s,u,c,f,d,h,m,v,g,y,b,x,E,w,S,C,k,L,R;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i=r.targets,a=bS(t,i,n),l=a.hasUnfulfilledErrors,s=a.aggMinD,u=a.aggMinM,c=a.hasLayoutErrors,f=a.layoutErrors,d=[],h=[],m=null,v=0;case 6:if(!(v<i.length)){e.next=22;break}if(g=i[v],c||!l){e.next=19;break}if(e.t0=m,e.t0){e.next=14;break}return e.next=13,o.getProperties();case 13:e.t0=e.sent;case 14:y=e.t0,m=y,b=yS(t,n,y,g),d.push.apply(d,p(b.reqDimErrors)),h.push.apply(h,p(b.reqMeasErrors));case 19:++v,e.next=6;break;case 22:return x=d.filter((function(e){return!(e.missing||e.error)})).length,E=t.get("Visualization.Incomplete.Dimensions",[x,s]),w=h.filter((function(e){return!(e.missing||e.error)})).length,S=t.get("Visualization.Incomplete.Measures",[w,u]),C=[{title:E,descriptions:[].concat(d)},{title:S,descriptions:[].concat(h)}],k=c||l,L=c?f:C,R=c?f[0].title:t.get("Visualization.Incomplete"),e.abrupt("return",[k,{title:R,data:L}]);case 31:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}(),ES=function(){var e=i(regeneratorRuntime.mark((function e(t){var n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.types,r=t.name,o=t.version,e.next=3,n.get({name:r,version:o}).supernova();case 3:return i=e.sent,e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),wS=function(){var e=i(regeneratorRuntime.mark((function e(t){var n,r,o,i,a,l,s,u,c,f,d;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.dispatch,r=t.types,o=t.visualization,i=t.version,a=t.model,l=t.app,s=t.selections,u=t.nebbie,c=t.focusHandler,e.prev=1,e.next=4,ES({types:r,name:o,version:i});case 4:return f=e.sent,d=f.create({model:a,app:l,selections:s,nebbie:u,focusHandler:c}),e.abrupt("return",d);case 9:e.prev=9,e.t0=e.catch(1),n({type:"ERROR",error:{title:e.t0.message}});case 12:return e.abrupt("return",void 0);case 13:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t){return e.apply(this,arguments)}}(),SS=Oe.exports.forwardRef((function(e,t){var r,o=e.halo,a=e.model,l=e.initialSnOptions,s=e.initialSnPlugins,u=e.initialError,c=e.onMount,f=e.currentId,p=o.app,h=o.types,m=o.public.nebbie,v=Oe.exports.useContext(Cg),g=v.translator,y=v.language,b=v.keyboardNavigation,x=im(),E=d(Ax(),3),w=E[0],S=E[1],C=E[2],k=d(Oe.exports.useReducer(dS,{loading:!1,loaded:!1,longRunningQuery:!1,error:(r=u)?{title:r.message}:null,sn:null,visualization:null}),2),L=k[0],R=k[1],O=d(Gg(a),3),_=O[0],I=O[1],P=I.validating,T=I.canCancel,N=I.canRetry,q=O[2],M=d(Zg(p),1)[0],D=d(Ax(),3),A=D[0],z=D[1],j=D[2],F=d(Oe.exports.useState(l),2),B=F[0],U=F[1],H=d(Oe.exports.useState(s),2),W=H[0],V=H[1],$=d(jE(p,a),1)[0],K=d(Oe.exports.useState(!1),2),G=K[0],Z=K[1],X=Oe.exports.useRef({enter:null,leave:null}),Q=Oe.exports.useRef({focusToolbarButton:function(e){this.emit(e?"focus_toolbar_last":"focus_toolbar_first")}});Oe.exports.useEffect((function(){zE(Q.current)}),[]),Q.current.blurCallback=function(e){o.root.toggleFocusOfCells(),e&&j&&j.focus()},Q.current.refocusContent=function(){L.sn.component&&"function"==typeof L.sn.component.focus&&L.sn.component.focus()};Oe.exports.useEffect((function(){if(!u&&M&&_){var e=function(){var e=i(regeneratorRuntime.mark((function e(t){var n,r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xS(g,_,t.generator.qae.data,a);case 2:n=e.sent,r=d(n,2),o=r[0],i=r[1],R(o?{type:"ERROR",error:i}:{type:"RENDER"}),hS({sn:L.sn,layout:_,model:a});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),t=function(){var e=i(regeneratorRuntime.mark((function e(t,n){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return R({type:"LOADING"}),e.next=3,wS({dispatch:R,types:h,visualization:t,version:n,model:a,app:p,selections:$,nebbie:m,focusHandler:Q.current});case 3:return(r=e.sent)&&(R({type:"LOADED",sn:r,visualization:t}),c()),e.abrupt("return",void 0);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();if(L.visualization===_.visualization&&L.sn)e(L.sn);else{var n=h.getSupportedVersion(_.visualization,_.version);if(n)return t(_.visualization,n),function(){};R({type:"ERROR",error:{title:"Could not find a version of '".concat(_.visualization,"' that supports current object version. Did you forget to register ").concat(_.visualization,"?")}})}}}),[h,L.sn,a,_,M,y]),Oe.exports.useEffect((function(){if(P){var e=setTimeout((function(){return R({type:"LONG_RUNNING_QUERY"})}),2e3);return function(){return clearTimeout(e)}}}),[P]),Oe.exports.useImperativeHandle(t,(function(){return{getQae:function(){return L.sn.generator.qae},toggleFocus:function(e){"function"==typeof L.sn.component.focus&&(e?L.sn.component.focus():L.sn.component.blur())},setSnOptions:U,setSnPlugins:V,takeSnapshot:function(){return i(regeneratorRuntime.mark((function e(){var t,n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=S.width,n=S.height,r=JSON.parse(JSON.stringify(_)),"function"!=typeof L.sn.component.setSnapshotData){e.next=9;break}return e.next=5,L.sn.component.setSnapshotData(r);case 5:if(e.t0=e.sent,e.t0){e.next=8;break}e.t0=r;case 8:r=e.t0;case 9:return e.abrupt("return",{key:String(+Date.now()),meta:{language:g.language(),theme:x.name,appLayout:M,size:{width:Math.round(t),height:Math.round(n)}},layout:r});case 10:case"end":return e.stop()}}),e)})))()},exportImage:function(){var e=this;return i(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"==typeof o.config.snapshot.capture){t.next=2;break}throw new Error("Stardust embed has not been configured with snapshot.capture callback");case 2:return t.next=4,e.takeSnapshot();case 4:return n=t.sent,t.abrupt("return",o.config.snapshot.capture(n));case 6:case"end":return t.stop()}}),t)})))()}}}),[L.sn,z,S,_,x.name,M]);var J=null;return L.loading&&!L.longRunningQuery?J=ft.createElement(pS,null):L.error?J=ft.createElement(Hw,L.error):L.loaded&&(J=ft.createElement(cS,{key:_.visualization,sn:L.sn,halo:o,snOptions:B,snPlugins:W,layout:_,appLayout:M})),ft.createElement(nb,{style:{position:"relative",width:"100%",height:"100%",overflow:"hidden"},elevation:0,square:!0,className:fS,ref:w,onMouseEnter:function(){X.current.leave&&clearTimeout(X.current.leave),X.enter||(X.current.enter=setTimeout((function(){Z(!0),X.current.enter=null}),250))},onMouseLeave:function(){X.current.enter&&clearTimeout(X.current.enter),X.current.leave||(X.current.leave=setTimeout((function(){Z(!1),X.current.leave=null}),750))}},ft.createElement(nx,{container:!0,direction:"column",spacing:0,style:n({position:"relative",width:"100%",height:"100%",padding:x.spacing(1)},L.longRunningQuery?{opacity:"0.3"}:{})},C&&_&&L.sn&&ft.createElement(oS,{layout:_,sn:L.sn,anchorEl:C,hovering:G,focusHandler:Q.current}," "),ft.createElement(nx,{tabIndex:b?0:-1,onKeyDown:b?function(e){["Enter"," ","Spacebar"].includes(e.key)&&o.root.toggleFocusOfCells(f)}:null,item:!0,xs:!0,style:{height:"100%"},ref:A},J),ft.createElement(lS,{layout:_})),L.longRunningQuery&&ft.createElement(Yw,{canCancel:T,canRetry:N,api:q}))}));function CS(e){var t=e.halo,n=e.element,r=e.model,o=e.initialSnOptions,i=e.initialSnPlugins,a=e.onMount,l=e.initialError,s=t.root,u=ft.createRef(),c=bw(),f=xf.createPortal(ft.createElement(SS,{ref:u,halo:t,model:r,currentId:c,initialSnOptions:o,initialSnPlugins:i,initialError:l,onMount:a}),n,r.id),d=function e(){s.remove(f),r.removeListener("closed",e)};return r.on("closed",d),s.add(f),s.addCell(c,u),[d,u]}function kS(e){return null!=e&&!Array.isArray(e)&&"object"===r(e)}function LS(e,t){return kS(e)&&kS(t)?JSON.stringify(e)===JSON.stringify(t):!Array.isArray(e)&&!Array.isArray(t)&&e===t}function RS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,o=[];return Object.keys(t).forEach((function(i){var a=t[i];"object"!==r(n[i])||"object"!==r(a)||Array.isArray(a)?LS(a,n[i])||o.push({qPath:e+i,qOp:"add",qValue:JSON.stringify(t[i])}):o.push.apply(o,p(RS("".concat(e).concat(i,"/"),t[i],n[i])))})),o}function OS(e){if(!Array.isArray(e))throw new Error("Invalid plugin format: plugins should be an array!");e.forEach((function(e){if("object"!==r(e))throw new Error("Invalid plugin format: a plugin should be an object");if("object"!==r(e.info)||"string"!=typeof e.info.name)throw new Error("Invalid plugin format: a plugin should have an info object containing a name");if("function"!=typeof e.fn)throw new Error('Invalid plugin format: The plugin "'.concat(e.info.name,'" has no "fn" function'))}))}var _S=function(){};function IS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.model,r=e.halo,o=e.initialError,a=e.onDestroy,l=void 0===a?i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))):a,s=_S,u=null,c=null,f=null,p=new Promise((function(e){f=e})),h={},m=[],v=function(){var e=i(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:c?i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p;case 2:u.current.setSnOptions(n(n({},h),t));case 3:case"end":return e.stop()}}),e)})))():h=n(n({},h),t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),g=function(){var e=i(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:OS(t),c?i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p;case 2:u.current.setSnPlugins(t);case 3:case"end":return e.stop()}}),e)})))():m=t;case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),y={id:t.id,destroy:function(){return i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:s(),s=_S;case 4:case"end":return e.stop()}}),e)})))()},convertTo:function(e){var n=arguments;return i(regeneratorRuntime.mark((function o(){var i,a;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=!(n.length>1&&void 0!==n[1])||n[1],o.next=3,zw({halo:r,model:t,cellRef:u,newType:e});case 3:if(a=o.sent,!i){o.next=12;break}if(!t.__snInterceptor){o.next=10;break}return o.next=8,t.__snInterceptor.setProperties.call(t,a.qProperty);case 8:o.next=12;break;case 10:return o.next=12,t.setProperties(a.qProperty);case 12:return o.abrupt("return",a);case 13:case"end":return o.stop()}}),o)})))()},__DO_NOT_USE__:{mount:function(e){if(c)throw new Error("Already mounted");c=e;var n=d(CS({halo:r,element:e,model:t,initialSnOptions:h,initialSnPlugins:m,initialError:o,onMount:f}),2);return s=n[0],u=n[1],p},applyProperties:function(e){return i(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,t.getEffectiveProperties();case 2:if(r=n.sent,!(o=RS("/",e,r)).length){n.next=6;break}return n.abrupt("return",t.applyPatches(o,!0));case 6:return n.abrupt("return",void 0);case 7:case"end":return n.stop()}}),n)})))()},options:function(e){v(e)},plugins:function(e){g(e)},exportImage:function(){return u.current.exportImage()},takeSnapshot:function(){return u.current.takeSnapshot()}}};return y}function PS(e,t,n,r){return TS.apply(this,arguments)}function TS(){return(TS=i(regeneratorRuntime.mark((function e(t,n,r,o){var a,l,s=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=s.length>4&&void 0!==s[4]?s[4]:i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),l=IS({model:t,halo:r,initialError:o,onDestroy:a}),n.options&&l.__DO_NOT_USE__.options(n.options),n.plugins&&l.__DO_NOT_USE__.plugins(n.plugins),!n.element){e.next=7;break}return e.next=7,l.__DO_NOT_USE__.mount(n.element);case 7:return e.abrupt("return",l);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function NS(e,t){return qS.apply(this,arguments)}function qS(){return(qS=i(regeneratorRuntime.mark((function e(t,n){var r,o,a,l,s,u,c,f,d,p,h,m,v,g;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.type,o=t.version,a=t.fields,l=t.properties,s=t.options,u=t.plugins,c=t.element,f={},e.prev=2,p=n.types.get({name:r,version:o}),e.next=6,p.initialProperties(l);case 6:return f=e.sent,e.next=9,p.supernova();case 9:h=e.sent,a&&ww({sn:h,properties:f,fields:a}),l&&h&&h.qae.properties.onChange&&h.qae.properties.onChange.call({},f),e.next=18;break;case 14:e.prev=14,e.t0=e.catch(2),d=e.t0,f={qInfo:{qType:r},visualization:r};case 18:return e.next=20,n.app.createSessionObject(f);case 20:return m=e.sent,Wg.set(m.id,m),v=Vg(m),g=function(){var e=i(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.app.destroySessionObject(m.id);case 2:v();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),e.abrupt("return",PS(m,{options:s,plugins:u,element:c},n,d,g));case 25:case"end":return e.stop()}}),e,null,[[2,14]])})))).apply(this,arguments)}function MS(e,t){return DS.apply(this,arguments)}function DS(){return(DS=i(regeneratorRuntime.mark((function e(t,n){var r,o,i,a,l,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,o=t.options,i=t.plugins,a=t.element,l="".concat(r),(s=Dg.get(l))||(s=n.app.getObject(r),Dg.set(l,s)),e.next=6,s;case 6:return u=e.sent,Wg.set(l,u),e.abrupt("return",PS(u,{options:o,plugins:i,element:a},n));case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function AS(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{isEnabled:function(t){return!0===e[t]}}}var zS=T.bind(null,!0),jS={},FS=Array.isArray;function BS(e){return null!=e&&!Array.isArray(e)&&"object"===r(e)}function US(e){return void 0===e}function HS(e,t){return function(e){return"function"==typeof e}(e[t])||"$$"===t.substring(0,2)||"_"===t.substring(0,1)}function WS(e,t){var n,r=t.substring(1).split("/").slice(0,-1);return r.forEach((function(t,o){if(o!==r.length){n=+t;var i=isNaN(n)?{}:[];e[n||t]=US(e[n||t])?i:e[t],e=e[n||t]}})),e}function VS(e,t){var n=!0;if(BS(e)&&BS(t))return Object.keys(e).length===Object.keys(t).length&&(Object.keys(e).forEach((function(r){VS(e[r],t[r])||(n=!1)})),n);if(FS(e)&&FS(t)){if(e.length!==t.length)return!1;for(var r=0,o=e.length;r<o;r+=1)if(!VS(e[r],t[r]))return!1;return!0}return e===t}jS.generate=function(e,t,n){n=n||"";var r=[];return Object.keys(t).forEach((function(o){var i=function(e){return e?zS({},{val:e}).val:e}(t[o]),a=e[o],l="".concat(n,"/").concat(o);VS(i,a)||HS(t,o)||(US(a)?r.push({op:"add",path:l,value:i}):BS(i)&&BS(a)?r=r.concat(jS.generate(a,i,l)):FS(i)&&FS(a)?r=r.concat(function(e,t,n){var r=[],o=e.slice(),i=-1;function a(e,t,n){if(e[n]&&US(e[n].qInfo))return null;if(e[n]&&e[n].qInfo.qId===t)return n;for(var r=0,o=e.length;r<o;r+=1)if(e[r]&&e[r].qInfo.qId===t)return r;return-1}if(VS(t,o))return r;if(!US(t[0])&&US(t[0].qInfo))return r.push({op:"replace",path:n,value:t}),r;for(var l=o.length-1;l>=0;l-=1)-1===(i=a(t,o[l].qInfo&&o[l].qInfo.qId,l))?(r.push({op:"remove",path:"".concat(n,"/").concat(l)}),o.splice(l,1)):r=r.concat(jS.generate(o[l],t[i],"".concat(n,"/").concat(l)));for(var s=0,u=t.length;s<u;s+=1)-1===(i=a(o,t[s].qInfo&&t[s].qInfo.qId))?(r.push({op:"add",path:"".concat(n,"/").concat(s),value:t[s]}),o.splice(s,0,t[s])):i!==s&&(r.push({op:"move",path:"".concat(n,"/").concat(s),from:"".concat(n,"/").concat(i)}),o.splice(s,0,o.splice(i,1)[0]));return r}(a,i,l)):r.push({op:"replace",path:"".concat(n,"/").concat(o),value:i}))})),Object.keys(e).forEach((function(o){US(t[o])&&!HS(e,o)&&r.push({op:"remove",path:"".concat(n,"/").concat(o)})})),r},jS.apply=function(e,t){t.forEach((function(t){var n,r=WS(e,t.path),o=t.path.split("/").splice(-1)[0],i=o&&isNaN(+o)?r[o]:r[+o]||r,a=t.from?t.from.split("/").splice(-1)[0]:null;if("/"===t.path&&(r=null,i=e),"add"===t.op||"replace"===t.op)if(FS(r))"-"===o&&(o=r.length),r.splice(+o,"add"===t.op?0:1,t.value);else if(FS(i)&&FS(t.value)){var l,s=t.value.slice();i.length=0,(l=i).push.apply(l,p(s))}else if(BS(i)&&BS(t.value))n=i,Object.keys(n).forEach((function(e){Object.getOwnPropertyDescriptor(n,e).configurable&&!HS(n,e)&&delete n[e]})),zS(i,t.value);else{if(!r)throw new Error("Patchee is not an object we can patch");r[o]=t.value}else if("move"===t.op){var u=WS(e,t.from);FS(r)?r.splice(+o,0,u.splice(+a,1)[0]):(r[o]=u[a],delete u[a])}else"remove"===t.op&&(FS(r)?r.splice(+o,1):delete r[o])}))},jS.clone=function(e){return zS({},e)},jS.createPatch=function(e,t,n){var r={op:e.toLowerCase(),path:n};return"move"===r.op?r.from=t:void 0!==t&&(r.value=t),r},jS.updateObject=function(e,t){Object.keys(e).length?jS.apply(e,jS.generate(e,t)):zS(e,t)};var $S,KS,GS=function(e){return function(t){var r,o=(r=n(n({},t),{},{action:function(){"function"==typeof t.action&&t.action.call(o,e),o.emit("changed")},enabled:function(){return"function"!=typeof t.enabled||t.enabled.call(o,e)},active:"function"==typeof t.active?function(){return t.active.call(o,e)}:void 0}),Object.keys(S.prototype).forEach((function(e){r[e]=S.prototype[e]})),S.init(r),r);return o}};function ZS(e,t){if(!e)return!0;if(t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(e[n]!==t[n])return!0;return!1}function XS(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.explicitResize,r=void 0!==n&&n;e.__hooks={obsolete:!1,error:!1,waitForData:!1,chain:{promise:null,resolve:function(){}},list:[],snaps:[],actions:{list:[]},pendingEffects:[],pendingLayoutEffects:[],pendingPromises:[],resizer:{setters:[],explicitResize:r},accessibility:{setter:null}}}function QS(e){eC(e.__hooks.list,!0),e.__hooks.obsolete=!0,e.__hooks.list.length=0,e.__hooks.pendingEffects.length=0,e.__hooks.pendingLayoutEffects.length=0,e.__hooks.actions=null,e.__hooks.imperativeHandle=null,e.__hooks.resizer=null,e.__hooks.accessibility=null,e.__actionsDispatch=null,clearTimeout(e.__hooks.micro),cancelAnimationFrame(e.__hooks.macro)}function JS(e){return YS.apply(this,arguments)}function YS(){return(YS=i(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.__hooks.obsolete){e.next=2;break}return e.abrupt("return",Promise.resolve());case 2:KS=-1,($S=t).__hooks.initiated&&$S.__hooks.list.length;try{$S.fn.call(null)}catch(e){console.error(e)}return $S.__hooks.initiated=!0,n=$S.__hooks,oC($S),KS=void 0,$S=void 0,n.chain.promise||(n.chain.promise=new Promise((function(e){n.chain.resolve=e}))),tC(n),lC(n),e.abrupt("return",n.chain.promise);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function eC(e,t){try{e.forEach((function(e){"function"==typeof e.teardown&&e.teardown(),t||(e.teardown=e.value[0]())}))}catch(e){console.error(e)}e.length=0}function tC(e){eC(e.pendingLayoutEffects)}function nC(e,t){try{return Promise.all(e.__hooks.snaps.map((function(e){return Promise.resolve(e.fn(t))}))).then((function(e){return e[e.length-1]}))}catch(e){console.error(e)}return Promise.resolve()}function rC(e){return e.__hooks.imperativeHandle}function oC(e){e.__actionsDispatch&&e.__hooks.actions.changed&&(e.__actionsDispatch(e.__hooks.actions.list.slice()),e.__hooks.actions.changed=!1)}function iC(e,t){e.__actionsDispatch=t,e.__hooks&&(e.__hooks.actions.changed=!0,oC(e))}function aC(e){if(void 0===$S)throw new Error("Invalid stardust hook call. Hooks can only be called inside a visualization component.");var t=$S.__hooks;return e>=t.list.length&&t.list.push({}),t.list[e]}function lC(e){e.macro||(e.macro=requestAnimationFrame((function(){!function(e){eC(e.pendingEffects),e.macro=null,function(e){e.pendingPromises.length||e.micro||e.macro||(e.chain.promise=null,e.chain.resolve(!e.waitForData))}(e)}(e)})))}function sC(e){return aC(++KS),$S.context[e]}function uC(e){e.__hooks&&(e.__hooks.resizer.update=!0)}function cC(e){return{__hooked:!0,fn:e,initiate:XS,run:JS,teardown:QS,runSnaps:nC,focus:vC,blur:gC,observeActions:iC,getImperativeHandle:rC,updateRectOnNextRun:uC}}function fC(e){var t=aC(++KS);if(!t.value){t.component=$S;t.value=["function"==typeof e?e():e,function(e){if(!t.component.__hooks.obsolete){var n,r="function"==typeof e?e(t.value[0]):e;r!==t.value[0]&&(t.value[0]=r,(n=t.component).__hooks.micro||(n.__hooks.micro=setTimeout((function(){n.__hooks.micro=null,JS(n)}),0)))}}]}return t.value}function dC(e,t){var n=aC(++KS);ZS(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],-1===$S.__hooks.pendingEffects.indexOf(n)&&$S.__hooks.pendingEffects.push(n))}function pC(e,t){var n=aC(++KS);ZS(n.value?n.value[1]:void 0,t)&&(n.value=[e,t],$S.__hooks.pendingLayoutEffects.push(n))}function hC(e,t){var n=aC(++KS);return ZS(n.value?n.value[0]:void 0,t)&&(n.value=[t,e()]),n.value[1]}function mC(){return sC("element")}function vC(e){var t=e.__hooks.accessibility;t.active||(t.active=!0,t&&t.setter&&t.setter({active:!0,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}function gC(e){var t=e.__hooks.accessibility;t&&t.active&&(t.active=!1,t&&t.setter&&t.setter({active:!1,enabled:t.enabled,blur:t.exitFunction,focus:t.focusFunction,focusSelection:t.focusSelectionFunction}))}var yC={app:null,model:null,actions:null,selections:null,created:function(){},mounted:function(){},render:function(){},resize:function(){},willUnmount:function(){},destroy:function(){},emit:function(){},getViewState:function(){},observeActions:function(){},setSnapshotData:function(e){return Promise.resolve(e)}},bC=Object.keys(yC);function xC(e,t){var r,o=n({},yC);r=o,Object.keys(S.prototype).forEach((function(e){r[e]=S.prototype[e]})),S.init(r);var i={emit:function(){o.emit.apply(o,arguments)}};Object.keys(e.component||{}).forEach((function(t){-1!==bC.indexOf(t)?o[t]=e.component[t].bind(i):i[t]=e.component[t]}));var a=function(e){var t=e.sn,n=e.component,r={},o=[],i=GS(n);return((t.definition.selectionToolbar||{}).items||[]).forEach((function(e){var t=i(e);r[e.key]=t,o.push(t)})),(t.definition.actions||[]).forEach((function(e){var t=i(e);r[e.key]=t})),{actions:r,selectionToolbarItems:o,destroy:function(){o.length=0}}}({sn:e,component:i}),l=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):null;return Object.assign(i,{model:t.model,app:t.app,global:l,selections:t.selections,actions:a.actions}),Object.assign(o,{actions:a.actions,model:t.model,app:t.app,selections:t.selections}),[o,a]}function EC(e,t,r){"function"==typeof e.component&&(e.component=cC(e.component));var o=d(e.component&&e.component.__hooked?function(e,t,r){var o=t.app&&t.app.session?t.app.session.getObjectApi({handle:-1}):void 0,i=!1,a={},l=["appLayout","constraints"],s={};t.model&&t.model.session||(s.select=!0);var u={context:{model:t.model,app:t.app,global:o,selections:t.selections,nebbie:t.nebbie,element:void 0,deviceType:r.deviceType,theme:void 0,translator:r.translator,layout:{},appLayout:{},keyboardNavigation:t.keyboardNavigation,focusHandler:t.focusHandler,constraints:s,options:{},plugins:[]},fn:e.component.fn,created:function(){},mounted:function(n){this.context.element=n,e.component.initiate(u,{explicitResize:!!t.explicitResize})},render:function(t){var r=this,o=!i||!1;if(t){if(t.layout&&t.layout!==this.context.layout&&(o=!0,this.context.layout=t.layout),t.context&&t.context.theme&&(this.context.theme=t.context.theme),t.context&&!!t.context.keyboardNavigation!=!!this.context.keyboardNavigation&&(this.context.keyboardNavigation=!!t.context.keyboardNavigation,o=!0),t.context&&t.context.focusHandler&&(this.context.focusHandler=t.context.focusHandler),t.options){var c={},f=!1;Object.keys(t.options).forEach((function(e){c[e]=t.options[e],r.context.options[e]!==t.options[e]&&(f=!0)})),f&&(this.context.options=c,o=!0)}if(t.plugins){var d=this.context.plugins.length!==t.plugins.length;t.plugins.forEach((function(e,t){r.context.plugins[t]!==e&&(d=!0)})),d&&(this.context.plugins=p(t.plugins),o=!0)}l.forEach((function(e){var i=t.context;if(i&&Object.prototype.hasOwnProperty.call(i,e)){var l=JSON.stringify(i[e]);"constraints"===e&&(l=JSON.stringify(n(n({},i[e]),s))),l!==a[e]&&(o=!0,a[e]=l,r.context[e]=JSON.parse(l))}}))}else o=!0;return this.context.theme&&this.context.theme.name()!==a.themeName&&(o=!0,a.themeName=this.context.theme.name()),this.context.translator.language()!==a.language&&(o=!0,a.language=u.context.translator.language()),o?(i=!0,this.currentResult=e.component.run(this),this.currentResult):this.currentResult||Promise.resolve()},resize:function(){return e.component.updateRectOnNextRun(this),this.render()},willUnmount:function(){e.component.teardown(this)},setSnapshotData:function(t){return e.component.runSnaps(this,t)},focus:function(){e.component.focus(this)},blur:function(){e.component.blur(this)},getImperativeHandle:function(){return e.component.getImperativeHandle(this)},destroy:function(){},observeActions:function(t){e.component.observeActions(this,t)},isHooked:!0};return l.forEach((function(e){a[e]=JSON.stringify(u.context[e])})),a.themeName=u.context.theme?u.context.theme.name():void 0,a.language=u.context.translator?u.context.translator.language():void 0,Object.assign(u,{selections:t.selections}),[u,null]}(e,t,r):xC(e,t),2),i=o[0],a=o[1],l=[];return t.model.__snInterceptor&&t.model.__snInterceptor.teardown(),e.qae.properties.onChange&&(t.model.__snInterceptor={setProperties:t.model.setProperties,applyPatches:t.model.applyPatches,teardown:void 0},t.model.setProperties=function(){for(var n,r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(n=e.qae.properties.onChange).call.apply(n,[{model:t.model}].concat(i)),(r=t.model.__snInterceptor.setProperties).call.apply(r,[this].concat(i))},t.model.applyPatches=function(n,r){var o=this,i=r?"getEffectiveProperties":"getProperties";return t.model[i]().then((function(i){var a=jS.clone(i),l=n.map((function(e){return{op:e.qOp,value:JSON.parse(e.qValue),path:e.qPath}}));jS.apply(i,l),e.qae.properties.onChange.call({model:t.model},i);var s=jS.generate(a,i).map((function(e){return{qOp:e.op,qValue:JSON.stringify(e.value),qPath:e.path}}));return t.model.__snInterceptor.applyPatches.call(o,s,r)}))},t.model.__snInterceptor.teardown=function(){t.model.setProperties=t.model.__snInterceptor.setProperties,delete t.model.__snInterceptor},l.push(t.model.__snInterceptor.teardown)),{generator:e,component:i,selectionToolbar:{items:a?a.selectionToolbarItems:[]},destroy:function(){l.forEach((function(e){return e()}))},logicalSize:e.definition.logicalSize||function(){return!1}}}var wC=function(){};function SC(e,t){return void 0===e?function(){return t}:function(){return e}}function CC(e){var t=e||{};return{min:"function"==typeof t.min?t.min:SC(t.min,0),max:"function"==typeof t.max?t.max:SC(t.max,1e3),added:t.added||t.add||wC,description:t.description||wC,moved:t.moved||t.move||wC,removed:t.removed||t.remove||wC,replaced:t.replaced||t.replace||wC,isDefined:function(){return!!e}}}function kC(e){var t=e.path||"/qHyperCubeDef",n=t.slice(0,-3);if(!1===/\/(qHyperCube|qListObject)$/.test(n)){var r=n.includes("/qHyperCube")?"qHyperCubeDef":"qListObjectDef";throw new Error("Incorrect definition for ".concat(r," at ").concat(t,". Valid paths include /qHyperCubeDef or /qListObjectDef, e.g. data/qHyperCubeDef"))}return{propertyPath:t,layoutPath:n,resolveLayout:function(e){return function(e,t,n){var r=t.split("/"),o=e;if(void 0===o)return n;for(var i=0;i<r.length;++i)if(""!==r[i]){if(void 0===o[r[i]])return n;o=o[r[i]]}return o}(e,n,{})},dimensions:CC(e.dimensions),measures:CC(e.measures)}}function LC(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.properties||{};t.properties&&(t.properties.initial||t.properties.onChange)&&(n=t.properties.initial,e=t.properties.onChange);var r={properties:{initial:n,onChange:e},data:{targets:((t.data||{}).targets||[]).map(kC)},exportProperties:t.exportProperties,importProperties:t.importProperties};return r}function RC(e,t){var n,r={qae:LC((n="function"==typeof e?e(t):e).qae),component:n.component||{},create:function(e){return EC(r,e,t)},definition:{}};return Object.keys(n).forEach((function(e){r[e]||(r.definition[e]=n[e])})),r}var OC={exports:{}};!function(e,t){var n;t=e.exports=d,n="object"===("undefined"==typeof process?"undefined":r(process))&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var e=Array.prototype.slice.call(arguments,0);e.unshift("SEMVER"),console.log.apply(console,e)}:function(){},t.SEMVER_SPEC_VERSION="2.0.0";var o=Number.MAX_SAFE_INTEGER||9007199254740991,i=t.re=[],a=t.src=[],l=t.tokens={},s=0;function u(e){l[e]=s++}u("NUMERICIDENTIFIER"),a[l.NUMERICIDENTIFIER]="0|[1-9]\\d*",u("NUMERICIDENTIFIERLOOSE"),a[l.NUMERICIDENTIFIERLOOSE]="[0-9]+",u("NONNUMERICIDENTIFIER"),a[l.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",u("MAINVERSION"),a[l.MAINVERSION]="("+a[l.NUMERICIDENTIFIER]+")\\.("+a[l.NUMERICIDENTIFIER]+")\\.("+a[l.NUMERICIDENTIFIER]+")",u("MAINVERSIONLOOSE"),a[l.MAINVERSIONLOOSE]="("+a[l.NUMERICIDENTIFIERLOOSE]+")\\.("+a[l.NUMERICIDENTIFIERLOOSE]+")\\.("+a[l.NUMERICIDENTIFIERLOOSE]+")",u("PRERELEASEIDENTIFIER"),a[l.PRERELEASEIDENTIFIER]="(?:"+a[l.NUMERICIDENTIFIER]+"|"+a[l.NONNUMERICIDENTIFIER]+")",u("PRERELEASEIDENTIFIERLOOSE"),a[l.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[l.NUMERICIDENTIFIERLOOSE]+"|"+a[l.NONNUMERICIDENTIFIER]+")",u("PRERELEASE"),a[l.PRERELEASE]="(?:-("+a[l.PRERELEASEIDENTIFIER]+"(?:\\."+a[l.PRERELEASEIDENTIFIER]+")*))",u("PRERELEASELOOSE"),a[l.PRERELEASELOOSE]="(?:-?("+a[l.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[l.PRERELEASEIDENTIFIERLOOSE]+")*))",u("BUILDIDENTIFIER"),a[l.BUILDIDENTIFIER]="[0-9A-Za-z-]+",u("BUILD"),a[l.BUILD]="(?:\\+("+a[l.BUILDIDENTIFIER]+"(?:\\."+a[l.BUILDIDENTIFIER]+")*))",u("FULL"),u("FULLPLAIN"),a[l.FULLPLAIN]="v?"+a[l.MAINVERSION]+a[l.PRERELEASE]+"?"+a[l.BUILD]+"?",a[l.FULL]="^"+a[l.FULLPLAIN]+"$",u("LOOSEPLAIN"),a[l.LOOSEPLAIN]="[v=\\s]*"+a[l.MAINVERSIONLOOSE]+a[l.PRERELEASELOOSE]+"?"+a[l.BUILD]+"?",u("LOOSE"),a[l.LOOSE]="^"+a[l.LOOSEPLAIN]+"$",u("GTLT"),a[l.GTLT]="((?:<|>)?=?)",u("XRANGEIDENTIFIERLOOSE"),a[l.XRANGEIDENTIFIERLOOSE]=a[l.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",u("XRANGEIDENTIFIER"),a[l.XRANGEIDENTIFIER]=a[l.NUMERICIDENTIFIER]+"|x|X|\\*",u("XRANGEPLAIN"),a[l.XRANGEPLAIN]="[v=\\s]*("+a[l.XRANGEIDENTIFIER]+")(?:\\.("+a[l.XRANGEIDENTIFIER]+")(?:\\.("+a[l.XRANGEIDENTIFIER]+")(?:"+a[l.PRERELEASE]+")?"+a[l.BUILD]+"?)?)?",u("XRANGEPLAINLOOSE"),a[l.XRANGEPLAINLOOSE]="[v=\\s]*("+a[l.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[l.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[l.XRANGEIDENTIFIERLOOSE]+")(?:"+a[l.PRERELEASELOOSE]+")?"+a[l.BUILD]+"?)?)?",u("XRANGE"),a[l.XRANGE]="^"+a[l.GTLT]+"\\s*"+a[l.XRANGEPLAIN]+"$",u("XRANGELOOSE"),a[l.XRANGELOOSE]="^"+a[l.GTLT]+"\\s*"+a[l.XRANGEPLAINLOOSE]+"$",u("COERCE"),a[l.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",u("COERCERTL"),i[l.COERCERTL]=new RegExp(a[l.COERCE],"g"),u("LONETILDE"),a[l.LONETILDE]="(?:~>?)",u("TILDETRIM"),a[l.TILDETRIM]="(\\s*)"+a[l.LONETILDE]+"\\s+",i[l.TILDETRIM]=new RegExp(a[l.TILDETRIM],"g");u("TILDE"),a[l.TILDE]="^"+a[l.LONETILDE]+a[l.XRANGEPLAIN]+"$",u("TILDELOOSE"),a[l.TILDELOOSE]="^"+a[l.LONETILDE]+a[l.XRANGEPLAINLOOSE]+"$",u("LONECARET"),a[l.LONECARET]="(?:\\^)",u("CARETTRIM"),a[l.CARETTRIM]="(\\s*)"+a[l.LONECARET]+"\\s+",i[l.CARETTRIM]=new RegExp(a[l.CARETTRIM],"g");u("CARET"),a[l.CARET]="^"+a[l.LONECARET]+a[l.XRANGEPLAIN]+"$",u("CARETLOOSE"),a[l.CARETLOOSE]="^"+a[l.LONECARET]+a[l.XRANGEPLAINLOOSE]+"$",u("COMPARATORLOOSE"),a[l.COMPARATORLOOSE]="^"+a[l.GTLT]+"\\s*("+a[l.LOOSEPLAIN]+")$|^$",u("COMPARATOR"),a[l.COMPARATOR]="^"+a[l.GTLT]+"\\s*("+a[l.FULLPLAIN]+")$|^$",u("COMPARATORTRIM"),a[l.COMPARATORTRIM]="(\\s*)"+a[l.GTLT]+"\\s*("+a[l.LOOSEPLAIN]+"|"+a[l.XRANGEPLAIN]+")",i[l.COMPARATORTRIM]=new RegExp(a[l.COMPARATORTRIM],"g");u("HYPHENRANGE"),a[l.HYPHENRANGE]="^\\s*("+a[l.XRANGEPLAIN]+")\\s+-\\s+("+a[l.XRANGEPLAIN]+")\\s*$",u("HYPHENRANGELOOSE"),a[l.HYPHENRANGELOOSE]="^\\s*("+a[l.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[l.XRANGEPLAINLOOSE]+")\\s*$",u("STAR"),a[l.STAR]="(<|>)?=?\\s*\\*";for(var c=0;c<s;c++)n(c,a[c]),i[c]||(i[c]=new RegExp(a[c]));function f(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof d)return e;if("string"!=typeof e)return null;if(e.length>256)return null;if(!(t.loose?i[l.LOOSE]:i[l.FULL]).test(e))return null;try{return new d(e,t)}catch(e){return null}}function d(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof d){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof d))return new d(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var a=e.trim().match(t.loose?i[l.LOOSE]:i[l.FULL]);if(!a)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+a[1],this.minor=+a[2],this.patch=+a[3],this.major>o||this.major<0)throw new TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw new TypeError("Invalid patch version");a[4]?this.prerelease=a[4].split(".").map((function(e){if(/^[0-9]+$/.test(e)){var t=+e;if(t>=0&&t<o)return t}return e})):this.prerelease=[],this.build=a[5]?a[5].split("."):[],this.format()}t.parse=f,t.valid=function(e,t){var n=f(e,t);return n?n.version:null},t.clean=function(e,t){var n=f(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null},t.SemVer=d,d.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},d.prototype.toString=function(){return this.version},d.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof d||(e=new d(e,this.options)),this.compareMain(e)||this.comparePre(e)},d.prototype.compareMain=function(e){return e instanceof d||(e=new d(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)},d.prototype.comparePre=function(e){if(e instanceof d||(e=new d(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],o=e.prerelease[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return h(r,o)}while(++t)},d.prototype.compareBuild=function(e){e instanceof d||(e=new d(e,this.options));var t=0;do{var r=this.build[t],o=e.build[t];if(n("prerelease compare",t,r,o),void 0===r&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===r)return-1;if(r!==o)return h(r,o)}while(++t)},d.prototype.inc=function(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{for(var n=this.prerelease.length;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);-1===n&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw new Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this},t.inc=function(e,t,n,r){"string"==typeof n&&(r=n,n=void 0);try{return new d(e,n).inc(t,r).version}catch(e){return null}},t.diff=function(e,t){if(y(e,t))return null;var n=f(e),r=f(t),o="";if(n.prerelease.length||r.prerelease.length){o="pre";var i="prerelease"}for(var a in n)if(("major"===a||"minor"===a||"patch"===a)&&n[a]!==r[a])return o+a;return i},t.compareIdentifiers=h;var p=/^[0-9]+$/;function h(e,t){var n=p.test(e),r=p.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1}function m(e,t,n){return new d(e,n).compare(new d(t,n))}function v(e,t,n){return m(e,t,n)>0}function g(e,t,n){return m(e,t,n)<0}function y(e,t,n){return 0===m(e,t,n)}function b(e,t,n){return 0!==m(e,t,n)}function x(e,t,n){return m(e,t,n)>=0}function E(e,t,n){return m(e,t,n)<=0}function w(e,t,n,o){switch(t){case"===":return"object"===r(e)&&(e=e.version),"object"===r(n)&&(n=n.version),e===n;case"!==":return"object"===r(e)&&(e=e.version),"object"===r(n)&&(n=n.version),e!==n;case"":case"=":case"==":return y(e,n,o);case"!=":return b(e,n,o);case">":return v(e,n,o);case">=":return x(e,n,o);case"<":return g(e,n,o);case"<=":return E(e,n,o);default:throw new TypeError("Invalid operator: "+t)}}function S(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof S){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof S))return new S(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===C?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return h(t,e)},t.major=function(e,t){return new d(e,t).major},t.minor=function(e,t){return new d(e,t).minor},t.patch=function(e,t){return new d(e,t).patch},t.compare=m,t.compareLoose=function(e,t){return m(e,t,!0)},t.compareBuild=function(e,t,n){var r=new d(e,n),o=new d(t,n);return r.compare(o)||r.compareBuild(o)},t.rcompare=function(e,t,n){return m(t,e,n)},t.sort=function(e,n){return e.sort((function(e,r){return t.compareBuild(e,r,n)}))},t.rsort=function(e,n){return e.sort((function(e,r){return t.compareBuild(r,e,n)}))},t.gt=v,t.lt=g,t.eq=y,t.neq=b,t.gte=x,t.lte=E,t.cmp=w,t.Comparator=S;var C={};function k(e,t){if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),e instanceof k)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new k(e.raw,t);if(e instanceof S)return new k(e.value,t);if(!(this instanceof k))return new k(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((function(e){return this.parseRange(e.trim())}),this).filter((function(e){return e.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);this.format()}function L(e,t){for(var n=!0,r=e.slice(),o=r.pop();n&&r.length;)n=r.every((function(e){return o.intersects(e,t)})),o=r.pop();return n}function R(e){return!e||"x"===e.toLowerCase()||"*"===e}function O(e,t,n,r,o,i,a,l,s,u,c,f,d){return((t=R(n)?"":R(r)?">="+n+".0.0":R(o)?">="+n+"."+r+".0":">="+t)+" "+(l=R(s)?"":R(u)?"<"+(+s+1)+".0.0":R(c)?"<"+s+"."+(+u+1)+".0":f?"<="+s+"."+u+"."+c+"-"+f:"<="+l)).trim()}function _(e,t,r){for(var o=0;o<e.length;o++)if(!e[o].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(o=0;o<e.length;o++)if(n(e[o].semver),e[o].semver!==C&&e[o].semver.prerelease.length>0){var i=e[o].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}function I(e,t,n){try{t=new k(t,n)}catch(e){return!1}return t.test(e)}function P(e,t,n,r){var o,i,a,l,s;switch(e=new d(e,r),t=new k(t,r),n){case">":o=v,i=E,a=g,l=">",s=">=";break;case"<":o=g,i=x,a=v,l="<",s="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(I(e,t,r))return!1;for(var u=0;u<t.set.length;++u){var c=t.set[u],f=null,p=null;if(c.forEach((function(e){e.semver===C&&(e=new S(">=0.0.0")),f=f||e,p=p||e,o(e.semver,f.semver,r)?f=e:a(e.semver,p.semver,r)&&(p=e)})),f.operator===l||f.operator===s)return!1;if((!p.operator||p.operator===l)&&i(e,p.semver))return!1;if(p.operator===s&&a(e,p.semver))return!1}return!0}S.prototype.parse=function(e){var t=this.options.loose?i[l.COMPARATORLOOSE]:i[l.COMPARATOR],n=e.match(t);if(!n)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==n[1]?n[1]:"","="===this.operator&&(this.operator=""),n[2]?this.semver=new d(n[2],this.options.loose):this.semver=C},S.prototype.toString=function(){return this.value},S.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===C||e===C)return!0;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}return w(e,this.operator,this.semver,this.options)},S.prototype.intersects=function(e,t){if(!(e instanceof S))throw new TypeError("a Comparator is required");var n;if(t&&"object"===r(t)||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(n=new k(e.value,t),I(this.value,n,t));if(""===e.operator)return""===e.value||(n=new k(this.value,t),I(e.semver,n,t));var o=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),a=this.semver.version===e.semver.version,l=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),s=w(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),u=w(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return o||i||a&&l||s||u},t.Range=k,k.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},k.prototype.toString=function(){return this.range},k.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?i[l.HYPHENRANGELOOSE]:i[l.HYPHENRANGE];e=e.replace(r,O),n("hyphen replace",e),e=e.replace(i[l.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,i[l.COMPARATORTRIM]),e=(e=(e=e.replace(i[l.TILDETRIM],"$1~")).replace(i[l.CARETTRIM],"$1^")).split(/\s+/).join(" ");var o=t?i[l.COMPARATORLOOSE]:i[l.COMPARATOR],a=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?i[l.CARETLOOSE]:i[l.CARET];return e.replace(r,(function(t,r,o,i,a){var l;return n("caret",e,t,r,o,i,a),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(i)?l="0"===r?">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":">="+r+"."+o+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),l="0"===r?"0"===o?">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),l="0"===r?"0"===o?">="+r+"."+o+"."+i+" <"+r+"."+o+"."+(+i+1):">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0":">="+r+"."+o+"."+i+" <"+(+r+1)+".0.0"),n("caret return",l),l}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?i[l.TILDELOOSE]:i[l.TILDE];return e.replace(r,(function(t,r,o,i,a){var l;return n("tilde",e,t,r,o,i,a),R(r)?l="":R(o)?l=">="+r+".0.0 <"+(+r+1)+".0.0":R(i)?l=">="+r+"."+o+".0 <"+r+"."+(+o+1)+".0":a?(n("replaceTilde pr",a),l=">="+r+"."+o+"."+i+"-"+a+" <"+r+"."+(+o+1)+".0"):l=">="+r+"."+o+"."+i+" <"+r+"."+(+o+1)+".0",n("tilde return",l),l}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?i[l.XRANGELOOSE]:i[l.XRANGE];return e.replace(r,(function(r,o,i,a,l,s){n("xRange",e,r,o,i,a,l,s);var u=R(i),c=u||R(a),f=c||R(l),d=f;return"="===o&&d&&(o=""),s=t.includePrerelease?"-0":"",u?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&d?(c&&(a=0),l=0,">"===o?(o=">=",c?(i=+i+1,a=0,l=0):(a=+a+1,l=0)):"<="===o&&(o="<",c?i=+i+1:a=+a+1),r=o+i+"."+a+"."+l+s):c?r=">="+i+".0.0"+s+" <"+(+i+1)+".0.0"+s:f&&(r=">="+i+"."+a+".0"+s+" <"+i+"."+(+a+1)+".0"+s),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(i[l.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(o)}))),a=a.map((function(e){return new S(e,this.options)}),this)},k.prototype.intersects=function(e,t){if(!(e instanceof k))throw new TypeError("a Range is required");return this.set.some((function(n){return L(n,t)&&e.set.some((function(e){return L(e,t)&&n.every((function(n){return e.every((function(e){return n.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new k(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},k.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new d(e,this.options)}catch(e){return!1}for(var t=0;t<this.set.length;t++)if(_(this.set[t],e,this.options))return!0;return!1},t.satisfies=I,t.maxSatisfying=function(e,t,n){var r=null,o=null;try{var i=new k(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&-1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minSatisfying=function(e,t,n){var r=null,o=null;try{var i=new k(t,n)}catch(e){return null}return e.forEach((function(e){i.test(e)&&(r&&1!==o.compare(e)||(o=new d(r=e,n)))})),r},t.minVersion=function(e,t){e=new k(e,t);var n=new d("0.0.0");if(e.test(n))return n;if(n=new d("0.0.0-0"),e.test(n))return n;n=null;for(var r=0;r<e.set.length;++r){e.set[r].forEach((function(e){var t=new d(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":n&&!v(n,t)||(n=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(n&&e.test(n))return n;return null},t.validRange=function(e,t){try{return new k(e,t).range||"*"}catch(e){return null}},t.ltr=function(e,t,n){return P(e,t,"<",n)},t.gtr=function(e,t,n){return P(e,t,">",n)},t.outside=P,t.prerelease=function(e,t){var n=f(e,t);return n&&n.prerelease.length?n.prerelease:null},t.intersects=function(e,t,n){return e=new k(e,n),t=new k(t,n),e.intersects(t)},t.coerce=function(e,t){if(e instanceof d)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;var n=null;if((t=t||{}).rtl){for(var r;(r=i[l.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&r.index+r[0].length===n.index+n[0].length||(n=r),i[l.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;i[l.COERCERTL].lastIndex=-1}else n=e.match(i[l.COERCE]);if(null===n)return null;return f(n[2]+"."+(n[3]||"0")+"."+(n[4]||"0"),t)}}(OC,OC.exports);var _C={};function IC(e,t,n,r){return PC.apply(this,arguments)}function PC(){return(PC=i(regeneratorRuntime.mark((function e(t,n,r,o){var i,a,l,s,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=r.config,a="".concat(t,"__").concat(n),_C[a]){e.next=9;break}if(l="".concat(t).concat(n&&" v".concat(n)||""),!o||"function"==typeof o){e.next=6;break}throw new Error("load of visualization '".concat(l,"' is not a fuction, wrap load promise in function"));case 6:s=(o||i.load)({name:t,version:n}),u=Promise.resolve(s),_C[a]=u.then((function(e){if(!e)throw new Error("load() of visualization '".concat(l,"' resolved to an invalid object"));return e})).catch((function(e){throw new Error("Failed to load visualization: '".concat(l,"'"))}));case 9:return e.abrupt("return",_C[a]);case 10:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function TC(e,t){var r={},o=null;return{get:function(e){return r[e]},register:function(i,a){if(r[i])throw new Error("Supernova '".concat(e,"@").concat(i,"' already registered."));r[i]=function(e,t){var r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=i.meta,l={name:e.name,version:e.version,supportsPropertiesVersion:function(e){return!(e&&a&&a.deps&&a.deps.properties)||OC.exports.satisfies(e,a.deps.properties)},supernova:function(){return IC(l.name,l.version,t,i.load).then((function(e){return r=r||RC(e,t.public.galaxy),o=JSON.stringify(r.qae.properties.initial),r}))},initialProperties:function(e){return this.supernova().then((function(){return n(n({qInfo:{qType:l.name},visualization:l.name,version:l.version,showTitles:!0},JSON.parse(o)),e)}))}};return l}({name:e,version:i},t,a),o=null},getMatchingVersionFromProperties:function(e){var t,n;o||(t=Object.keys(r),n=t.filter((function(e){return"undefined"===e})),o=[].concat(p(n),p(t.filter((function(e){return"undefined"!==e})).map((function(e){return e.split(".").map((function(e){return parseInt(e,10)}))})).sort((function(e,t){return e[0]-t[0]||e[1]-t[1]||e[2]-t[2]})).map((function(e){return e.join(".")})))));for(var i=o.length-1;i>=0;i--){if(r[o[i]].supportsPropertiesVersion(e))return o[i]}return null},versions:r}}function NC(e){var t=e.halo,n=e.parent,r={},o=n||{get:function(){}};return{register:function(e,n){r[e.name]||(r[e.name]=TC(e.name,t)),r[e.name].register(e.version,n)},getSupportedVersion:function(e,t){return r[e]?r[e].getMatchingVersionFromProperties(t):null},get:function(e){var t=e.name,n=e.version;if(r[t]){if(!r[t].versions[n]){n=Object.keys(r[t].versions)[0]}}else this.register({name:t,version:n});return r[t].get(n)||o.get(e)},getList:function(){return Object.keys(r).map((function(e){return{name:e,versions:Object.keys(r[e].versions).map((function(e){return"undefined"===e?void 0:e}))}}))},clearFromCache:function(e){r[e]&&(r[e]=void 0),function(e){Object.keys(_C).forEach((function(t){t.split("__")[0]===e&&(_C[t]=void 0)}))}(e)}}}var qC,MC={get:(qC=i(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("/njs/snapshot/".concat(t));case 2:if((n=e.sent).ok){e.next=5;break}throw new Error(n.statusText);case 5:return e.abrupt("return",n.json());case 6:case"end":return e.stop()}}),e)}))),function(e){return qC.apply(this,arguments)}),capture:function(e){return fetch("/njs/capture",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(e){return e.json()}))}},DC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(n({},e),t)},AC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return[].concat(p(e),p(t)).filter((function(e,t,n){return n.indexOf(e)===t}))},zC=function(e,t){return{context:DC(e.context,t.context),load:t.load||e.load,snapshot:n({},t.snapshot||e.snapshot),types:AC(e.types,t.types),themes:AC(e.themes,t.themes),flags:DC(e.flags,t.flags),anything:DC(e.anything,t.anything)}};var jC=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=x(t.context.language);function o(e,a){if(a)return o.createConfiguration(a)(e);var l=n(n({},t.context),{},{translator:r.translator}),s=d(hy({app:e,context:l}),1)[0],u=Le({themes:t.themes,root:s}),c={galaxy:{translator:r.translator,flags:AS(t.flags),deviceType:Re(t.context.deviceType),anything:t.anything},theme:u.externalAPI,translator:r.translator,nebbie:null},f={app:e,root:s,config:t,public:c,context:l,types:null},p=NC({halo:f});t.types.forEach((function(e){return p.register({name:e.name,version:e.version},{meta:e.meta,load:e.load})}));var h,m,v,g,y=u.setTheme(t.context.theme),b=null,x=null,E={render:(g=i(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y;case 2:if(!t.id){e.next=4;break}return e.abrupt("return",MS(t,f));case 4:return e.abrupt("return",NS(t,f));case 5:case"end":return e.stop()}}),e)}))),function(e){return g.apply(this,arguments)}),context:(v=i(regeneratorRuntime.mark((function e(t){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(["theme","language","constraints","keyboardNavigation"].forEach((function(e){Object.prototype.hasOwnProperty.call(t,e)&&t[e]!==l[e]&&(o||(o={}),o[e]=t[e])})),o){e.next=3;break}return e.abrupt("return");case 3:if(l=n(n(n({},l),o),{},{translator:r.translator}),f.context=l,!o.theme){e.next=9;break}return y=u.setTheme(o.theme),e.next=9,y;case 9:o.language&&f.public.translator.language(o.language),s.context(l);case 11:case"end":return e.stop()}}),e)}))),function(e){return v.apply(this,arguments)}),selections:(m=i(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return b||(b={mount:function(t){x||(x=ew({element:t,app:e}),s.add(x))},unmount:function(){x&&(s.remove(x),x=null)}}),t.abrupt("return",b);case 2:case"end":return t.stop()}}),t)}))),function(){return m.apply(this,arguments)}),field:(h=i(regeneratorRuntime.mark((function t(n){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r="string"==typeof n?n:n.qLibraryId){t.next=3;break}throw new Error("Field identifier must be provided");case 3:return o={fieldName:r,mount:function(t){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t)throw new Error("Element for ".concat(r," not provided"));if(this._instance)throw new Error("Field ".concat(r," already mounted"));this._instance=mw({element:t,app:e,fieldIdentifier:n,options:o,stateName:o.stateName||"$"}),s.add(this._instance)},unmount:function(){this._instance&&(s.remove(this._instance),this._instance=null)}},t.abrupt("return",o);case 5:case"end":return t.stop()}}),t)}))),function(e){return h.apply(this,arguments)}),getRegisteredTypes:p.getList,__DO_NOT_USE__:{types:p}};return f.public.nebbie=E,f.types=p,E}return o.createConfiguration=function(n){return e(zC(t,n))},o.config=t,o}({context:{theme:"light",language:"en-US",deviceType:"auto",constraints:{},keyboardNavigation:!1},load:function(){},types:[],themes:[],anything:{},snapshot:MC}),FC={generator:RC,hook:cC,theme:Ce,locale:y};e.__DO_NOT_USE__=FC,e.conversion=jw,e.embed=jC,e.onTakeSnapshot=function(e){var t=aC(++KS);t.value||(t.value=1,$S.__hooks.snaps.push(t)),t.fn=e},e.useAction=function(e,t){var n=d(fC({action:function(){n._config.action.call(null)}}),1)[0];return n.component||(n.component=$S,$S.__hooks.actions.list.push(n)),hC((function(){var t=e();n._config=t,n.active=t.active||!1,n.disabled=t.disabled||!1,n.hidden=t.hidden||!1,n.label=t.label||"",n.getSvgIconShape=t.icon?function(){return t.icon}:void 0,n.key=t.key||n.component.__hooks.actions.list.length,n.component.__hooks.actions.changed=!0}),t),n.action},e.useApp=function(){var e=sC("app");return e&&e.session?e:void 0},e.useAppLayout=function(){return sC("appLayout")},e.useConstraints=function(){return sC("constraints")},e.useDeviceType=function(){return sC("deviceType")},e.useEffect=dC,e.useElement=mC,e.useEmbed=function(){return sC("nebbie")},e.useGlobal=function(){var e=sC("global");return e&&e.session?e:void 0},e.useImperativeHandle=function(e,t){var n=aC(++KS);if(n.imperative||(n.imperative=!0),ZS(n.value?n.value[0]:void 0,t)){var r=e();n.value=[t,r],$S.__hooks.imperativeHandle=r}},e.useKeyboard=function(){var e=sC("keyboardNavigation"),t=sC("focusHandler");if(!$S.__hooks.accessibility.exitFunction){var n=function(e){var n=this.__hooks.accessibility;n.enabled&&n.active&&(gC(this),t&&t.blurCallback&&t.blurCallback(e))}.bind($S);$S.__hooks.accessibility.exitFunction=n;var r=function(){var e=this.__hooks.accessibility;e.enabled&&!e.active&&(t&&t.blurCallback&&t.blurCallback(!1),vC(this))}.bind($S);$S.__hooks.accessibility.focusFunction=r;var o=function(e){this.__hooks.accessibility.enabled&&t&&t.focusToolbarButton&&t.focusToolbarButton(e)}.bind($S);$S.__hooks.accessibility.focusSelectionFunction=o}var i=$S.__hooks.accessibility.focusFunction,a=$S.__hooks.accessibility.exitFunction,l=$S.__hooks.accessibility.focusSelectionFunction,s=d(fC({active:!1,enabled:e,blur:a,focus:i,focusSelection:l}),2),u=s[0],c=s[1];return $S.__hooks.accessibility.setter=c,$S.__hooks.accessibility.enabled=e,dC((function(){return c({active:!1,enabled:e,blur:a,focus:i,focusSelection:l})}),[e]),u},e.useLayout=function(){return sC("layout")},e.useMemo=hC,e.useModel=function(){var e=sC("model");return e&&e.session?e:void 0},e.useOptions=function(){return sC("options")},e.usePlugins=function(){return sC("plugins")},e.usePromise=function(e,t){var n=d(fC((function(){return{resolved:void 0,rejected:void 0,state:"pending"}})),2),r=n[0],o=n[1],i=aC(++KS);return i.component||(i.component=$S),pC((function(){var t=!1;return i.teardown=function(){t=!0,i.teardown=null;var e=i.component.__hooks.pendingPromises.indexOf(i);e>-1&&i.component.__hooks.pendingPromises.splice(e,1)},e().then((function(e){t||(i.teardown&&i.teardown(),o({resolved:e,rejected:void 0,state:"resolved"}))})).catch((function(e){t||(i.teardown&&i.teardown(),o({resolved:void 0,rejected:e,state:"resolved"}))})),i.component.__hooks.pendingPromises.push(i),function(){i.teardown&&i.teardown()}}),t),[r.resolved,r.rejected]},e.useRect=function(){var e=mC(),t=$S.__hooks.resizer,n=d(fC((function(){var t=e.getBoundingClientRect();return{left:t.left,top:t.top,width:t.width,height:t.height}})),2),r=n[0],o=n[1];return t.current=r,-1===t.setters.indexOf(o)&&t.setters.push(o),t.update&&t.resize&&(t.update=!1,t.resize()),pC((function(){if(!t.initiated){t.initiated=!0;var n=function(){var n=e.getBoundingClientRect(),r=n.left,o=n.top,i=n.width,a=n.height,l=t.current;l.width===i&&l.height===a&&l.left===r&&l.top===o||t.setters.forEach((function(e){return e({left:r,top:o,width:i,height:a})}))};if(t.resize=function(){n()},t.explicitResize)return function(){t.resize=void 0};if("function"==typeof ResizeObserver){var r=new ResizeObserver(n);return r.observe(e),function(){r.unobserve(e),r.disconnect(e),r=null,t.resize=void 0}}}}),[e]),r},e.useRenderState=function(){aC(++KS);var e=$S.__hooks;return{pending:function(){e.waitForData=!0},restore:function(){e.waitForData=!1}}},e.useSelections=function(){return sC("selections")},e.useStaleLayout=function(){var e=sC("layout"),t=d(fC({current:e}),1)[0];return e.qSelectionInfo&&e.qSelectionInfo.qInSelections||(t.current=e),t.current},e.useState=fC,e.useTheme=function(){return sC("theme")},e.useTranslator=function(){return sC("translator")},Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
42
42
|
//# sourceMappingURL=stardust.js.map
|